From 365dec2a14268229ea6818aa4daa11defe5c3a8e Mon Sep 17 00:00:00 2001 From: loniceras Date: Mon, 4 Jan 2021 00:04:32 +0800 Subject: [PATCH 1/3] Update translations --- package.json | 50 +++++++++++++++++++++--------------------- package.nls.json | 12 ++++++++++ package.nls.pt-br.json | 12 ++++++++++ package.nls.ru.json | 16 ++++++++++++++ package.nls.zh-cn.json | 16 ++++++++++++-- 5 files changed, 79 insertions(+), 27 deletions(-) diff --git a/package.json b/package.json index 150cf83..67676bf 100644 --- a/package.json +++ b/package.json @@ -52,7 +52,7 @@ }, { "id": "bookmarksHelpAndFeedback", - "name": "Help and Feedback", + "name": "%bookmarks.views.HelpAndFeedback.name%", "visibility": "collapsed" } ] @@ -60,17 +60,17 @@ "viewsWelcome": [ { "view": "bookmarksExplorer", - "contents": "In order to use Bookmarks, you have to open a folder or workspace first.\n[Open a Folder](command:_bookmarks.openFolderWelcome)\n[Open a Workspace](command:workbench.action.openWorkspace)\nTo learn more about how to use Bookmarks in VS Code [read the docs](http://github.com/alefragnani/vscode-bookmarks/#bookmarks).", + "contents": "%bookmarks.viewsWelcome.bookmarksExplorer.contents.1%", "when": "workbenchState == empty" }, { "view": "bookmarksExplorer", - "contents": "No bookmarks yet.\nIn order to use Bookmarks, you have to open a file in the editor.\n[Open a File](command:workbench.action.quickOpen)\nTo learn more about how to use Bookmarks in VS Code [read the docs](http://github.com/alefragnani/vscode-bookmarks/#bookmarks).", + "contents": "%bookmarks.viewsWelcome.bookmarksExplorer.contents.2%", "when": "workbenchState != empty && !editorIsOpen" }, { "view": "bookmarksExplorer", - "contents": "No bookmarks yet.\nIn order to use Bookmarks, place the cursor in any location in the file and run the command:\n[Bookmarks: Toggle](command:bookmarks.toggle)\nTo learn more about how to use Bookmarks in VS Code [read the docs](http://github.com/alefragnani/vscode-bookmarks/#bookmarks).", + "contents": "%bookmarks.viewsWelcome.bookmarksExplorer.contents.3%", "when": "workbenchState != empty && editorIsOpen" } ], @@ -78,52 +78,52 @@ { "command": "bookmarks.toggle", "title": "%bookmarks.commands.toggle.title%", - "category": "Bookmarks" + "category": "%bookmarks.commands.category.1%" }, { "command": "bookmarks.jumpToNext", "title": "%bookmarks.commands.jumpToNext.title%", - "category": "Bookmarks" + "category": "%bookmarks.commands.category.1%" }, { "command": "bookmarks.jumpToPrevious", "title": "%bookmarks.commands.jumpToPrevious.title%", - "category": "Bookmarks" + "category": "%bookmarks.commands.category.1%" }, { "command": "_bookmarks.jumpTo", "title": "%bookmarks.commands.jumpTo.title%", - "category": "Bookmarks" + "category": "%bookmarks.commands.category.1%" }, { "command": "bookmarks.selectLines", "title": "%bookmarks.commands.selectLines.title%", - "category": "Bookmarks (Selection)" + "category": "%bookmarks.commands.category.2%" }, { "command": "bookmarks.expandSelectionToNext", "title": "%bookmarks.commands.expandSelectionToNext.title%", - "category": "Bookmarks (Selection)" + "category": "%bookmarks.commands.category.2%" }, { "command": "bookmarks.expandSelectionToPrevious", "title": "%bookmarks.commands.expandSelectionToPrevious.title%", - "category": "Bookmarks (Selection)" + "category": "%bookmarks.commands.category.2%" }, { "command": "bookmarks.shrinkSelection", "title": "%bookmarks.commands.shrinkSelection.title%", - "category": "Bookmarks (Selection)" + "category": "%bookmarks.commands.category.2%" }, { "command": "bookmarks.list", "title": "%bookmarks.commands.list.title%", - "category": "Bookmarks" + "category": "%bookmarks.commands.category.1%" }, { "command": "bookmarks.toggleLabeled", "title": "%bookmarks.commands.toggleLabeled.title%", - "category": "Bookmarks" + "category": "%bookmarks.commands.category.1%" }, { "command": "bookmarks.refresh", @@ -137,7 +137,7 @@ { "command": "bookmarks.clear", "title": "%bookmarks.commands.clear.title%", - "category": "Bookmarks" + "category": "%bookmarks.commands.category.1%" }, { "command": "_bookmarks.clearFromFile", @@ -157,17 +157,17 @@ { "command": "bookmarks.listFromAllFiles", "title": "%bookmarks.commands.listFromAllFiles.title%", - "category": "Bookmarks" + "category": "%bookmarks.commands.category.1%" }, { "command": "bookmarks.clearFromAllFiles", "title": "%bookmarks.commands.clearFromAllFiles.title%", - "category": "Bookmarks" + "category": "%bookmarks.commands.category.1%" }, { "command": "bookmarks.whatsNew", "title": "%bookmarks.commands.whatsNew.title%", - "category": "Bookmarks" + "category": "%bookmarks.commands.category.1%" }, { "command": "_bookmarks.whatsNewContextMenu", @@ -180,7 +180,7 @@ { "command": "bookmarks.supportBookmarks", "title": "%bookmarks.commands.supportBookmarks.title%", - "category": "Bookmarks" + "category": "%bookmarks.commands.category.1%" } ], "menus": { @@ -381,8 +381,8 @@ "eachLineIndependently" ], "enumDescriptions": [ - "Creates bookmarks in all selected lines at once, if at least one of the lines don't have a bookmark", - "Literally toggles a bookmark in each line, instead of making all lines equals" + "%bookmarks.configuration.multicursor.toggleMode.enumDescriptions.1%", + "%bookmarks.configuration.multicursor.toggleMode.enumDescriptions.2%" ], "description": "%bookmarks.configuration.multicursor.toggleMode.description%" }, @@ -397,10 +397,10 @@ "suggestWhenSelectedOrLineWhenNoSelected" ], "enumDescriptions": [ - "Don't use the selection (original behavior)", - "Use the selected text (if available) directly, no confirmation required", - "Suggests the selected text (if available). You still need to confirm.", - "Suggests the selected text (if available) or the entire line (when has no selection). You still need to confirm." + "%bookmarks.configuration.label.suggestion.enumDescriptions.1%", + "%bookmarks.configuration.label.suggestion.enumDescriptions.2%", + "%bookmarks.configuration.label.suggestion.enumDescriptions.3%", + "%bookmarks.configuration.label.suggestion.enumDescriptions.4%" ] } } diff --git a/package.nls.json b/package.nls.json index 2ac91c8..626f8f8 100644 --- a/package.nls.json +++ b/package.nls.json @@ -1,6 +1,12 @@ { "bookmarks.activitybar.title": "Bookmarks", "bookmarks.views.Explorer.name": "Explorer", + "bookmarks.views.HelpAndFeedback.name": "Help and Feedback", + "bookmarks.viewsWelcome.bookmarksExplorer.contents.1": "In order to use Bookmarks, you have to open a folder or workspace first.\n[Open a Folder](command:_bookmarks.openFolderWelcome)\n[Open a Workspace](command:workbench.action.openWorkspace)\nTo learn more about how to use Bookmarks in VS Code [read the docs](http://github.com/alefragnani/vscode-bookmarks/#bookmarks).", + "bookmarks.viewsWelcome.bookmarksExplorer.contents.2": "No bookmarks yet.\nIn order to use Bookmarks, you have to open a file in the editor.\n[Open a File](command:workbench.action.quickOpen)\nTo learn more about how to use Bookmarks in VS Code [read the docs](http://github.com/alefragnani/vscode-bookmarks/#bookmarks).", + "bookmarks.viewsWelcome.bookmarksExplorer.contents.3": "No bookmarks yet.\nIn order to use Bookmarks, place the cursor in any location in the file and run the command:\n[Bookmarks: Toggle](command:bookmarks.toggle)\nTo learn more about how to use Bookmarks in VS Code [read the docs](http://github.com/alefragnani/vscode-bookmarks/#bookmarks).", + "bookmarks.commands.category.1": "Bookmarks", + "bookmarks.commands.category.2": "Bookmarks (Selection)", "bookmarks.commands.toggle.title": "Toggle", "bookmarks.commands.jumpToNext.title": "Jump to Next", "bookmarks.commands.jumpToPrevious.title": "Jump to Previous", @@ -34,7 +40,13 @@ "bookmarks.configuration.showCommandsInContextMenu.description": "Specifies whether Bookmarks commands are displayed on the context menu", "bookmarks.configuration.sidebar.expanded.description": "Specifies wheher the Side Bar show be displayed expanded", "bookmarks.configuration.multicursor.toggleMode.description": "Specifies how multi cursor handles already bookmarked lines", + "bookmarks.configuration.multicursor.toggleMode.enumDescriptions.1": "Creates bookmarks in all selected lines at once, if at least one of the lines don't have a bookmark", + "bookmarks.configuration.multicursor.toggleMode.enumDescriptions.2": "Literally toggles a bookmark in each line, instead of making all lines equals", "bookmarks.configuration.label.suggestion.description": "Specifies how labels are suggested when creating bookmarks", + "bookmarks.configuration.label.suggestion.enumDescriptions.1": "Don't use the selection (original behavior)", + "bookmarks.configuration.label.suggestion.enumDescriptions.2": "Use the selected text (if available) directly, no confirmation required", + "bookmarks.configuration.label.suggestion.enumDescriptions.3": "Suggests the selected text (if available). You still need to confirm.", + "bookmarks.configuration.label.suggestion.enumDescriptions.4": "Suggests the selected text (if available) or the entire line (when has no selection). You still need to confirm.", "bookmarks.colors.lineBackground.description": "Background color for the bookmarked line", "bookmarks.colors.lineBorder.description": "Background color for the border around the bookmarked line", "bookmarks.colors.overviewRuler.description": "Overview ruler marker color for bookmarks" diff --git a/package.nls.pt-br.json b/package.nls.pt-br.json index 30bc91c..025fcb7 100644 --- a/package.nls.pt-br.json +++ b/package.nls.pt-br.json @@ -1,6 +1,12 @@ { "bookmarks.activitybar.title": "Bookmarks", "bookmarks.views.Explorer.name": "Explorer", + "bookmarks.views.HelpAndFeedback.name": "Help and Feedback", + "bookmarks.viewsWelcome.bookmarksExplorer.contents.1": "In order to use Bookmarks, you have to open a folder or workspace first.\n[Open a Folder](command:_bookmarks.openFolderWelcome)\n[Open a Workspace](command:workbench.action.openWorkspace)\nTo learn more about how to use Bookmarks in VS Code [read the docs](http://github.com/alefragnani/vscode-bookmarks/#bookmarks).", + "bookmarks.viewsWelcome.bookmarksExplorer.contents.2": "No bookmarks yet.\nIn order to use Bookmarks, you have to open a file in the editor.\n[Open a File](command:workbench.action.quickOpen)\nTo learn more about how to use Bookmarks in VS Code [read the docs](http://github.com/alefragnani/vscode-bookmarks/#bookmarks).", + "bookmarks.viewsWelcome.bookmarksExplorer.contents.3": "No bookmarks yet.\nIn order to use Bookmarks, place the cursor in any location in the file and run the command:\n[Bookmarks: Toggle](command:bookmarks.toggle)\nTo learn more about how to use Bookmarks in VS Code [read the docs](http://github.com/alefragnani/vscode-bookmarks/#bookmarks).", + "bookmarks.commands.category.1": "Bookmarks", + "bookmarks.commands.category.2": "Bookmarks (Seleção)", "bookmarks.commands.toggle.title": "Alternar", "bookmarks.commands.jumpToNext.title": "Pular para o Próximo", "bookmarks.commands.jumpToPrevious.title": "Pular para o Anterior", @@ -34,7 +40,13 @@ "bookmarks.configuration.showCommandsInContextMenu.description": "Define se os comandos Bookmarks são apresentados no menu de contexto", "bookmarks.configuration.sideBar.expanded.description": "Define se a Side Bar deve ser exibida expandida", "bookmarks.configuration.multicursor.toggleMode.description": "Define como funciona são tratadas as linhas que já possuem bookmark quando utiliza-se multicursor", + "bookmarks.configuration.multicursor.toggleMode.enumDescriptions.1": "Creates bookmarks in all selected lines at once, if at least one of the lines don't have a bookmark", + "bookmarks.configuration.multicursor.toggleMode.enumDescriptions.2": "Literally toggles a bookmark in each line, instead of making all lines equals", "bookmarks.configuration.label.suggestion.description": "Define como rótulos são sugeridos quando se cria Bookmarks", + "bookmarks.configuration.label.suggestion.enumDescriptions.1": "Don't use the selection (original behavior)", + "bookmarks.configuration.label.suggestion.enumDescriptions.2": "Use the selected text (if available) directly, no confirmation required", + "bookmarks.configuration.label.suggestion.enumDescriptions.3": "Suggests the selected text (if available). You still need to confirm.", + "bookmarks.configuration.label.suggestion.enumDescriptions.4": "Suggests the selected text (if available) or the entire line (when has no selection). You still need to confirm.", "bookmarks.colors.lineBackground.description": "Cor de fundo para linha com Bookmark", "bookmarks.colors.lineBorder.description": "Cor de fundo da borda ao redor da linha com Bookmark", "bookmarks.colors.overviewRuler.description": "Cor do marcador de régua com Bookmarks" diff --git a/package.nls.ru.json b/package.nls.ru.json index a155a0d..efdf0b3 100644 --- a/package.nls.ru.json +++ b/package.nls.ru.json @@ -1,6 +1,12 @@ { "bookmarks.activitybar.title": "Закладки", "bookmarks.views.Explorer.name": "Проводник", + "bookmarks.views.HelpAndFeedback.name": "Help and Feedback", + "bookmarks.viewsWelcome.bookmarksExplorer.contents.1": "In order to use Bookmarks, you have to open a folder or workspace first.\n[Open a Folder](command:_bookmarks.openFolderWelcome)\n[Open a Workspace](command:workbench.action.openWorkspace)\nTo learn more about how to use Bookmarks in VS Code [read the docs](http://github.com/alefragnani/vscode-bookmarks/#bookmarks).", + "bookmarks.viewsWelcome.bookmarksExplorer.contents.2": "No bookmarks yet.\nIn order to use Bookmarks, you have to open a file in the editor.\n[Open a File](command:workbench.action.quickOpen)\nTo learn more about how to use Bookmarks in VS Code [read the docs](http://github.com/alefragnani/vscode-bookmarks/#bookmarks).", + "bookmarks.viewsWelcome.bookmarksExplorer.contents.3": "No bookmarks yet.\nIn order to use Bookmarks, place the cursor in any location in the file and run the command:\n[Bookmarks: Toggle](command:bookmarks.toggle)\nTo learn more about how to use Bookmarks in VS Code [read the docs](http://github.com/alefragnani/vscode-bookmarks/#bookmarks).", + "bookmarks.commands.category.1": "Закладки", + "bookmarks.commands.category.2": "Закладки (Выделение)", "bookmarks.commands.toggle.title": "добавить/убрать", "bookmarks.commands.jumpToNext.title": "Перейти к следующей", "bookmarks.commands.jumpToPrevious.title": "Перейти к предыдущей", @@ -31,6 +37,16 @@ "bookmarks.configuration.navigateThroughAllFiles.description": "Разрешить навигатору искать закладки во всех файлах проекта, а не только в текущем", "bookmarks.configuration.wrapNavigation.description": "Разрешить навигацию по первой и последней закладкам в области (текущий файл или все файлы)", "bookmarks.configuration.useWorkaroundForFormatters.description": "Использовать обходной путь для форматировщиков таких как Prettier, который не уведомляет об изменениях документа и путает поведение прикреплённой закладки", + "bookmarks.configuration.showCommandsInContextMenu.description": "Specifies whether Bookmarks commands are displayed on the context menu", + "bookmarks.configuration.sidebar.expanded.description": "Specifies wheher the Side Bar show be displayed expanded", + "bookmarks.configuration.multicursor.toggleMode.description": "Specifies how multi cursor handles already bookmarked lines", + "bookmarks.configuration.multicursor.toggleMode.enumDescriptions.1": "Creates bookmarks in all selected lines at once, if at least one of the lines don't have a bookmark", + "bookmarks.configuration.multicursor.toggleMode.enumDescriptions.2": "Literally toggles a bookmark in each line, instead of making all lines equals", + "bookmarks.configuration.label.suggestion.description": "Specifies how labels are suggested when creating bookmarks", + "bookmarks.configuration.label.suggestion.enumDescriptions.1": "Don't use the selection (original behavior)", + "bookmarks.configuration.label.suggestion.enumDescriptions.2": "Use the selected text (if available) directly, no confirmation required", + "bookmarks.configuration.label.suggestion.enumDescriptions.3": "Suggests the selected text (if available). You still need to confirm.", + "bookmarks.configuration.label.suggestion.enumDescriptions.4": "Suggests the selected text (if available) or the entire line (when has no selection). You still need to confirm.", "bookmarks.colors.lineBackground.description": "Цвет фона для отмеченной строки", "bookmarks.colors.lineBorder.description": "Цвет фона для границы вокруг линии с закладкой", "bookmarks.colors.overviewRuler.description": "Обзор цвета маркера линейки для закладок" diff --git a/package.nls.zh-cn.json b/package.nls.zh-cn.json index 5fcb416..9f039df 100644 --- a/package.nls.zh-cn.json +++ b/package.nls.zh-cn.json @@ -1,6 +1,12 @@ { "bookmarks.activitybar.title": "书签", "bookmarks.views.Explorer.name": "浏览器", + "bookmarks.views.HelpAndFeedback.name": "帮助和反馈", + "bookmarks.viewsWelcome.bookmarksExplorer.contents.1": "为了使用书签,你需要打开一个文件夹或工作区。\n[打开文件夹](command:_bookmarks.openFolderWelcome)\n[打开工作区](command:workbench.action.openWorkspace)\n可以[阅读文档](http://github.com/alefragnani/vscode-bookmarks/#bookmarks)了解关于 VS Code 中使用书签的更多信息。", + "bookmarks.viewsWelcome.bookmarksExplorer.contents.2": "目前无书签。\n为了使用书签,你需要在编辑器中打开一个文件。\n[打开文件](command:workbench.action.quickOpen)\n可以[阅读文档](http://github.com/alefragnani/vscode-bookmarks/#bookmarks)了解关于 VS Code 中使用书签的更多信息。", + "bookmarks.viewsWelcome.bookmarksExplorer.contents.3": "目前无书签。\n为了使用书签,你需要将光标放在文件的任意位置,然后运行命令:\n[书签: 开关](command:bookmarks.toggle)\n可以[阅读文档](http://github.com/alefragnani/vscode-bookmarks/#bookmarks)了解关于 VS Code 中使用书签的更多信息。", + "bookmarks.commands.category.1": "书签", + "bookmarks.commands.category.2": "书签(选择)", "bookmarks.commands.toggle.title": "开关", "bookmarks.commands.jumpToNext.title": "跳至下一个", "bookmarks.commands.jumpToPrevious.title": "跳至上一个", @@ -10,7 +16,7 @@ "bookmarks.commands.expandSelectionToPrevious.title": "将选择展开到上一个", "bookmarks.commands.shrinkSelection.title": "收缩选择", "bookmarks.commands.list.title": "列表", - "bookmarks.commands.toggleLabeled.title": "开关标记", + "bookmarks.commands.toggleLabeled.title": "含标签的开关", "bookmarks.commands.refresh.title": "刷新", "bookmarks.commands.openSettings.title": "打开设置", "bookmarks.commands.clear.title": "清空", @@ -34,7 +40,13 @@ "bookmarks.configuration.showCommandsInContextMenu.description": "允许在上下文菜单中显示书签命令(开关、跳至上一个、跳至下一个)。", "bookmarks.configuration.sidebar.expanded.description": "在书签侧边栏中默认显示展开的书签。", "bookmarks.configuration.multicursor.toggleMode.description": "指定多光标新建书签时对已有书签行的处理方式。", - "bookmarks.configuration.label.suggestion.description": "指定新建书签时建议标签的生成方式。", + "bookmarks.configuration.multicursor.toggleMode.enumDescriptions.1": "如果至少有一行没有书签,则在所有选中的行创建书签。", + "bookmarks.configuration.multicursor.toggleMode.enumDescriptions.2": "分别开关每一个选中的行的书签。", + "bookmarks.configuration.label.suggestion.description": "指定新建含标签的开关时建议标签的生成方式。", + "bookmarks.configuration.label.suggestion.enumDescriptions.1": "无建议的标签,需要手动输入标签。", + "bookmarks.configuration.label.suggestion.enumDescriptions.2": "使用选择的文本作为标签,不需要额外的确认。", + "bookmarks.configuration.label.suggestion.enumDescriptions.3": "使用选择的文本作为标签,需要额外的确认。", + "bookmarks.configuration.label.suggestion.enumDescriptions.4": "使用选择的文本或(无选择的文本时)使用整个行作为标签,需要额外的确认。", "bookmarks.colors.lineBackground.description": "书签行的背景色", "bookmarks.colors.lineBorder.description": "书签行的外边框颜色", "bookmarks.colors.overviewRuler.description": "概览标尺中书签行的颜色" From 38357e2a119f17ab311596b37fd6924c8b825ad9 Mon Sep 17 00:00:00 2001 From: loniceras Date: Mon, 4 Jan 2021 12:38:49 +0800 Subject: [PATCH 2/3] update translation --- package.json | 4 ++-- package.nls.json | 2 ++ package.nls.pt-br.json | 2 ++ package.nls.ru.json | 2 ++ package.nls.zh-cn.json | 2 ++ 5 files changed, 10 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 67676bf..516f7a7 100644 --- a/package.json +++ b/package.json @@ -320,11 +320,11 @@ "submenus": [ { "id": "bookmarks.editor.context", - "label": "Bookmarks" + "label": "%bookmarks.editor.context.label%" }, { "id": "bookmarks.editor.title", - "label": "Bookmarks" + "label": "%bookmarks.editor.title.label%" } ], "configuration": { diff --git a/package.nls.json b/package.nls.json index 626f8f8..0dfe2fc 100644 --- a/package.nls.json +++ b/package.nls.json @@ -5,6 +5,8 @@ "bookmarks.viewsWelcome.bookmarksExplorer.contents.1": "In order to use Bookmarks, you have to open a folder or workspace first.\n[Open a Folder](command:_bookmarks.openFolderWelcome)\n[Open a Workspace](command:workbench.action.openWorkspace)\nTo learn more about how to use Bookmarks in VS Code [read the docs](http://github.com/alefragnani/vscode-bookmarks/#bookmarks).", "bookmarks.viewsWelcome.bookmarksExplorer.contents.2": "No bookmarks yet.\nIn order to use Bookmarks, you have to open a file in the editor.\n[Open a File](command:workbench.action.quickOpen)\nTo learn more about how to use Bookmarks in VS Code [read the docs](http://github.com/alefragnani/vscode-bookmarks/#bookmarks).", "bookmarks.viewsWelcome.bookmarksExplorer.contents.3": "No bookmarks yet.\nIn order to use Bookmarks, place the cursor in any location in the file and run the command:\n[Bookmarks: Toggle](command:bookmarks.toggle)\nTo learn more about how to use Bookmarks in VS Code [read the docs](http://github.com/alefragnani/vscode-bookmarks/#bookmarks).", + "bookmarks.editor.context.label": "Bookmarks", + "bookmarks.editor.title.label": "Bookmarks", "bookmarks.commands.category.1": "Bookmarks", "bookmarks.commands.category.2": "Bookmarks (Selection)", "bookmarks.commands.toggle.title": "Toggle", diff --git a/package.nls.pt-br.json b/package.nls.pt-br.json index 025fcb7..8a13de7 100644 --- a/package.nls.pt-br.json +++ b/package.nls.pt-br.json @@ -5,6 +5,8 @@ "bookmarks.viewsWelcome.bookmarksExplorer.contents.1": "In order to use Bookmarks, you have to open a folder or workspace first.\n[Open a Folder](command:_bookmarks.openFolderWelcome)\n[Open a Workspace](command:workbench.action.openWorkspace)\nTo learn more about how to use Bookmarks in VS Code [read the docs](http://github.com/alefragnani/vscode-bookmarks/#bookmarks).", "bookmarks.viewsWelcome.bookmarksExplorer.contents.2": "No bookmarks yet.\nIn order to use Bookmarks, you have to open a file in the editor.\n[Open a File](command:workbench.action.quickOpen)\nTo learn more about how to use Bookmarks in VS Code [read the docs](http://github.com/alefragnani/vscode-bookmarks/#bookmarks).", "bookmarks.viewsWelcome.bookmarksExplorer.contents.3": "No bookmarks yet.\nIn order to use Bookmarks, place the cursor in any location in the file and run the command:\n[Bookmarks: Toggle](command:bookmarks.toggle)\nTo learn more about how to use Bookmarks in VS Code [read the docs](http://github.com/alefragnani/vscode-bookmarks/#bookmarks).", + "bookmarks.editor.context.label": "Bookmarks", + "bookmarks.editor.title.label": "Bookmarks", "bookmarks.commands.category.1": "Bookmarks", "bookmarks.commands.category.2": "Bookmarks (Seleção)", "bookmarks.commands.toggle.title": "Alternar", diff --git a/package.nls.ru.json b/package.nls.ru.json index efdf0b3..384f962 100644 --- a/package.nls.ru.json +++ b/package.nls.ru.json @@ -5,6 +5,8 @@ "bookmarks.viewsWelcome.bookmarksExplorer.contents.1": "In order to use Bookmarks, you have to open a folder or workspace first.\n[Open a Folder](command:_bookmarks.openFolderWelcome)\n[Open a Workspace](command:workbench.action.openWorkspace)\nTo learn more about how to use Bookmarks in VS Code [read the docs](http://github.com/alefragnani/vscode-bookmarks/#bookmarks).", "bookmarks.viewsWelcome.bookmarksExplorer.contents.2": "No bookmarks yet.\nIn order to use Bookmarks, you have to open a file in the editor.\n[Open a File](command:workbench.action.quickOpen)\nTo learn more about how to use Bookmarks in VS Code [read the docs](http://github.com/alefragnani/vscode-bookmarks/#bookmarks).", "bookmarks.viewsWelcome.bookmarksExplorer.contents.3": "No bookmarks yet.\nIn order to use Bookmarks, place the cursor in any location in the file and run the command:\n[Bookmarks: Toggle](command:bookmarks.toggle)\nTo learn more about how to use Bookmarks in VS Code [read the docs](http://github.com/alefragnani/vscode-bookmarks/#bookmarks).", + "bookmarks.editor.context.label": "Закладки", + "bookmarks.editor.title.label": "Закладки", "bookmarks.commands.category.1": "Закладки", "bookmarks.commands.category.2": "Закладки (Выделение)", "bookmarks.commands.toggle.title": "добавить/убрать", diff --git a/package.nls.zh-cn.json b/package.nls.zh-cn.json index 9f039df..5c5fc07 100644 --- a/package.nls.zh-cn.json +++ b/package.nls.zh-cn.json @@ -5,6 +5,8 @@ "bookmarks.viewsWelcome.bookmarksExplorer.contents.1": "为了使用书签,你需要打开一个文件夹或工作区。\n[打开文件夹](command:_bookmarks.openFolderWelcome)\n[打开工作区](command:workbench.action.openWorkspace)\n可以[阅读文档](http://github.com/alefragnani/vscode-bookmarks/#bookmarks)了解关于 VS Code 中使用书签的更多信息。", "bookmarks.viewsWelcome.bookmarksExplorer.contents.2": "目前无书签。\n为了使用书签,你需要在编辑器中打开一个文件。\n[打开文件](command:workbench.action.quickOpen)\n可以[阅读文档](http://github.com/alefragnani/vscode-bookmarks/#bookmarks)了解关于 VS Code 中使用书签的更多信息。", "bookmarks.viewsWelcome.bookmarksExplorer.contents.3": "目前无书签。\n为了使用书签,你需要将光标放在文件的任意位置,然后运行命令:\n[书签: 开关](command:bookmarks.toggle)\n可以[阅读文档](http://github.com/alefragnani/vscode-bookmarks/#bookmarks)了解关于 VS Code 中使用书签的更多信息。", + "bookmarks.editor.context.label": "书签", + "bookmarks.editor.title.label": "书签", "bookmarks.commands.category.1": "书签", "bookmarks.commands.category.2": "书签(选择)", "bookmarks.commands.toggle.title": "开关", From c7819f0cbf5e5ebbc4244a29a388a1f2c74bf704 Mon Sep 17 00:00:00 2001 From: loniceras Date: Thu, 7 Jan 2021 18:27:20 +0800 Subject: [PATCH 3/3] Update translations --- package.json | 48 +++++++++++++++++++++--------------------- package.nls.json | 22 +++++++++---------- package.nls.pt-br.json | 22 +++++++++---------- package.nls.ru.json | 22 +++++++++---------- package.nls.zh-cn.json | 22 +++++++++---------- 5 files changed, 68 insertions(+), 68 deletions(-) diff --git a/package.json b/package.json index 516f7a7..015add9 100644 --- a/package.json +++ b/package.json @@ -60,17 +60,17 @@ "viewsWelcome": [ { "view": "bookmarksExplorer", - "contents": "%bookmarks.viewsWelcome.bookmarksExplorer.contents.1%", + "contents": "%bookmarks.viewsWelcome.bookmarksExplorer.contents.whenEmpty%", "when": "workbenchState == empty" }, { "view": "bookmarksExplorer", - "contents": "%bookmarks.viewsWelcome.bookmarksExplorer.contents.2%", + "contents": "%bookmarks.viewsWelcome.bookmarksExplorer.contents.whenNoFileOpen%", "when": "workbenchState != empty && !editorIsOpen" }, { "view": "bookmarksExplorer", - "contents": "%bookmarks.viewsWelcome.bookmarksExplorer.contents.3%", + "contents": "%bookmarks.viewsWelcome.bookmarksExplorer.contents.whenHasFileOpen%", "when": "workbenchState != empty && editorIsOpen" } ], @@ -78,52 +78,52 @@ { "command": "bookmarks.toggle", "title": "%bookmarks.commands.toggle.title%", - "category": "%bookmarks.commands.category.1%" + "category": "%bookmarks.commands.category.bookmarks%" }, { "command": "bookmarks.jumpToNext", "title": "%bookmarks.commands.jumpToNext.title%", - "category": "%bookmarks.commands.category.1%" + "category": "%bookmarks.commands.category.bookmarks%" }, { "command": "bookmarks.jumpToPrevious", "title": "%bookmarks.commands.jumpToPrevious.title%", - "category": "%bookmarks.commands.category.1%" + "category": "%bookmarks.commands.category.bookmarks%" }, { "command": "_bookmarks.jumpTo", "title": "%bookmarks.commands.jumpTo.title%", - "category": "%bookmarks.commands.category.1%" + "category": "%bookmarks.commands.category.bookmarks%" }, { "command": "bookmarks.selectLines", "title": "%bookmarks.commands.selectLines.title%", - "category": "%bookmarks.commands.category.2%" + "category": "%bookmarks.commands.category.bookmarks.selection%" }, { "command": "bookmarks.expandSelectionToNext", "title": "%bookmarks.commands.expandSelectionToNext.title%", - "category": "%bookmarks.commands.category.2%" + "category": "%bookmarks.commands.category.bookmarks.selection%" }, { "command": "bookmarks.expandSelectionToPrevious", "title": "%bookmarks.commands.expandSelectionToPrevious.title%", - "category": "%bookmarks.commands.category.2%" + "category": "%bookmarks.commands.category.bookmarks.selection%" }, { "command": "bookmarks.shrinkSelection", "title": "%bookmarks.commands.shrinkSelection.title%", - "category": "%bookmarks.commands.category.2%" + "category": "%bookmarks.commands.category.bookmarks.selection%" }, { "command": "bookmarks.list", "title": "%bookmarks.commands.list.title%", - "category": "%bookmarks.commands.category.1%" + "category": "%bookmarks.commands.category.bookmarks%" }, { "command": "bookmarks.toggleLabeled", "title": "%bookmarks.commands.toggleLabeled.title%", - "category": "%bookmarks.commands.category.1%" + "category": "%bookmarks.commands.category.bookmarks%" }, { "command": "bookmarks.refresh", @@ -137,7 +137,7 @@ { "command": "bookmarks.clear", "title": "%bookmarks.commands.clear.title%", - "category": "%bookmarks.commands.category.1%" + "category": "%bookmarks.commands.category.bookmarks%" }, { "command": "_bookmarks.clearFromFile", @@ -157,17 +157,17 @@ { "command": "bookmarks.listFromAllFiles", "title": "%bookmarks.commands.listFromAllFiles.title%", - "category": "%bookmarks.commands.category.1%" + "category": "%bookmarks.commands.category.bookmarks%" }, { "command": "bookmarks.clearFromAllFiles", "title": "%bookmarks.commands.clearFromAllFiles.title%", - "category": "%bookmarks.commands.category.1%" + "category": "%bookmarks.commands.category.bookmarks%" }, { "command": "bookmarks.whatsNew", "title": "%bookmarks.commands.whatsNew.title%", - "category": "%bookmarks.commands.category.1%" + "category": "%bookmarks.commands.category.bookmarks%" }, { "command": "_bookmarks.whatsNewContextMenu", @@ -180,7 +180,7 @@ { "command": "bookmarks.supportBookmarks", "title": "%bookmarks.commands.supportBookmarks.title%", - "category": "%bookmarks.commands.category.1%" + "category": "%bookmarks.commands.category.bookmarks%" } ], "menus": { @@ -381,8 +381,8 @@ "eachLineIndependently" ], "enumDescriptions": [ - "%bookmarks.configuration.multicursor.toggleMode.enumDescriptions.1%", - "%bookmarks.configuration.multicursor.toggleMode.enumDescriptions.2%" + "%bookmarks.configuration.multicursor.toggleMode.enumDescriptions.allLinesAtOnce%", + "%bookmarks.configuration.multicursor.toggleMode.enumDescriptions.eachLineIndependently%" ], "description": "%bookmarks.configuration.multicursor.toggleMode.description%" }, @@ -397,10 +397,10 @@ "suggestWhenSelectedOrLineWhenNoSelected" ], "enumDescriptions": [ - "%bookmarks.configuration.label.suggestion.enumDescriptions.1%", - "%bookmarks.configuration.label.suggestion.enumDescriptions.2%", - "%bookmarks.configuration.label.suggestion.enumDescriptions.3%", - "%bookmarks.configuration.label.suggestion.enumDescriptions.4%" + "%bookmarks.configuration.label.suggestion.enumDescriptions.dontUse%", + "%bookmarks.configuration.label.suggestion.enumDescriptions.useWhenSelected%", + "%bookmarks.configuration.label.suggestion.enumDescriptions.suggestWhenSelected%", + "%bookmarks.configuration.label.suggestion.enumDescriptions.suggestWhenSelectedOrLineWhenNoSelected%" ] } } diff --git a/package.nls.json b/package.nls.json index 0dfe2fc..bbbd267 100644 --- a/package.nls.json +++ b/package.nls.json @@ -2,13 +2,13 @@ "bookmarks.activitybar.title": "Bookmarks", "bookmarks.views.Explorer.name": "Explorer", "bookmarks.views.HelpAndFeedback.name": "Help and Feedback", - "bookmarks.viewsWelcome.bookmarksExplorer.contents.1": "In order to use Bookmarks, you have to open a folder or workspace first.\n[Open a Folder](command:_bookmarks.openFolderWelcome)\n[Open a Workspace](command:workbench.action.openWorkspace)\nTo learn more about how to use Bookmarks in VS Code [read the docs](http://github.com/alefragnani/vscode-bookmarks/#bookmarks).", - "bookmarks.viewsWelcome.bookmarksExplorer.contents.2": "No bookmarks yet.\nIn order to use Bookmarks, you have to open a file in the editor.\n[Open a File](command:workbench.action.quickOpen)\nTo learn more about how to use Bookmarks in VS Code [read the docs](http://github.com/alefragnani/vscode-bookmarks/#bookmarks).", - "bookmarks.viewsWelcome.bookmarksExplorer.contents.3": "No bookmarks yet.\nIn order to use Bookmarks, place the cursor in any location in the file and run the command:\n[Bookmarks: Toggle](command:bookmarks.toggle)\nTo learn more about how to use Bookmarks in VS Code [read the docs](http://github.com/alefragnani/vscode-bookmarks/#bookmarks).", + "bookmarks.viewsWelcome.bookmarksExplorer.contents.whenEmpty": "In order to use Bookmarks, you have to open a folder or workspace first.\n[Open a Folder](command:_bookmarks.openFolderWelcome)\n[Open a Workspace](command:workbench.action.openWorkspace)\nTo learn more about how to use Bookmarks in VS Code [read the docs](http://github.com/alefragnani/vscode-bookmarks/#bookmarks).", + "bookmarks.viewsWelcome.bookmarksExplorer.contents.whenNoFileOpen": "No bookmarks yet.\nIn order to use Bookmarks, you have to open a file in the editor.\n[Open a File](command:workbench.action.quickOpen)\nTo learn more about how to use Bookmarks in VS Code [read the docs](http://github.com/alefragnani/vscode-bookmarks/#bookmarks).", + "bookmarks.viewsWelcome.bookmarksExplorer.contents.whenHasFileOpen": "No bookmarks yet.\nIn order to use Bookmarks, place the cursor in any location in the file and run the command:\n[Bookmarks: Toggle](command:bookmarks.toggle)\nTo learn more about how to use Bookmarks in VS Code [read the docs](http://github.com/alefragnani/vscode-bookmarks/#bookmarks).", "bookmarks.editor.context.label": "Bookmarks", "bookmarks.editor.title.label": "Bookmarks", - "bookmarks.commands.category.1": "Bookmarks", - "bookmarks.commands.category.2": "Bookmarks (Selection)", + "bookmarks.commands.category.bookmarks": "Bookmarks", + "bookmarks.commands.category.bookmarks.selection": "Bookmarks (Selection)", "bookmarks.commands.toggle.title": "Toggle", "bookmarks.commands.jumpToNext.title": "Jump to Next", "bookmarks.commands.jumpToPrevious.title": "Jump to Previous", @@ -42,13 +42,13 @@ "bookmarks.configuration.showCommandsInContextMenu.description": "Specifies whether Bookmarks commands are displayed on the context menu", "bookmarks.configuration.sidebar.expanded.description": "Specifies wheher the Side Bar show be displayed expanded", "bookmarks.configuration.multicursor.toggleMode.description": "Specifies how multi cursor handles already bookmarked lines", - "bookmarks.configuration.multicursor.toggleMode.enumDescriptions.1": "Creates bookmarks in all selected lines at once, if at least one of the lines don't have a bookmark", - "bookmarks.configuration.multicursor.toggleMode.enumDescriptions.2": "Literally toggles a bookmark in each line, instead of making all lines equals", + "bookmarks.configuration.multicursor.toggleMode.enumDescriptions.allLinesAtOnce": "Creates bookmarks in all selected lines at once, if at least one of the lines don't have a bookmark", + "bookmarks.configuration.multicursor.toggleMode.enumDescriptions.eachLineIndependently": "Literally toggles a bookmark in each line, instead of making all lines equals", "bookmarks.configuration.label.suggestion.description": "Specifies how labels are suggested when creating bookmarks", - "bookmarks.configuration.label.suggestion.enumDescriptions.1": "Don't use the selection (original behavior)", - "bookmarks.configuration.label.suggestion.enumDescriptions.2": "Use the selected text (if available) directly, no confirmation required", - "bookmarks.configuration.label.suggestion.enumDescriptions.3": "Suggests the selected text (if available). You still need to confirm.", - "bookmarks.configuration.label.suggestion.enumDescriptions.4": "Suggests the selected text (if available) or the entire line (when has no selection). You still need to confirm.", + "bookmarks.configuration.label.suggestion.enumDescriptions.dontUse": "Don't use the selection (original behavior)", + "bookmarks.configuration.label.suggestion.enumDescriptions.useWhenSelected": "Use the selected text (if available) directly, no confirmation required", + "bookmarks.configuration.label.suggestion.enumDescriptions.suggestWhenSelected": "Suggests the selected text (if available). You still need to confirm.", + "bookmarks.configuration.label.suggestion.enumDescriptions.suggestWhenSelectedOrLineWhenNoSelected": "Suggests the selected text (if available) or the entire line (when has no selection). You still need to confirm.", "bookmarks.colors.lineBackground.description": "Background color for the bookmarked line", "bookmarks.colors.lineBorder.description": "Background color for the border around the bookmarked line", "bookmarks.colors.overviewRuler.description": "Overview ruler marker color for bookmarks" diff --git a/package.nls.pt-br.json b/package.nls.pt-br.json index 8a13de7..c448f47 100644 --- a/package.nls.pt-br.json +++ b/package.nls.pt-br.json @@ -2,13 +2,13 @@ "bookmarks.activitybar.title": "Bookmarks", "bookmarks.views.Explorer.name": "Explorer", "bookmarks.views.HelpAndFeedback.name": "Help and Feedback", - "bookmarks.viewsWelcome.bookmarksExplorer.contents.1": "In order to use Bookmarks, you have to open a folder or workspace first.\n[Open a Folder](command:_bookmarks.openFolderWelcome)\n[Open a Workspace](command:workbench.action.openWorkspace)\nTo learn more about how to use Bookmarks in VS Code [read the docs](http://github.com/alefragnani/vscode-bookmarks/#bookmarks).", - "bookmarks.viewsWelcome.bookmarksExplorer.contents.2": "No bookmarks yet.\nIn order to use Bookmarks, you have to open a file in the editor.\n[Open a File](command:workbench.action.quickOpen)\nTo learn more about how to use Bookmarks in VS Code [read the docs](http://github.com/alefragnani/vscode-bookmarks/#bookmarks).", - "bookmarks.viewsWelcome.bookmarksExplorer.contents.3": "No bookmarks yet.\nIn order to use Bookmarks, place the cursor in any location in the file and run the command:\n[Bookmarks: Toggle](command:bookmarks.toggle)\nTo learn more about how to use Bookmarks in VS Code [read the docs](http://github.com/alefragnani/vscode-bookmarks/#bookmarks).", + "bookmarks.viewsWelcome.bookmarksExplorer.contents.whenEmpty": "In order to use Bookmarks, you have to open a folder or workspace first.\n[Open a Folder](command:_bookmarks.openFolderWelcome)\n[Open a Workspace](command:workbench.action.openWorkspace)\nTo learn more about how to use Bookmarks in VS Code [read the docs](http://github.com/alefragnani/vscode-bookmarks/#bookmarks).", + "bookmarks.viewsWelcome.bookmarksExplorer.contents.whenNoFileOpen": "No bookmarks yet.\nIn order to use Bookmarks, you have to open a file in the editor.\n[Open a File](command:workbench.action.quickOpen)\nTo learn more about how to use Bookmarks in VS Code [read the docs](http://github.com/alefragnani/vscode-bookmarks/#bookmarks).", + "bookmarks.viewsWelcome.bookmarksExplorer.contents.whenHasFileOpen": "No bookmarks yet.\nIn order to use Bookmarks, place the cursor in any location in the file and run the command:\n[Bookmarks: Toggle](command:bookmarks.toggle)\nTo learn more about how to use Bookmarks in VS Code [read the docs](http://github.com/alefragnani/vscode-bookmarks/#bookmarks).", "bookmarks.editor.context.label": "Bookmarks", "bookmarks.editor.title.label": "Bookmarks", - "bookmarks.commands.category.1": "Bookmarks", - "bookmarks.commands.category.2": "Bookmarks (Seleção)", + "bookmarks.commands.category.bookmarks": "Bookmarks", + "bookmarks.commands.category.bookmarks.selection": "Bookmarks (Seleção)", "bookmarks.commands.toggle.title": "Alternar", "bookmarks.commands.jumpToNext.title": "Pular para o Próximo", "bookmarks.commands.jumpToPrevious.title": "Pular para o Anterior", @@ -42,13 +42,13 @@ "bookmarks.configuration.showCommandsInContextMenu.description": "Define se os comandos Bookmarks são apresentados no menu de contexto", "bookmarks.configuration.sideBar.expanded.description": "Define se a Side Bar deve ser exibida expandida", "bookmarks.configuration.multicursor.toggleMode.description": "Define como funciona são tratadas as linhas que já possuem bookmark quando utiliza-se multicursor", - "bookmarks.configuration.multicursor.toggleMode.enumDescriptions.1": "Creates bookmarks in all selected lines at once, if at least one of the lines don't have a bookmark", - "bookmarks.configuration.multicursor.toggleMode.enumDescriptions.2": "Literally toggles a bookmark in each line, instead of making all lines equals", + "bookmarks.configuration.multicursor.toggleMode.enumDescriptions.allLinesAtOnce": "Creates bookmarks in all selected lines at once, if at least one of the lines don't have a bookmark", + "bookmarks.configuration.multicursor.toggleMode.enumDescriptions.eachLineIndependently": "Literally toggles a bookmark in each line, instead of making all lines equals", "bookmarks.configuration.label.suggestion.description": "Define como rótulos são sugeridos quando se cria Bookmarks", - "bookmarks.configuration.label.suggestion.enumDescriptions.1": "Don't use the selection (original behavior)", - "bookmarks.configuration.label.suggestion.enumDescriptions.2": "Use the selected text (if available) directly, no confirmation required", - "bookmarks.configuration.label.suggestion.enumDescriptions.3": "Suggests the selected text (if available). You still need to confirm.", - "bookmarks.configuration.label.suggestion.enumDescriptions.4": "Suggests the selected text (if available) or the entire line (when has no selection). You still need to confirm.", + "bookmarks.configuration.label.suggestion.enumDescriptions.dontUse": "Don't use the selection (original behavior)", + "bookmarks.configuration.label.suggestion.enumDescriptions.useWhenSelected": "Use the selected text (if available) directly, no confirmation required", + "bookmarks.configuration.label.suggestion.enumDescriptions.suggestWhenSelected": "Suggests the selected text (if available). You still need to confirm.", + "bookmarks.configuration.label.suggestion.enumDescriptions.suggestWhenSelectedOrLineWhenNoSelected": "Suggests the selected text (if available) or the entire line (when has no selection). You still need to confirm.", "bookmarks.colors.lineBackground.description": "Cor de fundo para linha com Bookmark", "bookmarks.colors.lineBorder.description": "Cor de fundo da borda ao redor da linha com Bookmark", "bookmarks.colors.overviewRuler.description": "Cor do marcador de régua com Bookmarks" diff --git a/package.nls.ru.json b/package.nls.ru.json index 384f962..248358c 100644 --- a/package.nls.ru.json +++ b/package.nls.ru.json @@ -2,13 +2,13 @@ "bookmarks.activitybar.title": "Закладки", "bookmarks.views.Explorer.name": "Проводник", "bookmarks.views.HelpAndFeedback.name": "Help and Feedback", - "bookmarks.viewsWelcome.bookmarksExplorer.contents.1": "In order to use Bookmarks, you have to open a folder or workspace first.\n[Open a Folder](command:_bookmarks.openFolderWelcome)\n[Open a Workspace](command:workbench.action.openWorkspace)\nTo learn more about how to use Bookmarks in VS Code [read the docs](http://github.com/alefragnani/vscode-bookmarks/#bookmarks).", - "bookmarks.viewsWelcome.bookmarksExplorer.contents.2": "No bookmarks yet.\nIn order to use Bookmarks, you have to open a file in the editor.\n[Open a File](command:workbench.action.quickOpen)\nTo learn more about how to use Bookmarks in VS Code [read the docs](http://github.com/alefragnani/vscode-bookmarks/#bookmarks).", - "bookmarks.viewsWelcome.bookmarksExplorer.contents.3": "No bookmarks yet.\nIn order to use Bookmarks, place the cursor in any location in the file and run the command:\n[Bookmarks: Toggle](command:bookmarks.toggle)\nTo learn more about how to use Bookmarks in VS Code [read the docs](http://github.com/alefragnani/vscode-bookmarks/#bookmarks).", + "bookmarks.viewsWelcome.bookmarksExplorer.contents.whenEmpty": "In order to use Bookmarks, you have to open a folder or workspace first.\n[Open a Folder](command:_bookmarks.openFolderWelcome)\n[Open a Workspace](command:workbench.action.openWorkspace)\nTo learn more about how to use Bookmarks in VS Code [read the docs](http://github.com/alefragnani/vscode-bookmarks/#bookmarks).", + "bookmarks.viewsWelcome.bookmarksExplorer.contents.whenNoFileOpen": "No bookmarks yet.\nIn order to use Bookmarks, you have to open a file in the editor.\n[Open a File](command:workbench.action.quickOpen)\nTo learn more about how to use Bookmarks in VS Code [read the docs](http://github.com/alefragnani/vscode-bookmarks/#bookmarks).", + "bookmarks.viewsWelcome.bookmarksExplorer.contents.whenHasFileOpen": "No bookmarks yet.\nIn order to use Bookmarks, place the cursor in any location in the file and run the command:\n[Bookmarks: Toggle](command:bookmarks.toggle)\nTo learn more about how to use Bookmarks in VS Code [read the docs](http://github.com/alefragnani/vscode-bookmarks/#bookmarks).", "bookmarks.editor.context.label": "Закладки", "bookmarks.editor.title.label": "Закладки", - "bookmarks.commands.category.1": "Закладки", - "bookmarks.commands.category.2": "Закладки (Выделение)", + "bookmarks.commands.category.bookmarks": "Закладки", + "bookmarks.commands.category.bookmarks.selection": "Закладки (Выделение)", "bookmarks.commands.toggle.title": "добавить/убрать", "bookmarks.commands.jumpToNext.title": "Перейти к следующей", "bookmarks.commands.jumpToPrevious.title": "Перейти к предыдущей", @@ -42,13 +42,13 @@ "bookmarks.configuration.showCommandsInContextMenu.description": "Specifies whether Bookmarks commands are displayed on the context menu", "bookmarks.configuration.sidebar.expanded.description": "Specifies wheher the Side Bar show be displayed expanded", "bookmarks.configuration.multicursor.toggleMode.description": "Specifies how multi cursor handles already bookmarked lines", - "bookmarks.configuration.multicursor.toggleMode.enumDescriptions.1": "Creates bookmarks in all selected lines at once, if at least one of the lines don't have a bookmark", - "bookmarks.configuration.multicursor.toggleMode.enumDescriptions.2": "Literally toggles a bookmark in each line, instead of making all lines equals", + "bookmarks.configuration.multicursor.toggleMode.enumDescriptions.allLinesAtOnce": "Creates bookmarks in all selected lines at once, if at least one of the lines don't have a bookmark", + "bookmarks.configuration.multicursor.toggleMode.enumDescriptions.eachLineIndependently": "Literally toggles a bookmark in each line, instead of making all lines equals", "bookmarks.configuration.label.suggestion.description": "Specifies how labels are suggested when creating bookmarks", - "bookmarks.configuration.label.suggestion.enumDescriptions.1": "Don't use the selection (original behavior)", - "bookmarks.configuration.label.suggestion.enumDescriptions.2": "Use the selected text (if available) directly, no confirmation required", - "bookmarks.configuration.label.suggestion.enumDescriptions.3": "Suggests the selected text (if available). You still need to confirm.", - "bookmarks.configuration.label.suggestion.enumDescriptions.4": "Suggests the selected text (if available) or the entire line (when has no selection). You still need to confirm.", + "bookmarks.configuration.label.suggestion.enumDescriptions.dontUse": "Don't use the selection (original behavior)", + "bookmarks.configuration.label.suggestion.enumDescriptions.useWhenSelected": "Use the selected text (if available) directly, no confirmation required", + "bookmarks.configuration.label.suggestion.enumDescriptions.suggestWhenSelected": "Suggests the selected text (if available). You still need to confirm.", + "bookmarks.configuration.label.suggestion.enumDescriptions.suggestWhenSelectedOrLineWhenNoSelected": "Suggests the selected text (if available) or the entire line (when has no selection). You still need to confirm.", "bookmarks.colors.lineBackground.description": "Цвет фона для отмеченной строки", "bookmarks.colors.lineBorder.description": "Цвет фона для границы вокруг линии с закладкой", "bookmarks.colors.overviewRuler.description": "Обзор цвета маркера линейки для закладок" diff --git a/package.nls.zh-cn.json b/package.nls.zh-cn.json index 5c5fc07..48e898e 100644 --- a/package.nls.zh-cn.json +++ b/package.nls.zh-cn.json @@ -2,13 +2,13 @@ "bookmarks.activitybar.title": "书签", "bookmarks.views.Explorer.name": "浏览器", "bookmarks.views.HelpAndFeedback.name": "帮助和反馈", - "bookmarks.viewsWelcome.bookmarksExplorer.contents.1": "为了使用书签,你需要打开一个文件夹或工作区。\n[打开文件夹](command:_bookmarks.openFolderWelcome)\n[打开工作区](command:workbench.action.openWorkspace)\n可以[阅读文档](http://github.com/alefragnani/vscode-bookmarks/#bookmarks)了解关于 VS Code 中使用书签的更多信息。", - "bookmarks.viewsWelcome.bookmarksExplorer.contents.2": "目前无书签。\n为了使用书签,你需要在编辑器中打开一个文件。\n[打开文件](command:workbench.action.quickOpen)\n可以[阅读文档](http://github.com/alefragnani/vscode-bookmarks/#bookmarks)了解关于 VS Code 中使用书签的更多信息。", - "bookmarks.viewsWelcome.bookmarksExplorer.contents.3": "目前无书签。\n为了使用书签,你需要将光标放在文件的任意位置,然后运行命令:\n[书签: 开关](command:bookmarks.toggle)\n可以[阅读文档](http://github.com/alefragnani/vscode-bookmarks/#bookmarks)了解关于 VS Code 中使用书签的更多信息。", + "bookmarks.viewsWelcome.bookmarksExplorer.contents.whenEmpty": "为了使用书签,你需要打开一个文件夹或工作区。\n[打开文件夹](command:_bookmarks.openFolderWelcome)\n[打开工作区](command:workbench.action.openWorkspace)\n可以[阅读文档](http://github.com/alefragnani/vscode-bookmarks/#bookmarks)了解关于 VS Code 中使用书签的更多信息。", + "bookmarks.viewsWelcome.bookmarksExplorer.contents.whenNoFileOpen": "目前无书签。\n为了使用书签,你需要在编辑器中打开一个文件。\n[打开文件](command:workbench.action.quickOpen)\n可以[阅读文档](http://github.com/alefragnani/vscode-bookmarks/#bookmarks)了解关于 VS Code 中使用书签的更多信息。", + "bookmarks.viewsWelcome.bookmarksExplorer.contents.whenHasFileOpen": "目前无书签。\n为了使用书签,你需要将光标放在文件的任意位置,然后运行命令:\n[书签: 开关](command:bookmarks.toggle)\n可以[阅读文档](http://github.com/alefragnani/vscode-bookmarks/#bookmarks)了解关于 VS Code 中使用书签的更多信息。", "bookmarks.editor.context.label": "书签", "bookmarks.editor.title.label": "书签", - "bookmarks.commands.category.1": "书签", - "bookmarks.commands.category.2": "书签(选择)", + "bookmarks.commands.category.bookmarks": "书签", + "bookmarks.commands.category.bookmarks.selection": "书签(选择)", "bookmarks.commands.toggle.title": "开关", "bookmarks.commands.jumpToNext.title": "跳至下一个", "bookmarks.commands.jumpToPrevious.title": "跳至上一个", @@ -42,13 +42,13 @@ "bookmarks.configuration.showCommandsInContextMenu.description": "允许在上下文菜单中显示书签命令(开关、跳至上一个、跳至下一个)。", "bookmarks.configuration.sidebar.expanded.description": "在书签侧边栏中默认显示展开的书签。", "bookmarks.configuration.multicursor.toggleMode.description": "指定多光标新建书签时对已有书签行的处理方式。", - "bookmarks.configuration.multicursor.toggleMode.enumDescriptions.1": "如果至少有一行没有书签,则在所有选中的行创建书签。", - "bookmarks.configuration.multicursor.toggleMode.enumDescriptions.2": "分别开关每一个选中的行的书签。", + "bookmarks.configuration.multicursor.toggleMode.enumDescriptions.allLinesAtOnce": "如果至少有一行没有书签,则在所有选中的行创建书签。", + "bookmarks.configuration.multicursor.toggleMode.enumDescriptions.eachLineIndependently": "分别开关每一个选中的行的书签。", "bookmarks.configuration.label.suggestion.description": "指定新建含标签的开关时建议标签的生成方式。", - "bookmarks.configuration.label.suggestion.enumDescriptions.1": "无建议的标签,需要手动输入标签。", - "bookmarks.configuration.label.suggestion.enumDescriptions.2": "使用选择的文本作为标签,不需要额外的确认。", - "bookmarks.configuration.label.suggestion.enumDescriptions.3": "使用选择的文本作为标签,需要额外的确认。", - "bookmarks.configuration.label.suggestion.enumDescriptions.4": "使用选择的文本或(无选择的文本时)使用整个行作为标签,需要额外的确认。", + "bookmarks.configuration.label.suggestion.enumDescriptions.dontUse": "无建议的标签,需要手动输入标签。", + "bookmarks.configuration.label.suggestion.enumDescriptions.useWhenSelected": "使用选择的文本作为标签,不需要额外的确认。", + "bookmarks.configuration.label.suggestion.enumDescriptions.suggestWhenSelected": "使用选择的文本作为标签,需要额外的确认。", + "bookmarks.configuration.label.suggestion.enumDescriptions.suggestWhenSelectedOrLineWhenNoSelected": "使用选择的文本或(无选择的文本时)使用整个行作为标签,需要额外的确认。", "bookmarks.colors.lineBackground.description": "书签行的背景色", "bookmarks.colors.lineBorder.description": "书签行的外边框颜色", "bookmarks.colors.overviewRuler.description": "概览标尺中书签行的颜色"