tc211-termbase 0.2.6 → 0.2.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tc211/termbase/term.rb +14 -16
- data/lib/tc211/termbase/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cb0f8dbde060d35e3e49505ce41639cc9981c27383f34435211c9cffc6ea2399
|
4
|
+
data.tar.gz: 26315c56caa1b09da45fd68fcab4c2aa085af3c2bddb22b89b008fa43b4c0549
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 320b8ef6654bbcd3393eb0e9d4e9e683fc8d1e6ffd0115ed4306669d3616c4b81632953a69bbc7f84ae4a20678ba97c8f8212fd674b27e97d3ddc37d49dd617a
|
7
|
+
data.tar.gz: 9de7c8cae20847097e9044725c91ff389da2732127cdc04dedb250ca39a7437fc250c64e9f0eeb06ead1648364af191482b3262bd40b39002248636171fe9c7c
|
data/lib/tc211/termbase/term.rb
CHANGED
@@ -70,44 +70,42 @@ module Tc211::Termbase
|
|
70
70
|
# WARNING
|
71
71
|
# Always put the longer Regexp match in front!
|
72
72
|
EXAMPLE_PREFIXES = {
|
73
|
-
# TODO: fix this, we should not have "EXAMPLES"
|
74
|
-
eng: ["EXAMPLES", "EXAMPLE"],
|
75
73
|
ara: "مثال",
|
76
|
-
chi: "示例",
|
77
74
|
dan: "EKSEMPEL",
|
78
|
-
|
75
|
+
# deu: "",
|
76
|
+
# TODO: fix this, we should not have "EXAMPLES"
|
77
|
+
eng: ["EXAMPLES", "EXAMPLE"],
|
79
78
|
fin: "ESIM",
|
80
|
-
|
81
|
-
# ger: "",
|
79
|
+
fra: "Exemple",
|
82
80
|
jpn: "例",
|
83
81
|
kor: "보기",
|
82
|
+
msa: "Contoh",
|
83
|
+
nld: ["VOORBEELD", "VOORBEELDEN"],
|
84
84
|
pol: "PRZYKŁAD",
|
85
|
-
may: "Contoh",
|
86
85
|
rus: "Пример",
|
87
86
|
spa: "Ejemplo",
|
88
87
|
swe: "Exempel",
|
88
|
+
zho: "示例",
|
89
89
|
}.freeze
|
90
90
|
|
91
91
|
# WARNING
|
92
92
|
# Always put the longer Regexp match in front!
|
93
93
|
NOTE_PREFIXES = {
|
94
|
-
eng: ["Note \\d to entry", "NOTE"],
|
95
94
|
ara: "ملاحظة",
|
96
|
-
chi: "注",
|
97
95
|
dan: "Note",
|
98
|
-
|
99
|
-
|
100
|
-
# (numeral added by the method)
|
101
|
-
|
102
|
-
fre: "A noter",
|
103
|
-
# ger: "",
|
96
|
+
# deu: "",
|
97
|
+
eng: ["Note \\d to entry", "NOTE"],
|
98
|
+
fin: "HUOM\\.?", # Matches "HUOM", "HUOM.", "HUOM 1." and "HUOM. 1." (numeral added by the method)
|
99
|
+
fra: "A noter",
|
104
100
|
jpn: "備考",
|
105
101
|
kor: "비고",
|
102
|
+
msa: "catatan",
|
103
|
+
nld: "OPMERKING",
|
106
104
|
pol: "UWAGA",
|
107
|
-
may: "catatan",
|
108
105
|
rus: "нота",
|
109
106
|
spa: "Nota",
|
110
107
|
swe: ["Anm. \\d till termpost", "Anm. \\d till terpost", "Anm."],
|
108
|
+
zho: "注",
|
111
109
|
}.freeze
|
112
110
|
|
113
111
|
# To match Chinese and Japanese numerals
|