From 8287c572b173c98acf01523c38ff068a7f819215 Mon Sep 17 00:00:00 2001 From: Alejandro Alonso Date: Mon, 18 May 2015 12:28:55 +0200 Subject: [PATCH] Fixing translations if uploading file when importing --- app/coffee/modules/common/importer.coffee | 2 +- app/locales/locale-en.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/coffee/modules/common/importer.coffee b/app/coffee/modules/common/importer.coffee index f2772e45..4027bf25 100644 --- a/app/coffee/modules/common/importer.coffee +++ b/app/coffee/modules/common/importer.coffee @@ -34,7 +34,7 @@ ImportProjectButtonDirective = ($rs, $confirm, $location, $navUrls, $translate) file = event.target.files[0] return if not file - loader = $confirm.loader("Uploading dump file") + loader = $confirm.loader($translate.instant("PROJECT.IMPORT.UPLOADING_FILE")) onSuccess = (result) -> loader.stop() diff --git a/app/locales/locale-en.json b/app/locales/locale-en.json index 03522485..5be06dc2 100644 --- a/app/locales/locale-en.json +++ b/app/locales/locale-en.json @@ -499,6 +499,7 @@ }, "IMPORT": { "TITLE": "Importing Project", + "UPLOADING_FILE": "Uploading dump file", "DESCRIPTION": "This process can take a while, please keep the window open.", "ASYNC_IN_PROGRESS_TITLE": "Our Oompa Loompas are importing your project", "ASYNC_IN_PROGRESS_MESSAGE": "This process could take a few minutes
We will send you an email when ready",