[Phpmyadmin-git] [SCM] phpMyAdmin localized documentation branch, master, updated. ce268a17fa4adc7069a848dd35f0e13831c52311

Michal Čihař nijel at users.sourceforge.net
Fri Dec 31 15:38:56 CET 2010


The branch, master has been updated
       via  ce268a17fa4adc7069a848dd35f0e13831c52311 (commit)
       via  71765b55a32c9c693d812c70bf2b423f84255b21 (commit)
       via  f604adc57c9e8961fbc83b64d3f3a213a44a5bb8 (commit)
      from  45910763204c9c1f282d958cc234127e4fb92760 (commit)


- Log -----------------------------------------------------------------
commit ce268a17fa4adc7069a848dd35f0e13831c52311
Author: Michal Čihař <michal at cihar.com>
Date:   Fri Dec 31 15:38:20 2010 +0100

    Update generated document.

commit 71765b55a32c9c693d812c70bf2b423f84255b21
Author: Michal Čihař <michal at cihar.com>
Date:   Fri Dec 31 15:37:32 2010 +0100

    Automatically translate withdrawn FAQs.

commit f604adc57c9e8961fbc83b64d3f3a213a44a5bb8
Author: Michal Čihař <michal at cihar.com>
Date:   Fri Dec 31 15:34:13 2010 +0100

    More autotranslated strings.

-----------------------------------------------------------------------

Summary of changes:
 output/cs/Documentation.html |   16 ++++++++--------
 po/cs.po                     |   20 ++++++++------------
 scripts/auto-translate-cs.py |    9 +++++++++
 3 files changed, 25 insertions(+), 20 deletions(-)

diff --git a/output/cs/Documentation.html b/output/cs/Documentation.html
index 2410bf3..63e5b6e 100644
--- a/output/cs/Documentation.html
+++ b/output/cs/Documentation.html
@@ -1248,7 +1248,7 @@ detecting IP address behind proxies.
     <dt id="servers_allowdeny_rules">
         <span
 id="cfg_Servers_AllowDeny_rules">$cfg['Servers'][$i]['AllowDeny']['rules']</span>
-array of strings
+pole textů
     </dt>
     <dd>The general format for the rules is as such:
 
@@ -2239,7 +2239,7 @@ this by setting this variable to <tt>'none'</tt>.
     </dd>
 
     <dt id="cfg_SQP_fmtInd">$cfg['SQP']['fmtInd'] float<br />
-        <span id="cfg_SQP">$cfg['SQP']['fmtIndUnit']</span> string
+        <span id="cfg_SQP">$cfg['SQP']['fmtIndUnit']</span> text
 [<tt>em</tt>|<tt>px</tt>|<tt>pt</tt>|<tt>ex</tt>]</dt>
     <dd>For the pretty-printing of <abbr title="structured query
 language">SQL</abbr> queries, under some cases the part of a query inside a
@@ -2629,7 +2629,7 @@ Questions">FAQ</abbr> 1.1</a> entry about PHP bugs with output buffering.<br />
 support groups.</p>
 
 <h4 id="faq1_3">
-    <a href="#faq1_3">1.3 (withdrawn).</a></h4>
+    <a href="#faq1_3">1.3 (staženo).</a></h4>
 
 <h4 id="faq1_4">
     <a href="#faq1_4">1.4 Using phpMyAdmin on <abbr title="Internet Information
@@ -2692,7 +2692,7 @@ enable uploads of files while being reasonably secure:</p>
 </ul>
 
 <h4 id="faq1_9">
-    <a href="#faq1_9">1.9 (withdrawn).</a></h4>
+    <a href="#faq1_9">1.9 (staženo).</a></h4>
 
 <h4 id="faq1_10">
     <a href="#faq1_10">1.10 I'm having troubles when uploading files with
@@ -2725,10 +2725,10 @@ href="http://dev.mysql.com/doc/mysql/en/resetting-permissions.html"> reset
 the permissions</a>.</p>
 
 <h4 id="faq1_13">
-    <a href="#faq1_13">1.13 (withdrawn).</a></h4>
+    <a href="#faq1_13">1.13 (staženo).</a></h4>
 
 <h4 id="faq1_14">
-    <a href="#faq1_14">1.14 (withdrawn).</a></h4>
+    <a href="#faq1_14">1.14 (staženo).</a></h4>
 
 <h4 id="faq1_15">
     <a href="#faq1_15">1.15 I have problems with <i>mysql.user</i> column
@@ -2813,7 +2813,7 @@ Documentation</a>.
 </p>
 
 <h4 id="faq1_18">
-    <a href="#faq1_18">1.18 (withdrawn).</a></h4>
+    <a href="#faq1_18">1.18 (staženo).</a></h4>
 
 <h4 id="faq1_19">
     <a href="#faq1_19">1.19 I can't run the "display relations"
@@ -2869,7 +2869,7 @@ value of this directive using the query</p>
 <pre>SHOW VARIABLES LIKE 'lower_case_table_names';</pre>
 
 <h4 id="faq1_24">
-    <a href="#faq1_24">1.24 (withdrawn).</a></h4>
+    <a href="#faq1_24">1.24 (staženo).</a></h4>
 
 <h4 id="faq1_25">
     <a href="#faq1_25">1.25 I am running Apache with mod_gzip-1.3.26.1a on
diff --git a/po/cs.po b/po/cs.po
index 728ca30..ad1d809 100644
--- a/po/cs.po
+++ b/po/cs.po
@@ -1735,7 +1735,7 @@ msgstr ""
 #. type: Content of: <html><body><div><dl><dt>
 #: orig-docs/Documentation.html:1229
 msgid "<span id=\"cfg_Servers_AllowDeny_rules\">$cfg['Servers'][$i]['AllowDeny']['rules']</span> array of strings"
