t...localize the currency prefix setting as well. - vaccinewars - be a doctor and try to vaccinate the world
(HTM) git clone git://src.adamsgaard.dk/vaccinewars
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 85e9aeba0c7615ca973161f5282d4d4f570af00f
(DIR) parent 7669bac75b549a9dbdad4686686c0c24dd058c26
(HTM) Author: Ben Webb <ben@salilab.org>
Date: Mon, 29 Jul 2002 14:44:05 +0000
...localize the currency prefix setting as well.
Diffstat:
M src/dopewars.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
---
(DIR) diff --git a/src/dopewars.c b/src/dopewars.c
t@@ -2319,8 +2319,12 @@ void SetupParameters(void)
Log.Timestamp = g_strdup("[%H:%M:%S] ");
Log.File = g_strdup("");
+ /* The currency symbol */
Currency.Symbol = g_strdup(_("$"));
- Currency.Prefix = TRUE;
+ Currency.Prefix = (strcmp("Currency.Prefix=TRUE",
+ /* Translate this to "Currency.Prefix=FALSE" if you want your currency
+ * symbol to follow all prices. */
+ _("Currency.Prefix=TRUE")) == 0);
/* Set hard-coded default values */
g_free(ServerName);