Commit c20ddeba authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer

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.
parent c1796772
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);
}
str = g_strdup_printf (_("%d Procedures"), num_procs);
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);
}
str = g_strdup_printf (_("%d Procedures"), num_procs);
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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment