Javi Martín
a5ba13b599
Apply Rails/Presence rubocop rule
2019-09-10 21:43:38 +02:00
Javi Martín
f9ed186909
Add rubocop spacing rules
...
We were following these rules in most places; we just didn't define them
anywhere.
2019-09-10 21:04:56 +02:00
taitus
44da3126d6
Convert AvailableLocales from Module to Class
2019-06-27 09:21:19 +02:00
taitus
3a154a57cb
Fix houncibot offenses: Style/StringLiterals
2019-06-27 09:21:19 +02:00
taitus
72d1893703
Manage the remote translation button display
...
- Add remote_translation_button partial to layout
- Only display button when we have remote_translations and if current
locale is include on available locales from remote translations service.
- Recover available locales from remote translations service.
Use daily_cache to detect every day if remote translation service has
added new available locale.
Co-Authored-By: alessandro <agileontheweb@gmail.com >
2019-06-27 09:21:18 +02:00
taitus
6ad294e71f
Fix houncibot offenses.
2019-06-27 09:21:18 +02:00
taitus
1d3dd6f727
Add RemoteTranslationsCaller to new namespace
...
- Rename to Caller
- Add to new namespace RemoteTranslations
- Update references to new namespace
2019-06-27 09:21:18 +02:00
taitus
510307b0bd
Add SentencesParser to new namespace
...
Add to new name space RemoteTranslations::Microsoft
2019-06-27 09:21:18 +02:00
taitus
4c1704a5a3
Add RemoteAvailableLocales to new namespace
...
Add to new name space RemoteTranslations::Microsoft and rename to
AvailableLocales.
2019-06-27 09:21:18 +02:00
taitus
d29656d78f
Add MicrososftTranslateClient to new namespace
...
- Rename to Client
- Add to new namespace RemoteTranslations::Microsoft
- Update references to new namespace
2019-06-27 09:21:18 +02:00