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:
Michael Natterer 2004-10-29 10:47:59 +00:00 committed by Michael Natterer
parent c17967721f
commit c20ddeba68
5 changed files with 28 additions and 4 deletions

View File

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

View File

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

View File

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

View File

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

View File

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