]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
reword feed descs
authorJoey Hess <joey@kitenet.net>
Thu, 6 Jan 2011 18:42:23 +0000 (14:42 -0400)
committerJoey Hess <joey@kitenet.net>
Thu, 6 Jan 2011 18:42:23 +0000 (14:42 -0400)
IkiWiki/Plugin/inline.pm

index e5a5c112e33eef3b5bd5cd686c9313ce96083eec..d89e14197f4edfd1e1db5a137e1b6c8584e97eb0 100644 (file)
@@ -294,11 +294,11 @@ sub preprocess_inline (@) {
        if ($feeds) {
                if ($rss) {
                        $rssurl=abs2rel($feedbase."rss".$feednum, dirname(htmlpage($params{destpage})));
        if ($feeds) {
                if ($rss) {
                        $rssurl=abs2rel($feedbase."rss".$feednum, dirname(htmlpage($params{destpage})));
-                       $rssdesc = "$desc (RSS)";
+                       $rssdesc = gettext("%s (RSS feed)", $desc);
                }
                if ($atom) {
                        $atomurl=abs2rel($feedbase."atom".$feednum, dirname(htmlpage($params{destpage})));
                }
                if ($atom) {
                        $atomurl=abs2rel($feedbase."atom".$feednum, dirname(htmlpage($params{destpage})));
-                       $atomdesc = "$desc (Atom)";
+                       $atomdesc = gettext("%s (Atom feed)", $desc);
                }
        }
 
                }
        }