]> Dogcows Code - chaz/openbox/blobdiff - openbox/screen.c
Use ngettext for %d desktop(s).
[chaz/openbox] / openbox / screen.c
index 15b3c8d80ccaa69d3e5a4b1707a7680fee49f448..e908cf107c1d2df7aaf3e887adf7c83c561a8150 100644 (file)
@@ -409,7 +409,7 @@ void screen_startup(gboolean reconfig)
                arguments, you can use %1$d for the first one and %2$d for the
                second one. For example,
                "The current session has %2$d desktops, but Openbox is configured for %1$d ..." */
-            g_warning(_("Openbox is configured for %d desktops, but the current session has %d.  Overriding the Openbox configuration."),
+            g_warning(ngettext("Openbox is configured for %d desktop, but the current session has %d.  Overriding the Openbox configuration.", "Openbox is configured for %d desktops, but the current session has %d.  Overriding the Openbox configuration.", config_desktops_num),
                       config_desktops_num, d);
         }
         screen_set_num_desktops(d);
This page took 0.021413 seconds and 4 git commands to generate.