Kouhei Sutou
null+****@clear*****
Sun Feb 9 23:11:12 JST 2014
Kouhei Sutou 2014-02-09 23:11:12 +0900 (Sun, 09 Feb 2014) New Revision: 6582570cea477b070e1692ea4be134285aac7474 https://github.com/droonga/droonga.org/commit/6582570cea477b070e1692ea4be134285aac7474 Message: task: don't add obsolete entries into .po Modified files: Gemfile Gemfile.lock _tasks/i18n.rb Modified: Gemfile (+1 -1) =================================================================== --- Gemfile 2014-02-09 22:55:06 +0900 (8dc4b4d) +++ Gemfile 2014-02-09 23:11:12 +0900 (5ca5610) @@ -1,6 +1,6 @@ source "https://rubygems.org" -gem "gettext", ">= 3.0.9" +gem "gettext", ">= 3.1.0" gem "rake" gem "yard" gem "coderay" Modified: Gemfile.lock (+2 -2) =================================================================== --- Gemfile.lock 2014-02-09 22:55:06 +0900 (5371535) +++ Gemfile.lock 2014-02-09 23:11:12 +0900 (d25c9d6) @@ -2,7 +2,7 @@ GEM remote: https://rubygems.org/ specs: coderay (1.1.0) - gettext (3.0.6) + gettext (3.1.0) locale (>= 2.0.5) text locale (2.1.0) @@ -15,6 +15,6 @@ PLATFORMS DEPENDENCIES coderay - gettext (>= 3.0.6) + gettext (>= 3.1.0) rake yard Modified: _tasks/i18n.rb (+3 -0) =================================================================== --- _tasks/i18n.rb 2014-02-09 22:55:06 +0900 (3aed85b) +++ _tasks/i18n.rb 2014-02-09 23:11:12 +0900 (3f03725) @@ -147,6 +147,8 @@ class I18nTask GetText::Tools::MsgCat.run("--output", po_file_path.to_s, "--sort-by-file", "--no-all-comments", + "--no-report-warning", + "--no-obsolete-entries", edit_po_file_path.to_s) end end @@ -156,6 +158,7 @@ class I18nTask "--no-fuzzy", "--no-all-comments", "--sort-by-msgid", + "--no-obsolete-entries", *po_file_paths.collect(&:to_s)) end -------------- next part -------------- HTML����������������������������...Download