mirror of https://github.com/GNOME/gimp.git
plug-ins/dbbrowser/gimpprocbrowser.c don't say "1 Procedures" or "1
2004-10-29 Michael Natterer <mitch@gimp.org> * plug-ins/dbbrowser/gimpprocbrowser.c * plug-ins/dbbrowser/plugin-browser.c: don't say "1 Procedures" or "1 Plug-In Interfaces" but use the singular form instead.
This commit is contained in:
parent
c17967721f
commit
c20ddeba68
|
@ -1,3 +1,9 @@
|
|||
2004-10-29 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* plug-ins/dbbrowser/gimpprocbrowser.c
|
||||
* plug-ins/dbbrowser/plugin-browser.c: don't say "1 Procedures" or
|
||||
"1 Plug-In Interfaces" but use the singular form instead.
|
||||
|
||||
2004-10-29 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* plug-ins/common/flarefx.c
|
||||
|
|
|
@ -421,7 +421,11 @@ browser_response (GtkWidget *widget,
|
|||
&num_procs, &proc_list);
|
||||
}
|
||||
|
||||
if (num_procs == 1)
|
||||
str = g_strdup (_("1 Procedure"));
|
||||
else
|
||||
str = g_strdup_printf (_("%d Procedures"), num_procs);
|
||||
|
||||
gtk_label_set_text (GTK_LABEL (browser->count_label), str);
|
||||
g_free (str);
|
||||
|
||||
|
|
|
@ -414,7 +414,12 @@ get_plugin_info (PluginBrowser *browser,
|
|||
time_ints = return_vals[10].data.d_int32array;
|
||||
realname_strs = return_vals[12].data.d_stringarray;
|
||||
|
||||
str = g_strdup_printf (_("%d Plug-In Interfaces"), browser->num_plugins);
|
||||
if (browser->num_plugins == 1)
|
||||
str = g_strdup (_("1 Plug-In Interface"));
|
||||
else
|
||||
str = g_strdup_printf (_("%d Plug-In Interfaces"),
|
||||
browser->num_plugins);
|
||||
|
||||
gtk_label_set_text (GTK_LABEL (browser->count_label), str);
|
||||
g_free (str);
|
||||
|
||||
|
|
|
@ -421,7 +421,11 @@ browser_response (GtkWidget *widget,
|
|||
&num_procs, &proc_list);
|
||||
}
|
||||
|
||||
if (num_procs == 1)
|
||||
str = g_strdup (_("1 Procedure"));
|
||||
else
|
||||
str = g_strdup_printf (_("%d Procedures"), num_procs);
|
||||
|
||||
gtk_label_set_text (GTK_LABEL (browser->count_label), str);
|
||||
g_free (str);
|
||||
|
||||
|
|
|
@ -414,7 +414,12 @@ get_plugin_info (PluginBrowser *browser,
|
|||
time_ints = return_vals[10].data.d_int32array;
|
||||
realname_strs = return_vals[12].data.d_stringarray;
|
||||
|
||||
str = g_strdup_printf (_("%d Plug-In Interfaces"), browser->num_plugins);
|
||||
if (browser->num_plugins == 1)
|
||||
str = g_strdup (_("1 Plug-In Interface"));
|
||||
else
|
||||
str = g_strdup_printf (_("%d Plug-In Interfaces"),
|
||||
browser->num_plugins);
|
||||
|
||||
gtk_label_set_text (GTK_LABEL (browser->count_label), str);
|
||||
g_free (str);
|
||||
|
||||
|
|
Loading…
Reference in New Issue