diff --git a/package.json b/package.json index aeaac4f..39e1de7 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.whenEmpty%", "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.whenNoFileOpen%", "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.whenHasFileOpen%", "when": "workbenchState != empty && editorIsOpen" } ], @@ -78,52 +78,52 @@ { "command": "bookmarks.toggle", "title": "%bookmarks.commands.toggle.title%", - "category": "Bookmarks" + "category": "%bookmarks.commands.category.bookmarks%" }, { "command": "bookmarks.jumpToNext", "title": "%bookmarks.commands.jumpToNext.title%", - "category": "Bookmarks" + "category": "%bookmarks.commands.category.bookmarks%" }, { "command": "bookmarks.jumpToPrevious", "title": "%bookmarks.commands.jumpToPrevious.title%", - "category": "Bookmarks" + "category": "%bookmarks.commands.category.bookmarks%" }, { "command": "_bookmarks.jumpTo", "title": "%bookmarks.commands.jumpTo.title%", - "category": "Bookmarks" + "category": "%bookmarks.commands.category.bookmarks%" }, { "command": "bookmarks.selectLines", "title": "%bookmarks.commands.selectLines.title%", - "category": "Bookmarks (Selection)" + "category": "%bookmarks.commands.category.bookmarks.selection%" }, { "command": "bookmarks.expandSelectionToNext", "title": "%bookmarks.commands.expandSelectionToNext.title%", - "category": "Bookmarks (Selection)" + "category": "%bookmarks.commands.category.bookmarks.selection%" }, { "command": "bookmarks.expandSelectionToPrevious", "title": "%bookmarks.commands.expandSelectionToPrevious.title%", - "category": "Bookmarks (Selection)" + "category": "%bookmarks.commands.category.bookmarks.selection%" }, { "command": "bookmarks.shrinkSelection", "title": "%bookmarks.commands.shrinkSelection.title%", - "category": "Bookmarks (Selection)" + "category": "%bookmarks.commands.category.bookmarks.selection%" }, { "command": "bookmarks.list", "title": "%bookmarks.commands.list.title%", - "category": "Bookmarks" + "category": "%bookmarks.commands.category.bookmarks%" }, { "command": "bookmarks.toggleLabeled", "title": "%bookmarks.commands.toggleLabeled.title%", - "category": "Bookmarks" + "category": "%bookmarks.commands.category.bookmarks%" }, { "command": "bookmarks.refresh", @@ -137,7 +137,7 @@ { "command": "bookmarks.clear", "title": "%bookmarks.commands.clear.title%", - "category": "Bookmarks" + "category": "%bookmarks.commands.category.bookmarks%" }, { "command": "_bookmarks.clearFromFile", @@ -157,17 +157,17 @@ { "command": "bookmarks.listFromAllFiles", "title": "%bookmarks.commands.listFromAllFiles.title%", - "category": "Bookmarks" + "category": "%bookmarks.commands.category.bookmarks%" }, { "command": "bookmarks.clearFromAllFiles", "title": "%bookmarks.commands.clearFromAllFiles.title%", - "category": "Bookmarks" + "category": "%bookmarks.commands.category.bookmarks%" }, { "command": "bookmarks.whatsNew", "title": "%bookmarks.commands.whatsNew.title%", - "category": "Bookmarks" + "category": "%bookmarks.commands.category.bookmarks%" }, { "command": "_bookmarks.whatsNewContextMenu", @@ -180,7 +180,7 @@ { "command": "bookmarks.supportBookmarks", "title": "%bookmarks.commands.supportBookmarks.title%", - "category": "Bookmarks" + "category": "%bookmarks.commands.category.bookmarks%" } ], "menus": { @@ -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": { @@ -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.allLinesAtOnce%", + "%bookmarks.configuration.multicursor.toggleMode.enumDescriptions.eachLineIndependently%" ], "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.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 2ac91c8..bbbd267 100644 --- a/package.nls.json +++ b/package.nls.json @@ -1,6 +1,14 @@ { "bookmarks.activitybar.title": "Bookmarks", "bookmarks.views.Explorer.name": "Explorer", + "bookmarks.views.HelpAndFeedback.name": "Help and Feedback", + "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.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", @@ -34,7 +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.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.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 30bc91c..c448f47 100644 --- a/package.nls.pt-br.json +++ b/package.nls.pt-br.json @@ -1,6 +1,14 @@ { "bookmarks.activitybar.title": "Bookmarks", "bookmarks.views.Explorer.name": "Explorer", + "bookmarks.views.HelpAndFeedback.name": "Help and Feedback", + "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.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", @@ -34,7 +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.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.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 a155a0d..248358c 100644 --- a/package.nls.ru.json +++ b/package.nls.ru.json @@ -1,6 +1,14 @@ { "bookmarks.activitybar.title": "Закладки", "bookmarks.views.Explorer.name": "Проводник", + "bookmarks.views.HelpAndFeedback.name": "Help and Feedback", + "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.bookmarks": "Закладки", + "bookmarks.commands.category.bookmarks.selection": "Закладки (Выделение)", "bookmarks.commands.toggle.title": "добавить/убрать", "bookmarks.commands.jumpToNext.title": "Перейти к следующей", "bookmarks.commands.jumpToPrevious.title": "Перейти к предыдущей", @@ -31,6 +39,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.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.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 5fcb416..48e898e 100644 --- a/package.nls.zh-cn.json +++ b/package.nls.zh-cn.json @@ -1,6 +1,14 @@ { "bookmarks.activitybar.title": "书签", "bookmarks.views.Explorer.name": "浏览器", + "bookmarks.views.HelpAndFeedback.name": "帮助和反馈", + "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.bookmarks": "书签", + "bookmarks.commands.category.bookmarks.selection": "书签(选择)", "bookmarks.commands.toggle.title": "开关", "bookmarks.commands.jumpToNext.title": "跳至下一个", "bookmarks.commands.jumpToPrevious.title": "跳至上一个", @@ -10,7 +18,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 +42,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.allLinesAtOnce": "如果至少有一行没有书签,则在所有选中的行创建书签。", + "bookmarks.configuration.multicursor.toggleMode.enumDescriptions.eachLineIndependently": "分别开关每一个选中的行的书签。", + "bookmarks.configuration.label.suggestion.description": "指定新建含标签的开关时建议标签的生成方式。", + "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": "概览标尺中书签行的颜色"