t"Bank" was hardcoded into the GTK+ client in a few places; fixed - 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 9ec3cd5bb22ee5d1e5044aa528385fc73903e0e4
(DIR) parent c36a6062e5142238abd0af130b29d954e7c2b0dd
(HTM) Author: Ben Webb <ben@salilab.org>
Date: Fri, 12 Oct 2001 21:59:03 +0000
"Bank" was hardcoded into the GTK+ client in a few places; fixed
Diffstat:
M src/gtk_client.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
(DIR) diff --git a/src/gtk_client.c b/src/gtk_client.c
t@@ -2455,14 +2455,14 @@ static void TransferOK(GtkWidget *widget,GtkWidget *dialog) {
money=-money;
}
if (-money>ClientData.Play->Bank) {
- GtkMessageBox(dialog,_("There isn't that much money in the bank..."),
- "Bank",MB_OK);
+ GtkMessageBox(dialog,_("There isn't that much money available..."),
+ Names.BankName,MB_OK);
return;
}
}
if (money>ClientData.Play->Cash) {
GtkMessageBox(dialog,_("You don't have that much money!"),
- Debt ? "Pay loan" : "Bank",MB_OK);
+ Debt ? Names.LoanSharkName : Names.BankName,MB_OK);
return;
}
text=pricetostr(money);
t@@ -2489,7 +2489,7 @@ void TransferDialog(gboolean Debt) {
} else {
/* Title of bank dialog - (%Tde="The Bank" by default) */
dpg_string_sprintf(text,_("%/BankName window title/%Tde"),
- Names.LoanSharkName);
+ Names.BankName);
}
gtk_window_set_title(GTK_WINDOW(dialog),text->str);
gtk_container_set_border_width(GTK_CONTAINER(dialog),7);