From 4ef4ef963a5b698cd99ff0bf2d543228703f61c0 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Sat, 20 Feb 2021 12:31:54 -0800 Subject: [PATCH] i18n --- app/components/Sidebar/Settings.js | 2 +- app/scenes/Settings/ImportExport.js | 2 +- shared/i18n/locales/en_US/translation.json | 5 ++--- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/app/components/Sidebar/Settings.js b/app/components/Sidebar/Settings.js index d0a7f102d..05b7caec2 100644 --- a/app/components/Sidebar/Settings.js +++ b/app/components/Sidebar/Settings.js @@ -114,7 +114,7 @@ function SettingsSidebar() { } - label={t("Import / Export")} + label={`${t("Import")} / ${t("Export")}`} /> )} diff --git a/app/scenes/Settings/ImportExport.js b/app/scenes/Settings/ImportExport.js index 5e9cb457f..50e965de0 100644 --- a/app/scenes/Settings/ImportExport.js +++ b/app/scenes/Settings/ImportExport.js @@ -108,7 +108,7 @@ function ImportExport() { return ( - +

{t("Import")}

diff --git a/shared/i18n/locales/en_US/translation.json b/shared/i18n/locales/en_US/translation.json index 17375d464..cf7d909c1 100644 --- a/shared/i18n/locales/en_US/translation.json +++ b/shared/i18n/locales/en_US/translation.json @@ -109,7 +109,8 @@ "People": "People", "Groups": "Groups", "Share Links": "Share Links", - "Import / Export": "Import / Export", + "Import": "Import", + "Export": "Export", "Integrations": "Integrations", "Installation": "Installation", "Unstar": "Unstar", @@ -132,7 +133,6 @@ "New document": "New document", "Import document": "Import document", "Edit": "Edit", - "Export": "Export", "Delete": "Delete", "Collection members": "Collection members", "Edit collection": "Edit collection", @@ -308,7 +308,6 @@ "Clear filters": "Clear filters", "Import started": "Import started", "Export in progress…": "Export in progress…", - "Import": "Import", "It is possible to import a zip file of folders and Markdown files previously exported from an Outline instance. Support will soon be added for importing from other services.": "It is possible to import a zip file of folders and Markdown files previously exported from an Outline instance. Support will soon be added for importing from other services.", "Your file has been uploaded and the import is currently being processed, you can safely leave this page while it completes.": "Your file has been uploaded and the import is currently being processed, you can safely leave this page while it completes.", "Sorry, the file {{ fileName }} is missing valid collections or documents.": "Sorry, the file {{ fileName }} is missing valid collections or documents.",