[project @ 2004-11-04 21:13:36 by jmb]

Lose nasty hard-coded strings

svn path=/import/netsurf/; revision=1346
This commit is contained in:
John Mark Bell 2004-11-04 21:13:36 +00:00
parent 6c513fe32d
commit 15b83b6cf1
4 changed files with 18 additions and 3 deletions

View File

@ -142,6 +142,10 @@ DownloadU:%s von unbekannt
Downloaded:%s komplett <20> etwa %s/s <20> gesamt %s
Unwritten:Schreiben der Datei ist fehlgeschlagen.
# Print dialog
PrintSheetFilled:sheet is filled
PrintSheetsFilled:sheets are filled
# Forms
Form_Submit:Übertragen
Form_Reset:Reset

View File

@ -142,6 +142,10 @@ DownloadU:%s of unknown
Downloaded:%s complete <20> average %s/s <20> %s total
Unwritten:Writing data to file failed.
# Print dialog
PrintSheetFilled:sheet is filled
PrintSheetsFilled:sheets are filled
# Forms
Form_Submit:Submit
Form_Reset:Reset

View File

@ -142,6 +142,10 @@ DownloadU:%s sur inconnu
Downloaded:%s effectués <20> moyenne %s/s <20> %s total
Unwritten:L'écriture de données dans le fichier a échoué.
# Print dialog
PrintSheetFilled:sheet is filled
PrintSheetsFilled:sheets are filled
# Forms
Form_Submit:Soumettre
Form_Reset:Effacer

View File

@ -99,7 +99,8 @@ void ro_gui_print_open(struct gui_window *g, int x, int y, bool sub_menu, bool k
ro_gui_set_icon_selected_state(dialog_print, ICON_PRINT_SHEETS, false);
ro_gui_set_icon_integer(dialog_print, ICON_PRINT_SHEETS_VALUE, 1);
ro_gui_set_icon_string(dialog_print, ICON_PRINT_SHEETS_TEXT, "sheet is filled");
ro_gui_set_icon_string(dialog_print, ICON_PRINT_SHEETS_TEXT,
messages_get("PrintSheetFilled"));
print_update_sheets_shaded_state(true);
ro_gui_set_icon_selected_state(dialog_print, ICON_PRINT_FG_IMAGES, true);
@ -199,9 +200,11 @@ void ro_gui_print_click(wimp_pointer *pointer)
sheets = 99;
ro_gui_set_icon_integer(dialog_print, ICON_PRINT_SHEETS_VALUE, sheets);
if (sheets > 1)
ro_gui_set_icon_string(dialog_print, ICON_PRINT_SHEETS_TEXT, "sheets are filled");
ro_gui_set_icon_string(dialog_print, ICON_PRINT_SHEETS_TEXT,
messages_get("PrintSheetsFilled"));
else
ro_gui_set_icon_string(dialog_print, ICON_PRINT_SHEETS_TEXT, "sheet is filled");
ro_gui_set_icon_string(dialog_print, ICON_PRINT_SHEETS_TEXT,
messages_get("PrintSheetFilled"));
}
/**