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

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

trans-coord/manual/gnun/html_node Per_002dDirec...


From: Ineiev
Subject: trans-coord/manual/gnun/html_node Per_002dDirec...
Date: Thu, 20 Dec 2018 14:08:48 -0500 (EST)

CVSROOT:        /web/trans-coord
Module name:    trans-coord
Changes by:     Ineiev <ineiev> 18/12/20 14:08:48

Added files:
        manual/gnun/html_node: Per_002dDirectory-Templates.html 
                               Site_002dWide-Compendia.html 
                               gnun_002dlink_002ddiff.html 

Log message:
        New nodes.

CVSWeb URLs:
http://web.cvs.savannah.gnu.org/viewcvs/trans-coord/manual/gnun/html_node/Per_002dDirectory-Templates.html?cvsroot=trans-coord&rev=1.1
http://web.cvs.savannah.gnu.org/viewcvs/trans-coord/manual/gnun/html_node/Site_002dWide-Compendia.html?cvsroot=trans-coord&rev=1.1
http://web.cvs.savannah.gnu.org/viewcvs/trans-coord/manual/gnun/html_node/gnun_002dlink_002ddiff.html?cvsroot=trans-coord&rev=1.1

Patches:
Index: Per_002dDirectory-Templates.html
===================================================================
RCS file: Per_002dDirectory-Templates.html
diff -N Per_002dDirectory-Templates.html
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ Per_002dDirectory-Templates.html    20 Dec 2018 19:08:47 -0000      1.1
@@ -0,0 +1,97 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
"http://www.w3.org/TR/html4/loose.dtd";>
+<html>
+<!-- 
+This manual (updated 20 December 2018) is for GNUnited Nations (version
+0.12), a suite for maintaining translations of www.gnu.org
+essays and other articles.
+
+
+Copyright (C) 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2016,
+2018 Free Software Foundation, Inc.
+
+Permission is granted to copy, distribute and/or modify this document
+under the terms of the GNU Free Documentation License, Version 1.3 or
+any later version published by the Free Software Foundation; with no
+Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.  A
+copy of the license is included in the section entitled "GNU Free
+Documentation License." -->
+<!-- Created by GNU Texinfo 5.2, http://www.gnu.org/software/texinfo/ -->
+<head>
+<title>GNUnited Nations: Per-Directory Templates</title>
+
+<meta name="description" content="GNUnited Nations: Per-Directory Templates">
+<meta name="keywords" content="GNUnited Nations: Per-Directory Templates">
+<meta name="resource-type" content="document">
+<meta name="distribution" content="global">
+<meta name="Generator" content="makeinfo">
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<link href="index.html#Top" rel="start" title="Top">
+<link href="Index.html#Index" rel="index" title="Index">
+<link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
+<link href="Compendia.html#Compendia" rel="up" title="Compendia">
+<link href="Sitemap.html#Sitemap" rel="next" title="Sitemap">
+<link href="Site_002dWide-Compendia.html#Site_002dWide-Compendia" rel="prev" 
title="Site-Wide Compendia">
+<style type="text/css">
+<!--
+a.summary-letter {text-decoration: none}
+blockquote.smallquotation {font-size: smaller}
+div.display {margin-left: 3.2em}
+div.example {margin-left: 3.2em}
+div.indentedblock {margin-left: 3.2em}
+div.lisp {margin-left: 3.2em}
+div.smalldisplay {margin-left: 3.2em}
+div.smallexample {margin-left: 3.2em}
+div.smallindentedblock {margin-left: 3.2em; font-size: smaller}
+div.smalllisp {margin-left: 3.2em}
+kbd {font-style:oblique}
+pre.display {font-family: inherit}
+pre.format {font-family: inherit}
+pre.menu-comment {font-family: serif}
+pre.menu-preformatted {font-family: serif}
+pre.smalldisplay {font-family: inherit; font-size: smaller}
+pre.smallexample {font-size: smaller}
+pre.smallformat {font-family: inherit; font-size: smaller}
+pre.smalllisp {font-size: smaller}
+span.nocodebreak {white-space:nowrap}
+span.nolinebreak {white-space:nowrap}
+span.roman {font-family:serif; font-weight:normal}
+span.sansserif {font-family:sans-serif; font-weight:normal}
+ul.no-bullet {list-style: none}
+-->
+</style>
+
+
+</head>
+
+<body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" 
vlink="#800080" alink="#FF0000">
+<a name="Per_002dDirectory-Templates"></a>
+<div class="header">
+<p>
+Previous: <a href="Site_002dWide-Compendia.html#Site_002dWide-Compendia" 
accesskey="p" rel="prev">Site-Wide Compendia</a>, Up: <a 
href="Compendia.html#Compendia" accesskey="u" rel="up">Compendia</a> &nbsp; [<a 
href="index.html#SEC_Contents" title="Table of contents" 
rel="contents">Contents</a>][<a href="Index.html#Index" title="Index" 
rel="index">Index</a>]</p>
+</div>
+<hr>
+<a name="Per_002dDirectory-Templates-1"></a>
+<h4 class="subsection">2.6.2 Per-Directory Templates</h4>
+<a name="index-compendia_002c-per_002ddirectory"></a>
+<a name="index-per_002ddirectory-compendia"></a>
+<a name="index-pot"></a>
+<a name="index-lang_002epo"></a>
+
+<p>When GNUN detects a file named <samp>pot</samp> in some <samp>po</samp> 
directory,
+it writes to it all strings from all articles in the same directory;
+it also merges translations of those strings to files named
+<samp><var>lang</var>.po</samp>, for all languages available in that directory.
+In its turn, files <samp><var>lang</var>.po</samp> are used to update
+translations in articles from that directory.
+</p>
+<p>This helps updating translations in sets of articles like
+<samp>proprietary/</samp> section, where an item may belong to many files
+at once.  The translator can only update <samp><var>lang</var>.po</samp>,
+or any article where the outdated item is listed.  Then GNUN
+will copy the translation to all other places.
+</p>
+
+
+
+</body>
+</html>

