Text fixes based on feedback from translator

This commit is contained in:
JC Brand 2017-11-23 12:07:49 +01:00
parent adc4e6ebbc
commit fa7ca46d12
4 changed files with 7 additions and 7 deletions

View File

@ -523,8 +523,8 @@
if (text.length > 8000) {
text = text.substring(0, 10) + '...';
this.showStatusNotification(
__("A very large message has been received."+
"This might be due to an attack meant to degrade the chat performance."+
__("A very large message has been received. "+
"This might be due to an attack meant to degrade the chat performance. "+
"Output has been shortened."),
true, true);
}

View File

@ -1737,10 +1737,10 @@
if (notification.disconnected) {
this.showDisconnectMessage(notification.disconnection_message);
if (notification.actor) {
this.showDisconnectMessage(__('This action was done by %1$s.', notification.actor));
this.showDisconnectMessage(__('This action was done by %1$s', notification.actor));
}
if (notification.reason) {
this.showDisconnectMessage(__('The reason given is: "%1$s".', notification.reason));
this.showDisconnectMessage(__('The reason given is: "%1$s"', notification.reason));
}
this.model.save('connection_status', converse.ROOMSTATUS.DISCONNECTED);
return;
@ -1749,7 +1749,7 @@
this.$content.append(tpl_info({'message': message}));
});
if (notification.reason) {
this.showStatusNotification(__('The reason given is: "%1$s "', notification.reason), true);
this.showStatusNotification(__('The reason given is: "%1$s"', notification.reason), true);
}
if (notification.messages.length) {
this.scrollDown();

View File

@ -142,7 +142,7 @@
return;
}
} else if (!_.includes(from_jid, '@')) {
// XXX: workaround for Prosody which doesn't give type "headline"
// workaround for Prosody which doesn't give type "headline"
title = __("Notification from %1$s", from_jid);
} else if (message.getAttribute('type') === 'groupchat') {
title = __("%1$s says", Strophe.getResourceFromJid(full_from_jid));

View File

@ -256,7 +256,7 @@
if (stanza.getAttribute("type") === "error") {
_converse.connection._changeConnectStatus(
Strophe.Status.REGIFAIL,
__('Something went wrong while establishing a connection with "%1$s".'+
__('Something went wrong while establishing a connection with "%1$s". '+
'Are you sure it exists?', this.domain)
);
return false;