From a749d105f796296d7655a2187373abe28034719f Mon Sep 17 00:00:00 2001 From: Darren Date: Sat, 17 Aug 2013 18:25:55 +0100 Subject: [PATCH] Reconnection messages moved to locales --- client/assets/src/models/application.js | 2 ++ client/assets/src/translations/en-gb.po | 17 +++++++++++++++++ 2 files changed, 19 insertions(+) diff --git a/client/assets/src/models/application.js b/client/assets/src/models/application.js index cb804d4..aea2fa6 100644 --- a/client/assets/src/models/application.js +++ b/client/assets/src/models/application.js @@ -438,10 +438,12 @@ _kiwi.model.Application = function () { var jump_server_interval = Math.random() * (90 - 60) + 60; var msg = 'In 1 minutes time you will be reconnected to a more stable server. Get ready!'; + var msg = _kiwi.global.i18n.translate('client_models_application_jumpserver_prepare').fetch(); that.message.text(msg, {timeout: 10000}); setTimeout(function forcedReconnect() { var msg = 'Safely reconnecting you now..'; + var msg = _kiwi.global.i18n.translate('client_models_application_jumpserver_reconnect').fetch(); that.message.text(msg, {timeout: 8000}); setTimeout(function forcedReconnectPartTwo() { diff --git a/client/assets/src/translations/en-gb.po b/client/assets/src/translations/en-gb.po index 2215754..2d08b02 100755 --- a/client/assets/src/translations/en-gb.po +++ b/client/assets/src/translations/en-gb.po @@ -1,3 +1,12 @@ +msgid "" +msgstr "" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: POEditor.com\n" +"Project-Id-Version: Kiwi\n" +"Language: en\n" + #: client/assets/src/applets/chanlist.js msgid "client_applets_chanlist_channelname" msgstr "Channel Name" @@ -430,3 +439,11 @@ msgstr "Slap!" msgid "client_views_serverselect_ssl" msgstr "SSL" +#: +msgid "client_models_application_jumpserver_prepare" +msgstr "In 1 minutes time you will be reconnected to a faster server. Get ready!" + +#: +msgid "client_models_application_jumpserver_reconnect" +msgstr "Safely reconnecting you now.." + -- 2.25.1