Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-09-19Remove unused constantBob Van Landuyt
This removes an unused constant from the `RubyInterpolationInTranslation`. The constant was used in a first implementation of this class.
2018-08-25Reject ruby interpolation in externalized stringsBob Van Landuyt
When using ruby interpolation in externalized strings, they can't be detected. Which means they will never be presented to be translated. To mix variables into translations we need to use `sprintf` instead. Instead of: _("Hello #{subject}") Use: _("Hello %{subject}) % { subject: 'world' }