Skip to content

Commit

Permalink
debug i18n
Browse files Browse the repository at this point in the history
  • Loading branch information
opoudjis committed Sep 30, 2024
1 parent b5ec954 commit 606b993
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/isodoc-yaml/i18n-ja.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
in:
at:
and:
author_and: ,
author_and: ","
updated: 更新しました
viewed: 参照
version: バージョン
Expand Down
2 changes: 1 addition & 1 deletion spec/i18n_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@

it "renders incollection, two authors, with Japanese internationalisation" do
output = <<~OUTPUT
<formattedref>RAMSEY, J. K.W. C. MCGREW. Object play in great apes: Studies in nature and captivity. PELLEGRINI, Anthony D.Peter Kenneth SMITH (編): The nature of play: Great apes and humans [electronic resource, 8vo]. 第3版. New York, NY: Guilford Press. 2005. ページ89–112. <link target='https://eprints.soton.ac.uk/338791/'>https://eprints.soton.ac.uk/338791/</link>. [見た: 2019年9月3日].</formattedref>
<formattedref>RAMSEY, J. K., W. C. MCGREW. Object play in great apes: Studies in nature and captivity. PELLEGRINI, Anthony D., Peter Kenneth SMITH (編): The nature of play: Great apes and humans [electronic resource, 8vo]. 第3版. New York, NY: Guilford Press. 2005. pp. 89–112. <link target='https://eprints.soton.ac.uk/338791/'>https://eprints.soton.ac.uk/338791/</link>. [参照: 2019年9月3日].</formattedref>
OUTPUT
p = Relaton::Render::General.new(language: "ja")
expect(HTMLEntities.new.decode(p.render(input)))
Expand Down

0 comments on commit 606b993

Please sign in to comment.