Skip to content

Commit

Permalink
[I18N] Add support for pt-br and pl locales
Browse files Browse the repository at this point in the history
  • Loading branch information
GehDoc committed Nov 24, 2023
1 parent f013d4e commit cc8d4bc
Show file tree
Hide file tree
Showing 28 changed files with 314 additions and 10 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- [INTERNAL] WIP - Update to vscode 1.69.2
- [DEPENDENCIES] update to latest vscode-nls

### Added
- [I18N] Add support for pt-br and pl locales


## [1.3.24] - 20230907

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Features considered out of scope of this extension :
* Telemetry reporter : Need a non free Azure account to use [@vscode/extension-telemetry](https://www.npmjs.com/package/@vscode/extension-telemetry) module.

Maybe implemented, if requested :
* Add other translations than the 9 core languages listed there : https://github.com/microsoft/vscode-loc/#visual-studio-code-language-packs
* Add other translations than the 11 core languages listed there : https://github.com/microsoft/vscode-loc/#visual-studio-code-language-packs
* Support enabling/disabling 'linkify' = Enable or disable conversion of URL-like text to links in the Textile preview;
* Some helper functionalities, like link normalization and validation (may allow file:// protocol and absolute paths to images. Currently, http:// protocol, and path relative to Textile file are recognized). Look [here](./src/textileEngine.ts), and search for Disabled and FIXME;
* Smart select;
Expand Down
2 changes: 1 addition & 1 deletion i18n/chs/package.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"configuration.textile.editor.pasteLinks.enabled": "Enable/disable pasting files into a Textile editor inserts Textile links. Requires enabling `#editor.experimental.pasteActions.enabled#`.",
"configuration.textile.experimental.validate.enabled.description": "启用/禁用 Textile 文件中的所有错误报告。",
"configuration.textile.experimental.validate.fileLinks.enabled.description": "验证指向 Textile 文件中其他文件的链接,例如 `\"link\":/path/to/file.textile`。此操作将检查目标文件是否存在。需要启用 ·#textile.experimental.validate.enabled#·。",
"configuration.textile.experimental.validate.fileLinks.textileFragmentLinks.description": "验证 Textile 文件中其他文件中标头的链接片段部分,例如“[link](/path/to/file.md#header)”。默认情况下从“#textile.experimental.validate.fragmentLinks.enabled#”继承设置值。",
"configuration.textile.experimental.validate.fileLinks.textileFragmentLinks.description": "验证 Textile 文件中其他文件中标头的链接片段部分,例如“\"link\":/path/to/file.textile#header”。默认情况下从“#textile.experimental.validate.fragmentLinks.enabled#”继承设置值。",
"configuration.textile.experimental.validate.fragmentLinks.enabled.description": "验证当前 Textile 文件中标头的片段链接,例如“\"link\":#header”。需要启用“#textile.experimental.validate.enabled#”。",
"configuration.textile.experimental.validate.ignoreLinks.description": "配置不应被验证的链接。例如,`/about` 不会验证链接 `\"about\":/about`,而 `/assets/**/*.svg` 会允许你跳过对 `assets` 目录下 `.svg` 文件的任何链接的验证。",
"configuration.textile.experimental.validate.referenceLinks.enabled.description": "验证 Textile 文件中的引用链接,例如 `\"link\":ref`。 需要启用 `#textile.experimental.validate.enabled#`。",
Expand Down
2 changes: 1 addition & 1 deletion i18n/cht/package.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"configuration.textile.editor.pasteLinks.enabled": "Enable/disable pasting files into a Textile editor inserts Textile links. Requires enabling `#editor.experimental.pasteActions.enabled#`.",
"configuration.textile.experimental.validate.enabled.description": "啟用/停用 Textile 檔案中的所有錯誤報告。",
"configuration.textile.experimental.validate.fileLinks.enabled.description": "驗證 Textile 檔案中其他檔案的連結,例如 `\"link\":/path/to/file.textile`。這會檢查目標檔案是否存在。需要啟用 `#textile.experimental.validate.enabled#`。",
"configuration.textile.experimental.validate.fileLinks.textileFragmentLinks.description": "驗證 Textile 檔案中其他檔案中標題連結的片段部分,例如 '[link](/path/to/file.md#header)'。根據預設,從 '#textile.experimental.validate.fragmentLinks.enabled#' 繼承設定值。",
"configuration.textile.experimental.validate.fileLinks.textileFragmentLinks.description": "驗證 Textile 檔案中其他檔案中標題連結的片段部分,例如 '\"link\":/path/to/file.textile#header'。根據預設,從 '#textile.experimental.validate.fragmentLinks.enabled#' 繼承設定值。",
"configuration.textile.experimental.validate.fragmentLinks.enabled.description": "驗證目前 Textile 檔案中標頭的片段連結,例如 `\"link\":#header`。需要啟用 `#textile.experimental.validate.enabled#`。",
"configuration.textile.experimental.validate.ignoreLinks.description": "設定不應驗證的連結。例如,`/about` 不會驗證連結 `\"about\":/about`,而 glob `/assets/**/*.svg` 可讓您略過驗證 'assets' 目錄下之 '.svg' 檔案的任何連結。",
"configuration.textile.experimental.validate.referenceLinks.enabled.description": "驗證 Textile 檔案中的參考連結,例如 `\"link\":ref`。需要啟用 `#textile.experimental.validate.enabled#`。",
Expand Down
2 changes: 1 addition & 1 deletion i18n/deu/package.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"configuration.textile.editor.pasteLinks.enabled": "Enable/disable pasting files into a Textile editor inserts Textile links. Requires enabling `#editor.experimental.pasteActions.enabled#`.",
"configuration.textile.experimental.validate.enabled.description": "Aktiviert/deaktiviert alle Fehlerberichte in Textile-Dateien.",
"configuration.textile.experimental.validate.fileLinks.enabled.description": "Überprüfen Sie Links zu anderen Dateien in Textile-Dateien, z. B. „\"link\":/path/to/file.textile“. Hiermit wird überprüft, ob die Zieldateien vorhanden sind. Erfordert die Aktivierung von „#textile.experimental.validate.enabled#“.",
"configuration.textile.experimental.validate.fileLinks.textileFragmentLinks.description": "Überprüfen Sie den Fragmentteil von Links zu Headern in anderen Dateien in Textiledateien, z. B. \"[link](/path/to/file.md#header)\". Erbt standardmäßig den Einstellungswert von \"#textile.experimental.validate.fragmentLinks.enabled#\".",
"configuration.textile.experimental.validate.fileLinks.textileFragmentLinks.description": "Überprüfen Sie den Fragmentteil von Links zu Headern in anderen Dateien in Textiledateien, z. B. \"\"link\":/path/to/file.textile#header\". Erbt standardmäßig den Einstellungswert von \"#textile.experimental.validate.fragmentLinks.enabled#\".",
"configuration.textile.experimental.validate.fragmentLinks.enabled.description": "Überprüfen Sie Fragmentlinks zu Headern in der aktuellen Textiledatei, z. B. \"\"link\":#header\". Erfordert die Aktivierung von \"#textile.experimental.validate.enabled#\".",
"configuration.textile.experimental.validate.ignoreLinks.description": "Konfigurieren Sie Links, die nicht validiert werden sollen. Zum Beispiel würde „/about“ den Link „\"about\":/about“ nicht validieren, während der Glob „/assets/**/*.svg“ es Ihnen ermöglichen würde, die Validierung für jeden Link zu „.svg“-Dateien darunter zu überspringen das `assets`-Verzeichnis.",
"configuration.textile.experimental.validate.referenceLinks.enabled.description": "Überprüfen Sie verweisende Links in Textile-Dateien, z. B. „\"link\":ref“. Erfordert die Aktivierung von „#textile.experimental.validate.enabled#“.",
Expand Down
2 changes: 1 addition & 1 deletion i18n/esn/package.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"configuration.textile.editor.pasteLinks.enabled": "Enable/disable pasting files into a Textile editor inserts Textile links. Requires enabling `#editor.experimental.pasteActions.enabled#`.",
"configuration.textile.experimental.validate.enabled.description": "Habilite o deshabilite todos los informes de errores en los archivos Textile.",
"configuration.textile.experimental.validate.fileLinks.enabled.description": "Valide los vínculos a otros archivos de Textile, por ejemplo, '\"link\":/path/to/file.textile'. Esto comprueba que los archivos de destino existen. Requiere habilitar '#textile.experimental.validate.enabled#'.",
"configuration.textile.experimental.validate.fileLinks.textileFragmentLinks.description": "Valide la parte de fragmento de vínculos a encabezados de otros archivos en archivos Textile, por ejemplo, \"[link](/path/to/file.md#header)\". Hereda el valor de configuración de \"#textile.experimental.validate.fragmentLinks.enabled#\" de forma predeterminada.",
"configuration.textile.experimental.validate.fileLinks.textileFragmentLinks.description": "Valide la parte de fragmento de vínculos a encabezados de otros archivos en archivos Textile, por ejemplo, \"\"link\":/path/to/file.textile#header\". Hereda el valor de configuración de \"#textile.experimental.validate.fragmentLinks.enabled#\" de forma predeterminada.",
"configuration.textile.experimental.validate.fragmentLinks.enabled.description": "Valide los vínculos de fragmento a los encabezados del archivo Textile actual, por ejemplo, \"\"link\":#header\". Requiere habilitar \"#textile.experimental.validate.enabled#\".",
"configuration.textile.experimental.validate.ignoreLinks.description": "Configure vínculos que no deben validarse. Por ejemplo, `/about` no validaría el vínculo `\"about\":/about`, mientras que el valor global `/assets/**/*.svg` le permitirá omitir la validación de cualquier vínculo a archivos `.svg` en el directorio `assets`.",
"configuration.textile.experimental.validate.referenceLinks.enabled.description": "Validar vínculos de referencia en archivos Textile, por ejemplo, '\"link\":ref'. Requiere habilitar '#textile.experimental.validate.enabled#'.",
Expand Down
2 changes: 1 addition & 1 deletion i18n/fra/package.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"configuration.textile.editor.pasteLinks.enabled": "Enable/disable pasting files into a Textile editor inserts Textile links. Requires enabling `#editor.experimental.pasteActions.enabled#`.",
"configuration.textile.experimental.validate.enabled.description": "Activez/désactivez tous les rapports d’erreurs dans les fichiers Textile.",
"configuration.textile.experimental.validate.fileLinks.enabled.description": "Validez les liens vers d’autres fichiers dans les fichiers Textile, par exemple `\"link\":/path/to/file.textile`. Cette opération vérifie que les fichiers cibles existent. Nécessite l’activation de `#textile.experimental.validate.enabled#`.",
"configuration.textile.experimental.validate.fileLinks.textileFragmentLinks.description": "Validez la partie fragment des liens vers des en-têtes dans d’autres fichiers dans les fichiers Textile, par exemple '[link](/path/to/file.md#header)'. Hérite la valeur de paramètre de '#textile.experimental.validate.fragmentLinks.enabled#' par défaut.",
"configuration.textile.experimental.validate.fileLinks.textileFragmentLinks.description": "Validez la partie fragment des liens vers des en-têtes dans d’autres fichiers dans les fichiers Textile, par exemple '\"link\":/path/to/file.textile#header'. Hérite la valeur de paramètre de '#textile.experimental.validate.fragmentLinks.enabled#' par défaut.",
"configuration.textile.experimental.validate.fragmentLinks.enabled.description": "Validez les liens de fragment vers les en-têtes dans le fichier Textile actuel, par exemple `\"link\":#header`. Nécessite l’activation de `#textile.experimental.validate.enabled#`.",
"configuration.textile.experimental.validate.ignoreLinks.description": "Configurez les liens qui ne doivent pas être validés. Par exemple, « /about » ne valide pas le lien «\"about\":/about », tandis que le glob « /assets/**/*.svg » vous permet d’ignorer la validation de tout lien vers les fichiers « .svg » sous le répertoire « assets ».",
"configuration.textile.experimental.validate.referenceLinks.enabled.description": "Validez les liens de référence dans les fichiers Textile, par exemple `\"link\":ref`. Nécessite l’activation de `#textile.experimental.validate.enabled#`.",
Expand Down
2 changes: 1 addition & 1 deletion i18n/ita/package.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"configuration.textile.editor.pasteLinks.enabled": "Enable/disable pasting files into a Textile editor inserts Textile links. Requires enabling `#editor.experimental.pasteActions.enabled#`.",
"configuration.textile.experimental.validate.enabled.description": "Abilitare/disabilitare tutte le segnalazioni di errori nei file Textile.",
"configuration.textile.experimental.validate.fileLinks.enabled.description": "Consente di convalidare i collegamenti ad altri file in file Textile, ad esempio '\"link\":/path/to/file.textile'. Verifica l'esistenza dei file di destinazione. Richiede l'abilitazione di '#textile.experimental.validate.enabled#'.",
"configuration.textile.experimental.validate.fileLinks.textileFragmentLinks.description": "Convalidare la parte di frammento dei collegamenti alle intestazioni in altri file in file Textile, ad esempio '[link](/path/to/file.md#header)'. Eredita il valore dell'impostazione da '#textile.experimental.validate.fragmentLinks.enabled#' per impostazione predefinita.",
"configuration.textile.experimental.validate.fileLinks.textileFragmentLinks.description": "Convalidare la parte di frammento dei collegamenti alle intestazioni in altri file in file Textile, ad esempio '\"link\":/path/to/file.textile#header'. Eredita il valore dell'impostazione da '#textile.experimental.validate.fragmentLinks.enabled#' per impostazione predefinita.",
"configuration.textile.experimental.validate.fragmentLinks.enabled.description": "Convalidare i collegamenti di frammento alle intestazioni nel file Textile corrente, ad esempio '\"link\":#header'. È necessario abilitare '#textile.experimental.validate.enabled#'.",
"configuration.textile.experimental.validate.ignoreLinks.description": "Configurare i collegamenti che non devono essere convalidati. Ad esempio, '/about' non convalida il collegamento '\"about\":/about', mentre il GLOB '/assets/**/*.svg' consente di ignorare la convalida per qualsiasi collegamento ai file '.svg' nella directory 'assets'.",
"configuration.textile.experimental.validate.referenceLinks.enabled.description": "Consente di convalidare i collegamenti di riferimento nei file Textile, ad esempio '\"link\":ref'. Richiede l'abilitazione di '#textile.experimental.validate.enabled#'.",
Expand Down
2 changes: 1 addition & 1 deletion i18n/jpn/package.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"configuration.textile.editor.pasteLinks.enabled": "Enable/disable pasting files into a Textile editor inserts Textile links. Requires enabling `#editor.experimental.pasteActions.enabled#`.",
"configuration.textile.experimental.validate.enabled.description": "Textile ファイル内のすべてのエラー報告を有効または無効にします。",
"configuration.textile.experimental.validate.fileLinks.enabled.description": "Textile ファイル内の他のファイルへのリンク (例: `\"link\":/path/to/file.textile`) を検証します。これにより、ターゲット ファイルが存在するかどうかが確認されます。`#textile.experimental.validate.enabled#` を有効にする必要があります。",
"configuration.textile.experimental.validate.fileLinks.textileFragmentLinks.description": "Textile ファイルで、他のファイルのヘッダーへのリンクのフラグメント部分を検証します。例: '[link](/path/to/file.md#header)'。既定では、'#textile.experimental.validate.fragmentLinks.enabled#' から設定値を継承します。",
"configuration.textile.experimental.validate.fileLinks.textileFragmentLinks.description": "Textile ファイルで、他のファイルのヘッダーへのリンクのフラグメント部分を検証します。例: '\"link\":/path/to/file.textile#header'。既定では、'#textile.experimental.validate.fragmentLinks.enabled#' から設定値を継承します。",
"configuration.textile.experimental.validate.fragmentLinks.enabled.description": "現在のTextile ファイルで、ヘッダーへのフラグメント リンクを検証します (例: `\"link\":#header`)。`#textile.experimental.validate.enabled#` を有効にする必要があります。",
"configuration.textile.experimental.validate.ignoreLinks.description": "検証しないリンクを校正します。たとえば、`/about` を指定すると、リンク `\"about\":/about` が検証されません。glob `/assets/**/*.svg` を指定すると、`assets` ディレクトリ下の `.svg` ファイルへのリンクの検証をスキップできます。",
"configuration.textile.experimental.validate.referenceLinks.enabled.description": "Textile ファイルの参照リンクを検証します (例: `\"link\":ref`)。 `#textile.experimental.validate.enabled#` を有効にする必要があります。",
Expand Down
2 changes: 1 addition & 1 deletion i18n/kor/package.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"configuration.textile.editor.pasteLinks.enabled": "Enable/disable pasting files into a Textile editor inserts Textile links. Requires enabling `#editor.experimental.pasteActions.enabled#`.",
"configuration.textile.experimental.validate.enabled.description": "Textile 파일에서 모든 오류 보고를 사용/사용하지 않도록 설정합니다.",
"configuration.textile.experimental.validate.fileLinks.enabled.description": "Textile 파일의 다른 파일에 대한 링크의 유효성을 검사합니다(예: '\"link\":/path/to/file.textile'). 그러면 대상 파일이 있는지 확인합니다. '#textile.experimental.validate.enabled#'을 사용하도록 설정해야 합니다.",
"configuration.textile.experimental.validate.fileLinks.textileFragmentLinks.description": "Textile 파일의 다른 파일에 있는 헤더에 대한 링크의 조각 부분을 확인합니다. `[링크](/path/to/file.md#header)`. 기본적으로 `#textile.experimental.validate.fragmentLinks.enabled#`의 설정 값을 상속합니다.",
"configuration.textile.experimental.validate.fileLinks.textileFragmentLinks.description": "Textile 파일의 다른 파일에 있는 헤더에 대한 링크의 조각 부분을 확인합니다. `\"link\":/path/to/file.textile#header`. 기본적으로 `#textile.experimental.validate.fragmentLinks.enabled#`의 설정 값을 상속합니다.",
"configuration.textile.experimental.validate.fragmentLinks.enabled.description": "현재 Textile 파일의 헤더에 대한 조각 링크(예: '\"link\":#header')의 유효성을 검사합니다. `#textile.experimental.validate.enabled#`을 사용하도록 설정해야 합니다.",
"configuration.textile.experimental.validate.ignoreLinks.description": "유효성을 검사하지 않아야 하는 링크를 구성합니다. 예를 들어 `/about`은 `\"about\":/about` 링크의 유효성을 검사하지 않는다면, glob `/assets/**/*.svg`를 사용하면 `assets` 디렉터리 아래의 `.svg` 파일로 연결되는 모든 링크에 대한 유효성 검사를 건너뛸 수 있습니다.",
"configuration.textile.experimental.validate.referenceLinks.enabled.description": "Textile 파일에서 참조 링크(예: `\"link\":ref`)의 유효성을 검사합니다. '#textile.experimental.validate.enabled#'을 사용하도록 설정해야 합니다.",
Expand Down
14 changes: 14 additions & 0 deletions i18n/pol/out/languageFeatures/diagnostics.i18n.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"": [
"--------------------------------------------------------------------------------------------",
"Copyright (c) Microsoft Corporation. All rights reserved.",
"Licensed under the MIT License. See License.txt in the project root for license information.",
"--------------------------------------------------------------------------------------------",
"Do not edit this file. It is machine generated."
],
"ignoreLinksQuickFix.title": "Wyklucz element „{0}” z weryfikacji linku.",
"invalidHeaderLink": "Nie znaleziono nagłówka: „{0}”",
"invalidLinkToHeaderInOtherFile": "Nagłówek nie istnieje w pliku: {0}",
"invalidPathLink": "Plik nie istnieje w ścieżce: {0}",
"invalidReferenceLink": "Nie znaleziono definicji linku: „{0}”"
}
11 changes: 11 additions & 0 deletions i18n/pol/out/languageFeatures/documentLinks.i18n.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"": [
"--------------------------------------------------------------------------------------------",
"Copyright (c) Microsoft Corporation. All rights reserved.",
"Licensed under the MIT License. See License.txt in the project root for license information.",
"--------------------------------------------------------------------------------------------",
"Do not edit this file. It is machine generated."
],
"documentLink.referenceTooltip": "Przejdź do definicji linku",
"documentLink.tooltip": "Follow link"
}
Loading

0 comments on commit cc8d4bc

Please sign in to comment.