Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-6175

Lowercase labels in German

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 6.2.4
    • 6.2.2
    • None
    • 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.

      1.  Remove the hidden app in configuration/modules/ui-admincentral/config/appLauncherLayout/hiddenApps
      1. Change to German language
      2. Go to the old pages app, click on a variant and see the action bar in the right with action "Alle Varianten publizieren"
      3. 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.

        Acceptance criteria

              chuong.doan Chuong Doan Huy
              mdamborenea Monica Damborenea
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Task DoD

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - Not Specified
                    Not Specified
                    Logged:
                    Time Spent - 0.75d
                    0.75d