I18n for new strings

This commit is contained in:
benthecarman
2024-03-27 11:00:16 -05:00
committed by Tony Giorgio
parent 8c3572dd15
commit 71e53bfe43
3 changed files with 16 additions and 6 deletions

View File

@@ -543,7 +543,9 @@
"description": "Mutiny has experimental support for the Fedimint protocol. Store funds in a federation at your own risk!",
"learn_more": "Learn more about Fedimint.",
"discover": "Discover Federations",
"manual": "Invite Code"
"manual": "Invite Code",
"created_at": "Created At",
"recommended_by": "Recommended By"
},
"gift": {
"give_sats_link": "Give sats as a gift",

View File

@@ -496,7 +496,9 @@
"expires": "Expira",
"federation_id": "ID federación",
"description": "Mutiny tiene soporte experimental para el protocolo Fedimint. ¡Almacene fondos en una federación bajo su propio riesgo!",
"learn_more": "Aprenda más sobre Fedimint."
"learn_more": "Aprenda más sobre Fedimint.",
"created_at": "Creado En",
"recommended_by": "Recomendado por"
},
"gift": {
"give_sats_link": "Dar sats de regalo",

View File

@@ -232,8 +232,11 @@ function AddFederationForm(props: { refetch?: RefetchType }) {
<MiniStringShower text={fed.id} />
</KeyValue>
<Show when={fed.created_at}>
<KeyValue key="created at">
{/* todo i18n */}
<KeyValue
key={i18n.t(
"settings.manage_federations.created_at"
)}
>
<time>
{timeAgo(fed.created_at)}
</time>
@@ -244,8 +247,11 @@ function AddFederationForm(props: { refetch?: RefetchType }) {
fed.recommendations.length > 0
}
>
<KeyValue key={"recommended by"}>
{/* todo i18n */}
<KeyValue
key={i18n.t(
"settings.manage_federations.recommended_by"
)}
>
<div class="flex items-center gap-2 overflow-scroll md:gap-4">
<For
each={