[patch] Re: mcs-manager dialog too wide

Daichi Kawahata daichi at xfce.org
Tue Apr 4 14:13:39 CEST 2006


On Mon, 3 Apr 2006 22:21:00 -0300
Adriano Winter Bess wrote:

> ja:	http://www.das.ufsc.br/~adrianob/mcs-manager-dialog/ja.png
> 
> If we can agree on this patch for other locales too, I would
> like to ask devs to consider reviewing and commiting it, since
> we are now closer to a release cycle (betas, rcs, etc.) and in
> spite of being just aesthetic, it wouldn't be nice to have such
> a wide dialog, which is a real concern for locales such as pt_BR.

At the given image, what I told you is exactly happened, that is

  Window Mana
  ger

  Window Mana
  ger Tweaks

in English. How about using this attached patch anyway
(it's recommended distinguish the strings in desktop file),
then reconsider that `Tweaks' with him, who is the project
leader & top strategist in the brand marketing.

You can exercise the Veto:

  "A Rat doesn't tweak, We're not the Cuckoo."

Bonne chance,
-- 
Daichi

Language Codes: http://www.w3.org/WAI/ER/IG/ert/iso639.htm
Country Codes: http://www.ics.uci.edu/pub/ietf/http/related/iso3166.txt


-------------- next part --------------
Index: mcs-plugin/wmtweaks_plugin.c
===================================================================
--- mcs-plugin/wmtweaks_plugin.c	(revision 20683)
+++ mcs-plugin/wmtweaks_plugin.c	(working copy)
@@ -352,7 +352,7 @@
     dialog->mcs_plugin = mcs_plugin;
 
     dialog->tweaks_dialog = gtk_dialog_new ();
-    gtk_window_set_title (GTK_WINDOW (dialog->tweaks_dialog), _("Window Manager Tweaks"));
+    gtk_window_set_title (GTK_WINDOW (dialog->tweaks_dialog), _("Window Title|Window Manager Tweaks"));
     gtk_dialog_set_has_separator (GTK_DIALOG (dialog->tweaks_dialog), FALSE);
 
     gtk_window_set_icon (GTK_WINDOW (dialog->tweaks_dialog), mcs_plugin->icon);
@@ -603,7 +603,7 @@
 
     xfwm4_create_channel (mcs_plugin);
     mcs_plugin->plugin_name = g_strdup (PLUGIN_NAME);
-    mcs_plugin->caption = g_strdup (_("Window Manager Tweaks"));
+    mcs_plugin->caption = g_strdup (_("Button Label|Window Manager Tweaks"));
     mcs_plugin->run_dialog = run_dialog;
     mcs_plugin->icon = xfce_themed_icon_load ("wmtweaks", 48);
     mcs_manager_notify (mcs_plugin->manager, CHANNEL);




More information about the Xfce4-dev mailing list