Index: Site_002dWide-Compendia.html
===================================================================
RCS file: Site_002dWide-Compendia.html
diff -N Site_002dWide-Compendia.html
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ Site_002dWide-Compendia.html        20 Dec 2018 19:08:48 -0000      1.1
@@ -0,0 +1,118 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
"http://www.w3.org/TR/html4/loose.dtd";>
+<html>
+<!-- 
+This manual (updated 20 December 2018) is for GNUnited Nations (version
+0.12), a suite for maintaining translations of www.gnu.org
+essays and other articles.
+
+
+Copyright (C) 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2016,
+2018 Free Software Foundation, Inc.
+
+Permission is granted to copy, distribute and/or modify this document
+under the terms of the GNU Free Documentation License, Version 1.3 or
+any later version published by the Free Software Foundation; with no
+Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.  A
+copy of the license is included in the section entitled "GNU Free
+Documentation License." -->
+<!-- Created by GNU Texinfo 5.2, http://www.gnu.org/software/texinfo/ -->
+<head>
+<title>GNUnited Nations: Site-Wide Compendia</title>
+
+<meta name="description" content="GNUnited Nations: Site-Wide Compendia">
+<meta name="keywords" content="GNUnited Nations: Site-Wide Compendia">
+<meta name="resource-type" content="document">
+<meta name="distribution" content="global">
+<meta name="Generator" content="makeinfo">
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<link href="index.html#Top" rel="start" title="Top">
+<link href="Index.html#Index" rel="index" title="Index">
+<link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
+<link href="Compendia.html#Compendia" rel="up" title="Compendia">
+<link href="Per_002dDirectory-Templates.html#Per_002dDirectory-Templates" 
rel="next" title="Per-Directory Templates">
+<link href="Compendia.html#Compendia" rel="prev" title="Compendia">
+<style type="text/css">
+<!--
+a.summary-letter {text-decoration: none}
+blockquote.smallquotation {font-size: smaller}
+div.display {margin-left: 3.2em}
+div.example {margin-left: 3.2em}
+div.indentedblock {margin-left: 3.2em}
+div.lisp {margin-left: 3.2em}
+div.smalldisplay {margin-left: 3.2em}
+div.smallexample {margin-left: 3.2em}
+div.smallindentedblock {margin-left: 3.2em; font-size: smaller}
+div.smalllisp {margin-left: 3.2em}
+kbd {font-style:oblique}
+pre.display {font-family: inherit}
+pre.format {font-family: inherit}
+pre.menu-comment {font-family: serif}
+pre.menu-preformatted {font-family: serif}
+pre.smalldisplay {font-family: inherit; font-size: smaller}
+pre.smallexample {font-size: smaller}
+pre.smallformat {font-family: inherit; font-size: smaller}
+pre.smalllisp {font-size: smaller}
+span.nocodebreak {white-space:nowrap}
+span.nolinebreak {white-space:nowrap}
+span.roman {font-family:serif; font-weight:normal}
+span.sansserif {font-family:sans-serif; font-weight:normal}
+ul.no-bullet {list-style: none}
+-->
+</style>
+
+
+</head>
+
+<body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" 
vlink="#800080" alink="#FF0000">
+<a name="Site_002dWide-Compendia"></a>
+<div class="header">
+<p>
+Next: <a href="Per_002dDirectory-Templates.html#Per_002dDirectory-Templates" 
accesskey="n" rel="next">Per-Directory Templates</a>, Up: <a 
href="Compendia.html#Compendia" accesskey="u" rel="up">Compendia</a> &nbsp; [<a 
href="index.html#SEC_Contents" title="Table of contents" 
rel="contents">Contents</a>][<a href="Index.html#Index" title="Index" 
rel="index">Index</a>]</p>
+</div>
+<hr>
+<a name="Site_002dWide-Compendia-1"></a>
+<h4 class="subsection">2.6.1 Site-Wide Compendia</h4>
+<a name="index-compendia_002c-site_002dwide"></a>
+<a name="index-site_002dwide-compendia"></a>
+<a name="index-exclude_002epot"></a>
+<a name="index-master_002elang_002epo"></a>
+<a name="index-compendium_002elang_002epo"></a>
+<a name="index-compendium_002epot"></a>
+
+<p>Site-wide compendia are located in the <samp>server/gnun/compendia</samp>
+directory of the &lsquo;www&rsquo; web repository.  There are two kinds of
+compendia: <samp>master.<var>lang</var>.po</samp> and
+<samp>compendium.<var>lang</var>.po</samp>.
+</p>
+<p>The first kind, <samp>master.<var>lang</var>.po</samp>, can be used to
+simultaneously update all occurrences of the translations of a given
+string.  Translations from this file will override the translations from
+<samp><var>article</var>.<var>lang</var>.po</samp>.  When 
<samp>master.<var>lang</var>.po</samp> is
+updated, the translations will be rebuilt.  GNUN doesn&rsquo;t modify this
+kind of compendia.
+</p>
+<p>The second kind, <samp>compendium.<var>lang</var>.po</samp>, is updated
+automatically.  GNUN finds strings that repeat many times in POTs of
+articles and collects them in <samp>compendium.pot</samp>.  Then it checks
+all available <samp><var>article</var>.<var>lang</var>.po</samp> files for
+translations of those strings and generates
+<samp>compendium.<var>lang</var>.po</samp>.  This file is also used to fill
+missing translations, but it doesn&rsquo;t override the translations from
+<samp><var>article</var>.<var>lang</var>.po</samp>, and the strings coming from
+<samp>compendium.<var>lang</var>.po</samp> are always marked as 
&ldquo;fuzzy&rdquo; to
+prevent propagation of translations that may be wrong in a different
+context.
+</p>
+<p>When updating <samp>compendium.pot</samp>, some strings should be excluded
+even though they repeat in the POT files many times&mdash;for instance,
+GNUN slots for translators&rsquo; notes.  See <a 
href="Notes-Slot.html#Notes-Slot">Notes Slot</a>.  They are not
+real translations, this is why they are likely to be different for
+different articles.  In order to avoid including them in compendia,
+GNUN checks a specific file, <samp>exclude.pot</samp>, and when that file
+contains the string, it won&rsquo;t be added to <samp>compendium.pot</samp>.
+</p>
+
+
+
+</body>
+</html>

