[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
trans-coord/gnun/server/gnun AUTHORS ChangeLog ...
From: |
Pavel Kharitonov |
Subject: |
trans-coord/gnun/server/gnun AUTHORS ChangeLog ... |
Date: |
Thu, 15 Nov 2012 06:28:48 +0000 |
CVSROOT: /sources/trans-coord
Module name: trans-coord
Changes by: Pavel Kharitonov <ineiev> 12/11/15 06:28:47
Modified files:
gnun/server/gnun: AUTHORS ChangeLog Makefile.am NEWS
gnun/server/gnun/doc: gnun.texi
Log message:
Add `gnun-report'.
* doc/gnun.texi (gnun-report): New node.
(report): Add a reference to `gnun-report'.
(Scripts): Add `gnun-report'.
* gnun-report.in: New file.
* Makefile.am (bin_SCRIPTS, CLEANFILES): Add gnun-report.
(edit): Add MSGFMT substitution.
(gnun-report): New target.
(EXTRA_DIST): Add gnun-report.in.
* AUTHORS:
* NEWS: Update.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/server/gnun/AUTHORS?cvsroot=trans-coord&r1=1.11&r2=1.12
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/server/gnun/ChangeLog?cvsroot=trans-coord&r1=1.299&r2=1.300
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/server/gnun/Makefile.am?cvsroot=trans-coord&r1=1.32&r2=1.33
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/server/gnun/NEWS?cvsroot=trans-coord&r1=1.67&r2=1.68
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/server/gnun/doc/gnun.texi?cvsroot=trans-coord&r1=1.62&r2=1.63
Patches:
Index: AUTHORS
===================================================================
RCS file: /sources/trans-coord/trans-coord/gnun/server/gnun/AUTHORS,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- AUTHORS 4 Oct 2012 14:43:17 -0000 1.11
+++ AUTHORS 15 Nov 2012 06:28:43 -0000 1.12
@@ -9,7 +9,8 @@
diff-page-tail.html, dtd/html5.dtd (based on W3C DTD),
expand-m4-includes.in, expand-ssi.awk,
languages.txt (compiled from www.gnu.org pages),
- gnun-add-fuzzy-diff, make-prototype.awk, priorities.mk,
+ gnun-add-fuzzy-diff, gnun-report.in, make-prototype.awk,
+ priorities.mk,
translinks-head.html, translinks-tail.html,
update-localized-urls.in.
Index: ChangeLog
===================================================================
RCS file: /sources/trans-coord/trans-coord/gnun/server/gnun/ChangeLog,v
retrieving revision 1.299
retrieving revision 1.300
diff -u -b -r1.299 -r1.300
--- ChangeLog 18 Oct 2012 04:49:36 -0000 1.299
+++ ChangeLog 15 Nov 2012 06:28:43 -0000 1.300
@@ -1,3 +1,18 @@
+2012-11-15 Pavel Kharitonov <address@hidden>
+
+ Add `gnun-report'.
+
+ * doc/gnun.texi (gnun-report): New node.
+ (report): Add a reference to `gnun-report'.
+ (Scripts): Add `gnun-report'.
+ * gnun-report.in: New file.
+ * Makefile.am (bin_SCRIPTS, CLEANFILES): Add gnun-report.
+ (edit): Add MSGFMT substitution.
+ (gnun-report): New target.
+ (EXTRA_DIST): Add gnun-report.in.
+ * AUTHORS:
+ * NEWS: Update.
+
2012-10-18 Pavel Kharitonov <address@hidden>
Add expanded HTML to validate-html-notify reports.
Index: Makefile.am
===================================================================
RCS file: /sources/trans-coord/trans-coord/gnun/server/gnun/Makefile.am,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -b -r1.32 -r1.33
--- Makefile.am 4 Oct 2012 14:43:17 -0000 1.32
+++ Makefile.am 15 Nov 2012 06:28:44 -0000 1.33
@@ -19,7 +19,7 @@
SUBDIRS = doc dtd
-bin_SCRIPTS =
+bin_SCRIPTS = gnun-report
if HAVE_VALIDATION
bin_SCRIPTS += gnun-validate-html
@@ -56,12 +56,13 @@
-e 's|@address@hidden|$(AWK)|g' \
-e 's|@address@hidden|$(GREP)|g' \
-e 's|@address@hidden|$(pkglibexecdir)/expand-m4-includes|g' \
+ -e 's|@address@hidden|$(MSGFMT)|g' \
-e 's|@address@hidden|$(MSGMERGE)|g' \
-e 's|@address@hidden|$(SED)|g' \
-e 's|@address@hidden|$(WDIFF)|g'
add-fuzzy-diff copy-msgid expand-m4-includes gnun-add-fuzzy-diff \
-gnun-init-po gnun-merge-preconverted \
+gnun-init-po gnun-merge-preconverted gnun-report \
gnun-validate-html update-localized-urls validate-html-notify: Makefile
$(AM_V_at)rm -f $@ address@hidden
$(AM_V_GEN)$(edit) '$(srcdir)/address@hidden' >address@hidden
@@ -76,10 +77,11 @@
add-fuzzy-diff: $(srcdir)/add-fuzzy-diff.in
copy-msgid: $(srcdir)/copy-msgid.in
expand-m4-includes: $(srcdir)/expand-m4-includes.in
-gnun-validate-html: $(srcdir)/gnun-validate-html.in
gnun-add-fuzzy-diff: $(srcdir)/gnun-add-fuzzy-diff.in
gnun-init-po: $(srcdir)/gnun-init-po.in
gnun-merge-preconverted: $(srcdir)/gnun-merge-preconverted.in
+gnun-report: $(srcdir)/gnun-report.in
+gnun-validate-html: $(srcdir)/gnun-validate-html.in
update-localized-urls: $(srcdir)/update-localized-urls.in
validate-html-notify: $(srcdir)/validate-html-notify.in
@@ -96,10 +98,10 @@
EXTRA_DIST = add-fuzzy-diff.in copy-msgid.in expand-m4-includes.in \
gnun-add-fuzzy-diff.in gnun-init-po.in gnun-merge-preconverted.in \
- gnun-validate-html.in update-localized-urls.in \
+ gnun-report.in gnun-validate-html.in update-localized-urls.in \
validate-html-notify.in
CLEANFILES = add-fuzzy-diff copy-msgid expand-m4-includes gnun-add-fuzzy-diff \
- gnun-init-po gnun-merge-preconverted \
+ gnun-init-po gnun-merge-preconverted gnun-report \
gnun-validate-html update-localized-urls validate-html-notify \
stamp-config.mk
Index: NEWS
===================================================================
RCS file: /sources/trans-coord/trans-coord/gnun/server/gnun/NEWS,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -b -r1.67 -r1.68
--- NEWS 4 Oct 2012 14:43:17 -0000 1.67
+++ NEWS 15 Nov 2012 06:28:44 -0000 1.68
@@ -2,6 +2,9 @@
* Changes in GNUnited Nations 0.7 (????-??-??)
+** New script, `gnun-report', to generate reports in HTML format.
+ For more details, see the manual ('(gnun)gnun-report)').
+
** GNUN doesn't depend on Guile any more.
** <span class="gnun-split"></span> is used as a separator to split
Index: doc/gnun.texi
===================================================================
RCS file: /sources/trans-coord/trans-coord/gnun/server/gnun/doc/gnun.texi,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -b -r1.62 -r1.63
--- doc/gnun.texi 18 Oct 2012 04:49:36 -0000 1.62
+++ doc/gnun.texi 15 Nov 2012 06:28:45 -0000 1.63
@@ -742,6 +742,9 @@
@var{important-directories} for the directories with important articles;
all other translations are reported as less important.
+There is also a script, @command{gnun-report}, to generate HTML reports.
address@hidden
+
@node triggers
@subsubsection The @code{triggers} Target
@@ -2061,6 +2064,7 @@
* gnun-preconvert:: Invoke the first step in converting
HTML translation to PO format.
* gnun-merge-preconverted:: Run the second step of the conversion.
+* gnun-report:: Generate report in HTML format.
* gnun-validate-html:: Validate HTML file.
* mailfail::
* validate-html-notify::
@@ -2194,6 +2198,52 @@
Display usage information and exit.
@end table
address@hidden gnun-report
address@hidden The @command{gnun-report} Script
address@hidden reporting
address@hidden status, translations
+
+This script generates HTML reports about translations of a given team.
+The HTML contains a set of tables sorted by priority and translation
+status (existing translations that need maintenance, untranslated
+files, complete translations).
+
address@hidden priorities.mk
+The script depends on the presence of the @file{priorities.mk} file
+in the @file{server/gnun} subdirectory of the working copy of `www'
+repository.
+
+The results are written to standard output. Example:
+
address@hidden
+gnun-report --root=../www -t bg > report-bg.html
address@hidden example
+
address@hidden @option
address@hidden -t
address@hidden address@hidden
+Specify the language code of the team, for example, `ml'.
+
address@hidden --root
+Specify the top directory of the working copy; the default
+is the current directory.
+
address@hidden -l
address@hidden address@hidden
+Specify the language name, for example, `Malayalam'. When this option
+is missing, @command{gnun-report} tries to figure out the language name
+based on the language code provided with the ``-t'' option.
+
address@hidden --version
+Display copyright and version information and exit.
+
address@hidden --help
+Display usage information and exit.
address@hidden table
+
+There is also a target in @file{GNUmakefile} to generate text reports
+intended for monthly messages sent to the teams. @xref{report}.
+
@node gnun-validate-html
@subsection The @command{gnun-validate-html} Script
@cindex validation, HTML, XHTML
- trans-coord/gnun/server/gnun AUTHORS ChangeLog ...,
Pavel Kharitonov <=