Skip to content

Commit 25dcc66

Browse files
authored
Moved hard-coded locales to locale json files and updated some Korean locales (#375)
1 parent a0c55aa commit 25dcc66

33 files changed

+490
-106
lines changed

locales/ar.json

+14-2
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,18 @@
216216
"diw": "قص الكلمه تحت المؤشر",
217217
"daw": "قص الكلمة تحت المؤشر والمساحه قبلها وبعدها",
218218
"dDollar": "قص من المؤشر الي نهاية السطر",
219-
"x": "قص حرف واحد"
219+
"x": "قص حرف واحد",
220+
"threeToFiveD": "delete lines starting from 3 to 5",
221+
"gPatternD": "delete all lines containing pattern",
222+
"gNotPatternD": "delete all lines not containing pattern"
223+
},
224+
"tip1": {
225+
"title": "You can also use the following characters to specify the range:",
226+
"commands": {
227+
"dotCommaDollarD": "From the current line to the end of the file",
228+
"dotCommaOneD": "From the current line to the beginning of the file",
229+
"tenCommaDollarD": "From the 10th line to the beginning of the file"
230+
}
220231
}
221232
},
222233
"indentText": {
@@ -231,7 +242,8 @@
231242
"=Percent": "أعد إضافة مساحه بادئة لبلوك محدوده ب () او {} مع وضع المؤشر في الأول",
232243
"=iB": "{} أعد إضافة مساحه بادئة للكلام المحدود ب",
233244
"gg=G": "أعد إضافة مساحه بادئة للملف بالكامل",
234-
"closeSquarep": "إلصق وأضف مساحه بادئة للسطر الحالي"
245+
"closeSquarep": "إلصق وأضف مساحه بادئة للسطر الحالي",
246+
"lessThanPercent": "de-indent a block with () or {} (cursor on brace)"
235247
}
236248
},
237249
"exiting": {

locales/bn.json

+15-3
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,18 @@
216216
"diw": "কার্সারের নীচে শব্দটি মুছুন (cut)",
217217
"daw": "কার্সারের নিচে (cut) শব্দ এবং এর পরে বা আগে স্পেস মুছুন",
218218
"dDollar": "লাইনের শেষে মুছুন (cut)",
219-
"x": "অক্ষর মুছুন (cut)"
219+
"x": "অক্ষর মুছুন (cut)",
220+
"threeToFiveD": "delete lines starting from 3 to 5",
221+
"gPatternD": "delete all lines containing pattern",
222+
"gNotPatternD": "delete all lines not containing pattern"
223+
},
224+
"tip1": {
225+
"title": "You can also use the following characters to specify the range:",
226+
"commands": {
227+
"dotCommaDollarD": "From the current line to the end of the file",
228+
"dotCommaOneD": "From the current line to the beginning of the file",
229+
"tenCommaDollarD": "From the 10th line to the beginning of the file"
230+
}
220231
}
221232
},
222233
"indentText": {
@@ -231,7 +242,8 @@
231242
"=Percent": "() বা {} (বন্ধনীতে কার্সার) দিয়ে একটি ব্লক পুনরায় ইন্ডেন্ট করুন",
232243
"=iB": "{} দিয়ে ভিতরের ব্লক পুনরায় ইন্ডেন্ট করুন",
233244
"gg=G": "সম্পূর্ণ বাফার পুনরায় ইন্ডেন্ট",
234-
"closeSquarep": "পেস্ট করুন এবং বর্তমান লাইনে ইন্ডেন্ট সামঞ্জস্য(adjust) করুন"
245+
"closeSquarep": "পেস্ট করুন এবং বর্তমান লাইনে ইন্ডেন্ট সামঞ্জস্য(adjust) করুন",
246+
"lessThanPercent": "de-indent a block with () or {} (cursor on brace)"
235247
}
236248
},
237249
"exiting": {
@@ -346,4 +358,4 @@
346358
"footer": "কোডের উপর উৎস দেখুন",
347359
"layout": "page",
348360
"permalink": "/lang/bn/"
349-
}
361+
}

locales/ca.json

+15-3
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,18 @@
218218
"diw": "esborrar (retallar) la paraula sota el cursor",
219219
"daw": "esborrar (retallar) la paraula sota el cursor i l'espai darrere o davant d'ella",
220220
"dDollar": "esborrar (retallar) fins al final de la línia",
221-
"x": "esborrar (retallar) un caràcter"
221+
"x": "esborrar (retallar) un caràcter",
222+
"threeToFiveD": "delete lines starting from 3 to 5",
223+
"gPatternD": "delete all lines containing pattern",
224+
"gNotPatternD": "delete all lines not containing pattern"
225+
},
226+
"tip1": {
227+
"title": "You can also use the following characters to specify the range:",
228+
"commands": {
229+
"dotCommaDollarD": "From the current line to the end of the file",
230+
"dotCommaOneD": "From the current line to the beginning of the file",
231+
"tenCommaDollarD": "From the 10th line to the beginning of the file"
232+
}
222233
}
223234
},
224235
"indentText": {
@@ -233,7 +244,8 @@
233244
"=Percent": "tornar a sagnar un bloc amb () o {} (amb el cursor sobre el parèntesi o la clau)",
234245
"=iB": "tornar a sagnar el bloc interior amb {}",
235246
"gg=G": "tornar a sagnar tots els caràcters a la memòria intermèdia (buffer)",
236-
"closeSquarep": "enganxar i ajustar la sagnia a la línia actual"
247+
"closeSquarep": "enganxar i ajustar la sagnia a la línia actual",
248+
"lessThanPercent": "de-indent a block with () or {} (cursor on brace)"
237249
}
238250
},
239251
"exiting": {
@@ -348,4 +360,4 @@
348360
"footer": "Comprova el codi font a",
349361
"layout": "page",
350362
"permalink": "/lang/ca/"
351-
}
363+
}

locales/de_de.json

+15-3
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,18 @@
216216
"diw": "Wort löschen (ausschneiden)",
217217
"daw": "Zeichen des Worts unterm Cursor und die Abstände davor oder danach löschen (ausschneiden)",
218218
"dDollar": "Löschen (Ausschneiden) bis Zeilenende",
219-
"x": "Zeichen löschen (ausschneiden)"
219+
"x": "Zeichen löschen (ausschneiden)",
220+
"threeToFiveD": "delete lines starting from 3 to 5",
221+
"gPatternD": "delete all lines containing pattern",
222+
"gNotPatternD": "delete all lines not containing pattern"
223+
},
224+
"tip1": {
225+
"title": "You can also use the following characters to specify the range:",
226+
"commands": {
227+
"dotCommaDollarD": "From the current line to the end of the file",
228+
"dotCommaOneD": "From the current line to the beginning of the file",
229+
"tenCommaDollarD": "From the 10th line to the beginning of the file"
230+
}
220231
}
221232
},
222233
"indentText": {
@@ -231,7 +242,8 @@
231242
"=Percent": "Block mit () oder {} neu ausrichten (Cursor auf Klammer)",
232243
"=iB": "Inner Block mit {} neu ausrichten",
233244
"gg=G": "Gesamter Buffer neu ausrichten",
234-
"closeSquarep": "Einfügen und analog zur aktuellen Zeile einrücken"
245+
"closeSquarep": "Einfügen und analog zur aktuellen Zeile einrücken",
246+
"lessThanPercent": "de-indent a block with () or {} (cursor on brace)"
235247
}
236248
},
237249
"exiting": {
@@ -346,4 +358,4 @@
346358
"footer": "Quellcode unter ",
347359
"layout": "page",
348360
"permalink": "/lang/de_de/"
349-
}
361+
}

locales/en_us.json

+14-2
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,18 @@
216216
"diw": "delete (cut) word under the cursor",
217217
"daw": "delete (cut) word under the cursor and the space after or before it",
218218
"dDollar": "delete (cut) to the end of the line",
219-
"x": "delete (cut) character"
219+
"x": "delete (cut) character",
220+
"threeToFiveD": "delete lines starting from 3 to 5",
221+
"gPatternD": "delete all lines containing pattern",
222+
"gNotPatternD": "delete all lines not containing pattern"
223+
},
224+
"tip1": {
225+
"title": "You can also use the following characters to specify the range:",
226+
"commands": {
227+
"dotCommaDollarD": "From the current line to the end of the file",
228+
"dotCommaOneD": "From the current line to the beginning of the file",
229+
"tenCommaDollarD": "From the 10th line to the beginning of the file"
230+
}
220231
}
221232
},
222233
"indentText": {
@@ -231,7 +242,8 @@
231242
"=Percent": "re-indent a block with () or {} (cursor on brace)",
232243
"=iB": "re-indent inner block with {}",
233244
"gg=G": "re-indent entire buffer",
234-
"closeSquarep": "paste and adjust indent to current line"
245+
"closeSquarep": "paste and adjust indent to current line",
246+
"lessThanPercent": "de-indent a block with () or {} (cursor on brace)"
235247
}
236248
},
237249
"exiting": {

locales/eo.json

+15-3
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,18 @@
216216
"diw": "forigi (tranĉi) la vorton sub la montrilo",
217217
"daw": "forigi (tranĉi) la vorton sub la montrilo kaj la spacon antaŭ ĝi aŭ post ĝi",
218218
"dDollar": "forigi (tranĉi) ĝis la fino de la linio",
219-
"x": "forigi (tranĉi) signon"
219+
"x": "forigi (tranĉi) signon",
220+
"threeToFiveD": "delete lines starting from 3 to 5",
221+
"gPatternD": "delete all lines containing pattern",
222+
"gNotPatternD": "delete all lines not containing pattern"
223+
},
224+
"tip1": {
225+
"title": "You can also use the following characters to specify the range:",
226+
"commands": {
227+
"dotCommaDollarD": "From the current line to the end of the file",
228+
"dotCommaOneD": "From the current line to the beginning of the file",
229+
"tenCommaDollarD": "From the 10th line to the beginning of the file"
230+
}
220231
}
221232
},
222233
"indentText": {
@@ -231,7 +242,8 @@
231242
"=Percent": "rekrei krommarĝenojn sur bloko kun () aŭ {} (montrilo sur krampo)",
232243
"=iB": "rekrei krommarĝenon sur ena bloko kun {}",
233244
"gg=G": "rekrei krommarĝenon sur tuta bufro",
234-
"closeSquarep": "alglui kaj ĝustigi krommarĝenojn por nuna linio"
245+
"closeSquarep": "alglui kaj ĝustigi krommarĝenojn por nuna linio",
246+
"lessThanPercent": "de-indent a block with () or {} (cursor on brace)"
235247
}
236248
},
237249
"exiting": {
@@ -344,4 +356,4 @@
344356
"title": "Lingvoj"
345357
},
346358
"footer": "Vidu la fontkodon ĉe"
347-
}
359+
}

locales/es_es.json

