Commit Graph

11202 Commits

Author SHA1 Message Date
Consul Bot
82a9ac3a93 New translations moderation.yml (Spanish) 2018-10-10 15:08:34 +02:00
Consul Bot
884378c16a New translations rails.yml (French) 2018-10-10 15:07:00 +02:00
Consul Bot
a77a244fc0 New translations general.yml (Galician) 2018-10-10 15:06:41 +02:00
Consul Bot
5e2b4dcfd9 New translations rails.yml (Galician) 2018-10-10 15:06:31 +02:00
Consul Bot
6f1c37ab15 New translations admin.yml (French) 2018-10-10 15:06:28 +02:00
Consul Bot
cd5bbeed9d New translations general.yml (French) 2018-10-10 15:06:23 +02:00
Consul Bot
4f70afe61a New translations rails.yml (Dutch) 2018-10-10 15:06:02 +02:00
Consul Bot
48f2065cfe New translations general.yml (Chinese Traditional) 2018-10-10 15:05:56 +02:00
Consul Bot
6768091645 New translations general.yml (Spanish, Venezuela) 2018-10-10 15:05:08 +02:00
Consul Bot
8d1bd36fca New translations general.yml (Swedish) 2018-10-10 15:04:58 +02:00
Consul Bot
d5d8663c1e New translations general.yml (Spanish, Puerto Rico) 2018-10-10 15:04:28 +02:00
Consul Bot
ed4bba5bf8 New translations general.yml (Spanish, Peru) 2018-10-10 15:04:18 +02:00
Consul Bot
89d4202ad9 New translations rails.yml (Spanish, Venezuela) 2018-10-10 15:04:09 +02:00
Consul Bot
e5ec859312 New translations general.yml (Spanish, Uruguay) 2018-10-10 15:04:01 +02:00
Consul Bot
e3cea276bc New translations rails.yml (Turkish) 2018-10-10 15:03:42 +02:00
Consul Bot
cd95c9f5b9 New translations rails.yml (Polish) 2018-10-10 15:03:37 +02:00
Consul Bot
c13b53ef3d New translations rails.yml (Albanian) 2018-10-10 15:03:11 +02:00
Consul Bot
2f089535db New translations general.yml (Spanish, Ecuador) 2018-10-10 15:02:05 +02:00
Consul Bot
524a609440 New translations general.yml (Spanish, El Salvador) 2018-10-10 15:01:35 +02:00
Consul Bot
f284e1af3d New translations general.yml (Spanish, Colombia) 2018-10-10 15:01:12 +02:00
Consul Bot
f6395a3a7f New translations general.yml (Spanish, Dominican Republic) 2018-10-10 15:00:58 +02:00
Consul Bot
534823a5e9 New translations general.yml (Spanish, Costa Rica) 2018-10-10 15:00:39 +02:00
Consul Bot
00c017dd26 New translations general.yml (Spanish, Panama) 2018-10-10 15:00:26 +02:00
Consul Bot
22f395584f New translations general.yml (Spanish, Nicaragua) 2018-10-10 15:00:04 +02:00
Consul Bot
2a8a2b16b2 New translations general.yml (Spanish, Paraguay) 2018-10-10 14:59:47 +02:00
Consul Bot
e0e4f5a45b New translations general.yml (Spanish, Guatemala) 2018-10-10 14:59:36 +02:00
Consul Bot
349a15c535 New translations general.yml (Spanish, Honduras) 2018-10-10 14:59:26 +02:00
Consul Bot
c337f83911 New translations general.yml (Spanish, Mexico) 2018-10-10 14:59:01 +02:00
Alberto
c4f692303a Merge pull request #2960 from consul/rake-help-page
Adds enable help page task
2018-10-10 14:33:46 +02:00
voodoorai2000
cd22c440bf Fix locale folder names
There seems to be some differences between the folder name and the locale name used in the files themselves.

For example: the folder might have been called "de-DE", for German, but the files use one "de"

And thus translations where not being displayed

Using the locale key in the files and modifying the folder name if neccesary, let's see what happens in the next Crowdin pull, might need to review more thoroughly why this is happening (maybe due to custom settings in Crowdin)
2018-10-10 13:35:27 +02:00
Raimond Garcia
4765f7a9f7 Merge pull request #2961 from consul/crowdin_sync
Update translations from Crowdin
2018-10-10 13:22:09 +02:00
voodoorai2000
0bbc5c1246 Fix date translations
These translation keys are used to set the order in which a date object will be displayed[1]

They should not be translated, just reordered if it makes more sense of a given language

If the expected values are not found an exception is raised: ".date.order only accepts :year, :month and :day"

They should probably be somewhere else so that Crowdin translators don't feel the need to translate it. But that is a battle for another day 😌 for now simply fixing them

