[Apt-listbugs-commits] [apt-listbugs] 03/06: change "state" to "category of bugs" in RSS output

Francesco Poli frx-guest at moszumanska.debian.org
Wed Apr 15 20:35:30 UTC 2015


This is an automated email from the git hooks/post-receive script.

frx-guest pushed a commit to branch master
in repository apt-listbugs.

commit 023078fb6c8d0b118a440612186dfade39fd7abf
Author: Francesco Poli (wintermute) <invernomuto at paranoici.org>
Date:   Mon Apr 6 19:18:33 2015 +0200

    change "state" to "category of bugs" in RSS output
    
    Naming the field "state" is not too clear and does not work well with
    localizations in languages where adjectives have distinct singular and
    plural forms (since the possible values for this field refer to a
    plural quantity of bugs).
---
 lib/aptlistbugs/logic.rb | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/lib/aptlistbugs/logic.rb b/lib/aptlistbugs/logic.rb
index 0009557..09b8bea 100644
--- a/lib/aptlistbugs/logic.rb
+++ b/lib/aptlistbugs/logic.rb
@@ -833,11 +833,11 @@ class Viewer
             buf = ""
 
             buf << "<ul>\n"
-            buf << "<li>" + _("bug number") + ": ##{bug.bug_number}</li>\n"
-            buf << "<li>" + _("package")    + ": #{bug.pkg_key}</li>\n"
-            buf << "<li>" + _("severity")   + ": #{bug.severity}</li>\n"
-            buf << "<li>" + _("state")      + ": #{@config.statmap(bug.stat)}</li>\n"
-            buf << "<li>" + _("tags")       + ": #{bug.tags.join(',')}</li>\n" if bug.tags != nil
+            buf << "<li>" + _("bug number")       + ": ##{bug.bug_number}</li>\n"
+            buf << "<li>" + _("package")          + ": #{bug.pkg_key}</li>\n"
+            buf << "<li>" + _("severity")         + ": #{bug.severity}</li>\n"
+            buf << "<li>" + _("category of bugs") + ": #{@config.statmap(bug.stat)}</li>\n"
+            buf << "<li>" + _("tags")             + ": #{bug.tags.join(',')}</li>\n" if bug.tags != nil
 
             if bug.mergeids.size > 0
               buf << "<li>" + _("   Merged with:")

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/apt-listbugs/apt-listbugs.git



More information about the Apt-listbugs-commits mailing list