[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] Adding some more german translations

From: Sven Mueller <sm_at_leogic.com>
Date: 2004-06-28 23:32:03 CEST

Lübbe Onken schrieb:

> Sven Mueller wrote:
>
>>> I added some more german translations (will probably do more
>>> tomorrow), fixing one or the other orthographic mistake. The diff is
>>> attached.
>
> thanks for your patch. I'll review it.

Thanks for fixing the typos. I always get confused with "Algorythmus"
(wrong) vs. "Algorithmus" (right). Also some cases were wrong. Nice
catch ;-)

However, there is one mistake which slipped through:

---------------- cut here ---------------------------
Index: de.po
===================================================================
--- de.po (revision 10093)
+++ de.po (working copy)
@@ -3246,7 +3246,7 @@

  #: libsvn_fs_fs/fs_fs.c:1340
  msgid "svndiff requested position beyond end of stream."
-msgstr "svndiff verlangte Positions ist jenseits des Datenstromendes"
+msgstr "svndiff verlangte Position jenseits des Datenstromendes"

  #: libsvn_fs_fs/fs_fs.c:1362
  msgid "svndiff window length is corrupt"
---------------- cut here ---------------------------

An alternativ translation could be "Die von svndiff verlangte Position
ist jenseits des Datenstromendes". If you prefer "Datenstrom" over
"Strom" for "stream", you might want to add that translation to the
little dictionary.

>> Anyway, is there a convenient tool to work on this translations? If
>> so, where can I get it (preferably for windows*)?
>
> take a look at poEdit http://poedit.sourceforge.net

Thanks. Nice one.

However: msgmerge told me there are 5 obsolete translations in de.po vs.
the current subversion.pot file. Are those going to stay in the file?
<10 Minutes later>
Wait, those are not obsolete, just a bit obfuscated by the fact that the
N_ is on a different line than the opening bracket. (Found in
clients/cmdline/main.c and svnadmin/main.c) This made my (cygwin)
xgettext not find them (*), at least not with the default Parameters as
passed from the Makefile.

The diff for that, is here:

---------------- cut here ---------------------------
Index: subversion/svnadmin/main.c
===================================================================
--- subversion/svnadmin/main.c (revision 10093)
+++ subversion/svnadmin/main.c (working copy)
@@ -242,8 +242,8 @@
       {svnadmin__bdb_txn_nosync, svnadmin__bdb_log_keep,
        svnadmin__config_dir, svnadmin__fs_type} },

- {"deltify", subcommand_deltify, {0}, N_
- ("usage: svnadmin deltify [-r LOWER[:UPPER]] REPOS_PATH\n\n"
+ {"deltify", subcommand_deltify, {0},
+ N_("usage: svnadmin deltify [-r LOWER[:UPPER]] REPOS_PATH\n\n"
        "Run over the requested revision range, performing predecessor
delti-\n"
        "fication on the paths changed in those revisions.
Deltification in\n"
        "essence compresses the repository by only storing the
differences or\n"
@@ -251,8 +251,8 @@
        "this will simply deltify the HEAD revision.\n"),
       {'r', 'q'} },

- {"dump", subcommand_dump, {0}, N_
- ("usage: svnadmin dump REPOS_PATH [-r LOWER[:UPPER]]
[--incremental]\n\n"
+ {"dump", subcommand_dump, {0},
+ N_("usage: svnadmin dump REPOS_PATH [-r LOWER[:UPPER]]
[--incremental]\n\n"
        "Dump the contents of filesystem to stdout in a 'dumpfile'\n"
        "portable format, sending feedback to stderr. Dump revisions\n"
        "LOWER rev through UPPER rev. If no revisions are given, dump
all\n"
Index: subversion/clients/cmdline/main.c
===================================================================
--- subversion/clients/cmdline/main.c (revision 10093)
+++ subversion/clients/cmdline/main.c (working copy)
@@ -70,8 +70,8 @@
      {"quiet", 'q', 0, N_("print as little as possible")},
      {"recursive", 'R', 0, N_("descend recursively")},
      {"non-recursive", 'N', 0, N_("operate on single directory only")},
- {"revision", 'r', 1, N_
- ("ARG (some commands also take ARG1:ARG2 range)\n"
+ {"revision", 'r', 1,
+ N_("ARG (some commands also take ARG1:ARG2 range)\n"
        " A revision argument can be one of:\n"
        " NUMBER revision number\n"
        " \"{\" DATE \"}\" revision at
start "
@@ -185,8 +185,8 @@
         "usage: cat TARGET...\n"),
      {'r', SVN_CL__AUTH_OPTIONS, svn_cl__config_dir_opt} },

- { "checkout", svn_cl__checkout, {"co"}, N_
- ("Check out a working copy from a repository.\n"
+ { "checkout", svn_cl__checkout, {"co"},
+ N_("Check out a working copy from a repository.\n"
       "usage: checkout URL... [PATH]\n"
       "\n"
       " Note: If PATH is omitted, the basename of the URL will be used
as\n"
@@ -558,8 +558,8 @@
         "directories.\n"),
      {svn_cl__targets_opt, 'R', 'q', svn_cl__config_dir_opt} },

- { "status", svn_cl__status, {"stat", "st"}, N_
- ("Print the status of working copy files and directories.\n"
+ { "status", svn_cl__status, {"stat", "st"},
+ N_("Print the status of working copy files and directories.\n"
       "usage: status [PATH...]\n"
       "\n"
       " With no args, print only locally modified items (no network
access).\n"
---------------- cut here ---------------------------

cu,
sven

*: My (cygwin) xgettext was unable to recognize those multi-line
concatenations of strings. Is that a general problem or just a problem
my version of xgettext (GNU gettext-tools 0.12.1) exposes?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jun 28 23:32:17 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.