Commit graph

12 commits

Author SHA1 Message Date
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