parent
dac6a3360b
commit
be4944a4b6
|
@ -47,9 +47,9 @@ function textForMemberEvent(ev) {
|
||||||
}
|
}
|
||||||
case 'ban':
|
case 'ban':
|
||||||
return _t(
|
return _t(
|
||||||
'%(senderName)s banned %(targetName)s. %(reason)s.',
|
'%(senderName)s banned %(targetName)s.',
|
||||||
{senderName: senderName, targetName: targetName, reason: reason}
|
{senderName: senderName, targetName: targetName}
|
||||||
);
|
) + ' ' + reason;
|
||||||
case 'join':
|
case 'join':
|
||||||
if (ev.getPrevContent() && ev.getPrevContent().membership == 'join') {
|
if (ev.getPrevContent() && ev.getPrevContent().membership == 'join') {
|
||||||
if (ev.getPrevContent().displayname && ev.getContent().displayname && ev.getPrevContent().displayname != ev.getContent().displayname) {
|
if (ev.getPrevContent().displayname && ev.getContent().displayname && ev.getPrevContent().displayname != ev.getContent().displayname) {
|
||||||
|
@ -90,19 +90,19 @@ function textForMemberEvent(ev) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (ev.getPrevContent().membership === "ban") {
|
else if (ev.getPrevContent().membership === "ban") {
|
||||||
return _t('%(senderName)s unbanned %(targetName)s.', {senderName: senderName, targetName: targetName}) + '.';
|
return _t('%(senderName)s unbanned %(targetName)s.', {senderName: senderName, targetName: targetName});
|
||||||
}
|
}
|
||||||
else if (ev.getPrevContent().membership === "join") {
|
else if (ev.getPrevContent().membership === "join") {
|
||||||
return _t(
|
return _t(
|
||||||
'%(senderName)s kicked %(targetName)s.',
|
'%(senderName)s kicked %(targetName)s.',
|
||||||
{senderName: senderName, targetName: targetName}
|
{senderName: senderName, targetName: targetName}
|
||||||
) + '. ' + reason;
|
) + ' ' + reason;
|
||||||
}
|
}
|
||||||
else if (ev.getPrevContent().membership === "invite") {
|
else if (ev.getPrevContent().membership === "invite") {
|
||||||
return _t(
|
return _t(
|
||||||
'%(senderName)s withdrew %(targetName)s\'s inivitation.',
|
'%(senderName)s withdrew %(targetName)s\'s inivitation.',
|
||||||
{senderName: senderName, targetName: targetName}
|
{senderName: senderName, targetName: targetName}
|
||||||
) + '. ' + reason;
|
) + ' ' + reason;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
return _t('%(targetName)s left the room.', {targetName: targetName});
|
return _t('%(targetName)s left the room.', {targetName: targetName});
|
||||||
|
@ -135,13 +135,13 @@ function textForMessageEvent(ev) {
|
||||||
function textForCallAnswerEvent(event) {
|
function textForCallAnswerEvent(event) {
|
||||||
var senderName = event.sender ? event.sender.name : _t('Someone');
|
var senderName = event.sender ? event.sender.name : _t('Someone');
|
||||||
var supported = MatrixClientPeg.get().supportsVoip() ? "" : _t('(not supported by this browser)');
|
var supported = MatrixClientPeg.get().supportsVoip() ? "" : _t('(not supported by this browser)');
|
||||||
return _t('%(senderName)s answered the call', {senderName: senderName}) + '. ' + supported;
|
return _t('%(senderName)s answered the call', {senderName: senderName}) + ' ' + supported;
|
||||||
}
|
}
|
||||||
|
|
||||||
function textForCallHangupEvent(event) {
|
function textForCallHangupEvent(event) {
|
||||||
var senderName = event.sender ? event.sender.name : _t('Someone');
|
var senderName = event.sender ? event.sender.name : _t('Someone');
|
||||||
var supported = MatrixClientPeg.get().supportsVoip() ? "" : _t('(not supported by this browser)');
|
var supported = MatrixClientPeg.get().supportsVoip() ? "" : _t('(not supported by this browser)');
|
||||||
return _t('%(senderName)s ended the call', {senderName: senderName}) + '. ' + supported;
|
return _t('%(senderName)s ended the call', {senderName: senderName}) + ' ' + supported;
|
||||||
}
|
}
|
||||||
|
|
||||||
function textForCallInviteEvent(event) {
|
function textForCallInviteEvent(event) {
|
||||||
|
@ -153,7 +153,7 @@ function textForCallInviteEvent(event) {
|
||||||
type = "video";
|
type = "video";
|
||||||
}
|
}
|
||||||
var supported = MatrixClientPeg.get().supportsVoip() ? "" : _t('(not supported by this browser)');
|
var supported = MatrixClientPeg.get().supportsVoip() ? "" : _t('(not supported by this browser)');
|
||||||
return _t('%(senderName)s placed a %(callType)s call.', {senderName: senderName, callType: type}) + '. ' + supported;
|
return _t('%(senderName)s placed a %(callType)s call.', {senderName: senderName, callType: type}) + ' ' + supported;
|
||||||
}
|
}
|
||||||
|
|
||||||
function textForThreePidInviteEvent(event) {
|
function textForThreePidInviteEvent(event) {
|
||||||
|
|
|
@ -360,7 +360,7 @@
|
||||||
"%(senderDisplayName)s changed the room name to %(roomName)s": "%(senderDisplayName)s änderte den Raumnamen zu %(roomName)s",
|
"%(senderDisplayName)s changed the room name to %(roomName)s": "%(senderDisplayName)s änderte den Raumnamen zu %(roomName)s",
|
||||||
"%(senderDisplayName)s changed the topic to %(topic)s": "%(senderDisplayName)s änderte das Thema zu %(topic)s",
|
"%(senderDisplayName)s changed the topic to %(topic)s": "%(senderDisplayName)s änderte das Thema zu %(topic)s",
|
||||||
"/ddg is not a command": "/ddg ist kein Kommando",
|
"/ddg is not a command": "/ddg ist kein Kommando",
|
||||||
"%(senderName)s ended the call.": "%(senderName)s beendete den Anruf.",
|
"%(senderName)s ended the call": "%(senderName)s beendete den Anruf",
|
||||||
"Failed to lookup current room": "Aktuellen Raum nachzuschlagen schlug fehl",
|
"Failed to lookup current room": "Aktuellen Raum nachzuschlagen schlug fehl",
|
||||||
"Failed to send request.": "Anfrage zu senden schlug fehl.",
|
"Failed to send request.": "Anfrage zu senden schlug fehl.",
|
||||||
"%(userId)s from %(fromPowerLevel)s to %(toPowerLevel)s": "%(userId)s von %(fromPowerLevel)s zu %(toPowerLevel)s",
|
"%(userId)s from %(fromPowerLevel)s to %(toPowerLevel)s": "%(userId)s von %(fromPowerLevel)s zu %(toPowerLevel)s",
|
||||||
|
|
|
@ -233,7 +233,7 @@
|
||||||
"Enable encryption": "Enable encryption",
|
"Enable encryption": "Enable encryption",
|
||||||
"Encrypted messages will not be visible on clients that do not yet implement encryption": "Encrypted messages will not be visible on clients that do not yet implement encryption",
|
"Encrypted messages will not be visible on clients that do not yet implement encryption": "Encrypted messages will not be visible on clients that do not yet implement encryption",
|
||||||
"Encrypted room": "Encrypted room",
|
"Encrypted room": "Encrypted room",
|
||||||
"%(senderName)s ended the call.": "%(senderName)s ended the call.",
|
"%(senderName)s ended the call": "%(senderName)s ended the call",
|
||||||
"End-to-end encryption information": "End-to-end encryption information",
|
"End-to-end encryption information": "End-to-end encryption information",
|
||||||
"End-to-end encryption is in beta and may not be reliable": "End-to-end encryption is in beta and may not be reliable",
|
"End-to-end encryption is in beta and may not be reliable": "End-to-end encryption is in beta and may not be reliable",
|
||||||
"Enter Code": "Enter Code",
|
"Enter Code": "Enter Code",
|
||||||
|
|
|
@ -137,7 +137,7 @@
|
||||||
"Enable encryption": "Enable encryption",
|
"Enable encryption": "Enable encryption",
|
||||||
"Encrypted messages will not be visible on clients that do not yet implement encryption": "Encrypted messages will not be visible on clients that do not yet implement encryption",
|
"Encrypted messages will not be visible on clients that do not yet implement encryption": "Encrypted messages will not be visible on clients that do not yet implement encryption",
|
||||||
"Encrypted room": "Encrypted room",
|
"Encrypted room": "Encrypted room",
|
||||||
"%(senderName)s ended the call.": "%(senderName)s ended the call.",
|
"%(senderName)s ended the call": "%(senderName)s ended the call",
|
||||||
"End-to-end encryption information": "End-to-end encryption information",
|
"End-to-end encryption information": "End-to-end encryption information",
|
||||||
"End-to-end encryption is in beta and may not be reliable": "End-to-end encryption is in beta and may not be reliable",
|
"End-to-end encryption is in beta and may not be reliable": "End-to-end encryption is in beta and may not be reliable",
|
||||||
"Enter Code": "Enter Code",
|
"Enter Code": "Enter Code",
|
||||||
|
|
|
@ -333,7 +333,7 @@
|
||||||
"/ddg is not a command": "/ddg não é um comando",
|
"/ddg is not a command": "/ddg não é um comando",
|
||||||
"Drop here %(toAction)s": "Arraste aqui %(toAction)s",
|
"Drop here %(toAction)s": "Arraste aqui %(toAction)s",
|
||||||
"Drop here to tag %(section)s": "Arraste aqui para marcar como %(section)s",
|
"Drop here to tag %(section)s": "Arraste aqui para marcar como %(section)s",
|
||||||
"%(senderName)s ended the call.": "%(senderName)s finalizou a chamada.",
|
"%(senderName)s ended the call": "%(senderName)s finalizou a chamada",
|
||||||
"Existing Call": "Chamada em andamento",
|
"Existing Call": "Chamada em andamento",
|
||||||
"Failed to lookup current room": "Não foi possível buscar na sala atual",
|
"Failed to lookup current room": "Não foi possível buscar na sala atual",
|
||||||
"Failed to send email": "Não foi possível enviar email",
|
"Failed to send email": "Não foi possível enviar email",
|
||||||
|
|
|
@ -239,7 +239,7 @@
|
||||||
"/ddg is not a command": "/ddg не команда",
|
"/ddg is not a command": "/ddg не команда",
|
||||||
"Drop here %(toAction)s": "Вставить здесь %(toAction)s",
|
"Drop here %(toAction)s": "Вставить здесь %(toAction)s",
|
||||||
"Drop here to tag %(section)s": "Вставить здесь для тега %(section)s",
|
"Drop here to tag %(section)s": "Вставить здесь для тега %(section)s",
|
||||||
"%(senderName)s ended the call.": "%(senderName)s прекратил звонок.",
|
"%(senderName)s ended the call": "%(senderName)s прекратил звонок",
|
||||||
"Existing Call": "Существующий вызов",
|
"Existing Call": "Существующий вызов",
|
||||||
"Failed to lookup current room": "Не удалось выполнить поиск текущий комнаты",
|
"Failed to lookup current room": "Не удалось выполнить поиск текущий комнаты",
|
||||||
"Failed to send request.": "Не удалось выслать запрос.",
|
"Failed to send request.": "Не удалось выслать запрос.",
|
||||||
|
|
Loading…
Reference in New Issue