Skip to content

Commit 17eec9d

Browse files
Added l10n bundle for various language and translate the local strings (#1086)
* added l10n bundle for various language and translate the local strings * upstream node * upstream node * update to node 18 * Changed NodeJS.Timeout as per node 18 * upstream to node 20 * updated coversall script * fixed test case * override json service translation * fixed test cases
1 parent cd20ba6 commit 17eec9d

23 files changed

+2825
-1589
lines changed

.github/workflows/CI.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,10 @@ jobs:
3434
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
3535

3636
# Set up Node
37-
- name: Use Node 16
38-
uses: actions/setup-node@7c12f8017d5436eb855f1ed4399f037a36fbd9e8 # v2.5.2
37+
- name: Use Node 20
38+
uses: actions/setup-node@v4
3939
with:
40-
node-version: 16
41-
registry-url: "https://registry.npmjs.org"
40+
node-version: 20
4241

4342
# Run install dependencies
4443
- name: Install dependencies

.github/workflows/release.yaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,11 @@ jobs:
2323
- uses: actions/checkout@v2
2424

2525
# Set up Node
26-
- name: Use Node 16
27-
uses: actions/setup-node@v1
26+
- name: Use Node 20
27+
uses: actions/setup-node@v4
2828
with:
29-
node-version: 16
30-
registry-url: 'https://registry.npmjs.org'
31-
29+
node-version: 20
30+
3231
# Run install dependencies
3332
- name: Install dependencies
3433
run: yarn

l10n/bundle.l10n.de.json

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
{
2+
"Default Value": "Standardwert",
3+
"json.schema.invalidref": "$ref '{0}' in '{1}' kann nicht aufgelöst werden.",
4+
"json.schema.problemloadingref": "Probleme beim Laden der Referenz '{0}': {1}",
5+
"json.schema.nocontent": "Schema konnte nicht von '{0}' geladen werden: Kein Inhalt.",
6+
"json.schema.invalidFormat": "Inhalt von '{0}' konnte nicht analysiert werden: Analysefehler in Zeile:{1}, Spalte:{2}",
7+
"colorHexFormatWarning": "Ungültiges Farbformat. Verwenden Sie #RGB, #RGBA, #RRGGBB oder #RRGGBBAA.",
8+
"dateTimeFormatWarning": "Zeichenfolge ist kein RFC3339-Datum-Zeit-Wert.",
9+
"dateFormatWarning": "Zeichenfolge ist kein RFC3339-Datum.",
10+
"timeFormatWarning": "Zeichenfolge ist keine RFC3339-Zeit.",
11+
"emailFormatWarning": "Zeichenfolge ist keine E-Mail-Adresse.",
12+
"ipv4FormatWarning": "Zeichenfolge entspricht nicht dem IPv4-Format.",
13+
"ipv6FormatWarning": "Zeichenfolge entspricht nicht dem IPv6-Format.",
14+
"enumWarning": "Wert wird nicht akzeptiert. Gültige Werte: {0}.",
15+
"typeArrayMismatchWarning": "Falscher Typ. Erwartet wird einer von {0}.",
16+
"notSchemaWarning": "Entspricht einem Schema, das nicht zulässig ist.",
17+
"oneOfWarning": "Entspricht mehreren Schemata, obwohl nur eines gültig sein darf.",
18+
"ifFilePatternAssociation": "filePatternAssociation '{0}' stimmt nicht mit der Dokument-URI '{1}' überein",
19+
"multipleOfWarning": "Wert ist nicht durch {0} teilbar.",
20+
"exclusiveMinimumWarning": "Wert liegt unter dem exklusiven Minimum von {0}.",
21+
"exclusiveMaximumWarning": "Wert liegt über dem exklusiven Maximum von {0}.",
22+
"minimumWarning": "Wert liegt unter dem Minimum von {0}.",
23+
"maximumWarning": "Wert liegt über dem Maximum von {0}.",
24+
"minLengthWarning": "Zeichenfolge ist kürzer als die minimale Länge von {0}.",
25+
"maxLengthWarning": "Zeichenfolge ist länger als die maximale Länge von {0}.",
26+
"patternWarning": "Zeichenfolge stimmt nicht mit dem Muster \"{0}\" überein.",
27+
"uriEmpty": "URI erwartet.",
28+
"uriSchemeMissing": "URI mit Schema wird erwartet.",
29+
"uriFormatWarning": "Zeichenfolge ist keine gültige URI: {0}",
30+
"additionalItemsWarning": "Array hat zu viele Elemente laut Schema. Erwartet: {0} oder weniger.",
31+
"requiredItemMissingWarning": "Array enthält das erforderliche Element nicht.",
32+
"minItemsWarning": "Array hat zu wenige Elemente. Erwartet: {0} oder mehr.",
33+
"maxItemsWarning": "Array hat zu viele Elemente. Erwartet: {0} oder weniger.",
34+
"uniqueItemsWarning": "Array enthält doppelte Elemente.",
35+
"DisallowedExtraPropWarning": "Eigenschaft {0} ist nicht erlaubt.",
36+
"MaxPropWarning": "Objekt hat mehr Eigenschaften als das Limit von {0}.",
37+
"MinPropWarning": "Objekt hat weniger Eigenschaften als die erforderliche Anzahl von {0}.",
38+
"RequiredDependentPropWarning": "Objekt fehlt die Eigenschaft {0}, die von Eigenschaft {1} benötigt wird.",
39+
"Inline schema": "Inline-Schema",
40+
"create.item.array": "Ein Element eines Arrays erstellen{0}{1}",
41+
"array.item": "- (Array-Element) ",
42+
"allowedValues": "Erlaubte Werte:",
43+
"example": "Beispiel:",
44+
"source": "Quelle: [{0}]({1})",
45+
"jumpToSchema": "Zur Schema-Position springen ({0})",
46+
"convertToSpace": "Tab in Leerzeichen umwandeln",
47+
"convertAllSpaceToTab": "Alle Tabs in Leerzeichen umwandeln",
48+
"deleteUnusedAnchor": "Nicht verwendeten Anker löschen: {0}",
49+
"convertToBoolean": "In Boolean umwandeln",
50+
"convertToBlockStyle": "In Blockstil {0} umwandeln",
51+
"fixKeyOrderToMap": "Schlüsselreihenfolge für diese Map korrigieren",
52+
"flowStyleMapForbidden": "Flow-Stil-Mapping ist verboten",
53+
"flowStyleSeqForbidden": "Flow-Stil-Sequenz ist verboten",
54+
"unUsedAnchor": "Nicht verwendeter Anker \"{0}\"",
55+
"unUsedAlias": "Nicht aufgelöstes Alias \"{0}\""
56+
}

l10n/bundle.l10n.fr.json

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
{
2+
"Default Value": "Valeur par défaut",
3+
"json.schema.invalidref": "$ref '{0}' dans '{1}' ne peut pas être résolu",
4+
"json.schema.problemloadingref": "Problèmes de chargement de la référence '{0}' : {1}",
5+
"json.schema.noContent": "Impossible de charger le schéma à partir de {0}: aucun contenu.",
6+
"json.schema.invalidFormat": "Impossible d’analyser le contenu de {0}: erreur d’analyse à la ligne:{1}, colonne:{2}",
7+
"colorHexFormatWarning": "Format de couleur non valide. Utilisez #RGB, #RGBA, #RRGGBB ou #RRGGBBAA.",
8+
"dateTimeFormatWarning": "La chaîne n'est pas une date-heure RFC3339.",
9+
"dateFormatWarning": "La chaîne n'est pas une date RFC3339.",
10+
"timeFormatWarning": "La chaîne n'est pas une heure RFC3339.",
11+
"emailFormatWarning": "La chaîne n'est pas une adresse e-mail.",
12+
"ipv4FormatWarning": "La chaîne ne correspond pas au format IPv4.",
13+
"ipv6FormatWarning": "La chaîne ne correspond pas au format IPv6.",
14+
"enumWarning": "Valeur non acceptée. Valeurs valides: {0}.",
15+
"typeArrayMismatchWarning": "Type incorrect. On attend un des {0}.",
16+
"notSchemaWarning": "Correspond à un schéma qui n'est pas autorisé.",
17+
"oneOfWarning": "Correspond à plusieurs schémas lorsqu'un seul doit être validé.",
18+
"ifFilePatternAssociation": "filePatternAssociation '{0}' ne correspond pas à l'URI du document '{1}'",
19+
"multipleOfWarning": "La valeur n'est pas divisible par {0}.",
20+
"exclusiveMinimumWarning": "La valeur est inférieure au minimum exclusif de {0}.",
21+
"exclusiveMaximumWarning": "La valeur est supérieure au maximum exclusif de {0}.",
22+
"minimumWarning": "La valeur est inférieure au minimum de {0}.",
23+
"maximumWarning": "La valeur est supérieure au maximum de {0}.",
24+
"minLengthWarning": "La chaîne est plus courte que la longueur minimale de {0}.",
25+
"maxLengthWarning": "La chaîne est plus longue que la longueur maximale de {0}.",
26+
"patternWarning": "La chaîne ne correspond pas au modèle de '{0}'.",
27+
"uriEmpty": "URI attendu.",
28+
"uriSchemeMissing": "Une URI avec un schéma est attendue.",
29+
"uriFormatWarning": "La chaîne n'est pas un URI: {0}",
30+
"additionalItemsWarning": "Le tableau contient trop d'éléments selon le schéma. Valeur attendue : {0} ou moins.",
31+
"requiredItemMissingWarning": "Le tableau ne contient pas l'élément requis.",
32+
"minItemsWarning": "Le tableau contient trop peu d'éléments. On attend {0} ou plus.",
33+
"maxItemsWarning": "Le tableau contient trop d'éléments. On attend {0} ou moins.",
34+
"uniqueItemsWarning": "Le tableau contient des éléments en double.",
35+
"DisallowedExtraPropWarning": "La propriété {0} n'est pas autorisée.",
36+
"MaxPropWarning": "L'objet a plus de propriétés que la limite de {0}.",
37+
"MinPropWarning": "L'objet a moins de propriétés que le nombre requis de {0}",
38+
"RequiredDependentPropWarning": "L'objet ne possède pas la propriété {0} requise par la propriété {1}.",
39+
"Inline schema": "Schéma en ligne",
40+
"create.item.array": "Créer un élément d'un tableau {0} {1}",
41+
"array.item": "- (élément de tableau)",
42+
"allowedValues": "Valeurs autorisées:",
43+
"example": "Exemple:",
44+
"source": "Source: [{0}]{1}",
45+
"jumpToSchema": "Accéder à l'emplacement du schéma ({0})",
46+
"convertToSpace": "Convertir les tabulations en espaces",
47+
"convertAllSpaceToTab": "Convertir toutes les tabulations en espaces",
48+
"deleteUnusedAnchor": "Supprimer l'ancre inutilisée: {0}",
49+
"convertToBoolean": "Convertir en booléen",
50+
"convertToBlockStyle": "Convertir en style de bloc {0}",
51+
"fixKeyOrderToMap": "Corriger l'ordre des touches pour cette carte",
52+
"flowStyleMapForbidden": "Le mappage de style de flux est interdit",
53+
"flowStyleSeqForbidden": "La séquence de style Flow est interdite",
54+
"unUsedAnchor": "Ancre inutilisée '{0}'",
55+
"unUsedAlias": "Alias ​​non résolu '{0}'"
56+
}

l10n/bundle.l10n.ja.json

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
{
2+
"Default Value": "デフォルト値",
3+
"json.schema.invalidref": "'{1}' の $ref '{0}' を解決できません。",
4+
"json.schema.problemloadingref": "参照 '{0}' の読み込み中に問題が発生しました: {1}",
5+
"json.schema.nocontent": "'{0}' からスキーマを読み込めませんでした: コンテンツがありません。",
6+
"json.schema.invalidFormat": "'{0}' の内容を解析できませんでした: 行 {1}、列 {2} で解析エラーが発生しました",
7+
"colorHexFormatWarning": "無効なカラー形式です。#RGB、#RGBA、#RRGGBB、または #RRGGBBAA を使用してください。",
8+
"dateTimeFormatWarning": "文字列は RFC3339 の日付と時刻形式ではありません。",
9+
"dateFormatWarning": "文字列は RFC3339 の日付形式ではありません。",
10+
"timeFormatWarning": "文字列は RFC3339 の時刻形式ではありません。",
11+
"emailFormatWarning": "文字列はメールアドレスではありません。",
12+
"ipv4FormatWarning": "文字列が IPv4 形式と一致しません。",
13+
"ipv6FormatWarning": "文字列が IPv6 形式と一致しません。",
14+
"enumWarning": "値が許可されていません。有効な値: {0}。",
15+
"typeArrayMismatchWarning": "タイプが正しくありません。期待される型: {0} のいずれか。",
16+
"notSchemaWarning": "許可されていないスキーマに一致しています。",
17+
"oneOfWarning": "複数のスキーマに一致しています。1つだけが有効である必要があります。",
18+
"ifFilePatternAssociation": "filePatternAssociation '{0}' がドキュメント URI '{1}' と一致しません",
19+
"multipleOfWarning": "値は {0} で割り切れません。",
20+
"exclusiveMinimumWarning": "値が {0} の排他的最小値より小さいです。",
21+
"exclusiveMaximumWarning": "値が {0} の排他的最大値を超えています。",
22+
"minimumWarning": "値が最小値 {0} を下回っています。",
23+
"maximumWarning": "値が最大値 {0} を超えています。",
24+
"minLengthWarning": "文字列の長さが最小長 {0} 未満です。",
25+
"maxLengthWarning": "文字列の長さが最大長 {0} を超えています。",
26+
"patternWarning": "文字列がパターン \"{0}\" に一致しません。",
27+
"uriEmpty": "URI が必要です。",
28+
"uriSchemeMissing": "スキームを含む URI が必要です。",
29+
"uriFormatWarning": "文字列が有効な URI ではありません: {0}",
30+
"additionalItemsWarning": "配列に含まれる項目数がスキーマの上限 {0} を超えています。",
31+
"requiredItemMissingWarning": "配列に必要な項目が含まれていません。",
32+
"minItemsWarning": "配列の項目数が少なすぎます。{0} 項目以上必要です。",
33+
"maxItemsWarning": "配列の項目数が多すぎます。{0} 項目以下にしてください。",
34+
"uniqueItemsWarning": "配列に重複する項目があります。",
35+
"DisallowedExtraPropWarning": "プロパティ {0} は許可されていません。",
36+
"MaxPropWarning": "オブジェクトのプロパティ数が制限値 {0} を超えています。",
37+
"MinPropWarning": "オブジェクトのプロパティ数が必要数 {0} に満たないです。",
38+
"RequiredDependentPropWarning": "プロパティ {1} によって必要とされるプロパティ {0} が存在しません。",
39+
"Inline schema": "インラインスキーマ",
40+
"create.item.array": "配列の項目を作成する{0}{1}",
41+
"array.item": "- (配列項目)",
42+
"allowedValues": "許可された値:",
43+
"example": "例:",
44+
"source": "出典: [{0}]({1})",
45+
"jumpToSchema": "スキーマの位置へジャンプ ({0})",
46+
"convertToSpace": "タブをスペースに変換",
47+
"convertAllSpaceToTab": "すべてのスペースをタブに変換",
48+
"deleteUnusedAnchor": "未使用のアンカーを削除: {0}",
49+
"convertToBoolean": "ブール値に変換",
50+
"convertToBlockStyle": "ブロックスタイル {0} に変換",
51+
"fixKeyOrderToMap": "このマップのキーの順序を修正する",
52+
"flowStyleMapForbidden": "フロースタイルのマッピングは禁止されています",
53+
"flowStyleSeqForbidden": "フロースタイルのシーケンスは禁止されています",
54+
"unUsedAnchor": "未使用のアンカー \"{0}\"",
55+
"unUsedAlias": "未解決のエイリアス \"{0}\""
56+
}

l10n/bundle.l10n.json

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
{
2+
"Default Value": "Default value",
3+
"json.schema.invalidref": "$ref '{0}' in '{1}' can not be resolved.",
4+
"json.schema.problemloadingref": "Problems loading reference '{0}': {1}",
5+
"json.schema.noContent": "Unable to load schema from '{0}': No content.",
6+
"json.schema.invalidFormat": "Unable to parse content from '{0}': Parse error at line: {1} column: {2}",
7+
"colorHexFormatWarning": "Invalid color format. Use #RGB, #RGBA, #RRGGBB or #RRGGBBAA.",
8+
"dateTimeFormatWarning": "String is not a RFC3339 date-time.",
9+
"dateFormatWarning": "String is not a RFC3339 date.",
10+
"timeFormatWarning": "String is not a RFC3339 time.",
11+
"emailFormatWarning": "String is not an e-mail address.",
12+
"ipv4FormatWarning": "String does not match IPv4 format.",
13+
"ipv6FormatWarning": "String does not match IPv6 format.",
14+
"enumWarning": "Value is not accepted. Valid values: {0}.",
15+
"typeArrayMismatchWarning": "Incorrect type. Expected one of {0}.",
16+
"notSchemaWarning": "Matches a schema that is not allowed.",
17+
"oneOfWarning": "Matches multiple schemas when only one must validate.",
18+
"ifFilePatternAssociation": "filePatternAssociation '{0}' does not match with doc uri '{1}'",
19+
"multipleOfWarning": "Value is not divisible by {0}.",
20+
"exclusiveMinimumWarning": "Value is below the exclusive minimum of {0}.",
21+
"exclusiveMaximumWarning": "Value is above the exclusive maximum of {0}.",
22+
"minimumWarning": "Value is below the minimum of {0}.",
23+
"maximumWarning": "Value is above the maximum of {0}.",
24+
"minLengthWarning": "String is shorter than the minimum length of {0}.",
25+
"maxLengthWarning": "String is longer than the maximum length of {0}.",
26+
"patternWarning": "String does not match the pattern of \"{0}\".",
27+
"uriEmpty": "URI expected.",
28+
"uriSchemeMissing": "URI with a scheme is expected.",
29+
"uriFormatWarning": "String is not a URI: {0}",
30+
"additionalItemsWarning": "Array has too many items according to schema. Expected {0} or fewer.",
31+
"requiredItemMissingWarning": "Array does not contain required item.",
32+
"minItemsWarning": "Array has too few items. Expected {0} or more.",
33+
"maxItemsWarning": "Array has too many items. Expected {0} or fewer.",
34+
"uniqueItemsWarning": "Array has duplicate items.",
35+
"DisallowedExtraPropWarning": "Property {0} is not allowed.",
36+
"MaxPropWarning": "Object has more properties than limit of {0}.",
37+
"MinPropWarning": "Object has fewer properties than the required number of {0}",
38+
"RequiredDependentPropWarning": "Object is missing property {0} required by property {1}.",
39+
"Inline schema": "Inline schema",
40+
"create.item.array": "Create an item of an array{0}{1}",
41+
"array.item": "- (array item) ",
42+
"allowedValues": "Allowed Values:",
43+
"example": "Example:",
44+
"source": "Source: [{0}]({1})",
45+
"jumpToSchema": "Jump to schema location ({0})",
46+
"convertToSpace": "Convert Tab to Spaces",
47+
"convertAllSpaceToTab": "Convert all Tabs to Spaces",
48+
"deleteUnusedAnchor": "Delete unused anchor: {0}",
49+
"convertToBoolean": "Convert to boolean",
50+
"convertToBlockStyle": "Convert to block style {0}",
51+
"fixKeyOrderToMap": "Fix key order for this map",
52+
"flowStyleMapForbidden": "Flow style mapping is forbidden",
53+
"flowStyleSeqForbidden": "Flow style sequence is forbidden",
54+
"unUsedAnchor": "Unused anchor \"{0}\"",
55+
"unUsedAlias": "Unresolved alias \"{0}\""
56+
}

0 commit comments

Comments
 (0)