Missing text themes - Server connecting
authorDarren <darren@darrenwhitlen.com>
Sat, 10 May 2014 13:13:45 +0000 (14:13 +0100)
committerDarren <darren@darrenwhitlen.com>
Sat, 10 May 2014 13:13:45 +0000 (14:13 +0100)
client/assets/text_themes/default.json
client/src/models/application.js

index 772ab288f46e911d866293b1980ceaf50e1701c4..9f39da913dd13cad0b3ae7e620b771e9fdcdab0a 100644 (file)
@@ -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",
index ff7d1e76989795a794fa09e25b388cea149ad7b3..35d4b959cb89da0e9bfce547c7b7f55a99c2d26b 100644 (file)
         // Use the same nick as we currently have\r
         nick = _kiwi.app.connections.active_connection.get('nick');\r
 \r
-        _kiwi.app.panels().active.addMsg('', styleText('client_models_application_connection_connecting', {text: translateText('client_models_application_connection_connecting', [server, port.toString()])}));\r
+        _kiwi.app.panels().active.addMsg('', styleText('server_connecting', {text: translateText('client_models_application_connection_connecting', [server, port.toString()])}));\r
 \r
         _kiwi.gateway.newConnection({\r
             nick: nick,\r
             password: password\r
         }, function(err, new_connection) {\r
             if (err)\r
-                _kiwi.app.panels().active.addMsg('', styleText('client_models_application_connection_error', {text: translateText('client_models_application_connection_error', [server, port.toString(), err.toString()])}));\r
+                _kiwi.app.panels().active.addMsg('', styleText('server_connecting_error', {text: translateText('client_models_application_connection_error', [server, port.toString(), err.toString()])}));\r
         });\r
     }\r
 \r