231 lines
9.4 KiB
TypeScript
231 lines
9.4 KiB
TypeScript
/**
|
|
* FileManager 字符串资源 — 对应 AOSP res/values/strings.xml
|
|
*/
|
|
export const strings = {
|
|
app_name: '文件',
|
|
|
|
// ============================================================================
|
|
// Tab bar
|
|
// ============================================================================
|
|
tab_recent: '最近',
|
|
tab_browse: '浏览',
|
|
tab_cloud: '云盘',
|
|
|
|
// ============================================================================
|
|
// Browse home page — categories
|
|
// ============================================================================
|
|
section_file_type: '文件类型',
|
|
section_more: '更多',
|
|
category_documents: '文档',
|
|
category_images: '图片',
|
|
category_videos: '视频',
|
|
category_audio: '音乐',
|
|
category_audio_alt: '音频',
|
|
category_files: '文件',
|
|
|
|
// ============================================================================
|
|
// Browse home page — storage
|
|
// ============================================================================
|
|
section_internal_storage: '内部存储',
|
|
internal_storage_device: '内部存储设备',
|
|
item_count_suffix: '项',
|
|
|
|
// ============================================================================
|
|
// Folder aliases
|
|
// ============================================================================
|
|
alias_android: '安卓',
|
|
alias_backups: 'ES浏览器备份',
|
|
alias_baidu_netdisk: '百度云',
|
|
alias_dcim: '相册',
|
|
|
|
// ============================================================================
|
|
// Selection mode
|
|
// ============================================================================
|
|
selected_count: '已选择${count}项',
|
|
select_items_prompt: '请选择项目',
|
|
select_single_item_required: '请只选择一个项目',
|
|
|
|
// ============================================================================
|
|
// Toolbar icon labels
|
|
// ============================================================================
|
|
toolbar_search: '搜索',
|
|
toolbar_filter: '筛选',
|
|
toolbar_more: '更多',
|
|
toolbar_new_folder: '新建文件夹',
|
|
|
|
// ============================================================================
|
|
// Bottom action bar
|
|
// ============================================================================
|
|
action_send: '发送',
|
|
action_move: '移动',
|
|
action_delete: '删除',
|
|
action_more: '更多',
|
|
|
|
// ============================================================================
|
|
// Action menu options
|
|
// ============================================================================
|
|
menu_copy: '复制',
|
|
menu_set_private: '设为私密',
|
|
menu_favorite: '收藏',
|
|
menu_rename: '重命名',
|
|
menu_compress: '压缩',
|
|
menu_add_to_widget: '添加到小部件',
|
|
menu_open_with_other_app: '用其他应用打开',
|
|
menu_details: '详情',
|
|
|
|
// ============================================================================
|
|
// Dialog — common buttons
|
|
// ============================================================================
|
|
dialog_confirm: '确定',
|
|
dialog_cancel: '取消',
|
|
dialog_got_it: '知道了',
|
|
|
|
// ============================================================================
|
|
// Dialog — delete confirmation
|
|
// ============================================================================
|
|
delete_title: '删除',
|
|
delete_confirm_selected: '确定要删除选中的 ${count} 个项目吗?',
|
|
delete_confirm_folder: '删除文件夹会同时删除该文件夹下的所有文件。确定要删除吗?',
|
|
delete_confirm_file: '确定要删除该文件吗?',
|
|
|
|
// ============================================================================
|
|
// Dialog — rename
|
|
// ============================================================================
|
|
rename_title: '重命名',
|
|
|
|
// ============================================================================
|
|
// Dialog — new folder
|
|
// ============================================================================
|
|
new_folder_title: '新建文件夹',
|
|
new_folder_placeholder: '文件夹名称',
|
|
new_folder_confirm: '创建',
|
|
|
|
// ============================================================================
|
|
// Transfer sheet
|
|
// ============================================================================
|
|
transfer_copy_title: '复制到...',
|
|
transfer_move_title: '移动到...',
|
|
transfer_new_folder: '新建文件夹',
|
|
transfer_copy_success: '复制成功',
|
|
transfer_copy_failed: '复制失败',
|
|
transfer_move_success: '移动成功',
|
|
transfer_move_failed: '移动失败',
|
|
|
|
// ============================================================================
|
|
// File details dialog
|
|
// ============================================================================
|
|
detail_location: '位置:',
|
|
detail_size: '大小:',
|
|
detail_time: '时间:',
|
|
detail_readable: '可读:',
|
|
detail_writable: '可写:',
|
|
detail_hidden: '隐藏:',
|
|
detail_yes: '是',
|
|
detail_no: '否',
|
|
|
|
// ============================================================================
|
|
// Toast messages
|
|
// ============================================================================
|
|
toast_deleted_items: '已删除 ${count} 个项目',
|
|
toast_rename_success: '重命名成功',
|
|
toast_rename_failed: '重命名失败',
|
|
toast_paste_success: '粘贴成功',
|
|
toast_paste_failed: '粘贴失败',
|
|
toast_folder_exists: '文件夹已存在',
|
|
toast_folder_created: '文件夹已创建',
|
|
toast_set_private: '已设为私密',
|
|
toast_added_to_favorites: '已添加到收藏',
|
|
toast_send_no_image: '当前仅支持发送图片',
|
|
toast_compressing: '开始压缩...',
|
|
toast_added: '已添加',
|
|
toast_searching_apps: '正在查找应用...',
|
|
|
|
// ============================================================================
|
|
// Clipboard
|
|
// ============================================================================
|
|
clipboard_copied: '已复制',
|
|
clipboard_cut: '已剪切',
|
|
clipboard_item_count: '${count} 项',
|
|
clipboard_paste: '粘贴',
|
|
|
|
// ============================================================================
|
|
// Folder page — empty state
|
|
// ============================================================================
|
|
folder_empty: '文件夹为空',
|
|
|
|
// ============================================================================
|
|
// Text preview page
|
|
// ============================================================================
|
|
text_preview_no_file: '未选择文件',
|
|
text_preview_loading: '正在打开...',
|
|
text_preview_failed: '无法打开这个文本文件',
|
|
text_preview_empty: '(空文件)',
|
|
|
|
// ============================================================================
|
|
// PDF preview page
|
|
// ============================================================================
|
|
pdf_preview_no_file: '未选择文件',
|
|
pdf_preview_loading: '正在打开...',
|
|
pdf_preview_failed: '无法打开这个 PDF 文件',
|
|
|
|
// ============================================================================
|
|
// Category page — empty state
|
|
// ============================================================================
|
|
category_empty_prefix: '暂无',
|
|
category_file_count: '${count} 个文件',
|
|
|
|
// ============================================================================
|
|
// Cloud page
|
|
// ============================================================================
|
|
cloud_not_connected: '云盘暂未连接',
|
|
|
|
// ============================================================================
|
|
// Recent page — date groups
|
|
// ============================================================================
|
|
date_today: '今天',
|
|
date_yesterday: '昨天',
|
|
date_days_ago: '${count}天前',
|
|
date_full: '${year}年${month}月${day}日',
|
|
|
|
// ============================================================================
|
|
// Recent page — source labels
|
|
// ============================================================================
|
|
source_screenshot: '截屏录屏',
|
|
source_camera: '相机',
|
|
source_download: '下载',
|
|
source_wechat: '微信',
|
|
source_internal_storage: '内部存储',
|
|
|
|
// ============================================================================
|
|
// Template helpers — date formatting
|
|
// ============================================================================
|
|
date_days_ago_suffix: '天前',
|
|
date_year_suffix: '年',
|
|
date_month_suffix: '月',
|
|
date_day_suffix: '日',
|
|
|
|
// ============================================================================
|
|
// Template helpers — selection toolbar
|
|
// ============================================================================
|
|
selected_prefix: '已选择',
|
|
|
|
// ============================================================================
|
|
// Template helpers — delete dialog
|
|
// ============================================================================
|
|
delete_confirm_prefix: '确定要删除选中的 ',
|
|
delete_confirm_suffix: ' 个项目吗?',
|
|
|
|
// ============================================================================
|
|
// Template helpers — toast: deleted items
|
|
// ============================================================================
|
|
toast_deleted_prefix: '已删除 ',
|
|
toast_deleted_suffix: ' 个项目',
|
|
|
|
// ============================================================================
|
|
// Category page — file count suffix
|
|
// ============================================================================
|
|
fm_file_count_suffix: ' 个文件',
|
|
} as const;
|
|
|
|
export type StringKey = keyof typeof strings;
|