[1] https://guides.rubyonrails.org/i18n.html#action-view-helper-methods
2018-10-10 13:04:34 +02:00
voodoorai2000
f640a0a92c Update Crowdin translations 2018-10-10 13:04:34 +02:00
voodoorai2000
ccd342bb51 Fix flaky spec for translations
This spec was causing a side effect on another spec[2], making it fail 😌

I think it was because no translation had been called yet, in the failing spec, and so the the i18n backend translations had not been initialized, and was always returning empty translations for any locale. This might have been due to tampering with translations in the this newly introduced spec.

By forcing translations to load after this new spec, the other spec passes again

[2] https://github.com/AyuntamientoMadrid/consul/blob/master/spec/features/localization_spec.rb#L20
2018-10-10 12:47:40 +02:00
Raimond Garcia
710e5ae965 Merge pull request #2949 from consul/i18n-language-names
Display language name or language key
2018-10-10 11:45:04 +02:00
voodoorai2000
59b35156b1 Fix flaky spec
`I18n.available_locales=` does a little magic[1] and was causing some flakieness along the way, as the `:wl` locale persisted in future specs

Thanks for the heads up @javierm 👌

[1] https://www.rubydoc.info/github/svenfuchs/i18n/I18n%2FConfig:available_locales=
2018-10-09 22:15:05 +02:00
voodoorai2000
6f978b9f4e Fix portuguese specs 2018-10-09 18:32:59 +02:00
decabeza
16acb2a65f Adds enable help page task 2018-10-09 13:01:43 +02:00
dependabot[bot]
5e81977bc6 Bump letter_opener_web from 1.3.2 to 1.3.4
Bumps [letter_opener_web](https://github.com/fgrehm/letter_opener_web) from 1.3.2 to 1.3.4.
- [Release notes](https://github.com/fgrehm/letter_opener_web/releases)
- [Changelog](https://github.com/fgrehm/letter_opener_web/blob/master/CHANGELOG.md)
- [Commits](https://github.com/fgrehm/letter_opener_web/compare/v1.3.2...v1.3.4)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-08 06:11:38 +00:00
dependabot[bot]
64574b9369 Bump rollbar from 2.15.5 to 2.18.0
Bumps [rollbar](https://github.com/rollbar/rollbar-gem) from 2.15.5 to 2.18.0.
- [Release notes](https://github.com/rollbar/rollbar-gem/releases)
- [Changelog](https://github.com/rollbar/rollbar-gem/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollbar/rollbar-gem/compare/v2.15.5...v2.18.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-05 16:25:15 +00:00
dependabot[bot]
2cf5196239 Bump cancancan from 2.1.2 to 2.3.0
Bumps [cancancan](https://github.com/CanCanCommunity/cancancan) from 2.1.2 to 2.3.0.
- [Release notes](https://github.com/CanCanCommunity/cancancan/releases)
- [Changelog](https://github.com/CanCanCommunity/cancancan/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/CanCanCommunity/cancancan/compare/2.1.2...2.3.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-05 16:24:14 +00:00
Raimond Garcia
3e6b87df04 Merge pull request #2906 from consul/dependabot/bundler/i18n-tasks-0.9.25
Bump i18n-tasks from 0.9.20 to 0.9.25
2018-10-05 18:23:19 +02:00
Raimond Garcia
6a769d9484 Merge pull request #2926 from consul/dependabot/bundler/rubocop-rspec-1.26.0
Bump rubocop-rspec from 1.24.0 to 1.26.0
2018-10-05 18:22:33 +02:00
Raimond Garcia
4084b1c59f Merge pull request #2927 from consul/dependabot/bundler/delayed_job_active_record-4.1.3
Bump delayed_job_active_record from 4.1.2 to 4.1.3
2018-10-05 18:22:09 +02:00
Raimond Garcia
64997329fe Merge pull request #2928 from consul/dependabot/bundler/browser-2.5.3
Bump browser from 2.5.2 to 2.5.3
2018-10-05 18:21:42 +02:00
Raimond Garcia
3fc9e52099 Merge pull request #2929 from consul/dependabot/bundler/jquery-rails-4.3.3
Bump jquery-rails from 4.3.1 to 4.3.3
2018-10-05 18:21:23 +02:00
voodoorai2000
ad51109149 Remove duplicate language translation 2018-10-05 18:08:48 +02:00
voodoorai2000
168ebe3c8b Fix i18n task' specs
Add i18n.yml to i18n task's available translation files
2018-10-05 18:08:47 +02:00
voodoorai2000
9d7042c5ae Adds missing language name translations 2018-10-05 18:08:47 +02:00
voodoorai2000
66c9f6711b Removes obsolete locale keys for language names 2018-10-05 18:08:47 +02:00