Localization of user replies
From: Norbert Unterberg <nepo_at_gmx.net>
Date: 2004-12-05 20:13:21 CET
While doing some polishing work on the German translation, I noticed
Example: in clients/cmdline/prompt.c:297 subversion asks the user:
Here my suggestion:
const char *replies = _("RrTtPp"); /* allow l10n */
...
svn_stringbuf_appendcstr
(buf, _("(R)eject, accept (t)emporarily or accept (p)ermanently? "));
...
SVN_ERR (prompt (&choice, buf->data, FALSE, ctx, pool));
if (choice && (choice[0] == replies[2] || choice[0] == replies[3]))
{ ... }
else if (may_save && choice && (choice[0] == replies[4] || choice[0] == replies[5]))
{ ... }
The person working on the translation would then translate the question
What do you think?
Norbert
---------------------------------------------------------------------
|
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.