[PATCH 2/2] mark say.c messages for translation

Andrei Kholodnyi andrei.kholodnyi at gmail.com
Sun Dec 5 12:40:58 CET 2010


On Sat, Dec 4, 2010 at 9:32 PM, William Hubbs <w.d.hubbs at gmail.com> wrote:
> Second, though, some of the strings that are marked should not be such
> as the list of voice types and the list of punctuation modes.  You don't
> want the arguments to the options to be translated.

You mean this
+    printf(_("Set the prefered voice type\n"
           "                               (male1, male2, male3,
female1, female2\n"
+           "\t\t\t\tfemale3, child_male, child_female)\n"));

should be split as
+    printf(_("Set the prefered voice type\n"));
+    printf("                               (male1, male2, male3,
female1, female2\n"
+           "\t\t\t\tfemale3, child_male, child_female)\n");

and also this:
+    printf(_("Set the punctuation mode (none, some, all) \n"));
as
+    printf(_("Set the punctuation mode ));
+    print("(none, some, all) \n");

I'm curious how do you want to split this:
+    printf(_("Set SSML mode on (default: off)\n"));
like
+    printf(_("Set )); printf("SSML "); printf(_("mode")); printf("on
("); printf(_("default: )); printf("off)\n");



More information about the Speechd mailing list