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

@ -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;

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));