! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Long translations of buttons don't word warp, making window too large
Status:
RESOLVED: MOVED

Comments

Description Sébastien 2014-01-17 01:47:20 CET
Hello,

On the welcome tab/area, long translations of button strings don't word warp, which forces the Xfburn window to a minimum size that can go beyond the screen's resolution (e.g. on netbooks and on large GTK themes, with a language that has long strings).

For example: 
$ LANGUAGE=de xfburn

compared to:
$ LANGUAGE=fr xfburn

With the Sans font, size 10, on the Clearlooks theme, Xfburn in German has a minimum window width of 993px (while in French I can decrease it to 653px). It can go to much larger widths depending on the user's GTK theme and font size.

Affected languages are the ones with relatively long strings on a single line. I couldn't decide what is a decent length so I approximately selected those who are more verbose than the original English text:
ast ca de el es et eu gl id it ja lv pt_BR pt ru sv tr

Only French and English seem to use newlines on those buttons.

I see two solutions:
- Either add \n in translations of the buttons, in the .po files mentionned above (like in fr.po)
- Or add word wrapping support to xfburn/xfburn-welcome-tab.c:140-:155 so that any single long line word wraps, and remove \n from buttons translations in fr.po.
Comment 1 David Mohr 2014-02-20 18:10:03 CET
*** Bug 10556 has been marked as a duplicate of this bug. ***
Comment 2 Git Bot editbugs 2020-05-24 17:08:26 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/apps/xfburn/-/issues/19.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #10638

Reported by:
Sébastien
Reported on: 2014-01-17
Last modified on: 2020-05-24
Duplicates (1):

People

Assignee:
Xfburn Bug Triage
CC List:
2 users

Version

Attachments

Additional information