+15-3
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,18 @@
217217
"diw": "cortar la palabra localizada en la posición del cursor",
218218
"daw": "cortar la palabra localizada en la posición del cursor y el espacio detras de ella o delante",
219219
"dDollar": "cortar hasta el final de la línea",
220-
"x": "cortar carácter"
220+
"x": "cortar carácter",
221+
"threeToFiveD": "delete lines starting from 3 to 5",
222+
"gPatternD": "delete all lines containing pattern",
223+
"gNotPatternD": "delete all lines not containing pattern"
224+
},
225+
"tip1": {
226+
"title": "You can also use the following characters to specify the range:",
227+
"commands": {
228+
"dotCommaDollarD": "From the current line to the end of the file",
229+
"dotCommaOneD": "From the current line to the beginning of the file",
230+
"tenCommaDollarD": "From the 10th line to the beginning of the file"
231+
}
221232
}
222233
},
223234
"indentText": {
@@ -232,7 +243,8 @@
232243
"=Percent": "volver a sangrar un bloque con () o {} (cursor sobre llave)",
233244
"=iB": "volver a sangrar el bloque interior con {}",
234245
"gg=G": "volver a sangrar todo el búfer",
235-
"closeSquarep": "pegar y ajustar la sangría a la línea actual"
246+
"closeSquarep": "pegar y ajustar la sangría a la línea actual",
247+
"lessThanPercent": "de-indent a block with () or {} (cursor on brace)"
236248
}
237249
},
238250
"exiting": {
@@ -347,4 +359,4 @@
347359
"footer": "El código fuente está disponible en",
348360
"layout": "page",
349361
"permalink": "/lang/es_es/"
350-
}
362+
}

locales/fa_ir.json

+15-3
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,18 @@
217217
"diw": "",
218218
"daw": "",
219219
"dDollar": "کات کردن تا انتهای خط",
220-
"x": "کات کردن یک کاراکتر"
220+
"x": "کات کردن یک کاراکتر",
221+
"threeToFiveD": "delete lines starting from 3 to 5",
222+
"gPatternD": "delete all lines containing pattern",
223+
"gNotPatternD": "delete all lines not containing pattern"
224+
},
225+
"tip1": {
226+
"title": "You can also use the following characters to specify the range:",
227+
"commands": {
228+
"dotCommaDollarD": "From the current line to the end of the file",
229+
"dotCommaOneD": "From the current line to the beginning of the file",
230+
"tenCommaDollarD": "From the 10th line to the beginning of the file"
231+
}
221232
}
222233
},
223234
"indentText": {
@@ -232,7 +243,8 @@
232243
"=Percent": "re-indent a block with () or {} (cursor on brace)",
233244
"=iB": "re-indent inner block with {}",
234245
"gg=G": "تنظیم مجدد تورفتنگی کل بافر",
235-
"closeSquarep": "چسباندن و تنظیم تو رفتگی برای خط کنونی"
246+
"closeSquarep": "چسباندن و تنظیم تو رفتگی برای خط کنونی",
247+
"lessThanPercent": "de-indent a block with () or {} (cursor on brace)"
236248
}
237249
},
238250
"exiting": {
@@ -347,4 +359,4 @@
347359
"footer": "سورس کد در زیر",
348360
"layout": "page",
349361
"permalink": "/lang/fa_ir/"
350-
}
362+
}

locales/fr_fr.json

+15-3
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,18 @@
217217
"diw": "supprimer (couper) un mot sous le curseur",
218218
"daw": "supprimer (couper) un mot avec l'espace après ou avant",
219219
"dDollar": "supprimer (couper) jusqu'à la fin de la ligne",
220-
"x": "supprimer (couper) un caractère"
220+
"x": "supprimer (couper) un caractère",
221+
"threeToFiveD": "delete lines starting from 3 to 5",
222+
"gPatternD": "delete all lines containing pattern",
223+
"gNotPatternD": "delete all lines not containing pattern"
224+
},
225+
"tip1": {
226+
"title": "You can also use the following characters to specify the range:",
227+
"commands": {
228+
"dotCommaDollarD": "From the current line to the end of the file",
229+
"dotCommaOneD": "From the current line to the beginning of the file",
230+
"tenCommaDollarD": "From the 10th line to the beginning of the file"
231+
}
221232
}
222233
},
223234
"indentText": {
@@ -232,7 +243,8 @@
232243
"=Percent": "re-indent a block with () or {} (cursor on brace)",
233244
"=iB": "re-indent inner block with {}",
234245
"gg=G": "re-indent entire buffer",
235-
"closeSquarep": "paste and adjust indent to current line"
246+
"closeSquarep": "paste and adjust indent to current line",
247+
"lessThanPercent": "de-indent a block with () or {} (cursor on brace)"
236248
}
237249
},
238250
"exiting": {
@@ -347,4 +359,4 @@
347359
"footer": "Voir la source sur",
348360
"layout": "page",
349361
"permalink": "/lang/fr_fr/"
350-
}
362+
}

