|
@@ -150,6 +150,79 @@ window.zammadChatTemplates["chat"] = function(__obj) {
|
|
|
return __out.join('');
|
|
|
};
|
|
|
|
|
|
+if (!window.zammadChatTemplates) {
|
|
|
+ window.zammadChatTemplates = {};
|
|
|
+}
|
|
|
+window.zammadChatTemplates["customer_timeout"] = 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() {
|
|
|
+ __out.push('<div class="zammad-chat-modal-text">\n ');
|
|
|
+
|
|
|
+ if (this.agent) {
|
|
|
+ __out.push('\n ');
|
|
|
+ __out.push(this.T('Since you didn\'t respond in the last %s minutes your conversation with <strong>%s</strong> got closed.', this.delay, this.agent));
|
|
|
+ __out.push('\n ');
|
|
|
+ } else {
|
|
|
+ __out.push('\n ');
|
|
|
+ __out.push(this.T('Since you didn\'t respond in the last %s minutes your conversation got closed.', this.delay));
|
|
|
+ __out.push('\n ');
|
|
|
+ }
|
|
|
+
|
|
|
+ __out.push('\n <br>\n <div class="zammad-chat-button js-restart"');
|
|
|
+
|
|
|
+ if (this.background) {
|
|
|
+ __out.push(__sanitize(" style='background: " + this.background + "'"));
|
|
|
+ }
|
|
|
+
|
|
|
+ __out.push('>');
|
|
|
+
|
|
|
+ __out.push(this.T('Start new conversation'));
|
|
|
+
|
|
|
+ __out.push('</div>\n</div>');
|
|
|
+
|
|
|
+ }).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); }; },
|
|
|
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; },
|
|
@@ -577,6 +650,24 @@ 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.': 'מכיוון שלא הגבת במהלך %s הדקות האחרונות השיחה שלך נסגרה.',
|
|
|
'We are sorry, it takes longer as expected to get an empty slot. Please try again later or send us an email. Thank you!': 'מצטערים, הזמן לקבלת נציג ארוך מהרגיל. נסה שוב מאוחר יותר או שלח לנו דוא"ל. תודה!'
|
|
|
},
|
|
|
+ 'hu': {
|
|
|
+ '<strong>Chat</strong> with us!': '<strong>Chatelj</strong> velünk!',
|
|
|
+ 'Scroll down to see new messages': 'Görgess lejjebb az újabb üzenetekért',
|
|
|
+ 'Online': 'Online',
|
|
|
+ 'Offline': 'Offline',
|
|
|
+ 'Connecting': 'Csatlakozás',
|
|
|
+ 'Connection re-established': 'Újracsatlakozás',
|
|
|
+ 'Today': 'Ma',
|
|
|
+ 'Send': 'Küldés',
|
|
|
+ 'Chat closed by %s': 'A beszélgetést lezárta %s',
|
|
|
+ 'Compose your message...': 'Írj üzenetet...',
|
|
|
+ 'All colleagues are busy.': 'Jelenleg minden kollégánk elfoglalt.',
|
|
|
+ 'You are on waiting list position <strong>%s</strong>.': 'A várólistán a <strong>%s</strong>. pozícióban várakozol.',
|
|
|
+ 'Start new conversation': 'Új beszélgetés indítása',
|
|
|
+ 'Since you didn\'t respond in the last %s minutes your conversation with <strong>%s</strong> got closed.': 'Mivel %s perce nem érkezett újabb üzenet, ezért a <strong>%s</strong> kollégával folytatott beszéletést lezártuk.',
|
|
|
+ 'Since you didn\'t respond in the last %s minutes your conversation got closed.': 'Mivel %s perce nem érkezett válasz, a beszélgetés lezárult.',
|
|
|
+ 'We are sorry, it takes longer as expected to get an empty slot. Please try again later or send us an email. Thank you!': 'Sajnáljuk, de a várakozási idő hosszabb a szokásosnál. Kérlek próbáld újra, vagy írd meg kérdésed emailben. Köszönjük!'
|
|
|
+ },
|
|
|
'nl': {
|
|
|
'<strong>Chat</strong> with us!': '<strong>Chat</strong> met ons!',
|
|
|
'Scroll down to see new messages': 'Scrol naar beneden om nieuwe berichten te zien',
|
|
@@ -2133,79 +2224,6 @@ var bind = function(fn, me){ return function(){ return fn.apply(me, arguments);
|
|
|
return window.ZammadChat = ZammadChat;
|
|
|
})(window.jQuery, window);
|
|
|
|
|
|
-if (!window.zammadChatTemplates) {
|
|
|
- window.zammadChatTemplates = {};
|
|
|
-}
|
|
|
-window.zammadChatTemplates["customer_timeout"] = 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() {
|
|
|
- __out.push('<div class="zammad-chat-modal-text">\n ');
|
|
|
-
|
|
|
- if (this.agent) {
|
|
|
- __out.push('\n ');
|
|
|
- __out.push(this.T('Since you didn\'t respond in the last %s minutes your conversation with <strong>%s</strong> got closed.', this.delay, this.agent));
|
|
|
- __out.push('\n ');
|
|
|
- } else {
|
|
|
- __out.push('\n ');
|
|
|
- __out.push(this.T('Since you didn\'t respond in the last %s minutes your conversation got closed.', this.delay));
|
|
|
- __out.push('\n ');
|
|
|
- }
|
|
|
-
|
|
|
- __out.push('\n <br>\n <div class="zammad-chat-button js-restart"');
|
|
|
-
|
|
|
- if (this.background) {
|
|
|
- __out.push(__sanitize(" style='background: " + this.background + "'"));
|
|
|
- }
|
|
|
-
|
|
|
- __out.push('>');
|
|
|
-
|
|
|
- __out.push(this.T('Start new conversation'));
|
|
|
-
|
|
|
- __out.push('</div>\n</div>');
|
|
|
-
|
|
|
- }).call(this);
|
|
|
-
|
|
|
- }).call(__obj);
|
|
|
- __obj.safe = __objSafe, __obj.escape = __escape;
|
|
|
- return __out.join('');
|
|
|
-};
|
|
|
-
|
|
|
if (!window.zammadChatTemplates) {
|
|
|
window.zammadChatTemplates = {};
|
|
|
}
|