[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
trans-coord/gnun/server/gnun ChangeLog GNUmakef...
From: |
Ineiev |
Subject: |
trans-coord/gnun/server/gnun ChangeLog GNUmakef... |
Date: |
Sun, 25 Nov 2018 07:46:16 -0500 (EST) |
CVSROOT: /sources/trans-coord
Module name: trans-coord
Changes by: Ineiev <ineiev> 18/11/25 07:46:16
Modified files:
gnun/server/gnun: ChangeLog GNUmakefile NEWS
gnun/server/gnun/doc: gnun.texi
Log message:
Make GRACE eternal.
* GNUmakefile (article-rules): Don't check the value of GRACE,
just don't regenerate when the variable is defined.
* doc/gnun.texi (Runtime Variables): Update GRACE documentation.
* NEWS: Update.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/server/gnun/ChangeLog?cvsroot=trans-coord&r1=1.468&r2=1.469
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/server/gnun/GNUmakefile?cvsroot=trans-coord&r1=1.192&r2=1.193
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/server/gnun/NEWS?cvsroot=trans-coord&r1=1.133&r2=1.134
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/server/gnun/doc/gnun.texi?cvsroot=trans-coord&r1=1.111&r2=1.112
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/trans-coord/trans-coord/gnun/server/gnun/ChangeLog,v
retrieving revision 1.468
retrieving revision 1.469
diff -u -b -r1.468 -r1.469
--- ChangeLog 14 Nov 2018 16:21:18 -0000 1.468
+++ ChangeLog 25 Nov 2018 12:46:14 -0000 1.469
@@ -1,3 +1,12 @@
+2018-11-25 Pavel Kharitonov <address@hidden>
+
+ Make GRACE eternal.
+
+ * GNUmakefile (article-rules): Don't check the value of GRACE,
+ just don't regenerate when the variable is defined.
+ * doc/gnun.texi (Runtime Variables): Update GRACE documentation.
+ * NEWS: Update.
+
2018-11-14 Pavel Kharitonov <address@hidden>
* GNUmakefile (vcs-add-always): Drop the target.
Index: GNUmakefile
===================================================================
RCS file: /sources/trans-coord/trans-coord/gnun/server/gnun/GNUmakefile,v
retrieving revision 1.192
retrieving revision 1.193
diff -u -b -r1.192 -r1.193
--- GNUmakefile 14 Nov 2018 16:21:18 -0000 1.192
+++ GNUmakefile 25 Nov 2018 12:46:16 -0000 1.193
@@ -521,10 +521,6 @@
# <!--#include virtual="/server/banner"-->.
# Additional Apache variables are injected at the beginning
# of the file.
-# Limitation: it doesn't notice that GRACE is expired
-# unless the POT file is updated at least once after
-# the HTML file is marked outdated. In practice this doesn't
-# matter since GRACE is very high.
define mark-outdated
marker='GNUN: OUT-OF-DATE NOTICE'; \
$(GREP) '^[[:space:]]*<!--'"$$$${marker}-->" $(1) &> /dev/null \
@@ -868,18 +864,14 @@
$(findstring $(basename $(1)),$(no-grace-items)))
# If the translation is outdated, compare
# the X-Outdated-Since in the $(1).po${po-suffix} with the current time
-# shifted by value of the $(GRACE) period and invoke regeneration only
-# if the grace period is over. Likewise, check against
-# $(OUTDATED-GRACE) and insert a notice into the HTML file when the
-# grace period is over.
+# shifted by value $(OUTDATED-GRACE) and insert a notice into the HTML file
+# when the grace period is over.
if ! $(call extract-outdated-date,$(1).po${po-suffix}) > /dev/null; \
then \
$(output-article-html); \
- elif $(call grace-is-over,$(1).po${po-suffix},$(GRACE)) ; then \
- $(output-article-html); \
fi
else
- @echo 'Ignoring grace period for article "$(notdir $(basename $(1)))"'
+ @echo 'Ignoring grace for article "$(notdir $(basename $(1)))"'
$(output-article-html)
endif
if test -f address@hidden ; then \
Index: NEWS
===================================================================
RCS file: /sources/trans-coord/trans-coord/gnun/server/gnun/NEWS,v
retrieving revision 1.133
retrieving revision 1.134
diff -u -b -r1.133 -r1.134
--- NEWS 14 Nov 2018 16:21:18 -0000 1.133
+++ NEWS 25 Nov 2018 12:46:16 -0000 1.134
@@ -2,6 +2,9 @@
* Changes in GNUnited Nations 0.12 (????-??-??)
+** GRACE doesn't define grace period in days any more: any defined
+ value specify an unlimited period.
+
** no-validate-articles isn't supported any more.
** In `sort-linguas', Telugu was added.
Index: doc/gnun.texi
===================================================================
RCS file: /sources/trans-coord/trans-coord/gnun/server/gnun/doc/gnun.texi,v
retrieving revision 1.111
retrieving revision 1.112
diff -u -b -r1.111 -r1.112
--- doc/gnun.texi 14 Nov 2018 16:22:33 -0000 1.111
+++ doc/gnun.texi 25 Nov 2018 12:46:16 -0000 1.112
@@ -545,26 +545,29 @@
@cindex GRACE
@cindex fuzzy strings
address@hidden grace period
address@hidden grace flag
@cindex deferred generation of articles
@anchor{GRACE}
address@hidden address@hidden
-If defined, ordinary articles that have ``fuzzy'' strings and are not older
-than @var{days} will not be regenerated. This functionality is
address@hidden GRACE
+If defined, ordinary articles that have ``fuzzy'' strings
+will not be regenerated. This functionality is
implemented specifically to prevent gratuitous replacement of translated
strings with the English text when there are only minor formatting
-changes in the original. The translator has time (the ``grace'' period
-as defined in this variable) to review the changes and clear the ``fuzzy''
-mark from the
-strings, while keeping the online translation intact. Note that this
+changes in the original. The translator should review the changes,
+update the translation and clear the ``fuzzy'' mark from the
+strings, while keeping the online translation address@hidden
+variable used to define the ``grace period'' in days to let
+the translator update the strings before the English text propagates
+to the translated page, but in practice that period has always been
+unlimited}. Note that this
variable has no effect on the server templates
and all articles defined in the variable @code{no-grace-articles}.
@cindex OUTDATED-GRACE
@item address@hidden
Grace period for the out-of-date notice. When the variable
address@hidden is defined, @code{OUTDATED-GRACE} defaults to 60 days
-(@pxref{GRACE,,grace period}). The out-of-date notice is a special
address@hidden is defined, @code{OUTDATED-GRACE} defaults to 60 days.
+The out-of-date notice is a special
text (@file{server/outdated.html} in the `www' repository) that is
inserted into every outdated translation when the period defined in
this variable is over; its purpose is to inform the reader that the
@@ -628,9 +631,9 @@
@subsection The @code{no-grace-items} Target
The @code{no-grace-items} target regenerates a limited set of articles
-that are not affected by the grace period, namely, the
+that are not affected by the @code{GRACE} variable, namely, the
server templates, and all articles defined in the variable
address@hidden (@pxref{GRACE,,grace period}).
address@hidden (@pxref{GRACE,,grace flag}).
This target can be rebuilt more often than @code{all}; however,
currently we just build all with the same period.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- trans-coord/gnun/server/gnun ChangeLog GNUmakef...,
Ineiev <=