Skip to content

Commit

Permalink
Moved hard-coded locales to locale json files and updated some Korean…
Browse files Browse the repository at this point in the history
… locales (#375)
  • Loading branch information
Sain-Tech authored Aug 22, 2023
1 parent a0c55aa commit 25dcc66
Show file tree
Hide file tree
Showing 33 changed files with 490 additions and 106 deletions.
16 changes: 14 additions & 2 deletions locales/ar.json
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,18 @@
"diw": "قص الكلمه تحت المؤشر",
"daw": "قص الكلمة تحت المؤشر والمساحه قبلها وبعدها",
"dDollar": "قص من المؤشر الي نهاية السطر",
"x": "قص حرف واحد"
"x": "قص حرف واحد",
"threeToFiveD": "delete lines starting from 3 to 5",
"gPatternD": "delete all lines containing pattern",
"gNotPatternD": "delete all lines not containing pattern"
},
"tip1": {
"title": "You can also use the following characters to specify the range:",
"commands": {
"dotCommaDollarD": "From the current line to the end of the file",
"dotCommaOneD": "From the current line to the beginning of the file",
"tenCommaDollarD": "From the 10th line to the beginning of the file"
}
}
},
"indentText": {
Expand All @@ -231,7 +242,8 @@
"=Percent": "أعد إضافة مساحه بادئة لبلوك محدوده ب () او {} مع وضع المؤشر في الأول",
"=iB": "{} أعد إضافة مساحه بادئة للكلام المحدود ب",
"gg=G": "أعد إضافة مساحه بادئة للملف بالكامل",
"closeSquarep": "إلصق وأضف مساحه بادئة للسطر الحالي"
"closeSquarep": "إلصق وأضف مساحه بادئة للسطر الحالي",
"lessThanPercent": "de-indent a block with () or {} (cursor on brace)"
}
},
"exiting": {
Expand Down
18 changes: 15 additions & 3 deletions locales/bn.json
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,18 @@
"diw": "কার্সারের নীচে শব্দটি মুছুন (cut)",
"daw": "কার্সারের নিচে (cut) শব্দ এবং এর পরে বা আগে স্পেস মুছুন",
"dDollar": "লাইনের শেষে মুছুন (cut)",
"x": "অক্ষর মুছুন (cut)"
"x": "অক্ষর মুছুন (cut)",
"threeToFiveD": "delete lines starting from 3 to 5",
"gPatternD": "delete all lines containing pattern",
"gNotPatternD": "delete all lines not containing pattern"
},
"tip1": {
"title": "You can also use the following characters to specify the range:",
"commands": {
"dotCommaDollarD": "From the current line to the end of the file",
"dotCommaOneD": "From the current line to the beginning of the file",
"tenCommaDollarD": "From the 10th line to the beginning of the file"
}
}
},
"indentText": {
Expand All @@ -231,7 +242,8 @@
"=Percent": "() বা {} (বন্ধনীতে কার্সার) দিয়ে একটি ব্লক পুনরায় ইন্ডেন্ট করুন",
"=iB": "{} দিয়ে ভিতরের ব্লক পুনরায় ইন্ডেন্ট করুন",
"gg=G": "সম্পূর্ণ বাফার পুনরায় ইন্ডেন্ট",
"closeSquarep": "পেস্ট করুন এবং বর্তমান লাইনে ইন্ডেন্ট সামঞ্জস্য(adjust) করুন"
"closeSquarep": "পেস্ট করুন এবং বর্তমান লাইনে ইন্ডেন্ট সামঞ্জস্য(adjust) করুন",
"lessThanPercent": "de-indent a block with () or {} (cursor on brace)"
}
},
"exiting": {
Expand Down Expand Up @@ -346,4 +358,4 @@
"footer": "কোডের উপর উৎস দেখুন",
"layout": "page",
"permalink": "/lang/bn/"
}
}
18 changes: 15 additions & 3 deletions locales/ca.json
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,18 @@
"diw": "esborrar (retallar) la paraula sota el cursor",
"daw": "esborrar (retallar) la paraula sota el cursor i l'espai darrere o davant d'ella",
"dDollar": "esborrar (retallar) fins al final de la línia",
"x": "esborrar (retallar) un caràcter"
"x": "esborrar (retallar) un caràcter",
"threeToFiveD": "delete lines starting from 3 to 5",
"gPatternD": "delete all lines containing pattern",
"gNotPatternD": "delete all lines not containing pattern"
},
"tip1": {
"title": "You can also use the following characters to specify the range:",
"commands": {
"dotCommaDollarD": "From the current line to the end of the file",
"dotCommaOneD": "From the current line to the beginning of the file",
"tenCommaDollarD": "From the 10th line to the beginning of the file"
}
}
},
"indentText": {
Expand All @@ -233,7 +244,8 @@
"=Percent": "tornar a sagnar un bloc amb () o {} (amb el cursor sobre el parèntesi o la clau)",
"=iB": "tornar a sagnar el bloc interior amb {}",
"gg=G": "tornar a sagnar tots els caràcters a la memòria intermèdia (buffer)",
"closeSquarep": "enganxar i ajustar la sagnia a la línia actual"
"closeSquarep": "enganxar i ajustar la sagnia a la línia actual",
"lessThanPercent": "de-indent a block with () or {} (cursor on brace)"
}
},
"exiting": {
Expand Down Expand Up @@ -348,4 +360,4 @@
"footer": "Comprova el codi font a",
"layout": "page",
"permalink": "/lang/ca/"
}
}
18 changes: 15 additions & 3 deletions locales/de_de.json
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,18 @@
"diw": "Wort löschen (ausschneiden)",
"daw": "Zeichen des Worts unterm Cursor und die Abstände davor oder danach löschen (ausschneiden)",
"dDollar": "Löschen (Ausschneiden) bis Zeilenende",
"x": "Zeichen löschen (ausschneiden)"
"x": "Zeichen löschen (ausschneiden)",
"threeToFiveD": "delete lines starting from 3 to 5",
"gPatternD": "delete all lines containing pattern",
"gNotPatternD": "delete all lines not containing pattern"
},
"tip1": {
"title": "You can also use the following characters to specify the range:",
"commands": {
"dotCommaDollarD": "From the current line to the end of the file",
"dotCommaOneD": "From the current line to the beginning of the file",
"tenCommaDollarD": "From the 10th line to the beginning of the file"
}
}
},
"indentText": {
Expand All @@ -231,7 +242,8 @@
"=Percent": "Block mit () oder {} neu ausrichten (Cursor auf Klammer)",
"=iB": "Inner Block mit {} neu ausrichten",
"gg=G": "Gesamter Buffer neu ausrichten",
"closeSquarep": "Einfügen und analog zur aktuellen Zeile einrücken"
"closeSquarep": "Einfügen und analog zur aktuellen Zeile einrücken",
"lessThanPercent": "de-indent a block with () or {} (cursor on brace)"
}
},
"exiting": {
Expand Down Expand Up @@ -346,4 +358,4 @@
"footer": "Quellcode unter ",
"layout": "page",
"permalink": "/lang/de_de/"
}
}
16 changes: 14 additions & 2 deletions locales/en_us.json
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,18 @@
"diw": "delete (cut) word under the cursor",
"daw": "delete (cut) word under the cursor and the space after or before it",
"dDollar": "delete (cut) to the end of the line",
"x": "delete (cut) character"
"x": "delete (cut) character",
"threeToFiveD": "delete lines starting from 3 to 5",
"gPatternD": "delete all lines containing pattern",
"gNotPatternD": "delete all lines not containing pattern"
},
"tip1": {
"title": "You can also use the following characters to specify the range:",
"commands": {
"dotCommaDollarD": "From the current line to the end of the file",
"dotCommaOneD": "From the current line to the beginning of the file",
"tenCommaDollarD": "From the 10th line to the beginning of the file"
}
}
},
"indentText": {
Expand All @@ -231,7 +242,8 @@
"=Percent": "re-indent a block with () or {} (cursor on brace)",
"=iB": "re-indent inner block with {}",
"gg=G": "re-indent entire buffer",
"closeSquarep": "paste and adjust indent to current line"
"closeSquarep": "paste and adjust indent to current line",
"lessThanPercent": "de-indent a block with () or {} (cursor on brace)"
}
},
"exiting": {
Expand Down
18 changes: 15 additions & 3 deletions locales/eo.json
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,18 @@
"diw": "forigi (tranĉi) la vorton sub la montrilo",
"daw": "forigi (tranĉi) la vorton sub la montrilo kaj la spacon antaŭ ĝi aŭ post ĝi",
"dDollar": "forigi (tranĉi) ĝis la fino de la linio",
"x": "forigi (tranĉi) signon"
"x": "forigi (tranĉi) signon",
"threeToFiveD": "delete lines starting from 3 to 5",
"gPatternD": "delete all lines containing pattern",
"gNotPatternD": "delete all lines not containing pattern"
},
"tip1": {
"title": "You can also use the following characters to specify the range:",
"commands": {
"dotCommaDollarD": "From the current line to the end of the file",
"dotCommaOneD": "From the current line to the beginning of the file",
"tenCommaDollarD": "From the 10th line to the beginning of the file"
}
}
},
"indentText": {
Expand All @@ -231,7 +242,8 @@
"=Percent": "rekrei krommarĝenojn sur bloko kun () aŭ {} (montrilo sur krampo)",
"=iB": "rekrei krommarĝenon sur ena bloko kun {}",
"gg=G": "rekrei krommarĝenon sur tuta bufro",
"closeSquarep": "alglui kaj ĝustigi krommarĝenojn por nuna linio"
"closeSquarep": "alglui kaj ĝustigi krommarĝenojn por nuna linio",
"lessThanPercent": "de-indent a block with () or {} (cursor on brace)"
}
},
"exiting": {
Expand Down Expand Up @@ -344,4 +356,4 @@
"title": "Lingvoj"
},
"footer": "Vidu la fontkodon ĉe"
}
}
18 changes: 15 additions & 3 deletions locales/es_es.json
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,18 @@
"diw": "cortar la palabra localizada en la posición del cursor",
"daw": "cortar la palabra localizada en la posición del cursor y el espacio detras de ella o delante",
"dDollar": "cortar hasta el final de la línea",
"x": "cortar carácter"
"x": "cortar carácter",
"threeToFiveD": "delete lines starting from 3 to 5",
"gPatternD": "delete all lines containing pattern",
"gNotPatternD": "delete all lines not containing pattern"
},
"tip1": {
"title": "You can also use the following characters to specify the range:",
"commands": {
"dotCommaDollarD": "From the current line to the end of the file",
"dotCommaOneD": "From the current line to the beginning of the file",
"tenCommaDollarD": "From the 10th line to the beginning of the file"
}
}
},
"indentText": {
Expand All @@ -232,7 +243,8 @@
"=Percent": "volver a sangrar un bloque con () o {} (cursor sobre llave)",
"=iB": "volver a sangrar el bloque interior con {}",
"gg=G": "volver a sangrar todo el búfer",
"closeSquarep": "pegar y ajustar la sangría a la línea actual"
"closeSquarep": "pegar y ajustar la sangría a la línea actual",
"lessThanPercent": "de-indent a block with () or {} (cursor on brace)"
}
},
"exiting": {
Expand Down Expand Up @@ -347,4 +359,4 @@
"footer": "El código fuente está disponible en",
"layout": "page",
"permalink": "/lang/es_es/"
}
}
18 changes: 15 additions & 3 deletions locales/fa_ir.json
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,18 @@
"diw": "",
"daw": "",
"dDollar": "کات کردن تا انتهای خط",
"x": "کات کردن یک کاراکتر"
"x": "کات کردن یک کاراکتر",
"threeToFiveD": "delete lines starting from 3 to 5",
"gPatternD": "delete all lines containing pattern",
"gNotPatternD": "delete all lines not containing pattern"
},
"tip1": {
"title": "You can also use the following characters to specify the range:",
"commands": {
"dotCommaDollarD": "From the current line to the end of the file",
"dotCommaOneD": "From the current line to the beginning of the file",
"tenCommaDollarD": "From the 10th line to the beginning of the file"
}
}
},
"indentText": {
Expand All @@ -232,7 +243,8 @@
"=Percent": "re-indent a block with () or {} (cursor on brace)",
"=iB": "re-indent inner block with {}",
"gg=G": "تنظیم مجدد تورفتنگی کل بافر",
"closeSquarep": "چسباندن و تنظیم تو رفتگی برای خط کنونی"
"closeSquarep": "چسباندن و تنظیم تو رفتگی برای خط کنونی",
"lessThanPercent": "de-indent a block with () or {} (cursor on brace)"
}
},
"exiting": {
Expand Down Expand Up @@ -347,4 +359,4 @@
"footer": "سورس کد در زیر",
"layout": "page",
"permalink": "/lang/fa_ir/"
}
}
18 changes: 15 additions & 3 deletions locales/fr_fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,18 @@
"diw": "supprimer (couper) un mot sous le curseur",
"daw": "supprimer (couper) un mot avec l'espace après ou avant",
"dDollar": "supprimer (couper) jusqu'à la fin de la ligne",
"x": "supprimer (couper) un caractère"
"x": "supprimer (couper) un caractère",
"threeToFiveD": "delete lines starting from 3 to 5",
"gPatternD": "delete all lines containing pattern",
"gNotPatternD": "delete all lines not containing pattern"
},
"tip1": {
"title": "You can also use the following characters to specify the range:",
"commands": {
"dotCommaDollarD": "From the current line to the end of the file",
"dotCommaOneD": "From the current line to the beginning of the file",
"tenCommaDollarD": "From the 10th line to the beginning of the file"
}
}
},
"indentText": {
Expand All @@ -232,7 +243,8 @@
"=Percent": "re-indent a block with () or {} (cursor on brace)",
"=iB": "re-indent inner block with {}",
"gg=G": "re-indent entire buffer",
"closeSquarep": "paste and adjust indent to current line"
"closeSquarep": "paste and adjust indent to current line",
"lessThanPercent": "de-indent a block with () or {} (cursor on brace)"
}
},
"exiting": {
Expand Down Expand Up @@ -347,4 +359,4 @@
"footer": "Voir la source sur",
"layout": "page",
"permalink": "/lang/fr_fr/"
}
}
18 changes: 15 additions & 3 deletions locales/he.json
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,18 @@
"diw": "delete (cut) word under the cursor",
"daw": "delete (cut) word under the cursor and the space after or before it",
"dDollar": "delete (cut) to the end of the line",
"x": "delete (cut) character"
"x": "delete (cut) character",
"threeToFiveD": "delete lines starting from 3 to 5",
"gPatternD": "delete all lines containing pattern",
"gNotPatternD": "delete all lines not containing pattern"
},
"tip1": {
"title": "You can also use the following characters to specify the range:",
"commands": {
"dotCommaDollarD": "From the current line to the end of the file",
"dotCommaOneD": "From the current line to the beginning of the file",
"tenCommaDollarD": "From the 10th line to the beginning of the file"
}
}
},
"indentText": {
Expand All @@ -231,7 +242,8 @@
"=Percent": "re-indent a block with () or {} (cursor on brace)",
"=iB": "re-indent inner block with {}",
"gg=G": "re-indent entire buffer",
"closeSquarep": "paste and adjust indent to current line"
"closeSquarep": "paste and adjust indent to current line",
"lessThanPercent": "de-indent a block with () or {} (cursor on brace)"
}
},
"exiting": {
Expand Down Expand Up @@ -344,4 +356,4 @@
"title": "Languages"
},
"footer": "Checkout the source on"
}
}
18 changes: 15 additions & 3 deletions locales/hr.json
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,18 @@
"diw": "izbriši cijelu riječ ispod kursora",
"daw": "izbriši riječ ispod kursora i razmak prije ili poslije riječi",
"dDollar": "izbriši sve do kraja reda",
"x": "izbriši znak ispod kursora"
"x": "izbriši znak ispod kursora",
"threeToFiveD": "delete lines starting from 3 to 5",
"gPatternD": "delete all lines containing pattern",
"gNotPatternD": "delete all lines not containing pattern"
},
"tip1": {
"title": "You can also use the following characters to specify the range:",
"commands": {
"dotCommaDollarD": "From the current line to the end of the file",
"dotCommaOneD": "From the current line to the beginning of the file",
"tenCommaDollarD": "From the 10th line to the beginning of the file"
}
}
},
"indentText": {
Expand All @@ -231,7 +242,8 @@
"=Percent": "ponovi uvlaku bloka zadanog sa () ili {} (kursor na zagradi)",
"=iB": "ponovi uvlaku unutrašnjosti bloka zadanog sa {}",
"gg=G": "ponovo uvuci čitavi međuspremnik",
"closeSquarep": "zalijepi i prilagodi uvlaku u trenutnom redu"
"closeSquarep": "zalijepi i prilagodi uvlaku u trenutnom redu",
"lessThanPercent": "de-indent a block with () or {} (cursor on brace)"
}
},
"exiting": {
Expand Down Expand Up @@ -344,4 +356,4 @@
"title": "Jezici"
},
"footer": "Provjeri izvorni kod na"
}
}
Loading

0 comments on commit 25dcc66

Please sign in to comment.