relaton-render 0.7.6 → 0.7.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: 6b47617ae80167f0cc531f028b1012d2bcbd6f3349cda1bb295d97bf5af2bece
4
- data.tar.gz: ce208c20d47927c342769bbbbfb88bb065f382a20814756cb7632b5e7d0136bf
3
+ metadata.gz: 3e2aac737e61e5d49dafbf239ddd60a4dc094e205740562cb086ed3c5800cb82
4
+ data.tar.gz: 6b1ac398059a1830a7f33001f4de50abb8a924b5ef8a94f72c9e2f10a82e245c
5
5
  SHA512:
6
- metadata.gz: 5760bec56ebe156eb74037acf9a57ff4c881cf70cf36e9c9a5d2acf026188409fac0f1a7205ebbcbe2d7d4b0f3b7727fbf149323cfc74450085408e88aae522f
7
- data.tar.gz: 1886c6e222cbc621291c5cd2e6f54d22067c04e732662cd09858fef57c1ad372036ce8ad0527c6479bfeb0d8a96f9166f7d19429a0e40704949a3d2e433ab52e
6
+ metadata.gz: 4958abd6d16177057dd7f4cead99599df2b3fa193f1eb97f6c8c4200f0f464ab1fc145006aeccff3ad5ede155cf73299c2c987022b0c115c5b06819ede696231
7
+ data.tar.gz: a6343ae07c442646c9337530bd0d00c217775f68474a2cd129f968c7b70a3642aa4d9b7cbbf08b51bd6758177fe84600ba03617664271b648106a6cfeb6515e3
@@ -20,6 +20,9 @@ draft: "مشروع؜ %؜"
20
20
  editor:
21
21
  sg: محرر
22
22
  pl: محرران
23
+ stage:
24
+ valid: صالح
25
+ withdrawn: انسحبت
23
26
  extent:
24
27
  page:
25
28
  sg: "% ص"
@@ -33,6 +33,9 @@ qq-open: <em>
33
33
  qq-close: </em>
34
34
  q-open:
35
35
  q-close:
36
+ stage:
37
+ valid: Gültig
38
+ withdrawn: Zurückgezogen
36
39
  size:
37
40
  page:
38
41
  sg: "% S."
@@ -24,6 +24,9 @@ qq-open: <em>
24
24
  qq-close: </em>
25
25
  q-open:
26
26
  q-close:
27
+ stage:
28
+ valid: Valid
29
+ withdrawn: Withdrawn
27
30
  extent:
28
31
  page:
29
32
  sg: "p. %"
@@ -26,6 +26,9 @@ qq-open: <em>
26
26
  qq-close: </em>
27
27
  q-open:
28
28
  q-close:
29
+ stage:
30
+ valid: Válido
31
+ withdrawn: Retirado
29
32
  extent:
30
33
  page:
31
34
  sg: "pág. %"
@@ -28,6 +28,9 @@ qq-open: <em>
28
28
  qq-close: </em>
29
29
  q-open:
30
30
  q-close:
31
+ stage:
32
+ valid: Valide
33
+ withdrawn: Retiré
31
34
  extent:
32
35
  page:
33
36
  sg: "p. %"
@@ -20,10 +20,13 @@ draft: "下書き %"
20
20
  editor:
21
21
  sg: 編
22
22
  pl: 編
23
- qq-open: <em>
24
- qq-close: </em>
23
+ qq-open:
24
+ qq-close:
25
25
  q-open:
26
26
  q-close:
27
+ stage:
28
+ valid: 有効です
29
+ withdrawn: 取り消されました
27
30
  extent:
28
31
  page:
29
32
  sg: "ページ%"
@@ -30,6 +30,9 @@ qq-open: <em>
30
30
  qq-close: </em>
31
31
  q-open:
32
32
  q-close:
33
+ stage:
34
+ valid: Действительный
35
+ withdrawn: Снято
33
36
  extent:
34
37
  page:
35
38
  sg: "стр. %"
@@ -25,6 +25,9 @@ qq-open: 《
25
25
  qq-close: 》
26
26
  q-open: 〈
27
27
  q-close: 〉
28
+ stage:
29
+ valid: 有效
30
+ withdrawn: 已撤回
28
31
  extent:
29
32
  page:
30
33
  sg: "第%页"
@@ -24,6 +24,9 @@ qq-open: <underline style="wavy">
24
24
  qq-close: </underline>
25
25
  q-open: 〈
26
26
  q-close: 〉
27
+ stage:
28
+ valid: 有效的
29
+ withdrawn: 取消
27
30
  extent:
28
31
  page:
29
32
  sg: "第%頁"
@@ -61,7 +61,7 @@ template:
61
61
  # TODO: omitted: author ids, subsidiary titles, subsidiary creators, host archive, item attributes, relationships
62
62
  presentation: unpublished
63
63
  thesis: "{{ creatornames }} ({{ role }}) . {{labels['qq-open']}}{{ title }}{{labels['qq-close']}} . {{ medium | capitalize }}. {{ place }}: {{ publisher }}. {{ date }}. {{ labels['at'] | capitalize}}:_{{ access_location }}. {{ authoritative_identifier | join: '. ' }}. {{ other_identifier | join: '. ' }}. {{ uri }}. [{{ labels['viewed'] }}:_{{date_accessed}}]."
64
- misc: "{{ creatornames }} ({{ role }}) . {{labels['qq-open']}}{{ title }}{{labels['qq-close']}} . {{ date }}."
64
+ misc: "{{ creatornames }} ({{ role }}) . {{labels['qq-open']}}{{ title }}{{labels['qq-close']}} . {{ date }}. {{ uri }}."
65
65
  # following are # unsupported types:
66
66
  map: misc
67
67
  audiovisual: misc
@@ -159,7 +159,8 @@ module Relaton
159
159
  end
160
160
 
161
161
  def status(doc)
162
- doc&.status&.stage&.value
162
+ v = doc&.status&.stage&.value
163
+ @i18n.get.dig("stage", v) || v
163
164
  end
164
165
  end
165
166
  end
@@ -1,5 +1,5 @@
1
1
  module Relaton
2
2
  module Render
3
- VERSION = "0.7.6".freeze
3
+ VERSION = "0.7.7".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relaton-render
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.6
4
+ version: 0.7.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-04-02 00:00:00.000000000 Z
11
+ date: 2024-07-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -242,7 +242,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
242
242
  - !ruby/object:Gem::Version
243
243
  version: '0'
244
244
  requirements: []
245
- rubygems_version: 3.3.26
245
+ rubygems_version: 3.3.27
246
246
  signing_key:
247
247
  specification_version: 4
248
248
  summary: Rendering of ISO 690 XML