Add yet more i18n comments. Comment out some debugging output.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7739 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Christian Stimming 2002-12-30 01:20:53 +00:00
parent d5c9e24cd5
commit 48f751a0fc
4 changed files with 14 additions and 4 deletions

View File

@ -1,5 +1,14 @@
2002-12-30 Christian Stimming <stimming@tuhh.de> 2002-12-30 Christian Stimming <stimming@tuhh.de>
* src/business/business-gnome/dialog-invoice.c
(gnc_invoice_id_changed_cb): More i18n fixes. Don't split up
strings.
* src/business/business-gnome/glade/*.glade: Correct spelling
error.
* src/engine/FreqSpec.c: Fix the i18n comments for the translators.
* src/gnome-utils/gnc-dense-cal.c: i18n'ize the dense calendar * src/gnome-utils/gnc-dense-cal.c: i18n'ize the dense calendar
widget. widget.

View File

@ -856,7 +856,8 @@ gnc_search_dialog_init_widgets (GNCSearchWindow *sw)
new_item_button = glade_xml_get_widget (xml, "new_item_button"); new_item_button = glade_xml_get_widget (xml, "new_item_button");
{ {
char *desc = char *desc =
/* Translators: %s is either "item" or the name of some other item. */ /* Translators: %s is either "item" or the name of some other
* item, e.g. "Customer" or "Invoice". */
g_strdup_printf (_("New %s"), type_label ? type_label : _("item")); g_strdup_printf (_("New %s"), type_label ? type_label : _("item"));
gtk_label_set_text (GTK_LABEL (GTK_BIN (new_item_button)->child), desc); gtk_label_set_text (GTK_LABEL (GTK_BIN (new_item_button)->child), desc);
g_free (desc); g_free (desc);

View File

@ -360,7 +360,7 @@ char *gnc_hbci_descr_tognc (const HBCI_Transaction *h_trans)
list_string_foreach (HBCI_Transaction_otherName (h_trans), list_string_foreach (HBCI_Transaction_otherName (h_trans),
&gnc_list_string_cb, &gnc_list_string_cb,
&othername); &othername);
DEBUG("HBCI Description '%s'", h_descr); /*DEBUG("HBCI Description '%s'", h_descr);*/
if (othername && (strlen (othername) > 0)) if (othername && (strlen (othername) > 0))
g_descr = g_descr =

View File

@ -478,12 +478,12 @@ static void split_find_match (GNCImportTransInfo * trans_info,
if (datediff_day == 0) if (datediff_day == 0)
{ {
prob = prob+2; prob = prob+2;
DEBUG("heuristics: probability + 2 (date)"); /*DEBUG("heuristics: probability + 2 (date)");*/
} }
else if (datediff_day <= MATCH_DATE_THRESHOLD) else if (datediff_day <= MATCH_DATE_THRESHOLD)
{ {
prob = prob+1; prob = prob+1;
DEBUG("heuristics: probability + 1 (date)"); /*DEBUG("heuristics: probability + 1 (date)");*/
} }
else if (datediff_day > MATCH_DATE_NOT_THRESHOLD) else if (datediff_day > MATCH_DATE_NOT_THRESHOLD)
{ {