locales/he.json

+15-3
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,18 @@
216216
"diw": "delete (cut) word under the cursor",
217217
"daw": "delete (cut) word under the cursor and the space after or before it",
218218
"dDollar": "delete (cut) to the end of the line",
219-
"x": "delete (cut) character"
219+
"x": "delete (cut) character",
220+
"threeToFiveD": "delete lines starting from 3 to 5",
221+
"gPatternD": "delete all lines containing pattern",
222+
"gNotPatternD": "delete all lines not containing pattern"
223+
},
224+
"tip1": {
225+
"title": "You can also use the following characters to specify the range:",
226+
"commands": {
227+
"dotCommaDollarD": "From the current line to the end of the file",
228+
"dotCommaOneD": "From the current line to the beginning of the file",
229+
"tenCommaDollarD": "From the 10th line to the beginning of the file"
230+
}
220231
}
221232
},
222233
"indentText": {
@@ -231,7 +242,8 @@
231242
"=Percent": "re-indent a block with () or {} (cursor on brace)",
232243
"=iB": "re-indent inner block with {}",
233244
"gg=G": "re-indent entire buffer",
234-
"closeSquarep": "paste and adjust indent to current line"
245+
"closeSquarep": "paste and adjust indent to current line",
246+
"lessThanPercent": "de-indent a block with () or {} (cursor on brace)"
235247
}
236248
},
237249
"exiting": {
@@ -344,4 +356,4 @@
344356
"title": "Languages"
345357
},
346358
"footer": "Checkout the source on"
347-
}
359+
}

locales/hr.json

+15-3
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,18 @@
216216
"diw": "izbriši cijelu riječ ispod kursora",
217217
"daw": "izbriši riječ ispod kursora i razmak prije ili poslije riječi",
218218
"dDollar": "izbriši sve do kraja reda",
219-
"x": "izbriši znak ispod kursora"
219+
"x": "izbriši znak ispod kursora",
220+
"threeToFiveD": "delete lines starting from 3 to 5",
221+
"gPatternD": "delete all lines containing pattern",
222+
"gNotPatternD": "delete all lines not containing pattern"
223+
},
224+
"tip1": {
225+
"title": "You can also use the following characters to specify the range:",
226+
"commands": {
227+
"dotCommaDollarD": "From the current line to the end of the file",
228+
"dotCommaOneD": "From the current line to the beginning of the file",
229+
"tenCommaDollarD": "From the 10th line to the beginning of the file"
230+
}
220231
}
221232
},
222233
"indentText": {
@@ -231,7 +242,8 @@
231242
"=Percent": "ponovi uvlaku bloka zadanog sa () ili {} (kursor na zagradi)",
232243
"=iB": "ponovi uvlaku unutrašnjosti bloka zadanog sa {}",
233244
"gg=G": "ponovo uvuci čitavi međuspremnik",
234-
"closeSquarep": "zalijepi i prilagodi uvlaku u trenutnom redu"
245+
"closeSquarep": "zalijepi i prilagodi uvlaku u trenutnom redu",
246+
"lessThanPercent": "de-indent a block with () or {} (cursor on brace)"
235247
}
236248
},
237249
"exiting": {
@@ -344,4 +356,4 @@
344356
"title": "Jezici"
345357
},
346358
"footer": "Provjeri izvorni kod na"
347-
}
359+
}

0 commit comments

Comments
 (0)