Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#147 closed bug (wontfix)

Translation - Change Frame & Background

Reported by: Mikhail Malyshev Owned by:
Priority: normal Milestone: 4.0-2015R1
Component: Popfrimage.mui Version: 4.0-nightly build
Severity: minor Keywords:
Cc: OS Platform: All
Blocked By: Blocking:
Release Notes:

Description

The window title for changing frame and background is a composition
of several parts and cannot be properly translated since it uses single words to make up the phrase.

This prevents use of proper (form) for the words and also does not allow to change the case of words (all start with capital char) which is not good for some languages.

Change History (11)

comment:1 Changed 4 years ago by Thore Böckelmann

Component: undefinedPopfrimage.mui
Milestone: MUI 4.0-2015R1
Priority: undecidednormal
Resolution: wontfix
Status: newclosed

Sorry, but that is not possible. The title is a combination of the two tabs' title strings. If you change the case of the strings then the window title might be what you expect but the tab titles will change as well to something that you won't like.

Bottom line: like it or leave it. There is no solution which fits all situations and all languages.

comment:2 Changed 4 years ago by Mikhail Malyshev

This is a bad practice to reuse strings in complex strings.
Not only there is a cosmetic problem with the upper case chars, but the words need to have their endings changed depending on the context.
With current situation this is impossible for this window.
But for frames only or background only window the strings are available or at lest makeup correctly.

On the other side, if you are so keen at reusing strings, why stings like (Example:) are not reused and present in translation numerous times.

So please look into it and make all windows with custom string titles.

PS: This is a common problem for many languages and if it can be avoided and solved easily I don't see any problem with it why it should not be done properly.

comment:3 in reply to:  2 Changed 4 years ago by Thore Böckelmann

Replying to Michael:

So please look into it and make all windows with custom string titles.

PS: This is a common problem for many languages and if it can be avoided and solved easily I don't see any problem with it why it should not be done properly.

That's the point: it is not easily possible. The so called "frimage" popup (a combination of "frame" and "image") takes the titles from the individual groups, which just provide a single title string like "Frame" or "Background". These two titles are then combined to the final window title text. The class doing all this work does in no way has any requirement about how the group titles have to look like.

comment:4 Changed 4 years ago by Mikhail Malyshev

A design flaw then…

I wonder… have a few ideas how it might be possible to workaround the translation issues by changing the wording a bit. Will see..

comment:5 Changed 4 years ago by Mikhail Malyshev

Which string numbers are used for the combined window title ?

comment:6 Changed 4 years ago by Thore Böckelmann

For the single page title:

msgctxt "MSG_FRIMAGEADJ_TITLE_SINGLE (732//)"
msgid "Adjust %s"
msgstr "Adjust %s"

For the double page title:

msgctxt "MSG_FRIMAGEADJ_TITLE_DOUBLE (733//)"
msgid "Adjust %s & %s"
msgstr "Adjust %s & %s"

comment:7 Changed 4 years ago by Mikhail Malyshev

If 387 and 388 are not used anywhere else on their own, then the update I just did should be ok.

comment:8 in reply to:  7 Changed 4 years ago by Thore Böckelmann

Replying to Michael:

If 387 and 388 are not used anywhere else on their own, then the update I just did should be ok.

I have no idea what you are talking about. What is "387" and "388" supposed to mean?

comment:9 Changed 4 years ago by Thore Böckelmann

Ok, found it. You were referring to the enumeration within the transifex web page.

comment:10 Changed 4 years ago by Mikhail Malyshev

This is not working :-(

we have

Adjust background
Adjust pen
Adjust frame
Adjust %s
Adjust %s & %s

The last one is the problem as we know

since it uses the names of the tabs in the window
and thus we can not change the words (their form)
something like pig and pigs in english.

I have been thinking a bit more on this and can only think of one last solution
without changing your code
Make translation like this
Adjust: %s & %s

which will result in
Adjust: Frame & Background

But it will be out of style from other window titles.

This also raises a few questions with %ld pixel / pixels strings
they are also not very well cosmetically designed,
since we do have cases of 1 and many that are not handled even in english.

comment:11 Changed 4 years ago by Thore Böckelmann

Milestone: MUI 4.0-2015R14.0-2015R1

Milestone renamed

Note: See TracTickets for help on using tickets.