Commit Graph

18 Commits

Author SHA1 Message Date
Bob Van Landuyt 08c0a1b852 Reject ruby interpolation in externalized strings
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' }
2018-08-25 18:43:21 +02:00
Mike Greiling 8b03ec1fdf
port of EE changes 2018-08-16 14:13:26 -05:00
Lin Jen-Shin 63cf88810d Merge branch 'master' into 'port-i18n-for-mirrors-instructions'
# Conflicts:
#   app/views/projects/mirrors/_instructions.html.haml
2018-08-10 12:13:45 +00:00
Luke Bennett 641d8ec7ea
Fix missed port 2018-08-09 12:53:14 +01:00
Lin Jen-Shin 07294d8157 Port EE changes 2018-08-09 10:17:24 +00:00
Luke Bennett 8403b38940
port changes 2018-08-07 15:10:25 +01:00
Luke Bennett 4457d98ed2
Review changes 2018-08-03 20:34:14 +01:00
Luke Bennett afca4f6a45
Move direction select to mirror_repos_form 2018-08-03 13:24:02 +01:00
Luke Bennett 693b5ea809
Make Pull default direction 2018-08-03 13:07:40 +01:00
Luke Bennett 5f1dfa9a22
Fix direction select disabled 2018-08-02 10:37:20 +01:00
Luke Bennett 493b225b97
Disable direction select if 1 option 2018-08-02 00:17:26 +01:00
Luke Bennett 94dfd15e47
re-port 2018-08-02 00:08:22 +01:00
Luke Bennett cfefab3259
port 2018-07-25 12:05:40 +01:00
Annabel Dunstone Gray 0deb8547af
Replace label-light with label-bold. Because it's bold, not light 2018-07-19 17:11:31 -05:00
Filipa Lacerda 26dd4b3b49
Adds an ID to the settings section to allow anchor linking 2018-06-27 13:25:17 +01:00
Clement Ho 4d6f6f9347 Convert remaining pull-* to float-* 2018-05-29 18:54:05 -05:00
Tiago Botelho 961255b107 Adds remote mirror table migration 2018-05-07 12:00:13 +02:00
Tiago Botelho 9a13059332 Backports every CE related change from ee-5484 to CE 2018-05-07 11:59:51 +02:00