[Goodies-commits] r5074 - in xfburn/trunk: . xfburn
Mario Danic
mario at xfce.org
Mon Jul 14 13:34:30 CEST 2008
Author: mario
Date: 2008-07-14 11:34:30 +0000 (Mon, 14 Jul 2008)
New Revision: 5074
Modified:
xfburn/trunk/CONTRIBUTORS
xfburn/trunk/xfburn/xfburn-blank-dialog.c
Log:
Made blanking modes translatable
Modified: xfburn/trunk/CONTRIBUTORS
===================================================================
--- xfburn/trunk/CONTRIBUTORS 2008-07-14 09:38:09 UTC (rev 5073)
+++ xfburn/trunk/CONTRIBUTORS 2008-07-14 11:34:30 UTC (rev 5074)
@@ -1 +1,2 @@
Jérôme Guelfucci (resizable column patch, see bug #2930)
+Jari Rahkonen (translatable blanking modes, see bug #4223)
Modified: xfburn/trunk/xfburn/xfburn-blank-dialog.c
===================================================================
--- xfburn/trunk/xfburn/xfburn-blank-dialog.c 2008-07-14 09:38:09 UTC (rev 5073)
+++ xfburn/trunk/xfburn/xfburn-blank-dialog.c 2008-07-14 11:34:30 UTC (rev 5074)
@@ -68,12 +68,12 @@
} XfburnBlankMode;
static char * blank_mode_names[] = {
- "Blank Fast",
- "Blank Complete (slow)",
- "Format Fast",
- "Format Complete",
- "Deformat Fast",
- "Deformat Complete",
+ N_("Blank Fast"),
+ N_("Blank Complete (slow)"),
+ N_("Format Fast"),
+ N_("Format Complete"),
+ N_("Deformat Fast"),
+ N_("Deformat Complete"),
};
enum {
@@ -266,7 +266,7 @@
GtkTreeIter iter;
gtk_list_store_append (GTK_LIST_STORE (model), &iter);
- gtk_list_store_set (GTK_LIST_STORE (model), &iter, BLANK_COMBO_NAME_COLUMN, blank_mode_names[mode], BLANK_COMBO_MODE_COLUMN, mode, -1);
+ gtk_list_store_set (GTK_LIST_STORE (model), &iter, BLANK_COMBO_NAME_COLUMN, _(blank_mode_names[mode]), BLANK_COMBO_MODE_COLUMN, mode, -1);
n++;
}
mode++;
More information about the Goodies-commits
mailing list