From 91e8e6bf1e24e651633b6ee2be6ce2b9c27efd91 Mon Sep 17 00:00:00 2001 From: Jim Derry Date: Tue, 22 Mar 2016 10:35:03 +0800 Subject: [PATCH] Correct format specifiers. --- localize/poconvert.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/localize/poconvert.rb b/localize/poconvert.rb index 882f742..4da1ae0 100755 --- a/localize/poconvert.rb +++ b/localize/poconvert.rb @@ -665,7 +665,7 @@ msgstr "" if value['0'][:comment] value['0'][:comment].each_line { |line| report << "#. #{line.strip}\n"} end - if %w($u $s $d).any? { | find | value['0'][:string].include?(find) } + if %w(%u %s %d).any? { | find | value['0'][:string].include?(find) } report << "#, c-format\n" end report << "msgctxt \"#{key.to_s}\"\n"