Skip to content

Commit

Permalink
Add missing translation in upload file
Browse files Browse the repository at this point in the history
  • Loading branch information
laurajaime committed Sep 12, 2024
1 parent 6f1df05 commit 169f454
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/locales/ca_admin.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
ca:
activemodel:
attributes:
participatory_space_private_user_csv_import:
file: Fitxer
attachment_collection:
weight: Pes
# Remove when merge: https://github.com/decidim/decidim/pull/11450/files
Expand Down
4 changes: 4 additions & 0 deletions config/locales/en_admin.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
en:
activemodel:
attributes:
participatory_space_private_user_csv_import:
file: File
# Remove when merge: https://github.com/decidim/decidim/pull/11450/files
decidim:
admin:
Expand Down
4 changes: 4 additions & 0 deletions config/locales/es_admin.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
es:
activemodel:
attributes:
participatory_space_private_user_csv_import:
file: Fichero
# Remove when merge: https://github.com/decidim/decidim/pull/11450/files
decidim:
admin:
Expand Down
2 changes: 2 additions & 0 deletions config/locales/oc_admin.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
oc:
activemodel:
attributes:
participatory_space_private_user_csv_import:
file: Fitxer
area:
area_type: Tipus d'àrea
name: Nom
Expand Down
5 changes: 5 additions & 0 deletions spec/features/overrides_and_customizations_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,10 @@
# have been backported to 0.28, otherwise we will need to do the backport in our fork
expect(Decidim.version).to be < "0.28"
end

it "Remove private users translation" do
# > remove key: participatory_space_private_user_csv_import.file in x_admin.yml because in 0.28 not exists this key
expect(Decidim.version).to be < "0.28"
end
# rubocop: enable RSpec/RepeatedExample
end

0 comments on commit 169f454

Please sign in to comment.