-
Improvement
-
Resolution: Fixed
-
Neutral
-
6.2.2
-
None
-
-
Empty show more show less
-
Maintenance 29, Maintenance 30
-
2
When migrating to 6.2, we introduced normalizing all labels to lowercase and let only the first letter be capitalized, in order to have a more consistent look and feel. Which makes sense in the rest of the languages but not in German (nouns in German are all capitalized).
Steps to reproduce
The example the customer sent is in the old pages app, they noticed it also in collapsables in the stories app.
- Remove the hidden app in configuration/modules/ui-admincentral/config/appLauncherLayout/hiddenApps
- Change to German language
- Go to the old pages app, click on a variant and see the action bar in the right with action "Alle Varianten publizieren"
- Click on that action and note that in the button, the word Varianten is now in lowercase.
Check it out in this screenshot
Expected results
We should see Varianten in capital letter as in the action bar.
Development notes
Check the CSS that is transforming to lowercase the labels:
https://demoauthor.magnolia-cms.com/VAADIN/themes/resurface-admincentral/styles.css?v=8.9.4
.v-button span.v-button-caption, .magnoliabutton span.v-button-caption { # display: inline-block; # text-transform: lowercase; }
.v-button span.v-button-caption::first-letter, .magnoliabutton span.v-button-caption::first-letter { # text-transform: capitalize; }
Labels in i18n files should follow the guidelines; we should not rely on the CSS transformation.
- mentioned in
-
Page Loading...