Inline form element colons are incompatible with localization

Created on 10 May 2017, about 7 years ago
Updated 21 May 2024, about 1 month ago

Problem/Motivation

Followup to #2236789: Styling of inline radios broken: inappropriate trailing colons (breaks EditorImageDialog) โ†’ :

.container-inline label:after,
.container-inline .label:after {
  content: ':';
}

The above code adds a colon after form item labels. These colons are incompatible with Drupal's localization. For example, in French this would need to be ' : ' instead of ':'; in Hindi, this might need to be localized to :-.

Proposed resolution

Possibly remove the hardcoded colon from CSS and use PHP to add the colons instead, so it can be localized properly.

Remaining tasks

  1. Decide on a solution
  2. Write a patch
  3. Review
  4. Commit

User interface changes

To be determined.

API changes

To be determined.

Data model changes

To be determined.

๐Ÿ› Bug report
Status

Closed: duplicate

Version

11.0 ๐Ÿ”ฅ

Component
UI textย  โ†’

Last updated 4 days ago

No maintainer
Created by

๐Ÿ‡ณ๐Ÿ‡ฑNetherlands idebr

Live updates comments and jobs are added and updated live.
  • CSS

    It involves the content or handling of Cascading Style Sheets.

Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024