Opened 3 years ago
Closed 3 years ago
#6013 closed defect (bug) (reported-upstream)
Wrong word-wrap on advanced page commiter widget
Reported by: | sebastienserre | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | Plugin Directory | Keywords: | close |
Cc: |
Description
Hello,
On the French translation of the advanced view for plugins, the Committers title is non well displayed:
https://fr.wordpress.org/plugins/wp-openagenda/advanced/
I'm not really good at CSS but it seems that adding a word-wrap
solves the issue
h1, h2, h3, h4, h5, h6 { font-family: Open Sans,sans-serif; clear: both; line-height: 1.5; margin: 2rem 0 1rem; word-wrap: initial; overflow-wrap: initial; }
}}}
Attachments (4)
Change History (9)
#1
@
3 years ago
We used to have a similar issue in WP-Admin, on the Users screen: user roles such as "Administrator" used to be translated as "Administrateur/administratrice", and that used to cause issues on smaller screen widths.
A few weeks ago, and following discussions in the WPFR Slack team, @audrasjb fixed the issue in wp-admin by adding a non-breaking space before the slash, and a space after. Here is an example:
https://translate.wordpress.org/projects/wp/dev/fr/default/?filters%5Bstatus%5D=either&filters%5Boriginal_id%5D=7578405&sort%5Bby%5D=translation_date_added&sort%5Bhow%5D=asc&historypage
While it may be not entirely typographically correct to add in spaces around the /
in French, it does allow the role to wrap properly on smaller screens.
Maybe we could do the same here in Meta? Here is how it would look like:
I've suggested a new translation following a similar pattern here:
https://translate.wordpress.org/projects/meta/plugins-v3/fr/default/?filters%5Bstatus%5D=either&filters%5Boriginal_id%5D=3472711&filters%5Btranslation_id%5D=91534531
Old wp-admin Users screen, small screen size