From 72f6a1d2ca0f920bd4950bdf7281ec8e97475f44 Mon Sep 17 00:00:00 2001 From: Ronald Tse Date: Wed, 24 Apr 2024 16:22:36 +0800 Subject: [PATCH] fix: use the correct ISO 639-2 codes for terminology, #35 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Original commit 889d880216c192bd6b7f6fc5e2e66c3b9dde7b44 Author: Sebastian Skałacki Date: Thu May 14 15:02:24 2020 +0200 --- lib/tc211/termbase/term.rb | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/lib/tc211/termbase/term.rb b/lib/tc211/termbase/term.rb index 75c8fd0..8f43267 100644 --- a/lib/tc211/termbase/term.rb +++ b/lib/tc211/termbase/term.rb @@ -73,16 +73,16 @@ def initialize(options = {}) # TODO: fix this, we should not have "EXAMPLES" eng: ["EXAMPLES", "EXAMPLE"], ara: "مثال", - chi: "示例", + zho: "示例", dan: "EKSEMPEL", - dut: ["VOORBEELD", "VOORBEELDEN"], + nld: ["VOORBEELD", "VOORBEELDEN"], fin: "ESIM", - fre: "Exemple", - # ger: "", + fra: "Exemple", + # deu: "", jpn: "例", kor: "보기", pol: "PRZYKŁAD", - may: "Contoh", + msa: "Contoh", rus: "Пример", spa: "Ejemplo", swe: "Exempel", @@ -93,18 +93,18 @@ def initialize(options = {}) NOTE_PREFIXES = { eng: ["Note \\d to entry", "NOTE"], ara: "ملاحظة", - chi: "注", + zho: "注", dan: "Note", - dut: "OPMERKING", + nld: "OPMERKING", # Matches "HUOM", "HUOM.", "HUOM 1." and "HUOM. 1." # (numeral added by the method) fin: "HUOM\\.?", - fre: "A noter", - # ger: "", + fra: "A noter", + # deu: "", jpn: "備考", kor: "비고", pol: "UWAGA", - may: "catatan", + msa: "catatan", rus: "нота", spa: "Nota", swe: ["Anm. \\d till termpost", "Anm. \\d till terpost", "Anm."],