[ubuntu-x] New Xrandr GUI uploaded
Bryce Harrington
bryce at canonical.com
Wed Apr 9 23:42:50 BST 2008
Btw, we decided to keep the properly capitalized button labels, because
it was recommended we do so for usability reasons. While that
unfortunately means the labels will be untranslated temporarily, longer
term it's the direction we want to go.
Bryce
On Fri, Mar 07, 2008 at 11:05:08AM +0200, Timo Jyrinki wrote:
> Hmm, as usual, just as I posted I noticed something. After adding the
> glade file and the new c file to POTFILES and ran enough of
> reconfiguring + make update-po, I noticed there are new strings indeed
> in the glade file.
>
> There are subtle changes which mark the strings as new:
> old: Re_fresh rate
> new: Re_fresh Rate
> old: R_otation
> new: R_otation:
>
> ...and so on, actually every string is a bit different than what's
> already translated. If I change the strings in the .glade file to be
> exactly same as in the old capplet, I get them translated now.
>
> The attached patch to the existing 101 patch makes the dialog
> translatable, and changes one string (Re_fresh rate) to be such that
> already exists - I get now that string translated. So changing the
> rest also to match exactly those old strings should get this working.
>
> -Timo
> --- gnome-control-center-2.21.92.old/debian/patches/101_cc-add-randr12-capplet.patch 2008-03-07 09:00:22.000000000 +0200
> +++ gnome-control-center-2.21.92/debian/patches/101_cc-add-randr12-capplet.patch 2008-03-07 10:57:08.000000000 +0200
> @@ -188,7 +188,7 @@
> + <child>
> + <widget class="GtkLabel" id="label3">
> + <property name="visible">True</property>
> -+ <property name="label" translatable="yes">Re_fresh Rate:</property>
> ++ <property name="label" translatable="yes">Re_fresh rate:</property>
> + <property name="use_underline">True</property>
> + <property name="use_markup">False</property>
> + <property name="justify">GTK_JUSTIFY_LEFT</property>
> @@ -2771,7 +2771,7 @@
> diff -Nurp gnome-control-center-2.21.90/capplets/display/xrandr-capplet.c gnome-control-center-2.21.90-modified/capplets/display/xrandr-capplet.c
> --- gnome-control-center-2.21.90/capplets/display/xrandr-capplet.c 1969-12-31 16:00:00.000000000 -0800
> +++ gnome-control-center-2.21.90-modified/capplets/display/xrandr-capplet.c 2008-02-20 16:17:25.000000000 -0800
> -@@ -0,0 +1,963 @@
> +@@ -0,0 +1,964 @@
> +/* Monitor Settings. A preference panel for configuring monitors
> + *
> + * Copyright (C) 2007, 2008 Red Hat, Inc.
> @@ -2804,6 +2804,9 @@
> +#include <gdk/gdkx.h>
> +#include <X11/Xlib.h>
> +
> ++#include "capplet-util.h"
> ++#include <config.h>
> ++
> +typedef struct App App;
> +
> +struct App
> @@ -3721,11 +3724,9 @@
> +{
> + App *app;
> +
> -+#if 0
> -+ bindtextdomain (GETTEXT_PACKAGE, DESKTOPEFFECTSLOCALEDIR);
> ++ bindtextdomain (GETTEXT_PACKAGE, GNOMELOCALEDIR);
> + bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
> + textdomain (GETTEXT_PACKAGE);
> -+#endif
> +
> + gtk_init (&argc, &argv);
> +
> --
> Ubuntu-x mailing list
> Ubuntu-x at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-x
More information about the Ubuntu-x
mailing list