From 09df017b63280c971321a7e1044dead5c716a3c6 Mon Sep 17 00:00:00 2001 From: Angular2guy Date: Sun, 5 May 2024 15:30:37 +0200 Subject: [PATCH] fix: translations --- frontend/src/angular/i18n/messages.de.json | 25 +++++++++++++------ .../table-search/table-search.component.html | 1 + 2 files changed, 19 insertions(+), 7 deletions(-) diff --git a/frontend/src/angular/i18n/messages.de.json b/frontend/src/angular/i18n/messages.de.json index b3d2ed3..4549d09 100644 --- a/frontend/src/angular/i18n/messages.de.json +++ b/frontend/src/angular/i18n/messages.de.json @@ -3,9 +3,14 @@ "translations": { "docimportImportFile": "Import file", "docimportFileToImport": "File to import", + "docimportFileName": "Name: {$INTERPOLATION}", + "docimportFileType": "Type: {$INTERPOLATION}", + "docimportFileSize": "Size: {$INTERPOLATION} bytes", "cancel": "Cancel", - "docimportUpload": "Upload", + "upload": "Upload", "doclistHeading": "Document List", + "function": "Function", + "table": "Table", "search": "Search", "import": "Import", "logout": "Logout", @@ -15,11 +20,17 @@ "list": "List", "document": "Document", "paragraph": "Paragraph", - "docSearchWorking": "The AI is working on the answer.", - "docSearchBePatient": "Please be patient. {$INTERPOLATION} sec.", - "docSearchRequestFailed": "Ai Request Failed. Please try again.", - "docSearchResultDocument": "Result Document:", - "link": "Link: {$START_LINK}{$INTERPOLATION}{$CLOSE_LINK}", - "docSearchOtherDocuments": "Other Documents:" + "searchWorking": "The AI is working on the answer.", + "searchBePatient": " Please be patient. {$INTERPOLATION} sec. ", + "searchRequestFailed": " Ai Request Failed. Please try again.", + "searchResultDocument": "Result Document:", + "link": " Link: {$START_LINK}{$INTERPOLATION}{$CLOSE_LINK}", + "docSearchOtherDocuments": "Other Documents:", + "functionSearchHeading": "Function Search", + "imagequeryHeading": "Image description", + "imagequeryQuery": "Image query", + "tableSearchHeading": "Table Search", + "tableSearchDataImport": "A new DB instance needs a data import first.", + "tableSearchImportData": " Import Data " } } \ No newline at end of file diff --git a/frontend/src/angular/src/app/table-search/table-search.component.html b/frontend/src/angular/src/app/table-search/table-search.component.html index 1c4e628..a7a0add 100644 --- a/frontend/src/angular/src/app/table-search/table-search.component.html +++ b/frontend/src/angular/src/app/table-search/table-search.component.html @@ -10,6 +10,7 @@ mat-flat-button i18n-matTooltip matTooltip="A new DB instance needs a data import first." + i18n-matTooltip="@@tableSearchDataImport" color="primary" (click)="importData()" i18n="@@tableSearchImportData"