[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
xgnokii patches to translate some strings
From: |
Daniele Forsi |
Subject: |
xgnokii patches to translate some strings |
Date: |
Thu, 29 Dec 2005 19:50:03 +0100 |
User-agent: |
Mozilla Thunderbird 1.0.7 (X11/20050923) |
I've spotted some strings in xgnokii_contacts.c and xgnokii_dtmf.c that
need translation
Index: xgnokii_contacts.c
===================================================================
RCS file: /sources/gnokii/gnokii/xgnokii/xgnokii_contacts.c,v
retrieving revision 1.64
diff -u -r1.64 xgnokii_contacts.c
--- xgnokii_contacts.c 10 Aug 2005 07:33:43 -0000 1.64
+++ xgnokii_contacts.c 29 Dec 2005 17:58:43 -0000
@@ -147,7 +147,7 @@
s = '*';
else
s = ' ';
- g_snprintf(statusInfo.text, STATUS_INFO_LENGTH, "SIM: %d/%d%c Phone:
%d/%d%c",
+ g_snprintf(statusInfo.text, STATUS_INFO_LENGTH, _("SIM: %d/%d%c
Phone: %d/%d%c"),
memoryStatus.UsedSM, memoryStatus.MaxSM, s,
memoryStatus.UsedME, memoryStatus.MaxME, p);
gtk_label_set_text(GTK_LABEL(statusInfo.label), statusInfo.text);
@@ -1082,7 +1082,7 @@
GtkWidget *button, *label, *hbox;
editSubEntriesData->dialog = gtk_dialog_new();
- gtk_window_set_title(GTK_WINDOW(editSubEntriesData->dialog), "Edit
subentries");
+ gtk_window_set_title(GTK_WINDOW(editSubEntriesData->dialog), _("Edit
subentries"));
gtk_window_set_modal(GTK_WINDOW(editSubEntriesData->dialog), TRUE);
gtk_container_set_border_width(GTK_CONTAINER(editSubEntriesData->dialog),
10);
gtk_signal_connect(GTK_OBJECT(editSubEntriesData->dialog),
"delete_event",
Index: xgnokii_dtmf.c
===================================================================
RCS file: /sources/gnokii/gnokii/xgnokii/xgnokii_dtmf.c,v
retrieving revision 1.13
diff -u -r1.13 xgnokii_dtmf.c
--- xgnokii_dtmf.c 10 Aug 2005 07:33:43 -0000 1.13
+++ xgnokii_dtmf.c 29 Dec 2005 18:06:14 -0000
@@ -311,12 +311,12 @@
gtk_table_attach_defaults(GTK_TABLE(table), button, 2, 3, 5, 6);
- button = gtk_button_new_with_label("Pause");
+ button = gtk_button_new_with_label(_("Pause"));
gtk_signal_connect(GTK_OBJECT(button), "clicked",
GTK_SIGNAL_FUNC(ButtonCB), (gpointer) 'p');
gtk_table_attach_defaults(GTK_TABLE(table), button, 0, 1, 6, 7);
- button = gtk_button_new_with_label("Wait");
+ button = gtk_button_new_with_label(_("Wait"));
gtk_signal_connect(GTK_OBJECT(button), "clicked",
GTK_SIGNAL_FUNC(ButtonCB), (gpointer) 'w');
gtk_table_attach_defaults(GTK_TABLE(table), button, 1, 2, 6, 7);
--
Daniele
- xgnokii patches to translate some strings,
Daniele Forsi <=