From: Darren Date: Sat, 10 May 2014 13:13:45 +0000 (+0100) Subject: Missing text themes - Server connecting X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=67c98ac4fc92e9a380b5efc3288034db436b3755;p=KiwiIRC.git Missing text themes - Server connecting --- diff --git a/client/assets/text_themes/default.json b/client/assets/text_themes/default.json index 772ab28..9f39da9 100644 --- a/client/assets/text_themes/default.json +++ b/client/assets/text_themes/default.json @@ -14,6 +14,8 @@ "channel_invalid_name": "⚠ %channel %text", "channel_topic_setby": "ⓘ %text", "channel_has_been_invited": "ⓘ %nick %text", + "server_connecting": "%text", + "server_connecting_error": "%text", "mode": "ⓘ %nick %text", "selfmode": "ⓘ %nick %text", "nickname_alreadyinuse": "⚠ %text", diff --git a/client/src/models/application.js b/client/src/models/application.js index ff7d1e7..35d4b95 100644 --- a/client/src/models/application.js +++ b/client/src/models/application.js @@ -792,7 +792,7 @@ // Use the same nick as we currently have nick = _kiwi.app.connections.active_connection.get('nick'); - _kiwi.app.panels().active.addMsg('', styleText('client_models_application_connection_connecting', {text: translateText('client_models_application_connection_connecting', [server, port.toString()])})); + _kiwi.app.panels().active.addMsg('', styleText('server_connecting', {text: translateText('client_models_application_connection_connecting', [server, port.toString()])})); _kiwi.gateway.newConnection({ nick: nick, @@ -802,7 +802,7 @@ password: password }, function(err, new_connection) { if (err) - _kiwi.app.panels().active.addMsg('', styleText('client_models_application_connection_error', {text: translateText('client_models_application_connection_error', [server, port.toString(), err.toString()])})); + _kiwi.app.panels().active.addMsg('', styleText('server_connecting_error', {text: translateText('client_models_application_connection_error', [server, port.toString(), err.toString()])})); }); }