[Goodies-commits] r4651 - in xfce4-dict/trunk: lib src
Enrico Troeger
enrico at xfce.org
Tue Apr 22 21:10:54 CEST 2008
Author: enrico
Date: 2008-04-22 19:10:54 +0000 (Tue, 22 Apr 2008)
New Revision: 4651
Modified:
xfce4-dict/trunk/lib/aspell.c
xfce4-dict/trunk/lib/prefs.c
xfce4-dict/trunk/src/xfce4-dict.desktop.in
Log:
Fix some strings.
Modified: xfce4-dict/trunk/lib/aspell.c
===================================================================
--- xfce4-dict/trunk/lib/aspell.c 2008-04-22 19:10:49 UTC (rev 4650)
+++ xfce4-dict/trunk/lib/aspell.c 2008-04-22 19:10:54 UTC (rev 4651)
@@ -78,13 +78,13 @@
}
else if (msg[0] == '*')
{
- tmp = g_strdup_printf(_("\"%s\" is spelled correctly.\n"), dd->searched_word);
+ tmp = g_strdup_printf(_("\"%s\" is spelled correctly."), dd->searched_word);
gtk_text_buffer_insert(dd->main_textbuffer, &dd->textiter, tmp, -1);
g_free(tmp);
}
else if (msg[0] == '#')
{
- tmp = g_strdup_printf(_("No suggestions could be found for \"%s\".\n"),
+ tmp = g_strdup_printf(_("No suggestions could be found for \"%s\"."),
dd->searched_word);
gtk_text_buffer_insert(dd->main_textbuffer, &dd->textiter, tmp, -1);
g_free(tmp);
@@ -108,7 +108,10 @@
while (g_io_channel_read_line(ioc, &msg, NULL, NULL, NULL) && msg != NULL)
{
- dict_gui_status_add(dd, _("%s"), g_strstrip(msg));
+ /* translation hint:
+ * Error while executing <spell command, e.g. "aspell">: <error message> */
+ dict_gui_status_add(dd, _("Error while executing %s: %s"),
+ dd->spell_bin, g_strstrip(msg));
g_free(msg);
}
}
Modified: xfce4-dict/trunk/lib/prefs.c
===================================================================
--- xfce4-dict/trunk/lib/prefs.c 2008-04-22 19:10:49 UTC (rev 4650)
+++ xfce4-dict/trunk/lib/prefs.c 2008-04-22 19:10:54 UTC (rev 4651)
@@ -334,7 +334,7 @@
gtk_widget_show(notebook_vbox);
inner_vbox = gtk_vbox_new(FALSE, 5);
gtk_widget_show(inner_vbox);
- gtk_notebook_append_page(GTK_NOTEBOOK(notebook), notebook_vbox, gtk_label_new(_("Dictd")));
+ gtk_notebook_append_page(GTK_NOTEBOOK(notebook), notebook_vbox, gtk_label_new(_("Dict")));
/* server address */
label1 = gtk_label_new_with_mnemonic(_("Server:"));
Modified: xfce4-dict/trunk/src/xfce4-dict.desktop.in
===================================================================
--- xfce4-dict/trunk/src/xfce4-dict.desktop.in 2008-04-22 19:10:49 UTC (rev 4650)
+++ xfce4-dict/trunk/src/xfce4-dict.desktop.in 2008-04-22 19:10:54 UTC (rev 4651)
@@ -1,7 +1,7 @@
[Desktop Entry]
Type=Application
Version=1.0
-_Name=Xfce Dictionary
+_Name=Xfce4 Dictionary
_GenericName=Dictionary Client
_Comment=A client program to query different dictionaries.
Icon=xfce4-dict
More information about the Goodies-commits
mailing list