tc211-termbase 0.2.5 → 0.2.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f68f93b8b87b009b39bc7332df0a30083e25d25d9107fe964a9fc048c587d7fa
4
- data.tar.gz: 5fbcd25491ac31ed2f729e85db945be245eb75cab528351b0d625312aee6a6bc
3
+ metadata.gz: cb0f8dbde060d35e3e49505ce41639cc9981c27383f34435211c9cffc6ea2399
4
+ data.tar.gz: 26315c56caa1b09da45fd68fcab4c2aa085af3c2bddb22b89b008fa43b4c0549
5
5
  SHA512:
6
- metadata.gz: afba8f8fc41d22fd6cbbd9bc9c40db3d7a3ef31011586a4fdb9e6d3d19f7531a066cb9deaf43abc603eee982d31fea60c172876ccc2fa496fe7c23b51c7433ab
7
- data.tar.gz: fd1210037b404f703f951fc881681430e9022677650edd535999f43977a5e0a56b557e6e9df524a77ee545c95cb5c1aaea9e71ad41e0494d1fdafe51e7f43eb1
6
+ metadata.gz: 320b8ef6654bbcd3393eb0e9d4e9e683fc8d1e6ffd0115ed4306669d3616c4b81632953a69bbc7f84ae4a20678ba97c8f8212fd674b27e97d3ddc37d49dd617a
7
+ data.tar.gz: 9de7c8cae20847097e9044725c91ff389da2732127cdc04dedb250ca39a7437fc250c64e9f0eeb06ead1648364af191482b3262bd40b39002248636171fe9c7c
@@ -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
- dut: ["VOORBEELD", "VOORBEELDEN"],
75
+ # deu: "",
76
+ # TODO: fix this, we should not have "EXAMPLES"
77
+ eng: ["EXAMPLES", "EXAMPLE"],
79
78
  fin: "ESIM",
80
- fre: "Exemple",
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
- dut: "OPMERKING",
99
- # Matches "HUOM", "HUOM.", "HUOM 1." and "HUOM. 1."
100
- # (numeral added by the method)
101
- fin: "HUOM\\.?",
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
@@ -29,7 +29,12 @@ module Tc211::Termbase
29
29
 
30
30
  @language_code = case code
31
31
  when "dut/nld"
32
- "dut"
32
+ "nld"
33
+ when "chi"
34
+ "zho"
35
+ when "ger"
36
+ "deu"
37
+ # below for backwards compatibility
33
38
  when "工作语言代码"
34
39
  "chn"
35
40
  when "pl"
@@ -1,5 +1,5 @@
1
1
  module Tc211
2
2
  module Termbase
3
- VERSION = "0.2.5"
3
+ VERSION = "0.2.7"
4
4
  end
5
5
  end
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.5
4
+ version: 0.2.7
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-03 00:00:00.000000000 Z
11
+ date: 2024-04-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: creek
@@ -148,7 +148,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
148
148
  - !ruby/object:Gem::Version
149
149
  version: '0'
150
150
  requirements: []
151
- rubygems_version: 3.3.26
151
+ rubygems_version: 3.3.27
152
152
  signing_key:
153
153
  specification_version: 4
154
154
  summary: Build scripts for the ISO/TC 211 Termbase