Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help text is truncated #1210

Closed
Mr-Update opened this issue Feb 23, 2022 · 2 comments
Closed

Help text is truncated #1210

Mr-Update opened this issue Feb 23, 2022 · 2 comments
Milestone

Comments

@Mr-Update
Copy link
Contributor

  • In the settings window, the help text of the too long messages is truncated before the first "\n".
msgid "%1\nis marked read-only. Would you like to override the read-only item?"
msgstr "%1 \nist als schreibgeschützt markiert. Möchten Sie das schreibgeschützte Objekt überschreiben?"

In the help text only appears: "%1 ".

Meldungen 1

  • The message text truncated if there is enough space (probably after 263 characters):
msgid "These files use different carriage return types.\n\nDo you want to treat all carriage return types as equivalent for this comparison?\n\nNote: If you always want to treat all carriage return types as equivalent, set the option 'Ignore carriage return differences (Windows/Unix/Mac)' in the Compare tab of the options dialog (available under Edit/Options)."
msgstr "Die Dateien haben ein unterschiedliches Zeilenumbruchformat. \n\nMöchten Sie alle Zeilenumbrüche für diesen Vergleich als gleichwertig behandeln? \n\nHinweis: Wenn Sie immer alle Zeilenumbruchformate als gleichwertig behandeln wollen, aktivieren Sie die Option 'Zeilenumbruchunterschiede (Windows/Unix/Mac) ignorieren' unter Einstellungen/Vergleichen/Allgemein."

Meldungen 2

  • The same problem exists in the Plugin Settings window. Before the first "\r", the help text is cut off.
msgid "Apply filter command. \r\nUsage: ExecFilterCommand COMMAND\r\n  COMMAND - command to execute. %1 in the command is replaced with the filename."
msgstr "Filterbefehl anwenden. \r\nVerwendung: ExecFilterCommand COMMAND\r\n  COMMAND - auszuführender Befehl. %1 im Befehl wird durch den Dateinamen ersetzt."

Plugins

@Gitoffthelawn
Copy link
Contributor

Gitoffthelawn commented Feb 24, 2022

Ah... German... The language that brought us wunderbar words like rindfleischetikettierungsüberwachungsaufgabenübertragungsgesetz.

I'm convinced German was invented by a time traveler from the past with a unique sense of humour who created it to break tech user interfaces in the future. 😄

@sdottaka
Copy link
Member

sdottaka commented Feb 24, 2022

Fixed by commit 140f388

Ideally, the tooltip should be displayed as a multiline, but for now, I have replaced \n with a space character to display it.

Also, the text displayed in the ListView is limited to 259 characters, as shown below.

https://docs.microsoft.com/en-us/windows/win32/api/commctrl/ns-commctrl-lvitema

Note that although the list-view control allows any length string to be stored as item text, only the first 259 TCHARs are displayed.

@sdottaka sdottaka added this to the v2.16.19 milestone Mar 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants