[Gnucash-changes] r12258 - gnucash/trunk/src - String i18n improvements.

Christian Stimming cstim at cvs.gnucash.org
Wed Jan 4 16:54:11 EST 2006


Author: cstim
Date: 2006-01-04 16:54:10 -0500 (Wed, 04 Jan 2006)
New Revision: 12258
Trac: http://svn.gnucash.org/trac/changeset/12258

Modified:
   gnucash/trunk/src/gnome/gnc-plugin-basic-commands.c
   gnucash/trunk/src/report/report-gnome/dialog-style-sheet.c
Log:
String i18n improvements.

Modified: gnucash/trunk/src/gnome/gnc-plugin-basic-commands.c
===================================================================
--- gnucash/trunk/src/gnome/gnc-plugin-basic-commands.c	2006-01-04 17:25:26 UTC (rev 12257)
+++ gnucash/trunk/src/gnome/gnc-plugin-basic-commands.c	2006-01-04 21:54:10 UTC (rev 12258)
@@ -94,10 +94,10 @@
     N_("Create a new file"),
     G_CALLBACK (gnc_main_window_cmd_file_new) },
   { "FileOpenAction", GTK_STOCK_OPEN, N_("_Open..."), NULL,
-    NULL,
+    N_("Open an existing GnuCash file"),
     G_CALLBACK (gnc_main_window_cmd_file_open) },
   { "FileSaveAction", GTK_STOCK_SAVE, N_("_Save"), "<control>s",
-    NULL,
+    N_("Save the current file"),
     G_CALLBACK (gnc_main_window_cmd_file_save) },
   { "FileSaveAsAction", GTK_STOCK_SAVE_AS, N_("Save _As..."), "<shift><control>s",
     NULL,
@@ -361,7 +361,7 @@
   g_return_if_fail (data != NULL);
 
   gnc_window_set_progressbar_window(GNC_WINDOW(data->window));
-  file_select = gtk_file_selection_new("Select the QSF file to import into GnuCash");
+  file_select = gtk_file_selection_new(_("Select the QSF file to import into GnuCash"));
   g_signal_connect (G_OBJECT (GTK_FILE_SELECTION (file_select)->ok_button),
 		    "clicked", G_CALLBACK (qsf_file_select_ok), (gpointer) file_select);
   g_signal_connect_swapped (G_OBJECT (GTK_FILE_SELECTION (file_select)->cancel_button),

Modified: gnucash/trunk/src/report/report-gnome/dialog-style-sheet.c
===================================================================
--- gnucash/trunk/src/report/report-gnome/dialog-style-sheet.c	2006-01-04 17:25:26 UTC (rev 12257)
+++ gnucash/trunk/src/report/report-gnome/dialog-style-sheet.c	2006-01-04 21:54:10 UTC (rev 12258)
@@ -107,7 +107,7 @@
     GtkWidget      * window;
     gchar          * title;
 
-    title = g_strdup_printf("HTML Style Sheet Properties: %s", name);
+    title = g_strdup_printf(_("HTML Style Sheet Properties: %s"), name);
     ssinfo->odialog = gnc_options_dialog_new(title);
     ssinfo->odb     = gnc_option_db_new(scm_options);
     ssinfo->stylesheet = sheet_info;



More information about the gnucash-changes mailing list