gnokii-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: xgnokii patches to translate some strings


From: Pawel Kot
Subject: Re: xgnokii patches to translate some strings
Date: Fri, 30 Dec 2005 01:01:54 +0100

Applied, thanks.

p.

2005/12/29, Daniele Forsi <address@hidden>:
> 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
>
>
> _______________________________________________
> gnokii-users mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/gnokii-users
>


--
Pawel Kot
http://www.gnokii.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]