Commit Graph

55 Commits

Author SHA1 Message Date
Javi Martín
6fa67b5e53 Use active record translations for labels
This way we can simplify the way we generate form fields. In some cases,
we also use the human attribute in table headers, which IMHO makes
sense.

I haven't moved all of them: for example, sometimes a label is
different depending on whether it's shown to administrators, valuators,
or users. And I haven't touched the ones related to devise, since I
wasn't sure about possible side effects.

Note I've also removed placeholders when they had the same text as their
labels, since they weren't helpful. On the contrary, the added redundant
text to the form, potentially distracting users.
2019-10-07 01:56:23 +02:00
taitus
1788df3cf7 Add new translations
- Add new translations on SignatureSheet show page.
  Changes:
   -> "document number" to "sigantures"
   -> "documents" to "users"

- Remove unused translations from the others yml
2019-07-29 13:10:09 +02:00
Raimond Garcia
22787151f5 Merge pull request #3439 from LextrendIT/feature/add_admin_investments_column_chooser
Add columns selector JS component and change Rails view to use it
2019-06-11 17:17:52 +02:00
lalo
c2860dda0e Add can_comment and can_edit_dossier abilities to valuators 2019-06-11 16:24:02 +02:00
Raimond Garcia
d266cb33ce Merge pull request #3427 from LextrendIT/feature/unify_valuator_and_admin_investment_pages
Display preview public page component on admin and valuators investment page
2019-06-11 14:44:45 +02:00
lalo
4740aeaddf Add columns selector JS component and change Rails view to use it 2019-06-11 14:33:40 +02:00
lalo
8061bfa5e8 Send email to users related with an investment when valuation comment is created 2019-06-05 17:02:59 +02:00
lalo
c538d08fee Display public investment view on admin and valuator pages as preview 2019-06-04 09:30:51 +02:00
voodoorai2000
b9651bc9b3 Update translations from Crowdin 2019-05-30 20:26:13 +02:00
Consul Bot
a5d0078cdd New translations milestones.yml (Portuguese, Brazilian) 2019-02-14 13:26:33 +01:00
Consul Bot
de646a8796 New translations images.yml (Portuguese, Brazilian) 2019-02-14 13:26:32 +01:00
Consul Bot
fa64ac7a31 New translations documents.yml (Portuguese, Brazilian) 2019-02-14 13:19:16 +01:00
Consul Bot
d472bab4d3 New translations management.yml (Portuguese, Brazilian) 2019-02-14 13:19:15 +01:00
Consul Bot
fdd625e048 New translations admin.yml (Portuguese, Brazilian) 2019-02-14 13:19:14 +01:00
Consul Bot
7d794e9e7f New translations general.yml (Portuguese, Brazilian) 2019-02-14 13:19:10 +01:00
Consul Bot
be4c39e87a New translations legislation.yml (Portuguese, Brazilian) 2019-02-14 13:19:07 +01:00
Consul Bot
61e61d91f5 New translations community.yml (Portuguese, Brazilian) 2019-02-14 13:19:06 +01:00
Consul Bot
50dc42d45e New translations settings.yml (Portuguese, Brazilian) 2019-02-14 13:18:53 +01:00
Consul Bot
f7c9d4d03f New translations officing.yml (Portuguese, Brazilian) 2019-02-14 13:18:29 +01:00
Consul Bot
3dcd6e6a66 New translations budgets.yml (Portuguese, Brazilian) 2019-02-14 13:11:25 +01:00
Consul Bot
d401c6826c New translations pages.yml (Portuguese, Brazilian) 2019-02-14 13:11:03 +01:00
Consul Bot
912cbafa6e New translations activerecord.yml (Portuguese, Brazilian) 2019-02-14 13:10:59 +01:00
Consul Bot
4468ac1d93 New translations valuation.yml (Portuguese, Brazilian) 2019-02-14 13:10:57 +01:00
Consul Bot
e9225359c1 New translations devise_views.yml (Portuguese, Brazilian) 2019-02-14 13:10:49 +01:00
Consul Bot
5f7a0f5331 New translations verification.yml (Portuguese, Brazilian) 2019-02-14 13:10:48 +01:00
Consul Bot
28a74c9ded New translations moderation.yml (Portuguese, Brazilian) 2019-02-14 12:59:52 +01:00
Consul Bot
be87cc4df0 New translations rails.yml (Portuguese, Brazilian) 2019-02-14 12:59:51 +01:00
decabeza
9bcf673978 Remove admin legislation processes past filter i18n on all locales 2019-02-08 14:30:12 +01:00
decabeza
1be7888831 Remove legislation processes next filter i18n on all locales 2019-02-08 14:30:01 +01:00
decabeza
fd2c51cb4b Remove incoming polls filter i18n on all locales 2019-02-08 14:28:28 +01:00
Javi Martín
e34a827c48 Add translations for rails date order
Not doing so caused crashes on applications which don't fall back to
English when a translation is missing.

We're adding them in a separate file so we can exclude it from crowdin
and so translators don't translate symbols as if they were words which
need translation.
2018-12-21 19:31:15 +01:00
Javi Martín
df29b49d05 Make milestones view reusable 2018-12-11 19:22:55 +01:00
Javi Martín
64d6b7491a Make partial listing milestones reusable
So it isn't specific to budget investments anymore.
2018-12-11 19:22:55 +01:00
Javier Martín
3631ff7340 Merge pull request #3074 from consul/backport-refactor_legislation_process_subnav
Refactor legislation process subnav
2018-12-05 13:32:22 +01:00
Javier Martín
fc5a5e58de Merge pull request #3073 from consul/backport-rename_hidden_proposals
[Backport] Rename Admin::Proposals to Admin::HiddenProposals
2018-12-05 13:30:23 +01:00
Javi Martín
abf48af331 Rename draft_texts key to draft_versions
This way we can refactor the legislation tabs, since now all translation
keys follow the same convention (using the same name as the active tab
name).
2018-11-30 18:09:51 +01:00
Javi Martín
45a41a7528 Rename Admin::Proposals to Admin::HiddenProposals
The same way we do it with users and budget investments.
2018-11-30 18:04:55 +01:00
Javi Martín
f240977ed0 Update milestone I18n keys for all languages 2018-11-30 14:15:21 +01:00
Consul Bot
2344840020 New translations rails.yml (Portuguese, Brazilian) 2018-11-07 11:58:38 +01:00
Consul Bot
6c33f17fcb New translations rails.yml (Portuguese, Brazilian) 2018-11-05 14:32:09 +01:00
Consul Bot
2dcbeb5062 New translations i18n.yml (Portuguese, Brazilian) 2018-11-05 14:12:56 +01:00
Consul Bot
201123a8dd New translations admin.yml (Portuguese, Brazilian) 2018-10-18 13:25:18 +02:00
Consul Bot
262bef3505 New translations i18n.yml (Portuguese, Brazilian) 2018-10-10 15:13:37 +02:00
Consul Bot
e171c331fc New translations rails.yml (Portuguese, Brazilian) 2018-10-10 15:09:20 +02:00
Consul Bot
568e73e1b6 New translations general.yml (Portuguese, Brazilian) 2018-10-10 15:09:04 +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
ad51109149 Remove duplicate language translation 2018-10-05 18:08:48 +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