String Freeze Update

Dan d3vf4n at tutanota.com
Sat Oct 21 08:38:36 UTC 2023


17 d’oct. de 2023, 19:01 per rikiheck at gmail.com:

> On 10/9/23 14:42, Pavel Sanda wrote:
>
>> On Fri, Sep 08, 2023 at 04:05:49PM -0400, Richard Kimberly Heck wrote:
>>
>>> I am planning to freeze strings once we have had some initial feedback on
>>> beta 5 and make sure that there aren't any issues there that need a string
>>> change. We're waiting at the moment for the Windows installer.
>>>
>> Riki, how do you evaluate the current status wrt the freeze?
>>
>> I might have some time in the next few weeks to be somewhat helpful in
>> sorting out the issues with (layout)translations if we decide to freeze.
>>
>
> Sorry, got very busy there.
>
> I'm inclined to freeze this weekend, unless someone objects.
>
> Riki
>
I must object :). I have come across some strings of the UI that should be changed. For now I am only notifying the following two, which I think are important; the rest I will report in bulk when done with the translation.

--
Attached images will take faster to the problem than the following text.
--

STRINGS
=======
  1. Language (in the settings dialog of a listing inset). In English this word can be used to refer to both, a tongue and a programming language. In other languages this is not necessarily the case, for instance in Spanish
    - Language (tongue) -> lengua / idioma
    - Language (programming) -> lenguaje (de programación)
  This rises a problem with the string "Language" in the dialog box for a listing's settings. The problematic string is the group title, not the language setting itself. The source of the string is "src/frontends/qt/ui/ListingsUi.ui" line 334. To see exactly what I mean do this
    1. Insert > Program Listing.
    2. Then place the cursor inside the listing inset.
    3. Edit > Listing Settings.
    4. "Language" is the title of a group of settings. That is the problematic string.


  2. There is a tooltip that is not translatable: it does not appear in the POT file. Thus, it shows in English in the interface. To see what I mean do the following
    1. Open a new document in Lyx.
    2. Open the document settings dialog.
    3. Choose section "Page Margins" and place the cursor over the checkbox "Default Margins".
    4. That tooltip is not translatable. I will appear in English, no matter the language set for the UI.

  The source of the string is "src/frontends/qt/ui/MarginsUi.ui" line 37, which will generate "ui_MarginsUi.h", tooltip being in line 340.


SOLUTION
=========
  1. For this one case, it will suffice to add a context bit to the string, such as "Language[[listing_settings]]" or similar. Again, file "src/frontends/qt/ui/ListingsUi.ui" line 334.
  2. For this other case, I have no idea why this happens. I have no suggestion for this, sorry.


Dan.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Lyx-listing-language.png
Type: image/png
Size: 63711 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20231021/7c0296e9/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Lyx-margins-tooltip.png
Type: image/png
Size: 82981 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20231021/7c0296e9/attachment-0003.png>


More information about the lyx-devel mailing list