[Freeciv-Dev] (PR#10099) extra_help i18n
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: |
undisclosed-recipients: ; |
Subject: |
[Freeciv-Dev] (PR#10099) extra_help i18n |
From: |
"Mateusz Stefek" <mstefek@xxxxxxxxx> |
Date: |
Tue, 14 Sep 2004 04:19:01 -0700 |
Reply-to: |
rt@xxxxxxxxxxx |
<URL: http://rt.freeciv.org/Ticket/Display.html?id=10099 >
currently option's extra_help can not be i18n-ed on the client side,
because it's modified before sending it.
IMO it's unnecessary.
This patch fixes it.
--
mateusz
? civgame-3700.sav.gz
? civgame-3950.sav.gz
Index: stdinhand.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/server/stdinhand.c,v
retrieving revision 1.347
diff -u -r1.347 stdinhand.c
--- stdinhand.c 10 Sep 2004 21:20:53 -0000 1.347
+++ stdinhand.c 14 Sep 2004 11:17:01 -0000
@@ -1614,13 +1614,7 @@
packet.id = s++;
sz_strlcpy(packet.name, settings[i].name);
sz_strlcpy(packet.short_help, settings[i].short_help);
-
- /* append extra help */
- sz_strlcpy(packet.extra_help, settings[i].name);
- if (settings[i].extra_help[0] != '\0') {
- sz_strlcat(packet.extra_help, "\n\n");
- sz_strlcat(packet.extra_help, settings[i].extra_help);
- }
+ sz_strlcpy(packet.extra_help, settings[i].extra_help);
packet.category = settings[i].category;
packet.type = settings[i].type;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] (PR#10099) extra_help i18n,
Mateusz Stefek <=
|
|