-
Notifications
You must be signed in to change notification settings - Fork 423
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(vscodePlugin): add i18n (#1010)
* feat(vscodePlugin): add i18n * feat: 增加 webview 的 i18n * feat: 支持 右键菜单 多语言功能 * feat: 将 `cherrymakrdon` 编辑器工具栏语言跟随 vscode 编辑器语言 * chore: 移除对于日语的支持,和对于其他语言的索引 * chore: reset vscodePlugin .vscode settings
- Loading branch information
Showing
8 changed files
with
185 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"Preview": "Предварительный просмотр", | ||
"By": "От", | ||
"UnSupported": "Не поддерживается" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"Preview": "预览", | ||
"By": "通过", | ||
"UnSupported": "不支持" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"description": "A markdown previewer powered by [cherry-markdown](https://github.com/Tencent/cherry-markdown)", | ||
"commands.preview.title": "Preview In Cherry Markdown", | ||
"usage.enum.active": "active", | ||
"usage.enum.only-manual": "only-manual", | ||
"usage.description": "cherry-markdown's triggering method values: [ active | only-manual ]", | ||
"theme.enum.default": "default", | ||
"theme.enum.dark": "dark", | ||
"theme.enum.light": "light", | ||
"theme.enum.green": "green", | ||
"theme.enum.red": "red", | ||
"theme.description": "cherry-markdown's theme, available values: [ default | dark | light | green | red ]", | ||
"uploadType.enum.None": "None", | ||
"uploadType.enum.CustomUploader": "CustomUploader", | ||
"uploadType.enum.PicGoServer": "PicGoServer", | ||
"uploadType.enumDescriptions.None": "dont use any uploader, use base64 to show image", | ||
"uploadType.enumDescriptions.CustomUploader": "use custom uploader", | ||
"uploadType.enumDescriptions.PicGoServer": "use picgo server", | ||
"uploadType.description": "cherry-markdown's upload mode, available values: [ None | CustomUploader | PicGoServer ]", | ||
"customUploader.enable.description": "enable custom uploader", | ||
"customUploader.url.description": "custom uploader url", | ||
"customUploader.headers.description": "custom uploader headers", | ||
"customUploader.headers.key.description": "custom uploader headers key", | ||
"customUploader.headers.value.description": "custom uploader headers value", | ||
"customUploader.description": "cherry-markdown's custom uploader, you need config it if you want to upload images / video / audio to your own server", | ||
"picGoServer.description": "cherry-markdown's picgo server, you need config it if you want to upload images / video / audio to picgo server,", | ||
"backfillImageProps.enum.isBorder": "isBorder", | ||
"backfillImageProps.enum.isNotBorder": "isNotBorder", | ||
"backfillImageProps.enum.isRadius": "isRadius", | ||
"backfillImageProps.enumDescriptions.isBorder": "Whether to add a border to the image", | ||
"backfillImageProps.enumDescriptions.isShadow": "Whether to add a shadow to the image", | ||
"backfillImageProps.enumDescriptions.isRadius": "Whether to add a rounded corner to the image", | ||
"backfillImageProps.description": "cherry-markdown's backfill image props, you need config it if you want to backfill image props" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"description": "Просмотрщик markdown, работающий на [cherry-markdown](https://github.com/Tencent/cherry-markdown)", | ||
"commands.preview.title": "Просмотр в Cherry Markdown", | ||
"usage.enum.active": "активный", | ||
"usage.enum.only-manual": "только вручную", | ||
"usage.description": "значения метода триггера cherry-markdown: [ активный | только вручную ]", | ||
"theme.enum.default": "по умолчанию", | ||
"theme.enum.dark": "темный", | ||
"theme.enum.light": "светлый", | ||
"theme.enum.green": "зеленый", | ||
"theme.enum.red": "красный", | ||
"theme.description": "тема cherry-markdown, доступные значения: [ по умолчанию | темный | светлый | зеленый | красный ]", | ||
"uploadType.enum.None": "Нет", | ||
"uploadType.enum.CustomUploader": "Пользовательский загрузчик", | ||
"uploadType.enum.PicGoServer": "PicGoServer", | ||
"uploadType.enumDescriptions.None": "не использовать загрузчик, использовать base64 для отображения изображения", | ||
"uploadType.enumDescriptions.CustomUploader": "использовать пользовательский загрузчик", | ||
"uploadType.enumDescriptions.PicGoServer": "использовать сервер picgo", | ||
"uploadType.description": "режим загрузки cherry-markdown, доступные значения: [ Нет | Пользовательский загрузчик | PicGoServer ]", | ||
"customUploader.enable.description": "включить пользовательский загрузчик", | ||
"customUploader.url.description": "URL пользовательского загрузчика", | ||
"customUploader.headers.description": "заголовки пользовательского загрузчика", | ||
"customUploader.headers.key.description": "ключ заголовков пользовательского загрузчика", | ||
"customUploader.headers.value.description": "значение заголовков пользовательского загрузчика", | ||
"customUploader.description": "пользовательский загрузчик cherry-markdown, необходимо настроить его, если вы хотите загружать изображения / видео / аудио на свой сервер", | ||
"picGoServer.description": "сервер picgo cherry-markdown, необходимо настроить его, если вы хотите загружать изображения / видео / аудио на сервер picgo", | ||
"backfillImageProps.enum.isBorder": "с границей", | ||
"backfillImageProps.enum.isNotBorder": "без границы", | ||
"backfillImageProps.enum.isRadius": "с радиусом", | ||
"backfillImageProps.enumDescriptions.isBorder": "Добавить ли границу к изображению", | ||
"backfillImageProps.enumDescriptions.isShadow": "Добавить ли тень к изображению", | ||
"backfillImageProps.enumDescriptions.isRadius": "Добавить ли закругленные углы к изображению", | ||
"backfillImageProps.description": "свойства обратного заполнения изображения cherry-markdown, необходимо настроить их, если вы хотите заполнить свойства изображения" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"description": "由 [cherry-markdown](https://github.com/Tencent/cherry-markdown) 提供支持的 Markdown 预览器", | ||
"commands.preview.title": "在 Cherry Markdown 中预览", | ||
"usage.enum.active": "激活", | ||
"usage.enum.only-manual": "仅手动", | ||
"usage.description": "cherry-markdown 的触发方式值:[ 激活 | 仅手动 ]", | ||
"theme.enum.default": "默认", | ||
"theme.enum.dark": "黑暗", | ||
"theme.enum.light": "明亮", | ||
"theme.enum.green": "绿色", | ||
"theme.enum.red": "红色", | ||
"theme.description": "cherry-markdown 的主题,可用值:[ 默认 | 黑暗 | 明亮 | 绿色 | 红色 ]", | ||
"uploadType.enum.None": "无", | ||
"uploadType.enum.CustomUploader": "自定义上传器", | ||
"uploadType.enum.PicGoServer": "PicGo 服务器", | ||
"uploadType.enumDescriptions.None": "不使用任何上传器,使用 base64 显示图像", | ||
"uploadType.enumDescriptions.CustomUploader": "使用自定义上传器", | ||
"uploadType.enumDescriptions.PicGoServer": "使用 PicGo 服务器", | ||
"uploadType.description": "cherry-markdown 的上传模式,可用值:[ 无 | 自定义上传器 | PicGo 服务器 ]", | ||
"customUploader.enable.description": "启用自定义上传器", | ||
"customUploader.url.description": "自定义上传器 URL", | ||
"customUploader.headers.description": "自定义上传器头信息", | ||
"customUploader.headers.key.description": "自定义上传器头信息键", | ||
"customUploader.headers.value.description": "自定义上传器头信息值", | ||
"customUploader.description": "cherry-markdown 的自定义上传器,如果你想将图像/视频/音频上传到自己的服务器,需要配置它", | ||
"picGoServer.description": "cherry-markdown 的 PicGo 服务器,如果你想将图像/视频/音频上传到 PicGo 服务器,需要配置它", | ||
"backfillImageProps.enum.isBorder": "有边框", | ||
"backfillImageProps.enum.isNotBorder": "无边框", | ||
"backfillImageProps.enum.isRadius": "有圆角", | ||
"backfillImageProps.enumDescriptions.isBorder": "是否为图像添加边框", | ||
"backfillImageProps.enumDescriptions.isShadow": "是否为图像添加阴影", | ||
"backfillImageProps.enumDescriptions.isRadius": "是否为图像添加圆角", | ||
"backfillImageProps.description": "cherry-markdown 的回填图像属性,如果你想回填图像属性,需要配置它" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters