From bc2321b9b7355fbb8e5685272e80a642612ad144 Mon Sep 17 00:00:00 2001 From: wroot Date: Thu, 1 Sep 2016 22:19:50 +0300 Subject: [PATCH] SPARK-1786 additional translations and wording fix --- src/java/org/jivesoftware/LoginDialog.java | 2 +- src/resources/i18n/spark_i18n.properties | 4 ++-- src/resources/i18n/spark_i18n_lt.properties | 4 +++- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/java/org/jivesoftware/LoginDialog.java b/src/java/org/jivesoftware/LoginDialog.java index 7b0c1450..32d6651e 100644 --- a/src/java/org/jivesoftware/LoginDialog.java +++ b/src/java/org/jivesoftware/LoginDialog.java @@ -1118,7 +1118,7 @@ public class LoginDialog { errorMessage = Res.getString("message.server.unavailable"); } else if (xee.getMessage().contains("Hostname verification of certificate failed")) { - errorMessage = Res.getString("message.hostname.cert.verification.failed"); + errorMessage = Res.getString("message.cert.hostname.verification.failed"); ReconnectionManager.getInstanceFor(connection).disableAutomaticReconnection(); } else if (xee.getMessage().contains("unable to find valid certification path to requested target")) { diff --git a/src/resources/i18n/spark_i18n.properties b/src/resources/i18n/spark_i18n.properties index 4f205b37..1a9bed3f 100644 --- a/src/resources/i18n/spark_i18n.properties +++ b/src/resources/i18n/spark_i18n.properties @@ -657,6 +657,7 @@ message.buzz.sent = Requested users attention message.calling = Calling {0} message.came.online = {0} is online at {1} message.cannot.add.contact.to.shared.group = You cannot add new contacts to a shared group +message.cert.hostname.verification.failed = Certificate hostname verification failed message.cert.verification.failed = Unable to verify certificate message.chat.session.ended = Chat session has ended on {0} message.click.to.open = Click to open @@ -725,7 +726,6 @@ message.gateway.password.error = Password needs to be supplied message.gateway.nickname.error = Nickname needs to be supplied message.general.error = You have lost your connection to the server due to {0} message.generic.reconnect.message = You have lost your connection to the server, to login again, click on the reconnect button below -message.hostname.cert.verification.failed = Hostname certificate verification failed message.idle.for = Idle for {0} message.image.too.large = This image is too large to use, please specify an image 16k or smaller message.invalid.jabber.id = Not a valid Jabber ID @@ -829,7 +829,7 @@ message.unable.to.retrieve.last.activity = Unable to determine last activity for message.unable.to.save.password = Unable to change password, please contact your server admin message.unable.to.send.file = You were unable to send the file to {0} message.unable.to.use.hostname.as.resource = Unable to use hostname as resource -message.unrecoverable.error = Unknown connection error. Please review the logs for more information +message.unrecoverable.error = Unknown connection error. Please review the logs for more information. message.update.room.list = Update room list message.updating.cancelled = Updating has been canceled message.user.banned = {0} has been banned from this room. Reason: {1} diff --git a/src/resources/i18n/spark_i18n_lt.properties b/src/resources/i18n/spark_i18n_lt.properties index 07f2c06a..f66d1a10 100644 --- a/src/resources/i18n/spark_i18n_lt.properties +++ b/src/resources/i18n/spark_i18n_lt.properties @@ -615,6 +615,8 @@ message.buzz.sent = Nusi\u0173sti abonentui i\u0161kvietim\u0105 message.calling = Skambinama {0} message.came.online = {0} prisijung\u0117 {1} message.cannot.add.contact.to.shared.group = Jau bendrintos adresat\u0173 grup\u0117s papildyti negalima +message.cert.hostname.verification.failed = Nepavyko patikrinti sertifikato vardo (hostname) +message.cert.verification.failed = Nepavyko patikrinti sertifikato message.chat.session.ended = Pokalbis baigtas {0} message.click.to.open = Spragtelt, kad atverti message.client.information = Kliento informacija {0} @@ -780,7 +782,7 @@ message.unable.to.retrieve.last.activity = Nepavyko rasti profilio {0}. message.unable.to.save.password = Nepavyko pasikeisti slapta\u017eod\u017eio. Galb\u016bt to neleid\u017eia administratorius. message.unable.to.send.file = Jums nepavyko nusi\u0173sti bylos gav\u0117jui {0}. message.unable.to.use.hostname.as.resource = Ne\u012Fmanoma panaudoti kompiuterio vardo kaip resurso -message.unrecoverable.error = Neteisingas abonento vardas arba slapta\u017eodis. +message.unrecoverable.error = Ne\u017Einoma susijungimo klaida. Daugiau informacijos klaid\u0173 \u017Eurnaluose (logs). message.update.room.list = Kambari\u0173 s\u0105ra\u0161o atnaujinimas. message.updating.cancelled = Atnaujinimas at\u0161auktas. message.user.banned = {0} \u0161iame kambaryje buvo u\u017edraustas.