Skip to content

Commit

Permalink
Merge pull request #1215 from openkfw/1201-german
Browse files Browse the repository at this point in the history
Add german translations
  • Loading branch information
daniel-arnauer authored Jul 5, 2022
2 parents 8641176 + 233c984 commit 90de8c5
Show file tree
Hide file tree
Showing 9 changed files with 334 additions and 488 deletions.
4 changes: 2 additions & 2 deletions e2e-test/cypress/integration/language_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,11 @@ describe("Language", function() {
cy.get("[data-test=project-header]")
.last()
.should("be.visible")
.should("contain", "Status: Open");
.should("contain", "Status: Offen");
cy.get("[data-test=project-creation-date]")
.last()
.should("be.visible")
.should("contain", "Created");
.should("contain", "Erstellt");
});

it("Check some english words", function() {
Expand Down
22 changes: 22 additions & 0 deletions e2e-test/cypress/integration/tableview_spec.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
describe("Tableview Test", function() {
before(() => {
cy.login();
});

beforeEach(function() {
cy.login();
cy.visit(`/projects`);
});

it("Search for a project works in TableView", function() {
cy.get("[data-test=set-table-view]").click();
cy.get("[data-test=search-input] input").type("Amazonas Fund");
cy.get("[data-test=project-name]").should("be.visible");
cy.get("[data-test=project-name]")
.its("length")
.then(n => {
// only amazon fund project is visible
expect(n).to.equal(1);
});
});
});
6 changes: 3 additions & 3 deletions excel-export-service/src/languages/german.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ const de = {
common: {
created: "Erstellt",
status: "Status",
description: "Description",
assignee: "Assignee",
description: "Beschreibung",
assignee: "Beauftragter",
additional_data: "Zusätzliche Daten",
currency: "Währung",
amount: "Betrag",
Expand All @@ -14,7 +14,7 @@ const de = {
organisation: "Organisation",
closed: "Geschlossen",
open: "Offen",
general: "General",
general: "Allgemein",
restricted: "Eingeschränkt",
},

Expand Down
62 changes: 14 additions & 48 deletions frontend/src/languages/english.js
Original file line number Diff line number Diff line change
Expand Up @@ -210,25 +210,15 @@ const en = {
project: {
add_new_project: "Add new project",
assignee: "Owner",
project_authority_organization_search: "Search organizations",
project_authority_role_search: "Search role",
project_budget_amount_description: "e.g.",
project_budget_amount: "Project budget amount",
project_budget_authority_role_description: "The authority enabled to modify the budget line of the project",
project_budget_authority_role: "Select budget authority role",
project_budget: "Budget",
project_close_info: "At least one subproject item has not been closed yet.",
project_comment: "Comment",
project_currency: "Project currency",
project_details: "Details",
project_disbursement_authority_role_description: "The authorities enabled to approve financial transactions",
project_disbursement_authority_role: "Select payment authority role",
project_edit_title: "Edit Project",
project_implementing_authority_role_description:
"The authorities enabled to create and modify subprojects, define and execute workflow activities",
project_implementing_authority_role: "Select implementation authority role",
project_name: "Name",
project_permissions_title: "Set permissions for project",

project_roles: "Roles",
project_thumbnail: "Thumbnail",
project_title_description: "Name of the project",
Expand All @@ -241,15 +231,14 @@ const en = {
fixed_workflowitem_type: "Fixed workflowitem type",
subproject_add_title: "Add new subproject",
subproject_assigned_organization: "Assigned organization",
subproject_budget_amount_description: "e.g.",
subproject_budget_amount: "Subproject budget amount",
subproject_close_info: "At least one workflowitem has not been closed yet",
subproject_close_not_allowed: "You are not allowed to close the subproject",
subproject_comment: "Subproject comment",
subproject_completion_string: "{0} of {1} done",
subproject_currency: "Subproject currency",
subproject_edit_title: "Edit subproject",
subproject_permissions_title: "Set permissions for subproject",

subproject_preview: "Subproject preview",
subproject_select_button: "Select",
subproject_title_description: "Name of the subproject",
Expand All @@ -268,14 +257,9 @@ const en = {
assignee: "Assignee",
edit_item: "Edit workflowitem",
exchange_rate: "Exchange rate",
non_approval: "Non-approval",
workflow_action_in_review: "Pending for review of",
workflow_action_open_in_progress: "Pending on ",
workflow_action_pending_approval: "Pending for approval of ",

workflow_budget_allocated: "allocated",
workflow_budget_amount_description: "Budget for the workflowitem",
workflow_budget_amount: "Workflowitem budget amount",
workflow_budget_description: "e.g.",

workflow_budget_disbursed: "paid",
workflow_budget_na: "Not applicable",
workflow_budget_status_allocated: "Assigned",
Expand Down Expand Up @@ -414,10 +398,8 @@ const en = {
menu_item_users: "Users",
no_peers: "No peers",
options: "Options",
other_trustees: "Other Trustees",
peers: "Peers",
projects_site: "Projects",
read_permission: "Read",
restore: "Restore",
rtUpdates: "Real-Time Updates",
selections: "Selections",
Expand All @@ -426,25 +408,16 @@ const en = {
write_permission: "Write"
},

dashboard: {
dashboard_card_text:
" The connected blockchain nodes are shown in the map below. You can click on the respective markers to obtain the exact location.",
dashboard_subtitle: "Connected peers in the blockchain network",
dashboard_title: "The Blockchain network dashboard"
},

notification: {
create_transaction: "Transaction {0} created ",
create_workflow: "Workflow {0} created ",
create_workflow: "Workflow {0} created ",
done_transaction: "Status of transaction {0} set to Done",
done_workflow: "Status of workflow {0} set to Done",
edit_transaction: "Transaction {0} got adapted",
edit_workflow: "Workflowitem {0} got adapted",
email_saved: "Email {0} saved",
next_page: "Next page",
no_permissions: "(No permissions to see further details)",
notification_card_text:
"Please find your current notifications below. These display action items or information items to be dealt with.",
notification_subtitle: "Unread",
notification_table_all_read: "all read",
notification_table_by: "By",
Expand Down Expand Up @@ -496,13 +469,6 @@ const en = {
},

history: {
created_project: "Project created ",
created_subproject: "Subproject {0} created",
created_workflow: "Workflow {0} created ",
edit_addData: "Additional data of workflowitem {0} changed to {1} ",
edit_amount: "Amount of workflowitem {0} changed from {1} to {2} ",
edit_amountType: "Budget status of workflowitem {0} changed from {1} to {2}",
edit_comment: "Comment of workflowitem {0} changed to {1} ",
edit_currency: "Currency of workflowitem {0} changed to {1} ",
edit_documents: "Documents changed for workflowitem {0}",
edit_status: "Status of workflowitem {0} changed to {1}",
Expand All @@ -512,10 +478,10 @@ const en = {
event_type: "Event type",
first_sort: "Moved {0} to first position",
project_assign: "{0} assigned project {1} to {2}",
project_close: "{0} closed project {1}",
project_close: "{0} closed project {1}",
project_create: "{0} created project {1}",
project_createSubproject: "{0} created subproject {1}",
project_grantPermission_details: "{0} granted permission {1} to {2} on {3}",
project_grantPermission_details: "{0} granted permission {1} to {2} on {3}",
project_grantPermission: "{0} granted permission {1} to {2}",
project_projected_budget_deleted: "{0} deleted the projected budget of {1}",
project_projected_budget_updated: "{0} updated the projected budget of {1}",
Expand All @@ -529,19 +495,19 @@ const en = {
subproject_close: "{0} closed subproject {1}",
subproject_create: "{0} created subproject {1}",
subproject_createWorkflowitem: "{0} created workflowitem {1}",
subproject_grantPermission_details: "{0} granted permission {1} to {2} on {3}",
subproject_grantPermission: "{0} granted permission {1} to {2}",
subproject_grantPermission_details: "{0} granted permission {1} to {2} on {3}",
subproject_grantPermission: "{0} granted permission {1} to {2}",
subproject_reorderWorkflowitems: "{0} changed the workflowitem ordering from {1}",
subproject_revokePermission_details: "{0} revoked permission {1} from {2} on {3}",
subproject_revokePermission_details: "{0} revoked permission {1} from {2} on {3}",
subproject_revokePermission: "{0} revoked permission {1} from {2}",
subproject_update: "{0} changed subproject {1} ",
to: "{0} to {1}",
workflowitem_assign: "{0} assigned workflowitem {1} to {2}",
workflowitem_close: "{0} closed workflowitem {1}",
workflowitem_grantPermission_details: "{0} granted permission {1} to {2} on {3}",
workflowitem_grantPermission: "{0} granted permission {1} to {2}",
workflowitem_revokePermission_details: "{0} revoked permission {1} from {2} on {3}",
workflowitem_revokePermission: "{0} revoked permission {1} from {2}",
workflowitem_grantPermission_details: "{0} granted permission {1} to {2} on {3}",
workflowitem_grantPermission: "{0} granted permission {1} to {2}",
workflowitem_revokePermission_details: "{0} revoked permission {1} from {2} on {3}",
workflowitem_revokePermission: "{0} revoked permission {1} from {2}",
workflowitem_update_docs: "{0} added documents to workflowitem {1} ",
workflowitem_update: "{0} changed workflowitem {1} ",
workflowitem_update_amount: "{0} changed workflowitem {1} budget in {2} ",
Expand Down
44 changes: 5 additions & 39 deletions frontend/src/languages/french.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,26 +145,15 @@ const fr = {
project: {
add_new_project: "Ajouter un nouveau projet",
assignee: "propriétaire",
project_authority_organization_search: "Rechercher une organisation",
project_authority_role_search: "Rechercher un rôle",
project_budget_amount_description: "Description du montant du budget du projet",
project_budget_amount: "Montant du budget du projet",
project_budget_authority_role_description: "L'autorité a permis de modifier la ligne budgétaire du projet",
project_budget_authority_role: "Rôle de l'autorité chargée du budget",
project_budget: "Budget du projet",
project_close_info: "Au moins une composante n'est pas encore terminée",
project_comment: "Commentaire sur le projet",
project_currency: "Devise",
project_details: "Tableau de bord",
project_disbursement_authority_role_description:
"Les autorités ont autorisé l'approbation des transactions financières",
project_disbursement_authority_role: "Sélectionnez le rôle d'autorité de paiement",
project_edit_title: "Modifier un projet",
project_implementing_authority_role_description:
"Les autorités ont permis de créer et de modifier des composantes, de définir et d'exécuter des activités de workflow",
project_implementing_authority_role: "Rôle de l'autorité chargée de la mise en œuvre",
project_name: "Nom du projet",
project_permissions_title: "Définir les autorisations pour le projet",

project_roles: "Rôles dans le projet",
project_thumbnail: "Vignette",
project_title_description: "Description du titre du projet",
Expand All @@ -177,15 +166,15 @@ const fr = {
fixed_workflowitem_type: "Type de workflow fixe",
subproject_add_title: "Ajouter une nouvelle composante",
subproject_assigned_organization: "Organisation assignée",
subproject_budget_amount_description: "description du montant de la composante",

subproject_budget_amount: "Montant du budget de la composante",
subproject_close_info: "Au moins une étape de workflow n'est pas encore fermée",
subproject_close_not_allowed: "Vous n'êtes pas autorisé à fermer la composante",
subproject_comment: "Commentaire sur la composante",
subproject_completion_string: "{0} cal {1} van",
subproject_currency: "Devise de la composante",
subproject_edit_title: "Modifier la composante",
subproject_permissions_title: "Définir les autorisations pour la composante",

subproject_preview: "Aperçu de la composante",
subproject_select_button: "Sélectionnez",
subproject_title_description: "Titre de la composante",
Expand All @@ -204,14 +193,9 @@ const fr = {
approval_required: "Approbation exigée",
edit_item: "Modifier l'étape de workflow",
exchange_rate: "taux de change",
non_approval: "Non-approbation",
workflow_action_in_review: "En attente d'approbation de ",
workflow_action_open_in_progress: "En attente sur ",
workflow_action_pending_approval: "En attente d'approbation de ",

workflow_budget_allocated: "Engagé",
workflow_budget_amount_description: "Description du montant du budget du workflow",
workflow_budget_amount: "Montant du budget du workflow",
workflow_budget_description: "Description du budget",

workflow_budget_disbursed: "payé",
workflow_budget_na: "N/A",
workflow_budget_status_allocated: "Engagé",
Expand Down Expand Up @@ -417,10 +401,8 @@ const fr = {
menu_item_users: "Utilisateurs",
no_peers: "Pas de pairs",
options: "Options",
other_trustees: "Autres fiduciaires",
peers: "Pairs",
projects_site: "Projets",
read_permission: "Lire",
restore: "Restaurer",
rtUpdates: "Mises à jour en temps réel",
selections: "Sélections",
Expand All @@ -429,13 +411,6 @@ const fr = {
write_permission: "Écrire"
},

dashboard: {
dashboard_title: "Le tableau de bord du réseau Blockchain",
dashboard_subtitle: "Les nœuds connectés dans le réseau de Blockchain",
dashboard_card_text:
"Les nœuds connectés sont affichés dans la carte ci-dessous_ Vous pouvez cliquer sur les marqueurs pour obtenir l'emplacement exact_"
},

notification: {
create_transaction: "Transaction {0} créé ",
create_workflow: "Workflow {0} créé",
Expand All @@ -446,8 +421,6 @@ const fr = {
email_saved: "Email {0} enregistré",
next_page: "Page suivante",
no_permissions: "(Pas de permission pour voir plus de détails)",
notification_card_text:
"Veuillez trouver vos notifications actuelles ci-dessous_ Ces éléments d'action s'affichent ou des éléments d'information à traiter_",
notification_subtitle: "Non lus",
notification_table_all_read: "Tout lire",
notification_table_by: "Par",
Expand Down Expand Up @@ -503,13 +476,6 @@ const fr = {
},

history: {
created_project: "Projet créé ",
created_subproject: "Composante {0} créée",
created_workflow: "Workflow {0} créé ",
edit_addData: "Les données supplémentaires de l’étape de workflow {0} ont été changées en {1} ",
edit_amount: "Le montant de l’étape de workflow {0} est passé de {1} à {2} ",
edit_amountType: "L'état budgétaire de l’étape de workflow {0} est passé de {1} à {2}",
edit_comment: "Commentaire de l’étape de workflow {0} modifié à {1} ",
edit_currency: "La devise de l’étape de workflow {0} a changé pour {1} ",
edit_documents: "Documents modifiés pour l’étape de workflow {0}",
edit_status: "L'état de l’étape de workflow {0} a changé pour {1} ",
Expand Down
Loading

0 comments on commit 90de8c5

Please sign in to comment.