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

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

trans-coord/gnun/server/gnun ChangeLog GNUmakef...


From: Pavel Kharitonov
Subject: trans-coord/gnun/server/gnun ChangeLog GNUmakef...
Date: Fri, 06 Sep 2013 18:05:11 +0000

CVSROOT:        /sources/trans-coord
Module name:    trans-coord
Changes by:     Pavel Kharitonov <ineiev>       13/09/06 18:05:11

Modified files:
        gnun/server/gnun: ChangeLog GNUmakefile NEWS 

Log message:
        (optional-template-lang-rules): Fix HTML generation.
        (substitute-localized-urls): Make the rule work for articles
        from ${rootdir}.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/server/gnun/ChangeLog?cvsroot=trans-coord&r1=1.387&r2=1.388
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/server/gnun/GNUmakefile?cvsroot=trans-coord&r1=1.168&r2=1.169
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/server/gnun/NEWS?cvsroot=trans-coord&r1=1.93&r2=1.94

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/trans-coord/trans-coord/gnun/server/gnun/ChangeLog,v
retrieving revision 1.387
retrieving revision 1.388
diff -u -b -r1.387 -r1.388
--- ChangeLog   6 Sep 2013 14:58:17 -0000       1.387
+++ ChangeLog   6 Sep 2013 18:05:11 -0000       1.388
@@ -1,13 +1,14 @@
 2013-09-06  Pavel Kharitonov  <address@hidden>
 
-       * doc/web-trans.texi (Copyright Notices): New node (a link
-       to GCS).
-       (Translation process): Add `Copyright Notices' to menu.
-
-2013-09-06  Pavel Kharitonov  <address@hidden>
-
        * GNUmakefile (article-rules): Don't commit the generated HTML
        file when the only difference is in the `Date' keyword.
+       (optional-template-lang-rules): Fix HTML generation.
+       (substitute-localized-urls): Make the rule work for articles
+       from ${rootdir}.
+       * doc/web-trans.texi (Copyright Notices): New node (a link
+       to GCS).
+       (Translation Process): Add `Copyright Notices' to menu.
+       * NEWS: Update.
 
 2013-09-05  Pavel Kharitonov  <address@hidden>
 

Index: GNUmakefile
===================================================================
RCS file: /sources/trans-coord/trans-coord/gnun/server/gnun/GNUmakefile,v
retrieving revision 1.168
retrieving revision 1.169
diff -u -b -r1.168 -r1.169
--- GNUmakefile 6 Sep 2013 14:21:01 -0000       1.168
+++ GNUmakefile 6 Sep 2013 18:05:11 -0000       1.169
@@ -232,8 +232,9 @@
                   $(SED) 's%${rootdir}/${source}\.%%g;s/\.html//g;s/\*//'); \
          test -z "$${langs}" \
            || for l in $${langs}; do \
-                article=${source}; \
-                po=${rootdir}/$${article%/*}/po/$${article##*/}.$${l}.po; \
+                article=${source}; article_dir=/$${article%/*}; \
+                test "x$${article_dir}" != "x/$${article}" || article_dir=""; \
+                po=${rootdir}$${article_dir}/po/$${article##*/}.$${l}.po; \
                  test -f "$${po}" || continue; \
                 script=; \
                 for url in ${${source}-localized-urls}; do \
@@ -791,7 +792,7 @@
 
 $(subst /po/,/,$(1)).$(2).html: $(subst /po/,/,$(1)).html \
                             $(1).$(2).po
-       $(call update-po,$$@,$$<,$(2))
+       $(call update-po,$(1).$(2).po,$(1).pot.opt,$(2))
        $(call generate-html,$(2),$(1).$(2).po,$$@,$(1).pot.opt)
        $(call merge-empty-lines,$$@)
 endif #eq ($(wildcard $(1).$(2).po),)

Index: NEWS
===================================================================
RCS file: /sources/trans-coord/trans-coord/gnun/server/gnun/NEWS,v
retrieving revision 1.93
retrieving revision 1.94
diff -u -b -r1.93 -r1.94
--- NEWS        2 Sep 2013 05:23:37 -0000       1.93
+++ NEWS        6 Sep 2013 18:05:11 -0000       1.94
@@ -44,11 +44,14 @@
     in GNUmakefile.team.
 
 *** HTML tags in comments were able to confuse GNUN when it
-    was extracting titles of the articles.
+    was extracting titles of the articles to announce.
 
 *** `gnun-validate-html' didn't handle empty included files
     correctly.
 
+*** In GNUmakefile, localized URLs substitution didn't work
+    for articles from the root directory.
+
 * Changes in GNUnited Nations 0.7 (2012-12-27)
 
 ** GNUmakefile.team enhancements:



reply via email to

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