Closed Bug 1158607 Opened 11 years ago Closed 10 years ago

Non-localizable string in report section from demo studio

Categories

(developer.mozilla.org Graveyard :: Demo Studio / Dev Derby, defect)

All
Other
defect
Not set
minor

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: thegennok, Unassigned)

Details

(Whiteboard: [specification][type:bug])

What did you do? ================ 1. See the detailed page for the demo in another locale than en-US (e.g.: https://developer.mozilla.org/fr/demos/detail/snap-and-share) 2. Click on one of the link for report a problem with the demo (e.g.: "La démo ne fonctionne pas"). 3. A modal appear. What happened? ============== Part of the modal is localized, another part (the flag type) is not localizable. Theses are the three string who are not localized : This demo is not working for me This demo contains inappropriate content This demo was not created by the author What should have happened? ========================== Every string should be localizable. Is there anything else we should know? ====================================== The three incrimined non-localized string are not present in localize.mozilla.org. The modal is generated in https://github.com/mozilla/kuma/blob/b7be09c807b9f7548afe3470ed86fc043bfaec41/kuma/contentflagging/models.py#L102
The string from apps/contentflagging/models.py:22 is translated. [1] But, the code seems to get the string from settings.py. [2] Still, they should have the same message ID, so the translation should be shared between them. So the bug here is that the demo page is not using the translated string for some reason. :( [1] https://localize.mozilla.org/fr/mdn/LC_MESSAGES/translate.html#search=inappropriate&sfields=source,target [2] https://github.com/mozilla/kuma/blob/5aa8b0bc2d42e0ee73c59f4e601879a098d24d0e/settings.py#L857-L862
Severity: normal → minor
Component: General → Demo Studio / Dev Derby
Demo Studio has been decommissioned. See bug 1223109.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.