isodoc-i18n 1.2.5 → 1.3.0

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: 6e52cf20205df07b323a3139ece748352624ba6db5c859fc75dab26712c6cace
4
- data.tar.gz: dcc5819254fc72018db7e646d4d2451389f5426f5178875bbd9298d13ea7afdc
3
+ metadata.gz: 877e7b6ea883a3562e7c7d03cba8ebff7edaaf7c75ecf32230985dd628239437
4
+ data.tar.gz: 98211e58ba133c1bc89b34547dd7ce475192e929bf2e18f5b065140efff1e186
5
5
  SHA512:
6
- metadata.gz: 8e15949b75cc4b7890a55ab8d23f8174dcd7e5dd6c7221f2fc57822a35a4ecad91a3f82cbf0f32494197d018a8c35043e9691687ab5462fe3beb583c23622315
7
- data.tar.gz: a7819bf3cdd153022c0b02b1ba5456b20d83b87b5fa1ae8aefe048be7877af890b2e21ea1dc3355618e2304a23b0740cce38f3bef9c1b0b47a43a343952327b2
6
+ metadata.gz: f982a348a685cc311fb7f1d0b65c8a5c474011245a5fbcdda705fd3976bcba0808b868bfdc10cf729263e23a3527afa8b457bdc7f58a34d3b2fe4d0b26baec0e
7
+ data.tar.gz: ebf2118816ef33196454bb3b4e31f25609c3efb649c6c38aa4c88b966cb462ad71b7b4776fdb7e50136b1736bc5597a16391302aee316e7609dbf390161469e6
@@ -1,5 +1,5 @@
1
1
  module IsoDoc
2
2
  class I18n
3
- VERSION = "1.2.5".freeze
3
+ VERSION = "1.3.0".freeze
4
4
  end
5
5
  end
data/lib/isodoc/i18n.rb CHANGED
@@ -63,8 +63,8 @@ module IsoDoc
63
63
  end
64
64
 
65
65
  def enum_comma
66
- %w(Hans Hant).include?(@script) and return ""
67
- ", "
66
+ %w(Hans Hant).include?(@script) and return "<enum-comma>、</enum-comma>"
67
+ "<enum-comma>,</enum-comma> "
68
68
  end
69
69
 
70
70
  def cleanup_entities(text, is_xml: true)
@@ -1,4 +1,4 @@
1
1
  text: text
2
2
  at: at
3
- binary_and: "%1 and %2"
4
- multiple_and: "%1, and %2"
3
+ binary_and: "%1 <conn>and</conn> %2"
4
+ multiple_and: "%1<conn>, and</conn> %2"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: isodoc-i18n
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.5
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-11-30 00:00:00.000000000 Z
11
+ date: 2024-12-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: htmlentities