Text fixes based on feedback from translator
This commit is contained in:
parent
adc4e6ebbc
commit
fa7ca46d12
@ -1737,10 +1737,10 @@
|
|||||||
if (notification.disconnected) {
|
if (notification.disconnected) {
|
||||||
this.showDisconnectMessage(notification.disconnection_message);
|
this.showDisconnectMessage(notification.disconnection_message);
|
||||||
if (notification.actor) {
|
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) {
|
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);
|
this.model.save('connection_status', converse.ROOMSTATUS.DISCONNECTED);
|
||||||
return;
|
return;
|
||||||
|
@ -142,7 +142,7 @@
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
} else if (!_.includes(from_jid, '@')) {
|
} 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);
|
title = __("Notification from %1$s", from_jid);
|
||||||
} else if (message.getAttribute('type') === 'groupchat') {
|
} else if (message.getAttribute('type') === 'groupchat') {
|
||||||
title = __("%1$s says", Strophe.getResourceFromJid(full_from_jid));
|
title = __("%1$s says", Strophe.getResourceFromJid(full_from_jid));
|
||||||
|
Loading…
Reference in New Issue
Block a user