Skip to content

Commit 8a84daa

Browse files
committed
i18n(dossiers): extract hardcoded strings from RNFComponent
1 parent b826b24 commit 8a84daa

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

app/components/dossiers/rnf_component.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,6 @@ def details
4141
def label(key) = champ.class.human_attribute_name(key)
4242

4343
def source
44-
tag.acronym("RNF", title: "Répertoire National des Fondations")
44+
tag.acronym("RNF", title: t(".rnf_title"))
4545
end
4646
end
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
fr:
2+
rnf_title: "Répertoire National des Fondations"
3+
en:
4+
rnf_title: "National Directory of Foundations"

0 commit comments

Comments
 (0)