Skip to content

Commit

Permalink
fix(i18n): translate journal modules
Browse files Browse the repository at this point in the history
This commit rounds out the posting journal tools by translating all the
keys that are used.  It also prunes the `posting_journal.json` file to
find keys that are not used.
  • Loading branch information
jniles committed Sep 25, 2017
1 parent 339bb40 commit cbac530
Show file tree
Hide file tree
Showing 4 changed files with 126 additions and 158 deletions.
120 changes: 44 additions & 76 deletions client/src/i18n/en/posting_journal.json
Original file line number Diff line number Diff line change
@@ -1,85 +1,54 @@
{
"POSTING_JOURNAL":{
"ABOLISH_GROUPS":"Abolishing Group",
"ACCOUNT":"Account",
"ADD_ROW":"Add Row",
"REMOVE_ROW":"Remove Row(s)",
"ADD_TRANSACTION":"Add Transaction",
"CONFIGURE":"Configure",
"CREDIT":"Credit",
"ROW":"Row",
"ROWS":"Row(s)",
"CREDIT_LETTER":"C",
"DEBIT_LETTER":"D",
"DEBIT":"Debit",
"EDITING":"Editing",
"NO_TRANSACTION_TYPE":"No assigned transaction type",
"TOTAL_ROWS":"Rows",
"DEB_CRED":"Deb Cred",
"DELETE_TRANSACTION":"Delete Transaction",
"EDIT":"Edit",
"EDIT_TRANSACTION":"Edit transaction",
"ENTERPRISE":"Enterprise",
"ENTERPRISE_MANAGEMENT":"Enterprise Management",
"FISCAL_YEAR":"Fiscal Year",
"GENERAL_LEDGER":"General Ledger",
"GROUP_BY":"Group By",
"IN_PROGRESS":"In progress",
"JUSTIFICATION":"Justification",
"LINES":"Lines",
"LIVE_TRANSACTION":"Live Transaction",
"RECORDS":"records",
"REFRESH":"Refresh",
"SAVE_TRANSACTION":"Save Transaction",
"SINGLE_EDIT_ONLY":"Single Edit Only",
"SPLIT":"Split",
"SPLIT_TRANSACTION":"Split transaction",
"TRANSACTION":"Transaction",
"TRANSACTION_DATE":"Transaction Date",
"SAVE_TRANSACTION_SUCCESS":"Transaction record was updated successfully.",
"TRANSACTION_NUMBER":"Transaction Number",
"TRANSACTION_SUCCESS":"Transaction success",
"UNKNOWN_ACCOUNT":"Unknown Account",
"VERIFY_TRANSACTION":"Verify Transaction",
"POSTING_JOURNAL": {
"ADD_ROW" : "Add Row",
"REMOVE_ROW" : "Remove Row(s)",
"ROWS" : "Row(s)",
"EDITING" : "Editing",
"NO_TRANSACTION_TYPE" : "No assigned transaction type",
"JUSTIFICATION" : "Justification",
"REFRESH" : "Refresh",
"SAVE_TRANSACTION" : "Save Transaction",
"SAVE_TRANSACTION_SUCCESS" : "Transaction record was updated successfully.",
"TRANSACTION" : "Transaction",
"VIEWING" : "Viewing",
"OUTDATED_DATA_MESSAGE_1":"The data displayed may have changed since it was loaded.",
"OUTDATED_DATA_MESSAGE_2":"the latest data.",
"CLICK_HERE_TO_RELOAD":"Click here to reload",
"CONFIGURATION":{
"TITLE":"Columns configuration",
"COLUMNS":"Columns"
"OUTDATED_DATA_MESSAGE_1" : "The data displayed may have changed since it was loaded.",
"OUTDATED_DATA_MESSAGE_2" : "the latest data.",
"CLICK_HERE_TO_RELOAD" : "Click here to reload",
"CONFIGURATION": {
"TITLE" : "Columns configuration",
"COLUMNS" : "Columns"
},
"ERRORS":{
"DATE_IN_WRONG_PERIOD":"Dates in wrong period",
"MISSING_DESCRIPTION":"Descriptions omitted",
"NO_FISCAL_FOR_DATE":"There is no fiscal year for this Date",
"CLOSED_FISCAL_YEAR":"The fiscal year for this date has already been closed",
"VARIOUS_TRANSACTION_TYPE":"Various transaction type for a transaction",
"LOCKED_ACCOUNT":"An accountant has locked one or more accounts used in a transaction. To correct this error, update the transaction or unlock the periods.",
"ERRORS": {
"DATE_IN_WRONG_PERIOD" : "Dates in wrong period",
"MISSING_DESCRIPTION" : "Descriptions omitted",
"NO_FISCAL_FOR_DATE" : "There is no fiscal year for this Date",
"CLOSED_FISCAL_YEAR" : "The fiscal year for this date has already been closed",
"VARIOUS_TRANSACTION_TYPE" : "Various transaction type for a transaction",
"LOCKED_ACCOUNT" : "An accountant has locked one or more accounts used in a transaction. To correct this error, update the transaction or unlock the periods.",
"TRANSACTION_DIFF_DATES" : "A transaction must have identical dates, yet some transaction contains different dates. Correct this by updating the dates of the affected transactions.",
"UNBALANCED_TRANSACTIONS":"Unbalanced Transaction(s)",
"UNBALANCED_TRANSACTIONS" : "Unbalanced Transaction(s)",
"MISSING_TRANSACTIONS" : "No transactions have been submitted.",
"MISSING_ACCOUNTS":"Accounts omitted",
"MISSING_DATES":"Missing Dates",
"MISSING_ACCOUNTS" : "Accounts omitted",
"MISSING_DATES" : "Missing Dates",
"DEB_CRED_NOT_NULL" : "The debits and credits should not be zero",
"CREDITED_DEBITED" : "On the same transaction line an account can not be debited and credited at the same time",
"MISSING_DOCUMENT_ID":"Records without document ID",
"MISSING_ENTITY":"Record without entity ID",
"MISSING_FISCAL_OR_PERIOD":"Fiscal year or period omitted",
"MULTIPLE_CANCELLING":"Multiple Cancelling. This transaction has been already cancelled",
"SINGLE_LINE_TRANSACTION":"A transaction must have two or more lines. To correct this, locate the transaction and add the balancing line.",
"EDIT_INVALID_ACCOUNT":"Transaction contains invalid account(s)",
"EDIT_INVALID_ENTITY":"Transaction contains an invalid entity",
"EDIT_INVALID_REFERENCE":"Transaction contains an invalid reference",
"TRANSACTION_ALREADY_POSTED":"Transaction has already been posted and cannot be edited",
"USER_CANNOT_EDIT_POSTED_TRANSACTION":"User cannot edit this transaction as it has already been posted",
"TRANSACTION_MUST_CONTAIN_ROWS":"Existing transactions must contain rows"
"MISSING_DOCUMENT_ID" : "Records without document ID",
"MISSING_ENTITY" : "Record without entity ID",
"MISSING_FISCAL_OR_PERIOD" : "Fiscal year or period omitted",
"MULTIPLE_CANCELLING" : "Multiple Cancelling. This transaction has been already cancelled",
"SINGLE_LINE_TRANSACTION" : "A transaction must have two or more lines. To correct this, locate the transaction and add the balancing line.",
"EDIT_INVALID_ACCOUNT" : "Transaction contains invalid account(s)",
"EDIT_INVALID_ENTITY" : "Transaction contains an invalid entity",
"EDIT_INVALID_REFERENCE" : "Transaction contains an invalid reference",
"TRANSACTION_ALREADY_POSTED" : "Transaction has already been posted and cannot be edited",
"USER_CANNOT_EDIT_POSTED_TRANSACTION" : "User cannot edit this transaction as it has already been posted",
"TRANSACTION_MUST_CONTAIN_ROWS" : "Existing transactions must contain rows"
},
"WARNINGS":{
"MISSING_ENTITY":"Record without entity type and entity ID",
"NO_TRANSACTIONS_SELECTED":"No transactions selected. You must be in Transaction view to use this tool.",
"MULTIPLE_TRANSACTION_EDIT_DISABLED":"You have multiple transactions selected. Multiple transaction editing is currently disabled.",
"TRIAL_BALANCE_HAS_POSTED_RECORDS":"You have selected posted records! The Trial Balance can only show results of unposted records."
"WARNINGS": {
"MISSING_ENTITY" : "Record without entity type and entity ID",
"NO_TRANSACTIONS_SELECTED" : "No transactions selected. You must be in Transaction view to use this tool.",
"MULTIPLE_TRANSACTION_EDIT_DISABLED" : "You have multiple transactions selected. Multiple transaction editing is currently disabled.",
"TRIAL_BALANCE_HAS_POSTED_RECORDS" : "You have selected posted records! The Trial Balance can only show results of unposted records."
},
"TRIAL_BALANCE" : {
"TITLE" : "Trial Balance",
Expand All @@ -91,7 +60,6 @@
"IS_BALANCED" : "Balanced",
"POSTED_TRANSACTIONS" : "Success! Posted {{ numRecords }} Transactions to the General Ledger."
},
"TITLE":"Posting Journal",
"EDIT_MODE":"Edit Mode"
"TITLE" : "Posting Journal"
}
}
7 changes: 6 additions & 1 deletion client/src/i18n/fr/form.json
Original file line number Diff line number Diff line change
Expand Up @@ -151,12 +151,17 @@
"UPDATE_SUCCESS": "Mise à jour avec succès",
"UPLOAD_PICTURE_FAILED": "Le fichier selectionné n'est pas une image",
"VIEW_BEGINNING_BALANCE": "Aperçue de la balance d'ouverture",
"VIEW_CLOSING_BALANCE": "Aperçue de la balance de cloture"
"VIEW_CLOSING_BALANCE": "Aperçue de la balance de cloture",
"UNPOSTED_TRANSACTION": "Transactions non-posté ne sont pas affichées",
"TRANSACTIONS": "Transactions",
"ROWS": "enregistrements"
},
"LABELS": {
"ABBREVIATION": "Abbreviation",
"ACCOUNT": "Compte",
"ACCOUNT_EXTRACT": "Extrait de compte",
"NON_POSTED_TRANSACTIONS": "Transactions non-posté",
"POSTED_TRANSACTIONS": "Transactions posté",
"ACCOUNT_NUMBER": "Numéro de Compte",
"ACCOUNT_TITLE": "Libelle de Compte",
"ACCOUNT_TYPE": "Type de Compte",
Expand Down
142 changes: 65 additions & 77 deletions client/src/i18n/fr/posting_journal.json
Original file line number Diff line number Diff line change
@@ -1,77 +1,65 @@
{"POSTING_JOURNAL":{"ABOLISH_GROUPS":"Abolir les groupes",
"ACCOUNT":"Compte",
"ADD_ROW":"Ajouter Ligne",
"REMOVE_ROW":"Supprimer Ligne(s)",
"ADD_TRANSACTION":"Ajouter une Transation",
"CONFIGURE":"Configurer",
"CREDIT":"Crédit",
"DEBIT":"Débit",
"DEB_CRED":"Débiteur / Créditeur",
"ROW":"Ligne",
"ROWS":"Ligne(s)",
"DEBIT_LETTER":"D",
"CREDIT_LETTER":"C",
"TOTAL_ROWS":"Lignes",
"SAVE_TRANSACTION_SUCCESS":"Enregistrement de transaction enregistré avec succés",
"DELETE_TRANSACTION":"Supprimer une transaction",
"EDIT":{"ATTEMPTS_REMAINING":"essais restants.",
"ID":"ID Session",
"INVALID_PIN":"Ce PIN est invalide.",
"INVALID_SESSION":"La session etait terminer à cause de authentification manquant. S'il vous plait, réessayer ou demander une administrateur remettre un place votre PIN.",
"JUSTIFICATION":"Enregistre une justification pour votre activites.",
"MIN_CHARS":"Minimum 10 caracteres",
"PIN":"Confirmer votre identite avec votre PIN",
"TITLE":"Commencer Session Edition"},
"EDIT_MODE":"Mode Edition",
"EDIT_TRANSACTION":"Editer une transaction",
"ENTERPRISE":"Entreprise",
"ENTERPRISE_MANAGEMENT":"Gestion de l'Entreprise",
"FISCAL_YEAR":"Année Fiscal",
"GENERAL_LEDGER":"Grand Livre",
"GROUP_BY":"Groupe Par",
"IN_PROGRESS":"En Cours",
"JUSTIFICATION":"Justification",
"LINES":"Lignes",
"LIVE_TRANSACTION":"Transaction Vivant",
"RECORDS":"Données",
"REFRESH":"Rafraichir",
"SAVE_TRANSACTION":"Sauvegarder la transaction",
"SINGLE_EDIT_ONLY":"Modifier une seule transaction à la fois",
"SPLIT":"Diviser",
"SPLIT_TRANSACTION":"Split Transaction",
"TITLE":"Journal de Saisie",
"TRANSACTION":"Transaction",
"TRANSACTION_DATE":"Date de Transaction",
"TRANSACTION_NUMBER":"Numéro de Transaction",
"TRANSACTION_SUCCESS":" Edition des transaction et logs enregistrés avec succès",
"UNKNOWN_ACCOUNT":"Compte Inconnu",
"VERIFY_TRANSACTION":"Verifier Transaction",
"CONFIGURATION":{"TITLE":"Configuration colonnes",
"COLUMNS":"Colonnes"},
"ERRORS":{"DATE_IN_WRONG_PERIOD":"Dates dans la mauvaise periode",
"MISSING_DESCRIPTION":"Descriptions omises",
"NO_FISCAL_FOR_DATE":"Il n'existe pas d'année fiscale pour cette Date",
"CLOSED_FISCAL_YEAR":"L'annee fiscale pour cette date a déjà été fermé",
"VARIOUS_TRANSACTION_TYPE":"Type de transaction different pour une meme transaction",
"TRANSACTION_DIFF_DATES" : "Transactions avec des dates differentes",
"LOCKED_ACCOUNT":"Compte(s) verrouille(s)",
"UNBALANCED_TRANSACTIONS":"Transaction(s) non balancee(s)",
"MISSING_ACCOUNTS":"Compte(s) omis",
"CREDITED_DEBITED": "Sur une meme ligne de transaction un compte ne peut pas être débité et crédité en même temps",
"DEB_CRED_NOT_NULL" : "Le débit et le crédit ne doivent pas être égale à Zero",
"MISSING_DATES":"Date(s) manquante(s)",
"MISSING_DOCUMENT_ID":"Ligne(s) sans ID Document",
"MISSING_ENTITY":"Ligne(s) sans ID entite",
"MISSING_FISCAL_OR_PERIOD":"Année fiscale ou periode omise",
"MULTIPLE_CANCELLING":"Annulation multiple. Cette transaction a deja été annulée",
"SINGLE_LINE_TRANSACTION":"Transaction(s) avec une ligne",
"EDIT_INVALID_ACCOUNT":"Transaction avec des comptes non valides",
"EDIT_INVALID_ENTITY":"Transaction avec une entité non valide",
"EDIT_INVALID_REFERENCE":"Transaction avec référence non valide"},
"WARNINGS":{"MISSING_ENTITY":"Ligne(s) sans type entite et ID entite",
"NO_TRANSACTIONS_SELECTED":"Aucune transaction sélectionnée. Vous devez étre en mode Transaction pour utiliser cet outil."},
"ERROR_REPORT":{"TITLE":"Rapports D'erreurs"},
"TRIAL_BALANCE":{"TITLE":"Rapprochement Grand Livre",
"MAIN":"Principal",
"DETAIL":"Detail",
"ERROR_LIST":"Liste Erreur"}}}
{
"POSTING_JOURNAL": {
"ADD_ROW" : "Ajouter Ligne",
"REMOVE_ROW" : "Supprimer Ligne(s)",
"ROWS" : "Ligne(s)",
"SAVE_TRANSACTION_SUCCESS" : "La transaction etait enregistré avec succés",
"JUSTIFICATION" : "Justification",
"REFRESH" : "Rafraichir",
"SAVE_TRANSACTION" : "Sauvegarder la transaction",
"TITLE" : "Journal de Saisie",
"TRANSACTION" : "Transaction",
"CLICK_HERE_TO_RELOAD" : "Cliquez ici pour recharger les données",
"EDITING" : "Édition",
"VIEWING" : "Voir",
"NO_TRANSACTION_TYPE" : "Pas de type de transaction attribué",
"OUTDATED_DATA_MESSAGE_1" : "Les données affichées peuvent avoir changé depuis leur chargement",
"OUTDATED_DATA_MESSAGE_2" : "les dernières données.",
"CONFIGURATION": {
"TITLE" : "Configuration colonnes",
"COLUMNS" : "Colonnes"
},
"ERRORS": {
"DATE_IN_WRONG_PERIOD" : "Dates dans la mauvaise periode",
"MISSING_DESCRIPTION" : "Descriptions omises",
"NO_FISCAL_FOR_DATE" : "Il n'existe pas d'année fiscale pour cette Date",
"CLOSED_FISCAL_YEAR" : "L'annee fiscale pour cette date a déjà été fermé",
"VARIOUS_TRANSACTION_TYPE" : "Type de transaction different pour une meme transaction",
"TRANSACTION_DIFF_DATES" : "Transactions avec des dates differentes",
"LOCKED_ACCOUNT" : "Compte(s) verrouille(s)",
"UNBALANCED_TRANSACTIONS" : "Transaction(s) non balancee(s)",
"MISSING_ACCOUNTS" : "Compte(s) omis",
"CREDITED_DEBITED": "Sur une meme ligne de transaction un compte ne peut pas être débité et crédité en même temps",
"DEB_CRED_NOT_NULL" : "Le débit et le crédit ne doivent pas être égale à Zero",
"MISSING_DATES" : "Date(s) manquante(s)",
"MISSING_DOCUMENT_ID" : "Ligne(s) sans ID Document",
"MISSING_ENTITY" : "Ligne(s) sans ID entite",
"MISSING_FISCAL_OR_PERIOD" : "Année fiscale ou periode omise",
"MULTIPLE_CANCELLING" : "Annulation multiple. Cette transaction a deja été annulée",
"SINGLE_LINE_TRANSACTION" : "Transaction(s) avec une ligne",
"EDIT_INVALID_ACCOUNT" : "Transaction avec des comptes non valides",
"EDIT_INVALID_ENTITY" : "Transaction avec une entité non valide",
"EDIT_INVALID_REFERENCE" : "Transaction avec référence non valide",
"MISSING_TRANSACTIONS" : "Aucune transaction n'a été soumise.",
"TRANSACTION_ALREADY_POSTED" : "La transaction a déjà été publiée et ne peut pas être modifiée.",
"TRANSACTION_MUST_CONTAIN_ROWS" : "Les transactions existantes doivent contenir des lignes.",
"USER_CANNOT_EDIT_POSTED_TRANSACTION" : "L'utilisateur ne peut pas éditer cette transaction car elle a déjà été publiée."
},
"WARNINGS": {
"MISSING_ENTITY" : "Ligne(s) sans type entite et ID entite",
"NO_TRANSACTIONS_SELECTED" : "Aucune transaction sélectionnée. Vous devez étre en mode Transaction pour utiliser cet outil.",
"MULTIPLE_TRANSACTION_EDIT_DISABLED" : "Vous avez sélectionné plusieurs transactions. L'édition de plusieurs transactions est actuellement désactivée.",
"TRIAL_BALANCE_HAS_POSTED_RECORDS" : "Vous avez sélectionné des enregistrements postés! Le solde des essais ne peut afficher que les résultats des enregistrements non postés."
},
"TRIAL_BALANCE": {
"TITLE" : "Rapprochement au Grand Livre",
"OVERVIEW" : "Aperçu",
"HAS_ERRORS" : "Attention! {{numErrors}} Erreurs détectées.",
"EXPORT" : "Exporter le Bilan",
"SHOW_ERRORS" : "Passer à la vue d'erreur",
"RETURN_TO_OVERVIEW" : "Retourner à la vue sommaire",
"IS_BALANCED" : "Balancé",
"POSTED_TRANSACTIONS" : "Succès! Posté {{numRecords}} Transactions au Grand Livre."
}
}
}
15 changes: 11 additions & 4 deletions client/src/i18n/fr/transactions.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
{"TRANSACTIONS":{"SINGLE_ACCOUNT_TRANSACTION":"Cette transaction contient un seul compte. Veuillez sélectionner plusieurs comptes pour compléter la transaction.",
"MISSING_TRANSACTION_TYPE":"Les transactions impliquant des comptes de trésorerie (banques ou caisses) doivent avoir un type de transaction spécifié pour les différencier dans le rapport de trésorerie. Veuillez sélectionner un type de transaction.",
"IMBALANCED_TRANSACTION":"Les débits et les crédits de cette transaction doivent être équilibrés. Veuillez corriger les déséquilibres avant de les soumettre.",
"SINGLE_ROW_TRANSACTION":"Cette transaction ne comporte qu'une seule ligne, mais deux lignes sont nécessaires. Veuillez ajouter une ou plusieurs lignes."}}
{
"TRANSACTIONS": {
"VERIFIED_TRANSACTIONS": "Transactions vérifiées",
"INCLUDE_POSTED_TRANSACTIONS_DETAIL": "Inclure les transactions affichées dans la recherche",
"INCLUDE_POSTED_TRANSACTIONS_SHORT": "Transactions posté",
"SINGLE_ACCOUNT_TRANSACTION" : "Cette transaction contient un seul compte. Veuillez sélectionner plusieurs comptes pour compléter la transaction.",
"MISSING_TRANSACTION_TYPE" : "Les transactions impliquant des comptes de trésorerie (banques ou caisses) doivent avoir un type de transaction spécifié pour les différencier dans le rapport de trésorerie. Veuillez sélectionner un type de transaction.",
"IMBALANCED_TRANSACTION" : "Les débits et les crédits de cette transaction doivent être équilibrés. Veuillez corriger les déséquilibres avant de les soumettre.",
"SINGLE_ROW_TRANSACTION" : "Cette transaction ne comporte qu'une seule ligne, mais deux lignes sont nécessaires. Veuillez ajouter une ou plusieurs lignes."
}
}

0 comments on commit cbac530

Please sign in to comment.