Added Italian and Polish translations.
This commit is contained in:
parent
9b0f51461b
commit
fa63fbae8a
4 changed files with 165 additions and 64 deletions
|
@ -189,6 +189,7 @@ do($ = window.jQuery, window) ->
|
||||||
'Connection re-established': 'Verbindung wiederhergestellt'
|
'Connection re-established': 'Verbindung wiederhergestellt'
|
||||||
'Today': 'Heute'
|
'Today': 'Heute'
|
||||||
'Send': 'Senden'
|
'Send': 'Senden'
|
||||||
|
'Chat closed by %s': 'Chat beendet von %s',
|
||||||
'Compose your message...': 'Ihre Nachricht...'
|
'Compose your message...': 'Ihre Nachricht...'
|
||||||
'All colleagues are busy.': 'Alle Kollegen sind belegt.'
|
'All colleagues are busy.': 'Alle Kollegen sind belegt.'
|
||||||
'You are on waiting list position <strong>%s</strong>.': 'Sie sind in der Warteliste an der Position <strong>%s</strong>.'
|
'You are on waiting list position <strong>%s</strong>.': 'Sie sind in der Warteliste an der Position <strong>%s</strong>.'
|
||||||
|
@ -205,6 +206,7 @@ do($ = window.jQuery, window) ->
|
||||||
'Connection re-established': 'Conexión restablecida'
|
'Connection re-established': 'Conexión restablecida'
|
||||||
'Today': 'Hoy'
|
'Today': 'Hoy'
|
||||||
'Send': 'Enviar'
|
'Send': 'Enviar'
|
||||||
|
'Chat closed by %s': 'Chat cerrado por %s',
|
||||||
'Compose your message...': 'Escriba su mensaje...'
|
'Compose your message...': 'Escriba su mensaje...'
|
||||||
'All colleagues are busy.': 'Todos los agentes están ocupados.'
|
'All colleagues are busy.': 'Todos los agentes están ocupados.'
|
||||||
'You are on waiting list position <strong>%s</strong>.': 'Usted está en la posición <strong>%s</strong> de la lista de espera.'
|
'You are on waiting list position <strong>%s</strong>.': 'Usted está en la posición <strong>%s</strong> de la lista de espera.'
|
||||||
|
@ -221,6 +223,7 @@ do($ = window.jQuery, window) ->
|
||||||
'Connection re-established': 'Connexion rétablie'
|
'Connection re-established': 'Connexion rétablie'
|
||||||
'Today': 'Aujourdhui'
|
'Today': 'Aujourdhui'
|
||||||
'Send': 'Envoyer'
|
'Send': 'Envoyer'
|
||||||
|
'Chat closed by %s': 'Chat fermé par %s',
|
||||||
'Compose your message...': 'Composez votre message...'
|
'Compose your message...': 'Composez votre message...'
|
||||||
'All colleagues are busy.': 'Tous les collègues sont actuellement occupés.'
|
'All colleagues are busy.': 'Tous les collègues sont actuellement occupés.'
|
||||||
'You are on waiting list position <strong>%s</strong>.': 'Vous êtes actuellement en <strong>%s</strong> position dans la file d\'attente.'
|
'You are on waiting list position <strong>%s</strong>.': 'Vous êtes actuellement en <strong>%s</strong> position dans la file d\'attente.'
|
||||||
|
@ -237,6 +240,7 @@ do($ = window.jQuery, window) ->
|
||||||
'Connection re-established': 'Verbinding herstelt'
|
'Connection re-established': 'Verbinding herstelt'
|
||||||
'Today': 'Vandaag'
|
'Today': 'Vandaag'
|
||||||
'Send': 'Verzenden'
|
'Send': 'Verzenden'
|
||||||
|
'Chat closed by %s': 'Chat gesloten door %s',
|
||||||
'Compose your message...': 'Typ uw bericht...'
|
'Compose your message...': 'Typ uw bericht...'
|
||||||
'All colleagues are busy.': 'Alle medewerkers zijn bezet.'
|
'All colleagues are busy.': 'Alle medewerkers zijn bezet.'
|
||||||
'You are on waiting list position <strong>%s</strong>.': 'U bent <strong>%s</strong> in de wachtrij.'
|
'You are on waiting list position <strong>%s</strong>.': 'U bent <strong>%s</strong> in de wachtrij.'
|
||||||
|
@ -244,6 +248,40 @@ do($ = window.jQuery, window) ->
|
||||||
'Since you didn\'t respond in the last %s minutes your conversation with <strong>%s</strong> got closed.': 'Omdat u in de laatste %s minuten niets geschreven heeft wordt de conversatie met <strong>%s</strong> gesloten.'
|
'Since you didn\'t respond in the last %s minutes your conversation with <strong>%s</strong> got closed.': 'Omdat u in de laatste %s minuten niets geschreven heeft wordt de conversatie met <strong>%s</strong> gesloten.'
|
||||||
'Since you didn\'t respond in the last %s minutes your conversation got closed.': 'Omdat u in de laatste %s minuten niets geschreven heeft is de conversatie gesloten.'
|
'Since you didn\'t respond in the last %s minutes your conversation got closed.': 'Omdat u in de laatste %s minuten niets geschreven heeft is de conversatie gesloten.'
|
||||||
'We are sorry, it takes longer as expected to get an empty slot. Please try again later or send us an email. Thank you!': 'Het spijt ons, het duurt langer dan verwacht om te antwoorden. Alstublieft probeer het later nogmaals of stuur ons een email. Hartelijk dank!'
|
'We are sorry, it takes longer as expected to get an empty slot. Please try again later or send us an email. Thank you!': 'Het spijt ons, het duurt langer dan verwacht om te antwoorden. Alstublieft probeer het later nogmaals of stuur ons een email. Hartelijk dank!'
|
||||||
|
'it':
|
||||||
|
'<strong>Chat</strong> with us!': '<strong>Chatta</strong> con noi!'
|
||||||
|
'Scroll down to see new messages': 'Scorrere verso il basso per vedere i nuovi messaggi'
|
||||||
|
'Online': 'Online'
|
||||||
|
'Offline': 'Offline'
|
||||||
|
'Connecting': 'Collegamento'
|
||||||
|
'Connection re-established': 'Collegamento ristabilito'
|
||||||
|
'Today': 'Oggi'
|
||||||
|
'Send': 'Invio'
|
||||||
|
'Chat closed by %s': 'Conversazione chiusa da %s',
|
||||||
|
'Compose your message...': 'Comporre il tuo messaggio...'
|
||||||
|
'All colleagues are busy.': 'Tutti i colleghi sono occupati.'
|
||||||
|
'You are on waiting list position <strong>%s</strong>.': 'Siete in posizione lista d\' attesa <strong>%s</strong>.'
|
||||||
|
'Start new conversation': 'Avviare una nuova conversazione'
|
||||||
|
'Since you didn\'t respond in the last %s minutes your conversation with <strong>%s</strong> got closed.': 'Dal momento che non hai risposto negli ultimi %s minuti la tua conversazione con <strong>%s</strong> si è chiusa.'
|
||||||
|
'Since you didn\'t respond in the last %s minutes your conversation got closed.': 'Dal momento che non hai risposto negli ultimi %s minuti la tua conversazione si è chiusa.'
|
||||||
|
'We are sorry, it takes longer as expected to get an empty slot. Please try again later or send us an email. Thank you!': 'Ci dispiace, ci vuole più tempo come previsto per ottenere uno slot vuoto. Per favore riprova più tardi o inviaci un\' e-mail. Grazie!'
|
||||||
|
'pl':
|
||||||
|
'<strong>Chat</strong> with us!': '<strong>Czatuj</strong> z nami!'
|
||||||
|
'Scroll down to see new messages': 'Przewiń w dół, aby wyświetlić nowe wiadomości'
|
||||||
|
'Online': 'Online'
|
||||||
|
'Offline': 'Offline'
|
||||||
|
'Connecting': 'Łączenie'
|
||||||
|
'Connection re-established': 'Ponowne nawiązanie połączenia'
|
||||||
|
'Today': 'dzisiejszy'
|
||||||
|
'Send': 'Wyślij'
|
||||||
|
'Chat closed by %s': 'Czat zamknięty przez %s',
|
||||||
|
'Compose your message...': 'Utwórz swoją wiadomość...'
|
||||||
|
'All colleagues are busy.': 'Wszyscy koledzy są zajęci.'
|
||||||
|
'You are on waiting list position <strong>%s</strong>.': 'Na liście oczekujących znajduje się pozycja <strong>%s</strong>.'
|
||||||
|
'Start new conversation': 'Rozpoczęcie nowej konwersacji'
|
||||||
|
'Since you didn\'t respond in the last %s minutes your conversation with <strong>%s</strong> got closed.': 'Ponieważ w ciągu ostatnich %s minut nie odpowiedziałeś, Twoja rozmowa z <strong>%s</strong> została zamknięta.'
|
||||||
|
'Since you didn\'t respond in the last %s minutes your conversation got closed.': 'Ponieważ nie odpowiedziałeś w ciągu ostatnich %s minut, Twoja rozmowa została zamknięta.'
|
||||||
|
'We are sorry, it takes longer as expected to get an empty slot. Please try again later or send us an email. Thank you!': 'Przykro nam, ale to trwa dłużej niż się spodziewamy. Spróbuj ponownie później lub wyślij nam wiadomość e-mail. Dziękuję!'
|
||||||
'zh-cn':
|
'zh-cn':
|
||||||
'<strong>Chat</strong> with us!': '发起<strong>即时对话</strong>!'
|
'<strong>Chat</strong> with us!': '发起<strong>即时对话</strong>!'
|
||||||
'Scroll down to see new messages': '向下滚动以查看新消息'
|
'Scroll down to see new messages': '向下滚动以查看新消息'
|
||||||
|
@ -253,6 +291,7 @@ do($ = window.jQuery, window) ->
|
||||||
'Connection re-established': '正在重新建立连接'
|
'Connection re-established': '正在重新建立连接'
|
||||||
'Today': '今天'
|
'Today': '今天'
|
||||||
'Send': '发送'
|
'Send': '发送'
|
||||||
|
'Chat closed by %s': 'Chat closed by %s',
|
||||||
'Compose your message...': '正在输入信息...'
|
'Compose your message...': '正在输入信息...'
|
||||||
'All colleagues are busy.': '所有工作人员都在忙碌中.'
|
'All colleagues are busy.': '所有工作人员都在忙碌中.'
|
||||||
'You are on waiting list position <strong>%s</strong>.': '您目前的等候位置是第 <strong>%s</strong> 位.'
|
'You are on waiting list position <strong>%s</strong>.': '您目前的等候位置是第 <strong>%s</strong> 位.'
|
||||||
|
@ -269,6 +308,7 @@ do($ = window.jQuery, window) ->
|
||||||
'Connection re-established': '正在重新建立連線中'
|
'Connection re-established': '正在重新建立連線中'
|
||||||
'Today': '今天'
|
'Today': '今天'
|
||||||
'Send': '發送'
|
'Send': '發送'
|
||||||
|
'Chat closed by %s': 'Chat closed by %s',
|
||||||
'Compose your message...': '正在輸入訊息...'
|
'Compose your message...': '正在輸入訊息...'
|
||||||
'All colleagues are busy.': '所有服務人員都在忙碌中.'
|
'All colleagues are busy.': '所有服務人員都在忙碌中.'
|
||||||
'You are on waiting list position <strong>%s</strong>.': '你目前的等候位置是第 <strong>%s</strong> 順位.'
|
'You are on waiting list position <strong>%s</strong>.': '你目前的等候位置是第 <strong>%s</strong> 順位.'
|
||||||
|
|
|
@ -1,3 +1,64 @@
|
||||||
|
if (!window.zammadChatTemplates) {
|
||||||
|
window.zammadChatTemplates = {};
|
||||||
|
}
|
||||||
|
window.zammadChatTemplates["agent"] = function (__obj) {
|
||||||
|
if (!__obj) __obj = {};
|
||||||
|
var __out = [], __capture = function(callback) {
|
||||||
|
var out = __out, result;
|
||||||
|
__out = [];
|
||||||
|
callback.call(this);
|
||||||
|
result = __out.join('');
|
||||||
|
__out = out;
|
||||||
|
return __safe(result);
|
||||||
|
}, __sanitize = function(value) {
|
||||||
|
if (value && value.ecoSafe) {
|
||||||
|
return value;
|
||||||
|
} else if (typeof value !== 'undefined' && value != null) {
|
||||||
|
return __escape(value);
|
||||||
|
} else {
|
||||||
|
return '';
|
||||||
|
}
|
||||||
|
}, __safe, __objSafe = __obj.safe, __escape = __obj.escape;
|
||||||
|
__safe = __obj.safe = function(value) {
|
||||||
|
if (value && value.ecoSafe) {
|
||||||
|
return value;
|
||||||
|
} else {
|
||||||
|
if (!(typeof value !== 'undefined' && value != null)) value = '';
|
||||||
|
var result = new String(value);
|
||||||
|
result.ecoSafe = true;
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
if (!__escape) {
|
||||||
|
__escape = __obj.escape = function(value) {
|
||||||
|
return ('' + value)
|
||||||
|
.replace(/&/g, '&')
|
||||||
|
.replace(/</g, '<')
|
||||||
|
.replace(/>/g, '>')
|
||||||
|
.replace(/"/g, '"');
|
||||||
|
};
|
||||||
|
}
|
||||||
|
(function() {
|
||||||
|
(function() {
|
||||||
|
if (this.agent.avatar) {
|
||||||
|
__out.push('\n<img class="zammad-chat-agent-avatar" src="');
|
||||||
|
__out.push(__sanitize(this.agent.avatar));
|
||||||
|
__out.push('">\n');
|
||||||
|
}
|
||||||
|
|
||||||
|
__out.push('\n<span class="zammad-chat-agent-sentence">\n <span class="zammad-chat-agent-name">');
|
||||||
|
|
||||||
|
__out.push(__sanitize(this.agent.name));
|
||||||
|
|
||||||
|
__out.push('</span>\n</span>');
|
||||||
|
|
||||||
|
}).call(this);
|
||||||
|
|
||||||
|
}).call(__obj);
|
||||||
|
__obj.safe = __objSafe, __obj.escape = __escape;
|
||||||
|
return __out.join('');
|
||||||
|
};
|
||||||
|
|
||||||
var bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },
|
var bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },
|
||||||
slice = [].slice,
|
slice = [].slice,
|
||||||
extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
|
extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
|
||||||
|
@ -315,6 +376,7 @@ var bind = function(fn, me){ return function(){ return fn.apply(me, arguments);
|
||||||
'Connection re-established': 'Verbindung wiederhergestellt',
|
'Connection re-established': 'Verbindung wiederhergestellt',
|
||||||
'Today': 'Heute',
|
'Today': 'Heute',
|
||||||
'Send': 'Senden',
|
'Send': 'Senden',
|
||||||
|
'Chat closed by %s': 'Chat beendet von %s',
|
||||||
'Compose your message...': 'Ihre Nachricht...',
|
'Compose your message...': 'Ihre Nachricht...',
|
||||||
'All colleagues are busy.': 'Alle Kollegen sind belegt.',
|
'All colleagues are busy.': 'Alle Kollegen sind belegt.',
|
||||||
'You are on waiting list position <strong>%s</strong>.': 'Sie sind in der Warteliste an der Position <strong>%s</strong>.',
|
'You are on waiting list position <strong>%s</strong>.': 'Sie sind in der Warteliste an der Position <strong>%s</strong>.',
|
||||||
|
@ -332,6 +394,7 @@ var bind = function(fn, me){ return function(){ return fn.apply(me, arguments);
|
||||||
'Connection re-established': 'Conexión restablecida',
|
'Connection re-established': 'Conexión restablecida',
|
||||||
'Today': 'Hoy',
|
'Today': 'Hoy',
|
||||||
'Send': 'Enviar',
|
'Send': 'Enviar',
|
||||||
|
'Chat closed by %s': 'Chat cerrado por %s',
|
||||||
'Compose your message...': 'Escriba su mensaje...',
|
'Compose your message...': 'Escriba su mensaje...',
|
||||||
'All colleagues are busy.': 'Todos los agentes están ocupados.',
|
'All colleagues are busy.': 'Todos los agentes están ocupados.',
|
||||||
'You are on waiting list position <strong>%s</strong>.': 'Usted está en la posición <strong>%s</strong> de la lista de espera.',
|
'You are on waiting list position <strong>%s</strong>.': 'Usted está en la posición <strong>%s</strong> de la lista de espera.',
|
||||||
|
@ -349,6 +412,7 @@ var bind = function(fn, me){ return function(){ return fn.apply(me, arguments);
|
||||||
'Connection re-established': 'Connexion rétablie',
|
'Connection re-established': 'Connexion rétablie',
|
||||||
'Today': 'Aujourdhui',
|
'Today': 'Aujourdhui',
|
||||||
'Send': 'Envoyer',
|
'Send': 'Envoyer',
|
||||||
|
'Chat closed by %s': 'Chat fermé par %s',
|
||||||
'Compose your message...': 'Composez votre message...',
|
'Compose your message...': 'Composez votre message...',
|
||||||
'All colleagues are busy.': 'Tous les collègues sont actuellement occupés.',
|
'All colleagues are busy.': 'Tous les collègues sont actuellement occupés.',
|
||||||
'You are on waiting list position <strong>%s</strong>.': 'Vous êtes actuellement en <strong>%s</strong> position dans la file d\'attente.',
|
'You are on waiting list position <strong>%s</strong>.': 'Vous êtes actuellement en <strong>%s</strong> position dans la file d\'attente.',
|
||||||
|
@ -366,6 +430,7 @@ var bind = function(fn, me){ return function(){ return fn.apply(me, arguments);
|
||||||
'Connection re-established': 'Verbinding herstelt',
|
'Connection re-established': 'Verbinding herstelt',
|
||||||
'Today': 'Vandaag',
|
'Today': 'Vandaag',
|
||||||
'Send': 'Verzenden',
|
'Send': 'Verzenden',
|
||||||
|
'Chat closed by %s': 'Chat gesloten door %s',
|
||||||
'Compose your message...': 'Typ uw bericht...',
|
'Compose your message...': 'Typ uw bericht...',
|
||||||
'All colleagues are busy.': 'Alle medewerkers zijn bezet.',
|
'All colleagues are busy.': 'Alle medewerkers zijn bezet.',
|
||||||
'You are on waiting list position <strong>%s</strong>.': 'U bent <strong>%s</strong> in de wachtrij.',
|
'You are on waiting list position <strong>%s</strong>.': 'U bent <strong>%s</strong> in de wachtrij.',
|
||||||
|
@ -374,6 +439,42 @@ var bind = function(fn, me){ return function(){ return fn.apply(me, arguments);
|
||||||
'Since you didn\'t respond in the last %s minutes your conversation got closed.': 'Omdat u in de laatste %s minuten niets geschreven heeft is de conversatie gesloten.',
|
'Since you didn\'t respond in the last %s minutes your conversation got closed.': 'Omdat u in de laatste %s minuten niets geschreven heeft is de conversatie gesloten.',
|
||||||
'We are sorry, it takes longer as expected to get an empty slot. Please try again later or send us an email. Thank you!': 'Het spijt ons, het duurt langer dan verwacht om te antwoorden. Alstublieft probeer het later nogmaals of stuur ons een email. Hartelijk dank!'
|
'We are sorry, it takes longer as expected to get an empty slot. Please try again later or send us an email. Thank you!': 'Het spijt ons, het duurt langer dan verwacht om te antwoorden. Alstublieft probeer het later nogmaals of stuur ons een email. Hartelijk dank!'
|
||||||
},
|
},
|
||||||
|
'it': {
|
||||||
|
'<strong>Chat</strong> with us!': '<strong>Chatta</strong> con noi!',
|
||||||
|
'Scroll down to see new messages': 'Scorrere verso il basso per vedere i nuovi messaggi',
|
||||||
|
'Online': 'Online',
|
||||||
|
'Offline': 'Offline',
|
||||||
|
'Connecting': 'Collegamento',
|
||||||
|
'Connection re-established': 'Collegamento ristabilito',
|
||||||
|
'Today': 'Oggi',
|
||||||
|
'Send': 'Invio',
|
||||||
|
'Chat closed by %s': 'Conversazione chiusa da %s',
|
||||||
|
'Compose your message...': 'Comporre il tuo messaggio...',
|
||||||
|
'All colleagues are busy.': 'Tutti i colleghi sono occupati.',
|
||||||
|
'You are on waiting list position <strong>%s</strong>.': 'Siete in posizione lista d\' attesa <strong>%s</strong>.',
|
||||||
|
'Start new conversation': 'Avviare una nuova conversazione',
|
||||||
|
'Since you didn\'t respond in the last %s minutes your conversation with <strong>%s</strong> got closed.': 'Dal momento che non hai risposto negli ultimi %s minuti la tua conversazione con <strong>%s</strong> si è chiusa.',
|
||||||
|
'Since you didn\'t respond in the last %s minutes your conversation got closed.': 'Dal momento che non hai risposto negli ultimi %s minuti la tua conversazione si è chiusa.',
|
||||||
|
'We are sorry, it takes longer as expected to get an empty slot. Please try again later or send us an email. Thank you!': 'Ci dispiace, ci vuole più tempo come previsto per ottenere uno slot vuoto. Per favore riprova più tardi o inviaci un\' e-mail. Grazie!'
|
||||||
|
},
|
||||||
|
'pl': {
|
||||||
|
'<strong>Chat</strong> with us!': '<strong>Czatuj</strong> z nami!',
|
||||||
|
'Scroll down to see new messages': 'Przewiń w dół, aby wyświetlić nowe wiadomości',
|
||||||
|
'Online': 'Online',
|
||||||
|
'Offline': 'Offline',
|
||||||
|
'Connecting': 'Łączenie',
|
||||||
|
'Connection re-established': 'Ponowne nawiązanie połączenia',
|
||||||
|
'Today': 'dzisiejszy',
|
||||||
|
'Send': 'Wyślij',
|
||||||
|
'Chat closed by %s': 'Czat zamknięty przez %s',
|
||||||
|
'Compose your message...': 'Utwórz swoją wiadomość...',
|
||||||
|
'All colleagues are busy.': 'Wszyscy koledzy są zajęci.',
|
||||||
|
'You are on waiting list position <strong>%s</strong>.': 'Na liście oczekujących znajduje się pozycja <strong>%s</strong>.',
|
||||||
|
'Start new conversation': 'Rozpoczęcie nowej konwersacji',
|
||||||
|
'Since you didn\'t respond in the last %s minutes your conversation with <strong>%s</strong> got closed.': 'Ponieważ w ciągu ostatnich %s minut nie odpowiedziałeś, Twoja rozmowa z <strong>%s</strong> została zamknięta.',
|
||||||
|
'Since you didn\'t respond in the last %s minutes your conversation got closed.': 'Ponieważ nie odpowiedziałeś w ciągu ostatnich %s minut, Twoja rozmowa została zamknięta.',
|
||||||
|
'We are sorry, it takes longer as expected to get an empty slot. Please try again later or send us an email. Thank you!': 'Przykro nam, ale to trwa dłużej niż się spodziewamy. Spróbuj ponownie później lub wyślij nam wiadomość e-mail. Dziękuję!'
|
||||||
|
},
|
||||||
'zh-cn': {
|
'zh-cn': {
|
||||||
'<strong>Chat</strong> with us!': '发起<strong>即时对话</strong>!',
|
'<strong>Chat</strong> with us!': '发起<strong>即时对话</strong>!',
|
||||||
'Scroll down to see new messages': '向下滚动以查看新消息',
|
'Scroll down to see new messages': '向下滚动以查看新消息',
|
||||||
|
@ -383,6 +484,7 @@ var bind = function(fn, me){ return function(){ return fn.apply(me, arguments);
|
||||||
'Connection re-established': '正在重新建立连接',
|
'Connection re-established': '正在重新建立连接',
|
||||||
'Today': '今天',
|
'Today': '今天',
|
||||||
'Send': '发送',
|
'Send': '发送',
|
||||||
|
'Chat closed by %s': 'Chat closed by %s',
|
||||||
'Compose your message...': '正在输入信息...',
|
'Compose your message...': '正在输入信息...',
|
||||||
'All colleagues are busy.': '所有工作人员都在忙碌中.',
|
'All colleagues are busy.': '所有工作人员都在忙碌中.',
|
||||||
'You are on waiting list position <strong>%s</strong>.': '您目前的等候位置是第 <strong>%s</strong> 位.',
|
'You are on waiting list position <strong>%s</strong>.': '您目前的等候位置是第 <strong>%s</strong> 位.',
|
||||||
|
@ -400,6 +502,7 @@ var bind = function(fn, me){ return function(){ return fn.apply(me, arguments);
|
||||||
'Connection re-established': '正在重新建立連線中',
|
'Connection re-established': '正在重新建立連線中',
|
||||||
'Today': '今天',
|
'Today': '今天',
|
||||||
'Send': '發送',
|
'Send': '發送',
|
||||||
|
'Chat closed by %s': 'Chat closed by %s',
|
||||||
'Compose your message...': '正在輸入訊息...',
|
'Compose your message...': '正在輸入訊息...',
|
||||||
'All colleagues are busy.': '所有服務人員都在忙碌中.',
|
'All colleagues are busy.': '所有服務人員都在忙碌中.',
|
||||||
'You are on waiting list position <strong>%s</strong>.': '你目前的等候位置是第 <strong>%s</strong> 順位.',
|
'You are on waiting list position <strong>%s</strong>.': '你目前的等候位置是第 <strong>%s</strong> 順位.',
|
||||||
|
@ -622,7 +725,7 @@ var bind = function(fn, me){ return function(){ return fn.apply(me, arguments);
|
||||||
})(this));
|
})(this));
|
||||||
this.input.on('paste', (function(_this) {
|
this.input.on('paste', (function(_this) {
|
||||||
return function(e) {
|
return function(e) {
|
||||||
var clipboardData, docType, error, html, htmlTmp, imageFile, imageInserted, item, match, reader, regex, replacementTag, text;
|
var clipboardData, docType, html, htmlTmp, imageFile, imageInserted, item, match, reader, regex, replacementTag, text;
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
clipboardData;
|
clipboardData;
|
||||||
|
@ -1774,67 +1877,6 @@ var bind = function(fn, me){ return function(){ return fn.apply(me, arguments);
|
||||||
return window.ZammadChat = ZammadChat;
|
return window.ZammadChat = ZammadChat;
|
||||||
})(window.jQuery, window);
|
})(window.jQuery, window);
|
||||||
|
|
||||||
if (!window.zammadChatTemplates) {
|
|
||||||
window.zammadChatTemplates = {};
|
|
||||||
}
|
|
||||||
window.zammadChatTemplates["agent"] = function (__obj) {
|
|
||||||
if (!__obj) __obj = {};
|
|
||||||
var __out = [], __capture = function(callback) {
|
|
||||||
var out = __out, result;
|
|
||||||
__out = [];
|
|
||||||
callback.call(this);
|
|
||||||
result = __out.join('');
|
|
||||||
__out = out;
|
|
||||||
return __safe(result);
|
|
||||||
}, __sanitize = function(value) {
|
|
||||||
if (value && value.ecoSafe) {
|
|
||||||
return value;
|
|
||||||
} else if (typeof value !== 'undefined' && value != null) {
|
|
||||||
return __escape(value);
|
|
||||||
} else {
|
|
||||||
return '';
|
|
||||||
}
|
|
||||||
}, __safe, __objSafe = __obj.safe, __escape = __obj.escape;
|
|
||||||
__safe = __obj.safe = function(value) {
|
|
||||||
if (value && value.ecoSafe) {
|
|
||||||
return value;
|
|
||||||
} else {
|
|
||||||
if (!(typeof value !== 'undefined' && value != null)) value = '';
|
|
||||||
var result = new String(value);
|
|
||||||
result.ecoSafe = true;
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
if (!__escape) {
|
|
||||||
__escape = __obj.escape = function(value) {
|
|
||||||
return ('' + value)
|
|
||||||
.replace(/&/g, '&')
|
|
||||||
.replace(/</g, '<')
|
|
||||||
.replace(/>/g, '>')
|
|
||||||
.replace(/"/g, '"');
|
|
||||||
};
|
|
||||||
}
|
|
||||||
(function() {
|
|
||||||
(function() {
|
|
||||||
if (this.agent.avatar) {
|
|
||||||
__out.push('\n<img class="zammad-chat-agent-avatar" src="');
|
|
||||||
__out.push(__sanitize(this.agent.avatar));
|
|
||||||
__out.push('">\n');
|
|
||||||
}
|
|
||||||
|
|
||||||
__out.push('\n<span class="zammad-chat-agent-sentence">\n <span class="zammad-chat-agent-name">');
|
|
||||||
|
|
||||||
__out.push(__sanitize(this.agent.name));
|
|
||||||
|
|
||||||
__out.push('</span>\n</span>');
|
|
||||||
|
|
||||||
}).call(this);
|
|
||||||
|
|
||||||
}).call(__obj);
|
|
||||||
__obj.safe = __objSafe, __obj.escape = __escape;
|
|
||||||
return __out.join('');
|
|
||||||
};
|
|
||||||
|
|
||||||
if (!window.zammadChatTemplates) {
|
if (!window.zammadChatTemplates) {
|
||||||
window.zammadChatTemplates = {};
|
window.zammadChatTemplates = {};
|
||||||
}
|
}
|
||||||
|
|
3
public/assets/chat/chat.min.js
vendored
3
public/assets/chat/chat.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -131,7 +131,25 @@ $(function() {
|
||||||
'Your Email': 'Uw Email adres',
|
'Your Email': 'Uw Email adres',
|
||||||
'Message': 'Bericht',
|
'Message': 'Bericht',
|
||||||
'Attachments': 'Bijlage',
|
'Attachments': 'Bijlage',
|
||||||
'Your Message...': 'Uw bericht.......',
|
'Your Message...': 'Uw bericht...',
|
||||||
|
},
|
||||||
|
'it': {
|
||||||
|
'Name': 'Nome',
|
||||||
|
'Your Name': 'Il tuo nome',
|
||||||
|
'Email': 'E-mail',
|
||||||
|
'Your Email': 'Il tuo indirizzo e-mail',
|
||||||
|
'Message': 'Messaggio',
|
||||||
|
'Attachments': 'Allegati',
|
||||||
|
'Your Message...': 'Il tuo messaggio...',
|
||||||
|
},
|
||||||
|
'pl': {
|
||||||
|
'Name': 'Nazwa',
|
||||||
|
'Your Name': 'Imię i nazwisko',
|
||||||
|
'Email': 'Email adres',
|
||||||
|
'Your Email': 'Adres e-mail',
|
||||||
|
'Message': 'Wiadomość',
|
||||||
|
'Attachments': 'Załączniki',
|
||||||
|
'Your Message...': 'Twoja wiadomość...',
|
||||||
},
|
},
|
||||||
'zh-cn': {
|
'zh-cn': {
|
||||||
'Name': '联系人',
|
'Name': '联系人',
|
||||||
|
|
Loading…
Reference in a new issue