trans-coord-devel
[Top][All Lists]
Advanced

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

trans-coord/gnun/prep/gnun ChangeLog GNUmakefile


From: Yavor Doganov
Subject: trans-coord/gnun/prep/gnun ChangeLog GNUmakefile
Date: Tue, 29 Jan 2008 22:03:03 +0000

CVSROOT:        /cvsroot/trans-coord
Module name:    trans-coord
Changes by:     Yavor Doganov <yavor>   08/01/29 22:03:03

Modified files:
        gnun/prep/gnun : ChangeLog GNUmakefile 

Log message:
        ($(template_dir)/po/%.$(1).po): Handle the case when
        webmasters add a new template file but translators cannot catch up
        immediately; simply copy the newly generated .pot as .xx.po for
        every language in TEMPLATE_LINGUAS.
        (replaceable_includes): Doc fix.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/prep/gnun/ChangeLog?cvsroot=trans-coord&r1=1.17&r2=1.18
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/prep/gnun/GNUmakefile?cvsroot=trans-coord&r1=1.19&r2=1.20

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/trans-coord/trans-coord/gnun/prep/gnun/ChangeLog,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -b -r1.17 -r1.18
--- ChangeLog   29 Jan 2008 20:09:49 -0000      1.17
+++ ChangeLog   29 Jan 2008 22:03:03 -0000      1.18
@@ -1,3 +1,11 @@
+2008-01-30  Yavor Doganov  <address@hidden>
+
+       * GNUmakefile ($(template_dir)/po/%.$(1).po): Handle the case when
+       webmasters add a new template file but translators cannot catch up
+       immediately; simply copy the newly generated .pot as .xx.po for
+       every language in TEMPLATE_LINGUAS.
+       (replaceable_includes): Doc fix.
+
 2008-01-29  Yavor Doganov  <address@hidden>
 
        * GNUmakefile (MV, TOUCH): Delete and invoke the programs

Index: GNUmakefile
===================================================================
RCS file: /cvsroot/trans-coord/trans-coord/gnun/prep/gnun/GNUmakefile,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -b -r1.19 -r1.20
--- GNUmakefile 29 Jan 2008 20:09:49 -0000      1.19
+++ GNUmakefile 29 Jan 2008 22:03:03 -0000      1.20
@@ -42,7 +42,7 @@
 rootdir := ../..
 
 # FIXME: footer-short and footer-min are remnants from the old-new
-# design; they shold go at some point.
+# design; they should go at some point.
 replaceable_includes := header banner banner-homepage \
                        footer footer-short footer-min
 
@@ -120,6 +120,11 @@
 
 define template_rules
 $(template_dir)/po/%.$(1).po: $(template_dir)/po/%.pot
+# If the POT is new, it is natural that teams cannot translate it at
+# once.  Create a copy for every PO file in TEMPLATE_LINGUAS so that
+# the build can continue without errors.
+# FIXME: Check if this approach works with gettext >> 0.14.
+       [ -f $$@ ] || (cp $$< $$@ ; $(CVS) $(CVSOPTS) add $$@)
        @echo Updating PO file...
        $(MSGMERGE) --update $$@ $$< && touch $$@
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]