Skip to content

Commit

Permalink
chore: Add french i18n locales & CSS (#4)
Browse files Browse the repository at this point in the history
* chore: Add french locales

* lint: Normalize i18n keys

* fix: Add CSS styles for emitters
  • Loading branch information
Quentinchampenois authored May 3, 2024
1 parent b0f16d5 commit 64c1706
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 10 deletions.
9 changes: 9 additions & 0 deletions app/packs/stylesheets/decidim/emitter/emitter.scss
Original file line number Diff line number Diff line change
@@ -1 +1,10 @@
/* css for decidim_emitter */

.emitter-header .card-data__item{
border-bottom: 1px solid #e8e8e8;
margin-bottom: 0px;

img {
max-width: 60%;
}
}
20 changes: 10 additions & 10 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,18 @@ en:
explanation: 'Guidance for logo:'
message_1: Preferrably a logo that will be seen on a white background.
message_2: The service reduce the image.
participatory_processes:
components:
emitter:
emitter_text: Consultation published by %{developer_group}
name: Emitter
participatory_processes:
admin:
participatory_processes:
form:
emitter_now: "Emitter now"
emitter_new: "New emitter"
emitter_name: "Emitter name"
emitter: "Emitter"
emitter_logo: "Emitter logo"
emitter_logo_select: "Select an emitter"
components:
emitter: Emitter
emitter_logo: Emitter logo
emitter_logo_select: Select an emitter
emitter_name: Emitter name
emitter_new: New emitter
emitter_now: Emitter now
emitter:
name: Emitter
emitter_text: Consultation published by %{developer_group}
25 changes: 25 additions & 0 deletions config/locales/fr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
fr:
decidim:
admin:
forms:
file_help:
emitter:
explanation: 'Consignes pour le logo :'
message_1: De préférence un logo qui sera visible sur un fond blanc.
message_2: Le service réduit l'image.
components:
emitter:
name: Émetteur
participatory_processes:
admin:
participatory_processes:
form:
emitter: Émetteur
emitter_logo: Logo
emitter_logo_select: Sélectionner un émetteur
emitter_name: Nom de l'émetteur
emitter_new: Nouvel émetteur
emitter_now: Émetteur actuel
emitter:
emitter_text: Publié par %{developer_group}

0 comments on commit 64c1706

Please sign in to comment.