[PATCH 1 of 3 i18n] i18n: do not translate rst syntax .. note::

Simon Heimberg simohe at besonet.ch
Mon Jan 27 20:29:55 CST 2014


# HG changeset patch
# User Simon Heimberg <simohe at besonet.ch>
# Date 1390404876 -3600
# Branch stable
# Node ID 69f06a60580dcee58886dc1e307bbeebf27cca97
# Parent  427d672c0e4e07642d2400a28946cefde11e04ff
i18n: do not translate rst syntax .. note::

.. note:: is rst syntax which must not be translated. Fix this in the
translations.

This is not the first time this happens, so there should be a note for the
translator. A later patch will change the generation of the po files to
write this automatically.
A test in i18n/check-translation.py could help as well.

diff -r 427d672c0e4e -r 69f06a60580d i18n/ro.po
--- a/i18n/ro.po	Son Nov 24 02:17:17 2013 +0100
+++ b/i18n/ro.po	Mit Jan 22 16:34:36 2014 +0100
@@ -7865,7 +7865,7 @@
 "       default to comparing against the working directory's first\n"
 "       parent changeset if no revisions are specified."
 msgstr ""
-"    Notă:\n"
+"    .. note::\n"
 "      `diff` poate genera afișaj diff neașteptat pentru seturi\n"
 "      de modificări de fuziune, deoarece va compara setul de modificări de\n"
 "      fuziune doar cu primul părinte, dacă nu se specifică nicio revizie."
@@ -7915,7 +7915,7 @@
 "       changesets, as it will compare the merge changeset against its\n"
 "       first parent only."
 msgstr ""
-"    Notă:\n"
+"    .. note::\n"
 "      `export` poate genera afișaj diff neașteptat pentru seturi\n"
 "      de modificări de fuziune, deoarece va compara setul de modificări de\n"
 "      fuziune doar cu primul părinte."
@@ -8628,7 +8628,7 @@
 "       its first parent. Also, only files different from BOTH parents\n"
 "       will appear in files:."
 msgstr ""
-"    Notă:\n"
+"    .. note::\n"
 "      `log -p/--patch` poate genera afișaj diff neașteptat pentru seturi\n"
 "      de modificări de fuziune, deoarece va compara setul de modificări de\n"
 "      fuziune doar cu primul părinte. De asemenea, doar fișierele diferite\n"
@@ -9601,7 +9601,7 @@
 "       not report permission changes and diff only reports changes\n"
 "       relative to one merge parent."
 msgstr ""
-"    Notă:\n"
+"    .. note::\n"
 "       `status` poate apărea în dezacord cu `diff` dacă s-au\n"
 "       modificat permisiuni sau a avut loc o fuziune. Formatul\n"
 "       diff standard nu raportează modificările permisiunilor,\n"
diff -r 427d672c0e4e -r 69f06a60580d i18n/sv.po
--- a/i18n/sv.po	Son Nov 24 02:17:17 2013 +0100
+++ b/i18n/sv.po	Mit Jan 22 16:34:36 2014 +0100
@@ -11574,7 +11574,6 @@
 "       To cancel an uncommitted merge (and lose your changes), use\n"
 "       :hg:`update --clean .`."
 msgstr ""
-"    .. note::\n"
 "       För att hämta ut tidigare revisioner, använd :hg:`update REV`.\n"
 "       För att avbryta en oarkiverad sammanfogning (och bli av med alla\n"
 "        ändringar), använd :hg:`update --clean .`."


More information about the Mercurial-devel mailing list