Index: gnun_002dlink_002ddiff.html
===================================================================
RCS file: gnun_002dlink_002ddiff.html
diff -N gnun_002dlink_002ddiff.html
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ gnun_002dlink_002ddiff.html 20 Dec 2018 19:08:48 -0000      1.1
@@ -0,0 +1,126 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
"http://www.w3.org/TR/html4/loose.dtd";>
+<html>
+<!-- 
+This manual (updated 20 December 2018) is for GNUnited Nations (version
+0.12), a suite for maintaining translations of www.gnu.org
+essays and other articles.
+
+
+Copyright (C) 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2016,
+2018 Free Software Foundation, Inc.
+
+Permission is granted to copy, distribute and/or modify this document
+under the terms of the GNU Free Documentation License, Version 1.3 or
+any later version published by the Free Software Foundation; with no
+Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.  A
+copy of the license is included in the section entitled "GNU Free
+Documentation License." -->
+<!-- Created by GNU Texinfo 5.2, http://www.gnu.org/software/texinfo/ -->
+<head>
+<title>GNUnited Nations: gnun-link-diff</title>
+
+<meta name="description" content="GNUnited Nations: gnun-link-diff">
+<meta name="keywords" content="GNUnited Nations: gnun-link-diff">
+<meta name="resource-type" content="document">
+<meta name="distribution" content="global">
+<meta name="Generator" content="makeinfo">
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<link href="index.html#Top" rel="start" title="Top">
+<link href="Index.html#Index" rel="index" title="Index">
+<link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
+<link href="Scripts.html#Scripts" rel="up" title="Scripts">
+<link href="gnun_002dpreconvert.html#gnun_002dpreconvert" rel="next" 
title="gnun-preconvert">
+<link href="gnun_002dinit_002dpo.html#gnun_002dinit_002dpo" rel="prev" 
title="gnun-init-po">
+<style type="text/css">
+<!--
+a.summary-letter {text-decoration: none}
+blockquote.smallquotation {font-size: smaller}
+div.display {margin-left: 3.2em}
+div.example {margin-left: 3.2em}
+div.indentedblock {margin-left: 3.2em}
+div.lisp {margin-left: 3.2em}
+div.smalldisplay {margin-left: 3.2em}
+div.smallexample {margin-left: 3.2em}
+div.smallindentedblock {margin-left: 3.2em; font-size: smaller}
+div.smalllisp {margin-left: 3.2em}
+kbd {font-style:oblique}
+pre.display {font-family: inherit}
+pre.format {font-family: inherit}
+pre.menu-comment {font-family: serif}
+pre.menu-preformatted {font-family: serif}
+pre.smalldisplay {font-family: inherit; font-size: smaller}
+pre.smallexample {font-size: smaller}
+pre.smallformat {font-family: inherit; font-size: smaller}
+pre.smalllisp {font-size: smaller}
+span.nocodebreak {white-space:nowrap}
+span.nolinebreak {white-space:nowrap}
+span.roman {font-family:serif; font-weight:normal}
+span.sansserif {font-family:sans-serif; font-weight:normal}
+ul.no-bullet {list-style: none}
+-->
+</style>
+
+
+</head>
+
+<body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" 
vlink="#800080" alink="#FF0000">
+<a name="gnun_002dlink_002ddiff"></a>
+<div class="header">
+<p>
+Next: <a href="gnun_002dpreconvert.html#gnun_002dpreconvert" accesskey="n" 
rel="next">gnun-preconvert</a>, Previous: <a 
href="gnun_002dinit_002dpo.html#gnun_002dinit_002dpo" accesskey="p" 
rel="prev">gnun-init-po</a>, Up: <a href="Scripts.html#Scripts" accesskey="u" 
rel="up">Scripts</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of 
contents" rel="contents">Contents</a>][<a href="Index.html#Index" title="Index" 
rel="index">Index</a>]</p>
+</div>
+<hr>
+<a name="The-gnun_002dlink_002ddiff-Script"></a>
+<h4 class="subsection">6.2.4 The <code>gnun-link-diff</code> Script</h4>
+<a name="index-running-checks-1"></a>
+
+<p>This script finds mismatched links and anchors
+and fills some fields in the header.  Usually this is a typo,
+though in <em>very</em> rare cases changes in links are justified.
+</p>
+<p>The script takes into account possible translator&rsquo;s notes
+and changes in links to Creative Commons licenses.
+See <a 
href="http://www.gnu.org/software/trans-coord/manual/web-trans/html_node/Distribution-Terms.html#Distribution-Terms";>Distribution
 Terms</a> in <cite>GNU Web Translators Manual</cite>.
