diff options
| author | Adrien Hopkins <[email protected]> | 2023-01-05 09:57:15 -0500 |
|---|---|---|
| committer | Adrien Hopkins <[email protected]> | 2023-01-05 09:57:15 -0500 |
| commit | ac08a7c81c5097e775373ee881113f69b2daa0be (patch) | |
| tree | 5a69d834bc788e4401c803e1d80ab30fa0f091d4 | |
| parent | 524428b94330bf0100fc4ea6452a6057edfd3636 (diff) | |
| download | coinos-ui-ac08a7c81c5097e775373ee881113f69b2daa0be.tar.gz coinos-ui-ac08a7c81c5097e775373ee881113f69b2daa0be.zip | |
update french translation
| -rw-r--r-- | doc/i18n.md | 39 | ||||
| -rw-r--r-- | src/locales/en.json | 1 | ||||
| -rw-r--r-- | src/locales/fr.json | 76 | ||||
| -rw-r--r-- | src/routes/(app)/[username]/dashboard/+page.svelte | 2 |
4 files changed, 88 insertions, 30 deletions
diff --git a/doc/i18n.md b/doc/i18n.md index c54f6461..c3f355eb 100644 --- a/doc/i18n.md +++ b/doc/i18n.md @@ -64,23 +64,28 @@ These denote sections of the JSON file, which helps keep it organized. If you're In the translation files, sections roughly correspond to where the the text is in coinos. This can be useful if you need context for some text. Here are some of these associations (`A.B` means section `B` is located inside `A`): -| Section | Location | -| ----------------- | ------------------------------------------------- | -| 404 | the 404 page | -| about | the 'About' section at the bottom of the homepage | -| error | the error page | -| faq | the FAQ on the homepage | -| footer | the bottom of the homepage | -| howItWorks | the 'How it Works' section | -| invoice | the Invoice page | -| jobs | the Jobs page | -| landing | the top of the homepage | -| login | the Register and Login pages | -| user | the user page | -| user.dashboard | the user's dashboard | -| user.settings | the settings page | -| user.support | the user's support page | -| user.transactions | the user's transaction history page | +| Section | Location | +|----------------|---------------------------------------------------| +| 404 | the 404 page | +| about | the 'About' section at the bottom of the homepage | +| error | the error page | +| faq | the FAQ on the homepage | +| footer | the bottom of the homepage | +| howItWorks | the 'How it Works' section | +| invoice | the Invoice page | +| jobs | the Jobs page | +| landing | the top of the homepage | +| login | the Register and Login pages | +| user | the user page | +| user.dashboard | the user's dashboard | +| user.settings | the settings page | +| user.support | the user's support page | +| transactions | anything to do with transactions | + +If you have the `grep` tool installed and know how to use a terminal, you can use it to find where a certain bit of text is being used. In the main folder (usually called `coinos-ui-v2`), you can use the following command to find where `transactions.submit` is being used, for example: +```bash +grep -r "transactions.submit" src +``` ### HTML Tags diff --git a/src/locales/en.json b/src/locales/en.json index 99ae7a5a..b4c8f8ac 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -273,6 +273,7 @@ "requestAnInvoice": "Request an invoice", "submit": "Submit", "isRequesting": "is requesting", + "invoiceFrom": "Invoice from", "awaiting": "Awaiting", "tapAnywhere": "Tap anywhere", "from": "from", diff --git a/src/locales/fr.json b/src/locales/fr.json index fedba505..bc9c9d66 100644 --- a/src/locales/fr.json +++ b/src/locales/fr.json @@ -132,7 +132,8 @@ "signOut": "Déconnexion", "dashboard": "Tableau de bord", "settings": "Préférences", - "support": "Assistance" + "support": "Assistance", + "profile": "Profil" }, "newSiteHeader": "Bienvenue à la <a href=\"/news\" class=\"underline underline-offset-4 text-black hover:opacity-80\">coinos nouvelle et amélioré</a>, concentré au marchants! Cherchez pour le dernier coinos? Visitez <a href=\"https://classic.coinos.io\" class=\"underline underline-offset-4 text-black hover:opacity-80\">classic.coinos.io</a>.", "invoice": { @@ -167,7 +168,9 @@ "send": "Envoie", "withdraw": "Retire", "go": "Allez", - "receive": "Reçois un Paiement" + "receive": "Reçois un Paiement", + "deposit": "Déposer", + "voucher": "Bon" }, "receive": { "lessThan1BTCWarning": "S'il vous plaît utilisez moins d'un bitcoin.", @@ -182,7 +185,6 @@ "username": "Nom d'Utilisateur", "email": "Courriel", "newPassword": "Mot de Passe Nouveau", - "businessAddress": "Addresse d'Entreprise", "emailNotifications": "Notifications par Courriel", "emailNotificationsDescription": "Nous pouvons vous notifier par courriel quand votre conte change ou quand vous recevez des paiements", "smsNotifications": "Notifications par SMS", @@ -205,7 +207,13 @@ "profileImage": "Image de Profil", "oneTimeCode": "Entrez mot de passe à usage unique", "accountId": "Secret de conte", - "twofaDisable": "Désactivez A2F" + "twofaDisable": "Désactivez A2F", + "about": "À Propos", + "aboutPlaceholder": "Un description court de vous ou votre entreprise (adresse, bio, etc.)", + "select": "Choisir", + "verifyPIN": "Verifiez votre NIP", + "enablePIN": "Activer NIP", + "disablePIN": "Désactiver NIP" }, "support": { "header": "Assistance", @@ -214,16 +222,60 @@ "message": "Message", "send": "Envoie" }, - "transactions": { - "header": "Histoire des Transactions", - "AMOUNT": "QUANTITÉ", - "TYPE": "TYPE", - "TIME": "HEURE", - "sent": "Envoyé", - "received": "Recevé", - "empty": "Vous n'avez pas des transactions." + "bitcoin": "Bitcoin", + "lightning": "Lightning", + "invoice": "Facture", + "unfollow": "Ne plus suivre", + "following": "Vous suivez", + "this": "Cette", + "lightningAddress": "adresse de Lightning", + "likeAnEmail": "est comme un courriel pour bitcoin. Vous pouvez le publier sur votre site web ou votre carte de visite et l'utiliser plusieurs fois.", + "send": { + "contacts": "Contacts", + "scan": "Scannez", + "paste": "Collez", + "next": "Prochain", + "placeholder": "Collez une adresse de bitcoin, facture de lightning ou nom d'utilisateur coinos" } }, + "transactions": { + "header": "Histoire des Transactions", + "AMOUNT": "QUANTITÉ", + "TYPE": "TYPE", + "TIME": "HEURE", + "sent": "Envoyé", + "received": "Recevé", + "empty": "Vous n'avez pas des transactions.", + "send": "Envoie", + "next": "Prochain", + "sendersChoice": "Choix d'envoyeur", + "sendTo": "Envoie à", + "to": "à", + "pay": "Payez", + "requesting": "demande", + "sentInvoiceTo": "a envoyé une facture à", + "sentRequestTo": "a envoyé une demande à", + "pleasePay": "S'il vous plaît payez", + "day": "Jour", + "week": "Semaine", + "month": "Mois", + "all": "Tout", + "export": "Exportez", + "invoice": "Facture", + "readyToPay": "est prêt à payer", + "describeOrder": "Utilizer ce champ pour décrire votre commande", + "requestAnInvoice": "Demandez une facture", + "submit": "Soumettre", + "isRequesting": "demande", + "invoiceFrom": "Facture de", + "awaiting": "Attendez pour", + "tapAnywhere": "Tapez partout", + "from": "de", + "redeem": "Échangez", + "redeemed": "Déjà échangé", + "redeemedBy": "Échangé par", + "sendMessage": "Message" + }, "news": { "header": "Nouvelles", "subheader": "Dernières Informations", diff --git a/src/routes/(app)/[username]/dashboard/+page.svelte b/src/routes/(app)/[username]/dashboard/+page.svelte index 7e90348a..3fcf8c06 100644 --- a/src/routes/(app)/[username]/dashboard/+page.svelte +++ b/src/routes/(app)/[username]/dashboard/+page.svelte @@ -103,7 +103,7 @@ <div class="flex"> <Avatar user={recipient} size={20} /> <div class="my-auto text-left"> - <p class="text-secondary">Invoice from</p> + <p class="text-secondary">{$t('transactions.invoiceFrom')}</p> <p class="ml-1 text-lg break-words">{recipient.username}</p> </div> </div> |
