Commit graph

18 commits

Author SHA1 Message Date
Jasper Maes
86a8955cf3 Rails 5: replace removed silence_stream 2018-08-28 13:47:40 +02:00
Bob Van Landuyt
f6d22ec11e Remove timestamps from locale/gitlab.pot
This will help us avoid conflicts when regenerating the pot file, the
timestamps aren't used by Crowdin.
2018-07-10 18:37:30 +02:00
Bob Van Landuyt
f3fbf50ad8 Update gettext:updated_check regenerate pot file
Making the `gettext:updated_check` by completely regenerating the gitlab.pot.

This avoids an issue where `gettext:find` would not pick up on changes
if the file isn't removed first.
2018-07-09 08:21:15 +02:00
Rubén Dávila
d67590bcce Merge branch 'bvl-dont-generate-mo' into 'master'
Don't generate `.mo` files

Closes #47979

See merge request gitlab-org/gitlab-ce!20048
2018-06-20 21:22:49 +00:00
Bob Van Landuyt
119f89260c Don't generate .mo files
Since we are only using `.po` files for translation we can shave off
some setup time.

Generating the `mo` files also regenerates the PO-files, including
fuzzy translations. Those cause a lot of bugs, and we don't need them
anymore since the `po` files are generated by an external translation service.
2018-06-20 22:16:13 +02:00
Lin Jen-Shin
582c6b17cf Unify flay.rake and gettext.rake from EE 2018-06-21 00:31:56 +08:00
Bob Van Landuyt
fff6b89f0f More verbose errors in static-analysis
This makes the output in static analysis a bit more verbose.
2018-06-20 14:57:47 +02:00
Bob Van Landuyt
17fc178cb5 Correctly translate all forms in tests 2018-06-15 14:58:47 +02:00
Bob Van Landuyt
9b5339371b Validate if changed translations are checked in 2018-06-15 14:58:47 +02:00
Lin Jen-Shin
9ac0c76b78 Use StrongMemoize and enable/disable cops properly 2017-11-18 01:01:53 +08:00
DJ Mountney
f9dd41a775 Do not require the simple_po_parser in the gettext rake task when in a 2017-09-05 14:09:58 +00:00
Bob Van Landuyt
7199e882db Only require simple_po_parser in rake task that needs it
That way we don't need to install it in production, since it's really
not needed there.
2017-09-04 08:30:10 +02:00
Bob Van Landuyt
0fa0ed7d85 Move PoLinter into Gitlab::I18n 2017-08-31 21:13:00 +02:00
Bob Van Landuyt
bde39322f1 Add a linter for PO files 2017-08-31 14:10:04 +02:00
Takuya Noguchi
a789ee2d1f Remove .coffee ext files for i18n 2017-07-08 00:40:10 +09:00
Ruben Davila
9d699a90e3 Add new Rake task to simplify the compilation of PO files 2017-06-01 15:07:56 -05:00
Ruben Davila
3b82444eb7 Fix Rubocop complains. 2017-05-02 13:14:11 -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