diff --git a/lib/en_US.json b/lib/en_US.json index 58d3a53..fd6666f 100644 --- a/lib/en_US.json +++ b/lib/en_US.json @@ -47,6 +47,8 @@ }, "print": { "cancel": "Cancel", + "close": "Close", + "disallowPrint": "The document does not allow to print", "preparingDocument": "Preparing document ...", "print": "Print" }, @@ -71,7 +73,11 @@ "rotateForward": "Rotate clockwise" }, "scrollMode": { + "dualPage": "Dual page", + "dualPageCover": "Dual page with cover", "horizontalScrolling": "Horizontal scrolling", + "pageScrolling": "Page scrolling", + "singlePage": "Single page", "verticalScrolling": "Vertical scrolling", "wrappedScrolling": "Wrapped scrolling" }, @@ -106,4 +112,4 @@ "zoomIn": "Zoom in", "zoomOut": "Zoom out" } -} +} \ No newline at end of file diff --git a/lib/zh_CN.json b/lib/zh_CN.json index bdfa74d..cc5ed06 100644 --- a/lib/zh_CN.json +++ b/lib/zh_CN.json @@ -8,14 +8,14 @@ }, "core": { "askingPassword": { - "requirePasswordToOpen": "此文件需要密码才能打开", + "requirePasswordToOpen": "此文档需要密码才能打开", "submit": "提交" }, "wrongPassword": { "submit": "提交", - "tryAgain": "密码错误。请重试" + "tryAgain": "密码错误,请重试" }, - "pageLabel": "页面 {{pageIndex}}" + "pageLabel": "第 {{pageIndex}} 页" }, "defaultLayout": { "attachment": "附件", @@ -26,14 +26,14 @@ "download": "下载" }, "drop": { - "dragDropFile": "将 PDF 文档拖放到此处" + "dragDropFile": "拖放PDF文件到此处" }, "fullScreen": { "enterFullScreen": "全屏", "exitFullScreen": "退出全屏" }, "localeSwitcher": { - "switchLocale": "更改区域设置" + "switchLocale": "切换语言" }, "open": { "openFile": "打开文件" @@ -47,20 +47,22 @@ }, "print": { "cancel": "取消", - "preparingDocument": "准备文件...", + "close": "关闭", + "disallowPrint": "该文档不允许打印", + "preparingDocument": "正在准备文档...", "print": "打印" }, "properties": { "author": "作者", "close": "关闭", - "creationDate": "创作日期", - "creator": "创作者", - "fileName": "文件名称", + "creationDate": "创建日期", + "creator": "创建者", + "fileName": "文件名", "fileSize": "文件大小", "keywords": "关键词", "modificationDate": "修改日期", "pageCount": "页数", - "pdfProducer": "PDF制作软件", + "pdfProducer": "PDF生成器", "pdfVersion": "PDF版本", "showProperties": "显示属性", "subject": "主题", @@ -71,39 +73,43 @@ "rotateForward": "顺时针旋转" }, "scrollMode": { + "dualPage": "双页", + "dualPageCover": "带封面的双页", "horizontalScrolling": "水平滚动", + "pageScrolling": "翻页滚动", + "singlePage": "单页", "verticalScrolling": "垂直滚动", - "wrappedScrolling": "环绕滚动" + "wrappedScrolling": "包裹滚动" }, "search": { "close": "关闭", - "enterToSearch": "输入搜索词", - "matchCase": "相符", - "nextMatch": "下一个相符", - "previousMatch": "上一个相符", + "enterToSearch": "输入进行搜索", + "matchCase": "区分大小写", + "nextMatch": "下一个匹配项", + "previousMatch": "上一个匹配项", "search": "搜索", - "wholeWords": "全部词句" + "wholeWords": "全字匹配" }, "selectionMode": { - "handTool": "手型工具", + "handTool": "手动工具", "textSelectionTool": "文本选择工具" }, "theme": { - "switchDarkTheme": "切换到深色模式", - "switchLightTheme": "切换到浅色模式" + "switchDarkTheme": "切换到暗色主题", + "switchLightTheme": "切换到亮色主题" }, "thumbnail": { - "thumbnailLabel": "页面缩略图 {{pageIndex}}" + "thumbnailLabel": "第 {{pageIndex}} 页的缩略图" }, "toolbar": { "moreActions": "更多操作" }, "zoom": { - "actualSize": "实际尺寸", - "pageFit": "适合页面", - "pageWidth": "页面宽度", - "zoomDocument": "缩放文件", - "zoomIn": "缩小", - "zoomOut": "放大" + "actualSize": "实际大小", + "pageFit": "适应页面", + "pageWidth": "适应页面宽度", + "zoomDocument": "缩放文档", + "zoomIn": "放大", + "zoomOut": "缩小" } -} +} \ No newline at end of file diff --git a/lib/zh_TW.json b/lib/zh_TW.json index 8ad6229..98ed6c9 100644 --- a/lib/zh_TW.json +++ b/lib/zh_TW.json @@ -13,9 +13,9 @@ }, "wrongPassword": { "submit": "提交", - "tryAgain": "密碼錯誤。請重試" + "tryAgain": "密碼錯誤,請重試" }, - "pageLabel": "頁面 {{pageIndex}}" + "pageLabel": "第 {{pageIndex}} 頁" }, "defaultLayout": { "attachment": "附件", @@ -26,14 +26,14 @@ "download": "下載" }, "drop": { - "dragDropFile": "將 PDF 文檔拖放到此處" + "dragDropFile": "拖放PDF文件到這裡" }, "fullScreen": { "enterFullScreen": "全屏", "exitFullScreen": "退出全屏" }, "localeSwitcher": { - "switchLocale": "更改區域設置" + "switchLocale": "切換語言" }, "open": { "openFile": "打開文件" @@ -47,20 +47,22 @@ }, "print": { "cancel": "取消", - "preparingDocument": "準備文件...", + "close": "關閉", + "disallowPrint": "該文件不允許打印", + "preparingDocument": "正在準備文件...", "print": "打印" }, "properties": { "author": "作者", "close": "關閉", - "creationDate": "創作日期", - "creator": "創作者", - "fileName": "文件名稱", + "creationDate": "創建日期", + "creator": "創建者", + "fileName": "文件名", "fileSize": "文件大小", "keywords": "關鍵詞", "modificationDate": "修改日期", "pageCount": "頁數", - "pdfProducer": "PDF製作軟體", + "pdfProducer": "PDF生成器", "pdfVersion": "PDF版本", "showProperties": "顯示屬性", "subject": "主題", @@ -71,39 +73,43 @@ "rotateForward": "順時針旋轉" }, "scrollMode": { + "dualPage": "雙頁", + "dualPageCover": "帶封面的雙頁", "horizontalScrolling": "水平滾動", + "pageScrolling": "頁面滾動", + "singlePage": "單頁", "verticalScrolling": "垂直滾動", - "wrappedScrolling": "環繞滾動" + "wrappedScrolling": "包裝滾動" }, "search": { "close": "關閉", - "enterToSearch": "輸入搜索詞", - "matchCase": "相符", - "nextMatch": "下一個相符", - "previousMatch": "上一個相符", + "enterToSearch": "輸入搜索", + "matchCase": "區分大小寫", + "nextMatch": "下一個匹配項", + "previousMatch": "上一個匹配項", "search": "搜索", - "wholeWords": "全部詞句" + "wholeWords": "全字匹配" }, "selectionMode": { - "handTool": "手型工具", + "handTool": "手動工具", "textSelectionTool": "文本選擇工具" }, "theme": { - "switchDarkTheme": "切換到深色模式", - "switchLightTheme": "切換到淺色模式" + "switchDarkTheme": "切換到暗色主題", + "switchLightTheme": "切換到亮色主題" }, "thumbnail": { - "thumbnailLabel": "頁面縮略圖 {{pageIndex}}" + "thumbnailLabel": "第 {{pageIndex}} 頁的縮略圖" }, "toolbar": { "moreActions": "更多操作" }, "zoom": { - "actualSize": "實際尺寸", - "pageFit": "適合頁面", - "pageWidth": "頁面寬度", + "actualSize": "實際大小", + "pageFit": "適應頁面", + "pageWidth": "適應頁面寬度", "zoomDocument": "縮放文件", - "zoomIn": "縮小", - "zoomOut": "放大" + "zoomIn": "放大", + "zoomOut": "縮小" } -} +} \ No newline at end of file diff --git a/package.json b/package.json index f838819..5419944 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@react-pdf-viewer/locales", - "version": "1.0.0", + "version": "1.1.0", "description": "Translations of the React PDF Viewer's UI in different languages", "license": "https://react-pdf-viewer.dev/license", "author": { @@ -33,4 +33,4 @@ "devDependencies": { "prettier": "^2.3.2" } -} +} \ No newline at end of file