Page MenuHomePhabricator

Use new system of getting localized messages in Map of Monuments
Closed, ResolvedPublic

Description

Flask-JSONLocale (our localization library) recommends using {{ _("message-code") }} nowadays instead of {{ locale['message-code'] }}. Use this newer system in Map of Monuments. See this example.

Event Timeline

Urbanecm updated the task description. (Show Details)
Urbanecm updated the task description. (Show Details)
Urbanecm renamed this task from Use new system of getting localized messages to Use new system of getting localized messages in Map of Monuments.Oct 12 2018, 12:21 PM

@Arcayn You can claim this task here on Phabricator as well, as this is one-instance GCI task. There's Add Action dropdown and in it there's Assign/Claim option.

Change 471010 had a related patch set uploaded (by Arcayn; owner: Arcayn):
[labs/tools/map-of-monuments@master] Update Flask_JSONLocale instances to newer syntax

https://gerrit.wikimedia.org/r/471010

Change 471010 merged by jenkins-bot:
[labs/tools/map-of-monuments@master] Update Flask_JSONLocale instances to newer syntax

https://gerrit.wikimedia.org/r/471010