+</p>
+<p>The output is a HTML page with highlighted differences.
+In the beginning, numbers of mismatched links and anchors
+are written. Links starting with &quot;mailto:&quot; are not counted,
+but highlighted.
+</p>
+<p>The exit status of the script is 0 when the counts of mismatched
+links and anchors are zero, 1 when their sum is not zero,
+2 when an error occurred.
+</p>
+<div class="example">
+<pre class="example">gnun-link-diff [OPTION...] FILE
+</pre></div>
+
+<dl compact="compact">
+<dt><samp>-l</samp></dt>
+<dt><samp>--language=<var>lang</var></samp></dt>
+<dd><p>Specify language suffix, e.g &ldquo;bg&rdquo;.  The suffix is used
+to adjust links to Creative Commons licenses.
+When unspecified, it is filled from the file name.
+</p>
+</dd>
+<dt><samp>-t</samp></dt>
+<dt><samp>--title=&quot;<var>page title</var>&quot;</samp></dt>
+<dd><p>Specify title.  When unspecified, the file name is used.
+</p>
+</dd>
+<dt><samp>-v</samp></dt>
+<dt><samp>--version</samp></dt>
+<dd><p>Display copyright and version information and exit.
+</p>
+</dd>
+<dt><samp>-h</samp></dt>
+<dt><samp>--help</samp></dt>
+<dd><p>Display usage information and exit.
+</p></dd>
+</dl>
+
+
+
+
+</body>
+</html>



reply via email to

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