[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Slightly modification of footer in weekly news



Hi,

since DWN is edited by multiple people beside Joey, I suggest to
change the current string in the footer of weekly news.

Current strings:
DWN 15: Debian Weekly News is edited by Andre Lehovich and Martin 'Joey'
        Schulze.
DWN 14: Debian Weekly News is edited by Nobuhiro Imai, Tomas
        Pospisek, David Moreno Garza and Martin 'Joey' Schulze.

It should be "This issue of Debian Weekly News was edited by ...".
This also requires
-This issue of Debian Weekly News was translated by
+It was translated by 
to improve expression.

Joey agrees:
> Make sure this affects only the footer that will be appended to the
> issues and not to the index files (main index, yearly index, maybe
> more), then it's ok.

I will commit this when nobody complains ...

I checked very carefully that the footer is either used in weekly issues
or contains NOBACKISSUES="yes" (and I was able to fix a few strings this
way) and it works well in my local build.

Don't forget to update *.po[t] files since the next patch adds new
strings.

Index: template/debian/weeklynews/footer.wml
===================================================================
RCS file: /cvs/webwml/webwml/english/template/debian/weeklynews/footer.wml,v
retrieving revision 1.92
diff -u -r1.92 footer.wml
--- template/debian/weeklynews/footer.wml	7 Nov 2003 16:07:46 -0000	1.92
+++ template/debian/weeklynews/footer.wml	17 Apr 2004 14:08:01 -0000
@@ -18,24 +18,34 @@
   <gettext><void id="plural" />Debian Weekly News is edited by <a href="mailto:dwn@debian.org";>%s</a>.</gettext>
 </define-tag>
 
+<define-tag issue_editor_form_singular whitespace=delete>
+# One editor name only
+  <gettext><void id="singular" />This issue of Debian Weekly News was edited by <a href="mailto:dwn@debian.org";>%s</a>.</gettext>
+</define-tag>
+
+<define-tag issue_editor_form_plural whitespace=delete>
+# Two or more editors
+  <gettext><void id="plural" />This issue of Debian Weekly News was edited by <a href="mailto:dwn@debian.org";>%s</a>.</gettext>
+</define-tag>
+
 <define-tag translator_singular whitespace=delete>
 # One translator only
-  <gettext><void id="singular" />This issue of Debian Weekly News was translated by %s.</gettext>
+  <gettext><void id="singular" />It was translated by %s.</gettext>
 </define-tag>
 
 <define-tag translator_plural whitespace=delete>
 # Two ore more translators
-  <gettext><void id="plural" />This issue of Debian Weekly News was translated by %s.</gettext>
+  <gettext><void id="plural" />It was translated by %s.</gettext>
 </define-tag>
 
 <define-tag translator_singular_female whitespace=delete>
 # One female translator only
-  <gettext><void id="singularfemale" />This issue of Debian Weekly News was translated by %s.</gettext>
+  <gettext><void id="singularfemale" />It was translated by %s.</gettext>
 </define-tag>
 
 <define-tag translator_plural_female whitespace=delete>
 # Two ore more female translators
-  <gettext><void id="pluralfemale" />This issue of Debian Weekly News was translated by %s.</gettext>
+  <gettext><void id="pluralfemale" />It was translated by %s.</gettext>
 </define-tag>
 
 <define-tag translator whitespace=delete>
@@ -161,8 +171,13 @@
      $editor =~ s/,/, /g;
    }
 
-   printf q{<editor_form_singular />}, $editor unless $plural;
-   printf q{<editor_form_plural />}, $editor if $plural;
+   if ("$(NOBACKISSUES)" eq "") {
+     printf q{<issue_editor_form_singular />}, $editor unless $plural;
+     printf q{<issue_editor_form_plural />}, $editor if $plural;
+   } else {
+     printf q{<editor_form_singular />}, $editor unless $plural;
+     printf q{<editor_form_plural />}, $editor if $plural;
+   }
 }:>
 </define-tag>

Jens



Reply to: