[Top][All Lists]

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

Re: building vanilla

From: Kaloian Doganov
Subject: Re: building vanilla
Date: Mon, 10 Dec 2007 12:01:03 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gNewSense gnu/linux)

Yavor Doganov <address@hidden> writes:

    > Yes, let's go ahead.  When you copy the new templates, please commit
    > them even if they fail to build with the rest of the system.  We would
    > like to see what the errors are.

    That's self explanatory.  I'll only remove the sidebar stuff, as it's
    obsolete now.  

Thank you for doing this.  Now that the repository is self contained, it
is easy to spot couple of issues:

1. When generating a pot-file, po4a-gettextize always updates the
   "POT-Creation-Date" field, even all other strings are identical.  For

--- gnu/po/rms-lisp.pot (revision 306)
+++ gnu/po/rms-lisp.pot (working copy)
@@ -7,7 +7,7 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2007-12-05 22:29+0200\n"
+"POT-Creation-Date: 2007-12-10 10:53+0200\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <address@hidden>\n"
 "Language-Team: LANGUAGE <address@hidden>\n"

   I suppose we wouldn't want to commit such "changes" in www.  Thus we
   have to find a way to avoid commiting them, or avoid running
   po4a-gettextize on those cases.

2. Now Po4a's Xhtml module generates the same results for the templates
   (www/server directory) as the Html module currently in use.  For all
   other file we're already using the Xhtml module.  I suggest to switch
   entirely to Xhtml module.  This could be done with the following

@@ -29,7 +29,6 @@

-PO4A_HTMLFLAGS = --format=html
 PO4A_XHTMLFLAGS = --format=xhtml -o ontagerror=silent -o "tags=<>"

 rootdir := ../..
@@ -87,7 +86,7 @@
 .PRECIOUS: $(template_dir)/po/%.pot
 $(template_dir)/po/%.pot: $(template_dir)/%.html
        @echo Generating POT...
$< --po $@
$< --po $@

 define template_rules
 $(template_dir)/po/%.$(1).po: $(template_dir)/po/%.pot
@@ -96,7 +95,7 @@

 $(template_dir)/%.$(1).html: $(template_dir)/%.html 
        @echo Generating the translated article...
--po \
$$< --po \
                $(template_dir)/po/$$(*F).$(1).po --localized $$@

  Should I install it?

reply via email to

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