String improvements: Fix typos, remove unnecessary spaces.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11911 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Christian Stimming 2005-11-12 10:48:51 +00:00
parent 93b9f806b4
commit cb74a3ca84
18 changed files with 59 additions and 42 deletions

View File

@ -1,3 +1,8 @@
2005-11-12 Christian Stimming <stimming@tuhh.de>
* src/*/*.glade: String improvements: Fix typos, remove
unnecessary spaces from translations.
2005-11-11 Christian Stimming <stimming@tuhh.de>
* po/*.po: Copy translations from old 1.8 branch to HEAD and merge

View File

@ -87,8 +87,8 @@ gnc_file_be_get_config(QofBackend *be)
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);

View File

@ -505,6 +505,8 @@ gnc_load_financials_from_fd(QofBook *book, int fd)
/* 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);

View File

@ -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>

View File

@ -323,20 +323,20 @@ show_session_error (QofBackendError io_error, const char *newfile)
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 @@ show_session_error (QofBackendError io_error, const char *newfile)
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 @@ show_session_error (QofBackendError io_error, const char *newfile)
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;

View File

@ -159,6 +159,7 @@ gnc_ok_cancel_dialog(gncUIWidget parent,
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 @@ gnc_verify_cancel_dialog(GtkWidget *parent,
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 @@ gnc_verify_dialog(gncUIWidget parent, gboolean yes_is_default,
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 @@ gnc_info_dialog(GtkWidget *parent, const gchar *format, ...)
GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_MESSAGE_INFO,
GTK_BUTTONS_CLOSE,
"%s",
buffer);
va_end(args);
@ -349,6 +353,7 @@ gnc_warning_dialog_common(GtkWidget *parent, const gchar *format, va_list args)
GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_MESSAGE_WARNING,
GTK_BUTTONS_CLOSE,
"%s",
buffer);
g_free(buffer);
@ -420,6 +425,7 @@ gnc_error_dialog_common(GtkWidget *parent, const gchar *format, va_list args)
GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_MESSAGE_ERROR,
GTK_BUTTONS_CLOSE,
"%s",
buffer);
g_free(buffer);

View File

@ -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>

View File

@ -170,7 +170,7 @@ get_close_status_str (AcctPeriodInfo *info)
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 @@ ap_show_done (GnomeDruidPageEdge *druidpage,
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);

View File

@ -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 @@ additional accounts by hand later.</property>
<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>

View File

@ -929,7 +929,7 @@ to financial happiness!</property>
<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>

View File

@ -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>

View File

@ -75,13 +75,11 @@ account types now.</property>
<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 @@ The import object can be created as a new object in the existing book.</property
<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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -97,6 +97,8 @@ build_bangtype_map()
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);

View File

@ -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>