Commit Graph

18 Commits

Author SHA1 Message Date
GitLab Bot 5f8d4d631d Add latest changes from gitlab-org/gitlab@master 2021-09-29 12:11:22 +00:00
GitLab Bot a1ed241c82 Add latest changes from gitlab-org/gitlab@master 2021-02-03 21:09:17 +00:00
GitLab Bot 647de7e6fd Add latest changes from gitlab-org/gitlab@master 2020-04-29 15:09:58 +00:00
Stan Hu f93b2e02a5 Run rubocop -a on CE files 2019-05-05 03:24:28 -07:00
🌴🇿🇦 Lukas Eipert (OOO until Summit) 8f9442fcdf Frontend: Proper gettext extraction with gettext-extractor 2018-08-16 19:03:57 +00:00
Tim Zallmann 412571a4df Load only the currently needed JS locale file 2017-10-04 11:23:52 +00:00
Takuya Noguchi a789ee2d1f Remove .coffee ext files for i18n 2017-07-08 00:40:10 +09:00
Ruben Davila 3b82444eb7 Fix Rubocop complains. 2017-05-02 13:14:11 -05:00
Ruben Davila 22ecf73e82 Adjust regex used in order to parse inline content.
e.g: %h4 {{ __('foo') }}

Problem was it was being parsed as: %h4 = _('foo')
And the correct content should be: %h4= _('foo')
2017-04-27 11:58:48 -05:00
Ruben Davila 82e967bc3e Adjust the patch for the gettext_i18n_rails and gettext_i18n_rails_js gems.
This is more simple now given we're using the recommended code to
annotate content to be translated.
2017-04-26 13:02:07 -05:00
Ruben Davila d8f7674459 Add ability to parse *.vue files through the `ruby gettext:find` script 2017-04-25 21:47:49 -05:00
Ruben Davila 422c48baa7 Parse translate filters from JS files. 2017-04-25 00:01:59 -05:00
Ruben Davila 80d7f4166f Parse the translate-plural filter in HAML views 2017-04-24 23:03:38 -05:00
Ruben Davila 64aadef375 Merge branch 'js-translations' into 28433-internationalise-cycle-analytics-page
Conflicts:
	config/initializers/gettext_rails_i18n_patch.rb
2017-04-24 22:37:49 -05:00
Ruben Davila 77d9e3f9b4 Monkey patch gettext_i18n_rails so it can parse content in Mustache format 2017-04-24 22:36:14 -05:00
Phil Hughes 4f31d5963f Revert line being commented out 2017-04-21 09:16:50 +01:00
Phil Hughes dc5136a70d Merge remote-tracking branch 'origin/28433-internationalise-cycle-analytics-page' into js-translations 2017-04-21 09:16:05 +01:00
Ruben Davila 6fbc6befa1 Monkey patch gettext_i18n_rails so it can parse content in Mustache format 2017-04-20 22:47:31 -05:00