Description of problem: Translated string on candlepin for ja_JP have unwanted newline and tab inserted Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: $ ssh -XYC root.redhat.com reverse mapping checking getaddrinfo for unused [10.16.120.164] failed - POSSIBLE BREAK-IN ATTEMPT! root.redhat.com's password: Last login: Mon Jul 23 13:28:52 2012 from dhcp-230-63.rdu.redhat.com # pofilter --gnome -t newlines /root/candlepin/po/ja.po processing 1 files... msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2012-06-27 12:35-0400\n" "PO-Revision-Date: 2012-06-06 11:01-0400\n" "Last-Translator: noriko <noriko>\n" "Language-Team: Japanese\n" "Language: ja\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0\n" "X-Generator: Zanata 1.5.0\n" # translation auto-copied from project Candlepin, version master, document # keys, author khasida # (pofilter) newlines: Different line endings #: src/main/java/org/candlepin/resource/ActivationKeyResource.java:135 msgid "The quantity must be greater than 0" msgstr "" "数量はゼロ以上の数値にして下さい\n" "\t" # translation auto-copied from project Candlepin, version master, document # keys, author khasida # (pofilter) newlines: Different line endings #: src/main/java/org/candlepin/resource/ConsumerResource.java:1188 msgid "Cannot specify a quantity when auto-binding." msgstr "" "自動バインドの時は数量を指定できません。\n" "\t" [###########################################] 100% Actual results: Shown above Expected results: msgid "The quantity must be greater than 0" msgstr "" "数量はゼロ以上の数値にして下さい\n" "\t" msgstr "" "自動バインドの時は数量を指定できません。\n" "\t" msgstr has newline and tab characters inserted.
Fixed the strings in zanata, and in candleping master. [bkearney@bkearney po]$ pofilter --gnome -t newlines ja.po processing 1 files... [###########################################] 100% [bkearney@bkearney po]$ fixed in master at af8f45e19f625d4698736b0af2fd9f78a81fdd1d
Verifying Version... [root@jsefler-candlepin po]# git log | head -1 commit 42378c4866bd1c389d09b82b0251bcb6eaa6b5e5 [root@jsefler-candlepin po]# pofilter -t newlines ja.po processing 1 files... [###########################################] 100% [root@jsefler-candlepin po]# grep "The quantity must be greater than 0" ja.po -A1 msgid "The quantity must be greater than 0" msgstr "数量はゼロ以上の数値にして下さい" [root@jsefler-candlepin po]# Moving to VERIFIED
Batch change of verified bugs which must have missed making the errata.