Package: lincity
Version: 1.13.1
Severity: minor
Tags: l10n patch


Hi,

while translating »lincity« to german, I've found some typos. To fix them, I've attached a patch.

Here some other possible improvements:

a)
> #: cliglobs.c:56
> msgid "Jan"

You can find the months in glibc with strftime %b.

b)
Some strings are divided into two parts. That's difficult for translators.

c)
You've used different abbreviations for some words, e.g. »firestation« --> »fire stn« »fire sta'n«. IMO it's better use it consistent. If the reason for this abbreviation is the length of the field, theres a note for the translators missing, which max length is possible for the translated strings.

d)
There are some strings that contain only other already translated strings , e.g.

#: main.c:772
#, c-format
msgid "    Residences %4d         Markets %4d            Farms %4d\n"

Is it possible to combine them?

e)
Please add a comment for translators here:
> #: screen.c:1854
> #, c-format
> msgid "%s%5.1f MINS/year  V %s"

It's not clear, what MIN means here. See also:

#. TRANSLATORS:
#. MIN=Mining, PRT=Import/export from port,
#. MNY=Money, POP=Population, TEC=Technology,
#. FIR=Fire coverage
#.
#: screen.c:2464
msgid "MIN"

f)
#: modules/monument.c:73
#, c-format
msgid "% Complete"

ist interpreted by gettext(). In the german translation (% vollständig), msgfmt -cv produces an error (% v is not a valid format string)

Can you mask the character »%« (%%)?


Regards,
Chris


diff -ru lincity-1.13.1.orig//engine.c lincity-1.13.1/engine.c
--- lincity-1.13.1.orig//engine.c	2010-04-24 09:37:28.000000000 +0200
+++ lincity-1.13.1/engine.c	2010-04-24 09:42:28.000000000 +0200
@@ -717,9 +717,9 @@
       else if (MP_GROUP(x,y) == GROUP_POTTERY)
 	ok_dial_box ("fire.mes", BAD, _("It's at a pottery."));
       else if (MP_GROUP(x,y) == GROUP_FIRESTATION)
-	ok_dial_box ("fire.mes", BAD, _("It's at a fire station!!!."));
+	ok_dial_box ("fire.mes", BAD, _("It's at a fire station!."));
       else if (MP_GROUP(x,y) == GROUP_CRICKET)
-	ok_dial_box ("fire.mes", BAD, _("It's at a cricket pitch!!!."));
+	ok_dial_box ("fire.mes", BAD, _("It's at a cricket pitch!."));
       else if (MP_GROUP(x,y) == GROUP_SHANTY)
 	ok_dial_box ("fire.mes", BAD, _("It's at a shanty town."));
       else
diff -ru lincity-1.13.1.orig//ldsvgui.c lincity-1.13.1/ldsvgui.c
--- lincity-1.13.1.orig//ldsvgui.c	2010-04-24 09:37:24.000000000 +0200
+++ lincity-1.13.1/ldsvgui.c	2010-04-24 09:39:28.000000000 +0200
@@ -202,7 +202,7 @@
     Fgl_fillbox (mw->x, mw->y, mw->w, mw->h, LOAD_BG_COLOUR);
     Fgl_setfontcolors (LOAD_BG_COLOUR, TEXT_FG_COLOUR);
     Fgl_write (mw->x + 80, mw->y + 4*8, _("Transport overwrite"));
-    Fgl_write (mw->x + 80, mw->y + 6*8, _("Popup info to dialog boxes"));
+    Fgl_write (mw->x + 80, mw->y + 6*8, _("Pop-up info to dialog boxes"));
     Fgl_write (mw->x + 80, mw->y + 8*8, _("Time multiplexed stats windows"));
 #if defined (LC_X11)
     Fgl_write (mw->x + 80, mw->y + 10*8, _("Confine X pointer"));
diff -ru lincity-1.13.1.orig//main.c lincity-1.13.1/main.c
--- lincity-1.13.1.orig//main.c	2010-04-24 09:37:24.000000000 +0200
+++ lincity-1.13.1/main.c	2010-04-24 09:44:48.000000000 +0200
@@ -672,7 +672,7 @@
 #if defined (WIN32)
 	DisableWindowsMenuItems ();
 #endif
-	if (yn_dial_box (_("Quit The Game?")
+	if (yn_dial_box (_("Quit the game?")
 			 ,_("Do you really want to quit?")
 			 ,_("If you want to save the game select NO.")
 			 ,""     /* GCS: This can't be translated!. */
diff -ru lincity-1.13.1.orig//screen.c lincity-1.13.1/screen.c
--- lincity-1.13.1.orig//screen.c	2010-04-24 09:37:26.000000000 +0200
+++ lincity-1.13.1/screen.c	2010-04-24 09:41:06.000000000 +0200
@@ -860,7 +860,7 @@
     if (mini_screen_flags == MINI_SCREEN_COAL_FLAG && !coal_survey_done) {
 	if (yn_dial_box (_("Coal survey"),
 			 _("This will cost you 1 million"),
-			 _("After that it's is free to call again"),
+			 _("After that it's free to call again"),
 			 _("Do coal survey?")) == 0)
 	{
 	    return;
@@ -1163,7 +1163,7 @@
     Rect* mm = &scr.mini_map;
 
     mini_screen_flags = MINI_SCREEN_CRICKET_COVER;
-    draw_ms_text (_("Crickt cover"));
+    draw_ms_text (_("Cricket cover"));
     draw_ms_button (ms_cricket_cover_button_graphic);
     for (y = 0; y < WORLD_SIDE_LEN; y++) {
 	for (x = 0; x < WORLD_SIDE_LEN; x++) {

Reply via email to