tc211-termbase 0.2.6 → 0.2.8
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
- data/tc211-termbase.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d038301fc160cb027c66fd6d658305045b584129793884222266fa4e47939d21
|
4
|
+
data.tar.gz: 4b1cd2e238cedf007ef687e19d4b99978518365e1716ee65deb547004bed712b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f79c3e3edbea1295393985e26157c1a801ab0bc970b0ad0697ef4840367dacba3e3c8ab819c7ea79b803ffd8ce99f25542fbd926f34f060743becb50379a01ad
|
7
|
+
data.tar.gz: 5414fe7d375cbeffa04ebb4edda247e03df2000c7b6c67c805874a7ddbbce7e5c81deed2992285c94c964d24847b3d3c866b8cd63dc9748025f097c3afd0040d
|
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
|
data/tc211-termbase.gemspec
CHANGED
@@ -24,7 +24,7 @@ Gem::Specification.new do |spec|
|
|
24
24
|
|
25
25
|
spec.add_runtime_dependency "creek"
|
26
26
|
spec.add_runtime_dependency "relaton"
|
27
|
-
spec.add_runtime_dependency "glossarist", "~> 2.
|
27
|
+
spec.add_runtime_dependency "glossarist", "~> 2.1"
|
28
28
|
|
29
29
|
spec.add_development_dependency "bundler"
|
30
30
|
spec.add_development_dependency "rake", "~> 13.0"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tc211-termbase
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-04-
|
11
|
+
date: 2024-04-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: creek
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '2.
|
47
|
+
version: '2.1'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '2.
|
54
|
+
version: '2.1'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: bundler
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|