-msgstr ""
+msgstr "<span id=\"cfg_Servers_AllowDeny_rules\">$cfg['Servers'][$i]['AllowDeny']['rules']</span> pole textů"
 
 #. type: Content of: <html><body><div><dl><dd>
 #: orig-docs/Documentation.html:1231
@@ -3652,7 +3652,7 @@ msgstr "$cfg['SQP']['fmtInd'] float"
 #. type: Content of: <html><body><div><dl><dt>
 #: orig-docs/Documentation.html:2206
 msgid "<span id=\"cfg_SQP\">$cfg['SQP']['fmtIndUnit']</span> string [<tt>em</tt>|<tt>px</tt>|<tt>pt</tt>|<tt>ex</tt>]"
-msgstr ""
+msgstr "<span id=\"cfg_SQP\">$cfg['SQP']['fmtIndUnit']</span> text [<tt>em</tt>|<tt>px</tt>|<tt>pt</tt>|<tt>ex</tt>]"
 
 #. type: Content of: <html><body><div><dl><dd>
 #: orig-docs/Documentation.html:2207
@@ -4394,9 +4394,8 @@ msgstr ""
 
 #. type: Content of: <html><body><div><h4>
 #: orig-docs/Documentation.html:2589
-#, fuzzy
 msgid "<a href=\"#faq1_3\">1.3 (withdrawn).</a>"
-msgstr "<a href=\"#faq1_31\">1.31 Podporuje phpMyAdmin PHP 5?</a>"
+msgstr "<a href=\"#faq1_3\">1.3 (staženo).</a>"
 
 #. type: Content of: <html><body><div><h4>
 #: orig-docs/Documentation.html:2592
@@ -4480,9 +4479,8 @@ msgstr ""
 
 #. type: Content of: <html><body><div><h4>
 #: orig-docs/Documentation.html:2653
-#, fuzzy
 msgid "<a href=\"#faq1_9\">1.9 (withdrawn).</a>"
-msgstr "<a href=\"#faq1_31\">1.31 Podporuje phpMyAdmin PHP 5?</a>"
+msgstr "<a href=\"#faq1_9\">1.9 (staženo).</a>"
 
 #. type: Content of: <html><body><div><h4>
 #: orig-docs/Documentation.html:2656
@@ -4527,15 +4525,13 @@ msgstr ""
 
 #. type: Content of: <html><body><div><h4>
 #: orig-docs/Documentation.html:2685
-#, fuzzy
 msgid "<a href=\"#faq1_13\">1.13 (withdrawn).</a>"
-msgstr "<a href=\"#faq1_31\">1.31 Podporuje phpMyAdmin PHP 5?</a>"
+msgstr "<a href=\"#faq1_13\">1.13 (staženo).</a>"
 
 #. type: Content of: <html><body><div><h4>
 #: orig-docs/Documentation.html:2688
-#, fuzzy
 msgid "<a href=\"#faq1_14\">1.14 (withdrawn).</a>"
-msgstr "<a href=\"#faq1_31\">1.31 Podporuje phpMyAdmin PHP 5?</a>"
+msgstr "<a href=\"#faq1_14\">1.14 (staženo).</a>"
 
 #. type: Content of: <html><body><div><h4>
 #: orig-docs/Documentation.html:2691
@@ -4615,7 +4611,7 @@ msgstr ""
 #. type: Content of: <html><body><div><h4>
 #: orig-docs/Documentation.html:2770
 msgid "<a href=\"#faq1_18\">1.18 (withdrawn).</a>"
-msgstr ""
+msgstr "<a href=\"#faq1_18\">1.18 (staženo).</a>"
 
 #. type: Content of: <html><body><div><h4>
 #: orig-docs/Documentation.html:2773
@@ -4702,7 +4698,7 @@ msgstr ""
 #. type: Content of: <html><body><div><h4>
 #: orig-docs/Documentation.html:2826
 msgid "<a href=\"#faq1_24\">1.24 (withdrawn).</a>"
-msgstr ""
+msgstr "<a href=\"#faq1_24\">1.24 (staženo).</a>"
 
 #. type: Content of: <html><body><div><h4>
 #: orig-docs/Documentation.html:2829
diff --git a/scripts/auto-translate-cs.py b/scripts/auto-translate-cs.py
index 12ddf33..8680e86 100755
--- a/scripts/auto-translate-cs.py
+++ b/scripts/auto-translate-cs.py
@@ -8,16 +8,25 @@ import sys
 TYPES = {
     'integer': u'číslo',
     'string': 'text',
+    'string [<tt>em</tt>|<tt>px</tt>|<tt>pt</tt>|<tt>ex</tt>]': 'text [<tt>em</tt>|<tt>px</tt>|<tt>pt</tt>|<tt>ex</tt>]',
     'string or integer': u'text nebo číslo',
     'boolean': 'boolean',
     'array': 'pole',
     'string [CSS color for background]': u'text [CSS barva pro pozadí]',
     'string [CSS color]': u'text [CSS barva]',
+    'array of strings': u'pole textů',
 }
 
 po = polib.pofile('po/cs.po')
 
 for entry in po:
+    if entry.msgid[:13] == '<a href="#faq' and entry.msgid[-16:] == '(withdrawn).</a>':
+        entry.msgstr = u'%s(staženo).</a>' % (entry.msgid[:-16])
+        try:
+            entry.flags.remove('fuzzy')
+        except ValueError:
+            pass
+        continue
     for t in TYPES:
         l = len(t)
         if entry.msgid[:6] == "$cfg['":


hooks/post-receive
-- 
phpMyAdmin localized documentation




More information about the Git mailing list