octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Qt UI expert needed for bug #53526


From: John Donoghue
Subject: Re: Qt UI expert needed for bug #53526
Date: Sat, 31 Mar 2018 20:47:34 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2

On 03/30/2018 10:47 PM, address@hidden wrote:
Message: 2
Date: Fri, 30 Mar 2018 12:47:10 -0700
From: Rik <address@hidden>
To: Octave-Maintainers <address@hidden>
Subject: Qt UI expert needed for bug #53526
Message-ID: <address@hidden>
Content-Type: text/plain; charset=utf-8

Could someone who understands Qt .ui definition files take a look at
https://savannah.gnu.org/bugs/?53526

The issue is that translators are seeing strings like "20" marked for
translation.? Pure numbers don't require translation.

If I take a look at settings-dialog.ui:2713 I find the following:

<widget class="QLineEdit" name="varedit_columnWidth">
?<property name="text">
? <string>20</string>
?</property>
</widget>

Because the GUI is using, essentially, a 1-line text editor Qt believes
that it needs to mark the string for translation.? Is there a GUI widget
element just for entering numbers?? After all, columnWidth is not going to
be a string like "Hello World".? It needs to be a number.

--Rik

How about something like:

<string notr="true">20</string>

which I believe will tell it that the string is not translateable


reply via email to

[Prev in Thread] Current Thread [Next in Thread]