FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian GCC

 
 
LinkBack Thread Tools
 
Old 06-04-2010, 02:05 PM
Chris Lumens
 
Default translations: don't say context=yes if you don't mean it.

> diff --git a/ui/account.glade b/ui/account.glade
> index ca7c6be..c93fcdd 100644
> --- a/ui/account.glade
> +++ b/ui/account.glade
> @@ -5,7 +5,7 @@
>
> <widget class="GtkWindow" id="account_window">
> <property name="border_width">18</property>
> - <property name="title" translatable="yes" context="yes"></property>
> + <property name="title" translatable="yes"></property>
> <property name="type">GTK_WINDOW_TOPLEVEL</property>
> <property name="window_position">GTK_WIN_POS_NONE</property>
> <property name="modal">False</property>

Any idea how we ended up with these to begin with and how we can prevent
it from happening again in the future? I didn't see any relevant
checkboxes in glade-3, but I admittedly didn't search too hard.

- Chris

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 06-07-2010, 07:29 AM
Ales Kozumplik
 
Default translations: don't say context=yes if you don't mean it.

On 06/04/2010 04:05 PM, Chris Lumens wrote:

diff --git a/ui/account.glade b/ui/account.glade
index ca7c6be..c93fcdd 100644
--- a/ui/account.glade
+++ b/ui/account.glade
@@ -5,7 +5,7 @@

<widget class="GtkWindow" id="account_window">
<property name="border_width">18</property>
-<property name="title" translatable="yes" context="yes"></property>
+<property name="title" translatable="yes"></property>
<property name="type">GTK_WINDOW_TOPLEVEL</property>
<property name="window_position">GTK_WIN_POS_NONE</property>
<property name="modal">False</property>


Any idea how we ended up with these to begin with and how we can prevent
it from happening again in the future? I didn't see any relevant
checkboxes in glade-3, but I admittedly didn't search too hard.

- Chris


Hi Chris,

The checkbox is called "Has context prefix" and it appears when you
click the three dots button next to Label: in properties panel of a
label or something that has a label. There's also a "Translatable"
checkbox which should always be checked or xgettext won't pick it up.


We can prevent this by editing the UI more expertly:-) I am going to
watch out for those problems in reviews and I am also going to do more
installs non-English because the entire translation chain is fragile so
checking it out now and then can only help.


Ales

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 07:43 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org