Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Done
-
None
-
None
-
None
-
None
-
Coremunity
-
Globalization Activities
-
Manual Test
-
Manual
Description
The files autogenerated by Puppet where the text string is converted should include a date that is converted to the locale's format as well.
I found these 2 specific instances where we print the date by using Time.now.
#. TRANSLATORS message accompanied by date of generation
|
#: ../lib/puppet/util/reference.rb:17
|
msgid "This page autogenerated on "
|
msgstr "このページは自動作成されました。"
|
|
"\n\n----------------\n\n*" + _("This page autogenerated on ") + "#{Time.now}*\n"
|
In this case the message WON'T have a closing "paren" in the output, which is broken as well.
#. TRANSLATORS message accompanied by date of generation
|
#: ../lib/puppet/util/reference.rb:116
|
msgid ""
|
"\n"
|
"\n"
|
"**This page is autogenerated; any changes will get overwritten** *(last generated on "
|
msgstr "\n"
|
"\n"
|
"**このページは自動作成されています; 変更を加えると、上書きされます** *(最近の作成 "
|
|
text << _("\n\n**This page is autogenerated; any changes will get overwritten** *(last generated on ") + "#{Time.now.to_s})*\n\n"
|