Commit c89d5499 authored by Antoine's avatar Antoine
Browse files

Use general translation key for cancel

parent 57129167
Pipeline #24653 passed with stages
in 11 minutes and 59 seconds
......@@ -168,7 +168,7 @@ class AddOperationModal extends React.Component {
type="button"
className="btn btn-default"
data-dismiss="modal"
value={ $t('client.addoperationmodal.cancel') }
value={ $t('client.general.cancel') }
/>
<input
type="submit"
......
......@@ -146,13 +146,13 @@ class EditAccessModal extends React.Component {
type="button"
className="btn btn-default"
data-dismiss="modal">
{ $t('client.editaccessmodal.cancel') }
{ $t('client.general.cancel') }
</button>
<button
type="submit"
form={ `${this.props.modalId}-form` }
className="btn btn-success">
{ $t('client.editaccessmodal.save') }
{ $t('client.general.save') }
</button>
</div>
);
......
......@@ -32,7 +32,7 @@ let SyncAccountBalanceModal = props => {
type="button"
className="btn btn-default"
data-dismiss="modal"
value={ $t('client.settings.resync_account.cancel') }
value={ $t('client.general.cancel') }
/>
<input
type="button"
......
......@@ -100,7 +100,7 @@ class AlertCreationModal extends React.Component {
type="button"
className="btn btn-default"
data-dismiss="modal">
{ $t('client.settings.emails.cancel') }
{ $t('client.general.cancel') }
</button>
<button
type="button"
......
......@@ -70,7 +70,7 @@ const ReportCreationModal = props => {
type="button"
className="btn btn-default"
data-dismiss="modal">
{ $t('client.settings.emails.cancel') }
{ $t('client.general.cancel') }
</button>
<button
type="button"
......
......@@ -28,9 +28,7 @@
"not_empty": "Please fill the password field",
"customFields_not_empty": "Please fill all the custom fields",
"title": "Edit bank access",
"body": "If your bank password changed, you need to update it in Kresus so that the bank link keeps on syncing operations from your bank account.",
"cancel": "Cancel",
"save": "Save"
"body": "If your bank password changed, you need to update it in Kresus so that the bank link keeps on syncing operations from your bank account."
},
"disableaccessmodal": {
"title": "Disable access",
......@@ -68,10 +66,10 @@
"default_period": "Default period"
},
"general": {
"cancel": "cancel",
"delete": "delete",
"edit": "edit",
"save": "save",
"cancel": "Cancel",
"delete": "Delete",
"edit": "Edit",
"save": "Save",
"default_parameters": "Default parameters",
"select_all": "Select all",
"unselect_all": "Unselect all",
......@@ -211,7 +209,6 @@
"resync_account": {
"title": "Resync the balance of the account: %{title}",
"submit": "Resync",
"cancel": "Cancel",
"make_sure": "You are about to resync the balance of your account. Before that, ensure you have:",
"sync_operations": "imported all the operations from your bank website",
"manage_duplicates": "merged the duplicates",
......@@ -230,7 +227,6 @@
"reports_desc": "Reports are sent at the frequency of your choice (daily, weekly or monthly) and aggregate a digest of the current state of your bank accounts: balances and new operations.",
"account": "Account",
"create": "Create",
"cancel": "Cancel",
"details": "Details",
"balance_title": "Balance alerts",
"transaction_title": "Transaction alerts",
......@@ -306,7 +302,6 @@
"label": "Title",
"amount": "Amount",
"category": "Category",
"cancel": "Cancel",
"submit": "Create",
"add_operation": "Create an operation for the account %{account}",
"type": "Type",
......
......@@ -28,9 +28,7 @@
"not_empty": "Le mot de passe est obligatoire !",
"customFields_not_empty": "Veuillez renseigner tous les champs personnalisés",
"title": "Changer les informations de connexion du compte",
"body": "Si votre mot de passe bancaire a changé, vous pouvez le changer ici afin que le lien de Kresus continue de fonctionner.",
"cancel": "Annuler",
"save": "Sauver"
"body": "Si votre mot de passe bancaire a changé, vous pouvez le changer ici afin que le lien de Kresus continue de fonctionner."
},
"disableaccessmodal": {
"title": "Désactiver l'accès",
......@@ -68,10 +66,10 @@
"default_period": "Période par défaut"
},
"general": {
"cancel": "annuler",
"delete": "supprimer",
"edit": "éditer",
"save": "sauver",
"cancel": "Annuler",
"delete": "Supprimer",
"edit": "Éditer",
"save": "Sauver",
"default_parameters": "Paramètres par défaut",
"select_all": "Sélectionner tout",
"unselect_all": "Désélectionner tout",
......@@ -211,7 +209,6 @@
"resync_account": {
"title": "Resynchroniser le solde du compte : %{title}",
"submit": "Resynchroniser",
"cancel": "Annuler",
"make_sure": "Vous êtes sur le point de resynchroniser le solde de ce compte avec le site web de votre banque. Avant d'aller plus loin, assurez-vous que vous avez bien :",
"sync_operations": "importé toutes les opérations depuis le site web de votre banque",
"manage_duplicates": "supprimé les doublons",
......@@ -230,7 +227,6 @@
"reports_desc": "Les rapports vous renseignent à la fréquence de votre choix (chaque jour, semaine ou mois) sur l'état de votre compte bancaire : solde, nouvelles opérations.",
"account": "Compte",
"create": "Créer",
"cancel": "Annuler",
"details": "Description",
"balance_title": "Alertes sur solde",
"transaction_title": "Alertes sur opérations",
......@@ -306,7 +302,6 @@
"label": "Libellé de l'opération",
"amount": "Montant",
"category": "Catégorie",
"cancel": "Annuler",
"submit": "Créer",
"add_operation": "Créer une opération pour le compte %{account}",
"type": "Type",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment