Skip to content

Learn keys dialog: Poorly translatable #5038

@egmontkob

Description

@egmontkob

Is there an existing issue for this?

  • I have searched the existing issues

Midnight Commander version and build configuration

4.8.33, git

Operating system

.

Is this issue reproducible using the latest version of Midnight Commander?

  • I confirm the issue is still reproducible with the latest version of Midnight Commander

How to reproduce

LANGUAGE=da mc shown here, but quite a few other languages also have similar problems:

Image

Visual overflows, the OK label overwriting the label etc...


English is typically more dense than other languages, translations usually increase the string width. This should somehow be taken into account.

Maybe rearrange all the keys into a single scrollable column?

(Disadvantage being that you may not see if you press a key and its "OK" appears. But that's going to be a fundamental problem anyway in #5027, no matter what the final choice of UI will be.)

As for the instructions, do we by any chance have a label widget that wraps the text to fit? And can we reasonably adjust the big dialog's height to accommodate this widget? Or maybe just add an extra empty line in English to leave room for translations? Also add a comment to translators not to exceed a certain width?

Expected behavior

.

Actual behavior

.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: keybindKey bindingsprio: lowMinor problem or easily worked around

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions