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
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
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
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
Javier Martín
e4f99681f8
Merge pull request #2950 from consul/backport-improve_index_legislation_proposals
...
Allow select winner legislation proposals
2018-10-05 12:59:28 +02:00
Raimond Garcia
f68dc2e1a9
Merge pull request #2936 from consul/i18n-pluralize
...
Avoid InvalidPluralizationData exception when missing translations
2018-10-05 12:57:48 +02:00
voodoorai2000
be80973e44
Avoid InvalidPluralizationData exception when missing translations
...
We work with many languages using Crowdin[1]
Sometimes translators forget to fill in all the necessary plural forms of a translation (zero, one, other) and in those cases we were seing the exception InvalidPluralizationData being raised
There are a number of approches to fix this... from being more strict when approving translations, to automatically extrapolating what those plural forms should be
For now, we've gone for a simple approach to display the actual count(0,1,2,3,4, etc) instead of the whole translation
So, if the plural form of "1 comment" is missing, just a "1" will be displayed and no exceptions raised
Note: The first two specs, test what is really Rails' functionalities. However as we are monkey patching the pluralize method, I thought it was appropriate to doble check it
[1]https://crowdin.com/project/consul
2018-10-05 12:26:07 +02:00
Javi Martín
d03cc2dc95
Update Spanish locales
...
Just like done with English locales when updating translatable custom
pages in commit 351ef99.
2018-10-05 12:21:47 +02:00
decabeza
0d8c9c289a
Removes closed message on legislation proposals votes
2018-10-04 16:32:32 +02:00
Javi Martín
2a5a2e0fcb
Use "Random" instead of "All" in proposals filters
...
That way users might be less surprised when they see proposals are
different each time they access the page.
2018-10-04 16:31:00 +02:00
Javi Martín
8976280493
Order selected proposals by confidence score
...
The same way we order budget results.
2018-10-04 16:31:00 +02:00
Javi Martín
66fc49f9ed
Ignore dynamically used I18n keys
2018-10-04 16:30:59 +02:00
Javi Martín
75d1ab1e52
Use AJAX requests to select legislation proposals
...
Now the interface is more similar to the one in budget investments.
2018-10-04 16:29:01 +02:00
Javi Martín
667c2c82b5
Use toggle_select action for legislation proposals
...
The `update` action is usually expected to behave the same way it does
everywhere else, which is updating a record using the `params` hash.
The name `toggle_select` comes from the name we use in a similar
situation for budget investments.
2018-10-04 16:29:01 +02:00
Raúl Fuentes
05340e423c
Add select to Legislation::Proposals
...
Add admin interface for mark any proposal as selected
Add filter to public interface for selected proposals
2018-10-04 16:28:56 +02:00
Javier Martín
132fea9c94
Merge pull request #2913 from papayalabs/2741-updates-translatable-custom-pages-reloaded
...
Updates translatable custom pages
2018-10-03 13:23:13 +02:00
decabeza
dd11a040a6
Adds setting to enable or disable help page
2018-09-28 18:59:28 +02:00
Papaya Labs
914bfa645e
Updates translatable custom pages
2018-09-27 13:46:17 +02:00
decabeza
62490c4640
Adds custom javascripts folder
2018-09-26 12:34:16 +02:00
Javier Martín
ef0192c3ff
Merge pull request #2912 from consul/backport-make-collaborative-legislation-translatable
...
Make collaborative legislation translatable
2018-09-24 17:45:59 +02:00
Alberto
e0d08a32dd
Merge pull request #2916 from consul/custom-fonts
...
[Backport] Custom fonts
2018-09-21 14:29:50 +02:00
decabeza
a94591fe78
Loads custom fonts before default ones
...
Also includes a .keep file inside fonts/custom folder to track the directory by git
2018-09-21 13:46:50 +02:00
decabeza
a1bbc82c8d
Changes allegations dates label
2018-09-20 17:33:04 +02:00
Marko Lovic
64d72ca8e7
Enable JS in shared translatable test
...
Due to its markdown editor, the admin draft version page
requires JS to correctly render the draft version form.
2018-09-19 14:54:24 +02:00
Marko Lovic
0731b137cf
Add both English and Spanish translations to Admin Notification seeds
2018-09-19 12:15:45 +02:00
Marko Lovic
3be3b7342c
Reinstate deleted translations for seed Admin Notifications
...
These were removed in 5c726e0 , seemingly by mistake. The change
doesn't make sense in the context of the commit, and it breaks
the seed data.
2018-09-19 12:15:40 +02:00
Marko Lovic
5ff85d33d6
Fix submit button text for Admin Notifications admin form
...
In Madrid, the button text didn't change depending on whether the form
is for the "new" page or for the "edit" page.
In consul, the buttons texts were "create admin notification" and
"update admin notification" instead of "create notification" and "update
notification".
Also change translation key from "submit" to "submit_button" to
match other instances.
2018-09-19 12:05:18 +02:00
María Checa
eeb7463ff4
Merge pull request #2860 from consul/backport_1582-icon-polls
...
[Backport] Adds status icons on polls poll group
2018-09-18 12:42:37 +02:00
Raimond Garcia
71a537b4db
Merge pull request #2903 from consul/backport-refactor-translatable-specs
...
[Backport] Refactor translatable specs
2018-09-17 23:05:06 +02:00
Raimond Garcia
ea72cd058b
Merge pull request #2876 from javierm/ckeditor4_update
...
Ckeditor4 update
2018-09-17 23:02:50 +02:00