https://localize.drupal.org/translate/languages/de/translate?sid=2735434
https://localize.drupal.org/translate/languages/de/translate?sid=2735435

The mallfomed HTML filter permitts rendering strings with <div></div> Tags in it. Please make sure to remove the div from the strings on localize.drupal.org. Otherwise theses Srings will never get any trainslation in any language.-

Issue fork bootstrap-3157044

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

Joachim Namyslo created an issue. See original summary.

joachim namyslo’s picture

Title: Remove <div> from localisazion strings » Remove <div> from translation strings
joachim namyslo’s picture

Issue tags: +localization
joachim namyslo’s picture

tobiasb’s picture

Status: Active » Needs review
StatusFileSize
new2.43 KB

I change the div with the p element and also adds the default css classes for a warning.

bhumikavarshney’s picture

StatusFileSize
new49.97 KB

Hi @tobiasb,
Patch applies cleanly and works fine for me.
Thanks!

markhalliwell’s picture

Title: Remove <div> from translation strings » Change <div> tags to <span> tags in translation strings
Status: Needs review » Needs work

I'd rather not use <p> tags as those tend to have extra margins associated with them and also semantically inaccurate. Let's use <span> tags instead.

Also, this should probably change any translation in the code that has these, not just this one.

anagomes’s picture

Assigned: Unassigned » anagomes
anagomes’s picture

Assigned: anagomes » Unassigned
Status: Needs work » Needs review
StatusFileSize
new2.46 KB
new2.37 KB

Here's a patch with the <span> tags instead of <p>. Also providing an interdiff to help in the review.

WagnerMelo’s picture

Status: Needs review » Reviewed & tested by the community

Hello, i reviewed this issue and the @anagomes patch, and everything look like ok, i installed and run the theme in my environment and its works correctly.

kunal_sahu made their first commit to this issue’s fork.

kunal_sahu’s picture

I have created an MR , please merge. Thanks

shelane’s picture

Status: Reviewed & tested by the community » Closed (won't fix)

This theme will not be supported for Bootstrap 4. See alternative themes for this support.