[Gnucash-changes] r11911 - gnucash/trunk - String improvements: Fix
typos, remove unnecessary spaces.
Christian Stimming
cstim at cvs.gnucash.org
Sat Nov 12 05:48:54 EST 2005
Author: cstim
Date: 2005-11-12 05:48:51 -0500 (Sat, 12 Nov 2005)
New Revision: 11911
Modified:
gnucash/trunk/ChangeLog
gnucash/trunk/src/backend/file/gnc-backend-file.c
gnucash/trunk/src/backend/file/io-gncbin-r.c
gnucash/trunk/src/gnome-utils/gnc-date-format.glade
gnucash/trunk/src/gnome-utils/gnc-file.c
gnucash/trunk/src/gnome-utils/gnc-gui-query.c
gnucash/trunk/src/gnome-utils/transfer.glade
gnucash/trunk/src/gnome/druid-acct-period.c
gnucash/trunk/src/gnome/glade/account.glade
gnucash/trunk/src/gnome/glade/budget.glade
gnucash/trunk/src/gnome/glade/commodities.glade
gnucash/trunk/src/gnome/glade/merge.glade
gnucash/trunk/src/gnome/glade/print.glade
gnucash/trunk/src/gnome/glade/sched-xact.glade
gnucash/trunk/src/gnome/glade/totd.glade
gnucash/trunk/src/import-export/hbci/glade/hbciprefs.glade
gnucash/trunk/src/import-export/qif/qif-parse.c
gnucash/trunk/src/report/report-gnome/report.glade
Log:
String improvements: Fix typos, remove unnecessary spaces.
Modified: gnucash/trunk/ChangeLog
===================================================================
--- gnucash/trunk/ChangeLog 2005-11-11 21:23:54 UTC (rev 11910)
+++ gnucash/trunk/ChangeLog 2005-11-12 10:48:51 UTC (rev 11911)
@@ -1,3 +1,8 @@
+2005-11-12 Christian Stimming <stimming at tuhh.de>
+
+ * src/*/*.glade: String improvements: Fix typos, remove
+ unnecessary spaces from translations.
+
2005-11-11 Christian Stimming <stimming at tuhh.de>
* po/*.po: Copy translations from old 1.8 branch to HEAD and merge
Modified: gnucash/trunk/src/backend/file/gnc-backend-file.c
===================================================================
--- gnucash/trunk/src/backend/file/gnc-backend-file.c 2005-11-11 21:23:54 UTC (rev 11910)
+++ gnucash/trunk/src/backend/file/gnc-backend-file.c 2005-11-12 10:48:51 UTC (rev 11911)
@@ -87,8 +87,8 @@
option = g_new0(QofBackendOption, 1);
option->option_name = GNC_BE_DAYS;
option->description = _("Number of days to retain old files");
- option->tooltip = _("GnuCash keeps backups of old files, "
- "this setting dictates how long each is kept");
+ option->tooltip = _("GnuCash keeps backups of old files. "
+ "This setting specifies how long each is kept.");
option->type = KVP_TYPE_GINT64;
option->value = (gpointer)&file_retention_days;
qof_backend_prepare_option(be, option);
Modified: gnucash/trunk/src/backend/file/io-gncbin-r.c
===================================================================
--- gnucash/trunk/src/backend/file/io-gncbin-r.c 2005-11-11 21:23:54 UTC (rev 11910)
+++ gnucash/trunk/src/backend/file/io-gncbin-r.c 2005-11-12 10:48:51 UTC (rev 11911)
@@ -505,6 +505,8 @@
/* create a lost account, put the missing accounts there */
acc = xaccMallocAccount(book);
xaccAccountBeginEdit (acc);
+ /* Translators: Name of the account where all the missing accounts
+ are put into. (FIXME: is this correct?) */
xaccAccountSetName (acc, _("Lost Accounts"));
acc -> children = holder;
xaccAccountCommitEdit (acc);
Modified: gnucash/trunk/src/gnome/druid-acct-period.c
===================================================================
--- gnucash/trunk/src/gnome/druid-acct-period.c 2005-11-11 21:23:54 UTC (rev 11910)
+++ gnucash/trunk/src/gnome/druid-acct-period.c 2005-11-12 10:48:51 UTC (rev 11911)
@@ -170,7 +170,7 @@
switch (info->close_status)
{
case -1: str = ""; break;
- case 0: str = _("The book was closed suscessfully\n"); break;
+ case 0: str = _("The book was closed successfully."); break;
default: str = "";
}
return str;
@@ -490,7 +490,11 @@
AcctPeriodInfo *info = user_data;
ENTER ("info=%p", info);
- msg = _("%s\nCongradulations! You are done closing books!");
+ /* Translation FIXME: Can this %s-containing message please be
+ replaced by one single message? Either this closing went
+ successfully ("success", "congratulations") or something else
+ should be displayed anyway. */
+ msg = _("%s\nCongratulations! You are done closing books!");
str = g_strdup_printf (msg, get_close_status_str (info));
gnome_druid_page_edge_set_text (druidpage, str);
Modified: gnucash/trunk/src/gnome/glade/account.glade
===================================================================
--- gnucash/trunk/src/gnome/glade/account.glade 2005-11-11 21:23:54 UTC (rev 11910)
+++ gnucash/trunk/src/gnome/glade/account.glade 2005-11-12 10:48:51 UTC (rev 11911)
@@ -138,7 +138,7 @@
<child>
<widget class="GtkLabel" id="label">
<property name="visible">True</property>
- <property name="label" translatable="yes"> </property>
+ <property name="label" translatable="no"> </property>
<property name="use_underline">False</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
@@ -617,7 +617,7 @@
<child>
<widget class="GtkLabel" id="label">
<property name="visible">True</property>
- <property name="label" translatable="yes"> </property>
+ <property name="label" translatable="no"> </property>
<property name="use_underline">False</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
@@ -641,7 +641,7 @@
<child>
<widget class="GtkLabel" id="label">
<property name="visible">True</property>
- <property name="label" translatable="yes"> </property>
+ <property name="label" translatable="no"> </property>
<property name="use_underline">False</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
@@ -689,7 +689,7 @@
<child>
<widget class="GtkLabel" id="label">
<property name="visible">True</property>
- <property name="label" translatable="yes"> </property>
+ <property name="label" translatable="no"> </property>
<property name="use_underline">False</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
@@ -1945,7 +1945,7 @@
<child>
<widget class="GtkComboBox" id="combobox1">
<property name="visible">True</property>
- <property name="items" translatable="yes">USD
+ <property name="items" translatable="no">USD
GBP
EUR</property>
</widget>
Modified: gnucash/trunk/src/gnome/glade/budget.glade
===================================================================
--- gnucash/trunk/src/gnome/glade/budget.glade 2005-11-11 21:23:54 UTC (rev 11910)
+++ gnucash/trunk/src/gnome/glade/budget.glade 2005-11-12 10:48:51 UTC (rev 11911)
@@ -929,7 +929,7 @@
<child>
<widget class="GtkLabel" id="label71">
<property name="visible">True</property>
- <property name="label" translatable="yes"> </property>
+ <property name="label" translatable="no"> </property>
<property name="use_underline">False</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
Modified: gnucash/trunk/src/gnome/glade/commodities.glade
===================================================================
--- gnucash/trunk/src/gnome/glade/commodities.glade 2005-11-11 21:23:54 UTC (rev 11910)
+++ gnucash/trunk/src/gnome/glade/commodities.glade 2005-11-12 10:48:51 UTC (rev 11911)
@@ -192,7 +192,7 @@
<child>
<widget class="GtkLabel" id="label1">
<property name="visible">True</property>
- <property name="label" translatable="yes"> </property>
+ <property name="label" translatable="no"> </property>
<property name="use_underline">False</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
Modified: gnucash/trunk/src/gnome/glade/merge.glade
===================================================================
--- gnucash/trunk/src/gnome/glade/merge.glade 2005-11-11 21:23:54 UTC (rev 11910)
+++ gnucash/trunk/src/gnome/glade/merge.glade 2005-11-12 10:48:51 UTC (rev 11911)
@@ -75,13 +75,11 @@
<child>
<widget class="GtkLabel" id="label2">
<property name="visible">True</property>
- <property name="label" translatable="yes">The next screen will allow you to resolve
-any conflicts in merging your new account
-tree into your current GnuCash file.</property>
+ <property name="label" translatable="yes">The next screen will allow you to resolve any conflicts in merging your new account tree into your current GnuCash file.</property>
<property name="use_underline">False</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_CENTER</property>
- <property name="wrap">False</property>
+ <property name="wrap">True</property>
<property name="selectable">False</property>
<property name="xalign">0.5</property>
<property name="yalign">0.5</property>
@@ -271,7 +269,7 @@
<property name="visible">True</property>
<property name="tooltip" translatable="yes">Add the import as a new object, leave original in place</property>
<property name="can_focus">True</property>
- <property name="label" translatable="yes">3. Import the data as a NEW object</property>
+ <property name="label" translatable="yes">3. Import the data as a NEW object</property>
<property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
Modified: gnucash/trunk/src/gnome/glade/print.glade
===================================================================
--- gnucash/trunk/src/gnome/glade/print.glade 2005-11-11 21:23:54 UTC (rev 11910)
+++ gnucash/trunk/src/gnome/glade/print.glade 2005-11-12 10:48:51 UTC (rev 11911)
@@ -890,7 +890,7 @@
<child>
<widget class="GtkLabel" id="label746">
<property name="visible">True</property>
- <property name="label" translatable="yes"> </property>
+ <property name="label" translatable="no"> </property>
<property name="use_underline">False</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_CENTER</property>
@@ -911,7 +911,7 @@
<child>
<widget class="GtkLabel" id="label747">
<property name="visible">True</property>
- <property name="label" translatable="yes"> </property>
+ <property name="label" translatable="no"> </property>
<property name="use_underline">False</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_CENTER</property>
Modified: gnucash/trunk/src/gnome/glade/sched-xact.glade
===================================================================
--- gnucash/trunk/src/gnome/glade/sched-xact.glade 2005-11-11 21:23:54 UTC (rev 11910)
+++ gnucash/trunk/src/gnome/glade/sched-xact.glade 2005-11-12 10:48:51 UTC (rev 11911)
@@ -5519,7 +5519,7 @@
<child>
<widget class="GtkLabel" id="label847833">
<property name="visible">True</property>
- <property name="label" translatable="yes">Number of Occurences:</property>
+ <property name="label" translatable="yes">Number of Occurrences:</property>
<property name="use_underline">False</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
Modified: gnucash/trunk/src/gnome/glade/totd.glade
===================================================================
--- gnucash/trunk/src/gnome/glade/totd.glade 2005-11-11 21:23:54 UTC (rev 11910)
+++ gnucash/trunk/src/gnome/glade/totd.glade 2005-11-12 10:48:51 UTC (rev 11911)
@@ -125,7 +125,7 @@
<child>
<widget class="GtkLabel" id="label4">
<property name="visible">True</property>
- <property name="label" translatable="yes"> </property>
+ <property name="label" translatable="no"> </property>
<property name="use_underline">False</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
Modified: gnucash/trunk/src/gnome-utils/gnc-date-format.glade
===================================================================
--- gnucash/trunk/src/gnome-utils/gnc-date-format.glade 2005-11-11 21:23:54 UTC (rev 11910)
+++ gnucash/trunk/src/gnome-utils/gnc-date-format.glade 2005-11-12 10:48:51 UTC (rev 11911)
@@ -77,7 +77,7 @@
<widget class="GtkCheckButton" id="years_button">
<property name="visible">True</property>
<property name="can_focus">True</property>
- <property name="label" translatable="yes">include century</property>
+ <property name="label" translatable="yes">Include Century</property>
<property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
@@ -106,7 +106,7 @@
<widget class="GtkRadioButton" id="month_number_button">
<property name="visible">True</property>
<property name="can_focus">True</property>
- <property name="label" translatable="yes">number</property>
+ <property name="label" translatable="yes">Number</property>
<property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
@@ -126,7 +126,7 @@
<widget class="GtkRadioButton" id="month_abbrev_button">
<property name="visible">True</property>
<property name="can_focus">True</property>
- <property name="label" translatable="yes">abbreviation</property>
+ <property name="label" translatable="yes">Abbreviation</property>
<property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
@@ -147,7 +147,7 @@
<widget class="GtkRadioButton" id="month_name_button">
<property name="visible">True</property>
<property name="can_focus">True</property>
- <property name="label" translatable="yes">name</property>
+ <property name="label" translatable="yes">Name</property>
<property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
Modified: gnucash/trunk/src/gnome-utils/gnc-file.c
===================================================================
--- gnucash/trunk/src/gnome-utils/gnc-file.c 2005-11-11 21:23:54 UTC (rev 11910)
+++ gnucash/trunk/src/gnome-utils/gnc-file.c 2005-11-12 10:48:51 UTC (rev 11911)
@@ -323,20 +323,20 @@
break;
}
case ERR_QSF_MAP_NOT_OBJ: {
- fmt = _("The selected file %s is a QSF map and cannot be "
+ fmt = _("The selected file \n %s\n is a QSF map and cannot be "
"opened as a QSF object.");
gnc_error_dialog(parent, fmt, newfile);
break;
}
case ERR_QSF_OVERFLOW : {
fmt = _("When converting XML strings into numbers, an overflow "
- "has been detected. The QSF object file\n%s\n contains invalid "
+ "has been detected. The QSF object file\n %s\ncontains invalid "
"data in a field that is meant to hold a number.");
gnc_error_dialog(parent, fmt, newfile);
break;
}
case ERR_QSF_OPEN_NOT_MERGE : {
- fmt = _("The QSF object file\n%s\nis valid and contains GnuCash "
+ fmt = _("The QSF object file\n %s\nis valid and contains GnuCash "
"objects. However, GnuCash cannot open the file directly because "
"the data needs to be merged into an existing GnuCash data book. "
"Please open a GnuCash file or create a new one, then import "
@@ -352,17 +352,17 @@
break;
case ERR_FILEIO_PARSE_ERROR:
- fmt = _("There was an error parsing the file \n %s\n");
+ fmt = _("There was an error parsing the file\n %s");
gnc_error_dialog (parent, fmt, newfile);
break;
case ERR_FILEIO_FILE_EMPTY:
- fmt = _("The file \n %s\n is empty.");
+ fmt = _("The file \n %s\nis empty.");
gnc_error_dialog (parent, fmt, newfile);
break;
case ERR_FILEIO_FILE_NOT_FOUND:
- fmt = _("The file \n %s\n could not be found.");
+ fmt = _("The file \n %s\ncould not be found.");
gnc_error_dialog (parent, fmt, newfile);
break;
@@ -373,19 +373,19 @@
break;
case ERR_FILEIO_UNKNOWN_FILE_TYPE:
- fmt = _("Unknown file type");
+ fmt = _("The file type of file\n %s\nis unknown.");
gnc_error_dialog(parent, fmt, newfile);
break;
case ERR_FILEIO_BACKUP_ERROR:
- fmt = _("Could not make a backup of %s\n");
+ fmt = _("Could not make a backup of the file\n %s");
gnc_error_dialog(parent, fmt, newfile);
break;
case ERR_FILEIO_WRITE_ERROR:
- fmt = _("Could not write to %s\nCheck that you have"
- " permission to write to this file and that "
- " there is sufficient space to create it.");
+ fmt = _("Could not write to file\n %s\nCheck that you have "
+ "permission to write to this file and that "
+ "there is sufficient space to create it.");
gnc_error_dialog(parent, fmt, newfile);
break;
Modified: gnucash/trunk/src/gnome-utils/gnc-gui-query.c
===================================================================
--- gnucash/trunk/src/gnome-utils/gnc-gui-query.c 2005-11-11 21:23:54 UTC (rev 11910)
+++ gnucash/trunk/src/gnome-utils/gnc-gui-query.c 2005-11-12 10:48:51 UTC (rev 11911)
@@ -159,6 +159,7 @@
GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_MESSAGE_QUESTION,
GTK_BUTTONS_OK_CANCEL,
+ "%s",
buffer);
g_free(buffer);
va_end(args);
@@ -206,6 +207,7 @@
GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_MESSAGE_QUESTION,
GTK_BUTTONS_NONE,
+ "%s",
buffer);
g_free(buffer);
va_end(args);
@@ -255,6 +257,7 @@
GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_MESSAGE_QUESTION,
GTK_BUTTONS_YES_NO,
+ "%s",
buffer);
g_free(buffer);
va_end(args);
@@ -315,6 +318,7 @@
GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_MESSAGE_INFO,
GTK_BUTTONS_CLOSE,
+ "%s",
buffer);
va_end(args);
@@ -349,6 +353,7 @@
GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_MESSAGE_WARNING,
GTK_BUTTONS_CLOSE,
+ "%s",
buffer);
g_free(buffer);
@@ -420,6 +425,7 @@
GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_MESSAGE_ERROR,
GTK_BUTTONS_CLOSE,
+ "%s",
buffer);
g_free(buffer);
Modified: gnucash/trunk/src/gnome-utils/transfer.glade
===================================================================
--- gnucash/trunk/src/gnome-utils/transfer.glade 2005-11-11 21:23:54 UTC (rev 11910)
+++ gnucash/trunk/src/gnome-utils/transfer.glade 2005-11-12 10:48:51 UTC (rev 11911)
@@ -110,7 +110,7 @@
<child>
<widget class="GtkLabel" id="label">
<property name="visible">True</property>
- <property name="label" translatable="yes"> </property>
+ <property name="label" translatable="no"> </property>
<property name="use_underline">False</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
@@ -390,7 +390,7 @@
<child>
<widget class="GtkLabel" id="label">
<property name="visible">True</property>
- <property name="label" translatable="yes"> </property>
+ <property name="label" translatable="no"> </property>
<property name="use_underline">False</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
@@ -518,7 +518,7 @@
<child>
<widget class="GtkLabel" id="label2">
<property name="visible">True</property>
- <property name="label" translatable="yes"> </property>
+ <property name="label" translatable="no"> </property>
<property name="use_underline">False</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
@@ -566,7 +566,7 @@
<child>
<widget class="GtkLabel" id="label">
<property name="visible">True</property>
- <property name="label" translatable="yes"> </property>
+ <property name="label" translatable="no"> </property>
<property name="use_underline">False</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
@@ -782,7 +782,7 @@
<child>
<widget class="GtkLabel" id="label">
<property name="visible">True</property>
- <property name="label" translatable="yes"> </property>
+ <property name="label" translatable="no"> </property>
<property name="use_underline">False</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
Modified: gnucash/trunk/src/import-export/hbci/glade/hbciprefs.glade
===================================================================
--- gnucash/trunk/src/import-export/hbci/glade/hbciprefs.glade 2005-11-11 21:23:54 UTC (rev 11910)
+++ gnucash/trunk/src/import-export/hbci/glade/hbciprefs.glade 2005-11-12 10:48:51 UTC (rev 11911)
@@ -55,7 +55,7 @@
<property name="visible">True</property>
<property name="tooltip" translatable="yes">Remember the PIN for HBCI in memory during a session.</property>
<property name="can_focus">True</property>
- <property name="label" translatable="yes">Remember _pin </property>
+ <property name="label" translatable="yes">Remember _PIN</property>
<property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
Modified: gnucash/trunk/src/import-export/qif/qif-parse.c
===================================================================
--- gnucash/trunk/src/import-export/qif/qif-parse.c 2005-11-11 21:23:54 UTC (rev 11910)
+++ gnucash/trunk/src/import-export/qif/qif-parse.c 2005-11-12 10:48:51 UTC (rev 11911)
@@ -97,6 +97,8 @@
qif_bangtype_map = g_hash_table_new(g_str_hash, g_str_equal);
g_assert(qif_bangtype_map);
+ /* Translators FIXME: It is unclear whether these strings should
+ really be translated, and if yes, into which translation. */
QIF_ADD_TYPE(N_("type:bank"), QIF_TYPE_BANK);
QIF_ADD_TYPE(N_("type:cash"), QIF_TYPE_CASH);
QIF_ADD_TYPE(N_("type:ccard"), QIF_TYPE_CCARD);
Modified: gnucash/trunk/src/report/report-gnome/report.glade
===================================================================
--- gnucash/trunk/src/report/report-gnome/report.glade 2005-11-11 21:23:54 UTC (rev 11910)
+++ gnucash/trunk/src/report/report-gnome/report.glade 2005-11-12 10:48:51 UTC (rev 11911)
@@ -328,7 +328,7 @@
<child>
<widget class="GtkLabel" id="label847721">
<property name="visible">True</property>
- <property name="label" translatable="yes"> </property>
+ <property name="label" translatable="no"> </property>
<property name="use_underline">False</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_CENTER</property>
More information about the gnucash-changes
mailing list