WP Live Chat Support - Version 8.0.24

Version Description

  • 2019-03-04 - Medium priority =
  • Added styling settings hook.
  • Added Slovenian translation files. Thanks to Zarko Germek
  • Fixed bug where transcript message would be empty if settings were cleared (defaults)
  • Fixed bug where slashes were repeatedly added to GDPR company name
  • Fixed issues with history styling when using our servers
  • Fixed a bug where wp_localize_script would localize an empty value, causing WP Core errors appearing on the frontent (Survey Module)
  • Fixed placement issue when using classic theme
  • Modified cookie lifespan for dashboard redirect
  • Modified remote dashboard URL to load directly from API
  • Modified all Gravatar links to default to Mystery Man
  • Improved styling in settings area
  • Updated Bulgarian translation file. Thanks to Pavel Valkov.
  • Tested on WordPress 5.1.0
Download this release

Release Info

Developer DylanAuty
Plugin Icon 128x128 WP Live Chat Support
Version 8.0.24
Comparing to
See all releases

Code changes from version 8.0.23 to 8.0.24

css/admin_styles.css CHANGED
@@ -447,3 +447,11 @@ margin-top: 10px !important;
447
  padding: 15px;
448
  padding-bottom: 0;
449
  }
 
 
 
 
 
 
 
 
447
  padding: 15px;
448
  padding-bottom: 0;
449
  }
450
+
451
+ #wplc_settings input[type=button]:not(.button),
452
+ #wplc_settings button:not(.button) {
453
+ background: #e6e6e6;
454
+ border: none;
455
+ border-radius: 5px;
456
+ padding: 7px 7px
457
+ }
css/node_history_styles.css CHANGED
@@ -1,5 +1,5 @@
1
  .admin_chat_box_inner_bottom, .end_chat_div, .bleeper-edit-message{
2
- display:none !important; /*User cannot type or input any data*/
3
  }
4
 
5
  #admin_chat_box {
@@ -20,6 +20,7 @@
20
  padding: 3% !important;
21
  width:50% !important;
22
  height: 320px !important;
 
23
 
24
  box-shadow: 0 0 40px 1px rgba(0,0,0,.07);
25
  -webkit-box-shadow: 0 0 40px 1px rgba(0,0,0,.07);
@@ -43,7 +44,7 @@
43
  }
44
 
45
  .admin_chat_box_inner {
46
- height: 90% !important;
47
  overflow-y: auto;
48
  }
49
 
@@ -54,7 +55,6 @@
54
  .wplc_bottom_chat_info_container {
55
  position: absolute;
56
  top: 510px;
57
-
58
  background:#fff;
59
  border-radius:5px;
60
  padding-left: 3%;
@@ -62,13 +62,11 @@
62
  padding-top: 20px;
63
  padding-bottom: 20px;
64
  width: 30%;
65
-
66
  box-shadow: 0 0 40px 1px rgba(0,0,0,.07);
67
  -webkit-box-shadow: 0 0 40px 1px rgba(0,0,0,.07);
68
  -moz-box-shadow: 0 0 40px 1px rgba(0,0,0,.07);
69
  -o-box-shadow: 0 0 40px 1px rgba(0,0,0,.07);
70
-
71
-
72
  }
73
 
74
  .wplc_bottom_chat_info_container h3{
@@ -81,6 +79,23 @@
81
  margin: 5px;
82
  padding: 5px;
83
  border-radius: 3px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
84
  }
85
 
86
  .wplc-user-message-avatar, .wplc-admin-message-avatar {
@@ -93,4 +108,16 @@
93
  display: inline-block;
94
  padding-left:10px
95
 
 
 
 
 
 
 
 
 
 
 
 
 
96
  }
1
  .admin_chat_box_inner_bottom, .end_chat_div, .bleeper-edit-message{
2
+ display:none !important; /*User cannot type or input any data*/
3
  }
4
 
5
  #admin_chat_box {
20
  padding: 3% !important;
21
  width:50% !important;
22
  height: 320px !important;
23
+ border-radius: 5px;
24
 
25
  box-shadow: 0 0 40px 1px rgba(0,0,0,.07);
26
  -webkit-box-shadow: 0 0 40px 1px rgba(0,0,0,.07);
44
  }
45
 
46
  .admin_chat_box_inner {
47
+ height: 100% !important;
48
  overflow-y: auto;
49
  }
50
 
55
  .wplc_bottom_chat_info_container {
56
  position: absolute;
57
  top: 510px;
 
58
  background:#fff;
59
  border-radius:5px;
60
  padding-left: 3%;
62
  padding-top: 20px;
63
  padding-bottom: 20px;
64
  width: 30%;
65
+ min-width: 224px;
66
  box-shadow: 0 0 40px 1px rgba(0,0,0,.07);
67
  -webkit-box-shadow: 0 0 40px 1px rgba(0,0,0,.07);
68
  -moz-box-shadow: 0 0 40px 1px rgba(0,0,0,.07);
69
  -o-box-shadow: 0 0 40px 1px rgba(0,0,0,.07);
 
 
70
  }
71
 
72
  .wplc_bottom_chat_info_container h3{
79
  margin: 5px;
80
  padding: 5px;
81
  border-radius: 3px;
82
+ margin-bottom: 10px;
83
+
84
+ box-shadow: 0 0 2px 1px rgba(0,0,0,.07);
85
+ -webkit-box-shadow: 0 0 2px 1px rgba(0,0,0,.07);
86
+ -moz-box-shadow: 0 0 2px 1px rgba(0,0,0,.07);
87
+ -o-box-shadow: 0 0 2px 1px rgba(0,0,0,.07);
88
+
89
+ }
90
+
91
+ .wplc-user-message{
92
+ background-color: #e0e0e0;
93
+ }
94
+
95
+ .wplc-admin-message{
96
+ background-color: #333;
97
+ color: #fff;
98
+ margin-left: 20%;
99
  }
100
 
101
  .wplc-user-message-avatar, .wplc-admin-message-avatar {
108
  display: inline-block;
109
  padding-left:10px
110
 
111
+ }
112
+
113
+ .wplc-chat-person-name{
114
+ font-size: 11px;
115
+ }
116
+
117
+ .messageBody{
118
+ display: block;
119
+ }
120
+ .wplc-history__date{
121
+ display: block;
122
+ margin-bottom: 5px;
123
  }
functions.php CHANGED
@@ -1,2443 +1,2443 @@
1
- <?php
2
- $wplc_basic_plugin_url = WPLC_BASIC_PLUGIN_URL;
3
-
4
- function wplc_log_user_on_page($name,$email,$session, $is_mobile = false) {
5
- global $wpdb;
6
- global $wplc_tblname_chats;
7
-
8
- $wplc_settings = get_option('WPLC_SETTINGS');
9
-
10
-
11
- /** DEPRECATED DUE TO GDPR */
12
- /*if(isset($wplc_settings['wplc_record_ip_address']) && $wplc_settings['wplc_record_ip_address'] == 1){
13
-
14
- if(isset($_SERVER['HTTP_X_FORWARDED_FOR']) && $_SERVER['HTTP_X_FORWARDED_FOR'] != '') {
15
- $ip_address = $_SERVER['HTTP_X_FORWARDED_FOR'];
16
- } else {
17
- $ip_address = $_SERVER['REMOTE_ADDR'];
18
- }
19
-
20
- $user_data = array(
21
- 'ip' => $ip_address,
22
- 'user_agent' => $_SERVER['HTTP_USER_AGENT']
23
- );
24
- } else {
25
- $user_data = array(
26
- 'ip' => "",
27
- 'user_agent' => $_SERVER['HTTP_USER_AGENT']
28
- );
29
- }*/
30
-
31
- $user_data = array(
32
- 'ip' => "",
33
- 'user_agent' => $_SERVER['HTTP_USER_AGENT']
34
- );
35
-
36
-
37
- /* user types
38
- * 1 = new
39
- * 2 = returning
40
- * 3 = timed out
41
- */
42
-
43
- $other = array(
44
- "user_type" => 1
45
- );
46
-
47
- if($is_mobile){
48
- $other['user_is_mobile'] = true;
49
- } else {
50
- $other['user_is_mobile'] = false;
51
- }
52
-
53
- $other = apply_filters("wplc_log_user_on_page_insert_other_data_filter", $other);
54
-
55
- $wplc_chat_session_data = array(
56
- 'status' => '5',
57
- 'timestamp' => current_time('mysql'),
58
- 'name' => $name,
59
- 'email' => $email,
60
- 'session' => $session,
61
- 'ip' => maybe_serialize($user_data),
62
- 'url' => sanitize_text_field($_SERVER['HTTP_REFERER']),
63
- 'last_active_timestamp' => current_time('mysql'),
64
- 'other' => maybe_serialize($other),
65
- );
66
-
67
- $wplc_chat_session_data = apply_filters("wplc_log_user_on_page_insert_filter", $wplc_chat_session_data);
68
-
69
- /* Omitted from inser call as this defaults to string
70
- $wplc_chat_session_types = array(
71
- '%s',
72
- '%s',
73
- '%s',
74
- '%s',
75
- '%s',
76
- '%s',
77
- '%s',
78
- '%s',
79
- '%s'
80
- ); */
81
-
82
-
83
- $wpdb->insert($wplc_tblname_chats, $wplc_chat_session_data);
84
- $lastid = $wpdb->insert_id;
85
-
86
- do_action("wplc_log_user_on_page_after_hook", $lastid, $wplc_chat_session_data);
87
-
88
-
89
- return $lastid;
90
-
91
- }
92
- function wplc_update_user_on_page($cid, $status = 5,$session) {
93
- global $wpdb;
94
- global $wplc_tblname_chats;
95
- $wplc_settings = get_option('WPLC_SETTINGS');
96
-
97
- /** DEPRECATED BY GDPR */
98
- /*if(isset($wplc_settings['wplc_record_ip_address']) && $wplc_settings['wplc_record_ip_address'] == 1){
99
-
100
- if(isset($_SERVER['HTTP_X_FORWARDED_FOR']) && $_SERVER['HTTP_X_FORWARDED_FOR'] != '') {
101
- $ip_address = sanitize_text_field($_SERVER['HTTP_X_FORWARDED_FOR']);
102
- } else {
103
- $ip_address = sanitize_text_field($_SERVER['REMOTE_ADDR']);
104
- }
105
- $user_data = array(
106
- 'ip' => $ip_address,
107
- 'user_agent' => sanitize_text_field($_SERVER['HTTP_USER_AGENT'])
108
- );
109
- } else {
110
- $user_data = array(
111
- 'ip' => "",
112
- 'user_agent' => sanitize_text_field($_SERVER['HTTP_USER_AGENT'])
113
- );
114
- }*/
115
-
116
- $user_data = array(
117
- 'ip' => "",
118
- 'user_agent' => sanitize_text_field($_SERVER['HTTP_USER_AGENT'])
119
- );
120
-
121
-
122
-
123
- $query = $wpdb->update(
124
- $wplc_tblname_chats,
125
- array(
126
- 'url' => sanitize_text_field($_SERVER['HTTP_REFERER']),
127
- 'last_active_timestamp' => current_time('mysql'),
128
- 'ip' => maybe_serialize($user_data),
129
- 'status' => $status,
130
- 'session' => $session,
131
- ),
132
- array('id' => $cid),
133
- array(
134
- '%s',
135
- '%s',
136
- '%s',
137
- '%d',
138
- '%s'
139
- ),
140
- array('%d')
141
- );
142
-
143
-
144
- return $query;
145
-
146
-
147
- }
148
-
149
-
150
- function wplc_record_chat_msg($from, $cid, $msg, $rest_check = false, $aid = false, $other = false) {
151
- global $wpdb;
152
- global $wplc_tblname_msgs;
153
-
154
-
155
- if( ! filter_var($cid, FILTER_VALIDATE_INT) ) {
156
-
157
- /**
158
- * We need to identify if this CID is a node CID, and if so, return the WP CID from the wplc_chat_msgs table
159
- */
160
- $cid = wplc_return_chat_id_by_rel($cid);
161
- }
162
-
163
- /**
164
- * check if this CID even exists, if not, create it
165
- *
166
- * If it doesnt exist, it most likely is an agent-to-agent chat that we now need to save.
167
- */
168
-
169
- global $wplc_tblname_chats;
170
- $results = $wpdb->get_results("SELECT * FROM $wplc_tblname_chats WHERE `rel` = '".$cid."' OR `id` = '".$cid."' LIMIT 1");
171
- if (!$results) {
172
- /* it doesnt exist, lets put it in the table */
173
-
174
- $wpdb->insert(
175
- $wplc_tblname_chats,
176
- array(
177
- 'status' => 3,
178
- 'timestamp' => current_time('mysql'),
179
- 'name' => 'agent-to-agent chat',
180
- 'email' => 'none',
181
- 'session' => '1',
182
- 'ip' => '0',
183
- 'url' => '',
184
- 'last_active_timestamp' => current_time('mysql'),
185
- 'other' => '',
186
- 'rel' => $cid,
187
- ),
188
- array(
189
- '%s',
190
- '%s',
191
- '%s',
192
- '%s',
193
- '%s',
194
- '%s',
195
- '%s',
196
- '%s',
197
- '%s',
198
- '%s'
199
- )
200
- );
201
-
202
-
203
- $cid = $wpdb->insert_id;
204
- }
205
-
206
-
207
- if ($from == "2" && $rest_check == false) {
208
- $wplc_current_user = get_current_user_id();
209
-
210
- if( get_user_meta( $wplc_current_user, 'wplc_ma_agent', true ) ){
211
- /*
212
- -- modified in in 6.0.04 --
213
-
214
- if(current_user_can('wplc_ma_agent') || current_user_can('manage_options')){
215
- */ } else { return "security issue"; }
216
- }
217
-
218
- if ($from == "1") {
219
- $fromname = wplc_return_chat_name(sanitize_text_field($cid));
220
- if (empty($fromname)) { $fromname = 'Guest'; }
221
- //$fromemail = wplc_return_chat_email($cid);
222
- $orig = '2';
223
- }
224
- else {
225
- $fromname = apply_filters("wplc_filter_admin_name","Admin");
226
-
227
- //$fromemail = "SET email";
228
- $orig = '1';
229
- }
230
-
231
- $msg_id = '';
232
-
233
- if ($other !== false) {
234
- if (!empty($other->msgID)) {
235
- $msg_id = $other->msgID;
236
- } else {
237
- $msg_id = '';
238
- }
239
- }
240
-
241
-
242
- $orig_msg = $msg;
243
-
244
- $msg = apply_filters("wplc_filter_message_control",$msg);
245
-
246
- if (!$aid) {
247
- $wplc_current_user = get_current_user_id();
248
-
249
- if( get_user_meta( $wplc_current_user, 'wplc_ma_agent', true ) ){
250
- $other_data = array('aid'=>$wplc_current_user);
251
- } else {
252
- $other_data = '';
253
- }
254
- } else {
255
- if( get_user_meta( $aid, 'wplc_ma_agent', true ) ){
256
- $other_data = array('aid'=>$aid);
257
- } else {
258
- $other_data = '';
259
- }
260
- }
261
-
262
-
263
-
264
-
265
-
266
- $wpdb->insert(
267
- $wplc_tblname_msgs,
268
- array(
269
- 'chat_sess_id' => $cid,
270
- 'timestamp' => current_time('mysql'),
271
- 'msgfrom' => $fromname,
272
- 'msg' => $msg,
273
- 'status' => 0,
274
- 'originates' => $orig,
275
- 'other' => maybe_serialize( $other_data ),
276
- 'rel' => $msg_id
277
- ),
278
- array(
279
- '%s',
280
- '%s',
281
- '%s',
282
- '%s',
283
- '%d',
284
- '%s',
285
- '%s',
286
- '%s'
287
- )
288
- );
289
-
290
- $data = array(
291
- 'cid' => $cid,
292
- 'from' => $from,
293
- 'msg' => $orig_msg,
294
- 'orig' => $orig
295
- );
296
- do_action("wplc_hook_message_sent",$data);
297
-
298
- wplc_update_active_timestamp(sanitize_text_field($cid));
299
-
300
-
301
- return true;
302
-
303
- }
304
-
305
- function wplc_update_active_timestamp($cid) {
306
- global $wpdb;
307
- global $wplc_tblname_chats;
308
- // $results = $wpdb->get_results(
309
- // "
310
- // UPDATE $wplc_tblname_chats
311
- // SET `last_active_timestamp` = '".date("Y-m-d H:i:s")."'
312
- // WHERE `id` = '$cid'
313
- // LIMIT 1
314
- // "
315
- // );
316
- $wpdb->update(
317
- $wplc_tblname_chats,
318
- array(
319
- 'last_active_timestamp' => current_time('mysql')
320
- ),
321
- array('id' => $cid),
322
- array('%s'),
323
- array('%d')
324
- );
325
-
326
- //wplc_change_chat_status(sanitize_text_field($cid),3);
327
- return true;
328
-
329
- }
330
-
331
- function wplc_return_chat_name($cid) {
332
- global $wpdb;
333
- global $wplc_tblname_chats;
334
-
335
- $results = $wpdb->get_results(
336
- "
337
- SELECT *
338
- FROM $wplc_tblname_chats
339
- WHERE `id` = '$cid'
340
- "
341
- );
342
- foreach ($results as $result) {
343
- return $result->name;
344
- }
345
-
346
- }
347
-
348
-
349
- /**
350
- * Find out if we are dealing with a NODE CID and convert it to the WP CID.
351
- *
352
- * If it cannot find a relative, then simply return the original CID parsed through.
353
- *
354
- * @param string|int $rel The CId to compare
355
- * @return string|int The suggested CID
356
- */
357
- function wplc_return_chat_id_by_rel($rel) {
358
- global $wpdb;
359
- global $wplc_tblname_chats;
360
-
361
- $results = $wpdb->get_results("SELECT * FROM $wplc_tblname_chats WHERE `rel` = '$rel' LIMIT 1");
362
- if ($results) {
363
- foreach ($results as $result) {
364
- if (isset($result->id)) {
365
- return $result->id;
366
- } else {
367
- return $rel;
368
- }
369
- }
370
- } else {
371
- return $rel;
372
- }
373
-
374
- }
375
- function wplc_return_chat_email($cid) {
376
- global $wpdb;
377
- global $wplc_tblname_chats;
378
- $results = $wpdb->get_results(
379
- "
380
- SELECT *
381
- FROM $wplc_tblname_chats
382
- WHERE `id` = '$cid'
383
- "
384
- );
385
- foreach ($results as $result) {
386
- return $result->email;
387
- }
388
-
389
- }
390
- function wplc_list_chats() {
391
-
392
- global $wpdb;
393
- global $wplc_tblname_chats;
394
- $status = 3;
395
- $wplc_c = 0;
396
- $results = $wpdb->get_results(
397
- "
398
- SELECT *
399
- FROM $wplc_tblname_chats
400
- WHERE `status` = 3 OR `status` = 2 OR `status` = 10
401
- ORDER BY `timestamp` ASC
402
-
403
- "
404
- );
405
-
406
- $table = "<div class='wplc_chats_container'>";
407
-
408
- if (!$results) {
409
- $table.= "<p>".__("No chat sessions available at the moment","wplivechat")."</p>";
410
- } else {
411
- $table .= "<h2>".__('Active Chats', 'wplivechat')."</h2>";
412
-
413
- foreach ($results as $result) {
414
- unset($trstyle);
415
- unset($actions);
416
- $wplc_c++;
417
-
418
-
419
- global $wplc_basic_plugin_url;
420
- $user_data = maybe_unserialize($result->ip);
421
- $user_ip = $user_data['ip'];
422
- $browser = wplc_return_browser_string($user_data['user_agent']);
423
- $browser_image = wplc_return_browser_image($browser,"16");
424
-
425
- if($user_ip == ""){
426
- $user_ip = __('IP Address not recorded', 'wplivechat');
427
- } else {
428
- $user_ip = "<a href='http://www.ip-adress.com/ip_tracer/" . $user_ip . "' title='".__('Whois for' ,'wplivechat')." ".$user_ip."' target='_BLANK'>".$user_ip."</a>";
429
- }
430
-
431
- if ($result->status == 2) {
432
- $url = admin_url( 'admin.php?page=wplivechat-menu&action=ac&cid='.$result->id);
433
- $actions = "<a href=\"".$url."\" class=\"wplc_open_chat button button-primary\" window-title=\"WP_Live_Chat_".$result->id."\">".__("Accept Chat","wplivechat")."</a>";
434
- $trstyle = "style='background-color:#FFFBE4; height:30px;'";
435
- $icon = "<i class=\"fa fa-phone wplc_pending\" title='".__('Incoming Chat', 'wplivechat')."' alt='".__('Incoming Chat', 'wplivechat')."'></i><div class='wplc_icon_message'>".__('You have an incoming chat.', 'wplivechat')."</div>";
436
- }
437
- if ($result->status == 3) {
438
- $url = admin_url( 'admin.php?page=wplivechat-menu&action=ac&cid='.$result->id);
439
- $actions = "<a href=\"".$url."\" class=\"wplc_open_chat button button-primary\" window-title=\"WP_Live_Chat_".$result->id."\">".__("Open Chat Window","wplivechat")."</a>";
440
- $trstyle = "style='background-color:#F7FCFE; height:30px;'";
441
- $icon = "<i class=\"fa fa-check-circle wplc_active\" title='".__('Chat Active', 'wplivechat')."' alt='".__('Chat Active', 'wplivechat')."'></i><div class='wplc_icon_message'>".__('This chat is active', 'wplivechat')."</div>";
442
- }
443
-
444
-
445
- /* if ($wplc_c>1) { $actions = wplc_get_msg(); } */
446
-
447
- $trstyle = "";
448
-
449
- $table .= "
450
- <div class='wplc_single_chat' id='record_".$result->id."' $trstyle>
451
- <div class='wplc_chat_section section_1'>
452
- <div class='wplc_user_image' id='chat_image_".$result->id."'>
453
- <img src=\"//www.gravatar.com/avatar/".md5($result->email)."?s=60&d=mm\" />
454
- </div>
455
- <div class='wplc_user_meta_data'>
456
- <div class='wplc_user_name' id='chat_name_".$result->id."'>
457
- <h3>".$result->name.$icon."</h3>
458
- <a href='mailto:".$result->email."' target='_BLANK'>".$result->email."</a>
459
- </div>
460
- </div>
461
- </div>
462
- <div class='wplc_chat_section section_2'>
463
- <div class='admin_visitor_advanced_info'>
464
- <strong>" . __("Site Info", "wplivechat") . "</strong>
465
- <hr />
466
- <span class='part1'>" . __("Chat initiated on:", "wplivechat") . "</span> <span class='part2'> <a href='".esc_url($result->url)."' target='_BLANK'>" . esc_url($result->url) . "</a></span>
467
- </div>
468
-
469
- <div class='admin_visitor_advanced_info'>
470
- <strong>" . __("Advanced Info", "wplivechat") . "</strong>
471
- <hr />
472
- <span class='part1'>" . __("Browser:", "wplivechat") . "</span><span class='part2'> $browser <img src='" . $wplc_basic_plugin_url . "/images/$browser_image' alt='$browser' title='$browser' /><br />
473
- <span class='part1'>" . __("IP Address:", "wplivechat") . "</span><span class='part2'> ".$user_ip."
474
- </div>
475
- </div>
476
- <div class='wplc_chat_section section_3'>
477
- <div class='wplc_agent_actions'>
478
- $actions
479
- </div>
480
- </div>
481
- </div>
482
- ";
483
- }
484
- }
485
- $table .= "</div>";
486
-
487
- return $table;
488
- }
489
-
490
- function wplc_time_ago($time_ago)
491
- {
492
- $time_ago = strtotime($time_ago);
493
- $cur_time = current_time('timestamp');
494
- $time_elapsed = $cur_time - $time_ago;
495
- $seconds = $time_elapsed ;
496
- $minutes = round($time_elapsed / 60 );
497
- $hours = round($time_elapsed / 3600);
498
- $days = round($time_elapsed / 86400 );
499
- $weeks = round($time_elapsed / 604800);
500
- $months = round($time_elapsed / 2600640 );
501
- $years = round($time_elapsed / 31207680 );
502
- // Seconds
503
- if($seconds <= 60){
504
- return "0 min";
505
- }
506
- //Minutes
507
- else if($minutes <=60){
508
- if($minutes==1){
509
- return "1 min";
510
- }
511
- else{
512
- return "$minutes min";
513
- }
514
- }
515
- //Hours
516
- else if($hours <=24){
517
- if($hours==1){
518
- return "1 hr";
519
- }else{
520
- return "$hours hrs";
521
- }
522
- }
523
- //Days
524
- else if($days <= 7){
525
- if($days==1){
526
- return "1 day";
527
- }else{
528
- return "$days days";
529
- }
530
- }
531
- //Weeks
532
- else if($weeks <= 4.3){
533
- if($weeks==1){
534
- return "1 week";
535
- }else{
536
- return "$weeks weeks";
537
- }
538
- }
539
- //Months
540
- else if($months <=12){
541
- if($months==1){
542
- return "1 month";
543
- }else{
544
- return "$months months";
545
- }
546
- }
547
- //Years
548
- else{
549
- if($years==1){
550
- return "1 year";
551
- }else{
552
- return "$years years";
553
- }
554
- }
555
- }
556
-
557
- add_filter("wplc_filter_list_chats_actions","wplc_filter_control_list_chats_actions",15,3);
558
- /**
559
- * Only allow agents access
560
- * @return void
561
- * @since 6.0.00
562
- * @version 6.0.04 Updated to ensure those with the correct access can access this function
563
- * @author Nick Duncan <nick@codecabin.co.za>
564
- */
565
- function wplc_filter_control_list_chats_actions($actions,$result,$post_data) {
566
- $aid = apply_filters("wplc_filter_aid_in_action","");
567
-
568
- $wplc_current_user = get_current_user_id();
569
-
570
- if( get_user_meta( $wplc_current_user, 'wplc_ma_agent', true ) ){
571
-
572
- if (intval($result->status) == 2) {
573
- $url_params = "&action=ac&cid=".$result->id.$aid;
574
- $url = admin_url( 'admin.php?page=wplivechat-menu'.$url_params);
575
- $actions = "<a href=\"".$url."\" class=\"wplc_open_chat button button-primary\" window-title=\"WP_Live_Chat_".$result->id."\">". apply_filters("wplc_accept_chat_button_filter", __("Accept Chat","wplivechat"), $result->id)."</a>";
576
- }
577
- else if (intval($result->status) == 3 || intval($result->status) == 10) {
578
- $url_params = "&action=ac&cid=".$result->id.$aid;
579
- $url = admin_url( 'admin.php?page=wplivechat-menu'.$url_params);
580
- if ( ! function_exists("wplc_pro_version_control") || !isset( $result->agent_id ) || $wplc_current_user == $result->agent_id ) { //Added backwards compat checks
581
- $actions = "<a href=\"".$url."\" class=\"wplc_open_chat button button-primary\" window-title=\"WP_Live_Chat_".$result->id."\">".__("Open Chat","wplivechat")."</a>";
582
- } else {
583
- $actions = "<span class=\"wplc-chat-in-progress\">" . __( "In progress with another agent", "wplivechat" ) . "</span>";
584
- }
585
- }
586
- else if (intval($result->status) == 2) {
587
- $url_params = "&action=ac&cid=".$result->id.$aid;
588
- $url = admin_url( 'admin.php?page=wplivechat-menu'.$url_params);
589
- $actions = "<a href=\"".$url."\" class=\"wplc_open_chat button button-primary\" window-title=\"WP_Live_Chat_".$result->id."\">".__("Accept Chat","wplivechat")."</a>";
590
- }
591
- else if (intval($result->status) == 12 ) {
592
- $url_params = "&action=ac&cid=".$result->id.$aid;
593
- $url = admin_url( 'admin.php?page=wplivechat-menu'.$url_params);
594
- $actions = "<a href=\"".$url."\" class=\"wplc_open_chat button button-primary\" window-title=\"WP_Live_Chat_".$result->id."\">".__("Open Chat","wplivechat")."</a>";
595
- }
596
- } else {
597
- $actions = "<a href='#'>".__( 'Only chat agents can accept chats', 'wplivechat' )."</a>";
598
- }
599
- return $actions;
600
- }
601
-
602
- function wplc_list_chats_new($post_data) {
603
-
604
- global $wpdb;
605
- global $wplc_tblname_chats;
606
-
607
- $data_array = array();
608
- $id_list = array();
609
-
610
- $status = 3;
611
- $wplc_c = 0;
612
-
613
- // Retrieve count of users in same department or in no department
614
- $user_id = get_current_user_id();
615
- $user_department = get_user_meta($user_id ,"wplc_user_department", true);
616
-
617
- $wplc_chat_count_sql = "SELECT COUNT(*) FROM $wplc_tblname_chats WHERE status IN (3,2,10,5,8,9,12)";
618
- if($user_department > 0)
619
- $wplc_chat_count_sql .= " AND (department_id=0 OR department_id=$user_department)";
620
- $data_array['visitor_count'] = $wpdb->get_var($wplc_chat_count_sql);
621
-
622
- // Retrieve data
623
- $wplc_chat_sql = "SELECT * FROM $wplc_tblname_chats WHERE (`status` = 3 OR `status` = 2 OR `status` = 10 OR `status` = 5 or `status` = 8 or `status` = 9 or `status` = 12)";
624
- $wplc_chat_sql .= apply_filters("wplc_alter_chat_list_sql_before_sorting", "");
625
-
626
- $wplc_chat_sql .= " ORDER BY `timestamp` ASC";
627
-
628
- $results = $wpdb->get_results($wplc_chat_sql);
629
-
630
-
631
- if($results) {
632
-
633
-
634
- foreach ($results as $result) {
635
- unset($trstyle);
636
- unset($actions);
637
-
638
-
639
-
640
-
641
- global $wplc_basic_plugin_url;
642
- $user_data = maybe_unserialize($result->ip);
643
- $user_ip = $user_data['ip'];
644
- $browser = wplc_return_browser_string($user_data['user_agent']);
645
- $browser_image = wplc_return_browser_image($browser,"16");
646
-
647
- if($user_ip == ""){
648
- $user_ip = __('IP Address not recorded', 'wplivechat');
649
- } else {
650
- $user_ip = "<a href='http://www.ip-adress.com/ip_tracer/" . $user_ip . "' title='".__('Whois for' ,'wplivechat')." ".$user_ip."' target='_BLANK'>".$user_ip."</a>";
651
- }
652
-
653
-
654
- $actions = apply_filters("wplc_filter_list_chats_actions","",$result,$post_data);
655
-
656
-
657
- $other_data = maybe_unserialize($result->other);
658
-
659
-
660
-
661
- $trstyle = "";
662
-
663
- $id_list[intval($result->id)] = true;
664
-
665
- $data_array[$result->id]['name'] = $result->name;
666
- $data_array[$result->id]['email'] = $result->email;
667
-
668
- $data_array[$result->id]['status'] = $result->status;
669
- $data_array[$result->id]['action'] = $actions;
670
- $data_array[$result->id]['timestamp'] = wplc_time_ago($result->timestamp);
671
-
672
- if ((current_time('timestamp') - strtotime($result->timestamp)) < 3600) {
673
- $data_array[$result->id]['type'] = __("New","wplivechat");
674
- } else {
675
- $data_array[$result->id]['type'] = __("Returning","wplivechat");
676
- }
677
-
678
- $data_array[$result->id]['image'] = "<img src=\"//www.gravatar.com/avatar/".md5($result->email)."?s=30&d=mm\" class='wplc-user-message-avatar' />";
679
- $data_array[$result->id]['data']['browsing'] = $result->url;
680
- $path = parse_url($result->url, PHP_URL_PATH);
681
-
682
- if (strlen($path) > 20) {
683
- $data_array[$result->id]['data']['browsing_nice_url'] = substr($path,0,20).'...';
684
- } else {
685
- $data_array[$result->id]['data']['browsing_nice_url'] = $path;
686
- }
687
-
688
- $data_array[$result->id]['data']['browser'] = "<img src='" . $wplc_basic_plugin_url . "/images/$browser_image' alt='$browser' title='$browser' /> ";
689
- $data_array[$result->id]['data']['ip'] = $user_ip;
690
- $data_array[$result->id]['other'] = $other_data;
691
- }
692
-
693
- $data_array['ids'] = $id_list;
694
- }
695
-
696
- return json_encode($data_array);
697
- }
698
-
699
-
700
-
701
- function wplc_return_user_chat_messages($cid,$wplc_settings = false,$cdata = false) {
702
- global $wpdb;
703
- global $wplc_tblname_msgs;
704
-
705
- if (!$wplc_settings) {
706
- $wplc_settings = get_option("WPLC_SETTINGS");
707
- }
708
-
709
- if(isset($wplc_settings['wplc_display_name']) && $wplc_settings['wplc_display_name'] == 1){ $display_name = 1; } else { $display_name = 0; }
710
-
711
- $sql = "SELECT * FROM $wplc_tblname_msgs WHERE `chat_sess_id` = '$cid' AND `status` = '0' AND (`originates` = '1' OR `originates` = '0') ORDER BY `timestamp` ASC";
712
- $results = $wpdb->get_results($sql);
713
- if (!$cdata) {
714
- $cdata = wplc_get_chat_data($cid,__LINE__);
715
- }
716
-
717
-
718
- $msg_hist = array();
719
- foreach ($results as $result) {
720
- $system_notification = false;
721
-
722
- $id = $result->id;
723
- $from = $result->msgfrom;
724
-
725
-
726
- $msg = $result->msg;
727
-
728
- if ( isset( $result->other ) ) { $other_data = maybe_unserialize( $result->other ); } else { $other_data = array(); }
729
- if ($other_data == '') { $other_data = array(); }
730
-
731
- $timestamp = strtotime( $result->timestamp );
732
- $other_data['datetime'] = $timestamp;
733
- $other_data['datetimeUTC'] = strtotime( get_gmt_from_date( $result->timestamp ) );
734
-
735
- //
736
- if($result->originates == 1){
737
- /* removed in 7.1.00
738
- $class = "wplc-admin-message wplc-color-bg-4 wplc-color-2 wplc-color-border-4";
739
- if(function_exists("wplc_pro_get_admin_picture")){
740
- $src = wplc_pro_get_admin_picture();
741
- if($src){
742
- $image = "<img src=".$src." width='20px' id='wp-live-chat-2-img'/>";
743
- } else {
744
- $image = "";
745
- }
746
- } else {
747
- $other = maybe_unserialize($cdata->other);
748
- if (isset($other['aid'])) {
749
-
750
-
751
- $user_info = get_userdata(intval($other['aid']));
752
-
753
- $image = "<img src='//www.gravatar.com/avatar/".md5($user_info->user_email)."?s=30' class='wplc-admin-message-avatar' />";
754
- } else {
755
-
756
-
757
- $image = "";
758
- if(1 == 1) {
759
-
760
- } else {
761
-
762
- $image = "";
763
- }
764
- }
765
-
766
- }
767
-
768
- $from = apply_filters("wplc_filter_admin_name",$from, $cid);
769
- */
770
-
771
- }
772
- else if (intval($result->originates) == 0) {
773
- /*
774
- system notifications
775
- from version 7
776
- */
777
- $system_notification = true;
778
-
779
- }
780
- else {
781
-
782
- /*
783
- removed in 7.1.00
784
- $class = "wplc-user-message wplc-color-bg-1 wplc-color-2 wplc-color-border-1";
785
-
786
- if(isset($_COOKIE['wplc_email']) && $_COOKIE['wplc_email'] != ""){ $wplc_user_gravatar = md5(strtolower(trim(sanitize_text_field($_COOKIE['wplc_email'])))); } else { $wplc_user_gravatar = ""; }
787
-
788
- if($wplc_user_gravatar != ""){
789
- $image = "<img src='//www.gravatar.com/avatar/$wplc_user_gravatar?s=30' class='wplc-user-message-avatar' />";
790
- } else {
791
- $image = "";
792
- }
793
- */
794
- }
795
-
796
- if (!$system_notification) {
797
- /* this is a normal message */
798
- if(function_exists('wplc_encrypt_decrypt_msg')){
799
- $msg = wplc_encrypt_decrypt_msg($msg);
800
- }
801
-
802
- $msg_array = maybe_unserialize( $msg );
803
-
804
- if( is_array( $msg_array ) ){
805
- $msg = $msg_array['m'];
806
- }
807
-
808
- $msg = stripslashes($msg);
809
-
810
- $msg = apply_filters("wplc_filter_message_control_out",$msg);
811
-
812
- $msg = stripslashes($msg);
813
-
814
- $msg_hist[$id]['msg'] = $msg;
815
- $msg_hist[$id]['originates'] = intval($result->originates);
816
- $msg_hist[$id]['other'] = $other_data;
817
-
818
- /*
819
- removed this in 7.1.00 as the JS now handles this
820
- if($display_name){
821
- $msg_hist[$id]['msg'] = "<span class='wplc-admin-message wplc-color-bg-4 wplc-color-2 wplc-color-border-4'>$image <strong>$from </strong> $msg</span><br /><div class='wplc-clear-float-message'></div>";
822
- } else {
823
- $msg_hist[$id]['msg'] = "<span class='wplc-admin-message wplc-color-bg-4 wplc-color-2 wplc-color-border-4'>$msg</span><div class='wplc-clear-float-message'></div>";
824
- }*/
825
- } else {
826
- /* add the system notification to the list */
827
- if ( isset( $msg_hist[$id] ) ) { $msg_hist[$id] = array(); }
828
-
829
- $msg_hist[$id]['msg'] = $msg;
830
- $msg_hist[$id]['other'] = $other_data;
831
- $msg_hist[$id]['originates'] = intval($result->originates);
832
- }
833
-
834
-
835
-
836
-
837
- }
838
-
839
- return $msg_hist;
840
-
841
-
842
- }
843
-
844
-
845
-
846
-
847
-
848
- function wplc_return_no_answer_string($cid) {
849
-
850
- $wplc_settings = get_option("WPLC_SETTINGS");
851
- if (isset($wplc_settings['wplc_user_no_answer'])) {
852
- $string = stripslashes($wplc_settings['wplc_user_no_answer']);
853
- } else {
854
- $string = __("No agent was able to answer your chat request. Please try again.","wplivechat");
855
- }
856
- $string = apply_filters("wplc_filter_no_answer_string",$string,$cid);
857
- return "<span class='wplc_system_notification wplc_no_answer wplc-color-4'><center>".$string."</center></span>";
858
- }
859
- add_filter("wplc_filter_no_answer_string","wplc_filter_control_no_answer_string",10,2);
860
-
861
- /**
862
- * Add the "retry chat" button when an agent hasnt answered
863
- * @param string $string Original "No Answer" string
864
- * @param intval $cid Chat ID
865
- * @return string
866
- */
867
- function wplc_filter_control_no_answer_string($string,$cid) {
868
- $string = $string. " <br /><button class='wplc_retry_chat wplc-color-bg-1 wplc-color-2' cid='".$cid."'>".__("Request new chat","wplivechat")."</button>";
869
- return $string;
870
- }
871
-
872
-
873
- function wplc_change_chat_status($id,$status,$aid = 0) {
874
- global $wpdb;
875
- global $wplc_tblname_chats;
876
-
877
- if ($aid > 0) {
878
- /* only run when accepting a chat */
879
- $results = $wpdb->get_results("SELECT * FROM ".$wplc_tblname_chats." WHERE `id` = '".$id."' LIMIT 1");
880
- foreach ($results as $result) {
881
- $other = maybe_unserialize($result->other);
882
- if (isset($other['aid']) && $other['aid'] > 0) {
883
- /* we have recorded this already */
884
-
885
- } else {
886
- /* first time answering the chat! */
887
-
888
-
889
- /* send welcome note */
890
- /*
891
- removed in version 7. added "chat notification events" instead, i.e. Agent has joined the chat.
892
- $wplc_settings = get_option("WPLC_SETTINGS");
893
- $wplc_welcome = __('Welcome. How may I help you?', 'wplivechat');
894
- if(isset($wplc_settings['wplc_using_localization_plugin']) && $wplc_settings['wplc_using_localization_plugin'] == 1){ $wplc_using_locale = true; } else { $wplc_using_locale = false; }
895
- if (!isset($wplc_settings['wplc_user_welcome_chat']) || $wplc_settings['wplc_user_welcome_chat'] == "") { $wplc_settings['wplc_user_welcome_chat'] = $wplc_welcome; }
896
- $text2 = ($wplc_using_locale ? $wplc_welcome : stripslashes($wplc_settings['wplc_user_welcome_chat']));
897
-
898
- $chat_id = sanitize_text_field($id);
899
- $chat_msg = sanitize_text_field($text2);
900
- $wplc_rec_msg = wplc_record_chat_msg("2",$chat_id,$chat_msg);
901
-
902
- */
903
-
904
-
905
- }
906
-
907
- $other['aid'] = $aid;
908
- }
909
- }
910
-
911
-
912
-
913
-
914
- if ($aid > 0) {
915
- $wpdb->update(
916
- $wplc_tblname_chats,
917
- array(
918
- 'status' => $status,
919
- 'other' => maybe_serialize($other),
920
- 'agent_id' => $aid
921
- ),
922
- array('id' => $id),
923
- array(
924
- '%d',
925
- '%s',
926
- '%d'
927
- ),
928
- array('%d')
929
- );
930
- } else {
931
- $wpdb->update(
932
- $wplc_tblname_chats,
933
- array(
934
- 'status' => $status
935
- ),
936
- array('id' => $id),
937
- array('%d'),
938
- array('%d')
939
- );
940
- }
941
-
942
- do_action("wplc_change_chat_status_hook", $id, $status);
943
-
944
- return true;
945
-
946
- }
947
-
948
- //come back here
949
- function wplc_return_chat_messages($cid, $transcript = false, $html = true, $wplc_settings = false, $cdata = false, $display = 'string', $only_read_message = false) {
950
- global $wpdb;
951
- global $wplc_tblname_msgs;
952
-
953
-
954
- if (!$wplc_settings) {
955
- $wplc_settings = get_option("WPLC_SETTINGS");
956
- }
957
-
958
- if(isset($wplc_settings['wplc_display_name']) && $wplc_settings['wplc_display_name'] == 1){ $display_name = 1; } else { $display_name = 0; }
959
-
960
- $results = wplc_get_chat_messages($cid, $only_read_message, $wplc_settings);
961
- if (!$results) { return; }
962
-
963
- if (!$cdata) {
964
- $cdata = wplc_get_chat_data($cid,__LINE__);
965
- }
966
- $msg_array = array();
967
- $msg_hist = "";
968
- $previous_time = "";
969
- $previous_timestamp = 0;
970
- foreach ($results as $result) {
971
- $display_notification = false;
972
- $system_notification = false;
973
-
974
- $from = $result->msgfrom;
975
-
976
-
977
- /* added a control here to see if we should use the NODE ID instead of the SQL ID */
978
- if (empty($result->rel)) {
979
- $id = $result->id;
980
- } else {
981
- $id = $result->rel;
982
- }
983
- $msg = $result->msg;
984
-
985
-
986
- if ( isset( $result->other ) ) { $other_data = maybe_unserialize( $result->other ); } else { $other_data = array(); }
987
- if ($other_data == '') { $other_data = array(); }
988
-
989
- $timestamp = strtotime( $result->timestamp );
990
- $other_data['datetime'] = $timestamp;
991
- $other_data['datetimeUTC'] = strtotime( get_gmt_from_date( $result->timestamp ) );
992
- $nice_time = date("d M Y H:i:s",$timestamp);
993
-
994
-
995
- $agent_from = false;
996
-
997
- $image = "";
998
- if($result->originates == 1){
999
-
1000
- $agent_from = 'Agent';
1001
-
1002
- } else if ($result->originates == 2){
1003
-
1004
-
1005
- } else if ($result->originates == 0 || $result->originates == 3) {
1006
-
1007
-
1008
-
1009
- $system_notification = true;
1010
- $cuid = get_current_user_id();
1011
- $is_agent = get_user_meta(esc_html( $cuid ), 'wplc_ma_agent', true);
1012
- if ($is_agent && $result->originates == 3 ) {
1013
- /* this user is an agent and the notification is meant for an agent, therefore display it */
1014
- $display_notification = true;
1015
-
1016
- /* check if this came from the front end.. if it did, then dont display it (if this code is removed, all notifications will be displayed to agents who are logged in and chatting with themselves during testing, which may cause confusion) */
1017
- if (isset($_POST) && isset($_POST['action']) && sanitize_text_field( $_POST['action'] ) == "wplc_call_to_server_visitor") {
1018
- $display_notification = false;
1019
- }
1020
- }
1021
- else if (!$is_agent && $result->originates == 0) {
1022
- /* this user is a not an agent and the notification is meant for a users, therefore display it */
1023
- $display_notification = true;
1024
- } else {
1025
- /* this notification is not intended for this user */
1026
- $display_notification = false;
1027
- }
1028
- }
1029
-
1030
- if (!$system_notification) {
1031
-
1032
- if(function_exists('wplc_encrypt_decrypt_msg')){
1033
- $msg = wplc_encrypt_decrypt_msg($msg);
1034
- }
1035
-
1036
- $msg = apply_filters("wplc_filter_message_control_out",$msg);
1037
-
1038
- if( is_serialized( $msg ) ){
1039
- $msg_array = maybe_unserialize( $msg );
1040
-
1041
- if( is_array( $msg_array ) ){
1042
- $msg = $msg_array['m'];
1043
- } else {
1044
- $msg = $msg;
1045
- }
1046
-
1047
- $msg = stripslashes($msg);
1048
- }
1049
-
1050
- if ( isset( $result->afrom ) && intval( $result->afrom ) > 0 ) {
1051
- $msg_array[$id]['afrom'] = intval( $result->afrom ); $other_data['aid'] = intval( $result->afrom );
1052
-
1053
- }
1054
- if ( isset( $result->ato ) && intval( $result->ato ) > 0 ) { $msg_array[$id]['ato'] = intval( $result->ato ); }
1055
-
1056
-
1057
- /* use the new "other" array to get the AID and agent name */
1058
- if ( $result->originates == '1' && isset( $result->other ) ){
1059
- $other_data = maybe_unserialize( $result->other );
1060
- if ( isset( $other_data['aid'] ) ) {
1061
- $user_info = get_userdata( intval( $other_data['aid'] ) );
1062
- $agent_from = $user_info->display_name;
1063
- }
1064
-
1065
- }
1066
-
1067
- /* get the name of the USER if there is one */
1068
- if ( $result->originates == '2' && isset( $result->msgfrom ) ) {
1069
- $user_from = $result->msgfrom;
1070
- } else {
1071
- $user_from = 'User';
1072
- }
1073
-
1074
-
1075
- $msg_array[$id]['msg'] = $msg;
1076
-
1077
- if ($agent_from !== false) {
1078
- $msg_hist .= $agent_from . ": " . $msg . "<br />";
1079
- } else {
1080
- $msg_hist .= $user_from . ": " . $msg . "<br />";
1081
- }
1082
-
1083
-
1084
- $msg_array[$id]['originates'] = $result->originates;
1085
- $msg_array[$id]['other'] = $other_data;
1086
-
1087
-
1088
- } else {
1089
- /* this is a system notification */
1090
- if ($display_notification) {
1091
- $str = "<span class='chat_time wplc-color-4'>".$nice_time."</span> <span class='wplc_system_notification wplc-color-4'>".$msg."</span>";
1092
-
1093
- if ( !isset( $msg_array[$id] ) ) { $msg_array[$id] = array(); }
1094
- $msg_array[$id]['msg'] = $str;
1095
- $msg_array[$id]['other'] = $other_data;
1096
- $msg_array[$id]['originates'] = $result->originates;
1097
-
1098
- $msg_hist .= $str;
1099
- }
1100
- }
1101
-
1102
- }
1103
-
1104
- if ($display == 'string') { return $msg_hist; } else { return $msg_array; }
1105
-
1106
-
1107
- }
1108
-
1109
- /**
1110
- * Mark a message as 'read'
1111
- *
1112
- * Sets the 'status' of the message to 1 in the message table
1113
- *
1114
- * @param [int] $mid Message ID - Unique
1115
- * @return bool
1116
- */
1117
- function wplc_mark_message_as_read( $mid ) {
1118
- global $wpdb;
1119
- global $wplc_tblname_msgs;
1120
-
1121
- $wpdb->update(
1122
- $wplc_tblname_msgs,
1123
- array(
1124
- 'status' => 1
1125
- ),
1126
- array('id' => $mid),
1127
- array('%d'),
1128
- array('%d')
1129
- );
1130
- return true;
1131
- }
1132
-
1133
-
1134
- /**
1135
- * Mark all messages sent by an AGENT as read (a user has read them)
1136
- *
1137
- * @param int $cid Chat ID
1138
- * @return string "ok"
1139
- */
1140
- function wplc_mark_as_read_user_chat_messages($cid) {
1141
- global $wpdb;
1142
- global $wplc_tblname_msgs;
1143
-
1144
- $results = $wpdb->get_results("SELECT *
1145
- FROM $wplc_tblname_msgs
1146
- WHERE `chat_sess_id` = '$cid' AND `status` = '0' AND (`originates` = 1 OR `originates` = 0)
1147
- ORDER BY `timestamp` DESC");
1148
-
1149
-
1150
- foreach ($results as $result) {
1151
- $id = $result->id;
1152
-
1153
- $wpdb->update(
1154
- $wplc_tblname_msgs,
1155
- array(
1156
- 'status' => 1
1157
- ),
1158
- array('id' => $id),
1159
- array('%d'),
1160
- array('%d')
1161
- );
1162
-
1163
-
1164
- }
1165
- return "ok";
1166
-
1167
-
1168
- }
1169
- /**
1170
- * Mark all messages sent by a USER as read (an agent has read them)
1171
- *
1172
- * @param int $cid Chat ID
1173
- * @return string "ok"
1174
- */
1175
- function wplc_mark_as_read_agent_chat_messages($cid, $aid) {
1176
- global $wpdb;
1177
- global $wplc_tblname_msgs;
1178
-
1179
- $results = $wpdb->get_results("SELECT *
1180
- FROM $wplc_tblname_msgs
1181
- WHERE `chat_sess_id` = '$cid' AND `ato` = '".intval( $aid )."'
1182
- ORDER BY `timestamp` DESC");
1183
-
1184
-
1185
- foreach ($results as $result) {
1186
- $id = $result->id;
1187
-
1188
- $wpdb->update(
1189
- $wplc_tblname_msgs,
1190
- array(
1191
- 'status' => 1
1192
- ),
1193
- array('id' => $id),
1194
- array('%d'),
1195
- array('%d')
1196
- );
1197
-
1198
-
1199
- }
1200
- return "ok";
1201
-
1202
-
1203
- }
1204
-
1205
-
1206
- //here
1207
- function wplc_return_admin_chat_messages($cid) {
1208
- $wplc_current_user = get_current_user_id();
1209
- if( get_user_meta( $wplc_current_user, 'wplc_ma_agent', true ) ){
1210
- /*
1211
- -- modified in in 6.0.04 --
1212
-
1213
- if(current_user_can('wplc_ma_agent') || current_user_can('manage_options')){
1214
- */
1215
- $wplc_settings = get_option("WPLC_SETTINGS");
1216
-
1217
- if(isset($wplc_settings['wplc_display_name']) && $wplc_settings['wplc_display_name'] == 1){ $display_name = 1; } else { $display_name = 0; }
1218
-
1219
- global $wpdb;
1220
- global $wplc_tblname_msgs;
1221
-
1222
- /**
1223
- * `Originates` - codes:
1224
- * 0 - System notification to be delivered to users
1225
- * 1 - Message from an agent
1226
- * 2 - Message from a user
1227
- * 3 - System notification to be delivered to agents
1228
- *
1229
- */
1230
- $results = $wpdb->get_results("SELECT * FROM $wplc_tblname_msgs WHERE `chat_sess_id` = '$cid' AND `status` = '0' AND (`originates` = '2' OR `originates` = '3') ORDER BY `timestamp` ASC");
1231
-
1232
-
1233
- $msg_hist = array();
1234
- foreach ($results as $result) {
1235
- $system_notification = false;
1236
-
1237
- $id = $result->id;
1238
- wplc_mark_as_read_admin_chat_messages($id);
1239
- $from = $result->msgfrom;
1240
-
1241
-
1242
- $msg = $result->msg;
1243
-
1244
- if ( isset( $result->other ) ) { $other_data = maybe_unserialize( $result->other ); } else { $other_data = array(); }
1245
- if ($other_data == '') { $other_data = array(); }
1246
-
1247
- $timestamp = strtotime( $result->timestamp );
1248
- $other_data['datetime'] = $timestamp;
1249
- $other_data['datetimeUTC'] = strtotime( get_gmt_from_date( $result->timestamp ) );
1250
-
1251
- if (intval($result->originates) == 3) {
1252
- /*
1253
- system notifications
1254
- from version 7
1255
- */
1256
- $system_notification = true;
1257
-
1258
- }
1259
- else {
1260
-
1261
-
1262
- }
1263
-
1264
- if (!$system_notification) {
1265
- /* this is a normal message */
1266
- if(function_exists('wplc_encrypt_decrypt_msg')){
1267
- $msg = wplc_encrypt_decrypt_msg($msg);
1268
- }
1269
-
1270
- $msg_array = maybe_unserialize( $msg );
1271
-
1272
- if( is_array( $msg_array ) ){
1273
- $msg = $msg_array['m'];
1274
- }
1275
-
1276
- $msg = stripslashes($msg);
1277
-
1278
- $msg = apply_filters("wplc_filter_message_control_out",$msg);
1279
-
1280
- $msg = stripslashes($msg);
1281
-
1282
- $msg_hist[$id]['msg'] = $msg;
1283
- $msg_hist[$id]['originates'] = intval($result->originates);
1284
- $msg_hist[$id]['other'] = $other_data;
1285
-
1286
- } else {
1287
- /* add the system notification to the list */
1288
- if ( isset( $msg_hist[$id] ) ) { $msg_hist[$id] = array(); }
1289
-
1290
- $msg_hist[$id]['msg'] = $msg;
1291
- $msg_hist[$id]['other'] = $other_data;
1292
- $msg_hist[$id]['originates'] = intval($result->originates);
1293
- }
1294
-
1295
-
1296
-
1297
-
1298
- }
1299
-
1300
- return $msg_hist;
1301
- }
1302
-
1303
-
1304
-
1305
- else {
1306
- return "security issue";
1307
- }
1308
-
1309
-
1310
- }
1311
-
1312
- /**
1313
- * Mark all messages sent by a USER as read (an agent has read them)
1314
- *
1315
- * @param int $cid Chat ID
1316
- * @return string "ok"
1317
- */
1318
- function wplc_mark_as_read_admin_chat_messages( $mid ) {
1319
- $wplc_current_user = get_current_user_id();
1320
-
1321
- if( get_user_meta( $wplc_current_user, 'wplc_ma_agent', true ) ){
1322
- global $wpdb;
1323
- global $wplc_tblname_msgs;
1324
-
1325
- $wpdb->update(
1326
- $wplc_tblname_msgs,
1327
- array(
1328
- 'status' => 1
1329
- ),
1330
- array('id' => $mid),
1331
- array('%d'),
1332
- array('%d')
1333
- );
1334
-
1335
- } else { return "security issue"; }
1336
-
1337
- return "ok";
1338
- }
1339
-
1340
-
1341
-
1342
-
1343
-
1344
- function wplc_return_chat_session_variable($cid) {
1345
- global $wpdb;
1346
- global $wplc_tblname_chats;
1347
- $results = $wpdb->get_results(
1348
- "
1349
- SELECT *
1350
- FROM $wplc_tblname_chats
1351
- WHERE `id` = '$cid'
1352
- "
1353
- );
1354
- foreach ($results as $result) {
1355
- return $result->session;
1356
- }
1357
- }
1358
-
1359
-
1360
-
1361
- function wplc_return_chat_status($cid) {
1362
- global $wpdb;
1363
- global $wplc_tblname_chats;
1364
- $results = $wpdb->get_results(
1365
- "
1366
- SELECT *
1367
- FROM $wplc_tblname_chats
1368
- WHERE `id` = '$cid'
1369
- "
1370
- );
1371
- foreach ($results as $result) {
1372
- return $result->status;
1373
- }
1374
- }
1375
-
1376
-
1377
- function wplc_return_status($status) {
1378
- if ($status == 1) {
1379
- return __("complete","wplivechat");
1380
- }
1381
- if ($status == 2) {
1382
- return __("pending", "wplivechat");
1383
- }
1384
- if ($status == 3) {
1385
- return __("active", "wplivechat");
1386
- }
1387
- if ($status == 4) {
1388
- return __("deleted", "wplivechat");
1389
- }
1390
- if ($status == 5) {
1391
- return __("browsing", "wplivechat");
1392
- }
1393
- if ($status == 6) {
1394
- return __("requesting chat", "wplivechat");
1395
- }
1396
- if($status == 8){
1397
- return __("Chat Ended - User still browsing", "wplivechat");
1398
- }
1399
- if($status == 9){
1400
- return __("User is browsing but doesn't want to chat", "wplivechat");
1401
- }
1402
-
1403
- }
1404
-
1405
- add_filter("wplc_filter_mail_body","wplc_filter_control_mail_body",10,2);
1406
- function wplc_filter_control_mail_body($header,$msg) {
1407
- $primary_bg_color = apply_filters("wplc_mailer_bg_color", "#ec822c"); //Default orange
1408
- $body = '
1409
- <!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">
1410
- <html>
1411
-
1412
- <body>
1413
-
1414
-
1415
-
1416
- <table id="" border="0" cellpadding="0" cellspacing="0" width="100%" style="background-color: ' . $primary_bg_color . ';">
1417
- <tbody>
1418
- <tr>
1419
- <td width="100%" style="padding: 30px 20px 100px 20px;">
1420
- <table align="center" cellpadding="0" cellspacing="0" class="" width="100%" style="border-collapse: separate; max-width:600px;">
1421
- <tbody>
1422
- <tr>
1423
- <td style="text-align: center; padding-bottom: 20px;">
1424
-
1425
- <p>'.$header.'</p>
1426
- </td>
1427
- </tr>
1428
- </tbody>
1429
- </table>
1430
-
1431
- <table id="" align="center" cellpadding="0" cellspacing="0" class="" width="100%" style="border-collapse: separate; max-width: 600px; font-family: Georgia, serif; font-size: 12px; color: rgb(51, 62, 72); border: 0px solid rgb(255, 255, 255); border-radius: 10px; background-color: rgb(255, 255, 255);">
1432
- <tbody>
1433
- <tr>
1434
- <td class="sortable-list ui-sortable" style="padding:20px; text-align:center;">
1435
- '.nl2br($msg).'
1436
- </td>
1437
- </tr>
1438
- </tbody>
1439
- </table>
1440
-
1441
- <table align="center" cellpadding="0" cellspacing="0" class="" width="100%" style="border-collapse: separate; max-width:100%;">
1442
- <tbody>
1443
- <tr>
1444
- <td style="padding:20px;">
1445
- <table border="0" cellpadding="0" cellspacing="0" class="" width="100%">
1446
- <tbody>
1447
- <tr>
1448
- <td id="" align="center">
1449
- <p>'.site_url().'</p>
1450
- </td>
1451
- </tr>
1452
- </tbody>
1453
- </table>
1454
- </td>
1455
- </tr>
1456
- </tbody>
1457
- </table>
1458
- </td>
1459
- </tr>
1460
- </tbody>
1461
- </table>
1462
-
1463
-
1464
-
1465
- </div>
1466
- </body>
1467
- </html>
1468
- ';
1469
- return $body;
1470
- }
1471
-
1472
-
1473
- add_filter("wplc_mailer_bg_color","wplc_fitler_mailer_bg_color",10,1);
1474
- function wplc_fitler_mailer_bg_color($default_color) {
1475
- $wplc_settings = get_option('WPLC_SETTINGS');
1476
-
1477
- if (isset($wplc_settings['wplc_theme'])) {
1478
- $wplc_theme = $wplc_settings['wplc_theme'];
1479
- }
1480
-
1481
- if (isset($wplc_theme)) {
1482
- if($wplc_theme == 'theme-1') {
1483
- $default_color = "#DB0000";
1484
- } else if ($wplc_theme == 'theme-2'){
1485
- $default_color = "#000000";
1486
- } else if ($wplc_theme == 'theme-3'){
1487
- $default_color = "#B97B9D";
1488
- } else if ($wplc_theme == 'theme-4'){
1489
- $default_color = "#1A14DB";
1490
- } else if ($wplc_theme == 'theme-5'){
1491
- $default_color = "#3DCC13";
1492
- } else if ($wplc_theme == 'theme-6'){
1493
- //Check what color is selected in palette
1494
- if (isset($wplc_settings["wplc_settings_color1"])) {
1495
- $default_color = "#" . $wplc_settings["wplc_settings_color1"];
1496
- }
1497
- }
1498
- }
1499
-
1500
- return $default_color;
1501
- }
1502
-
1503
- /**
1504
- * Send an email to the admin based on the settings in the settings page
1505
- * @param string $reply_to email of the user
1506
- * @param string $reply_to_name name of the user
1507
- * @param string $subject subject
1508
- * @param string $msg message being emailed
1509
- * @return void
1510
- * @since 5.1.00
1511
- */
1512
- function wplcmail($reply_to,$reply_to_name,$subject,$msg) {
1513
-
1514
- $upload_dir = wp_upload_dir();
1515
-
1516
- $wplc_pro_settings = get_option("WPLC_SETTINGS");
1517
- if(isset($wplc_pro_settings['wplc_pro_chat_email_address'])){
1518
- $email_address = $wplc_pro_settings['wplc_pro_chat_email_address'];
1519
- }else{
1520
- $email_address = get_option('admin_email');
1521
- }
1522
-
1523
- $email_address = explode(',', $email_address);
1524
-
1525
- if(get_option("wplc_mail_type") == "wp_mail" || !get_option('wplc_mail_type')){
1526
- $headers[] = 'Content-type: text/html';
1527
- $headers[] = 'Reply-To: '.$reply_to_name.'<'.$reply_to.'>';
1528
- if($email_address){
1529
- foreach($email_address as $email){
1530
- /* Send offline message to each email address */
1531
- $overbody = apply_filters("wplc_filter_mail_body",$subject,$msg);
1532
- if (!wp_mail($email, $subject, $overbody, $headers)) {
1533
- $handle = fopen($upload_dir['basedir'].'/wp_livechat_error_log.txt', 'a');
1534
- $error = date("Y-m-d H:i:s") . " WP-Mail Failed to send \n";
1535
- @fwrite($handle, $error);
1536
- }
1537
- }
1538
- }
1539
- // $to = $wplc_pro_settings['wplc_pro_chat_email_address'];
1540
- return;
1541
- } else {
1542
-
1543
-
1544
-
1545
- //require 'phpmailer/PHPMailerAutoload.php';
1546
- $wplc_pro_settings = get_option("WPLC_PRO_SETTINGS");
1547
- $host = get_option('wplc_mail_host');
1548
- $port = get_option('wplc_mail_port');
1549
- $username = get_option("wplc_mail_username");
1550
- $password = get_option("wplc_mail_password");
1551
- if($host && $port && $username && $password){
1552
- //Create a new PHPMailer instance
1553
-
1554
- global $phpmailer;
1555
-
1556
- // (Re)create it, if it's gone missing
1557
- if ( ! ( $phpmailer instanceof PHPMailer ) ) {
1558
- require_once ABSPATH . WPINC . '/class-phpmailer.php';
1559
- require_once ABSPATH . WPINC . '/class-smtp.php';
1560
- $mail = new PHPMailer( true );
1561
- }
1562
-
1563
-
1564
-
1565
- //$mail = new PHPMailer();
1566
-
1567
-
1568
- $mail->isSMTP();
1569
- //Enable SMTP debugging
1570
- // 0 = off (for production use)
1571
- // 1 = client messages
1572
- // 2 = client and server messages
1573
- $mail->SMTPDebug = 0;
1574
- //Ask for HTML-friendly debug output
1575
- $mail->Debugoutput = 'html';
1576
- //Set the hostname of the mail server
1577
- $mail->Host = $host;
1578
- //Set the SMTP port number - likely to be 25, 26, 465 or 587
1579
- $mail->Port = $port;
1580
- //Set the encryption system to use - ssl (deprecated) or tls
1581
- if($port == "587"){
1582
- $mail->SMTPSecure = 'tls';
1583
- } else if($port == "465"){
1584
- $mail->SMTPSecure = 'ssl';
1585
- }
1586
-
1587
- // Empty out the values that may be set
1588
- $mail->ClearAllRecipients();
1589
- $mail->ClearAttachments();
1590
- $mail->ClearCustomHeaders();
1591
- $mail->ClearReplyTos();
1592
-
1593
-
1594
- //Whether to use SMTP authentication
1595
- $mail->SMTPAuth = true;
1596
- //Username to use for SMTP authentication
1597
- $mail->Username = $username;
1598
- //Password to use for SMTP authentication
1599
- $mail->Password = $password;
1600
- //Set who the message is to be sent from
1601
- $mail->setFrom($reply_to, $reply_to_name);
1602
- //Set who the message is to be sent to
1603
- if($email_address){
1604
- foreach($email_address as $email){
1605
- $mail->addAddress($email);
1606
- }
1607
- }
1608
- //Set the subject line
1609
- $mail->Subject = $subject;
1610
- //Read an HTML message body from an external file, convert referenced images to embedded,
1611
- //convert HTML into a basic plain-text alternative body
1612
- $body = apply_filters("wplc_filter_mail_body",$subject,$msg);
1613
- $mail->msgHTML($body);
1614
- //Replace the plain text body with one created manually
1615
- $mail->AltBody = $msg;
1616
-
1617
-
1618
- //send the message, check for errors
1619
- if (!$mail->send()) {
1620
- $handle = fopen($upload_dir['basedir'].'/wp_livechat_error_log.txt', 'a');
1621
- $error = date("Y-m-d H:i:s")." ".$mail->ErrorInfo." \n";
1622
- @fwrite($handle, $error);
1623
- }
1624
- return;
1625
- }
1626
- }
1627
- }
1628
- /**
1629
- * Sends offline messages to the admin (normally via ajax)
1630
- * @param string $name Name of the user
1631
- * @param string $email Email of the user
1632
- * @param string $msg The message being sent to the admin
1633
- * @param int $cid Chat ID
1634
- * @return void
1635
- */
1636
- function wplc_send_offline_msg($name,$email,$msg,$cid) {
1637
- $subject = apply_filters("wplc_offline_message_subject_filter", __("WP Live Chat Support - Offline Message from ", "wplivechat") ) . "$name";
1638
- $msg = __("Name", "wplivechat").": $name \n".
1639
- __("Email", "wplivechat").": $email\n".
1640
- __("Message", "wplivechat").": $msg\n\n".
1641
- __("Via WP Live Chat Support", "wplivechat");
1642
- wplcmail($email,$name, $subject, $msg);
1643
- return;
1644
- }
1645
-
1646
-
1647
- /**
1648
- * Saves offline messages to the database
1649
- * @param string $name User name
1650
- * @param string $email User email
1651
- * @param string $message Message being saved
1652
- * @return Void
1653
- * @since 5.1.00
1654
- */
1655
- function wplc_store_offline_message($name, $email, $message){
1656
- global $wpdb;
1657
- global $wplc_tblname_offline_msgs;
1658
-
1659
- $wplc_settings = get_option('WPLC_SETTINGS');
1660
-
1661
- /** DEPRECATED BY GDPR */
1662
- /**if(isset($wplc_settings['wplc_record_ip_address']) && $wplc_settings['wplc_record_ip_address'] == 1){
1663
- if(isset($_SERVER['HTTP_X_FORWARDED_FOR']) && $_SERVER['HTTP_X_FORWARDED_FOR'] != '') {
1664
- $ip_address = sanitize_text_field($_SERVER['HTTP_X_FORWARDED_FOR']);
1665
- } else {
1666
- $ip_address = sanitize_text_field($_SERVER['REMOTE_ADDR']);
1667
- }
1668
- $offline_ip_address = $ip_address;
1669
- } else {
1670
- $offline_ip_address = "";
1671
- }*/
1672
-
1673
- $offline_ip_address = "";
1674
-
1675
-
1676
- $ins_array = array(
1677
- 'timestamp' => current_time('mysql'),
1678
- 'name' => sanitize_text_field($name),
1679
- 'email' => sanitize_email($email),
1680
- 'message' => implode( "\n", array_map( 'sanitize_text_field', explode( "\n", $message ) ) ),
1681
- 'ip' => sanitize_text_field($offline_ip_address),
1682
- 'user_agent' => sanitize_text_field($_SERVER['HTTP_USER_AGENT'])
1683
- );
1684
-
1685
- $rows_affected = $wpdb->insert( $wplc_tblname_offline_msgs, $ins_array );
1686
- return;
1687
- }
1688
- /**
1689
- * Send what we have found as a system notification
1690
- */
1691
- function wplc_send_welcome($cid,$wplc_settings) {
1692
-
1693
- if (!isset($wplc_settings['wplc_welcome_msg'])) { $wplc_settings['wplc_welcome_msg'] = __("Please standby for an agent. While you wait for the agent you may type your message.","wplivechat"); }
1694
- $mdata = array(
1695
- 'msg' => $wplc_settings['wplc_welcome_msg']
1696
- );
1697
- wplc_record_chat_notification('await_agent',$cid,$mdata);
1698
- return;
1699
-
1700
- }
1701
-
1702
-
1703
- function wplc_user_initiate_chat($name,$email,$cid = null,$session) {
1704
-
1705
- global $wpdb;
1706
- global $wplc_tblname_chats;
1707
-
1708
-
1709
- $wplc_settings = get_option('WPLC_SETTINGS');
1710
-
1711
- /** DEPRECATED BY GDPR */
1712
- /*if(isset($wplc_settings['wplc_record_ip_address']) && $wplc_settings['wplc_record_ip_address'] == 1){
1713
- if(isset($_SERVER['HTTP_X_FORWARDED_FOR']) && $_SERVER['HTTP_X_FORWARDED_FOR'] != '') {
1714
- $ip_address = sanitize_text_field($_SERVER['HTTP_X_FORWARDED_FOR']);
1715
- } else {
1716
- $ip_address = sanitize_text_field($_SERVER['REMOTE_ADDR']);
1717
- }
1718
- $user_data = array(
1719
- 'ip' => $ip_address,
1720
- 'user_agent' => sanitize_text_field($_SERVER['HTTP_USER_AGENT'])
1721
- );
1722
- $wplc_ce_ip = $ip_address;
1723
- } else {
1724
- $user_data = array(
1725
- 'ip' => "",
1726
- 'user_agent' => sanitize_text_field($_SERVER['HTTP_USER_AGENT'])
1727
- );
1728
- $wplc_ce_ip = null;
1729
- }*/
1730
-
1731
- $user_data = array(
1732
- 'ip' => "",
1733
- 'user_agent' => sanitize_text_field($_SERVER['HTTP_USER_AGENT'])
1734
- );
1735
- $wplc_ce_ip = null;
1736
-
1737
- if(function_exists('wplc_ce_activate')){
1738
- /* Log the chat for statistical purposes as well */
1739
- if(function_exists('wplc_ce_record_initial_chat')){
1740
- wplc_ce_record_initial_chat($name, $email, $cid, $wplc_ce_ip, sanitize_text_field($_SERVER['HTTP_REFERER']));
1741
- }
1742
- }
1743
-
1744
- if ($cid != null) {
1745
- /* change from a visitor to a chat */
1746
-
1747
- /**
1748
- * This helps us identify if this user needs to be answered. The user can start typing so long but an agent still needs to answer the chat
1749
- * @var serialized array
1750
- */
1751
- $chat_data = wplc_get_chat_data($cid,__LINE__);
1752
-
1753
- if (isset($chat_data->other)) {
1754
- $other_data = maybe_unserialize( $chat_data->other );
1755
- $other_data['unanswered'] = true;
1756
-
1757
- $other_data = apply_filters("wplc_start_chat_hook_other_data_hook", $other_data);
1758
- if (!isset($other_data['welcome'])) {
1759
- //wplc_send_welcome($cid,$wplc_settings);
1760
- $other_data['welcome'] = true;
1761
- }
1762
-
1763
- } else {
1764
- //wplc_send_welcome($cid,$wplc_settings);
1765
- $other_data = array();
1766
- $other_data['welcome'] = true;
1767
-
1768
- }
1769
-
1770
-
1771
- $wpdb->update(
1772
- $wplc_tblname_chats,
1773
- array(
1774
- 'status' => 2,
1775
- 'timestamp' => current_time('mysql'),
1776
- 'name' => $name,
1777
- 'email' => $email,
1778
- 'session' => $session,
1779
- 'ip' => maybe_serialize($user_data),
1780
- 'url' => sanitize_text_field($_SERVER['HTTP_REFERER']),
1781
- 'last_active_timestamp' => current_time('mysql'),
1782
- 'other' => maybe_serialize($other_data)
1783
- ),
1784
- array('id' => $cid),
1785
- array(
1786
- '%d',
1787
- '%s',
1788
- '%s',
1789
- '%s',
1790
- '%s',
1791
- '%s',
1792
- '%s',
1793
- '%s',
1794
- '%s'
1795
- ),
1796
- array('%d')
1797
- );
1798
-
1799
- do_action("wplc_hook_initiate_chat",array("cid" => $cid, "name" => $name, "email" => $email));
1800
-
1801
- do_action("wplc_start_chat_hook_after_data_insert", $cid);
1802
- return $cid;
1803
- }
1804
- else {
1805
- $other_data = array();
1806
- $other_data['unanswered'] = true;
1807
-
1808
- $other_data = apply_filters("wplc_start_chat_hook_other_data_hook", $other_data);
1809
-
1810
-
1811
-
1812
- $wpdb->insert(
1813
- $wplc_tblname_chats,
1814
- array(
1815
- 'status' => 2,
1816
- 'timestamp' => current_time('mysql'),
1817
- 'name' => $name,
1818
- 'email' => $email,
1819
- 'session' => $session,
1820
- 'ip' => maybe_serialize($user_data),
1821
- 'url' => sanitize_text_field($_SERVER['HTTP_REFERER']),
1822
- 'last_active_timestamp' => current_time('mysql'),
1823
- 'other' => maybe_serialize($other_data)
1824
- ),
1825
- array(
1826
- '%s',
1827
- '%s',
1828
- '%s',
1829
- '%s',
1830
- '%s',
1831
- '%s',
1832
- '%s',
1833
- '%s',
1834
- '%s'
1835
- )
1836
- );
1837
-
1838
-
1839
- $lastid = $wpdb->insert_id;
1840
-
1841
-
1842
-
1843
-
1844
- /* Nick: moved from top of function to bottom of function to try speed up the process of accepting the chart - version 7 */
1845
- if (function_exists("wplc_list_chats_pro")) { /* check if functions-pro is around */
1846
- wplc_pro_notify_via_email();
1847
- }
1848
-
1849
- do_action("wplc_start_chat_hook_after_data_insert", $lastid);
1850
- return $lastid;
1851
- }
1852
-
1853
- }
1854
-
1855
-
1856
-
1857
- function wplc_get_msg() {
1858
- return "<a href=\"javascript:void(0);\" class=\"wplc_second_chat_request button button-primary\" style='cursor:not-allowed' title=\"".__("Get Pro Add-on to accept more chats","wplivechat")."\" target=\"_BLANK\">".__("Accept Chat","wplivechat")."</a>";
1859
- }
1860
- function wplc_update_chat_statuses() {
1861
- global $wpdb;
1862
- global $wplc_tblname_chats;
1863
- $results = $wpdb->get_results(
1864
- "
1865
- SELECT *
1866
- FROM $wplc_tblname_chats
1867
- WHERE `status` = '2' OR `status` = '3' OR `status` = '5' or `status` = '8' or `status` = '9' or `status` = '10' or `status` = 12
1868
- "
1869
- );
1870
- foreach ($results as $result) {
1871
- $id = $result->id;
1872
- $timestamp = strtotime($result->last_active_timestamp);
1873
- $datenow = current_time('timestamp');
1874
- $difference = $datenow - $timestamp;
1875
-
1876
-
1877
-
1878
- if (intval($result->status) == 2) {
1879
- if ($difference >= 30) { // 60 seconds max
1880
- wplc_change_chat_status($id,12);
1881
- }
1882
- }
1883
- else if (intval($result->status) == 12) {
1884
- if ($difference >= 30) { // 30 seconds max
1885
- wplc_change_chat_status($id,0);
1886
- }
1887
- }
1888
- else if (intval($result->status) == 3) {
1889
- if ($difference >= 300) { // 5 minutes
1890
- wplc_change_chat_status($id,1);
1891
- }
1892
- }
1893
- else if (intval($result->status) == 5) {
1894
- if ($difference >= 120) { // 2 minute timeout
1895
- wplc_change_chat_status($id,7); // 7 - timedout
1896
- }
1897
- } else if(intval($result->status) == 8){ // chat is complete but user is still browsing
1898
- if ($difference >= 45) { // 30 seconds
1899
- wplc_change_chat_status($id,1); // 1 - chat is now complete
1900
- }
1901
- } else if(intval($result->status) == 9 || $result->status == 10){
1902
- if ($difference >= 120) { // 120 seconds
1903
- wplc_change_chat_status($id,7); // 7 - timedout
1904
- }
1905
- }
1906
- }
1907
- }
1908
- function wplc_check_pending_chats(){
1909
- global $wpdb;
1910
- global $wplc_tblname_chats;
1911
- $sql = "SELECT * FROM `$wplc_tblname_chats` WHERE `status` = 2";
1912
- $wpdb->query($sql);
1913
- $results = $wpdb->get_results($sql);
1914
- if($results){
1915
- foreach ($results as $result) {
1916
- $other = maybe_unserialize($result->other);
1917
- if (isset($other['unanswered'])) {
1918
- return true;
1919
- }
1920
- }
1921
-
1922
- }
1923
- return false;
1924
- }
1925
- function wplc_get_active_and_pending_chats(){
1926
- global $wpdb;
1927
- global $wplc_tblname_chats;
1928
- $sql = "SELECT * FROM `$wplc_tblname_chats` WHERE `status` = 2 OR `status` = 3 ORDER BY `status`";
1929
- $results = $wpdb->get_results($sql);
1930
- if($results){
1931
- return $results;
1932
- } else {
1933
- return false;
1934
- }
1935
- }
1936
- function wplc_convert_array_to_string($array){
1937
- $string = "";
1938
- if($array){
1939
- foreach($array as $value){
1940
- $string.= $value->id." ;";
1941
- }
1942
- } else {
1943
- $string = false;
1944
- }
1945
- return $string;
1946
- }
1947
-
1948
- function wplc_return_browser_image($string,$size) {
1949
- switch($string) {
1950
-
1951
- case "Internet Explorer":
1952
- return "internet-explorer_".$size."x".$size.".png";
1953
- break;
1954
- case "Mozilla Firefox":
1955
- return "firefox_".$size."x".$size.".png";
1956
- break;
1957
- case "Opera":
1958
- return "opera_".$size."x".$size.".png";
1959
- break;
1960
- case "Google Chrome":
1961
- return "chrome_".$size."x".$size.".png";
1962
- break;
1963
- case "Safari":
1964
- return "safari_".$size."x".$size.".png";
1965
- break;
1966
- case "Other browser":
1967
- return "web_".$size."x".$size.".png";
1968
- break;
1969
- default:
1970
- return "web_".$size."x".$size.".png";
1971
- break;
1972
- }
1973
-
1974
-
1975
- }
1976
- function wplc_return_browser_string($user_agent) {
1977
- if(strpos($user_agent, 'MSIE') !== FALSE)
1978
- return 'Internet Explorer';
1979
- elseif(strpos($user_agent, 'Trident') !== FALSE) //For Supporting IE 11
1980
- return 'Internet Explorer';
1981
- elseif(strpos($user_agent, 'Edge') !== FALSE)
1982
- return 'Internet Explorer';
1983
- elseif(strpos($user_agent, 'Firefox') !== FALSE)
1984
- return 'Mozilla Firefox';
1985
- elseif(strpos($user_agent, 'Chrome') !== FALSE)
1986
- return 'Google Chrome';
1987
- elseif(strpos($user_agent, 'Opera Mini') !== FALSE)
1988
- return "Opera";
1989
- elseif(strpos($user_agent, 'Opera') !== FALSE)
1990
- return "Opera";
1991
- elseif(strpos($user_agent, 'Safari') !== FALSE)
1992
- return "Safari";
1993
- else
1994
- return 'Other browser';
1995
- }
1996
-
1997
- function wplc_error_directory() {
1998
- $upload_dir = wp_upload_dir();
1999
-
2000
- if (is_multisite()) {
2001
- if (!file_exists($upload_dir['basedir'].'/wp-live-chat-support')) {
2002
- wp_mkdir_p($upload_dir['basedir'].'/wp-live-chat-support');
2003
- $content = "Error log created";
2004
- $fp = @fopen($upload_dir['basedir'].'/wp-live-chat-support/error_log.txt','w+');
2005
- @fwrite($fp,$content);
2006
- }
2007
- } else {
2008
- if (!file_exists($upload_dir['basedir'] .'/wp-live-chat-support')) {
2009
- wp_mkdir_p($upload_dir['basedir'] . '/wp-live-chat-support');
2010
- $content = "Error log created";
2011
- $fp = @fopen($upload_dir['basedir'] . '/wp-live-chat-support/error_log.txt','w+');
2012
- @fwrite($fp,$content);
2013
- }
2014
-
2015
- }
2016
- return true;
2017
-
2018
- }
2019
-
2020
- function wplc_error_log($error) {
2021
- return;
2022
- $upload_dir = wp_upload_dir();
2023
- $content = "\r\n[".date("Y-m-d")."] [".date("H:i:s")."]".$error;
2024
- $fp = @fopen($upload_dir['basedir'].'/wp-live-chat-support/error_log.txt','a+');
2025
- @fwrite($fp,$content);
2026
- @fclose($fp);
2027
-
2028
-
2029
- }
2030
- function Memory_Usage($decimals = 2) {
2031
- $result = 0;
2032
-
2033
- if (function_exists('memory_get_usage')) {
2034
- $result = memory_get_usage() / 1024;
2035
- }
2036
-
2037
- else {
2038
- if (function_exists('exec')) {
2039
- $output = array();
2040
-
2041
- if (substr(strtoupper(PHP_OS), 0, 3) == 'WIN') {
2042
- exec('tasklist /FI "PID eq ' . getmypid() . '" /FO LIST', $output);
2043
-
2044
- $result = preg_replace('/[\D]/', '', $output[5]);
2045
- }
2046
-
2047
- else {
2048
- exec('ps -eo%mem,rss,pid | grep ' . getmypid(), $output);
2049
-
2050
- $output = explode(' ', $output[0]);
2051
-
2052
- $result = $output[1];
2053
- }
2054
- }
2055
- }
2056
-
2057
- return number_format(intval($result) / 1024, $decimals, '.', '')." mb";
2058
- }
2059
- function wplc_get_memory_usage() {
2060
- $size = memory_get_usage(true);
2061
- $unit=array('b','kb','mb','gb','tb','pb');
2062
- return @round($size/pow(1024,($i=floor(log($size,1024)))),2).' '.$unit[$i];
2063
-
2064
- }
2065
- function wplc_record_mem() {
2066
- $upload_dir = wp_upload_dir();
2067
- $data = array(
2068
- 'date' => current_time('mysql'),
2069
- 'php_mem' => wplc_get_memory_usage()
2070
- );
2071
- $fp = @fopen($upload_dir['basedir'].'/wp-live-chat-support'."/mem_usag.csv","a+");
2072
- fputcsv($fp, $data);
2073
- fclose($fp);
2074
- }
2075
-
2076
- function wplc_admin_display_missed_chats() {
2077
-
2078
- global $wpdb;
2079
- global $wplc_tblname_chats;
2080
-
2081
-
2082
- if(isset($_GET['wplc_action']) && $_GET['wplc_action'] == 'remove_missed_cid'){
2083
- if(isset($_GET['cid'])){
2084
- if(isset($_GET['wplc_confirm'])){
2085
- //Confirmed - delete
2086
- $delete_sql = "";
2087
- if ( empty( $_GET['cid'] ) ) {
2088
- exit('No CID?');
2089
- }
2090
- $delete_sql = "DELETE FROM $wplc_tblname_chats WHERE `id` = '".intval( sanitize_text_field( $_GET['cid'] ) )."' LIMIT 1";
2091
-
2092
- $wpdb->query($delete_sql);
2093
- if ($wpdb->last_error) {
2094
- echo "<div class='update-nag' style='margin-top: 0px;margin-bottom: 5px;'>
2095
- ".__("Error: Could not delete chat", "wplivechat")."<br>
2096
- </div>";
2097
- } else {
2098
- echo "<div class='update-nag' style='margin-top: 0px;margin-bottom: 5px;border-color:#67d552;'>
2099
- ".__("Chat Deleted", "wplivechat")."<br>
2100
- </div>";
2101
- }
2102
-
2103
- } else {
2104
- //Prompt
2105
- echo "<div class='update-nag' style='margin-top: 0px;margin-bottom: 5px;'>
2106
- ".__("Are you sure you would like to delete this chat?", "wplivechat")."<br>
2107
- <a class='button' href='?page=wplivechat-menu-missed-chats&wplc_action=remove_missed_cid&cid=".$_GET['cid']."&wplc_confirm=1''>".__("Yes", "wplivechat")."</a> <a class='button' href='?page=wplivechat-menu-missed-chats'>".__("No", "wplivechat")."</a>
2108
- </div>";
2109
- }
2110
- }
2111
- }
2112
-
2113
- echo "
2114
- <table class=\"wp-list-table widefat fixed \" cellspacing=\"0\">
2115
- <thead>
2116
- <tr>
2117
- <th class='manage-column column-id'><span>" . __("Date", "wplivechat") . "</span></th>
2118
- <th scope='col' id='wplc_name_colum' class='manage-column column-id'><span>" . __("Name", "wplivechat") . "</span></th>
2119
- <th scope='col' id='wplc_email_colum' class='manage-column column-id'>" . __("Email", "wplivechat") . "</th>
2120
- <th scope='col' id='wplc_url_colum' class='manage-column column-id'>" . __("URL", "wplivechat") . "</th>
2121
- <th scope='col' id='wplc_url_colum' class='manage-column column-id'>" . __("Action", "wplivechat") . "</th>
2122
- </tr>
2123
- </thead>
2124
- <tbody id=\"the-list\" class='list:wp_list_text_link'>";
2125
-
2126
- $pagenum = isset( $_GET['pagenum'] ) ? absint( $_GET['pagenum'] ) : 1;
2127
- $limit = 20; // number of rows in page
2128
- $offset = ( $pagenum - 1 ) * $limit;
2129
- if (function_exists("wplc_register_pro_version")) {
2130
- $total = $wpdb->get_var( "SELECT COUNT(`id`) FROM $wplc_tblname_chats WHERE (`status` = 0 OR `agent_id` = 0)" );
2131
- } else {
2132
- $total = $wpdb->get_var( "SELECT COUNT(`id`) FROM $wplc_tblname_chats WHERE `status` = 0" );
2133
- }
2134
- $num_of_pages = ceil( $total / $limit );
2135
-
2136
- if (function_exists("wplc_register_pro_version")) {
2137
- $sql = "SELECT * FROM $wplc_tblname_chats WHERE (`status` = 0 OR `agent_id` = 0) ORDER BY `timestamp` DESC LIMIT $limit OFFSET $offset";
2138
- } else {
2139
- $sql = "SELECT * FROM $wplc_tblname_chats WHERE `status` = 0 ORDER BY `timestamp` DESC LIMIT $limit OFFSET $offset";
2140
- }
2141
-
2142
- $results = $wpdb->get_results($sql);
2143
-
2144
- if (!$results) {
2145
- echo "<tr><td></td><td>" . __("You have not missed any chat requests.", "wplivechat") . "</td></tr>";
2146
- } else {
2147
- foreach ($results as $result) {
2148
-
2149
- $url = admin_url('admin.php?page=wplivechat-menu&action=history&cid=' . $result->id);
2150
- $url2 = admin_url('admin.php?page=wplivechat-menu&action=download_history&type=csv&cid=' . $result->id);
2151
- $url3 = "?page=wplivechat-menu-missed-chats&wplc_action=remove_missed_cid&cid=" . $result->id;
2152
- $actions = "
2153
- <a href='$url' class='button' title='".__('View Chat History', 'wplivechat')."' target='_BLANK' id=''><i class='fa fa-eye'></i></a> <a href='$url2' class='button' title='".__('Download Chat History', 'wplivechat')."' target='_BLANK' id=''><i class='fa fa-download'></i></a> <a href='$url3' class='button'><i class='fa fa-trash-o'></i></a>
2154
- ";
2155
-
2156
- echo "<tr id=\"record_" . $result->id . "\">";
2157
- echo "<td class='chat_id column-chat_d'>" . sanitize_text_field($result->timestamp) . "</td>";
2158
- echo "<td class='chat_name column_chat_name' id='chat_name_" . $result->id . "'><img src=\"//www.gravatar.com/avatar/" . md5($result->email) . "?s=30\" class='wplc-user-message-avatar' /> " . sanitize_text_field($result->name) . "</td>";
2159
- echo "<td class='chat_email column_chat_email' id='chat_email_" . $result->id . "'><a href='mailto:" . sanitize_text_field($result->email) . "' title='Email " . ".$result->email." . "'>" . sanitize_text_field($result->email) . "</a></td>";
2160
- echo "<td class='chat_name column_chat_url' id='chat_url_" . $result->id . "'>" . esc_url($result->url) . "</td>";
2161
- echo "<td class='chat_name column_chat_url'>".$actions."</td>";
2162
- echo "</tr>";
2163
- }
2164
- }
2165
-
2166
- echo "
2167
- </tbody>
2168
- </table>";
2169
-
2170
- $page_links = paginate_links( array(
2171
- 'base' => add_query_arg( 'pagenum', '%#%' ),
2172
- 'format' => '',
2173
- 'prev_text' => __( '&laquo;', 'wplivechat' ),
2174
- 'next_text' => __( '&raquo;', 'wplivechat' ),
2175
- 'total' => $num_of_pages,
2176
- 'current' => $pagenum
2177
- ) );
2178
-
2179
- if ( $page_links ) {
2180
- echo '<div class="tablenav"><div class="tablenav-pages" style="margin: 1em 0;float:none;text-align:center;">' . $page_links . '</div></div>';
2181
- }
2182
- }
2183
-
2184
-
2185
- /**
2186
- * Compares the users IP address to the list in the banned IPs in the settings page
2187
- * @return BOOL
2188
- */
2189
- function wplc_is_user_banned_basic(){
2190
- $banned_ip = get_option('WPLC_BANNED_IP_ADDRESSES');
2191
- if($banned_ip){
2192
- $banned_ip = maybe_unserialize($banned_ip);
2193
- $banned = 0;
2194
- if (is_array($banned_ip)) {
2195
- foreach($banned_ip as $ip){
2196
-
2197
- if(isset($_SERVER['HTTP_X_FORWARDED_FOR']) && $_SERVER['HTTP_X_FORWARDED_FOR'] != '') {
2198
- $ip_address = $_SERVER['HTTP_X_FORWARDED_FOR'];
2199
- } else {
2200
- $ip_address = $_SERVER['REMOTE_ADDR'];
2201
- }
2202
-
2203
- if(isset($ip_address)){
2204
- if($ip == $ip_address){
2205
- $banned++;
2206
- }
2207
- } else {
2208
- $banned = 0;
2209
- }
2210
- }
2211
- } else {
2212
- return 0;
2213
- }
2214
- } else {
2215
- $banned = 0;
2216
- }
2217
- return $banned;
2218
- }
2219
-
2220
-
2221
-
2222
-
2223
- function wplc_return_animations_basic(){
2224
-
2225
- $wplc_settings = get_option("WPLC_SETTINGS");
2226
-
2227
- if ($wplc_settings["wplc_settings_align"] == 1) {
2228
- $original_pos = "bottom_left";
2229
- //$wplc_box_align = "left:100px; bottom:0px;";
2230
- $wplc_box_align = "bottom:0px;";
2231
- } else if ($wplc_settings["wplc_settings_align"] == 2) {
2232
- $original_pos = "bottom_right";
2233
- //$wplc_box_align = "right:100px; bottom:0px;";
2234
- $wplc_box_align = "bottom:0px;";
2235
- } else if ($wplc_settings["wplc_settings_align"] == 3) {
2236
- $original_pos = "left";
2237
- // $wplc_box_align = "left:0; bottom:100px;";
2238
- $wplc_box_align = " bottom:100px;";
2239
- $wplc_class = "wplc_left";
2240
- } else if ($wplc_settings["wplc_settings_align"] == 4) {
2241
- $original_pos = "right";
2242
- // $wplc_box_align = "right:0; bottom:100px;";
2243
- $wplc_box_align = "bottom:100px;";
2244
- $wplc_class = "wplc_right";
2245
- }
2246
-
2247
- $animation_data = array();
2248
-
2249
- if(isset($wplc_settings['wplc_animation']) && $wplc_settings['wplc_animation'] == 'animation-1'){
2250
-
2251
- if($original_pos == 'bottom_right'){
2252
- $wplc_starting_point = 'margin-bottom: -350px; right: 20px;';
2253
- $wplc_animation = 'animation-1';
2254
- } else if ($original_pos == 'bottom_left'){
2255
- $wplc_starting_point = 'margin-bottom: -350px; left: 20px;';
2256
- $wplc_animation = 'animation-1';
2257
- } else if ($original_pos == 'left'){
2258
- $wplc_starting_point = 'margin-bottom: -350px; left: 0px;';
2259
- $wplc_box_align = "left:0; bottom:100px;";
2260
- $wplc_animation = 'animation-1';
2261
- } else if ($original_pos == 'right'){
2262
- $wplc_starting_point = 'margin-bottom: -350px; right: 0px;';
2263
- $wplc_animation = 'animation-1';
2264
- $wplc_box_align = "right:0; bottom:100px;";
2265
- }
2266
-
2267
- $animation_data['animation'] = $wplc_animation;
2268
- $animation_data['starting_point'] = $wplc_starting_point;
2269
- $animation_data['box_align'] = $wplc_box_align;
2270
-
2271
- } else if (isset($wplc_settings['wplc_animation']) && $wplc_settings['wplc_animation'] == 'animation-2'){
2272
-
2273
- if($original_pos == 'bottom_right'){
2274
- $wplc_starting_point = 'margin-bottom: 0px; right: -300px;';
2275
- $wplc_animation = 'animation-2-br';
2276
- } else if ($original_pos == 'bottom_left'){
2277
- $wplc_starting_point = 'margin-bottom: 0px; left: -300px;';
2278
- $wplc_animation = 'animation-2-bl';
2279
- } else if ($original_pos == 'left'){
2280
- $wplc_starting_point = 'margin-bottom: 0px; left: -999px;';
2281
- $wplc_animation = 'animation-2-l';
2282
- } else if ($original_pos == 'right'){
2283
- $wplc_starting_point = 'margin-bottom: 0px; right: -999px;';
2284
- $wplc_animation = 'animation-2-r';
2285
- }
2286
-
2287
- $animation_data['animation'] = $wplc_animation;
2288
- $animation_data['starting_point'] = $wplc_starting_point;
2289
- $animation_data['box_align'] = $wplc_box_align;
2290
-
2291
- } else if (isset($wplc_settings['wplc_animation']) && $wplc_settings['wplc_animation'] == 'animation-3'){
2292
-
2293
- $wplc_animation = 'animation-3';
2294
-
2295
- if($original_pos == 'bottom_right'){
2296
- $wplc_starting_point = 'margin-bottom: 0; right: 20px; display: none;';
2297
- } else if ($original_pos == 'bottom_left'){
2298
- $wplc_starting_point = 'margin-bottom: 0px; left: 20px; display: none;';
2299
- } else if ($original_pos == 'left'){
2300
- $wplc_starting_point = 'margin-bottom: 100px; left: 0px; display: none;';
2301
- } else if ($original_pos == 'right'){
2302
- $wplc_starting_point = 'margin-bottom: 100px; right: 0px; display: none;';
2303
- }
2304
-
2305
- $animation_data['animation'] = $wplc_animation;
2306
- $animation_data['starting_point'] = $wplc_starting_point;
2307
- $animation_data['box_align'] = $wplc_box_align;
2308
-
2309
- } else if (isset($wplc_settings['wplc_animation']) && $wplc_settings['wplc_animation'] == 'animation-4'){
2310
- // Dont use an animation
2311
-
2312
- $wplc_animation = "animation-4";
2313
-
2314
- if($original_pos == 'bottom_right'){
2315
- $wplc_starting_point = 'margin-bottom: 0; right: 20px; display: none;';
2316
- } else if ($original_pos == 'bottom_left'){
2317
- $wplc_starting_point = 'margin-bottom: 0px; left: 20px; display: none;';
2318
- } else if ($original_pos == 'left'){
2319
- $wplc_starting_point = 'margin-bottom: 100px; left: 0px; display: none;';
2320
- } else if ($original_pos == 'right'){
2321
- $wplc_starting_point = 'margin-bottom: 100px; right: 0px; display: none;';
2322
- }
2323
-
2324
- $animation_data['animation'] = $wplc_animation;
2325
- $animation_data['starting_point'] = $wplc_starting_point;
2326
- $animation_data['box_align'] = $wplc_box_align;
2327
-
2328
- } else {
2329
-
2330
- if($original_pos == 'bottom_right'){
2331
- $wplc_starting_point = 'margin-bottom: 0; right: 20px; display: none;';
2332
- } else if ($original_pos == 'bottom_left'){
2333
- $wplc_starting_point = 'margin-bottom: 0px; left: 20px; display: none;';
2334
- } else if ($original_pos == 'left'){
2335
- $wplc_starting_point = 'margin-bottom: 100px; left: 0px; display: none;';
2336
- } else if ($original_pos == 'right'){
2337
- $wplc_starting_point = 'margin-bottom: 100px; right: 0px; display: none;';
2338
- }
2339
-
2340
- $wplc_animation = 'none';
2341
-
2342
- $animation_data['animation'] = $wplc_animation;
2343
- $animation_data['starting_point'] = $wplc_starting_point;
2344
- $animation_data['box_align'] = $wplc_box_align;
2345
- }
2346
-
2347
- return $animation_data;
2348
- }
2349
-
2350
-
2351
- add_action("wplc_advanced_settings_above_performance", "wplc_advanced_settings_above_performance_control", 10, 1);
2352
- function wplc_advanced_settings_above_performance_control($wplc_settings){
2353
- $elem_trig_action = isset($wplc_settings['wplc_elem_trigger_action']) ? $wplc_settings['wplc_elem_trigger_action'] : "0";
2354
- $elem_trig_type = isset($wplc_settings['wplc_elem_trigger_type']) ? $wplc_settings['wplc_elem_trigger_type'] : "0";
2355
- $elem_trig_id = isset($wplc_settings['wplc_elem_trigger_id']) ? $wplc_settings['wplc_elem_trigger_id'] : "";
2356
-
2357
- echo "<tr>
2358
- <td width='350'>
2359
- ".__("Open chat window via", "wplivechat").":
2360
- </td>
2361
- <td>
2362
- <select name='wplc_elem_trigger_action'>
2363
- <option value='0' ".($elem_trig_action == "0" ? "selected" : "").">".__("Click", "wplivechat")."</option>
2364
- <option value='1' ".($elem_trig_action == "1" ? "selected" : "").">".__("Hover", "wplivechat")."</option>
2365
- </select>
2366
- ".__("element with", "wplivechat").":
2367
- <select name='wplc_elem_trigger_type'>
2368
- <option value='0' ".($elem_trig_type == "0" ? "selected" : "").">".__("Class", "wplivechat")."</option>
2369
- <option value='1' ".($elem_trig_type == "1" ? "selected" : "").">".__("ID", "wplivechat")."</option>
2370
- </select>
2371
- <input type='text' name='wplc_elem_trigger_id' value='".$elem_trig_id."'>
2372
- </td>
2373
- </tr>
2374
- ";
2375
- }
2376
-
2377
- /**
2378
- * Reverse of wplc_return_chat_id_by_rel
2379
- */
2380
- function wplc_return_chat_rel_by_id($cid) {
2381
- global $wpdb;
2382
- global $wplc_tblname_chats;
2383
-
2384
- $results = $wpdb->get_results("SELECT * FROM $wplc_tblname_chats WHERE `id` = '$cid' LIMIT 1");
2385
- if ($results) {
2386
- foreach ($results as $result) {
2387
- if (isset($result->rel)) {
2388
- return $result->rel;
2389
- } else {
2390
- return $cid;
2391
- }
2392
- }
2393
- } else {
2394
- return $cid;
2395
- }
2396
-
2397
- }
2398
-
2399
- /*
2400
- * Returns total message count for a chat
2401
- */
2402
- function wplc_return_message_count_by_cid($cid) {
2403
- global $wpdb;
2404
- global $wplc_tblname_msgs;
2405
-
2406
- $sql = "SELECT `id` FROM $wplc_tblname_msgs WHERE `chat_sess_id` = '$cid'";
2407
- $results = $wpdb->get_results($sql);
2408
-
2409
- $message_count = 0;
2410
- foreach ($results as $result) {
2411
- $message_count ++;
2412
- }
2413
-
2414
- return $message_count;
2415
- }
2416
-
2417
- function wplc_all_avatars() {
2418
- $users = get_users(array(
2419
- 'meta_key' => 'wplc_ma_agent',
2420
- ));
2421
- $avatars = array();
2422
- foreach ($users as $user) {
2423
- $avatars[$user->data->ID] = wplc_get_avatar($user->data->ID);
2424
- }
2425
- return $avatars;
2426
- }
2427
-
2428
- function wplc_get_avatar($id) {
2429
- $wplc_settings = get_option("WPLC_SETTINGS");
2430
- $user = get_user_by( 'id', $id );
2431
-
2432
- if (isset($wplc_settings['wplc_avatar_source']) && $wplc_settings['wplc_avatar_source'] == 'gravatar') {
2433
- return '//www.gravatar.com/avatar/' . md5( strtolower( trim( $user->data->user_email ) ) );
2434
- } elseif (isset($wplc_settings['wplc_avatar_source']) && $wplc_settings['wplc_avatar_source'] == 'wp_avatar') {
2435
- if (function_exists('get_wp_user_avatar')) {
2436
- return get_wp_user_avatar_src($id);
2437
- } else {
2438
- return '//www.gravatar.com/avatar/' . md5( strtolower( trim( $user->data->user_email ) ) );
2439
- }
2440
- } else {
2441
- return '//www.gravatar.com/avatar/' . md5( strtolower( trim( $user->data->user_email ) ) );
2442
- }
2443
  }
1
+ <?php
2
+ $wplc_basic_plugin_url = WPLC_BASIC_PLUGIN_URL;
3
+
4
+ function wplc_log_user_on_page($name,$email,$session, $is_mobile = false) {
5
+ global $wpdb;
6
+ global $wplc_tblname_chats;
7
+
8
+ $wplc_settings = get_option('WPLC_SETTINGS');
9
+
10
+
11
+ /** DEPRECATED DUE TO GDPR */
12
+ /*if(isset($wplc_settings['wplc_record_ip_address']) && $wplc_settings['wplc_record_ip_address'] == 1){
13
+
14
+ if(isset($_SERVER['HTTP_X_FORWARDED_FOR']) && $_SERVER['HTTP_X_FORWARDED_FOR'] != '') {
15
+ $ip_address = $_SERVER['HTTP_X_FORWARDED_FOR'];
16
+ } else {
17
+ $ip_address = $_SERVER['REMOTE_ADDR'];
18
+ }
19
+
20
+ $user_data = array(
21
+ 'ip' => $ip_address,
22
+ 'user_agent' => $_SERVER['HTTP_USER_AGENT']
23
+ );
24
+ } else {
25
+ $user_data = array(
26
+ 'ip' => "",
27
+ 'user_agent' => $_SERVER['HTTP_USER_AGENT']
28
+ );
29
+ }*/
30
+
31
+ $user_data = array(
32
+ 'ip' => "",
33
+ 'user_agent' => $_SERVER['HTTP_USER_AGENT']
34
+ );
35
+
36
+
37
+ /* user types
38
+ * 1 = new
39
+ * 2 = returning
40
+ * 3 = timed out
41
+ */
42
+
43
+ $other = array(
44
+ "user_type" => 1
45
+ );
46
+
47
+ if($is_mobile){
48
+ $other['user_is_mobile'] = true;
49
+ } else {
50
+ $other['user_is_mobile'] = false;
51
+ }
52
+
53
+ $other = apply_filters("wplc_log_user_on_page_insert_other_data_filter", $other);
54
+
55
+ $wplc_chat_session_data = array(
56
+ 'status' => '5',
57
+ 'timestamp' => current_time('mysql'),
58
+ 'name' => $name,
59
+ 'email' => $email,
60
+ 'session' => $session,
61
+ 'ip' => maybe_serialize($user_data),
62
+ 'url' => sanitize_text_field($_SERVER['HTTP_REFERER']),
63
+ 'last_active_timestamp' => current_time('mysql'),
64
+ 'other' => maybe_serialize($other),
65
+ );
66
+
67
+ $wplc_chat_session_data = apply_filters("wplc_log_user_on_page_insert_filter", $wplc_chat_session_data);
68
+
69
+ /* Omitted from inser call as this defaults to string
70
+ $wplc_chat_session_types = array(
71
+ '%s',
72
+ '%s',
73
+ '%s',
74
+ '%s',
75
+ '%s',
76
+ '%s',
77
+ '%s',
78
+ '%s',
79
+ '%s'
80
+ ); */
81
+
82
+
83
+ $wpdb->insert($wplc_tblname_chats, $wplc_chat_session_data);
84
+ $lastid = $wpdb->insert_id;
85
+
86
+ do_action("wplc_log_user_on_page_after_hook", $lastid, $wplc_chat_session_data);
87
+
88
+
89
+ return $lastid;
90
+
91
+ }
92
+ function wplc_update_user_on_page($cid, $status = 5,$session) {
93
+ global $wpdb;
94
+ global $wplc_tblname_chats;
95
+ $wplc_settings = get_option('WPLC_SETTINGS');
96
+
97
+ /** DEPRECATED BY GDPR */
98
+ /*if(isset($wplc_settings['wplc_record_ip_address']) && $wplc_settings['wplc_record_ip_address'] == 1){
99
+
100
+ if(isset($_SERVER['HTTP_X_FORWARDED_FOR']) && $_SERVER['HTTP_X_FORWARDED_FOR'] != '') {
101
+ $ip_address = sanitize_text_field($_SERVER['HTTP_X_FORWARDED_FOR']);
102
+ } else {
103
+ $ip_address = sanitize_text_field($_SERVER['REMOTE_ADDR']);
104
+ }
105
+ $user_data = array(
106
+ 'ip' => $ip_address,
107
+ 'user_agent' => sanitize_text_field($_SERVER['HTTP_USER_AGENT'])
108
+ );
109
+ } else {
110
+ $user_data = array(
111
+ 'ip' => "",
112
+ 'user_agent' => sanitize_text_field($_SERVER['HTTP_USER_AGENT'])
113
+ );
114
+ }*/
115
+
116
+ $user_data = array(
117
+ 'ip' => "",
118
+ 'user_agent' => sanitize_text_field($_SERVER['HTTP_USER_AGENT'])
119
+ );
120
+
121
+
122
+
123
+ $query = $wpdb->update(
124
+ $wplc_tblname_chats,
125
+ array(
126
+ 'url' => sanitize_text_field($_SERVER['HTTP_REFERER']),
127
+ 'last_active_timestamp' => current_time('mysql'),
128
+ 'ip' => maybe_serialize($user_data),
129
+ 'status' => $status,
130
+ 'session' => $session,
131
+ ),
132
+ array('id' => $cid),
133
+ array(
134
+ '%s',
135
+ '%s',
136
+ '%s',
137
+ '%d',
138
+ '%s'
139
+ ),
140
+ array('%d')
141
+ );
142
+
143
+
144
+ return $query;
145
+
146
+
147
+ }
148
+
149
+
150
+ function wplc_record_chat_msg($from, $cid, $msg, $rest_check = false, $aid = false, $other = false) {
151
+ global $wpdb;
152
+ global $wplc_tblname_msgs;
153
+
154
+
155
+ if( ! filter_var($cid, FILTER_VALIDATE_INT) ) {
156
+
157
+ /**
158
+ * We need to identify if this CID is a node CID, and if so, return the WP CID from the wplc_chat_msgs table
159
+ */
160
+ $cid = wplc_return_chat_id_by_rel($cid);
161
+ }
162
+
163
+ /**
164
+ * check if this CID even exists, if not, create it
165
+ *
166
+ * If it doesnt exist, it most likely is an agent-to-agent chat that we now need to save.
167
+ */
168
+
169
+ global $wplc_tblname_chats;
170
+ $results = $wpdb->get_results("SELECT * FROM $wplc_tblname_chats WHERE `rel` = '".$cid."' OR `id` = '".$cid."' LIMIT 1");
171
+ if (!$results) {
172
+ /* it doesnt exist, lets put it in the table */
173
+
174
+ $wpdb->insert(
175
+ $wplc_tblname_chats,
176
+ array(
177
+ 'status' => 3,
178
+ 'timestamp' => current_time('mysql'),
179
+ 'name' => 'agent-to-agent chat',
180
+ 'email' => 'none',
181
+ 'session' => '1',
182
+ 'ip' => '0',
183
+ 'url' => '',
184
+ 'last_active_timestamp' => current_time('mysql'),
185
+ 'other' => '',
186
+ 'rel' => $cid,
187
+ ),
188
+ array(
189
+ '%s',
190
+ '%s',
191
+ '%s',
192
+ '%s',
193
+ '%s',
194
+ '%s',
195
+ '%s',
196
+ '%s',
197
+ '%s',
198
+ '%s'
199
+ )
200
+ );
201
+
202
+
203
+ $cid = $wpdb->insert_id;
204
+ }
205
+
206
+
207
+ if ($from == "2" && $rest_check == false) {
208
+ $wplc_current_user = get_current_user_id();
209
+
210
+ if( get_user_meta( $wplc_current_user, 'wplc_ma_agent', true ) ){
211
+ /*
212
+ -- modified in in 6.0.04 --
213
+
214
+ if(current_user_can('wplc_ma_agent') || current_user_can('manage_options')){
215
+ */ } else { return "security issue"; }
216
+ }
217
+
218
+ if ($from == "1") {
219
+ $fromname = wplc_return_chat_name(sanitize_text_field($cid));
220
+ if (empty($fromname)) { $fromname = 'Guest'; }
221
+ //$fromemail = wplc_return_chat_email($cid);
222
+ $orig = '2';
223
+ }
224
+ else {
225
+ $fromname = apply_filters("wplc_filter_admin_name","Admin");
226
+
227
+ //$fromemail = "SET email";
228
+ $orig = '1';
229
+ }
230
+
231
+ $msg_id = '';
232
+
233
+ if ($other !== false) {
234
+ if (!empty($other->msgID)) {
235
+ $msg_id = $other->msgID;
236
+ } else {
237
+ $msg_id = '';
238
+ }
239
+ }
240
+
241
+
242
+ $orig_msg = $msg;
243
+
244
+ $msg = apply_filters("wplc_filter_message_control",$msg);
245
+
246
+ if (!$aid) {
247
+ $wplc_current_user = get_current_user_id();
248
+
249
+ if( get_user_meta( $wplc_current_user, 'wplc_ma_agent', true ) ){
250
+ $other_data = array('aid'=>$wplc_current_user);
251
+ } else {
252
+ $other_data = '';
253
+ }
254
+ } else {
255
+ if( get_user_meta( $aid, 'wplc_ma_agent', true ) ){
256
+ $other_data = array('aid'=>$aid);
257
+ } else {
258
+ $other_data = '';
259
+ }
260
+ }
261
+
262
+
263
+
264
+
265
+
266
+ $wpdb->insert(
267
+ $wplc_tblname_msgs,
268
+ array(
269
+ 'chat_sess_id' => $cid,
270
+ 'timestamp' => current_time('mysql'),
271
+ 'msgfrom' => $fromname,
272
+ 'msg' => $msg,
273
+ 'status' => 0,
274
+ 'originates' => $orig,
275
+ 'other' => maybe_serialize( $other_data ),
276
+ 'rel' => $msg_id
277
+ ),
278
+ array(
279
+ '%s',
280
+ '%s',
281
+ '%s',
282
+ '%s',
283
+ '%d',
284
+ '%s',
285
+ '%s',
286
+ '%s'
287
+ )
288
+ );
289
+
290
+ $data = array(
291
+ 'cid' => $cid,
292
+ 'from' => $from,
293
+ 'msg' => $orig_msg,
294
+ 'orig' => $orig
295
+ );
296
+ do_action("wplc_hook_message_sent",$data);
297
+
298
+ wplc_update_active_timestamp(sanitize_text_field($cid));
299
+
300
+
301
+ return true;
302
+
303
+ }
304
+
305
+ function wplc_update_active_timestamp($cid) {
306
+ global $wpdb;
307
+ global $wplc_tblname_chats;
308
+ // $results = $wpdb->get_results(
309
+ // "
310
+ // UPDATE $wplc_tblname_chats
311
+ // SET `last_active_timestamp` = '".date("Y-m-d H:i:s")."'
312
+ // WHERE `id` = '$cid'
313
+ // LIMIT 1
314
+ // "
315
+ // );
316
+ $wpdb->update(
317
+ $wplc_tblname_chats,
318
+ array(
319
+ 'last_active_timestamp' => current_time('mysql')
320
+ ),
321
+ array('id' => $cid),
322
+ array('%s'),
323
+ array('%d')
324
+ );
325
+
326
+ //wplc_change_chat_status(sanitize_text_field($cid),3);
327
+ return true;
328
+
329
+ }
330
+
331
+ function wplc_return_chat_name($cid) {
332
+ global $wpdb;
333
+ global $wplc_tblname_chats;
334
+
335
+ $results = $wpdb->get_results(
336
+ "
337
+ SELECT *
338
+ FROM $wplc_tblname_chats
339
+ WHERE `id` = '$cid'
340
+ "
341
+ );
342
+ foreach ($results as $result) {
343
+ return $result->name;
344
+ }
345
+
346
+ }
347
+
348
+
349
+ /**
350
+ * Find out if we are dealing with a NODE CID and convert it to the WP CID.
351
+ *
352
+ * If it cannot find a relative, then simply return the original CID parsed through.
353
+ *
354
+ * @param string|int $rel The CId to compare
355
+ * @return string|int The suggested CID
356
+ */
357
+ function wplc_return_chat_id_by_rel($rel) {
358
+ global $wpdb;
359
+ global $wplc_tblname_chats;
360
+
361
+ $results = $wpdb->get_results("SELECT * FROM $wplc_tblname_chats WHERE `rel` = '$rel' LIMIT 1");
362
+ if ($results) {
363
+ foreach ($results as $result) {
364
+ if (isset($result->id)) {
365
+ return $result->id;
366
+ } else {
367
+ return $rel;
368
+ }
369
+ }
370
+ } else {
371
+ return $rel;
372
+ }
373
+
374
+ }
375
+ function wplc_return_chat_email($cid) {
376
+ global $wpdb;
377
+ global $wplc_tblname_chats;
378
+ $results = $wpdb->get_results(
379
+ "
380
+ SELECT *
381
+ FROM $wplc_tblname_chats
382
+ WHERE `id` = '$cid'
383
+ "
384
+ );
385
+ foreach ($results as $result) {
386
+ return $result->email;
387
+ }
388
+
389
+ }
390
+ function wplc_list_chats() {
391
+
392
+ global $wpdb;
393
+ global $wplc_tblname_chats;
394
+ $status = 3;
395
+ $wplc_c = 0;
396
+ $results = $wpdb->get_results(
397
+ "
398
+ SELECT *
399
+ FROM $wplc_tblname_chats
400
+ WHERE `status` = 3 OR `status` = 2 OR `status` = 10
401
+ ORDER BY `timestamp` ASC
402
+
403
+ "
404
+ );
405
+
406
+ $table = "<div class='wplc_chats_container'>";
407
+
408
+ if (!$results) {
409
+ $table.= "<p>".__("No chat sessions available at the moment","wplivechat")."</p>";
410
+ } else {
411
+ $table .= "<h2>".__('Active Chats', 'wplivechat')."</h2>";
412
+
413
+ foreach ($results as $result) {
414
+ unset($trstyle);
415
+ unset($actions);
416
+ $wplc_c++;
417
+
418
+
419
+ global $wplc_basic_plugin_url;
420
+ $user_data = maybe_unserialize($result->ip);
421
+ $user_ip = $user_data['ip'];
422
+ $browser = wplc_return_browser_string($user_data['user_agent']);
423
+ $browser_image = wplc_return_browser_image($browser,"16");
424
+
425
+ if($user_ip == ""){
426
+ $user_ip = __('IP Address not recorded', 'wplivechat');
427
+ } else {
428
+ $user_ip = "<a href='http://www.ip-adress.com/ip_tracer/" . $user_ip . "' title='".__('Whois for' ,'wplivechat')." ".$user_ip."' target='_BLANK'>".$user_ip."</a>";
429
+ }
430
+
431
+ if ($result->status == 2) {
432
+ $url = admin_url( 'admin.php?page=wplivechat-menu&action=ac&cid='.$result->id);
433
+ $actions = "<a href=\"".$url."\" class=\"wplc_open_chat button button-primary\" window-title=\"WP_Live_Chat_".$result->id."\">".__("Accept Chat","wplivechat")."</a>";
434
+ $trstyle = "style='background-color:#FFFBE4; height:30px;'";
435
+ $icon = "<i class=\"fa fa-phone wplc_pending\" title='".__('Incoming Chat', 'wplivechat')."' alt='".__('Incoming Chat', 'wplivechat')."'></i><div class='wplc_icon_message'>".__('You have an incoming chat.', 'wplivechat')."</div>";
436
+ }
437
+ if ($result->status == 3) {
438
+ $url = admin_url( 'admin.php?page=wplivechat-menu&action=ac&cid='.$result->id);
439
+ $actions = "<a href=\"".$url."\" class=\"wplc_open_chat button button-primary\" window-title=\"WP_Live_Chat_".$result->id."\">".__("Open Chat Window","wplivechat")."</a>";
440
+ $trstyle = "style='background-color:#F7FCFE; height:30px;'";
441
+ $icon = "<i class=\"fa fa-check-circle wplc_active\" title='".__('Chat Active', 'wplivechat')."' alt='".__('Chat Active', 'wplivechat')."'></i><div class='wplc_icon_message'>".__('This chat is active', 'wplivechat')."</div>";
442
+ }
443
+
444
+
445
+ /* if ($wplc_c>1) { $actions = wplc_get_msg(); } */
446
+
447
+ $trstyle = "";
448
+
449
+ $table .= "
450
+ <div class='wplc_single_chat' id='record_".$result->id."' $trstyle>
451
+ <div class='wplc_chat_section section_1'>
452
+ <div class='wplc_user_image' id='chat_image_".$result->id."'>
453
+ <img src=\"//www.gravatar.com/avatar/".md5($result->email)."?s=60&d=mm\" />
454
+ </div>
455
+ <div class='wplc_user_meta_data'>
456
+ <div class='wplc_user_name' id='chat_name_".$result->id."'>
457
+ <h3>".$result->name.$icon."</h3>
458
+ <a href='mailto:".$result->email."' target='_BLANK'>".$result->email."</a>
459
+ </div>
460
+ </div>
461
+ </div>
462
+ <div class='wplc_chat_section section_2'>
463
+ <div class='admin_visitor_advanced_info'>
464
+ <strong>" . __("Site Info", "wplivechat") . "</strong>
465
+ <hr />
466
+ <span class='part1'>" . __("Chat initiated on:", "wplivechat") . "</span> <span class='part2'> <a href='".esc_url($result->url)."' target='_BLANK'>" . esc_url($result->url) . "</a></span>
467
+ </div>
468
+
469
+ <div class='admin_visitor_advanced_info'>
470
+ <strong>" . __("Advanced Info", "wplivechat") . "</strong>
471
+ <hr />
472
+ <span class='part1'>" . __("Browser:", "wplivechat") . "</span><span class='part2'> $browser <img src='" . $wplc_basic_plugin_url . "/images/$browser_image' alt='$browser' title='$browser' /><br />
473
+ <span class='part1'>" . __("IP Address:", "wplivechat") . "</span><span class='part2'> ".$user_ip."
474
+ </div>
475
+ </div>
476
+ <div class='wplc_chat_section section_3'>
477
+ <div class='wplc_agent_actions'>
478
+ $actions
479
+ </div>
480
+ </div>
481
+ </div>
482
+ ";
483
+ }
484
+ }
485
+ $table .= "</div>";
486
+
487
+ return $table;
488
+ }
489
+
490
+ function wplc_time_ago($time_ago)
491
+ {
492
+ $time_ago = strtotime($time_ago);
493
+ $cur_time = current_time('timestamp');
494
+ $time_elapsed = $cur_time - $time_ago;
495
+ $seconds = $time_elapsed ;
496
+ $minutes = round($time_elapsed / 60 );
497
+ $hours = round($time_elapsed / 3600);
498
+ $days = round($time_elapsed / 86400 );
499
+ $weeks = round($time_elapsed / 604800);
500
+ $months = round($time_elapsed / 2600640 );
501
+ $years = round($time_elapsed / 31207680 );
502
+ // Seconds
503
+ if($seconds <= 60){
504
+ return "0 min";
505
+ }
506
+ //Minutes
507
+ else if($minutes <=60){
508
+ if($minutes==1){
509
+ return "1 min";
510
+ }
511
+ else{
512
+ return "$minutes min";
513
+ }
514
+ }
515
+ //Hours
516
+ else if($hours <=24){
517
+ if($hours==1){
518
+ return "1 hr";
519
+ }else{
520
+ return "$hours hrs";
521
+ }
522
+ }
523
+ //Days
524
+ else if($days <= 7){
525
+ if($days==1){
526
+ return "1 day";
527
+ }else{
528
+ return "$days days";
529
+ }
530
+ }
531
+ //Weeks
532
+ else if($weeks <= 4.3){
533
+ if($weeks==1){
534
+ return "1 week";
535
+ }else{
536
+ return "$weeks weeks";
537
+ }
538
+ }
539
+ //Months
540
+ else if($months <=12){
541
+ if($months==1){
542
+ return "1 month";
543
+ }else{
544
+ return "$months months";
545
+ }
546
+ }
547
+ //Years
548
+ else{
549
+ if($years==1){
550
+ return "1 year";
551
+ }else{
552
+ return "$years years";
553
+ }
554
+ }
555
+ }
556
+
557
+ add_filter("wplc_filter_list_chats_actions","wplc_filter_control_list_chats_actions",15,3);
558
+ /**
559
+ * Only allow agents access
560
+ * @return void
561
+ * @since 6.0.00
562
+ * @version 6.0.04 Updated to ensure those with the correct access can access this function
563
+ * @author Nick Duncan <nick@codecabin.co.za>
564
+ */
565
+ function wplc_filter_control_list_chats_actions($actions,$result,$post_data) {
566
+ $aid = apply_filters("wplc_filter_aid_in_action","");
567
+
568
+ $wplc_current_user = get_current_user_id();
569
+
570
+ if( get_user_meta( $wplc_current_user, 'wplc_ma_agent', true ) ){
571
+
572
+ if (intval($result->status) == 2) {
573
+ $url_params = "&action=ac&cid=".$result->id.$aid;
574
+ $url = admin_url( 'admin.php?page=wplivechat-menu'.$url_params);
575
+ $actions = "<a href=\"".$url."\" class=\"wplc_open_chat button button-primary\" window-title=\"WP_Live_Chat_".$result->id."\">". apply_filters("wplc_accept_chat_button_filter", __("Accept Chat","wplivechat"), $result->id)."</a>";
576
+ }
577
+ else if (intval($result->status) == 3 || intval($result->status) == 10) {
578
+ $url_params = "&action=ac&cid=".$result->id.$aid;
579
+ $url = admin_url( 'admin.php?page=wplivechat-menu'.$url_params);
580
+ if ( ! function_exists("wplc_pro_version_control") || !isset( $result->agent_id ) || $wplc_current_user == $result->agent_id ) { //Added backwards compat checks
581
+ $actions = "<a href=\"".$url."\" class=\"wplc_open_chat button button-primary\" window-title=\"WP_Live_Chat_".$result->id."\">".__("Open Chat","wplivechat")."</a>";
582
+ } else {
583
+ $actions = "<span class=\"wplc-chat-in-progress\">" . __( "In progress with another agent", "wplivechat" ) . "</span>";
584
+ }
585
+ }
586
+ else if (intval($result->status) == 2) {
587
+ $url_params = "&action=ac&cid=".$result->id.$aid;
588
+ $url = admin_url( 'admin.php?page=wplivechat-menu'.$url_params);
589
+ $actions = "<a href=\"".$url."\" class=\"wplc_open_chat button button-primary\" window-title=\"WP_Live_Chat_".$result->id."\">".__("Accept Chat","wplivechat")."</a>";
590
+ }
591
+ else if (intval($result->status) == 12 ) {
592
+ $url_params = "&action=ac&cid=".$result->id.$aid;
593
+ $url = admin_url( 'admin.php?page=wplivechat-menu'.$url_params);
594
+ $actions = "<a href=\"".$url."\" class=\"wplc_open_chat button button-primary\" window-title=\"WP_Live_Chat_".$result->id."\">".__("Open Chat","wplivechat")."</a>";
595
+ }
596
+ } else {
597
+ $actions = "<a href='#'>".__( 'Only chat agents can accept chats', 'wplivechat' )."</a>";
598
+ }
599
+ return $actions;
600
+ }
601
+
602
+ function wplc_list_chats_new($post_data) {
603
+
604
+ global $wpdb;
605
+ global $wplc_tblname_chats;
606
+
607
+ $data_array = array();
608
+ $id_list = array();
609
+
610
+ $status = 3;
611
+ $wplc_c = 0;
612
+
613
+ // Retrieve count of users in same department or in no department
614
+ $user_id = get_current_user_id();
615
+ $user_department = get_user_meta($user_id ,"wplc_user_department", true);
616
+
617
+ $wplc_chat_count_sql = "SELECT COUNT(*) FROM $wplc_tblname_chats WHERE status IN (3,2,10,5,8,9,12)";
618
+ if($user_department > 0)
619
+ $wplc_chat_count_sql .= " AND (department_id=0 OR department_id=$user_department)";
620
+ $data_array['visitor_count'] = $wpdb->get_var($wplc_chat_count_sql);
621
+
622
+ // Retrieve data
623
+ $wplc_chat_sql = "SELECT * FROM $wplc_tblname_chats WHERE (`status` = 3 OR `status` = 2 OR `status` = 10 OR `status` = 5 or `status` = 8 or `status` = 9 or `status` = 12)";
624
+ $wplc_chat_sql .= apply_filters("wplc_alter_chat_list_sql_before_sorting", "");
625
+
626
+ $wplc_chat_sql .= " ORDER BY `timestamp` ASC";
627
+
628
+ $results = $wpdb->get_results($wplc_chat_sql);
629
+
630
+
631
+ if($results) {
632
+
633
+
634
+ foreach ($results as $result) {
635
+ unset($trstyle);
636
+ unset($actions);
637
+
638
+
639
+
640
+
641
+ global $wplc_basic_plugin_url;
642
+ $user_data = maybe_unserialize($result->ip);
643
+ $user_ip = $user_data['ip'];
644
+ $browser = wplc_return_browser_string($user_data['user_agent']);
645
+ $browser_image = wplc_return_browser_image($browser,"16");
646
+
647
+ if($user_ip == ""){
648
+ $user_ip = __('IP Address not recorded', 'wplivechat');
649
+ } else {
650
+ $user_ip = "<a href='http://www.ip-adress.com/ip_tracer/" . $user_ip . "' title='".__('Whois for' ,'wplivechat')." ".$user_ip."' target='_BLANK'>".$user_ip."</a>";
651
+ }
652
+
653
+
654
+ $actions = apply_filters("wplc_filter_list_chats_actions","",$result,$post_data);
655
+
656
+
657
+ $other_data = maybe_unserialize($result->other);
658
+
659
+
660
+
661
+ $trstyle = "";
662
+
663
+ $id_list[intval($result->id)] = true;
664
+
665
+ $data_array[$result->id]['name'] = $result->name;
666
+ $data_array[$result->id]['email'] = $result->email;
667
+
668
+ $data_array[$result->id]['status'] = $result->status;
669
+ $data_array[$result->id]['action'] = $actions;
670
+ $data_array[$result->id]['timestamp'] = wplc_time_ago($result->timestamp);
671
+
672
+ if ((current_time('timestamp') - strtotime($result->timestamp)) < 3600) {
673
+ $data_array[$result->id]['type'] = __("New","wplivechat");
674
+ } else {
675
+ $data_array[$result->id]['type'] = __("Returning","wplivechat");
676
+ }
677
+
678
+ $data_array[$result->id]['image'] = "<img src=\"//www.gravatar.com/avatar/".md5($result->email)."?s=30&d=mm\" class='wplc-user-message-avatar' />";
679
+ $data_array[$result->id]['data']['browsing'] = $result->url;
680
+ $path = parse_url($result->url, PHP_URL_PATH);
681
+
682
+ if (strlen($path) > 20) {
683
+ $data_array[$result->id]['data']['browsing_nice_url'] = substr($path,0,20).'...';
684
+ } else {
685
+ $data_array[$result->id]['data']['browsing_nice_url'] = $path;
686
+ }
687
+
688
+ $data_array[$result->id]['data']['browser'] = "<img src='" . $wplc_basic_plugin_url . "/images/$browser_image' alt='$browser' title='$browser' /> ";
689
+ $data_array[$result->id]['data']['ip'] = $user_ip;
690
+ $data_array[$result->id]['other'] = $other_data;
691
+ }
692
+
693
+ $data_array['ids'] = $id_list;
694
+ }
695
+
696
+ return json_encode($data_array);
697
+ }
698
+
699
+
700
+
701
+ function wplc_return_user_chat_messages($cid,$wplc_settings = false,$cdata = false) {
702
+ global $wpdb;
703
+ global $wplc_tblname_msgs;
704
+
705
+ if (!$wplc_settings) {
706
+ $wplc_settings = get_option("WPLC_SETTINGS");
707
+ }
708
+
709
+ if(isset($wplc_settings['wplc_display_name']) && $wplc_settings['wplc_display_name'] == 1){ $display_name = 1; } else { $display_name = 0; }
710
+
711
+ $sql = "SELECT * FROM $wplc_tblname_msgs WHERE `chat_sess_id` = '$cid' AND `status` = '0' AND (`originates` = '1' OR `originates` = '0') ORDER BY `timestamp` ASC";
712
+ $results = $wpdb->get_results($sql);
713
+ if (!$cdata) {
714
+ $cdata = wplc_get_chat_data($cid,__LINE__);
715
+ }
716
+
717
+
718
+ $msg_hist = array();
719
+ foreach ($results as $result) {
720
+ $system_notification = false;
721
+
722
+ $id = $result->id;
723
+ $from = $result->msgfrom;
724
+
725
+
726
+ $msg = $result->msg;
727
+
728
+ if ( isset( $result->other ) ) { $other_data = maybe_unserialize( $result->other ); } else { $other_data = array(); }
729
+ if ($other_data == '') { $other_data = array(); }
730
+
731
+ $timestamp = strtotime( $result->timestamp );
732
+ $other_data['datetime'] = $timestamp;
733
+ $other_data['datetimeUTC'] = strtotime( get_gmt_from_date( $result->timestamp ) );
734
+
735
+ //
736
+ if($result->originates == 1){
737
+ /* removed in 7.1.00
738
+ $class = "wplc-admin-message wplc-color-bg-4 wplc-color-2 wplc-color-border-4";
739
+ if(function_exists("wplc_pro_get_admin_picture")){
740
+ $src = wplc_pro_get_admin_picture();
741
+ if($src){
742
+ $image = "<img src=".$src." width='20px' id='wp-live-chat-2-img'/>";
743
+ } else {
744
+ $image = "";
745
+ }
746
+ } else {
747
+ $other = maybe_unserialize($cdata->other);
748
+ if (isset($other['aid'])) {
749
+
750
+
751
+ $user_info = get_userdata(intval($other['aid']));
752
+
753
+ $image = "<img src='//www.gravatar.com/avatar/".md5($user_info->user_email)."?s=30' class='wplc-admin-message-avatar' />";
754
+ } else {
755
+
756
+
757
+ $image = "";
758
+ if(1 == 1) {
759
+
760
+ } else {
761
+
762
+ $image = "";
763
+ }
764
+ }
765
+
766
+ }
767
+
768
+ $from = apply_filters("wplc_filter_admin_name",$from, $cid);
769
+ */
770
+
771
+ }
772
+ else if (intval($result->originates) == 0) {
773
+ /*
774
+ system notifications
775
+ from version 7
776
+ */
777
+ $system_notification = true;
778
+
779
+ }
780
+ else {
781
+
782
+ /*
783
+ removed in 7.1.00
784
+ $class = "wplc-user-message wplc-color-bg-1 wplc-color-2 wplc-color-border-1";
785
+
786
+ if(isset($_COOKIE['wplc_email']) && $_COOKIE['wplc_email'] != ""){ $wplc_user_gravatar = md5(strtolower(trim(sanitize_text_field($_COOKIE['wplc_email'])))); } else { $wplc_user_gravatar = ""; }
787
+
788
+ if($wplc_user_gravatar != ""){
789
+ $image = "<img src='//www.gravatar.com/avatar/$wplc_user_gravatar?s=30' class='wplc-user-message-avatar' />";
790
+ } else {
791
+ $image = "";
792
+ }
793
+ */
794
+ }
795
+
796
+ if (!$system_notification) {
797
+ /* this is a normal message */
798
+ if(function_exists('wplc_encrypt_decrypt_msg')){
799
+ $msg = wplc_encrypt_decrypt_msg($msg);
800
+ }
801
+
802
+ $msg_array = maybe_unserialize( $msg );
803
+
804
+ if( is_array( $msg_array ) ){
805
+ $msg = $msg_array['m'];
806
+ }
807
+
808
+ $msg = stripslashes($msg);
809
+
810
+ $msg = apply_filters("wplc_filter_message_control_out",$msg);
811
+
812
+ $msg = stripslashes($msg);
813
+
814
+ $msg_hist[$id]['msg'] = $msg;
815
+ $msg_hist[$id]['originates'] = intval($result->originates);
816
+ $msg_hist[$id]['other'] = $other_data;
817
+
818
+ /*
819
+ removed this in 7.1.00 as the JS now handles this
820
+ if($display_name){
821
+ $msg_hist[$id]['msg'] = "<span class='wplc-admin-message wplc-color-bg-4 wplc-color-2 wplc-color-border-4'>$image <strong>$from </strong> $msg</span><br /><div class='wplc-clear-float-message'></div>";
822
+ } else {
823
+ $msg_hist[$id]['msg'] = "<span class='wplc-admin-message wplc-color-bg-4 wplc-color-2 wplc-color-border-4'>$msg</span><div class='wplc-clear-float-message'></div>";
824
+ }*/
825
+ } else {
826
+ /* add the system notification to the list */
827
+ if ( isset( $msg_hist[$id] ) ) { $msg_hist[$id] = array(); }
828
+
829
+ $msg_hist[$id]['msg'] = $msg;
830
+ $msg_hist[$id]['other'] = $other_data;
831
+ $msg_hist[$id]['originates'] = intval($result->originates);
832
+ }
833
+
834
+
835
+
836
+
837
+ }
838
+
839
+ return $msg_hist;
840
+
841
+
842
+ }
843
+
844
+
845
+
846
+
847
+
848
+ function wplc_return_no_answer_string($cid) {
849
+
850
+ $wplc_settings = get_option("WPLC_SETTINGS");
851
+ if (isset($wplc_settings['wplc_user_no_answer'])) {
852
+ $string = stripslashes($wplc_settings['wplc_user_no_answer']);
853
+ } else {
854
+ $string = __("No agent was able to answer your chat request. Please try again.","wplivechat");
855
+ }
856
+ $string = apply_filters("wplc_filter_no_answer_string",$string,$cid);
857
+ return "<span class='wplc_system_notification wplc_no_answer wplc-color-4'><center>".$string."</center></span>";
858
+ }
859
+ add_filter("wplc_filter_no_answer_string","wplc_filter_control_no_answer_string",10,2);
860
+
861
+ /**
862
+ * Add the "retry chat" button when an agent hasnt answered
863
+ * @param string $string Original "No Answer" string
864
+ * @param intval $cid Chat ID
865
+ * @return string
866
+ */
867
+ function wplc_filter_control_no_answer_string($string,$cid) {
868
+ $string = $string. " <br /><button class='wplc_retry_chat wplc-color-bg-1 wplc-color-2' cid='".$cid."'>".__("Request new chat","wplivechat")."</button>";
869
+ return $string;
870
+ }
871
+
872
+
873
+ function wplc_change_chat_status($id,$status,$aid = 0) {
874
+ global $wpdb;
875
+ global $wplc_tblname_chats;
876
+
877
+ if ($aid > 0) {
878
+ /* only run when accepting a chat */
879
+ $results = $wpdb->get_results("SELECT * FROM ".$wplc_tblname_chats." WHERE `id` = '".$id."' LIMIT 1");
880
+ foreach ($results as $result) {
881
+ $other = maybe_unserialize($result->other);
882
+ if (isset($other['aid']) && $other['aid'] > 0) {
883
+ /* we have recorded this already */
884
+
885
+ } else {
886
+ /* first time answering the chat! */
887
+
888
+
889
+ /* send welcome note */
890
+ /*
891
+ removed in version 7. added "chat notification events" instead, i.e. Agent has joined the chat.
892
+ $wplc_settings = get_option("WPLC_SETTINGS");
893
+ $wplc_welcome = __('Welcome. How may I help you?', 'wplivechat');
894
+ if(isset($wplc_settings['wplc_using_localization_plugin']) && $wplc_settings['wplc_using_localization_plugin'] == 1){ $wplc_using_locale = true; } else { $wplc_using_locale = false; }
895
+ if (!isset($wplc_settings['wplc_user_welcome_chat']) || $wplc_settings['wplc_user_welcome_chat'] == "") { $wplc_settings['wplc_user_welcome_chat'] = $wplc_welcome; }
896
+ $text2 = ($wplc_using_locale ? $wplc_welcome : stripslashes($wplc_settings['wplc_user_welcome_chat']));
897
+
898
+ $chat_id = sanitize_text_field($id);
899
+ $chat_msg = sanitize_text_field($text2);
900
+ $wplc_rec_msg = wplc_record_chat_msg("2",$chat_id,$chat_msg);
901
+
902
+ */
903
+
904
+
905
+ }
906
+
907
+ $other['aid'] = $aid;
908
+ }
909
+ }
910
+
911
+
912
+
913
+
914
+ if ($aid > 0) {
915
+ $wpdb->update(
916
+ $wplc_tblname_chats,
917
+ array(
918
+ 'status' => $status,
919
+ 'other' => maybe_serialize($other),
920
+ 'agent_id' => $aid
921
+ ),
922
+ array('id' => $id),
923
+ array(
924
+ '%d',
925
+ '%s',
926
+ '%d'
927
+ ),
928
+ array('%d')
929
+ );
930
+ } else {
931
+ $wpdb->update(
932
+ $wplc_tblname_chats,
933
+ array(
934
+ 'status' => $status
935
+ ),
936
+ array('id' => $id),
937
+ array('%d'),
938
+ array('%d')
939
+ );
940
+ }
941
+
942
+ do_action("wplc_change_chat_status_hook", $id, $status);
943
+
944
+ return true;
945
+
946
+ }
947
+
948
+ //come back here
949
+ function wplc_return_chat_messages($cid, $transcript = false, $html = true, $wplc_settings = false, $cdata = false, $display = 'string', $only_read_message = false) {
950
+ global $wpdb;
951
+ global $wplc_tblname_msgs;
952
+
953
+
954
+ if (!$wplc_settings) {
955
+ $wplc_settings = get_option("WPLC_SETTINGS");
956
+ }
957
+
958
+ if(isset($wplc_settings['wplc_display_name']) && $wplc_settings['wplc_display_name'] == 1){ $display_name = 1; } else { $display_name = 0; }
959
+
960
+ $results = wplc_get_chat_messages($cid, $only_read_message, $wplc_settings);
961
+ if (!$results) { return; }
962
+
963
+ if (!$cdata) {
964
+ $cdata = wplc_get_chat_data($cid,__LINE__);
965
+ }
966
+ $msg_array = array();
967
+ $msg_hist = "";
968
+ $previous_time = "";
969
+ $previous_timestamp = 0;
970
+ foreach ($results as $result) {
971
+ $display_notification = false;
972
+ $system_notification = false;
973
+
974
+ $from = $result->msgfrom;
975
+
976
+
977
+ /* added a control here to see if we should use the NODE ID instead of the SQL ID */
978
+ if (empty($result->rel)) {
979
+ $id = $result->id;
980
+ } else {
981
+ $id = $result->rel;
982
+ }
983
+ $msg = $result->msg;
984
+
985
+
986
+ if ( isset( $result->other ) ) { $other_data = maybe_unserialize( $result->other ); } else { $other_data = array(); }
987
+ if ($other_data == '') { $other_data = array(); }
988
+
989
+ $timestamp = strtotime( $result->timestamp );
990
+ $other_data['datetime'] = $timestamp;
991
+ $other_data['datetimeUTC'] = strtotime( get_gmt_from_date( $result->timestamp ) );
992
+ $nice_time = date("d M Y H:i:s",$timestamp);
993
+
994
+
995
+ $agent_from = false;
996
+
997
+ $image = "";
998
+ if($result->originates == 1){
999
+
1000
+ $agent_from = 'Agent';
1001
+
1002
+ } else if ($result->originates == 2){
1003
+
1004
+
1005
+ } else if ($result->originates == 0 || $result->originates == 3) {
1006
+
1007
+
1008
+
1009
+ $system_notification = true;
1010
+ $cuid = get_current_user_id();
1011
+ $is_agent = get_user_meta(esc_html( $cuid ), 'wplc_ma_agent', true);
1012
+ if ($is_agent && $result->originates == 3 ) {
1013
+ /* this user is an agent and the notification is meant for an agent, therefore display it */
1014
+ $display_notification = true;
1015
+
1016
+ /* check if this came from the front end.. if it did, then dont display it (if this code is removed, all notifications will be displayed to agents who are logged in and chatting with themselves during testing, which may cause confusion) */
1017
+ if (isset($_POST) && isset($_POST['action']) && sanitize_text_field( $_POST['action'] ) == "wplc_call_to_server_visitor") {
1018
+ $display_notification = false;
1019
+ }
1020
+ }
1021
+ else if (!$is_agent && $result->originates == 0) {
1022
+ /* this user is a not an agent and the notification is meant for a users, therefore display it */
1023
+ $display_notification = true;
1024
+ } else {
1025
+ /* this notification is not intended for this user */
1026
+ $display_notification = false;
1027
+ }
1028
+ }
1029
+
1030
+ if (!$system_notification) {
1031
+
1032
+ if(function_exists('wplc_encrypt_decrypt_msg')){
1033
+ $msg = wplc_encrypt_decrypt_msg($msg);
1034
+ }
1035
+
1036
+ $msg = apply_filters("wplc_filter_message_control_out",$msg);
1037
+
1038
+ if( is_serialized( $msg ) ){
1039
+ $msg_array = maybe_unserialize( $msg );
1040
+
1041
+ if( is_array( $msg_array ) ){
1042
+ $msg = $msg_array['m'];
1043
+ } else {
1044
+ $msg = $msg;
1045
+ }
1046
+
1047
+ $msg = stripslashes($msg);
1048
+ }
1049
+
1050
+ if ( isset( $result->afrom ) && intval( $result->afrom ) > 0 ) {
1051
+ $msg_array[$id]['afrom'] = intval( $result->afrom ); $other_data['aid'] = intval( $result->afrom );
1052
+
1053
+ }
1054
+ if ( isset( $result->ato ) && intval( $result->ato ) > 0 ) { $msg_array[$id]['ato'] = intval( $result->ato ); }
1055
+
1056
+
1057
+ /* use the new "other" array to get the AID and agent name */
1058
+ if ( $result->originates == '1' && isset( $result->other ) ){
1059
+ $other_data = maybe_unserialize( $result->other );
1060
+ if ( isset( $other_data['aid'] ) ) {
1061
+ $user_info = get_userdata( intval( $other_data['aid'] ) );
1062
+ $agent_from = $user_info->display_name;
1063
+ }
1064
+
1065
+ }
1066
+
1067
+ /* get the name of the USER if there is one */
1068
+ if ( $result->originates == '2' && isset( $result->msgfrom ) ) {
1069
+ $user_from = $result->msgfrom;
1070
+ } else {
1071
+ $user_from = 'User';
1072
+ }
1073
+
1074
+
1075
+ $msg_array[$id]['msg'] = $msg;
1076
+
1077
+ if ($agent_from !== false) {
1078
+ $msg_hist .= $agent_from . ": " . $msg . "<br />";
1079
+ } else {
1080
+ $msg_hist .= $user_from . ": " . $msg . "<br />";
1081
+ }
1082
+
1083
+
1084
+ $msg_array[$id]['originates'] = $result->originates;
1085
+ $msg_array[$id]['other'] = $other_data;
1086
+
1087
+
1088
+ } else {
1089
+ /* this is a system notification */
1090
+ if ($display_notification) {
1091
+ $str = "<span class='chat_time wplc-color-4'>".$nice_time."</span> <span class='wplc_system_notification wplc-color-4'>".$msg."</span>";
1092
+
1093
+ if ( !isset( $msg_array[$id] ) ) { $msg_array[$id] = array(); }
1094
+ $msg_array[$id]['msg'] = $str;
1095
+ $msg_array[$id]['other'] = $other_data;
1096
+ $msg_array[$id]['originates'] = $result->originates;
1097
+
1098
+ $msg_hist .= $str;
1099
+ }
1100
+ }
1101
+
1102
+ }
1103
+
1104
+ if ($display == 'string') { return $msg_hist; } else { return $msg_array; }
1105
+
1106
+
1107
+ }
1108
+
1109
+ /**
1110
+ * Mark a message as 'read'
1111
+ *
1112
+ * Sets the 'status' of the message to 1 in the message table
1113
+ *
1114
+ * @param [int] $mid Message ID - Unique
1115
+ * @return bool
1116
+ */
1117
+ function wplc_mark_message_as_read( $mid ) {
1118
+ global $wpdb;
1119
+ global $wplc_tblname_msgs;
1120
+
1121
+ $wpdb->update(
1122
+ $wplc_tblname_msgs,
1123
+ array(
1124
+ 'status' => 1
1125
+ ),
1126
+ array('id' => $mid),
1127
+ array('%d'),
1128
+ array('%d')
1129
+ );
1130
+ return true;
1131
+ }
1132
+
1133
+
1134
+ /**
1135
+ * Mark all messages sent by an AGENT as read (a user has read them)
1136
+ *
1137
+ * @param int $cid Chat ID
1138
+ * @return string "ok"
1139
+ */
1140
+ function wplc_mark_as_read_user_chat_messages($cid) {
1141
+ global $wpdb;
1142
+ global $wplc_tblname_msgs;
1143
+
1144
+ $results = $wpdb->get_results("SELECT *
1145
+ FROM $wplc_tblname_msgs
1146
+ WHERE `chat_sess_id` = '$cid' AND `status` = '0' AND (`originates` = 1 OR `originates` = 0)
1147
+ ORDER BY `timestamp` DESC");
1148
+
1149
+
1150
+ foreach ($results as $result) {
1151
+ $id = $result->id;
1152
+
1153
+ $wpdb->update(
1154
+ $wplc_tblname_msgs,
1155
+ array(
1156
+ 'status' => 1
1157
+ ),
1158
+ array('id' => $id),
1159
+ array('%d'),
1160
+ array('%d')
1161
+ );
1162
+
1163
+
1164
+ }
1165
+ return "ok";
1166
+
1167
+
1168
+ }
1169
+ /**
1170
+ * Mark all messages sent by a USER as read (an agent has read them)
1171
+ *
1172
+ * @param int $cid Chat ID
1173
+ * @return string "ok"
1174
+ */
1175
+ function wplc_mark_as_read_agent_chat_messages($cid, $aid) {
1176
+ global $wpdb;
1177
+ global $wplc_tblname_msgs;
1178
+
1179
+ $results = $wpdb->get_results("SELECT *
1180
+ FROM $wplc_tblname_msgs
1181
+ WHERE `chat_sess_id` = '$cid' AND `ato` = '".intval( $aid )."'
1182
+ ORDER BY `timestamp` DESC");
1183
+
1184
+
1185
+ foreach ($results as $result) {
1186
+ $id = $result->id;
1187
+
1188
+ $wpdb->update(
1189
+ $wplc_tblname_msgs,
1190
+ array(
1191
+ 'status' => 1
1192
+ ),
1193
+ array('id' => $id),
1194
+ array('%d'),
1195
+ array('%d')
1196
+ );
1197
+
1198
+
1199
+ }
1200
+ return "ok";
1201
+
1202
+
1203
+ }
1204
+
1205
+
1206
+ //here
1207
+ function wplc_return_admin_chat_messages($cid) {
1208
+ $wplc_current_user = get_current_user_id();
1209
+ if( get_user_meta( $wplc_current_user, 'wplc_ma_agent', true ) ){
1210
+ /*
1211
+ -- modified in in 6.0.04 --
1212
+
1213
+ if(current_user_can('wplc_ma_agent') || current_user_can('manage_options')){
1214
+ */
1215
+ $wplc_settings = get_option("WPLC_SETTINGS");
1216
+
1217
+ if(isset($wplc_settings['wplc_display_name']) && $wplc_settings['wplc_display_name'] == 1){ $display_name = 1; } else { $display_name = 0; }
1218
+
1219
+ global $wpdb;
1220
+ global $wplc_tblname_msgs;
1221
+
1222
+ /**
1223
+ * `Originates` - codes:
1224
+ * 0 - System notification to be delivered to users
1225
+ * 1 - Message from an agent
1226
+ * 2 - Message from a user
1227
+ * 3 - System notification to be delivered to agents
1228
+ *
1229
+ */
1230
+ $results = $wpdb->get_results("SELECT * FROM $wplc_tblname_msgs WHERE `chat_sess_id` = '$cid' AND `status` = '0' AND (`originates` = '2' OR `originates` = '3') ORDER BY `timestamp` ASC");
1231
+
1232
+
1233
+ $msg_hist = array();
1234
+ foreach ($results as $result) {
1235
+ $system_notification = false;
1236
+
1237
+ $id = $result->id;
1238
+ wplc_mark_as_read_admin_chat_messages($id);
1239
+ $from = $result->msgfrom;
1240
+
1241
+
1242
+ $msg = $result->msg;
1243
+
1244
+ if ( isset( $result->other ) ) { $other_data = maybe_unserialize( $result->other ); } else { $other_data = array(); }
1245
+ if ($other_data == '') { $other_data = array(); }
1246
+
1247
+ $timestamp = strtotime( $result->timestamp );
1248
+ $other_data['datetime'] = $timestamp;
1249
+ $other_data['datetimeUTC'] = strtotime( get_gmt_from_date( $result->timestamp ) );
1250
+
1251
+ if (intval($result->originates) == 3) {
1252
+ /*
1253
+ system notifications
1254
+ from version 7
1255
+ */
1256
+ $system_notification = true;
1257
+
1258
+ }
1259
+ else {
1260
+
1261
+
1262
+ }
1263
+
1264
+ if (!$system_notification) {
1265
+ /* this is a normal message */
1266
+ if(function_exists('wplc_encrypt_decrypt_msg')){
1267
+ $msg = wplc_encrypt_decrypt_msg($msg);
1268
+ }
1269
+
1270
+ $msg_array = maybe_unserialize( $msg );
1271
+
1272
+ if( is_array( $msg_array ) ){
1273
+ $msg = $msg_array['m'];
1274
+ }
1275
+
1276
+ $msg = stripslashes($msg);
1277
+
1278
+ $msg = apply_filters("wplc_filter_message_control_out",$msg);
1279
+
1280
+ $msg = stripslashes($msg);
1281
+
1282
+ $msg_hist[$id]['msg'] = $msg;
1283
+ $msg_hist[$id]['originates'] = intval($result->originates);
1284
+ $msg_hist[$id]['other'] = $other_data;
1285
+
1286
+ } else {
1287
+ /* add the system notification to the list */
1288
+ if ( isset( $msg_hist[$id] ) ) { $msg_hist[$id] = array(); }
1289
+
1290
+ $msg_hist[$id]['msg'] = $msg;
1291
+ $msg_hist[$id]['other'] = $other_data;
1292
+ $msg_hist[$id]['originates'] = intval($result->originates);
1293
+ }
1294
+
1295
+
1296
+
1297
+
1298
+ }
1299
+
1300
+ return $msg_hist;
1301
+ }
1302
+
1303
+
1304
+
1305
+ else {
1306
+ return "security issue";
1307
+ }
1308
+
1309
+
1310
+ }
1311
+
1312
+ /**
1313
+ * Mark all messages sent by a USER as read (an agent has read them)
1314
+ *
1315
+ * @param int $cid Chat ID
1316
+ * @return string "ok"
1317
+ */
1318
+ function wplc_mark_as_read_admin_chat_messages( $mid ) {
1319
+ $wplc_current_user = get_current_user_id();
1320
+
1321
+ if( get_user_meta( $wplc_current_user, 'wplc_ma_agent', true ) ){
1322
+ global $wpdb;
1323
+ global $wplc_tblname_msgs;
1324
+
1325
+ $wpdb->update(
1326
+ $wplc_tblname_msgs,
1327
+ array(
1328
+ 'status' => 1
1329
+ ),
1330
+ array('id' => $mid),
1331
+ array('%d'),
1332
+ array('%d')
1333
+ );
1334
+
1335
+ } else { return "security issue"; }
1336
+
1337
+ return "ok";
1338
+ }
1339
+
1340
+
1341
+
1342
+
1343
+
1344
+ function wplc_return_chat_session_variable($cid) {
1345
+ global $wpdb;
1346
+ global $wplc_tblname_chats;
1347
+ $results = $wpdb->get_results(
1348
+ "
1349
+ SELECT *
1350
+ FROM $wplc_tblname_chats
1351
+ WHERE `id` = '$cid'
1352
+ "
1353
+ );
1354
+ foreach ($results as $result) {
1355
+ return $result->session;
1356
+ }
1357
+ }
1358
+
1359
+
1360
+
1361
+ function wplc_return_chat_status($cid) {
1362
+ global $wpdb;
1363
+ global $wplc_tblname_chats;
1364
+ $results = $wpdb->get_results(
1365
+ "
1366
+ SELECT *
1367
+ FROM $wplc_tblname_chats
1368
+ WHERE `id` = '$cid'
1369
+ "
1370
+ );
1371
+ foreach ($results as $result) {
1372
+ return $result->status;
1373
+ }
1374
+ }
1375
+
1376
+
1377
+ function wplc_return_status($status) {
1378
+ if ($status == 1) {
1379
+ return __("complete","wplivechat");
1380
+ }
1381
+ if ($status == 2) {
1382
+ return __("pending", "wplivechat");
1383
+ }
1384
+ if ($status == 3) {
1385
+ return __("active", "wplivechat");
1386
+ }
1387
+ if ($status == 4) {
1388
+ return __("deleted", "wplivechat");
1389
+ }
1390
+ if ($status == 5) {
1391
+ return __("browsing", "wplivechat");
1392
+ }
1393
+ if ($status == 6) {
1394
+ return __("requesting chat", "wplivechat");
1395
+ }
1396
+ if($status == 8){
1397
+ return __("Chat Ended - User still browsing", "wplivechat");
1398
+ }
1399
+ if($status == 9){
1400
+ return __("User is browsing but doesn't want to chat", "wplivechat");
1401
+ }
1402
+
1403
+ }
1404
+
1405
+ add_filter("wplc_filter_mail_body","wplc_filter_control_mail_body",10,2);
1406
+ function wplc_filter_control_mail_body($header,$msg) {
1407
+ $primary_bg_color = apply_filters("wplc_mailer_bg_color", "#ec822c"); //Default orange
1408
+ $body = '
1409
+ <!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">
1410
+ <html>
1411
+
1412
+ <body>
1413
+
1414
+
1415
+
1416
+ <table id="" border="0" cellpadding="0" cellspacing="0" width="100%" style="background-color: ' . $primary_bg_color . ';">
1417
+ <tbody>
1418
+ <tr>
1419
+ <td width="100%" style="padding: 30px 20px 100px 20px;">
1420
+ <table align="center" cellpadding="0" cellspacing="0" class="" width="100%" style="border-collapse: separate; max-width:600px;">
1421
+ <tbody>
1422
+ <tr>
1423
+ <td style="text-align: center; padding-bottom: 20px;">
1424
+
1425
+ <p>'.$header.'</p>
1426
+ </td>
1427
+ </tr>
1428
+ </tbody>
1429
+ </table>
1430
+
1431
+ <table id="" align="center" cellpadding="0" cellspacing="0" class="" width="100%" style="border-collapse: separate; max-width: 600px; font-family: Georgia, serif; font-size: 12px; color: rgb(51, 62, 72); border: 0px solid rgb(255, 255, 255); border-radius: 10px; background-color: rgb(255, 255, 255);">
1432
+ <tbody>
1433
+ <tr>
1434
+ <td class="sortable-list ui-sortable" style="padding:20px; text-align:center;">
1435
+ '.nl2br($msg).'
1436
+ </td>
1437
+ </tr>
1438
+ </tbody>
1439
+ </table>
1440
+
1441
+ <table align="center" cellpadding="0" cellspacing="0" class="" width="100%" style="border-collapse: separate; max-width:100%;">
1442
+ <tbody>
1443
+ <tr>
1444
+ <td style="padding:20px;">
1445
+ <table border="0" cellpadding="0" cellspacing="0" class="" width="100%">
1446
+ <tbody>
1447
+ <tr>
1448
+ <td id="" align="center">
1449
+ <p>'.site_url().'</p>
1450
+ </td>
1451
+ </tr>
1452
+ </tbody>
1453
+ </table>
1454
+ </td>
1455
+ </tr>
1456
+ </tbody>
1457
+ </table>
1458
+ </td>
1459
+ </tr>
1460
+ </tbody>
1461
+ </table>
1462
+
1463
+
1464
+
1465
+ </div>
1466
+ </body>
1467
+ </html>
1468
+ ';
1469
+ return $body;
1470
+ }
1471
+
1472
+
1473
+ add_filter("wplc_mailer_bg_color","wplc_fitler_mailer_bg_color",10,1);
1474
+ function wplc_fitler_mailer_bg_color($default_color) {
1475
+ $wplc_settings = get_option('WPLC_SETTINGS');
1476
+
1477
+ if (isset($wplc_settings['wplc_theme'])) {
1478
+ $wplc_theme = $wplc_settings['wplc_theme'];
1479
+ }
1480
+
1481
+ if (isset($wplc_theme)) {
1482
+ if($wplc_theme == 'theme-1') {
1483
+ $default_color = "#DB0000";
1484
+ } else if ($wplc_theme == 'theme-2'){
1485
+ $default_color = "#000000";
1486
+ } else if ($wplc_theme == 'theme-3'){
1487
+ $default_color = "#B97B9D";
1488
+ } else if ($wplc_theme == 'theme-4'){
1489
+ $default_color = "#1A14DB";
1490
+ } else if ($wplc_theme == 'theme-5'){
1491
+ $default_color = "#3DCC13";
1492
+ } else if ($wplc_theme == 'theme-6'){
1493
+ //Check what color is selected in palette
1494
+ if (isset($wplc_settings["wplc_settings_color1"])) {
1495
+ $default_color = "#" . $wplc_settings["wplc_settings_color1"];
1496
+ }
1497
+ }
1498
+ }
1499
+
1500
+ return $default_color;
1501
+ }
1502
+
1503
+ /**
1504
+ * Send an email to the admin based on the settings in the settings page
1505
+ * @param string $reply_to email of the user
1506
+ * @param string $reply_to_name name of the user
1507
+ * @param string $subject subject
1508
+ * @param string $msg message being emailed
1509
+ * @return void
1510
+ * @since 5.1.00
1511
+ */
1512
+ function wplcmail($reply_to,$reply_to_name,$subject,$msg) {
1513
+
1514
+ $upload_dir = wp_upload_dir();
1515
+
1516
+ $wplc_pro_settings = get_option("WPLC_SETTINGS");
1517
+ if(isset($wplc_pro_settings['wplc_pro_chat_email_address'])){
1518
+ $email_address = $wplc_pro_settings['wplc_pro_chat_email_address'];
1519
+ }else{
1520
+ $email_address = get_option('admin_email');
1521
+ }
1522
+
1523
+ $email_address = explode(',', $email_address);
1524
+
1525
+ if(get_option("wplc_mail_type") == "wp_mail" || !get_option('wplc_mail_type')){
1526
+ $headers[] = 'Content-type: text/html';
1527
+ $headers[] = 'Reply-To: '.$reply_to_name.'<'.$reply_to.'>';
1528
+ if($email_address){
1529
+ foreach($email_address as $email){
1530
+ /* Send offline message to each email address */
1531
+ $overbody = apply_filters("wplc_filter_mail_body",$subject,$msg);
1532
+ if (!wp_mail($email, $subject, $overbody, $headers)) {
1533
+ $handle = fopen($upload_dir['basedir'].'/wp_livechat_error_log.txt', 'a');
1534
+ $error = date("Y-m-d H:i:s") . " WP-Mail Failed to send \n";
1535
+ @fwrite($handle, $error);
1536
+ }
1537
+ }
1538
+ }
1539
+ // $to = $wplc_pro_settings['wplc_pro_chat_email_address'];
1540
+ return;
1541
+ } else {
1542
+
1543
+
1544
+
1545
+ //require 'phpmailer/PHPMailerAutoload.php';
1546
+ $wplc_pro_settings = get_option("WPLC_PRO_SETTINGS");
1547
+ $host = get_option('wplc_mail_host');
1548
+ $port = get_option('wplc_mail_port');
1549
+ $username = get_option("wplc_mail_username");
1550
+ $password = get_option("wplc_mail_password");
1551
+ if($host && $port && $username && $password){
1552
+ //Create a new PHPMailer instance
1553
+
1554
+ global $phpmailer;
1555
+
1556
+ // (Re)create it, if it's gone missing
1557
+ if ( ! ( $phpmailer instanceof PHPMailer ) ) {
1558
+ require_once ABSPATH . WPINC . '/class-phpmailer.php';
1559
+ require_once ABSPATH . WPINC . '/class-smtp.php';
1560
+ $mail = new PHPMailer( true );
1561
+ }
1562
+
1563
+
1564
+
1565
+ //$mail = new PHPMailer();
1566
+
1567
+
1568
+ $mail->isSMTP();
1569
+ //Enable SMTP debugging
1570
+ // 0 = off (for production use)
1571
+ // 1 = client messages
1572
+ // 2 = client and server messages
1573
+ $mail->SMTPDebug = 0;
1574
+ //Ask for HTML-friendly debug output
1575
+ $mail->Debugoutput = 'html';
1576
+ //Set the hostname of the mail server
1577
+ $mail->Host = $host;
1578
+ //Set the SMTP port number - likely to be 25, 26, 465 or 587
1579
+ $mail->Port = $port;
1580
+ //Set the encryption system to use - ssl (deprecated) or tls
1581
+ if($port == "587"){
1582
+ $mail->SMTPSecure = 'tls';
1583
+ } else if($port == "465"){
1584
+ $mail->SMTPSecure = 'ssl';
1585
+ }
1586
+
1587
+ // Empty out the values that may be set
1588
+ $mail->ClearAllRecipients();
1589
+ $mail->ClearAttachments();
1590
+ $mail->ClearCustomHeaders();
1591
+ $mail->ClearReplyTos();
1592
+
1593
+
1594
+ //Whether to use SMTP authentication
1595
+ $mail->SMTPAuth = true;
1596
+ //Username to use for SMTP authentication
1597
+ $mail->Username = $username;
1598
+ //Password to use for SMTP authentication
1599
+ $mail->Password = $password;
1600
+ //Set who the message is to be sent from
1601
+ $mail->setFrom($reply_to, $reply_to_name);
1602
+ //Set who the message is to be sent to
1603
+ if($email_address){
1604
+ foreach($email_address as $email){
1605
+ $mail->addAddress($email);
1606
+ }
1607
+ }
1608
+ //Set the subject line
1609
+ $mail->Subject = $subject;
1610
+ //Read an HTML message body from an external file, convert referenced images to embedded,
1611
+ //convert HTML into a basic plain-text alternative body
1612
+ $body = apply_filters("wplc_filter_mail_body",$subject,$msg);
1613
+ $mail->msgHTML($body);
1614
+ //Replace the plain text body with one created manually
1615
+ $mail->AltBody = $msg;
1616
+
1617
+
1618
+ //send the message, check for errors
1619
+ if (!$mail->send()) {
1620
+ $handle = fopen($upload_dir['basedir'].'/wp_livechat_error_log.txt', 'a');
1621
+ $error = date("Y-m-d H:i:s")." ".$mail->ErrorInfo." \n";
1622
+ @fwrite($handle, $error);
1623
+ }
1624
+ return;
1625
+ }
1626
+ }
1627
+ }
1628
+ /**
1629
+ * Sends offline messages to the admin (normally via ajax)
1630
+ * @param string $name Name of the user
1631
+ * @param string $email Email of the user
1632
+ * @param string $msg The message being sent to the admin
1633
+ * @param int $cid Chat ID
1634
+ * @return void
1635
+ */
1636
+ function wplc_send_offline_msg($name,$email,$msg,$cid) {
1637
+ $subject = apply_filters("wplc_offline_message_subject_filter", __("WP Live Chat Support - Offline Message from ", "wplivechat") ) . "$name";
1638
+ $msg = __("Name", "wplivechat").": $name \n".
1639
+ __("Email", "wplivechat").": $email\n".
1640
+ __("Message", "wplivechat").": $msg\n\n".
1641
+ __("Via WP Live Chat Support", "wplivechat");
1642
+ wplcmail($email,$name, $subject, $msg);
1643
+ return;
1644
+ }
1645
+
1646
+
1647
+ /**
1648
+ * Saves offline messages to the database
1649
+ * @param string $name User name
1650
+ * @param string $email User email
1651
+ * @param string $message Message being saved
1652
+ * @return Void
1653
+ * @since 5.1.00
1654
+ */
1655
+ function wplc_store_offline_message($name, $email, $message){
1656
+ global $wpdb;
1657
+ global $wplc_tblname_offline_msgs;
1658
+
1659
+ $wplc_settings = get_option('WPLC_SETTINGS');
1660
+
1661
+ /** DEPRECATED BY GDPR */
1662
+ /**if(isset($wplc_settings['wplc_record_ip_address']) && $wplc_settings['wplc_record_ip_address'] == 1){
1663
+ if(isset($_SERVER['HTTP_X_FORWARDED_FOR']) && $_SERVER['HTTP_X_FORWARDED_FOR'] != '') {
1664
+ $ip_address = sanitize_text_field($_SERVER['HTTP_X_FORWARDED_FOR']);
1665
+ } else {
1666
+ $ip_address = sanitize_text_field($_SERVER['REMOTE_ADDR']);
1667
+ }
1668
+ $offline_ip_address = $ip_address;
1669
+ } else {
1670
+ $offline_ip_address = "";
1671
+ }*/
1672
+
1673
+ $offline_ip_address = "";
1674
+
1675
+
1676
+ $ins_array = array(
1677
+ 'timestamp' => current_time('mysql'),
1678
+ 'name' => sanitize_text_field($name),
1679
+ 'email' => sanitize_email($email),
1680
+ 'message' => implode( "\n", array_map( 'sanitize_text_field', explode( "\n", $message ) ) ),
1681
+ 'ip' => sanitize_text_field($offline_ip_address),
1682
+ 'user_agent' => sanitize_text_field($_SERVER['HTTP_USER_AGENT'])
1683
+ );
1684
+
1685
+ $rows_affected = $wpdb->insert( $wplc_tblname_offline_msgs, $ins_array );
1686
+ return;
1687
+ }
1688
+ /**
1689
+ * Send what we have found as a system notification
1690
+ */
1691
+ function wplc_send_welcome($cid,$wplc_settings) {
1692
+
1693
+ if (!isset($wplc_settings['wplc_welcome_msg'])) { $wplc_settings['wplc_welcome_msg'] = __("Please standby for an agent. While you wait for the agent you may type your message.","wplivechat"); }
1694
+ $mdata = array(
1695
+ 'msg' => $wplc_settings['wplc_welcome_msg']
1696
+ );
1697
+ wplc_record_chat_notification('await_agent',$cid,$mdata);
1698
+ return;
1699
+
1700
+ }
1701
+
1702
+
1703
+ function wplc_user_initiate_chat($name,$email,$cid = null,$session) {
1704
+
1705
+ global $wpdb;
1706
+ global $wplc_tblname_chats;
1707
+
1708
+
1709
+ $wplc_settings = get_option('WPLC_SETTINGS');
1710
+
1711
+ /** DEPRECATED BY GDPR */
1712
+ /*if(isset($wplc_settings['wplc_record_ip_address']) && $wplc_settings['wplc_record_ip_address'] == 1){
1713
+ if(isset($_SERVER['HTTP_X_FORWARDED_FOR']) && $_SERVER['HTTP_X_FORWARDED_FOR'] != '') {
1714
+ $ip_address = sanitize_text_field($_SERVER['HTTP_X_FORWARDED_FOR']);
1715
+ } else {
1716
+ $ip_address = sanitize_text_field($_SERVER['REMOTE_ADDR']);
1717
+ }
1718
+ $user_data = array(
1719
+ 'ip' => $ip_address,
1720
+ 'user_agent' => sanitize_text_field($_SERVER['HTTP_USER_AGENT'])
1721
+ );
1722
+ $wplc_ce_ip = $ip_address;
1723
+ } else {
1724
+ $user_data = array(
1725
+ 'ip' => "",
1726
+ 'user_agent' => sanitize_text_field($_SERVER['HTTP_USER_AGENT'])
1727
+ );
1728
+ $wplc_ce_ip = null;
1729
+ }*/
1730
+
1731
+ $user_data = array(
1732
+ 'ip' => "",
1733
+ 'user_agent' => sanitize_text_field($_SERVER['HTTP_USER_AGENT'])
1734
+ );
1735
+ $wplc_ce_ip = null;
1736
+
1737
+ if(function_exists('wplc_ce_activate')){
1738
+ /* Log the chat for statistical purposes as well */
1739
+ if(function_exists('wplc_ce_record_initial_chat')){
1740
+ wplc_ce_record_initial_chat($name, $email, $cid, $wplc_ce_ip, sanitize_text_field($_SERVER['HTTP_REFERER']));
1741
+ }
1742
+ }
1743
+
1744
+ if ($cid != null) {
1745
+ /* change from a visitor to a chat */
1746
+
1747
+ /**
1748
+ * This helps us identify if this user needs to be answered. The user can start typing so long but an agent still needs to answer the chat
1749
+ * @var serialized array
1750
+ */
1751
+ $chat_data = wplc_get_chat_data($cid,__LINE__);
1752
+
1753
+ if (isset($chat_data->other)) {
1754
+ $other_data = maybe_unserialize( $chat_data->other );
1755
+ $other_data['unanswered'] = true;
1756
+
1757
+ $other_data = apply_filters("wplc_start_chat_hook_other_data_hook", $other_data);
1758
+ if (!isset($other_data['welcome'])) {
1759
+ //wplc_send_welcome($cid,$wplc_settings);
1760
+ $other_data['welcome'] = true;
1761
+ }
1762
+
1763
+ } else {
1764
+ //wplc_send_welcome($cid,$wplc_settings);
1765
+ $other_data = array();
1766
+ $other_data['welcome'] = true;
1767
+
1768
+ }
1769
+
1770
+
1771
+ $wpdb->update(
1772
+ $wplc_tblname_chats,
1773
+ array(
1774
+ 'status' => 2,
1775
+ 'timestamp' => current_time('mysql'),
1776
+ 'name' => $name,
1777
+ 'email' => $email,
1778
+ 'session' => $session,
1779
+ 'ip' => maybe_serialize($user_data),
1780
+ 'url' => sanitize_text_field($_SERVER['HTTP_REFERER']),
1781
+ 'last_active_timestamp' => current_time('mysql'),
1782
+ 'other' => maybe_serialize($other_data)
1783
+ ),
1784
+ array('id' => $cid),
1785
+ array(
1786
+ '%d',
1787
+ '%s',
1788
+ '%s',
1789
+ '%s',
1790
+ '%s',
1791
+ '%s',
1792
+ '%s',
1793
+ '%s',
1794
+ '%s'
1795
+ ),
1796
+ array('%d')
1797
+ );
1798
+
1799
+ do_action("wplc_hook_initiate_chat",array("cid" => $cid, "name" => $name, "email" => $email));
1800
+
1801
+ do_action("wplc_start_chat_hook_after_data_insert", $cid);
1802
+ return $cid;
1803
+ }
1804
+ else {
1805
+ $other_data = array();
1806
+ $other_data['unanswered'] = true;
1807
+
1808
+ $other_data = apply_filters("wplc_start_chat_hook_other_data_hook", $other_data);
1809
+
1810
+
1811
+
1812
+ $wpdb->insert(
1813
+ $wplc_tblname_chats,
1814
+ array(
1815
+ 'status' => 2,
1816
+ 'timestamp' => current_time('mysql'),
1817
+ 'name' => $name,
1818
+ 'email' => $email,
1819
+ 'session' => $session,
1820
+ 'ip' => maybe_serialize($user_data),
1821
+ 'url' => sanitize_text_field($_SERVER['HTTP_REFERER']),
1822
+ 'last_active_timestamp' => current_time('mysql'),
1823
+ 'other' => maybe_serialize($other_data)
1824
+ ),
1825
+ array(
1826
+ '%s',
1827
+ '%s',
1828
+ '%s',
1829
+ '%s',
1830
+ '%s',
1831
+ '%s',
1832
+ '%s',
1833
+ '%s',
1834
+ '%s'
1835
+ )
1836
+ );
1837
+
1838
+
1839
+ $lastid = $wpdb->insert_id;
1840
+
1841
+
1842
+
1843
+
1844
+ /* Nick: moved from top of function to bottom of function to try speed up the process of accepting the chart - version 7 */
1845
+ if (function_exists("wplc_list_chats_pro")) { /* check if functions-pro is around */
1846
+ wplc_pro_notify_via_email();
1847
+ }
1848
+
1849
+ do_action("wplc_start_chat_hook_after_data_insert", $lastid);
1850
+ return $lastid;
1851
+ }
1852
+
1853
+ }
1854
+
1855
+
1856
+
1857
+ function wplc_get_msg() {
1858
+ return "<a href=\"javascript:void(0);\" class=\"wplc_second_chat_request button button-primary\" style='cursor:not-allowed' title=\"".__("Get Pro Add-on to accept more chats","wplivechat")."\" target=\"_BLANK\">".__("Accept Chat","wplivechat")."</a>";
1859
+ }
1860
+ function wplc_update_chat_statuses() {
1861
+ global $wpdb;
1862
+ global $wplc_tblname_chats;
1863
+ $results = $wpdb->get_results(
1864
+ "
1865
+ SELECT *
1866
+ FROM $wplc_tblname_chats
1867
+ WHERE `status` = '2' OR `status` = '3' OR `status` = '5' or `status` = '8' or `status` = '9' or `status` = '10' or `status` = 12
1868
+ "
1869
+ );
1870
+ foreach ($results as $result) {
1871
+ $id = $result->id;
1872
+ $timestamp = strtotime($result->last_active_timestamp);
1873
+ $datenow = current_time('timestamp');
1874
+ $difference = $datenow - $timestamp;
1875
+
1876
+
1877
+
1878
+ if (intval($result->status) == 2) {
1879
+ if ($difference >= 30) { // 60 seconds max
1880
+ wplc_change_chat_status($id,12);
1881
+ }
1882
+ }
1883
+ else if (intval($result->status) == 12) {
1884
+ if ($difference >= 30) { // 30 seconds max
1885
+ wplc_change_chat_status($id,0);
1886
+ }
1887
+ }
1888
+ else if (intval($result->status) == 3) {
1889
+ if ($difference >= 300) { // 5 minutes
1890
+ wplc_change_chat_status($id,1);
1891
+ }
1892
+ }
1893
+ else if (intval($result->status) == 5) {
1894
+ if ($difference >= 120) { // 2 minute timeout
1895
+ wplc_change_chat_status($id,7); // 7 - timedout
1896
+ }
1897
+ } else if(intval($result->status) == 8){ // chat is complete but user is still browsing
1898
+ if ($difference >= 45) { // 30 seconds
1899
+ wplc_change_chat_status($id,1); // 1 - chat is now complete
1900
+ }
1901
+ } else if(intval($result->status) == 9 || $result->status == 10){
1902
+ if ($difference >= 120) { // 120 seconds
1903
+ wplc_change_chat_status($id,7); // 7 - timedout
1904
+ }
1905
+ }
1906
+ }
1907
+ }
1908
+ function wplc_check_pending_chats(){
1909
+ global $wpdb;
1910
+ global $wplc_tblname_chats;
1911
+ $sql = "SELECT * FROM `$wplc_tblname_chats` WHERE `status` = 2";
1912
+ $wpdb->query($sql);
1913
+ $results = $wpdb->get_results($sql);
1914
+ if($results){
1915
+ foreach ($results as $result) {
1916
+ $other = maybe_unserialize($result->other);
1917
+ if (isset($other['unanswered'])) {
1918
+ return true;
1919
+ }
1920
+ }
1921
+
1922
+ }
1923
+ return false;
1924
+ }
1925
+ function wplc_get_active_and_pending_chats(){
1926
+ global $wpdb;
1927
+ global $wplc_tblname_chats;
1928
+ $sql = "SELECT * FROM `$wplc_tblname_chats` WHERE `status` = 2 OR `status` = 3 ORDER BY `status`";
1929
+ $results = $wpdb->get_results($sql);
1930
+ if($results){
1931
+ return $results;
1932
+ } else {
1933
+ return false;
1934
+ }
1935
+ }
1936
+ function wplc_convert_array_to_string($array){
1937
+ $string = "";
1938
+ if($array){
1939
+ foreach($array as $value){
1940
+ $string.= $value->id." ;";
1941
+ }
1942
+ } else {
1943
+ $string = false;
1944
+ }
1945
+ return $string;
1946
+ }
1947
+
1948
+ function wplc_return_browser_image($string,$size) {
1949
+ switch($string) {
1950
+
1951
+ case "Internet Explorer":
1952
+ return "internet-explorer_".$size."x".$size.".png";
1953
+ break;
1954
+ case "Mozilla Firefox":
1955
+ return "firefox_".$size."x".$size.".png";
1956
+ break;
1957
+ case "Opera":
1958
+ return "opera_".$size."x".$size.".png";
1959
+ break;
1960
+ case "Google Chrome":
1961
+ return "chrome_".$size."x".$size.".png";
1962
+ break;
1963
+ case "Safari":
1964
+ return "safari_".$size."x".$size.".png";
1965
+ break;
1966
+ case "Other browser":
1967
+ return "web_".$size."x".$size.".png";
1968
+ break;
1969
+ default:
1970
+ return "web_".$size."x".$size.".png";
1971
+ break;
1972
+ }
1973
+
1974
+
1975
+ }
1976
+ function wplc_return_browser_string($user_agent) {
1977
+ if(strpos($user_agent, 'MSIE') !== FALSE)
1978
+ return 'Internet Explorer';
1979
+ elseif(strpos($user_agent, 'Trident') !== FALSE) //For Supporting IE 11
1980
+ return 'Internet Explorer';
1981
+ elseif(strpos($user_agent, 'Edge') !== FALSE)
1982
+ return 'Internet Explorer';
1983
+ elseif(strpos($user_agent, 'Firefox') !== FALSE)
1984
+ return 'Mozilla Firefox';
1985
+ elseif(strpos($user_agent, 'Chrome') !== FALSE)
1986
+ return 'Google Chrome';
1987
+ elseif(strpos($user_agent, 'Opera Mini') !== FALSE)
1988
+ return "Opera";
1989
+ elseif(strpos($user_agent, 'Opera') !== FALSE)
1990
+ return "Opera";
1991
+ elseif(strpos($user_agent, 'Safari') !== FALSE)
1992
+ return "Safari";
1993
+ else
1994
+ return 'Other browser';
1995
+ }
1996
+
1997
+ function wplc_error_directory() {
1998
+ $upload_dir = wp_upload_dir();
1999
+
2000
+ if (is_multisite()) {
2001
+ if (!file_exists($upload_dir['basedir'].'/wp-live-chat-support')) {
2002
+ wp_mkdir_p($upload_dir['basedir'].'/wp-live-chat-support');
2003
+ $content = "Error log created";
2004
+ $fp = @fopen($upload_dir['basedir'].'/wp-live-chat-support/error_log.txt','w+');
2005
+ @fwrite($fp,$content);
2006
+ }
2007
+ } else {
2008
+ if (!file_exists($upload_dir['basedir'] .'/wp-live-chat-support')) {
2009
+ wp_mkdir_p($upload_dir['basedir'] . '/wp-live-chat-support');
2010
+ $content = "Error log created";
2011
+ $fp = @fopen($upload_dir['basedir'] . '/wp-live-chat-support/error_log.txt','w+');
2012
+ @fwrite($fp,$content);
2013
+ }
2014
+
2015
+ }
2016
+ return true;
2017
+
2018
+ }
2019
+
2020
+ function wplc_error_log($error) {
2021
+ return;
2022
+ $upload_dir = wp_upload_dir();
2023
+ $content = "\r\n[".date("Y-m-d")."] [".date("H:i:s")."]".$error;
2024
+ $fp = @fopen($upload_dir['basedir'].'/wp-live-chat-support/error_log.txt','a+');
2025
+ @fwrite($fp,$content);
2026
+ @fclose($fp);
2027
+
2028
+
2029
+ }
2030
+ function Memory_Usage($decimals = 2) {
2031
+ $result = 0;
2032
+
2033
+ if (function_exists('memory_get_usage')) {
2034
+ $result = memory_get_usage() / 1024;
2035
+ }
2036
+
2037
+ else {
2038
+ if (function_exists('exec')) {
2039
+ $output = array();
2040
+
2041
+ if (substr(strtoupper(PHP_OS), 0, 3) == 'WIN') {
2042
+ exec('tasklist /FI "PID eq ' . getmypid() . '" /FO LIST', $output);
2043
+
2044
+ $result = preg_replace('/[\D]/', '', $output[5]);
2045
+ }
2046
+
2047
+ else {
2048
+ exec('ps -eo%mem,rss,pid | grep ' . getmypid(), $output);
2049
+
2050
+ $output = explode(' ', $output[0]);
2051
+
2052
+ $result = $output[1];
2053
+ }
2054
+ }
2055
+ }
2056
+
2057
+ return number_format(intval($result) / 1024, $decimals, '.', '')." mb";
2058
+ }
2059
+ function wplc_get_memory_usage() {
2060
+ $size = memory_get_usage(true);
2061
+ $unit=array('b','kb','mb','gb','tb','pb');
2062
+ return @round($size/pow(1024,($i=floor(log($size,1024)))),2).' '.$unit[$i];
2063
+
2064
+ }
2065
+ function wplc_record_mem() {
2066
+ $upload_dir = wp_upload_dir();
2067
+ $data = array(
2068
+ 'date' => current_time('mysql'),
2069
+ 'php_mem' => wplc_get_memory_usage()
2070
+ );
2071
+ $fp = @fopen($upload_dir['basedir'].'/wp-live-chat-support'."/mem_usag.csv","a+");
2072
+ fputcsv($fp, $data);
2073
+ fclose($fp);
2074
+ }
2075
+
2076
+ function wplc_admin_display_missed_chats() {
2077
+
2078
+ global $wpdb;
2079
+ global $wplc_tblname_chats;
2080
+
2081
+
2082
+ if(isset($_GET['wplc_action']) && $_GET['wplc_action'] == 'remove_missed_cid'){
2083
+ if(isset($_GET['cid'])){
2084
+ if(isset($_GET['wplc_confirm'])){
2085
+ //Confirmed - delete
2086
+ $delete_sql = "";
2087
+ if ( empty( $_GET['cid'] ) ) {
2088
+ exit('No CID?');
2089
+ }
2090
+ $delete_sql = "DELETE FROM $wplc_tblname_chats WHERE `id` = '".intval( sanitize_text_field( $_GET['cid'] ) )."' LIMIT 1";
2091
+
2092
+ $wpdb->query($delete_sql);
2093
+ if ($wpdb->last_error) {
2094
+ echo "<div class='update-nag' style='margin-top: 0px;margin-bottom: 5px;'>
2095
+ ".__("Error: Could not delete chat", "wplivechat")."<br>
2096
+ </div>";
2097
+ } else {
2098
+ echo "<div class='update-nag' style='margin-top: 0px;margin-bottom: 5px;border-color:#67d552;'>
2099
+ ".__("Chat Deleted", "wplivechat")."<br>
2100
+ </div>";
2101
+ }
2102
+
2103
+ } else {
2104
+ //Prompt
2105
+ echo "<div class='update-nag' style='margin-top: 0px;margin-bottom: 5px;'>
2106
+ ".__("Are you sure you would like to delete this chat?", "wplivechat")."<br>
2107
+ <a class='button' href='?page=wplivechat-menu-missed-chats&wplc_action=remove_missed_cid&cid=".$_GET['cid']."&wplc_confirm=1''>".__("Yes", "wplivechat")."</a> <a class='button' href='?page=wplivechat-menu-missed-chats'>".__("No", "wplivechat")."</a>
2108
+ </div>";
2109
+ }
2110
+ }
2111
+ }
2112
+
2113
+ echo "
2114
+ <table class=\"wp-list-table widefat fixed \" cellspacing=\"0\">
2115
+ <thead>
2116
+ <tr>
2117
+ <th class='manage-column column-id'><span>" . __("Date", "wplivechat") . "</span></th>
2118
+ <th scope='col' id='wplc_name_colum' class='manage-column column-id'><span>" . __("Name", "wplivechat") . "</span></th>
2119
+ <th scope='col' id='wplc_email_colum' class='manage-column column-id'>" . __("Email", "wplivechat") . "</th>
2120
+ <th scope='col' id='wplc_url_colum' class='manage-column column-id'>" . __("URL", "wplivechat") . "</th>
2121
+ <th scope='col' id='wplc_url_colum' class='manage-column column-id'>" . __("Action", "wplivechat") . "</th>
2122
+ </tr>
2123
+ </thead>
2124
+ <tbody id=\"the-list\" class='list:wp_list_text_link'>";
2125
+
2126
+ $pagenum = isset( $_GET['pagenum'] ) ? absint( $_GET['pagenum'] ) : 1;
2127
+ $limit = 20; // number of rows in page
2128
+ $offset = ( $pagenum - 1 ) * $limit;
2129
+ if (function_exists("wplc_register_pro_version")) {
2130
+ $total = $wpdb->get_var( "SELECT COUNT(`id`) FROM $wplc_tblname_chats WHERE (`status` = 0 OR `agent_id` = 0)" );
2131
+ } else {
2132
+ $total = $wpdb->get_var( "SELECT COUNT(`id`) FROM $wplc_tblname_chats WHERE `status` = 0" );
2133
+ }
2134
+ $num_of_pages = ceil( $total / $limit );
2135
+
2136
+ if (function_exists("wplc_register_pro_version")) {
2137
+ $sql = "SELECT * FROM $wplc_tblname_chats WHERE (`status` = 0 OR `agent_id` = 0) ORDER BY `timestamp` DESC LIMIT $limit OFFSET $offset";
2138
+ } else {
2139
+ $sql = "SELECT * FROM $wplc_tblname_chats WHERE `status` = 0 ORDER BY `timestamp` DESC LIMIT $limit OFFSET $offset";
2140
+ }
2141
+
2142
+ $results = $wpdb->get_results($sql);
2143
+
2144
+ if (!$results) {
2145
+ echo "<tr><td></td><td>" . __("You have not missed any chat requests.", "wplivechat") . "</td></tr>";
2146
+ } else {
2147
+ foreach ($results as $result) {
2148
+
2149
+ $url = admin_url('admin.php?page=wplivechat-menu&action=history&cid=' . $result->id);
2150
+ $url2 = admin_url('admin.php?page=wplivechat-menu&action=download_history&type=csv&cid=' . $result->id);
2151
+ $url3 = "?page=wplivechat-menu-missed-chats&wplc_action=remove_missed_cid&cid=" . $result->id;
2152
+ $actions = "
2153
+ <a href='$url' class='button' title='".__('View Chat History', 'wplivechat')."' target='_BLANK' id=''><i class='fa fa-eye'></i></a> <a href='$url2' class='button' title='".__('Download Chat History', 'wplivechat')."' target='_BLANK' id=''><i class='fa fa-download'></i></a> <a href='$url3' class='button'><i class='fa fa-trash-o'></i></a>
2154
+ ";
2155
+
2156
+ echo "<tr id=\"record_" . $result->id . "\">";
2157
+ echo "<td class='chat_id column-chat_d'>" . sanitize_text_field($result->timestamp) . "</td>";
2158
+ echo "<td class='chat_name column_chat_name' id='chat_name_" . $result->id . "'><img src=\"//www.gravatar.com/avatar/" . md5($result->email) . "?s=30&d=mm\" class='wplc-user-message-avatar' /> " . sanitize_text_field($result->name) . "</td>";
2159
+ echo "<td class='chat_email column_chat_email' id='chat_email_" . $result->id . "'><a href='mailto:" . sanitize_text_field($result->email) . "' title='Email " . ".$result->email." . "'>" . sanitize_text_field($result->email) . "</a></td>";
2160
+ echo "<td class='chat_name column_chat_url' id='chat_url_" . $result->id . "'>" . esc_url($result->url) . "</td>";
2161
+ echo "<td class='chat_name column_chat_url'>".$actions."</td>";
2162
+ echo "</tr>";
2163
+ }
2164
+ }
2165
+
2166
+ echo "
2167
+ </tbody>
2168
+ </table>";
2169
+
2170
+ $page_links = paginate_links( array(
2171
+ 'base' => add_query_arg( 'pagenum', '%#%' ),
2172
+ 'format' => '',
2173
+ 'prev_text' => __( '&laquo;', 'wplivechat' ),
2174
+ 'next_text' => __( '&raquo;', 'wplivechat' ),
2175
+ 'total' => $num_of_pages,
2176
+ 'current' => $pagenum
2177
+ ) );
2178
+
2179
+ if ( $page_links ) {
2180
+ echo '<div class="tablenav"><div class="tablenav-pages" style="margin: 1em 0;float:none;text-align:center;">' . $page_links . '</div></div>';
2181
+ }
2182
+ }
2183
+
2184
+
2185
+ /**
2186
+ * Compares the users IP address to the list in the banned IPs in the settings page
2187
+ * @return BOOL
2188
+ */
2189
+ function wplc_is_user_banned_basic(){
2190
+ $banned_ip = get_option('WPLC_BANNED_IP_ADDRESSES');
2191
+ if($banned_ip){
2192
+ $banned_ip = maybe_unserialize($banned_ip);
2193
+ $banned = 0;
2194
+ if (is_array($banned_ip)) {
2195
+ foreach($banned_ip as $ip){
2196
+
2197
+ if(isset($_SERVER['HTTP_X_FORWARDED_FOR']) && $_SERVER['HTTP_X_FORWARDED_FOR'] != '') {
2198
+ $ip_address = $_SERVER['HTTP_X_FORWARDED_FOR'];
2199
+ } else {
2200
+ $ip_address = $_SERVER['REMOTE_ADDR'];
2201
+ }
2202
+
2203
+ if(isset($ip_address)){
2204
+ if($ip == $ip_address){
2205
+ $banned++;
2206
+ }
2207
+ } else {
2208
+ $banned = 0;
2209
+ }
2210
+ }
2211
+ } else {
2212
+ return 0;
2213
+ }
2214
+ } else {
2215
+ $banned = 0;
2216
+ }
2217
+ return $banned;
2218
+ }
2219
+
2220
+
2221
+
2222
+
2223
+ function wplc_return_animations_basic(){
2224
+
2225
+ $wplc_settings = get_option("WPLC_SETTINGS");
2226
+
2227
+ if ($wplc_settings["wplc_settings_align"] == 1) {
2228
+ $original_pos = "bottom_left";
2229
+ //$wplc_box_align = "left:100px; bottom:0px;";
2230
+ $wplc_box_align = "bottom:0px;";
2231
+ } else if ($wplc_settings["wplc_settings_align"] == 2) {
2232
+ $original_pos = "bottom_right";
2233
+ //$wplc_box_align = "right:100px; bottom:0px;";
2234
+ $wplc_box_align = "bottom:0px;";
2235
+ } else if ($wplc_settings["wplc_settings_align"] == 3) {
2236
+ $original_pos = "left";
2237
+ // $wplc_box_align = "left:0; bottom:100px;";
2238
+ $wplc_box_align = " bottom:100px;";
2239
+ $wplc_class = "wplc_left";
2240
+ } else if ($wplc_settings["wplc_settings_align"] == 4) {
2241
+ $original_pos = "right";
2242
+ // $wplc_box_align = "right:0; bottom:100px;";
2243
+ $wplc_box_align = "bottom:100px;";
2244
+ $wplc_class = "wplc_right";
2245
+ }
2246
+
2247
+ $animation_data = array();
2248
+
2249
+ if(isset($wplc_settings['wplc_animation']) && $wplc_settings['wplc_animation'] == 'animation-1'){
2250
+
2251
+ if($original_pos == 'bottom_right'){
2252
+ $wplc_starting_point = 'margin-bottom: -350px; right: 20px;';
2253
+ $wplc_animation = 'animation-1';
2254
+ } else if ($original_pos == 'bottom_left'){
2255
+ $wplc_starting_point = 'margin-bottom: -350px; left: 20px;';
2256
+ $wplc_animation = 'animation-1';
2257
+ } else if ($original_pos == 'left'){
2258
+ $wplc_starting_point = 'margin-bottom: -350px; left: 0px;';
2259
+ $wplc_box_align = "left:0; bottom:100px;";
2260
+ $wplc_animation = 'animation-1';
2261
+ } else if ($original_pos == 'right'){
2262
+ $wplc_starting_point = 'margin-bottom: -350px; right: 0px;';
2263
+ $wplc_animation = 'animation-1';
2264
+ $wplc_box_align = "right:0; bottom:100px;";
2265
+ }
2266
+
2267
+ $animation_data['animation'] = $wplc_animation;
2268
+ $animation_data['starting_point'] = $wplc_starting_point;
2269
+ $animation_data['box_align'] = $wplc_box_align;
2270
+
2271
+ } else if (isset($wplc_settings['wplc_animation']) && $wplc_settings['wplc_animation'] == 'animation-2'){
2272
+
2273
+ if($original_pos == 'bottom_right'){
2274
+ $wplc_starting_point = 'margin-bottom: 0px; right: -300px;';
2275
+ $wplc_animation = 'animation-2-br';
2276
+ } else if ($original_pos == 'bottom_left'){
2277
+ $wplc_starting_point = 'margin-bottom: 0px; left: -300px;';
2278
+ $wplc_animation = 'animation-2-bl';
2279
+ } else if ($original_pos == 'left'){
2280
+ $wplc_starting_point = 'margin-bottom: 0px; left: -999px;';
2281
+ $wplc_animation = 'animation-2-l';
2282
+ } else if ($original_pos == 'right'){
2283
+ $wplc_starting_point = 'margin-bottom: 0px; right: -999px;';
2284
+ $wplc_animation = 'animation-2-r';
2285
+ }
2286
+
2287
+ $animation_data['animation'] = $wplc_animation;
2288
+ $animation_data['starting_point'] = $wplc_starting_point;
2289
+ $animation_data['box_align'] = $wplc_box_align;
2290
+
2291
+ } else if (isset($wplc_settings['wplc_animation']) && $wplc_settings['wplc_animation'] == 'animation-3'){
2292
+
2293
+ $wplc_animation = 'animation-3';
2294
+
2295
+ if($original_pos == 'bottom_right'){
2296
+ $wplc_starting_point = 'margin-bottom: 0; right: 20px; display: none;';
2297
+ } else if ($original_pos == 'bottom_left'){
2298
+ $wplc_starting_point = 'margin-bottom: 0px; left: 20px; display: none;';
2299
+ } else if ($original_pos == 'left'){
2300
+ $wplc_starting_point = 'margin-bottom: 100px; left: 0px; display: none;';
2301
+ } else if ($original_pos == 'right'){
2302
+ $wplc_starting_point = 'margin-bottom: 100px; right: 0px; display: none;';
2303
+ }
2304
+
2305
+ $animation_data['animation'] = $wplc_animation;
2306
+ $animation_data['starting_point'] = $wplc_starting_point;
2307
+ $animation_data['box_align'] = $wplc_box_align;
2308
+
2309
+ } else if (isset($wplc_settings['wplc_animation']) && $wplc_settings['wplc_animation'] == 'animation-4'){
2310
+ // Dont use an animation
2311
+
2312
+ $wplc_animation = "animation-4";
2313
+
2314
+ if($original_pos == 'bottom_right'){
2315
+ $wplc_starting_point = 'margin-bottom: 0; right: 20px; display: none;';
2316
+ } else if ($original_pos == 'bottom_left'){
2317
+ $wplc_starting_point = 'margin-bottom: 0px; left: 20px; display: none;';
2318
+ } else if ($original_pos == 'left'){
2319
+ $wplc_starting_point = 'margin-bottom: 100px; left: 0px; display: none;';
2320
+ } else if ($original_pos == 'right'){
2321
+ $wplc_starting_point = 'margin-bottom: 100px; right: 0px; display: none;';
2322
+ }
2323
+
2324
+ $animation_data['animation'] = $wplc_animation;
2325
+ $animation_data['starting_point'] = $wplc_starting_point;
2326
+ $animation_data['box_align'] = $wplc_box_align;
2327
+
2328
+ } else {
2329
+
2330
+ if($original_pos == 'bottom_right'){
2331
+ $wplc_starting_point = 'margin-bottom: 0; right: 20px; display: none;';
2332
+ } else if ($original_pos == 'bottom_left'){
2333
+ $wplc_starting_point = 'margin-bottom: 0px; left: 20px; display: none;';
2334
+ } else if ($original_pos == 'left'){
2335
+ $wplc_starting_point = 'margin-bottom: 100px; left: 0px; display: none;';
2336
+ } else if ($original_pos == 'right'){
2337
+ $wplc_starting_point = 'margin-bottom: 100px; right: 0px; display: none;';
2338
+ }
2339
+
2340
+ $wplc_animation = 'none';
2341
+
2342
+ $animation_data['animation'] = $wplc_animation;
2343
+ $animation_data['starting_point'] = $wplc_starting_point;
2344
+ $animation_data['box_align'] = $wplc_box_align;
2345
+ }
2346
+
2347
+ return $animation_data;
2348
+ }
2349
+
2350
+
2351
+ add_action("wplc_advanced_settings_above_performance", "wplc_advanced_settings_above_performance_control", 10, 1);
2352
+ function wplc_advanced_settings_above_performance_control($wplc_settings){
2353
+ $elem_trig_action = isset($wplc_settings['wplc_elem_trigger_action']) ? $wplc_settings['wplc_elem_trigger_action'] : "0";
2354
+ $elem_trig_type = isset($wplc_settings['wplc_elem_trigger_type']) ? $wplc_settings['wplc_elem_trigger_type'] : "0";
2355
+ $elem_trig_id = isset($wplc_settings['wplc_elem_trigger_id']) ? $wplc_settings['wplc_elem_trigger_id'] : "";
2356
+
2357
+ echo "<tr>
2358
+ <td width='350'>
2359
+ ".__("Open chat window via", "wplivechat").":
2360
+ </td>
2361
+ <td>
2362
+ <select name='wplc_elem_trigger_action'>
2363
+ <option value='0' ".($elem_trig_action == "0" ? "selected" : "").">".__("Click", "wplivechat")."</option>
2364
+ <option value='1' ".($elem_trig_action == "1" ? "selected" : "").">".__("Hover", "wplivechat")."</option>
2365
+ </select>
2366
+ ".__("element with", "wplivechat").":
2367
+ <select name='wplc_elem_trigger_type'>
2368
+ <option value='0' ".($elem_trig_type == "0" ? "selected" : "").">".__("Class", "wplivechat")."</option>
2369
+ <option value='1' ".($elem_trig_type == "1" ? "selected" : "").">".__("ID", "wplivechat")."</option>
2370
+ </select>
2371
+ <input type='text' name='wplc_elem_trigger_id' value='".$elem_trig_id."'>
2372
+ </td>
2373
+ </tr>
2374
+ ";
2375
+ }
2376
+
2377
+ /**
2378
+ * Reverse of wplc_return_chat_id_by_rel
2379
+ */
2380
+ function wplc_return_chat_rel_by_id($cid) {
2381
+ global $wpdb;
2382
+ global $wplc_tblname_chats;
2383
+
2384
+ $results = $wpdb->get_results("SELECT * FROM $wplc_tblname_chats WHERE `id` = '$cid' LIMIT 1");
2385
+ if ($results) {
2386
+ foreach ($results as $result) {
2387
+ if (isset($result->rel)) {
2388
+ return $result->rel;
2389
+ } else {
2390
+ return $cid;
2391
+ }
2392
+ }
2393
+ } else {
2394
+ return $cid;
2395
+ }
2396
+
2397
+ }
2398
+
2399
+ /*
2400
+ * Returns total message count for a chat
2401
+ */
2402
+ function wplc_return_message_count_by_cid($cid) {
2403
+ global $wpdb;
2404
+ global $wplc_tblname_msgs;
2405
+
2406
+ $sql = "SELECT `id` FROM $wplc_tblname_msgs WHERE `chat_sess_id` = '$cid'";
2407
+ $results = $wpdb->get_results($sql);
2408
+
2409
+ $message_count = 0;
2410
+ foreach ($results as $result) {
2411
+ $message_count ++;
2412
+ }
2413
+
2414
+ return $message_count;
2415
+ }
2416
+
2417
+ function wplc_all_avatars() {
2418
+ $users = get_users(array(
2419
+ 'meta_key' => 'wplc_ma_agent',
2420
+ ));
2421
+ $avatars = array();
2422
+ foreach ($users as $user) {
2423
+ $avatars[$user->data->ID] = wplc_get_avatar($user->data->ID);
2424
+ }
2425
+ return $avatars;
2426
+ }
2427
+
2428
+ function wplc_get_avatar($id) {
2429
+ $wplc_settings = get_option("WPLC_SETTINGS");
2430
+ $user = get_user_by( 'id', $id );
2431
+
2432
+ if (isset($wplc_settings['wplc_avatar_source']) && $wplc_settings['wplc_avatar_source'] == 'gravatar') {
2433
+ return '//www.gravatar.com/avatar/' . md5( strtolower( trim( $user->data->user_email ) ) );
2434
+ } elseif (isset($wplc_settings['wplc_avatar_source']) && $wplc_settings['wplc_avatar_source'] == 'wp_avatar') {
2435
+ if (function_exists('get_wp_user_avatar')) {
2436
+ return get_wp_user_avatar_src($id);
2437
+ } else {
2438
+ return '//www.gravatar.com/avatar/' . md5( strtolower( trim( $user->data->user_email ) ) );
2439
+ }
2440
+ } else {
2441
+ return '//www.gravatar.com/avatar/' . md5( strtolower( trim( $user->data->user_email ) ) );
2442
+ }
2443
  }
includes/blocks/wplc-inline-chat-box/wplc_functions.js CHANGED
@@ -1,39 +1,39 @@
1
- jQuery(function($){
2
-
3
- var chat_box_button = '<div class="wplc_gutenberg_button active" style="background-color: #' + wplc_styles.color_1 + '; background-image: url(' + wplc_images.close_icon + ');"></div>';
4
- var chatbox_preview_img = '<img class="wplc_gutenberg_avatar_img" style="max-width:inherit;" id="agent_grav_' + wplc_agent_info.id + '" title="' + wplc_agent_info.name + '" src="https://www.gravatar.com/avatar/' + wplc_agent_info.email + '?s=60" />';
5
- var chatbox_preview_overlay_image = '<div class="wplc_gutenberg_overlay_image" style="background-image: url(\'https://www.gravatar.com/avatar/' + wplc_agent_info.email + '?s=60\');"></div>';
6
- var chat_box_content = chat_box_button + '<div class="wplc_gutenberg_chat_box"><div class="wplc_gutenberg_header" style="background-color: #' + wplc_styles.color_1 + ' !important;"><span class="wplc_gutenberg_avatar">' + chatbox_preview_img + chatbox_preview_overlay_image + '</span><span class="wplc_gutenberg_name">' + wplc_agent_info.name + '</span><span class="wplc_gutenberg_chevron dashicons dashicons-arrow-up-alt2"></span></div><div class="wplc_gutenberg_body" style="background-image: url(' + wplc_images.background_image + ');"></div><div class="wplc_gutenberg_text_box"><span class="wplc_gutenberg_typing">'+wplc_settings.wplc_typing+'</span></div></div>';
7
-
8
- // Update select fields on page load
9
- $('#wplc-inline-chat-box .wplc_selected_theme').each(function(){
10
- var id = $(this).html();
11
- $(this).closest('#wplc-inline-chat-box').find('.wplc_select_theme').val(id);
12
- });
13
-
14
- $('.wplc_gutenberg_preview').html(chat_box_content);
15
-
16
- $('.wplc_gutenberg_button').css('transform', 'rotate(90deg)');
17
-
18
- $(document).on('click', '.wplc_gutenberg_button', function(){
19
- $(this).toggleClass('active');
20
- if ($(this).hasClass('active')) {
21
- wplc_gutenberg_close_chat_box(this, wplc_images.open_icon )
22
- } else {
23
-
24
- wplc_gutenberg_open_chat_box(this, wplc_images.close_icon)
25
- }
26
- });
27
- });
28
-
29
- function wplc_gutenberg_open_chat_box(button, icon) {
30
- jQuery(button).css('background-image', 'url(' + icon + ')');
31
- jQuery(button).css('transform', 'rotate(90deg)');
32
- jQuery(button).closest('.wplc_gutenberg_preview').find('.wplc_gutenberg_chat_box').show();
33
- }
34
-
35
- function wplc_gutenberg_close_chat_box(button, icon) {
36
- jQuery(button).css('background-image', 'url(' + icon + ')');
37
- jQuery(button).css('transform', 'rotate(0deg)');
38
- jQuery(button).closest('.wplc_gutenberg_preview').find('.wplc_gutenberg_chat_box').hide();
39
  }
1
+ jQuery(function($){
2
+
3
+ var chat_box_button = '<div class="wplc_gutenberg_button active" style="background-color: #' + wplc_styles.color_1 + '; background-image: url(' + wplc_images.close_icon + ');"></div>';
4
+ var chatbox_preview_img = '<img class="wplc_gutenberg_avatar_img" style="max-width:inherit;" id="agent_grav_' + wplc_agent_info.id + '" title="' + wplc_agent_info.name + '" src="https://www.gravatar.com/avatar/' + wplc_agent_info.email + '?s=60&d=mm" />';
5
+ var chatbox_preview_overlay_image = '<div class="wplc_gutenberg_overlay_image" style="background-image: url(\'https://www.gravatar.com/avatar/' + wplc_agent_info.email + '?s=60&d=mm\');"></div>';
6
+ var chat_box_content = chat_box_button + '<div class="wplc_gutenberg_chat_box"><div class="wplc_gutenberg_header" style="background-color: #' + wplc_styles.color_1 + ' !important;"><span class="wplc_gutenberg_avatar">' + chatbox_preview_img + chatbox_preview_overlay_image + '</span><span class="wplc_gutenberg_name">' + wplc_agent_info.name + '</span><span class="wplc_gutenberg_chevron dashicons dashicons-arrow-up-alt2"></span></div><div class="wplc_gutenberg_body" style="background-image: url(' + wplc_images.background_image + ');"></div><div class="wplc_gutenberg_text_box"><span class="wplc_gutenberg_typing">'+wplc_settings.wplc_typing+'</span></div></div>';
7
+
8
+ // Update select fields on page load
9
+ $('#wplc-inline-chat-box .wplc_selected_theme').each(function(){
10
+ var id = $(this).html();
11
+ $(this).closest('#wplc-inline-chat-box').find('.wplc_select_theme').val(id);
12
+ });
13
+
14
+ $('.wplc_gutenberg_preview').html(chat_box_content);
15
+
16
+ $('.wplc_gutenberg_button').css('transform', 'rotate(90deg)');
17
+
18
+ $(document).on('click', '.wplc_gutenberg_button', function(){
19
+ $(this).toggleClass('active');
20
+ if ($(this).hasClass('active')) {
21
+ wplc_gutenberg_close_chat_box(this, wplc_images.open_icon )
22
+ } else {
23
+
24
+ wplc_gutenberg_open_chat_box(this, wplc_images.close_icon)
25
+ }
26
+ });
27
+ });
28
+
29
+ function wplc_gutenberg_open_chat_box(button, icon) {
30
+ jQuery(button).css('background-image', 'url(' + icon + ')');
31
+ jQuery(button).css('transform', 'rotate(90deg)');
32
+ jQuery(button).closest('.wplc_gutenberg_preview').find('.wplc_gutenberg_chat_box').show();
33
+ }
34
+
35
+ function wplc_gutenberg_close_chat_box(button, icon) {
36
+ jQuery(button).css('background-image', 'url(' + icon + ')');
37
+ jQuery(button).css('transform', 'rotate(0deg)');
38
+ jQuery(button).closest('.wplc_gutenberg_preview').find('.wplc_gutenberg_chat_box').hide();
39
  }
includes/settings_page.php CHANGED
@@ -1,1090 +1,1092 @@
1
- <style>
2
- .ui-tabs-vertical { }
3
- .ui-tabs-vertical .ui-tabs-nav {
4
- padding: .2em .1em .2em .2em;
5
- float: left;
6
- /* width: 10%; */
7
- max-width: 20%;
8
- min-width: 190px;
9
- }
10
- .ui-tabs-vertical .ui-tabs-nav li { clear: left; width: 100%; border-bottom-width: 1px !important; border-right-width: 0 !important; margin: 0 -1px .2em 0; }
11
- .ui-tabs-vertical .ui-tabs-nav li a { display:block; }
12
- .ui-tabs-vertical .ui-tabs-nav li.ui-tabs-active { padding-bottom: 0; padding-right: .1em; border-right-width: 1px; }
13
- .ui-tabs-vertical .ui-tabs-panel {
14
- /* padding: 1em; */
15
- float: left;
16
- min-width: 67%;
17
- max-width: 67%;
18
- }
19
- textarea, input[type='text'], input[type='email'], input[type='password']{ width: 100% !important; }
20
- </style>
21
-
22
- <?php
23
- /**
24
- * Removes the ajax loader and forces the settings page to load as is after 3 seconds.
25
- *
26
- * This has been put here to counter any PHP fatal warnings that may be experienced on the settings page.
27
- *
28
- * Putting this in the wplc_tabs.js file will not work as that file is not loaded if there is a PHP fatal error
29
- */
30
- ?>
31
- <script>
32
- setTimeout( function() {
33
- jQuery("#wplc_settings_page_loader").remove();
34
- jQuery(".wrap").css('display','block');
35
- jQuery(".wplc_settings_save_notice").css('display','block');
36
- },3000);
37
- </script>
38
-
39
- <?php wplc_stats("settings");
40
-
41
-
42
- if (function_exists("wplc_string_check")) { wplc_string_check(); }
43
- $wplc_settings = get_option("WPLC_SETTINGS");
44
-
45
- ?>
46
-
47
- <?php
48
- if (get_option("WPLC_HIDE_CHAT") == true) {
49
- $wplc_hide_chat = "checked";
50
- } else {
51
- $wplc_hide_chat = "";
52
- };
53
-
54
- ?>
55
- <img src='<?php echo WPLC_BASIC_PLUGIN_URL.'images/ajax-loader.gif'; ?>' id='wplc_settings_page_loader' style='display: block; margin: 20px auto;' />
56
- <div class="wrap wplc_wrap" style='display: none;'>
57
-
58
- <style>
59
- .wplc_light_grey{
60
- color: #666;
61
- }
62
- </style>
63
- <div id="icon-edit" class="icon32 icon32-posts-post">
64
- <br>
65
- </div>
66
- <h2><?php _e("WP Live Chat Support Settings","wplivechat")?></h2>
67
- <?php
68
-
69
- $wplc_mail_type = get_option("wplc_mail_type");
70
- if (!isset($wplc_mail_type) || $wplc_mail_type == "" || !$wplc_mail_type) { $wplc_mail_type = "wp_mail"; }
71
- if (isset($wplc_settings["wplc_settings_align"])) { $wplc_settings_align[intval($wplc_settings["wplc_settings_align"])] = "SELECTED"; }
72
- if (isset($wplc_settings["wplc_settings_enabled"])) { $wplc_settings_enabled[intval($wplc_settings["wplc_settings_enabled"])] = "SELECTED"; }
73
- if (isset($wplc_settings["wplc_settings_fill"])) { $wplc_settings_fill = $wplc_settings["wplc_settings_fill"]; } else { $wplc_settings_fill = "ed832f"; }
74
- if (isset($wplc_settings["wplc_settings_font"])) { $wplc_settings_font = $wplc_settings["wplc_settings_font"]; } else { $wplc_settings_font = "FFFFFF"; }
75
- if (isset($wplc_settings["wplc_settings_color1"])) { $wplc_settings_color1 = $wplc_settings["wplc_settings_color1"]; } else { $wplc_settings_color1 = "ED832F"; }
76
- if (isset($wplc_settings["wplc_settings_color2"])) { $wplc_settings_color2 = $wplc_settings["wplc_settings_color2"]; } else { $wplc_settings_color2 = "FFFFFF"; }
77
- if (isset($wplc_settings["wplc_settings_color3"])) { $wplc_settings_color3 = $wplc_settings["wplc_settings_color3"]; } else { $wplc_settings_color3 = "EEEEEE"; }
78
- if (isset($wplc_settings["wplc_settings_color4"])) { $wplc_settings_color4 = $wplc_settings["wplc_settings_color4"]; } else { $wplc_settings_color4 = "666666"; }
79
- if (isset($wplc_settings["wplc_environment"])) { $wplc_environment[intval($wplc_settings["wplc_environment"])] = "SELECTED"; }
80
-
81
-
82
- if(get_option("WPLC_HIDE_CHAT") == true) { $wplc_hide_chat = "checked"; } else { $wplc_hide_chat = ""; };
83
-
84
- ?>
85
- <form action='' name='wplc_settings' method='POST' id='wplc_settings'>
86
-
87
- <div id="wplc_tabs">
88
- <ul>
89
- <?php
90
- $tab_array = array(
91
- 0 => array(
92
- "href" => "#tabs-1",
93
- "icon" => 'fa fa-gear',
94
- "label" => __("General Settings","wplivechat")
95
- ),
96
- 1 => array(
97
- "href" => "#tabs-2",
98
- "icon" => 'fa fa-envelope',
99
- "label" => __("Chat Box","wplivechat")
100
- ),
101
- 2 => array(
102
- "href" => "#tabs-3",
103
- "icon" => 'fa fa-book',
104
- "label" => __("Offline Messages","wplivechat")
105
- ),
106
- 3 => array(
107
- "href" => "#tabs-4",
108
- "icon" => 'fa fa-pencil',
109
- "label" => __("Styling","wplivechat")
110
- ),
111
- 4 => array(
112
- "href" => "#tabs-5",
113
- "icon" => 'fa fa-users',
114
- "label" => __("Agents","wplivechat")
115
- ),
116
- 5 => array(
117
- "href" => "#tabs-7",
118
- "icon" => 'fa fa-gavel',
119
- "label" => __("Blocked Visitors","wplivechat")
120
- )
121
- );
122
- $tabs_top = apply_filters("wplc_filter_setting_tabs",$tab_array);
123
-
124
- foreach ($tabs_top as $tab) {
125
- echo "<li><a href=\"".$tab['href']."\"><i class=\"".$tab['icon']."\"></i> ".$tab['label']."</a></li>";
126
- }
127
-
128
- ?>
129
-
130
- </ul>
131
- <div id="tabs-1">
132
- <h3><?php _e("General Settings",'wplivechat')?></h3>
133
- <table class='wp-list-table wplc_list_table widefat fixed striped pages' width='700'>
134
- <tr>
135
- <td width='350' valign='top'><?php _e("Chat enabled","wplivechat")?>: </td>
136
- <td>
137
- <select id='wplc_settings_enabled' name='wplc_settings_enabled'>
138
- <option value="1" <?php if (isset($wplc_settings_enabled[1])) { echo $wplc_settings_enabled[1]; } ?>><?php _e("Yes","wplivechat"); ?></option>
139
- <option value="2" <?php if (isset($wplc_settings_enabled[2])) { echo $wplc_settings_enabled[2]; }?>><?php _e("No","wplivechat"); ?></option>
140
- </select>
141
- </td>
142
- </tr>
143
- <?php /*
144
- <tr>
145
- <td width='200' valign='top'>
146
- <?php _e("Show the 'Powered by WP Live Chat Support' link", "wplivechat") ?>: <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e('Checking this will display a Powered by WP Live Chat Support link', 'wplivechat'); ?>"></i>
147
- </td>
148
- <td>
149
- <input type="checkbox" value="1" name="wplc_powered_by_link" <?php if (isset($wplc_settings['wplc_powered_by_link']) && $wplc_settings['wplc_powered_by_link'] == 1) { echo "checked"; } ?> />
150
- </td>
151
- </tr>
152
- */ ?>
153
-
154
- <!--
155
- <tr>
156
- <td width='400' valign='top'>
157
- <?php _e("Hide Chat", "wplivechat") ?>: <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("Hides chat for 24hrs when user clicks X", "wplivechat") ?>"></i>
158
- </td>
159
- <td valign='top'>
160
- <input type="checkbox" name="wplc_hide_chat" value="true" <?php echo $wplc_hide_chat ?>/>
161
- </td>
162
- </tr>
163
- -->
164
- <tr>
165
- <td width='300' valign='top'>
166
- <?php _e("Required Chat Box Fields","wplivechat")?>: <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("Set default fields that will be displayed when users starting a chat", "wplivechat") ?>"></i>
167
- </td>
168
- <td valign='top'>
169
- <div class="wplc-require-user-info__item">
170
- <input type="radio" value="1" name="wplc_require_user_info" id="wplc_require_user_info_both" <?php if (isset($wplc_settings['wplc_require_user_info']) && $wplc_settings['wplc_require_user_info'] == '1') { echo "checked"; } ?> />
171
- <label for="wplc_require_user_info_both"><?php _e( 'Name and email', 'wplivechat' ); ?></label>
172
- </div>
173
- <div class="wplc-require-user-info__item">
174
- <input type="radio" value="email" name="wplc_require_user_info" id="wplc_require_user_info_email" <?php if (isset($wplc_settings['wplc_require_user_info']) && $wplc_settings['wplc_require_user_info'] == 'email') { echo "checked"; } ?> />
175
- <label for="wplc_require_user_info_email"><?php _e( 'Email', 'wplivechat' ); ?></label>
176
- </div>
177
- <div class="wplc-require-user-info__item">
178
- <input type="radio" value="name" name="wplc_require_user_info" id="wplc_require_user_info_name" <?php if (isset($wplc_settings['wplc_require_user_info']) && $wplc_settings['wplc_require_user_info'] == 'name') { echo "checked"; } ?> />
179
- <label for="wplc_require_user_info_name"><?php _e( 'Name', 'wplivechat' ); ?></label>
180
- </div>
181
- <div class="wplc-require-user-info__item">
182
- <input type="radio" value="0" name="wplc_require_user_info" id="wplc_require_user_info_none" <?php if (isset($wplc_settings['wplc_require_user_info']) && $wplc_settings['wplc_require_user_info'] == '0') { echo "checked"; } ?> />
183
- <label for="wplc_require_user_info_none"><?php _e( 'No fields', 'wplivechat' ); ?></label>
184
- </div>
185
- </td>
186
- </tr>
187
- <tr class="wplc-user-default-visitor-name__row">
188
- <td width='300' valign='top'>
189
- <?php _e("Default visitor name","wplivechat"); ?>: <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("This name will be displayed for all not logged in visitors", "wplivechat") ?>"></i>
190
- </td>
191
- <td valign='top'>
192
- <input type="text" name="wplc_user_default_visitor_name" id="wplc_user_default_visitor_name" value="<?php if ( isset( $wplc_settings['wplc_user_default_visitor_name'] ) ) { echo stripslashes( $wplc_settings['wplc_user_default_visitor_name'] ); } else { echo __( "Guest", "wplivechat" ); } ?>" />
193
- </td>
194
- </tr>
195
- <tr>
196
- <td width='300' valign='top'>
197
- <?php _e("Input Field Replacement Text","wplivechat")?>: <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("This is the text that will show in place of the Name And Email fields", "wplivechat") ?>"></i>
198
- </td>
199
- <td valign='top'>
200
- <textarea cols="45" rows="5" name="wplc_user_alternative_text" ><?php if(isset($wplc_settings['wplc_user_alternative_text'])) { echo stripslashes($wplc_settings['wplc_user_alternative_text']); } ?></textarea>
201
- </td>
202
- </tr>
203
- <tr>
204
- <td width='300' valign='top'>
205
- <?php _e("Use Logged In User Details","wplivechat")?>: <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("A user's Name and Email Address will be used by default if they are logged in.", "wplivechat") ?>"></i>
206
- </td>
207
- <td valign='top'>
208
- <input type="checkbox" value="1" name="wplc_loggedin_user_info" <?php if(isset($wplc_settings['wplc_loggedin_user_info']) && $wplc_settings['wplc_loggedin_user_info'] == 1 ) { echo "checked"; } ?> />
209
- </td>
210
- </tr>
211
- <tr>
212
- <td width='200' valign='top'>
213
- <?php _e("Enable On Mobile Devices","wplivechat"); ?>: <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("Disabling this will mean that the Chat Box will not be displayed on mobile devices. (Smartphones and Tablets)", "wplivechat") ?>"></i>
214
- </td>
215
- <td valign='top'>
216
- <input type="checkbox" value="1" name="wplc_enabled_on_mobile" <?php if(isset($wplc_settings['wplc_enabled_on_mobile']) && $wplc_settings['wplc_enabled_on_mobile'] == 1 ) { echo "checked"; } ?> />
217
- </td>
218
- </tr>
219
- <!--<tr>
220
- <td width='350' valign='top'>
221
- <?php _e("Record a visitor's IP Address","wplivechat"); ?>: <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("Disable this to enable anonymity for your visitors", "wplivechat") ?>"></i>
222
- </td>
223
- <td valign='top'>
224
- <input type="checkbox" value="1" name="wplc_record_ip_address" <?php if(isset($wplc_settings['wplc_record_ip_address']) && $wplc_settings['wplc_record_ip_address'] == 1 ) { echo "checked"; } ?> />
225
- </td>
226
- </tr>-->
227
-
228
- <?php if( isset( $wplc_settings['wplc_use_node_server'] ) && intval( $wplc_settings['wplc_use_node_server'] ) == 1 ){ ?>
229
- <tr>
230
- <td width='300' valign='top'>
231
- <?php _e("Play a sound when there is a new visitor","wplivechat"); ?>: <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("Disable this to mute the sound that is played when a new visitor arrives", "wplivechat") ?>"></i>
232
- </td>
233
- <td valign='top'>
234
- <input type="checkbox" value="1" name="wplc_enable_visitor_sound" <?php if(isset($wplc_settings['wplc_enable_visitor_sound']) && $wplc_settings['wplc_enable_visitor_sound'] == 1 ) { echo "checked"; } ?> />
235
- </td>
236
- </tr>
237
- <?php } ?>
238
- <tr>
239
- <td width='300' valign='top'>
240
- <?php _e("Play a sound when a new message is received","wplivechat"); ?>: <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("Disable this to mute the sound that is played when a new chat message is received", "wplivechat") ?>"></i>
241
- </td>
242
- <td valign='top'>
243
- <input type="checkbox" value="1" name="wplc_enable_msg_sound" <?php if(isset($wplc_settings['wplc_enable_msg_sound']) && $wplc_settings['wplc_enable_msg_sound'] == 1 ) { echo "checked"; } ?> />
244
- </td>
245
- </tr>
246
-
247
- <tr>
248
- <td width='300' valign='top'>
249
- <?php _e("Enable Font Awesome set","wplivechat"); ?>: <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("Disable this if you have Font Awesome set included with your theme", "wplivechat") ?>"></i>
250
- </td>
251
- <td valign='top'>
252
- <input type="checkbox" value="1" name="wplc_enable_font_awesome" <?php if(isset($wplc_settings['wplc_enable_font_awesome']) && $wplc_settings['wplc_enable_font_awesome'] == 1 ) { echo "checked"; } ?> />
253
- </td>
254
- </tr>
255
- <tr>
256
- <td width='300' valign='top'>
257
- <?php _e("Enable chat dashboard and notifications on all admin pages","wplivechat"); ?>: <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("This will load the chat dashboard on every admin page.", "wplivechat") ?>"></i>
258
- </td>
259
- <td valign='top'>
260
- <input type="checkbox" value="1" name="wplc_enable_all_admin_pages" <?php if(isset($wplc_settings['wplc_enable_all_admin_pages']) && $wplc_settings['wplc_enable_all_admin_pages'] == 1 ) { echo "checked"; } ?> />
261
- </td>
262
- </tr>
263
-
264
- <?php if (!function_exists("wplc_pro_activate")) { ?>
265
-
266
- <tr>
267
- <td width='300' valign='top'>
268
- <?php _e("Include chat window on the following pages","wplivechat"); ?>: <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("Show the chat window on the following pages. Leave blank to show on all. (Use comma-separated Page ID's)", "wplivechat") ?>"></i>
269
- </td>
270
- <td valign='top'>
271
- <input type="text" readonly="readonly" />
272
- <small>
273
- <i>
274
- <?php _e("available in the","wplivechat")?>
275
- <a href="http://www.wp-livechat.com/purchase-pro/?utm_source=plugin&utm_medium=link&utm_campaign=include_pages" title="<?php _e("Pro Add-on","wplivechat")?>" target="_BLANK"><?php _e("Pro Add-on","wplivechat")?></a>
276
- <?php _e("only","wplivechat")?>
277
- </i>
278
- </small>
279
- </td>
280
- </tr>
281
- <tr>
282
- <td width='200' valign='top'>
283
- <?php _e("Exclude chat window on the following pages","wplivechat"); ?>: <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("Do not show the chat window on the following pages. Leave blank to show on all. (Use comma-separated Page ID's)", "wplivechat") ?>"></i>
284
- </td>
285
- <td valign='top'>
286
- <input type="text" readonly="readonly"/>
287
- <small>
288
- <i>
289
- <?php _e("available in the","wplivechat")?>
290
- <a href="http://www.wp-livechat.com/purchase-pro/?utm_source=plugin&utm_medium=link&utm_campaign=exclude_pages" title="<?php _e("Pro Add-on","wplivechat")?>" target="_BLANK"><?php _e("Pro Add-on","wplivechat")?></a>
291
- <?php _e("only","wplivechat")?>
292
- </i>
293
- </small>
294
- </td>
295
- </tr>
296
-
297
- <tr class="wplc-exclude-post-types__row">
298
- <td width='200' valign='top'>
299
- <?php _e("Exclude chat window on selected post types","wplivechat"); ?>: <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("Do not show the chat window on the following post types pages.", "wplivechat") ?>"></i>
300
- </td>
301
- <td valign='top'>
302
- <input type="text" readonly="readonly"/>
303
- <small>
304
- <i>
305
- <?php _e("available in the","wplivechat")?>
306
- <a href="http://www.wp-livechat.com/purchase-pro/?utm_source=plugin&utm_medium=link&utm_campaign=exclude_pages" title="<?php _e("Pro Add-on","wplivechat")?>" target="_BLANK"><?php _e("Pro Add-on","wplivechat")?></a>
307
- <?php _e("only","wplivechat")?>
308
- </i>
309
- </small>
310
- </td>
311
- </tr>
312
-
313
- <?php } ?>
314
- </table>
315
- <?php do_action('wplc_hook_admin_settings_main_settings_after'); ?>
316
-
317
-
318
- </div>
319
- <div id="tabs-2">
320
- <h3><?php _e("Chat Window Settings",'wplivechat')?></h3>
321
- <table class='wp-list-table wplc_list_table widefat fixed striped pages'>
322
- <tr>
323
- <td width='300' valign='top'><?php _e("Chat box alignment","wplivechat")?>:</td>
324
- <td>
325
- <select id='wplc_settings_align' name='wplc_settings_align'>
326
- <option value="1" <?php if (isset($wplc_settings_align[1])) { echo $wplc_settings_align[1]; } ?>><?php _e("Bottom left","wplivechat"); ?></option>
327
- <option value="2" <?php if (isset($wplc_settings_align[2])) { echo $wplc_settings_align[2]; } ?>><?php _e("Bottom right","wplivechat"); ?></option>
328
- <option value="3" <?php if (isset($wplc_settings_align[3])) { echo $wplc_settings_align[3]; } ?>><?php _e("Left","wplivechat"); ?></option>
329
- <option value="4" <?php if (isset($wplc_settings_align[4])) { echo $wplc_settings_align[4]; } ?>><?php _e("Right","wplivechat"); ?></option>
330
- </select>
331
- </td>
332
- </tr>
333
- <tr>
334
- <td width='300'>
335
- <?php _e("Auto Pop-up","wplivechat") ?> <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("Expand the chat box automatically (prompts the user to enter their name and email address).","wplivechat") ?>"></i>
336
- </td>
337
- <td>
338
- <input type="checkbox" name="wplc_auto_pop_up" value="1" <?php if(isset($wplc_settings['wplc_auto_pop_up']) && $wplc_settings['wplc_auto_pop_up'] == 1 ) { echo "checked"; } ?>/>
339
- </td>
340
- </tr>
341
-
342
-
343
-
344
-
345
- <?php if (!function_exists("wplc_pro_activate")) { ?>
346
- <tr>
347
- <td width='300'>
348
- <?php _e("Display typing indicator","wplivechat") ?> <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("Display a typing animation as soon as someone starts typing.","wplivechat") ?>"></i>
349
- </td>
350
- <td>
351
- <input type="checkbox" name="" value="" disabled />
352
- <small>
353
- <i>
354
- <?php _e("available in the","wplivechat")?>
355
- <a href="http://www.wp-livechat.com/purchase-pro/?utm_source=plugin&utm_medium=link&utm_campaign=typing" title="<?php _e("Pro Add-on","wplivechat")?>" target="_BLANK"><?php _e("Pro Add-on","wplivechat")?></a>
356
- <?php _e("only","wplivechat")?>
357
- </i>
358
- </small>
359
- </td>
360
- </tr>
361
- <tr>
362
- <tr>
363
-
364
- <td width='300' valign='top'>
365
- <?php _e("Name","wplivechat")?>:
366
- </td>
367
- <td>
368
- <input type='text' size='50' maxlength='50' disabled readonly value='admin' />
369
- <small>
370
- <i>
371
- <?php _e("available in the","wplivechat")?>
372
- <a href="http://www.wp-livechat.com/purchase-pro/?utm_source=plugin&utm_medium=link&utm_campaign=name" title="<?php _e("Pro Add-on","wplivechat")?>" target="_BLANK"><?php _e("Pro Add-on","wplivechat")?></a>
373
- <?php _e("only","wplivechat")?>
374
- </i>
375
- </small>
376
- </td>
377
- </tr>
378
- <!--<tr>
379
- <td width='300'>
380
- <?php _e("Avatar","wplivechat") ?> <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("Choose which picture to use as your avatar.","wplivechat") ?>"></i>
381
- </td>
382
- <td>
383
- <select name="wplc_avatar_source">
384
- <option value="gravatar" <?php echo (isset($wplc_settings['wplc_avatar_source']) && $wplc_settings['wplc_avatar_source'] == 'gravatar') ? 'selected' : ''; ?>>Gravatar</option>
385
- <option value="wp_avatar" <?php echo (isset($wplc_settings['wplc_avatar_source']) && $wplc_settings['wplc_avatar_source'] == 'wp_avatar') ? 'selected' : ''; ?>>WP User Avatar</option>
386
- </select>
387
- </td>
388
- </tr>-->
389
- <!-- Chat Icon-->
390
- <tr>
391
- <td width='300' valign='top'>
392
- <?php _e("Icon","wplivechat")?>:
393
- </td>
394
- <td>
395
- <input id="wplc_pro_chat_button" type="button" value="<?php _e("Upload Image","wplivechat")?>" readonly disabled />
396
- <small>
397
- <i>
398
- <?php _e("available in the","wplivechat")?>
399
- <a href="http://www.wp-livechat.com/purchase-pro/?utm_source=plugin&utm_medium=link&utm_campaign=pic" title="<?php _e("Pro Add-on","wplivechat")?>" target="_BLANK"><?php _e("Pro Add-on","wplivechat")?></a>
400
- <?php _e("only","wplivechat")?>
401
- </i>
402
- </small>
403
- </td>
404
- </tr>
405
- <!-- Chat Pic-->
406
- <tr>
407
- <td width='300' valign='top'>
408
- <?php _e("Picture","wplivechat")?>:
409
- </td>
410
- <td>
411
- <input id="wplc_pro_pic_button" type="button" value="<?php _e("Upload Image","wplivechat")?>" readonly disabled />
412
- <small>
413
- <i>
414
- <?php _e("available in the","wplivechat")?>
415
- <a href="http://www.wp-livechat.com/purchase-pro/?utm_source=plugin&utm_medium=link&utm_campaign=pic" title="<?php _e("Pro Add-on","wplivechat")?>" target="_BLANK"><?php _e("Pro Add-on","wplivechat")?></a>
416
- <?php _e("only","wplivechat")?>
417
- </i>
418
- </small>
419
- </td>
420
- </tr>
421
- <!-- Chat Logo-->
422
- <tr>
423
- <td width='300' valign='top'>
424
- <?php _e("Logo","wplivechat")?>:
425
- </td>
426
- <td>
427
- <input id="wplc_pro_logo_button" type="button" value="<?php _e("Upload Image","wplivechat")?>" readonly disabled />
428
- <small>
429
- <i>
430
- <?php _e("available in the","wplivechat")?>
431
- <a href="http://www.wp-livechat.com/purchase-pro/?utm_source=plugin&utm_medium=link&utm_campaign=pic" title="<?php _e("Pro Add-on","wplivechat")?>" target="_BLANK"><?php _e("Pro Add-on","wplivechat")?></a>
432
- <?php _e("only","wplivechat")?>
433
- </i>
434
- </small>
435
- </td>
436
- </tr>
437
- <!-- Chat Delay-->
438
- <tr>
439
- <td width='300' valign='top'>
440
- <?php _e("Chat delay (seconds)","wplivechat")?>:
441
- </td>
442
- <td>
443
- <input type='text' size='50' maxlength='50' disabled readonly value='10' />
444
- <small>
445
- <i>
446
- <?php _e("available in the","wplivechat")?>
447
- <a href="http://www.wp-livechat.com/purchase-pro/?utm_source=plugin&utm_medium=link&utm_campaign=delay" title="<?php _e("Pro Add-on","wplivechat")?>" target="_BLANK"><?php _e("Pro Add-on","wplivechat")?></a>
448
- <?php _e("only","wplivechat")?>
449
- </i>
450
- </small>
451
- </td>
452
- </tr>
453
- <!-- Chat Notification if want to chat-->
454
- <tr>
455
- <td width='300' valign='top'>
456
- <?php _e("Chat notifications", "wplivechat") ?>:
457
- </td>
458
- <td>
459
- <input id='wplc_pro_chat_notification' name='wplc_pro_chat_notification' type='checkbox' value='yes' disabled="disabled" readonly/>
460
- <?php _e("Alert me via email as soon as someone wants to chat", "wplivechat") ?>
461
- <small>
462
- <i>
463
- <?php _e("available in the", "wplivechat") ?>
464
- <a href="http://www.wp-livechat.com/purchase-pro/?utm_source=plugin&utm_medium=link&utm_campaign=alert" title="<?php _e("Pro Add-on", "wplivechat") ?>" target="_BLANK"><?php _e("Pro Add-on", "wplivechat") ?></a>
465
- <?php _e("only", "wplivechat") ?>
466
- </i>
467
- </small>
468
- </td>
469
- </tr>
470
- <?php } ?>
471
-
472
- <!-- <tr>
473
- <td>
474
- <?php //_e("Display name and avatar in chat", "wplivechat") ?> <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php //_e("Display the agent and user name above each message in the chat window.", "wplivechat") ?>"></i>
475
- </td>
476
- <td>
477
- <input type="checkbox" name="wplc_display_name" value="1" <?php //if (isset($wplc_settings['wplc_display_name']) && $wplc_settings['wplc_display_name'] == 1) {
478
- //echo "checked";
479
- //} ?>/>
480
- </td>
481
- </tr> -->
482
- <tr>
483
- <td>
484
- <?php _e("Display details in chat message", "wplivechat") ?>
485
- </td>
486
- <td> <!-- $wplc_settings['wplc_display_name'] Remember for backwards compat -->
487
- <?php if (isset($wplc_settings['wplc_show_name']) && $wplc_settings['wplc_show_name'] == 1) { $checked = "checked"; } else { $checked = ''; } ?>
488
- <input type="checkbox" name="wplc_show_name" value="1" <?php echo $checked; ?>/> <label><?php _e("Show Name", "wplivechat"); ?></label><br/>
489
- <?php if (isset($wplc_settings['wplc_show_avatar']) && $wplc_settings['wplc_show_avatar'] == 1) { $checked = "checked"; } else { $checked = ''; } ?>
490
- <input type="checkbox" name="wplc_show_avatar" value="1" <?php echo $checked; ?>/> <label><?php _e("Show Avatar", "wplivechat"); ?></label>
491
- </td>
492
- </tr>
493
- <tr>
494
- <td>
495
- <?php _e("Only show the chat window to users that are logged in", "wplivechat") ?> <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("By checking this, only users that are logged in will be able to chat with you.", "wplivechat") ?>"></i>
496
- </td>
497
- <td>
498
- <input type="checkbox" name="wplc_display_to_loggedin_only" value="1" <?php
499
- if (isset($wplc_settings['wplc_display_to_loggedin_only']) && $wplc_settings['wplc_display_to_loggedin_only'] == 1) {
500
- echo "checked";
501
- }
502
- ?>/>
503
- </td>
504
- </tr>
505
- <tr>
506
- <td>
507
- <?php _e("Display a timestamp in the chat window", "wplivechat") ?>
508
- </td>
509
- <td>
510
- <?php if (isset($wplc_settings['wplc_show_date']) && $wplc_settings['wplc_show_date'] == 1) { $checked = "checked"; } else { $checked = ''; } ?>
511
- <input type="checkbox" name="wplc_show_date" value="1" <?php echo $checked; ?>/> <label><?php _e("Show Date", "wplivechat"); ?></label><br/>
512
- <?php if (isset($wplc_settings['wplc_show_time']) && $wplc_settings['wplc_show_time'] == 1) { $checked = "checked"; } else { $checked = ''; } ?>
513
- <input type="checkbox" name="wplc_show_time" value="1" <?php echo $checked; ?>/> <label><?php _e("Show Time", "wplivechat"); ?></label>
514
- </td>
515
- </tr>
516
- <tr>
517
- <td>
518
- <?php _e("Redirect user to thank you page when chat is ended", "wplivechat") ?> <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("By checking this, users will be redirected to your thank you page when a chat is completed.", "wplivechat") ?>"></i>
519
- </td>
520
- <td>
521
- <input type="checkbox" name="wplc_redirect_to_thank_you_page" value="1" <?php echo (isset($wplc_settings['wplc_redirect_to_thank_you_page']) && $wplc_settings['wplc_redirect_to_thank_you_page'] == 1 ? "checked" : "" ); ?> />
522
- <input type="text" name="wplc_redirect_thank_you_url" value="<?php echo (isset($wplc_settings['wplc_redirect_thank_you_url']) ? urldecode($wplc_settings['wplc_redirect_thank_you_url']) : '' ); ?>" placeholder="<?php _e('Thank You Page URL', 'wplivechat'); ?>" />
523
- </td>
524
- </tr>
525
- <?php
526
- if(defined('WPLC_PRO_PLUGIN'))
527
- {
528
- ?>
529
- <tr>
530
- <td>
531
- <?php
532
- _e('Disable Emojis', 'wplivechat');
533
- ?>
534
- </td>
535
- <td>
536
- <input type="checkbox" name="wplc_disable_emojis"
537
- <?php
538
- if(!empty($wplc_settings['wplc_disable_emojis']))
539
- echo 'checked="checked"';
540
- ?>
541
- />
542
- </tr>
543
- <?php
544
- }
545
- ?>
546
- </table>
547
-
548
- <?php if(!function_exists("wplc_chat_social_div") && !function_exists("wplc_pro_activate")){ ?>
549
-
550
- <h3><?php _e("Social", 'wplivechat') ?></h3>
551
- <hr>
552
- <table class='wp-list-table wplc_list_table widefat fixed striped pages' >
553
- <tbody>
554
- <tr>
555
- <td width='300' valign='top'><?php _e("Facebook URL", "wplivechat") ?>: <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("Link your Facebook page here. Leave blank to hide", "wplivechat") ?>"></i></td>
556
- <td>
557
- <input id='wplc_social_fb' name='wplc_social_fb' placeholder="<?php _e("Facebook URL...", "wplivechat") ?>" type='text' disabled/>
558
- <small>
559
- <i>
560
- <?php _e("available in the","wplivechat")?>
561
- <a href="http://www.wp-livechat.com/purchase-pro/?utm_source=plugin&utm_medium=link&utm_campaign=social_media" title="<?php _e("Pro Add-on","wplivechat")?>" target="_BLANK"><?php _e("Pro Add-on","wplivechat")?></a>
562
- <?php _e("only","wplivechat")?>
563
- </i>
564
- </small>
565
- </td>
566
- </tr>
567
- <tr>
568
- <td width='300' valign='top'><?php _e("Twitter URL", "wplivechat") ?>: <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("Link your Twitter page here. Leave blank to hide", "wplivechat") ?>"></i></td>
569
- <td>
570
- <input id='wplc_social_tw' name='wplc_social_tw' placeholder="<?php _e("Twitter URL...", "wplivechat") ?>" type='text' disabled/>
571
- <small>
572
- <i>
573
- <?php _e("available in the","wplivechat")?>
574
- <a href="http://www.wp-livechat.com/purchase-pro/?utm_source=plugin&utm_medium=link&utm_campaign=social_media" title="<?php _e("Pro Add-on","wplivechat")?>" target="_BLANK"><?php _e("Pro Add-on","wplivechat")?></a>
575
- <?php _e("only","wplivechat")?>
576
- </i>
577
- </small>
578
- </td>
579
- </tr>
580
- </tbody>
581
- </table>
582
- <?php } ?>
583
-
584
-
585
-
586
- <?php do_action('wplc_hook_admin_settings_chat_box_settings_after'); ?>
587
-
588
- </div>
589
- <div id="tabs-3">
590
- <h3><?php _e("Offline Messages", 'wplivechat') ?></h3>
591
- <table class='form-table wp-list-table wplc_list_table widefat fixed striped pages' width='100%'>
592
- <tr>
593
- <td width='300'>
594
- <?php _e("Do not allow users to send offline messages", "wplivechat") ?> <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("The chat window will be hidden when it is offline. Users will not be able to send offline messages to you", "wplivechat") ?>"></i>
595
- </td>
596
- <td>
597
- <input type="checkbox" name="wplc_hide_when_offline" value="1" <?php
598
- if (isset($wplc_settings['wplc_hide_when_offline']) && $wplc_settings['wplc_hide_when_offline'] == 1) {
599
- echo "checked";
600
- }
601
- ?>/>
602
- </td>
603
- </tr>
604
- <tr>
605
- <td width="300" valign="top"><?php _e("Offline Chat Box Title", "wplivechat") ?>:</td>
606
- <td>
607
- <input id="wplc_pro_na" name="wplc_pro_na" type="text" size="50" maxlength="50" class="regular-text" value="<?php if (isset($wplc_settings['wplc_pro_na'])) { echo stripslashes($wplc_settings['wplc_pro_na']); } ?>" /> <br />
608
-
609
-
610
- </td>
611
- </tr>
612
- <tr>
613
- <td width="300" valign="top"><?php _e("Offline Text Fields", "wplivechat") ?>:</td>
614
- <td>
615
- <input id="wplc_pro_offline1" name="wplc_pro_offline1" type="text" size="50" maxlength="150" class="regular-text" value="<?php if (isset($wplc_settings['wplc_pro_offline1'])) { echo stripslashes($wplc_settings['wplc_pro_offline1']); } ?>" /> <br />
616
- <input id="wplc_pro_offline2" name="wplc_pro_offline2" type="text" size="50" maxlength="50" class="regular-text" value="<?php if (isset($wplc_settings['wplc_pro_offline2'])) { echo stripslashes($wplc_settings['wplc_pro_offline2']); } ?>" /> <br />
617
- <input id="wplc_pro_offline3" name="wplc_pro_offline3" type="text" size="50" maxlength="150" class="regular-text" value="<?php if (isset($wplc_settings['wplc_pro_offline3'])) { echo stripslashes($wplc_settings['wplc_pro_offline3']); } ?>" /> <br />
618
-
619
-
620
- </td>
621
- </tr>
622
- <tr>
623
- <td width="300" valign="top"><?php _e("Offline Button Text", "wplivechat") ?>:</td>
624
- <td>
625
- <input id="wplc_pro_offline_btn" name="wplc_pro_offline_btn" type="text" size="50" maxlength="50" class="regular-text" value="<?php if (isset($wplc_settings['wplc_pro_offline_btn'])) { echo stripslashes($wplc_settings['wplc_pro_offline_btn']); } ?>" /> <br />
626
- </td>
627
- </tr>
628
- <tr>
629
- <td width="300" valign="top"><?php _e("Offline Send Button Text", "wplivechat") ?>:</td>
630
- <td>
631
- <input id="wplc_pro_offline_btn_send" name="wplc_pro_offline_btn_send" type="text" size="50" maxlength="50" class="regular-text" value="<?php if (isset($wplc_settings['wplc_pro_offline_btn_send'])) { echo stripslashes($wplc_settings['wplc_pro_offline_btn_send']); } ?>" /> <br />
632
- </td>
633
- </tr>
634
- <tr>
635
- <td width="300" valign="top"><?php _e("Custom fields", "wplivechat") ?>:</td>
636
- <td>
637
- <?php do_action( "wplc_hook_offline_custom_fields_integration_settings" ); ?>
638
- </td>
639
- </tr>
640
-
641
- </table>
642
-
643
- <h4><?php _e("Email settings", 'wplivechat') ?></h4>
644
-
645
-
646
- <table class='form-table wp-list-table wplc_list_table widefat fixed striped pages'>
647
- <tr>
648
- <td width='300' valign='top'>
649
- <?php _e("Email Address", "wplivechat") ?>: <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("Email address where offline messages are delivered to. Use comma separated email addresses to send to more than one email address", "wplivechat") ?>"></i>
650
- </td>
651
- <td>
652
- <input id="wplc_pro_chat_email_address" name="wplc_pro_chat_email_address" class="regular-text" type="text" value="<?php if (isset($wplc_settings['wplc_pro_chat_email_address'])) {
653
- echo $wplc_settings['wplc_pro_chat_email_address']; } ?>" />
654
- </td>
655
- </tr>
656
-
657
- <tr>
658
- <td width='300' valign='top'>
659
- <?php _e("Subject", "wplivechat") ?>: <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("User name will be appended to the end of the subject.", "wplivechat") ?>"></i>
660
- </td>
661
- <td>
662
- <input id="wplc_pro_chat_email_offline_subject" name="wplc_pro_chat_email_offline_subject" class="regular-text" type="text" value="<?php echo(isset($wplc_settings['wplc_pro_chat_email_offline_subject']) ? $wplc_settings['wplc_pro_chat_email_offline_subject'] : ""); ?>" placeholder="<?php echo __("WP Live Chat Support - Offline Message from ", "wplivechat"); ?>"/>
663
- </td>
664
- </tr>
665
-
666
- </table>
667
-
668
- <table class='form-table wp-list-table wplc_list_table widefat fixed striped pages'>
669
- <tr>
670
- <td width="33%"><?php _e("Sending Method", "wplivechat") ?></td>
671
- <td width="33%" style="text-align: center;"><?php _e("WP Mail", "wplivechat") ?></td>
672
- <td width="33%" style="text-align: center;"><?php _e("PHP Mailer", "wplivechat") ?></td>
673
- </tr>
674
- <tr>
675
- <td></td>
676
- <td style="text-align: center;"><input class="wplc_mail_type_radio" type="radio" value="wp_mail" name="wplc_mail_type" <?php if ($wplc_mail_type == "wp_mail") {
677
- echo "checked";
678
- } ?>></td>
679
- <td style="text-align: center;"><input id="wpcl_mail_type_php" class="wplc_mail_type_radio" type="radio" value="php_mailer" name="wplc_mail_type" <?php if ($wplc_mail_type == "php_mailer") {
680
- echo "checked";
681
- } ?>></td>
682
- </tr>
683
- </table>
684
- <hr/>
685
- <table id="wplc_smtp_details" class='form-table wp-list-table wplc_list_table widefat fixed striped pages' width='100%'>
686
- <tr>
687
- <td width="300" valign="top">
688
- <?php _e("Host", "wplivechat") ?>:
689
- </td>
690
- <td>
691
- <input id="wplc_mail_host" name="wplc_mail_host" type="text" class="regular-text" value="<?php echo get_option("wplc_mail_host") ?>" placeholder="smtp.example.com" />
692
- </td>
693
- </tr>
694
- <tr>
695
- <td>
696
- <?php _e("Port", "wplivechat") ?>:
697
- </td>
698
- <td>
699
- <input id="wplc_mail_port" name="wplc_mail_port" type="text" class="regular-text" value="<?php echo get_option("wplc_mail_port") ?>" placeholder="25" />
700
- </td>
701
- </tr>
702
- <tr>
703
- <td>
704
- <?php _e("Username", "wplivechat") ?>:
705
- </td>
706
- <td>
707
- <input id="wplc_mail_username" name="wplc_mail_username" type="text" class="regular-text" value="<?php echo get_option("wplc_mail_username") ?>" placeholder="me@example.com" />
708
- </td>
709
- </tr>
710
- <tr>
711
- <td>
712
- <?php _e("Password", "wplivechat") ?>:
713
- </td>
714
- <td>
715
- <input id="wplc_mail_password" name="wplc_mail_password" type="password" class="regular-text" value="<?php echo get_option("wplc_mail_password") ?>" placeholder="Password" />
716
- </td>
717
- </tr>
718
- </table>
719
- <?php do_action('wplc_hook_admin_settings_offline_messages_settings_after'); ?>
720
- </div>
721
-
722
-
723
-
724
- <div id="tabs-4">
725
- <style>
726
- .wplc_theme_block img{
727
- border: 1px solid #CCC;
728
- border-radius: 5px;
729
- padding: 5px;
730
- margin: 5px;
731
- }
732
- .wplc_theme_single{
733
- width: 162px;
734
- height: 162px;
735
- text-align: center;
736
- display: inline-block;
737
- vertical-align: top;
738
- margin: 5px;
739
- }
740
- .wplc_animation_block div{
741
- display: inline-block;
742
- width: 150px;
743
- height: 150px;
744
- border: 1px solid #CCC;
745
- border-radius: 5px;
746
- text-align: center;
747
- margin: 10px;
748
- }
749
- .wplc_animation_block i{
750
- font-size: 3em;
751
- line-height: 150px;
752
- }
753
- .wplc_animation_block .wplc_red{
754
- color: #E31230;
755
- }
756
- .wplc_animation_block .wplc_orange{
757
- color: #EB832C;
758
- }
759
- .wplc_animation_active, .wplc_theme_active{
760
- box-shadow: 2px 2px 2px #666666;
761
- }
762
- </style>
763
- <style>
764
- .wplc_animation_block div{
765
- display: inline-block;
766
- width: 150px;
767
- height: 150px;
768
- border: 1px solid #CCC;
769
- border-radius: 5px;
770
- text-align: center;
771
- margin: 10px;
772
- }
773
- .wplc_animation_block i{
774
- font-size: 3em;
775
- line-height: 150px;
776
- }
777
- .wplc_animation_block .wplc_red{
778
- color: #E31230;
779
- }
780
- .wplc_animation_block .wplc_orange{
781
- color: #EB832C;
782
- }
783
- .wplc_animation_active{
784
- box-shadow: 2px 2px 2px #CCC;
785
- }
786
- </style>
787
- <h3><?php _e("Styling",'wplivechat')?></h3>
788
- <table class='form-table wp-list-table wplc_list_table widefat fixed striped pages'>
789
-
790
-
791
- <tr style='margin-bottom: 10px;'>
792
- <td width='200'><label for=""><?php _e('Choose a theme', 'wplivechat'); ?></label></td>
793
- <td>
794
- <div class='wplc_theme_block'>
795
- <div class='wplc_theme_image' id=''>
796
- <div class='wplc_theme_single'>
797
- <img style='width:162px;' src='<?php echo WPLC_BASIC_PLUGIN_URL.'images/themes/newtheme-1.jpg'; ?>' title="<?php _e('Classic', 'wplivechat'); ?>" alt="<?php _e('Classic', 'wplivechat'); ?>" class='<?php if (isset($wplc_settings['wplc_newtheme']) && $wplc_settings['wplc_newtheme'] == 'theme-1') { echo 'wplc_theme_active'; } ?>' id='wplc_newtheme_1'/>
798
- <?php _e('Classic', 'wplivechat'); ?>
799
- </div>
800
- <div class='wplc_theme_single'>
801
- <img style='width:162px;' src='<?php echo WPLC_BASIC_PLUGIN_URL.'images/themes/newtheme-2.jpg'; ?>' title="<?php _e('Modern', 'wplivechat'); ?>" alt="<?php _e('Modern', 'wplivechat'); ?>" class='<?php if (isset($wplc_settings['wplc_newtheme']) && $wplc_settings['wplc_newtheme'] == 'theme-2') { echo 'wplc_theme_active'; } ?>' id='wplc_newtheme_2'/>
802
- <?php _e('Modern', 'wplivechat'); ?>
803
- </div>
804
-
805
- </div>
806
- </div>
807
- <input type="radio" name="wplc_newtheme" value="theme-1" class="wplc_hide_input" id="wplc_new_rb_theme_1" <?php if (isset($wplc_settings['wplc_newtheme']) && $wplc_settings['wplc_newtheme'] == 'theme-1') { echo 'checked'; } ?>/>
808
- <input type="radio" name="wplc_newtheme" value="theme-2" class="wplc_hide_input" id="wplc_new_rb_theme_2" <?php if (isset($wplc_settings['wplc_newtheme']) && $wplc_settings['wplc_newtheme'] == 'theme-2') { echo 'checked'; } ?>/>
809
-
810
- </td>
811
- </tr>
812
- <tr height="30">
813
- <td>&nbsp;</td>
814
- <td>&nbsp;</td>
815
- </tr>
816
-
817
- <tr style='margin-bottom: 10px;'>
818
- <td><label for=""><?php _e('Color Scheme', 'wplivechat'); ?></label></td>
819
- <td>
820
- <div class='wplc_theme_block'>
821
- <div class='wplc_palette'>
822
- <div class='wplc_palette_single'>
823
- <div class='wplc-palette-selection <?php if (isset($wplc_settings['wplc_theme']) && $wplc_settings['wplc_theme'] == 'theme-default') { echo 'wplc_theme_active'; } ?>' id='wplc_theme_default'>
824
- <div class='wplc-palette-top' style='background-color:#ED832F;'></div>
825
- <div class='wplc-palette-top' style='background-color:#FFF;'></div>
826
- <div class='wplc-palette-top' style='background-color:#EEE;'></div>
827
- <div class='wplc-palette-top' style='background-color:#666;'></div>
828
- </div>
829
- </div>
830
-
831
- <div class='wplc_palette_single'>
832
- <div class='wplc-palette-selection <?php if (isset($wplc_settings['wplc_theme']) && $wplc_settings['wplc_theme'] == 'theme-1') { echo 'wplc_theme_active'; } ?>' id='wplc_theme_1'>
833
- <div class='wplc-palette-top' style='background-color:#DB0000;'></div>
834
- <div class='wplc-palette-top' style='background-color:#FFF;'></div>
835
- <div class='wplc-palette-top' style='background-color:#000;'></div>
836
- <div class='wplc-palette-top' style='background-color:#666;'></div>
837
- </div>
838
- </div>
839
- <div class='wplc_palette_single'>
840
- <div class='wplc-palette-selection <?php if (isset($wplc_settings['wplc_theme']) && $wplc_settings['wplc_theme'] == 'theme-2') { echo 'wplc_theme_active'; } ?>' id='wplc_theme_2'>
841
- <div class='wplc-palette-top' style='background-color:#000;'></div>
842
- <div class='wplc-palette-top' style='background-color:#FFF;'></div>
843
- <div class='wplc-palette-top' style='background-color:#888;'></div>
844
- <div class='wplc-palette-top' style='background-color:#666;'></div>
845
- </div>
846
- </div>
847
- <div class='wplc_palette_single'>
848
- <div class='wplc-palette-selection <?php if (isset($wplc_settings['wplc_theme']) && $wplc_settings['wplc_theme'] == 'theme-3') { echo 'wplc_theme_active'; } ?>' id='wplc_theme_3'>
849
- <div class='wplc-palette-top' style='background-color:#B97B9D;'></div>
850
- <div class='wplc-palette-top' style='background-color:#FFF;'></div>
851
- <div class='wplc-palette-top' style='background-color:#EEE;'></div>
852
- <div class='wplc-palette-top' style='background-color:#5A0031;'></div>
853
- </div>
854
- </div>
855
- <div class='wplc_palette_single'>
856
- <div class='wplc-palette-selection <?php if (isset($wplc_settings['wplc_theme']) && $wplc_settings['wplc_theme'] == 'theme-4') { echo 'wplc_theme_active'; } ?>' id='wplc_theme_4'>
857
- <div class='wplc-palette-top' style='background-color:#1A14DB;'></div>
858
- <div class='wplc-palette-top' style='background-color:#FDFDFF;'></div>
859
- <div class='wplc-palette-top' style='background-color:#7F7FB3;'></div>
860
- <div class='wplc-palette-top' style='background-color:#666;'></div>
861
- </div>
862
- </div>
863
- <div class='wplc_palette_single'>
864
- <div class='wplc-palette-selection <?php if (isset($wplc_settings['wplc_theme']) && $wplc_settings['wplc_theme'] == 'theme-5') { echo 'wplc_theme_active'; } ?>' id='wplc_theme_5'>
865
- <div class='wplc-palette-top' style='background-color:#3DCC13;'></div>
866
- <div class='wplc-palette-top' style='background-color:#FDFDFF;'></div>
867
- <div class='wplc-palette-top' style='background-color:#EEE;'></div>
868
- <div class='wplc-palette-top' style='background-color:#666;'></div>
869
- </div>
870
- </div>
871
- <div class='wplc_palette_single'>
872
- <div class='wplc-palette-selection <?php if (isset($wplc_settings['wplc_theme']) && $wplc_settings['wplc_theme'] == 'theme-6') { echo 'wplc_theme_active'; } ?>' id='wplc_theme_6'>
873
- <div class='wplc-palette-top' style='padding-top:3px'><?php _e("Choose","wplivechat"); ?></div>
874
- <div class='wplc-palette-top' style='padding-top:3px'><?php _e("Your","wplivechat"); ?></div>
875
- <div class='wplc-palette-top' style='padding-top:3px'><?php _e("Colors","wplivechat"); ?></div>
876
- <div class='wplc-palette-top' style='padding-top:3px'><?php _e("Below","wplivechat"); ?></div>
877
- </div>
878
- </div>
879
-
880
-
881
- </div>
882
- </div>
883
- <input type="radio" name="wplc_theme" value="theme-default" class="wplc_hide_input" id="wplc_rb_theme_default" <?php if (isset($wplc_settings['wplc_theme']) && $wplc_settings['wplc_theme'] == 'theme-default') { echo 'checked'; } ?>/>
884
- <input type="radio" name="wplc_theme" value="theme-1" class="wplc_hide_input" id="wplc_rb_theme_1" <?php if (isset($wplc_settings['wplc_theme']) && $wplc_settings['wplc_theme'] == 'theme-1') { echo 'checked'; } ?>/>
885
- <input type="radio" name="wplc_theme" value="theme-2" class="wplc_hide_input" id="wplc_rb_theme_2" <?php if (isset($wplc_settings['wplc_theme']) && $wplc_settings['wplc_theme'] == 'theme-2') { echo 'checked'; } ?>/>
886
- <input type="radio" name="wplc_theme" value="theme-3" class="wplc_hide_input" id="wplc_rb_theme_3" <?php if (isset($wplc_settings['wplc_theme']) && $wplc_settings['wplc_theme'] == 'theme-3') { echo 'checked'; } ?>/>
887
- <input type="radio" name="wplc_theme" value="theme-4" class="wplc_hide_input" id="wplc_rb_theme_4" <?php if (isset($wplc_settings['wplc_theme']) && $wplc_settings['wplc_theme'] == 'theme-4') { echo 'checked'; } ?>/>
888
- <input type="radio" name="wplc_theme" value="theme-5" class="wplc_hide_input" id="wplc_rb_theme_5" <?php if (isset($wplc_settings['wplc_theme']) && $wplc_settings['wplc_theme'] == 'theme-5') { echo 'checked'; } ?>/>
889
- <input type="radio" name="wplc_theme" value="theme-6" class="wplc_hide_input" id="wplc_rb_theme_6" <?php if (isset($wplc_settings['wplc_theme']) && $wplc_settings['wplc_theme'] == 'theme-6') { echo 'checked'; } ?>/>
890
-
891
- </td>
892
- </tr>
893
-
894
- <tr>
895
- <td width='300' valign='top'><?php _e("Chat background","wplivechat")?>:</td>
896
- <td>
897
-
898
- <select id='wplc_settings_bg' name='wplc_settings_bg'>
899
- <option value="cloudy.jpg" <?php if (!isset($wplc_settings['wplc_settings_bg']) || ($wplc_settings['wplc_settings_bg'] == "cloudy.jpg") ) { echo "selected"; } ?>><?php _e("Cloudy","wplivechat"); ?></option>
900
- <option value="geometry.jpg" <?php if (isset($wplc_settings['wplc_settings_bg']) && $wplc_settings['wplc_settings_bg'] == "geometry.jpg") { echo "selected"; } ?>><?php _e("Geometry","wplivechat"); ?></option>
901
- <option value="tech.jpg" <?php if (isset($wplc_settings['wplc_settings_bg']) && $wplc_settings['wplc_settings_bg'] == "tech.jpg") { echo "selected"; } ?>><?php _e("Tech","wplivechat"); ?></option>
902
- <option value="social.jpg" <?php if (isset($wplc_settings['wplc_settings_bg']) && $wplc_settings['wplc_settings_bg'] == "social.jpg") { echo "selected"; } ?>><?php _e("Social","wplivechat"); ?></option>
903
- <option value="0" <?php if (isset($wplc_settings['wplc_settings_bg']) && $wplc_settings['wplc_settings_bg'] == "0") { echo "selected"; } ?>><?php _e("None","wplivechat"); ?></option>
904
- </select>
905
- </td>
906
- </tr>
907
- <tr>
908
- <td width='200' valign='top'><?php _e("Palette Color 1","wplivechat")?>:</td>
909
- <td>
910
- <input id="wplc_settings_color1" name="wplc_settings_color1" type="text" class="color" value="<?php if (isset($wplc_settings_color1)) { echo $wplc_settings_color1; } else { echo 'ED832F'; } ?>" />
911
- </td>
912
- </tr>
913
- <tr>
914
- <td width='200' valign='top'><?php _e("Palette Color 2","wplivechat")?>:</td>
915
- <td>
916
- <input id="wplc_settings_color2" name="wplc_settings_color2" type="text" class="color" value="<?php if (isset($wplc_settings_color2)) { echo $wplc_settings_color2; } else { echo 'FFFFFF'; } ?>" />
917
- </td>
918
- </tr>
919
- <tr>
920
- <td width='200' valign='top'><?php _e("Palette Color 3","wplivechat")?>:</td>
921
- <td>
922
- <input id="wplc_settings_color3" name="wplc_settings_color3" type="text" class="color" value="<?php if (isset($wplc_settings_color3)) { echo $wplc_settings_color3; } else { echo 'EEEEEE'; } ?>" />
923
- </td>
924
- </tr>
925
- <tr>
926
- <td width='200' valign='top'><?php _e("Palette Color 4","wplivechat")?>:</td>
927
- <td>
928
- <input id="wplc_settings_color4" name="wplc_settings_color4" type="text" class="color" value="<?php if (isset($wplc_settings_color4)) { echo $wplc_settings_color4; } else { echo '666666'; } ?>" />
929
- </td>
930
- </tr>
931
-
932
- <tr>
933
- <td width="200" valign="top"><?php _e("I'm using a localization plugin", "wplivechat") ?></td>
934
- <td>
935
- <input type="checkbox" name="wplc_using_localization_plugin" id="wplc_using_localization_plugin" value="1" <?php if (isset($wplc_settings['wplc_using_localization_plugin']) && $wplc_settings['wplc_using_localization_plugin'] == 1) { echo 'checked'; } ?>/>
936
- <br/><small><?php echo sprintf( __("Enable this if you are using a localization plugin. Should you wish to change the below strings with this option enabled, please visit the documentation %s", "wplivechat"), "<a href='https://wp-livechat.com/documentation/changing-strings-in-the-chat-window-when-using-a-localization-plugin/' target='_BLANK'>".__("here", "wplivechat") ); ?></small>
937
- </td>
938
- </tr>
939
-
940
- <tr style='height:30px;'><td></td><td></td></tr>
941
- <tr class="wplc_localization_strings">
942
- <td width="200" valign="top"><?php _e("First Section Text", "wplivechat") ?>:</td>
943
- <td>
944
- <input id="wplc_pro_fst1" name="wplc_pro_fst1" type="text" size="50" maxlength="50" class="regular-text" value="<?php echo stripslashes($wplc_settings['wplc_pro_fst1']) ?>" /> <br />
945
- <input id="wplc_pro_fst2" name="wplc_pro_fst2" type="text" size="50" maxlength="50" class="regular-text" value="<?php echo stripslashes($wplc_settings['wplc_pro_fst2']) ?>" /> <br />
946
- </td>
947
- </tr>
948
- <tr class="wplc_localization_strings">
949
- <td width="200" valign="top"><?php _e("Intro Text", "wplivechat") ?>:</td>
950
- <td>
951
- <input id="wplc_pro_intro" name="wplc_pro_intro" type="text" size="50" maxlength="150" class="regular-text" value="<?php echo stripslashes($wplc_settings['wplc_pro_intro']) ?>" /> <br />
952
- </td>
953
- </tr>
954
- <tr class="wplc_localization_strings">
955
- <td width="200" valign="top"><?php _e("Second Section Text", "wplivechat") ?>:</td>
956
- <td>
957
- <input id="wplc_pro_sst1" name="wplc_pro_sst1" type="text" size="50" maxlength="30" class="regular-text" value="<?php echo stripslashes($wplc_settings['wplc_pro_sst1']) ?>" /> <br />
958
- <input id="wplc_pro_sst2" name="wplc_pro_sst2" type="text" size="50" maxlength="70" class="regular-text" value="<?php echo stripslashes($wplc_settings['wplc_pro_sst2']) ?>" /> <br />
959
- </td>
960
- </tr>
961
- <tr class="wplc_localization_strings">
962
- <td width="200" valign="top"><?php _e("Reactivate Chat Section Text", "wplivechat") ?>:</td>
963
- <td>
964
- <input id="wplc_pro_tst1" name="wplc_pro_tst1" type="text" size="50" maxlength="50" class="regular-text" value="<?php echo stripslashes($wplc_settings['wplc_pro_tst1']) ?>" /> <br />
965
-
966
-
967
- </td>
968
- </tr>
969
- <?php /* removed as this has been replaced with the "welcome_msg" below
970
- <tr class="wplc_localization_strings">
971
- <td width="200" valign="top"><?php _e("User chat welcome", "wplivechat") ?>:</td>
972
- <td>
973
- <input id="wplc_user_welcome_chat" name="wplc_user_welcome_chat" type="text" size="50" maxlength="150" class="regular-text" value="<?php echo stripslashes($wplc_settings['wplc_user_welcome_chat']) ?>" /> <br />
974
- </td>
975
- </tr>
976
- */ ?>
977
- <tr class="wplc_localization_strings">
978
- <td width="200" valign="top"><?php _e("Welcome message", "wplivechat") ?>:</td>
979
- <td>
980
- <input id="wplc_welcome_msg" name="wplc_welcome_msg" type="text" size="50" maxlength="350" class="regular-text" value="<?php echo stripslashes($wplc_settings['wplc_welcome_msg']) ?>" /> <span class='description'><?php _e('This text is shown as soon as a user starts a chat and waits for an agent to join', 'wplivechat'); ?></span><br />
981
- </td>
982
- </tr>
983
- <tr class="wplc_localization_strings">
984
- <td width="200" valign="top"><?php _e("No answer", "wplivechat") ?>:</td>
985
- <td>
986
- <input id="wplc_user_no_answer" name="wplc_user_no_answer" type="text" size="50" maxlength="150" class="regular-text" value="<?php echo (isset($wplc_settings['wplc_user_no_answer']) ? stripslashes($wplc_settings['wplc_user_no_answer']) : __("There is No Answer. Please Try Again Later.","wplivechat")); ?>" /> <span class='description'><?php _e('This text is shown to the user when an agent has failed to answer a chat ', 'wplivechat'); ?></span><br />
987
- </td>
988
- </tr>
989
- <tr class="wplc_localization_strings">
990
- <td width="200" valign="top"><?php _e("Other text", "wplivechat") ?>:</td>
991
- <td>
992
- <input id="wplc_user_enter" name="wplc_user_enter" type="text" size="50" maxlength="150" class="regular-text" value="<?php echo stripslashes($wplc_settings['wplc_user_enter']) ?>" /><br />
993
- <input id="wplc_text_chat_ended" name="wplc_text_chat_ended" type="text" size="50" maxlength="150" class="regular-text" value="<?php echo ( empty( $wplc_settings['wplc_text_chat_ended'] ) ) ? stripslashes(__("The chat has been ended by the operator.", "wplivechat")) : stripslashes( $wplc_settings['wplc_text_chat_ended'] ) ?>" /> <br />
994
- </td>
995
- </tr>
996
- <!--
997
- <tr class="wplc_localization_strings">
998
- <td width="200" valign="top"><?php _e("Close Button Text", "wplivechat") ?>:</td>
999
- <td>
1000
- <input id="wplc_close_btn_text" name="wplc_close_btn_text" type="text" size="50" maxlength="150" class="regular-text" value="<?php echo stripslashes($wplc_settings['wplc_close_btn_text']) ?>" /><br />
1001
- </td>
1002
- </tr>
1003
- -->
1004
-
1005
- <tr>
1006
- <th><label for=""><?php _e('Choose an animation', 'wplivechat'); ?></label></th>
1007
-
1008
- <td>
1009
- <div class='wplc_animation_block'>
1010
- <div class='wplc_animation_image <?php if (isset($wplc_settings['wplc_animation']) && $wplc_settings['wplc_animation'] == 'animation-1') {
1011
- echo 'wplc_animation_active';
1012
- } ?>' id='wplc_animation_1'>
1013
- <i class="fa fa-arrow-circle-up wplc_orange"></i>
1014
- <p><?php _e('Slide Up', 'wplivechat'); ?></p>
1015
- </div>
1016
- <div class='wplc_animation_image <?php if (isset($wplc_settings['wplc_animation']) && $wplc_settings['wplc_animation'] == 'animation-2') {
1017
- echo 'wplc_animation_active';
1018
- } ?>' id='wplc_animation_2'>
1019
- <i class="fa fa-arrows-h wplc_red"></i>
1020
- <p><?php _e('Slide From The Side', 'wplivechat'); ?></p>
1021
- </div>
1022
- <div class='wplc_animation_image <?php if (isset($wplc_settings['wplc_animation']) && $wplc_settings['wplc_animation'] == 'animation-3') {
1023
- echo 'wplc_animation_active';
1024
- } ?>' id='wplc_animation_3'>
1025
- <i class="fa fa-arrows-alt wplc_orange"></i>
1026
- <p><?php _e('Fade In', 'wplivechat'); ?></p>
1027
- </div>
1028
- <div class='wplc_animation_image <?php if ((isset($wplc_settings['wplc_animation']) && $wplc_settings['wplc_animation'] == 'animation-4') || !isset($wplc_settings['wplc_animation'])) {
1029
- echo 'wplc_animation_active';
1030
- } ?>' id='wplc_animation_4'>
1031
- <i class="fa fa-thumb-tack wplc_red"></i>
1032
- <p><?php _e('No Animation', 'wplivechat'); ?></p>
1033
- </div>
1034
- </div>
1035
- <input type="radio" name="wplc_animation" value="animation-1" class="wplc_hide_input" id="wplc_rb_animation_1" class='wplc_hide_input' <?php if (isset($wplc_settings['wplc_animation']) && $wplc_settings['wplc_animation'] == 'animation-1') {
1036
- echo 'checked';
1037
- } ?>/>
1038
- <input type="radio" name="wplc_animation" value="animation-2" class="wplc_hide_input" id="wplc_rb_animation_2" class='wplc_hide_input' <?php if (isset($wplc_settings['wplc_animation']) && $wplc_settings['wplc_animation'] == 'animation-2') {
1039
- echo 'checked';
1040
- } ?>/>
1041
- <input type="radio" name="wplc_animation" value="animation-3" class="wplc_hide_input" id="wplc_rb_animation_3" class='wplc_hide_input' <?php if (isset($wplc_settings['wplc_animation']) && $wplc_settings['wplc_animation'] == 'animation-3') {
1042
- echo 'checked';
1043
- } ?>/>
1044
- <input type="radio" name="wplc_animation" value="animation-4" class="wplc_hide_input" id="wplc_rb_animation_4" class='wplc_hide_input' <?php if (isset($wplc_settings['wplc_animation']) && $wplc_settings['wplc_animation'] == 'animation-4') {
1045
- echo 'checked';
1046
- } ?>/>
1047
- </td>
1048
- </tr>
1049
- </table>
1050
- </div>
1051
- <div id="tabs-5">
1052
-
1053
-
1054
- <?php do_action("wplc_hook_agents_settings"); ?>
1055
-
1056
-
1057
- </div>
1058
- <div id="tabs-7">
1059
- <h3><?php _e("Blocked Visitors - Based on IP Address", "wplivechat") ?></h3>
1060
- <table class='form-table wp-list-table wplc_list_table widefat fixed striped pages' width='100%'>
1061
- <tr>
1062
- <td>
1063
- <textarea name="wplc_ban_users_ip" style="width: 50%; min-height: 200px;" placeholder="<?php _e('Enter each IP Address you would like to block on a new line', 'wplivechat'); ?>" autocomplete="false"><?php
1064
- $ip_addresses = get_option('WPLC_BANNED_IP_ADDRESSES');
1065
- if($ip_addresses){
1066
- $ip_addresses = maybe_unserialize($ip_addresses);
1067
- if ($ip_addresses && is_array($ip_addresses)) {
1068
- foreach($ip_addresses as $ip){
1069
- echo $ip."\n";
1070
- }
1071
- }
1072
- }
1073
- ?></textarea>
1074
- <p class="description"><?php _e('Blocking a user\'s IP Address here will hide the chat window from them, preventing them from chatting with you. Each IP Address must be on a new line', 'wplivechat'); ?></p>
1075
- </td>
1076
- </tr>
1077
- </table>
1078
- </div>
1079
-
1080
-
1081
-
1082
- <?php do_action("wplc_hook_settings_page_more_tabs"); ?>
1083
-
1084
- </div>
1085
- <p class='submit'><input type='submit' name='wplc_save_settings' class='button-primary' value='<?php _e("Save Settings","wplivechat")?>' /></p>
1086
- </form>
1087
-
1088
- </div>
1089
-
1090
-
 
 
1
+ <style>
2
+ .ui-tabs-vertical { }
3
+ .ui-tabs-vertical .ui-tabs-nav {
4
+ padding: .2em .1em .2em .2em;
5
+ float: left;
6
+ /* width: 10%; */
7
+ max-width: 20%;
8
+ min-width: 190px;
9
+ }
10
+ .ui-tabs-vertical .ui-tabs-nav li { clear: left; width: 100%; border-bottom-width: 1px !important; border-right-width: 0 !important; margin: 0 -1px .2em 0; }
11
+ .ui-tabs-vertical .ui-tabs-nav li a { display:block; }
12
+ .ui-tabs-vertical .ui-tabs-nav li.ui-tabs-active { padding-bottom: 0; padding-right: .1em; border-right-width: 1px; }
13
+ .ui-tabs-vertical .ui-tabs-panel {
14
+ /* padding: 1em; */
15
+ float: left;
16
+ min-width: 67%;
17
+ max-width: 67%;
18
+ }
19
+ textarea, input[type='text'], input[type='email'], input[type='password']{ width: 100% !important; }
20
+ </style>
21
+
22
+ <?php
23
+ /**
24
+ * Removes the ajax loader and forces the settings page to load as is after 3 seconds.
25
+ *
26
+ * This has been put here to counter any PHP fatal warnings that may be experienced on the settings page.
27
+ *
28
+ * Putting this in the wplc_tabs.js file will not work as that file is not loaded if there is a PHP fatal error
29
+ */
30
+ ?>
31
+ <script>
32
+ setTimeout( function() {
33
+ jQuery("#wplc_settings_page_loader").remove();
34
+ jQuery(".wrap").css('display','block');
35
+ jQuery(".wplc_settings_save_notice").css('display','block');
36
+ },3000);
37
+ </script>
38
+
39
+ <?php wplc_stats("settings");
40
+
41
+
42
+ if (function_exists("wplc_string_check")) { wplc_string_check(); }
43
+ $wplc_settings = get_option("WPLC_SETTINGS");
44
+
45
+ ?>
46
+
47
+ <?php
48
+ if (get_option("WPLC_HIDE_CHAT") == true) {
49
+ $wplc_hide_chat = "checked";
50
+ } else {
51
+ $wplc_hide_chat = "";
52
+ };
53
+
54
+ ?>
55
+ <img src='<?php echo WPLC_BASIC_PLUGIN_URL.'images/ajax-loader.gif'; ?>' id='wplc_settings_page_loader' style='display: block; margin: 20px auto;' />
56
+ <div class="wrap wplc_wrap" style='display: none;'>
57
+
58
+ <style>
59
+ .wplc_light_grey{
60
+ color: #666;
61
+ }
62
+ </style>
63
+ <div id="icon-edit" class="icon32 icon32-posts-post">
64
+ <br>
65
+ </div>
66
+ <h2><?php _e("WP Live Chat Support Settings","wplivechat")?></h2>
67
+ <?php
68
+
69
+ $wplc_mail_type = get_option("wplc_mail_type");
70
+ if (!isset($wplc_mail_type) || $wplc_mail_type == "" || !$wplc_mail_type) { $wplc_mail_type = "wp_mail"; }
71
+ if (isset($wplc_settings["wplc_settings_align"])) { $wplc_settings_align[intval($wplc_settings["wplc_settings_align"])] = "SELECTED"; }
72
+ if (isset($wplc_settings["wplc_settings_enabled"])) { $wplc_settings_enabled[intval($wplc_settings["wplc_settings_enabled"])] = "SELECTED"; }
73
+ if (isset($wplc_settings["wplc_settings_fill"])) { $wplc_settings_fill = $wplc_settings["wplc_settings_fill"]; } else { $wplc_settings_fill = "ed832f"; }
74
+ if (isset($wplc_settings["wplc_settings_font"])) { $wplc_settings_font = $wplc_settings["wplc_settings_font"]; } else { $wplc_settings_font = "FFFFFF"; }
75
+ if (isset($wplc_settings["wplc_settings_color1"])) { $wplc_settings_color1 = $wplc_settings["wplc_settings_color1"]; } else { $wplc_settings_color1 = "ED832F"; }
76
+ if (isset($wplc_settings["wplc_settings_color2"])) { $wplc_settings_color2 = $wplc_settings["wplc_settings_color2"]; } else { $wplc_settings_color2 = "FFFFFF"; }
77
+ if (isset($wplc_settings["wplc_settings_color3"])) { $wplc_settings_color3 = $wplc_settings["wplc_settings_color3"]; } else { $wplc_settings_color3 = "EEEEEE"; }
78
+ if (isset($wplc_settings["wplc_settings_color4"])) { $wplc_settings_color4 = $wplc_settings["wplc_settings_color4"]; } else { $wplc_settings_color4 = "666666"; }
79
+ if (isset($wplc_settings["wplc_environment"])) { $wplc_environment[intval($wplc_settings["wplc_environment"])] = "SELECTED"; }
80
+
81
+
82
+ if(get_option("WPLC_HIDE_CHAT") == true) { $wplc_hide_chat = "checked"; } else { $wplc_hide_chat = ""; };
83
+
84
+ ?>
85
+ <form action='' name='wplc_settings' method='POST' id='wplc_settings'>
86
+
87
+ <div id="wplc_tabs">
88
+ <ul>
89
+ <?php
90
+ $tab_array = array(
91
+ 0 => array(
92
+ "href" => "#tabs-1",
93
+ "icon" => 'fa fa-gear',
94
+ "label" => __("General Settings","wplivechat")
95
+ ),
96
+ 1 => array(
97
+ "href" => "#tabs-2",
98
+ "icon" => 'fa fa-envelope',
99
+ "label" => __("Chat Box","wplivechat")
100
+ ),
101
+ 2 => array(
102
+ "href" => "#tabs-3",
103
+ "icon" => 'fa fa-book',
104
+ "label" => __("Offline Messages","wplivechat")
105
+ ),
106
+ 3 => array(
107
+ "href" => "#tabs-4",
108
+ "icon" => 'fa fa-pencil',
109
+ "label" => __("Styling","wplivechat")
110
+ ),
111
+ 4 => array(
112
+ "href" => "#tabs-5",
113
+ "icon" => 'fa fa-users',
114
+ "label" => __("Agents","wplivechat")
115
+ ),
116
+ 5 => array(
117
+ "href" => "#tabs-7",
118
+ "icon" => 'fa fa-gavel',
119
+ "label" => __("Blocked Visitors","wplivechat")
120
+ )
121
+ );
122
+ $tabs_top = apply_filters("wplc_filter_setting_tabs",$tab_array);
123
+
124
+ foreach ($tabs_top as $tab) {
125
+ echo "<li><a href=\"".$tab['href']."\"><i class=\"".$tab['icon']."\"></i> ".$tab['label']."</a></li>";
126
+ }
127
+
128
+ ?>
129
+
130
+ </ul>
131
+ <div id="tabs-1">
132
+ <h3><?php _e("General Settings",'wplivechat')?></h3>
133
+ <table class='wp-list-table wplc_list_table widefat fixed striped pages' width='700'>
134
+ <tr>
135
+ <td width='350' valign='top'><?php _e("Chat enabled","wplivechat")?>: </td>
136
+ <td>
137
+ <select id='wplc_settings_enabled' name='wplc_settings_enabled'>
138
+ <option value="1" <?php if (isset($wplc_settings_enabled[1])) { echo $wplc_settings_enabled[1]; } ?>><?php _e("Yes","wplivechat"); ?></option>
139
+ <option value="2" <?php if (isset($wplc_settings_enabled[2])) { echo $wplc_settings_enabled[2]; }?>><?php _e("No","wplivechat"); ?></option>
140
+ </select>
141
+ </td>
142
+ </tr>
143
+ <?php /*
144
+ <tr>
145
+ <td width='200' valign='top'>
146
+ <?php _e("Show the 'Powered by WP Live Chat Support' link", "wplivechat") ?>: <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e('Checking this will display a Powered by WP Live Chat Support link', 'wplivechat'); ?>"></i>
147
+ </td>
148
+ <td>
149
+ <input type="checkbox" value="1" name="wplc_powered_by_link" <?php if (isset($wplc_settings['wplc_powered_by_link']) && $wplc_settings['wplc_powered_by_link'] == 1) { echo "checked"; } ?> />
150
+ </td>
151
+ </tr>
152
+ */ ?>
153
+
154
+ <!--
155
+ <tr>
156
+ <td width='400' valign='top'>
157
+ <?php _e("Hide Chat", "wplivechat") ?>: <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("Hides chat for 24hrs when user clicks X", "wplivechat") ?>"></i>
158
+ </td>
159
+ <td valign='top'>
160
+ <input type="checkbox" name="wplc_hide_chat" value="true" <?php echo $wplc_hide_chat ?>/>
161
+ </td>
162
+ </tr>
163
+ -->
164
+ <tr>
165
+ <td width='300' valign='top'>
166
+ <?php _e("Required Chat Box Fields","wplivechat")?>: <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("Set default fields that will be displayed when users starting a chat", "wplivechat") ?>"></i>
167
+ </td>
168
+ <td valign='top'>
169
+ <div class="wplc-require-user-info__item">
170
+ <input type="radio" value="1" name="wplc_require_user_info" id="wplc_require_user_info_both" <?php if (isset($wplc_settings['wplc_require_user_info']) && $wplc_settings['wplc_require_user_info'] == '1') { echo "checked"; } ?> />
171
+ <label for="wplc_require_user_info_both"><?php _e( 'Name and email', 'wplivechat' ); ?></label>
172
+ </div>
173
+ <div class="wplc-require-user-info__item">
174
+ <input type="radio" value="email" name="wplc_require_user_info" id="wplc_require_user_info_email" <?php if (isset($wplc_settings['wplc_require_user_info']) && $wplc_settings['wplc_require_user_info'] == 'email') { echo "checked"; } ?> />
175
+ <label for="wplc_require_user_info_email"><?php _e( 'Email', 'wplivechat' ); ?></label>
176
+ </div>
177
+ <div class="wplc-require-user-info__item">
178
+ <input type="radio" value="name" name="wplc_require_user_info" id="wplc_require_user_info_name" <?php if (isset($wplc_settings['wplc_require_user_info']) && $wplc_settings['wplc_require_user_info'] == 'name') { echo "checked"; } ?> />
179
+ <label for="wplc_require_user_info_name"><?php _e( 'Name', 'wplivechat' ); ?></label>
180
+ </div>
181
+ <div class="wplc-require-user-info__item">
182
+ <input type="radio" value="0" name="wplc_require_user_info" id="wplc_require_user_info_none" <?php if (isset($wplc_settings['wplc_require_user_info']) && $wplc_settings['wplc_require_user_info'] == '0') { echo "checked"; } ?> />
183
+ <label for="wplc_require_user_info_none"><?php _e( 'No fields', 'wplivechat' ); ?></label>
184
+ </div>
185
+ </td>
186
+ </tr>
187
+ <tr class="wplc-user-default-visitor-name__row">
188
+ <td width='300' valign='top'>
189
+ <?php _e("Default visitor name","wplivechat"); ?>: <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("This name will be displayed for all not logged in visitors", "wplivechat") ?>"></i>
190
+ </td>
191
+ <td valign='top'>
192
+ <input type="text" name="wplc_user_default_visitor_name" id="wplc_user_default_visitor_name" value="<?php if ( isset( $wplc_settings['wplc_user_default_visitor_name'] ) ) { echo stripslashes( $wplc_settings['wplc_user_default_visitor_name'] ); } else { echo __( "Guest", "wplivechat" ); } ?>" />
193
+ </td>
194
+ </tr>
195
+ <tr>
196
+ <td width='300' valign='top'>
197
+ <?php _e("Input Field Replacement Text","wplivechat")?>: <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("This is the text that will show in place of the Name And Email fields", "wplivechat") ?>"></i>
198
+ </td>
199
+ <td valign='top'>
200
+ <textarea cols="45" rows="5" name="wplc_user_alternative_text" ><?php if(isset($wplc_settings['wplc_user_alternative_text'])) { echo stripslashes($wplc_settings['wplc_user_alternative_text']); } ?></textarea>
201
+ </td>
202
+ </tr>
203
+ <tr>
204
+ <td width='300' valign='top'>
205
+ <?php _e("Use Logged In User Details","wplivechat")?>: <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("A user's Name and Email Address will be used by default if they are logged in.", "wplivechat") ?>"></i>
206
+ </td>
207
+ <td valign='top'>
208
+ <input type="checkbox" value="1" name="wplc_loggedin_user_info" <?php if(isset($wplc_settings['wplc_loggedin_user_info']) && $wplc_settings['wplc_loggedin_user_info'] == 1 ) { echo "checked"; } ?> />
209
+ </td>
210
+ </tr>
211
+ <tr>
212
+ <td width='200' valign='top'>
213
+ <?php _e("Enable On Mobile Devices","wplivechat"); ?>: <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("Disabling this will mean that the Chat Box will not be displayed on mobile devices. (Smartphones and Tablets)", "wplivechat") ?>"></i>
214
+ </td>
215
+ <td valign='top'>
216
+ <input type="checkbox" value="1" name="wplc_enabled_on_mobile" <?php if(isset($wplc_settings['wplc_enabled_on_mobile']) && $wplc_settings['wplc_enabled_on_mobile'] == 1 ) { echo "checked"; } ?> />
217
+ </td>
218
+ </tr>
219
+ <!--<tr>
220
+ <td width='350' valign='top'>
221
+ <?php _e("Record a visitor's IP Address","wplivechat"); ?>: <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("Disable this to enable anonymity for your visitors", "wplivechat") ?>"></i>
222
+ </td>
223
+ <td valign='top'>
224
+ <input type="checkbox" value="1" name="wplc_record_ip_address" <?php if(isset($wplc_settings['wplc_record_ip_address']) && $wplc_settings['wplc_record_ip_address'] == 1 ) { echo "checked"; } ?> />
225
+ </td>
226
+ </tr>-->
227
+
228
+ <?php if( isset( $wplc_settings['wplc_use_node_server'] ) && intval( $wplc_settings['wplc_use_node_server'] ) == 1 ){ ?>
229
+ <tr>
230
+ <td width='300' valign='top'>
231
+ <?php _e("Play a sound when there is a new visitor","wplivechat"); ?>: <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("Disable this to mute the sound that is played when a new visitor arrives", "wplivechat") ?>"></i>
232
+ </td>
233
+ <td valign='top'>
234
+ <input type="checkbox" value="1" name="wplc_enable_visitor_sound" <?php if(isset($wplc_settings['wplc_enable_visitor_sound']) && $wplc_settings['wplc_enable_visitor_sound'] == 1 ) { echo "checked"; } ?> />
235
+ </td>
236
+ </tr>
237
+ <?php } ?>
238
+ <tr>
239
+ <td width='300' valign='top'>
240
+ <?php _e("Play a sound when a new message is received","wplivechat"); ?>: <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("Disable this to mute the sound that is played when a new chat message is received", "wplivechat") ?>"></i>
241
+ </td>
242
+ <td valign='top'>
243
+ <input type="checkbox" value="1" name="wplc_enable_msg_sound" <?php if(isset($wplc_settings['wplc_enable_msg_sound']) && $wplc_settings['wplc_enable_msg_sound'] == 1 ) { echo "checked"; } ?> />
244
+ </td>
245
+ </tr>
246
+
247
+ <tr>
248
+ <td width='300' valign='top'>
249
+ <?php _e("Enable Font Awesome set","wplivechat"); ?>: <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("Disable this if you have Font Awesome set included with your theme", "wplivechat") ?>"></i>
250
+ </td>
251
+ <td valign='top'>
252
+ <input type="checkbox" value="1" name="wplc_enable_font_awesome" <?php if(isset($wplc_settings['wplc_enable_font_awesome']) && $wplc_settings['wplc_enable_font_awesome'] == 1 ) { echo "checked"; } ?> />
253
+ </td>
254
+ </tr>
255
+ <tr>
256
+ <td width='300' valign='top'>
257
+ <?php _e("Enable chat dashboard and notifications on all admin pages","wplivechat"); ?>: <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("This will load the chat dashboard on every admin page.", "wplivechat") ?>"></i>
258
+ </td>
259
+ <td valign='top'>
260
+ <input type="checkbox" value="1" name="wplc_enable_all_admin_pages" <?php if(isset($wplc_settings['wplc_enable_all_admin_pages']) && $wplc_settings['wplc_enable_all_admin_pages'] == 1 ) { echo "checked"; } ?> />
261
+ </td>
262
+ </tr>
263
+
264
+ <?php if (!function_exists("wplc_pro_activate")) { ?>
265
+
266
+ <tr>
267
+ <td width='300' valign='top'>
268
+ <?php _e("Include chat window on the following pages","wplivechat"); ?>: <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("Show the chat window on the following pages. Leave blank to show on all. (Use comma-separated Page ID's)", "wplivechat") ?>"></i>
269
+ </td>
270
+ <td valign='top'>
271
+ <input type="text" readonly="readonly" />
272
+ <small>
273
+ <i>
274
+ <?php _e("available in the","wplivechat")?>
275
+ <a href="http://www.wp-livechat.com/purchase-pro/?utm_source=plugin&utm_medium=link&utm_campaign=include_pages" title="<?php _e("Pro Add-on","wplivechat")?>" target="_BLANK"><?php _e("Pro Add-on","wplivechat")?></a>
276
+ <?php _e("only","wplivechat")?>
277
+ </i>
278
+ </small>
279
+ </td>
280
+ </tr>
281
+ <tr>
282
+ <td width='200' valign='top'>
283
+ <?php _e("Exclude chat window on the following pages","wplivechat"); ?>: <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("Do not show the chat window on the following pages. Leave blank to show on all. (Use comma-separated Page ID's)", "wplivechat") ?>"></i>
284
+ </td>
285
+ <td valign='top'>
286
+ <input type="text" readonly="readonly"/>
287
+ <small>
288
+ <i>
289
+ <?php _e("available in the","wplivechat")?>
290
+ <a href="http://www.wp-livechat.com/purchase-pro/?utm_source=plugin&utm_medium=link&utm_campaign=exclude_pages" title="<?php _e("Pro Add-on","wplivechat")?>" target="_BLANK"><?php _e("Pro Add-on","wplivechat")?></a>
291
+ <?php _e("only","wplivechat")?>
292
+ </i>
293
+ </small>
294
+ </td>
295
+ </tr>
296
+
297
+ <tr class="wplc-exclude-post-types__row">
298
+ <td width='200' valign='top'>
299
+ <?php _e("Exclude chat window on selected post types","wplivechat"); ?>: <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("Do not show the chat window on the following post types pages.", "wplivechat") ?>"></i>
300
+ </td>
301
+ <td valign='top'>
302
+ <input type="text" readonly="readonly"/>
303
+ <small>
304
+ <i>
305
+ <?php _e("available in the","wplivechat")?>
306
+ <a href="http://www.wp-livechat.com/purchase-pro/?utm_source=plugin&utm_medium=link&utm_campaign=exclude_pages" title="<?php _e("Pro Add-on","wplivechat")?>" target="_BLANK"><?php _e("Pro Add-on","wplivechat")?></a>
307
+ <?php _e("only","wplivechat")?>
308
+ </i>
309
+ </small>
310
+ </td>
311
+ </tr>
312
+
313
+ <?php } ?>
314
+ </table>
315
+ <?php do_action('wplc_hook_admin_settings_main_settings_after'); ?>
316
+
317
+
318
+ </div>
319
+ <div id="tabs-2">
320
+ <h3><?php _e("Chat Window Settings",'wplivechat')?></h3>
321
+ <table class='wp-list-table wplc_list_table widefat fixed striped pages'>
322
+ <tr>
323
+ <td width='300' valign='top'><?php _e("Chat box alignment","wplivechat")?>:</td>
324
+ <td>
325
+ <select id='wplc_settings_align' name='wplc_settings_align'>
326
+ <option value="1" <?php if (isset($wplc_settings_align[1])) { echo $wplc_settings_align[1]; } ?>><?php _e("Bottom left","wplivechat"); ?></option>
327
+ <option value="2" <?php if (isset($wplc_settings_align[2])) { echo $wplc_settings_align[2]; } ?>><?php _e("Bottom right","wplivechat"); ?></option>
328
+ <option value="3" <?php if (isset($wplc_settings_align[3])) { echo $wplc_settings_align[3]; } ?>><?php _e("Left","wplivechat"); ?></option>
329
+ <option value="4" <?php if (isset($wplc_settings_align[4])) { echo $wplc_settings_align[4]; } ?>><?php _e("Right","wplivechat"); ?></option>
330
+ </select>
331
+ </td>
332
+ </tr>
333
+ <tr>
334
+ <td width='300'>
335
+ <?php _e("Auto Pop-up","wplivechat") ?> <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("Expand the chat box automatically (prompts the user to enter their name and email address).","wplivechat") ?>"></i>
336
+ </td>
337
+ <td>
338
+ <input type="checkbox" name="wplc_auto_pop_up" value="1" <?php if(isset($wplc_settings['wplc_auto_pop_up']) && $wplc_settings['wplc_auto_pop_up'] == 1 ) { echo "checked"; } ?>/>
339
+ </td>
340
+ </tr>
341
+
342
+
343
+
344
+
345
+ <?php if (!function_exists("wplc_pro_activate")) { ?>
346
+ <tr>
347
+ <td width='300'>
348
+ <?php _e("Display typing indicator","wplivechat") ?> <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("Display a typing animation as soon as someone starts typing.","wplivechat") ?>"></i>
349
+ </td>
350
+ <td>
351
+ <input type="checkbox" name="" value="" disabled />
352
+ <small>
353
+ <i>
354
+ <?php _e("available in the","wplivechat")?>
355
+ <a href="http://www.wp-livechat.com/purchase-pro/?utm_source=plugin&utm_medium=link&utm_campaign=typing" title="<?php _e("Pro Add-on","wplivechat")?>" target="_BLANK"><?php _e("Pro Add-on","wplivechat")?></a>
356
+ <?php _e("only","wplivechat")?>
357
+ </i>
358
+ </small>
359
+ </td>
360
+ </tr>
361
+ <tr>
362
+ <tr>
363
+
364
+ <td width='300' valign='top'>
365
+ <?php _e("Name","wplivechat")?>:
366
+ </td>
367
+ <td>
368
+ <input type='text' size='50' maxlength='50' disabled readonly value='admin' />
369
+ <small>
370
+ <i>
371
+ <?php _e("available in the","wplivechat")?>
372
+ <a href="http://www.wp-livechat.com/purchase-pro/?utm_source=plugin&utm_medium=link&utm_campaign=name" title="<?php _e("Pro Add-on","wplivechat")?>" target="_BLANK"><?php _e("Pro Add-on","wplivechat")?></a>
373
+ <?php _e("only","wplivechat")?>
374
+ </i>
375
+ </small>
376
+ </td>
377
+ </tr>
378
+ <!--<tr>
379
+ <td width='300'>
380
+ <?php _e("Avatar","wplivechat") ?> <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("Choose which picture to use as your avatar.","wplivechat") ?>"></i>
381
+ </td>
382
+ <td>
383
+ <select name="wplc_avatar_source">
384
+ <option value="gravatar" <?php echo (isset($wplc_settings['wplc_avatar_source']) && $wplc_settings['wplc_avatar_source'] == 'gravatar') ? 'selected' : ''; ?>>Gravatar</option>
385
+ <option value="wp_avatar" <?php echo (isset($wplc_settings['wplc_avatar_source']) && $wplc_settings['wplc_avatar_source'] == 'wp_avatar') ? 'selected' : ''; ?>>WP User Avatar</option>
386
+ </select>
387
+ </td>
388
+ </tr>-->
389
+ <!-- Chat Icon-->
390
+ <tr>
391
+ <td width='300' valign='top'>
392
+ <?php _e("Icon","wplivechat")?>:
393
+ </td>
394
+ <td>
395
+ <input id="wplc_pro_chat_button" type="button" value="<?php _e("Upload Image","wplivechat")?>" readonly disabled />
396
+ <small>
397
+ <i>
398
+ <?php _e("available in the","wplivechat")?>
399
+ <a href="http://www.wp-livechat.com/purchase-pro/?utm_source=plugin&utm_medium=link&utm_campaign=pic" title="<?php _e("Pro Add-on","wplivechat")?>" target="_BLANK"><?php _e("Pro Add-on","wplivechat")?></a>
400
+ <?php _e("only","wplivechat")?>
401
+ </i>
402
+ </small>
403
+ </td>
404
+ </tr>
405
+ <!-- Chat Pic-->
406
+ <tr>
407
+ <td width='300' valign='top'>
408
+ <?php _e("Picture","wplivechat")?>:
409
+ </td>
410
+ <td>
411
+ <input id="wplc_pro_pic_button" type="button" value="<?php _e("Upload Image","wplivechat")?>" readonly disabled />
412
+ <small>
413
+ <i>
414
+ <?php _e("available in the","wplivechat")?>
415
+ <a href="http://www.wp-livechat.com/purchase-pro/?utm_source=plugin&utm_medium=link&utm_campaign=pic" title="<?php _e("Pro Add-on","wplivechat")?>" target="_BLANK"><?php _e("Pro Add-on","wplivechat")?></a>
416
+ <?php _e("only","wplivechat")?>
417
+ </i>
418
+ </small>
419
+ </td>
420
+ </tr>
421
+ <!-- Chat Logo-->
422
+ <tr>
423
+ <td width='300' valign='top'>
424
+ <?php _e("Logo","wplivechat")?>:
425
+ </td>
426
+ <td>
427
+ <input id="wplc_pro_logo_button" type="button" value="<?php _e("Upload Image","wplivechat")?>" readonly disabled />
428
+ <small>
429
+ <i>
430
+ <?php _e("available in the","wplivechat")?>
431
+ <a href="http://www.wp-livechat.com/purchase-pro/?utm_source=plugin&utm_medium=link&utm_campaign=pic" title="<?php _e("Pro Add-on","wplivechat")?>" target="_BLANK"><?php _e("Pro Add-on","wplivechat")?></a>
432
+ <?php _e("only","wplivechat")?>
433
+ </i>
434
+ </small>
435
+ </td>
436
+ </tr>
437
+ <!-- Chat Delay-->
438
+ <tr>
439
+ <td width='300' valign='top'>
440
+ <?php _e("Chat delay (seconds)","wplivechat")?>:
441
+ </td>
442
+ <td>
443
+ <input type='text' size='50' maxlength='50' disabled readonly value='10' />
444
+ <small>
445
+ <i>
446
+ <?php _e("available in the","wplivechat")?>
447
+ <a href="http://www.wp-livechat.com/purchase-pro/?utm_source=plugin&utm_medium=link&utm_campaign=delay" title="<?php _e("Pro Add-on","wplivechat")?>" target="_BLANK"><?php _e("Pro Add-on","wplivechat")?></a>
448
+ <?php _e("only","wplivechat")?>
449
+ </i>
450
+ </small>
451
+ </td>
452
+ </tr>
453
+ <!-- Chat Notification if want to chat-->
454
+ <tr>
455
+ <td width='300' valign='top'>
456
+ <?php _e("Chat notifications", "wplivechat") ?>:
457
+ </td>
458
+ <td>
459
+ <input id='wplc_pro_chat_notification' name='wplc_pro_chat_notification' type='checkbox' value='yes' disabled="disabled" readonly/>
460
+ <?php _e("Alert me via email as soon as someone wants to chat", "wplivechat") ?>
461
+ <small>
462
+ <i>
463
+ <?php _e("available in the", "wplivechat") ?>
464
+ <a href="http://www.wp-livechat.com/purchase-pro/?utm_source=plugin&utm_medium=link&utm_campaign=alert" title="<?php _e("Pro Add-on", "wplivechat") ?>" target="_BLANK"><?php _e("Pro Add-on", "wplivechat") ?></a>
465
+ <?php _e("only", "wplivechat") ?>
466
+ </i>
467
+ </small>
468
+ </td>
469
+ </tr>
470
+ <?php } ?>
471
+
472
+ <!-- <tr>
473
+ <td>
474
+ <?php //_e("Display name and avatar in chat", "wplivechat") ?> <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php //_e("Display the agent and user name above each message in the chat window.", "wplivechat") ?>"></i>
475
+ </td>
476
+ <td>
477
+ <input type="checkbox" name="wplc_display_name" value="1" <?php //if (isset($wplc_settings['wplc_display_name']) && $wplc_settings['wplc_display_name'] == 1) {
478
+ //echo "checked";
479
+ //} ?>/>
480
+ </td>
481
+ </tr> -->
482
+ <tr>
483
+ <td>
484
+ <?php _e("Display details in chat message", "wplivechat") ?>
485
+ </td>
486
+ <td> <!-- $wplc_settings['wplc_display_name'] Remember for backwards compat -->
487
+ <?php if (isset($wplc_settings['wplc_show_name']) && $wplc_settings['wplc_show_name'] == 1) { $checked = "checked"; } else { $checked = ''; } ?>
488
+ <input type="checkbox" name="wplc_show_name" value="1" <?php echo $checked; ?>/> <label><?php _e("Show Name", "wplivechat"); ?></label><br/>
489
+ <?php if (isset($wplc_settings['wplc_show_avatar']) && $wplc_settings['wplc_show_avatar'] == 1) { $checked = "checked"; } else { $checked = ''; } ?>
490
+ <input type="checkbox" name="wplc_show_avatar" value="1" <?php echo $checked; ?>/> <label><?php _e("Show Avatar", "wplivechat"); ?></label>
491
+ </td>
492
+ </tr>
493
+ <tr>
494
+ <td>
495
+ <?php _e("Only show the chat window to users that are logged in", "wplivechat") ?> <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("By checking this, only users that are logged in will be able to chat with you.", "wplivechat") ?>"></i>
496
+ </td>
497
+ <td>
498
+ <input type="checkbox" name="wplc_display_to_loggedin_only" value="1" <?php
499
+ if (isset($wplc_settings['wplc_display_to_loggedin_only']) && $wplc_settings['wplc_display_to_loggedin_only'] == 1) {
500
+ echo "checked";
501
+ }
502
+ ?>/>
503
+ </td>
504
+ </tr>
505
+ <tr>
506
+ <td>
507
+ <?php _e("Display a timestamp in the chat window", "wplivechat") ?>
508
+ </td>
509
+ <td>
510
+ <?php if (isset($wplc_settings['wplc_show_date']) && $wplc_settings['wplc_show_date'] == 1) { $checked = "checked"; } else { $checked = ''; } ?>
511
+ <input type="checkbox" name="wplc_show_date" value="1" <?php echo $checked; ?>/> <label><?php _e("Show Date", "wplivechat"); ?></label><br/>
512
+ <?php if (isset($wplc_settings['wplc_show_time']) && $wplc_settings['wplc_show_time'] == 1) { $checked = "checked"; } else { $checked = ''; } ?>
513
+ <input type="checkbox" name="wplc_show_time" value="1" <?php echo $checked; ?>/> <label><?php _e("Show Time", "wplivechat"); ?></label>
514
+ </td>
515
+ </tr>
516
+ <tr>
517
+ <td>
518
+ <?php _e("Redirect user to thank you page when chat is ended", "wplivechat") ?> <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("By checking this, users will be redirected to your thank you page when a chat is completed.", "wplivechat") ?>"></i>
519
+ </td>
520
+ <td>
521
+ <input type="checkbox" name="wplc_redirect_to_thank_you_page" value="1" <?php echo (isset($wplc_settings['wplc_redirect_to_thank_you_page']) && $wplc_settings['wplc_redirect_to_thank_you_page'] == 1 ? "checked" : "" ); ?> />
522
+ <input type="text" name="wplc_redirect_thank_you_url" value="<?php echo (isset($wplc_settings['wplc_redirect_thank_you_url']) ? urldecode($wplc_settings['wplc_redirect_thank_you_url']) : '' ); ?>" placeholder="<?php _e('Thank You Page URL', 'wplivechat'); ?>" />
523
+ </td>
524
+ </tr>
525
+ <?php
526
+ if(defined('WPLC_PRO_PLUGIN'))
527
+ {
528
+ ?>
529
+ <tr>
530
+ <td>
531
+ <?php
532
+ _e('Disable Emojis', 'wplivechat');
533
+ ?>
534
+ </td>
535
+ <td>
536
+ <input type="checkbox" name="wplc_disable_emojis"
537
+ <?php
538
+ if(!empty($wplc_settings['wplc_disable_emojis']))
539
+ echo 'checked="checked"';
540
+ ?>
541
+ />
542
+ </tr>
543
+ <?php
544
+ }
545
+ ?>
546
+ </table>
547
+
548
+ <?php if(!function_exists("wplc_chat_social_div") && !function_exists("wplc_pro_activate")){ ?>
549
+
550
+ <h3><?php _e("Social", 'wplivechat') ?></h3>
551
+ <hr>
552
+ <table class='wp-list-table wplc_list_table widefat fixed striped pages' >
553
+ <tbody>
554
+ <tr>
555
+ <td width='300' valign='top'><?php _e("Facebook URL", "wplivechat") ?>: <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("Link your Facebook page here. Leave blank to hide", "wplivechat") ?>"></i></td>
556
+ <td>
557
+ <input id='wplc_social_fb' name='wplc_social_fb' placeholder="<?php _e("Facebook URL...", "wplivechat") ?>" type='text' disabled/>
558
+ <small>
559
+ <i>
560
+ <?php _e("available in the","wplivechat")?>
561
+ <a href="http://www.wp-livechat.com/purchase-pro/?utm_source=plugin&utm_medium=link&utm_campaign=social_media" title="<?php _e("Pro Add-on","wplivechat")?>" target="_BLANK"><?php _e("Pro Add-on","wplivechat")?></a>
562
+ <?php _e("only","wplivechat")?>
563
+ </i>
564
+ </small>
565
+ </td>
566
+ </tr>
567
+ <tr>
568
+ <td width='300' valign='top'><?php _e("Twitter URL", "wplivechat") ?>: <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("Link your Twitter page here. Leave blank to hide", "wplivechat") ?>"></i></td>
569
+ <td>
570
+ <input id='wplc_social_tw' name='wplc_social_tw' placeholder="<?php _e("Twitter URL...", "wplivechat") ?>" type='text' disabled/>
571
+ <small>
572
+ <i>
573
+ <?php _e("available in the","wplivechat")?>
574
+ <a href="http://www.wp-livechat.com/purchase-pro/?utm_source=plugin&utm_medium=link&utm_campaign=social_media" title="<?php _e("Pro Add-on","wplivechat")?>" target="_BLANK"><?php _e("Pro Add-on","wplivechat")?></a>
575
+ <?php _e("only","wplivechat")?>
576
+ </i>
577
+ </small>
578
+ </td>
579
+ </tr>
580
+ </tbody>
581
+ </table>
582
+ <?php } ?>
583
+
584
+
585
+
586
+ <?php do_action('wplc_hook_admin_settings_chat_box_settings_after'); ?>
587
+
588
+ </div>
589
+ <div id="tabs-3">
590
+ <h3><?php _e("Offline Messages", 'wplivechat') ?></h3>
591
+ <table class='form-table wp-list-table wplc_list_table widefat fixed striped pages' width='100%'>
592
+ <tr>
593
+ <td width='300'>
594
+ <?php _e("Do not allow users to send offline messages", "wplivechat") ?> <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("The chat window will be hidden when it is offline. Users will not be able to send offline messages to you", "wplivechat") ?>"></i>
595
+ </td>
596
+ <td>
597
+ <input type="checkbox" name="wplc_hide_when_offline" value="1" <?php
598
+ if (isset($wplc_settings['wplc_hide_when_offline']) && $wplc_settings['wplc_hide_when_offline'] == 1) {
599
+ echo "checked";
600
+ }
601
+ ?>/>
602
+ </td>
603
+ </tr>
604
+ <tr>
605
+ <td width="300" valign="top"><?php _e("Offline Chat Box Title", "wplivechat") ?>:</td>
606
+ <td>
607
+ <input id="wplc_pro_na" name="wplc_pro_na" type="text" size="50" maxlength="50" class="regular-text" value="<?php if (isset($wplc_settings['wplc_pro_na'])) { echo stripslashes($wplc_settings['wplc_pro_na']); } ?>" /> <br />
608
+
609
+
610
+ </td>
611
+ </tr>
612
+ <tr>
613
+ <td width="300" valign="top"><?php _e("Offline Text Fields", "wplivechat") ?>:</td>
614
+ <td>
615
+ <input id="wplc_pro_offline1" name="wplc_pro_offline1" type="text" size="50" maxlength="150" class="regular-text" value="<?php if (isset($wplc_settings['wplc_pro_offline1'])) { echo stripslashes($wplc_settings['wplc_pro_offline1']); } ?>" /> <br />
616
+ <input id="wplc_pro_offline2" name="wplc_pro_offline2" type="text" size="50" maxlength="50" class="regular-text" value="<?php if (isset($wplc_settings['wplc_pro_offline2'])) { echo stripslashes($wplc_settings['wplc_pro_offline2']); } ?>" /> <br />
617
+ <input id="wplc_pro_offline3" name="wplc_pro_offline3" type="text" size="50" maxlength="150" class="regular-text" value="<?php if (isset($wplc_settings['wplc_pro_offline3'])) { echo stripslashes($wplc_settings['wplc_pro_offline3']); } ?>" /> <br />
618
+
619
+
620
+ </td>
621
+ </tr>
622
+ <tr>
623
+ <td width="300" valign="top"><?php _e("Offline Button Text", "wplivechat") ?>:</td>
624
+ <td>
625
+ <input id="wplc_pro_offline_btn" name="wplc_pro_offline_btn" type="text" size="50" maxlength="50" class="regular-text" value="<?php if (isset($wplc_settings['wplc_pro_offline_btn'])) { echo stripslashes($wplc_settings['wplc_pro_offline_btn']); } ?>" /> <br />
626
+ </td>
627
+ </tr>
628
+ <tr>
629
+ <td width="300" valign="top"><?php _e("Offline Send Button Text", "wplivechat") ?>:</td>
630
+ <td>
631
+ <input id="wplc_pro_offline_btn_send" name="wplc_pro_offline_btn_send" type="text" size="50" maxlength="50" class="regular-text" value="<?php if (isset($wplc_settings['wplc_pro_offline_btn_send'])) { echo stripslashes($wplc_settings['wplc_pro_offline_btn_send']); } ?>" /> <br />
632
+ </td>
633
+ </tr>
634
+ <tr>
635
+ <td width="300" valign="top"><?php _e("Custom fields", "wplivechat") ?>:</td>
636
+ <td>
637
+ <?php do_action( "wplc_hook_offline_custom_fields_integration_settings" ); ?>
638
+ </td>
639
+ </tr>
640
+
641
+ </table>
642
+
643
+ <h4><?php _e("Email settings", 'wplivechat') ?></h4>
644
+
645
+
646
+ <table class='form-table wp-list-table wplc_list_table widefat fixed striped pages'>
647
+ <tr>
648
+ <td width='300' valign='top'>
649
+ <?php _e("Email Address", "wplivechat") ?>: <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("Email address where offline messages are delivered to. Use comma separated email addresses to send to more than one email address", "wplivechat") ?>"></i>
650
+ </td>
651
+ <td>
652
+ <input id="wplc_pro_chat_email_address" name="wplc_pro_chat_email_address" class="regular-text" type="text" value="<?php if (isset($wplc_settings['wplc_pro_chat_email_address'])) {
653
+ echo $wplc_settings['wplc_pro_chat_email_address']; } ?>" />
654
+ </td>
655
+ </tr>
656
+
657
+ <tr>
658
+ <td width='300' valign='top'>
659
+ <?php _e("Subject", "wplivechat") ?>: <i class="fa fa-question-circle wplc_light_grey wplc_settings_tooltip" title="<?php _e("User name will be appended to the end of the subject.", "wplivechat") ?>"></i>
660
+ </td>
661
+ <td>
662
+ <input id="wplc_pro_chat_email_offline_subject" name="wplc_pro_chat_email_offline_subject" class="regular-text" type="text" value="<?php echo(isset($wplc_settings['wplc_pro_chat_email_offline_subject']) ? $wplc_settings['wplc_pro_chat_email_offline_subject'] : ""); ?>" placeholder="<?php echo __("WP Live Chat Support - Offline Message from ", "wplivechat"); ?>"/>
663
+ </td>
664
+ </tr>
665
+
666
+ </table>
667
+
668
+ <table class='form-table wp-list-table wplc_list_table widefat fixed striped pages'>
669
+ <tr>
670
+ <td width="33%"><?php _e("Sending Method", "wplivechat") ?></td>
671
+ <td width="33%" style="text-align: center;"><?php _e("WP Mail", "wplivechat") ?></td>
672
+ <td width="33%" style="text-align: center;"><?php _e("PHP Mailer", "wplivechat") ?></td>
673
+ </tr>
674
+ <tr>
675
+ <td></td>
676
+ <td style="text-align: center;"><input class="wplc_mail_type_radio" type="radio" value="wp_mail" name="wplc_mail_type" <?php if ($wplc_mail_type == "wp_mail") {
677
+ echo "checked";
678
+ } ?>></td>
679
+ <td style="text-align: center;"><input id="wpcl_mail_type_php" class="wplc_mail_type_radio" type="radio" value="php_mailer" name="wplc_mail_type" <?php if ($wplc_mail_type == "php_mailer") {
680
+ echo "checked";
681
+ } ?>></td>
682
+ </tr>
683
+ </table>
684
+ <hr/>
685
+ <table id="wplc_smtp_details" class='form-table wp-list-table wplc_list_table widefat fixed striped pages' width='100%'>
686
+ <tr>
687
+ <td width="300" valign="top">
688
+ <?php _e("Host", "wplivechat") ?>:
689
+ </td>
690
+ <td>
691
+ <input id="wplc_mail_host" name="wplc_mail_host" type="text" class="regular-text" value="<?php echo get_option("wplc_mail_host") ?>" placeholder="smtp.example.com" />
692
+ </td>
693
+ </tr>
694
+ <tr>
695
+ <td>
696
+ <?php _e("Port", "wplivechat") ?>:
697
+ </td>
698
+ <td>
699
+ <input id="wplc_mail_port" name="wplc_mail_port" type="text" class="regular-text" value="<?php echo get_option("wplc_mail_port") ?>" placeholder="25" />
700
+ </td>
701
+ </tr>
702
+ <tr>
703
+ <td>
704
+ <?php _e("Username", "wplivechat") ?>:
705
+ </td>
706
+ <td>
707
+ <input id="wplc_mail_username" name="wplc_mail_username" type="text" class="regular-text" value="<?php echo get_option("wplc_mail_username") ?>" placeholder="me@example.com" />
708
+ </td>
709
+ </tr>
710
+ <tr>
711
+ <td>
712
+ <?php _e("Password", "wplivechat") ?>:
713
+ </td>
714
+ <td>
715
+ <input id="wplc_mail_password" name="wplc_mail_password" type="password" class="regular-text" value="<?php echo get_option("wplc_mail_password") ?>" placeholder="Password" />
716
+ </td>
717
+ </tr>
718
+ </table>
719
+ <?php do_action('wplc_hook_admin_settings_offline_messages_settings_after'); ?>
720
+ </div>
721
+
722
+
723
+
724
+ <div id="tabs-4">
725
+ <style>
726
+ .wplc_theme_block img{
727
+ border: 1px solid #CCC;
728
+ border-radius: 5px;
729
+ padding: 5px;
730
+ margin: 5px;
731
+ }
732
+ .wplc_theme_single{
733
+ width: 162px;
734
+ height: 162px;
735
+ text-align: center;
736
+ display: inline-block;
737
+ vertical-align: top;
738
+ margin: 5px;
739
+ }
740
+ .wplc_animation_block div{
741
+ display: inline-block;
742
+ width: 150px;
743
+ height: 150px;
744
+ border: 1px solid #CCC;
745
+ border-radius: 5px;
746
+ text-align: center;
747
+ margin: 10px;
748
+ }
749
+ .wplc_animation_block i{
750
+ font-size: 3em;
751
+ line-height: 150px;
752
+ }
753
+ .wplc_animation_block .wplc_red{
754
+ color: #E31230;
755
+ }
756
+ .wplc_animation_block .wplc_orange{
757
+ color: #EB832C;
758
+ }
759
+ .wplc_animation_active, .wplc_theme_active{
760
+ box-shadow: 2px 2px 2px #666666;
761
+ }
762
+ </style>
763
+ <style>
764
+ .wplc_animation_block div{
765
+ display: inline-block;
766
+ width: 150px;
767
+ height: 150px;
768
+ border: 1px solid #CCC;
769
+ border-radius: 5px;
770
+ text-align: center;
771
+ margin: 10px;
772
+ }
773
+ .wplc_animation_block i{
774
+ font-size: 3em;
775
+ line-height: 150px;
776
+ }
777
+ .wplc_animation_block .wplc_red{
778
+ color: #E31230;
779
+ }
780
+ .wplc_animation_block .wplc_orange{
781
+ color: #EB832C;
782
+ }
783
+ .wplc_animation_active{
784
+ box-shadow: 2px 2px 2px #CCC;
785
+ }
786
+ </style>
787
+ <h3><?php _e("Styling",'wplivechat')?></h3>
788
+ <table class='form-table wp-list-table wplc_list_table widefat fixed striped pages'>
789
+
790
+
791
+ <tr style='margin-bottom: 10px;'>
792
+ <td width='200'><label for=""><?php _e('Choose a theme', 'wplivechat'); ?></label></td>
793
+ <td>
794
+ <div class='wplc_theme_block'>
795
+ <div class='wplc_theme_image' id=''>
796
+ <div class='wplc_theme_single'>
797
+ <img style='width:162px;' src='<?php echo WPLC_BASIC_PLUGIN_URL.'images/themes/newtheme-1.jpg'; ?>' title="<?php _e('Classic', 'wplivechat'); ?>" alt="<?php _e('Classic', 'wplivechat'); ?>" class='<?php if (isset($wplc_settings['wplc_newtheme']) && $wplc_settings['wplc_newtheme'] == 'theme-1') { echo 'wplc_theme_active'; } ?>' id='wplc_newtheme_1'/>
798
+ <?php _e('Classic', 'wplivechat'); ?>
799
+ </div>
800
+ <div class='wplc_theme_single'>
801
+ <img style='width:162px;' src='<?php echo WPLC_BASIC_PLUGIN_URL.'images/themes/newtheme-2.jpg'; ?>' title="<?php _e('Modern', 'wplivechat'); ?>" alt="<?php _e('Modern', 'wplivechat'); ?>" class='<?php if (isset($wplc_settings['wplc_newtheme']) && $wplc_settings['wplc_newtheme'] == 'theme-2') { echo 'wplc_theme_active'; } ?>' id='wplc_newtheme_2'/>
802
+ <?php _e('Modern', 'wplivechat'); ?>
803
+ </div>
804
+
805
+ </div>
806
+ </div>
807
+ <input type="radio" name="wplc_newtheme" value="theme-1" class="wplc_hide_input" id="wplc_new_rb_theme_1" <?php if (isset($wplc_settings['wplc_newtheme']) && $wplc_settings['wplc_newtheme'] == 'theme-1') { echo 'checked'; } ?>/>
808
+ <input type="radio" name="wplc_newtheme" value="theme-2" class="wplc_hide_input" id="wplc_new_rb_theme_2" <?php if (isset($wplc_settings['wplc_newtheme']) && $wplc_settings['wplc_newtheme'] == 'theme-2') { echo 'checked'; } ?>/>
809
+
810
+ </td>
811
+ </tr>
812
+ <tr height="30">
813
+ <td>&nbsp;</td>
814
+ <td>&nbsp;</td>
815
+ </tr>
816
+
817
+ <tr style='margin-bottom: 10px;'>
818
+ <td><label for=""><?php _e('Color Scheme', 'wplivechat'); ?></label></td>
819
+ <td>
820
+ <div class='wplc_theme_block'>
821
+ <div class='wplc_palette'>
822
+ <div class='wplc_palette_single'>
823
+ <div class='wplc-palette-selection <?php if (isset($wplc_settings['wplc_theme']) && $wplc_settings['wplc_theme'] == 'theme-default') { echo 'wplc_theme_active'; } ?>' id='wplc_theme_default'>
824
+ <div class='wplc-palette-top' style='background-color:#ED832F;'></div>
825
+ <div class='wplc-palette-top' style='background-color:#FFF;'></div>
826
+ <div class='wplc-palette-top' style='background-color:#EEE;'></div>
827
+ <div class='wplc-palette-top' style='background-color:#666;'></div>
828
+ </div>
829
+ </div>
830
+
831
+ <div class='wplc_palette_single'>
832
+ <div class='wplc-palette-selection <?php if (isset($wplc_settings['wplc_theme']) && $wplc_settings['wplc_theme'] == 'theme-1') { echo 'wplc_theme_active'; } ?>' id='wplc_theme_1'>
833
+ <div class='wplc-palette-top' style='background-color:#DB0000;'></div>
834
+ <div class='wplc-palette-top' style='background-color:#FFF;'></div>
835
+ <div class='wplc-palette-top' style='background-color:#000;'></div>
836
+ <div class='wplc-palette-top' style='background-color:#666;'></div>
837
+ </div>
838
+ </div>
839
+ <div class='wplc_palette_single'>
840
+ <div class='wplc-palette-selection <?php if (isset($wplc_settings['wplc_theme']) && $wplc_settings['wplc_theme'] == 'theme-2') { echo 'wplc_theme_active'; } ?>' id='wplc_theme_2'>
841
+ <div class='wplc-palette-top' style='background-color:#000;'></div>
842
+ <div class='wplc-palette-top' style='background-color:#FFF;'></div>
843
+ <div class='wplc-palette-top' style='background-color:#888;'></div>
844
+ <div class='wplc-palette-top' style='background-color:#666;'></div>
845
+ </div>
846
+ </div>
847
+ <div class='wplc_palette_single'>
848
+ <div class='wplc-palette-selection <?php if (isset($wplc_settings['wplc_theme']) && $wplc_settings['wplc_theme'] == 'theme-3') { echo 'wplc_theme_active'; } ?>' id='wplc_theme_3'>
849
+ <div class='wplc-palette-top' style='background-color:#B97B9D;'></div>
850
+ <div class='wplc-palette-top' style='background-color:#FFF;'></div>
851
+ <div class='wplc-palette-top' style='background-color:#EEE;'></div>
852
+ <div class='wplc-palette-top' style='background-color:#5A0031;'></div>
853
+ </div>
854
+ </div>
855
+ <div class='wplc_palette_single'>
856
+ <div class='wplc-palette-selection <?php if (isset($wplc_settings['wplc_theme']) && $wplc_settings['wplc_theme'] == 'theme-4') { echo 'wplc_theme_active'; } ?>' id='wplc_theme_4'>
857
+ <div class='wplc-palette-top' style='background-color:#1A14DB;'></div>
858
+ <div class='wplc-palette-top' style='background-color:#FDFDFF;'></div>
859
+ <div class='wplc-palette-top' style='background-color:#7F7FB3;'></div>
860
+ <div class='wplc-palette-top' style='background-color:#666;'></div>
861
+ </div>
862
+ </div>
863
+ <div class='wplc_palette_single'>
864
+ <div class='wplc-palette-selection <?php if (isset($wplc_settings['wplc_theme']) && $wplc_settings['wplc_theme'] == 'theme-5') { echo 'wplc_theme_active'; } ?>' id='wplc_theme_5'>
865
+ <div class='wplc-palette-top' style='background-color:#3DCC13;'></div>
866
+ <div class='wplc-palette-top' style='background-color:#FDFDFF;'></div>
867
+ <div class='wplc-palette-top' style='background-color:#EEE;'></div>
868
+ <div class='wplc-palette-top' style='background-color:#666;'></div>
869
+ </div>
870
+ </div>
871
+ <div class='wplc_palette_single'>
872
+ <div class='wplc-palette-selection <?php if (isset($wplc_settings['wplc_theme']) && $wplc_settings['wplc_theme'] == 'theme-6') { echo 'wplc_theme_active'; } ?>' id='wplc_theme_6'>
873
+ <div class='wplc-palette-top' style='padding-top:3px'><?php _e("Choose","wplivechat"); ?></div>
874
+ <div class='wplc-palette-top' style='padding-top:3px'><?php _e("Your","wplivechat"); ?></div>
875
+ <div class='wplc-palette-top' style='padding-top:3px'><?php _e("Colors","wplivechat"); ?></div>
876
+ <div class='wplc-palette-top' style='padding-top:3px'><?php _e("Below","wplivechat"); ?></div>
877
+ </div>
878
+ </div>
879
+
880
+
881
+ </div>
882
+ </div>
883
+ <input type="radio" name="wplc_theme" value="theme-default" class="wplc_hide_input" id="wplc_rb_theme_default" <?php if (isset($wplc_settings['wplc_theme']) && $wplc_settings['wplc_theme'] == 'theme-default') { echo 'checked'; } ?>/>
884
+ <input type="radio" name="wplc_theme" value="theme-1" class="wplc_hide_input" id="wplc_rb_theme_1" <?php if (isset($wplc_settings['wplc_theme']) && $wplc_settings['wplc_theme'] == 'theme-1') { echo 'checked'; } ?>/>
885
+ <input type="radio" name="wplc_theme" value="theme-2" class="wplc_hide_input" id="wplc_rb_theme_2" <?php if (isset($wplc_settings['wplc_theme']) && $wplc_settings['wplc_theme'] == 'theme-2') { echo 'checked'; } ?>/>
886
+ <input type="radio" name="wplc_theme" value="theme-3" class="wplc_hide_input" id="wplc_rb_theme_3" <?php if (isset($wplc_settings['wplc_theme']) && $wplc_settings['wplc_theme'] == 'theme-3') { echo 'checked'; } ?>/>
887
+ <input type="radio" name="wplc_theme" value="theme-4" class="wplc_hide_input" id="wplc_rb_theme_4" <?php if (isset($wplc_settings['wplc_theme']) && $wplc_settings['wplc_theme'] == 'theme-4') { echo 'checked'; } ?>/>
888
+ <input type="radio" name="wplc_theme" value="theme-5" class="wplc_hide_input" id="wplc_rb_theme_5" <?php if (isset($wplc_settings['wplc_theme']) && $wplc_settings['wplc_theme'] == 'theme-5') { echo 'checked'; } ?>/>
889
+ <input type="radio" name="wplc_theme" value="theme-6" class="wplc_hide_input" id="wplc_rb_theme_6" <?php if (isset($wplc_settings['wplc_theme']) && $wplc_settings['wplc_theme'] == 'theme-6') { echo 'checked'; } ?>/>
890
+
891
+ </td>
892
+ </tr>
893
+
894
+ <tr>
895
+ <td width='300' valign='top'><?php _e("Chat background","wplivechat")?>:</td>
896
+ <td>
897
+
898
+ <select id='wplc_settings_bg' name='wplc_settings_bg'>
899
+ <option value="cloudy.jpg" <?php if (!isset($wplc_settings['wplc_settings_bg']) || ($wplc_settings['wplc_settings_bg'] == "cloudy.jpg") ) { echo "selected"; } ?>><?php _e("Cloudy","wplivechat"); ?></option>
900
+ <option value="geometry.jpg" <?php if (isset($wplc_settings['wplc_settings_bg']) && $wplc_settings['wplc_settings_bg'] == "geometry.jpg") { echo "selected"; } ?>><?php _e("Geometry","wplivechat"); ?></option>
901
+ <option value="tech.jpg" <?php if (isset($wplc_settings['wplc_settings_bg']) && $wplc_settings['wplc_settings_bg'] == "tech.jpg") { echo "selected"; } ?>><?php _e("Tech","wplivechat"); ?></option>
902
+ <option value="social.jpg" <?php if (isset($wplc_settings['wplc_settings_bg']) && $wplc_settings['wplc_settings_bg'] == "social.jpg") { echo "selected"; } ?>><?php _e("Social","wplivechat"); ?></option>
903
+ <option value="0" <?php if (isset($wplc_settings['wplc_settings_bg']) && $wplc_settings['wplc_settings_bg'] == "0") { echo "selected"; } ?>><?php _e("None","wplivechat"); ?></option>
904
+ </select>
905
+ </td>
906
+ </tr>
907
+ <tr>
908
+ <td width='200' valign='top'><?php _e("Palette Color 1","wplivechat")?>:</td>
909
+ <td>
910
+ <input id="wplc_settings_color1" name="wplc_settings_color1" type="text" class="color" value="<?php if (isset($wplc_settings_color1)) { echo $wplc_settings_color1; } else { echo 'ED832F'; } ?>" />
911
+ </td>
912
+ </tr>
913
+ <tr>
914
+ <td width='200' valign='top'><?php _e("Palette Color 2","wplivechat")?>:</td>
915
+ <td>
916
+ <input id="wplc_settings_color2" name="wplc_settings_color2" type="text" class="color" value="<?php if (isset($wplc_settings_color2)) { echo $wplc_settings_color2; } else { echo 'FFFFFF'; } ?>" />
917
+ </td>
918
+ </tr>
919
+ <tr>
920
+ <td width='200' valign='top'><?php _e("Palette Color 3","wplivechat")?>:</td>
921
+ <td>
922
+ <input id="wplc_settings_color3" name="wplc_settings_color3" type="text" class="color" value="<?php if (isset($wplc_settings_color3)) { echo $wplc_settings_color3; } else { echo 'EEEEEE'; } ?>" />
923
+ </td>
924
+ </tr>
925
+ <tr>
926
+ <td width='200' valign='top'><?php _e("Palette Color 4","wplivechat")?>:</td>
927
+ <td>
928
+ <input id="wplc_settings_color4" name="wplc_settings_color4" type="text" class="color" value="<?php if (isset($wplc_settings_color4)) { echo $wplc_settings_color4; } else { echo '666666'; } ?>" />
929
+ </td>
930
+ </tr>
931
+
932
+ <tr>
933
+ <td width="200" valign="top"><?php _e("I'm using a localization plugin", "wplivechat") ?></td>
934
+ <td>
935
+ <input type="checkbox" name="wplc_using_localization_plugin" id="wplc_using_localization_plugin" value="1" <?php if (isset($wplc_settings['wplc_using_localization_plugin']) && $wplc_settings['wplc_using_localization_plugin'] == 1) { echo 'checked'; } ?>/>
936
+ <br/><small><?php echo sprintf( __("Enable this if you are using a localization plugin. Should you wish to change the below strings with this option enabled, please visit the documentation %s", "wplivechat"), "<a href='https://wp-livechat.com/documentation/changing-strings-in-the-chat-window-when-using-a-localization-plugin/' target='_BLANK'>".__("here", "wplivechat") ); ?></small>
937
+ </td>
938
+ </tr>
939
+
940
+ <tr style='height:30px;'><td></td><td></td></tr>
941
+ <tr class="wplc_localization_strings">
942
+ <td width="200" valign="top"><?php _e("First Section Text", "wplivechat") ?>:</td>
943
+ <td>
944
+ <input id="wplc_pro_fst1" name="wplc_pro_fst1" type="text" size="50" maxlength="50" class="regular-text" value="<?php echo stripslashes($wplc_settings['wplc_pro_fst1']) ?>" /> <br />
945
+ <input id="wplc_pro_fst2" name="wplc_pro_fst2" type="text" size="50" maxlength="50" class="regular-text" value="<?php echo stripslashes($wplc_settings['wplc_pro_fst2']) ?>" /> <br />
946
+ </td>
947
+ </tr>
948
+ <tr class="wplc_localization_strings">
949
+ <td width="200" valign="top"><?php _e("Intro Text", "wplivechat") ?>:</td>
950
+ <td>
951
+ <input id="wplc_pro_intro" name="wplc_pro_intro" type="text" size="50" maxlength="150" class="regular-text" value="<?php echo stripslashes($wplc_settings['wplc_pro_intro']) ?>" /> <br />
952
+ </td>
953
+ </tr>
954
+ <tr class="wplc_localization_strings">
955
+ <td width="200" valign="top"><?php _e("Second Section Text", "wplivechat") ?>:</td>
956
+ <td>
957
+ <input id="wplc_pro_sst1" name="wplc_pro_sst1" type="text" size="50" maxlength="30" class="regular-text" value="<?php echo stripslashes($wplc_settings['wplc_pro_sst1']) ?>" /> <br />
958
+ <input id="wplc_pro_sst2" name="wplc_pro_sst2" type="text" size="50" maxlength="70" class="regular-text" value="<?php echo stripslashes($wplc_settings['wplc_pro_sst2']) ?>" /> <br />
959
+ </td>
960
+ </tr>
961
+ <tr class="wplc_localization_strings">
962
+ <td width="200" valign="top"><?php _e("Reactivate Chat Section Text", "wplivechat") ?>:</td>
963
+ <td>
964
+ <input id="wplc_pro_tst1" name="wplc_pro_tst1" type="text" size="50" maxlength="50" class="regular-text" value="<?php echo stripslashes($wplc_settings['wplc_pro_tst1']) ?>" /> <br />
965
+
966
+
967
+ </td>
968
+ </tr>
969
+ <?php /* removed as this has been replaced with the "welcome_msg" below
970
+ <tr class="wplc_localization_strings">
971
+ <td width="200" valign="top"><?php _e("User chat welcome", "wplivechat") ?>:</td>
972
+ <td>
973
+ <input id="wplc_user_welcome_chat" name="wplc_user_welcome_chat" type="text" size="50" maxlength="150" class="regular-text" value="<?php echo stripslashes($wplc_settings['wplc_user_welcome_chat']) ?>" /> <br />
974
+ </td>
975
+ </tr>
976
+ */ ?>
977
+ <tr class="wplc_localization_strings">
978
+ <td width="200" valign="top"><?php _e("Welcome message", "wplivechat") ?>:</td>
979
+ <td>
980
+ <input id="wplc_welcome_msg" name="wplc_welcome_msg" type="text" size="50" maxlength="350" class="regular-text" value="<?php echo stripslashes($wplc_settings['wplc_welcome_msg']) ?>" /> <span class='description'><?php _e('This text is shown as soon as a user starts a chat and waits for an agent to join', 'wplivechat'); ?></span><br />
981
+ </td>
982
+ </tr>
983
+ <tr class="wplc_localization_strings">
984
+ <td width="200" valign="top"><?php _e("No answer", "wplivechat") ?>:</td>
985
+ <td>
986
+ <input id="wplc_user_no_answer" name="wplc_user_no_answer" type="text" size="50" maxlength="150" class="regular-text" value="<?php echo (isset($wplc_settings['wplc_user_no_answer']) ? stripslashes($wplc_settings['wplc_user_no_answer']) : __("There is No Answer. Please Try Again Later.","wplivechat")); ?>" /> <span class='description'><?php _e('This text is shown to the user when an agent has failed to answer a chat ', 'wplivechat'); ?></span><br />
987
+ </td>
988
+ </tr>
989
+ <tr class="wplc_localization_strings">
990
+ <td width="200" valign="top"><?php _e("Other text", "wplivechat") ?>:</td>
991
+ <td>
992
+ <input id="wplc_user_enter" name="wplc_user_enter" type="text" size="50" maxlength="150" class="regular-text" value="<?php echo stripslashes($wplc_settings['wplc_user_enter']) ?>" /><br />
993
+ <input id="wplc_text_chat_ended" name="wplc_text_chat_ended" type="text" size="50" maxlength="150" class="regular-text" value="<?php echo ( empty( $wplc_settings['wplc_text_chat_ended'] ) ) ? stripslashes(__("The chat has been ended by the operator.", "wplivechat")) : stripslashes( $wplc_settings['wplc_text_chat_ended'] ) ?>" /> <br />
994
+ </td>
995
+ </tr>
996
+ <!--
997
+ <tr class="wplc_localization_strings">
998
+ <td width="200" valign="top"><?php _e("Close Button Text", "wplivechat") ?>:</td>
999
+ <td>
1000
+ <input id="wplc_close_btn_text" name="wplc_close_btn_text" type="text" size="50" maxlength="150" class="regular-text" value="<?php echo stripslashes($wplc_settings['wplc_close_btn_text']) ?>" /><br />
1001
+ </td>
1002
+ </tr>
1003
+ -->
1004
+
1005
+ <tr>
1006
+ <td><label for=""><?php _e('Choose an animation', 'wplivechat'); ?></label></td>
1007
+
1008
+ <td>
1009
+ <div class='wplc_animation_block'>
1010
+ <div class='wplc_animation_image <?php if (isset($wplc_settings['wplc_animation']) && $wplc_settings['wplc_animation'] == 'animation-1') {
1011
+ echo 'wplc_animation_active';
1012
+ } ?>' id='wplc_animation_1'>
1013
+ <i class="fa fa-arrow-circle-up wplc_orange"></i>
1014
+ <p><?php _e('Slide Up', 'wplivechat'); ?></p>
1015
+ </div>
1016
+ <div class='wplc_animation_image <?php if (isset($wplc_settings['wplc_animation']) && $wplc_settings['wplc_animation'] == 'animation-2') {
1017
+ echo 'wplc_animation_active';
1018
+ } ?>' id='wplc_animation_2'>
1019
+ <i class="fa fa-arrows-h wplc_red"></i>
1020
+ <p><?php _e('Slide From The Side', 'wplivechat'); ?></p>
1021
+ </div>
1022
+ <div class='wplc_animation_image <?php if (isset($wplc_settings['wplc_animation']) && $wplc_settings['wplc_animation'] == 'animation-3') {
1023
+ echo 'wplc_animation_active';
1024
+ } ?>' id='wplc_animation_3'>
1025
+ <i class="fa fa-arrows-alt wplc_orange"></i>
1026
+ <p><?php _e('Fade In', 'wplivechat'); ?></p>
1027
+ </div>
1028
+ <div class='wplc_animation_image <?php if ((isset($wplc_settings['wplc_animation']) && $wplc_settings['wplc_animation'] == 'animation-4') || !isset($wplc_settings['wplc_animation'])) {
1029
+ echo 'wplc_animation_active';
1030
+ } ?>' id='wplc_animation_4'>
1031
+ <i class="fa fa-thumb-tack wplc_red"></i>
1032
+ <p><?php _e('No Animation', 'wplivechat'); ?></p>
1033
+ </div>
1034
+ </div>
1035
+ <input type="radio" name="wplc_animation" value="animation-1" class="wplc_hide_input" id="wplc_rb_animation_1" class='wplc_hide_input' <?php if (isset($wplc_settings['wplc_animation']) && $wplc_settings['wplc_animation'] == 'animation-1') {
1036
+ echo 'checked';
1037
+ } ?>/>
1038
+ <input type="radio" name="wplc_animation" value="animation-2" class="wplc_hide_input" id="wplc_rb_animation_2" class='wplc_hide_input' <?php if (isset($wplc_settings['wplc_animation']) && $wplc_settings['wplc_animation'] == 'animation-2') {
1039
+ echo 'checked';
1040
+ } ?>/>
1041
+ <input type="radio" name="wplc_animation" value="animation-3" class="wplc_hide_input" id="wplc_rb_animation_3" class='wplc_hide_input' <?php if (isset($wplc_settings['wplc_animation']) && $wplc_settings['wplc_animation'] == 'animation-3') {
1042
+ echo 'checked';
1043
+ } ?>/>
1044
+ <input type="radio" name="wplc_animation" value="animation-4" class="wplc_hide_input" id="wplc_rb_animation_4" class='wplc_hide_input' <?php if (isset($wplc_settings['wplc_animation']) && $wplc_settings['wplc_animation'] == 'animation-4') {
1045
+ echo 'checked';
1046
+ } ?>/>
1047
+ </td>
1048
+ </tr>
1049
+
1050
+ <?php do_action('wplc_hook_styling_setting_bottom'); ?>
1051
+ </table>
1052
+ </div>
1053
+ <div id="tabs-5">
1054
+
1055
+
1056
+ <?php do_action("wplc_hook_agents_settings"); ?>
1057
+
1058
+
1059
+ </div>
1060
+ <div id="tabs-7">
1061
+ <h3><?php _e("Blocked Visitors - Based on IP Address", "wplivechat") ?></h3>
1062
+ <table class='form-table wp-list-table wplc_list_table widefat fixed striped pages' width='100%'>
1063
+ <tr>
1064
+ <td>
1065
+ <textarea name="wplc_ban_users_ip" style="width: 50%; min-height: 200px;" placeholder="<?php _e('Enter each IP Address you would like to block on a new line', 'wplivechat'); ?>" autocomplete="false"><?php
1066
+ $ip_addresses = get_option('WPLC_BANNED_IP_ADDRESSES');
1067
+ if($ip_addresses){
1068
+ $ip_addresses = maybe_unserialize($ip_addresses);
1069
+ if ($ip_addresses && is_array($ip_addresses)) {
1070
+ foreach($ip_addresses as $ip){
1071
+ echo $ip."\n";
1072
+ }
1073
+ }
1074
+ }
1075
+ ?></textarea>
1076
+ <p class="description"><?php _e('Blocking a user\'s IP Address here will hide the chat window from them, preventing them from chatting with you. Each IP Address must be on a new line', 'wplivechat'); ?></p>
1077
+ </td>
1078
+ </tr>
1079
+ </table>
1080
+ </div>
1081
+
1082
+
1083
+
1084
+ <?php do_action("wplc_hook_settings_page_more_tabs"); ?>
1085
+
1086
+ </div>
1087
+ <p class='submit'><input type='submit' name='wplc_save_settings' class='button-primary' value='<?php _e("Save Settings","wplivechat")?>' /></p>
1088
+ </form>
1089
+
1090
+ </div>
1091
+
1092
+
includes/surveys.php CHANGED
@@ -222,9 +222,9 @@ function wplc_nimble_load_scripts() {
222
 
223
 
224
 
225
- if( isset( $settings['survey_user'] ) ){ $ns_id = $settings['survey_user']; } else { $ns_id = ''; }
226
- if( isset( $settings['survey'] ) ){ $ns_sid = $settings['survey']; } else { $ns_sid = ''; }
227
- if( isset( $settings['lead_form'] ) ){ $ns_lfid = $settings['lead_form']; } else { $ns_lfid = ''; }
228
 
229
  //wp_enqueue_script( 'nimble-squirrel-user-script', '//nimblesquirrel.com/api/nimblesquirrel.js', array(), '1.0.0', true );
230
 
222
 
223
 
224
 
225
+ if( isset( $settings['survey_user'] ) ){ $ns_id = $settings['survey_user']; } else { $ns_id = 'false'; }
226
+ if( isset( $settings['survey'] ) ){ $ns_sid = $settings['survey']; } else { $ns_sid = 'false'; }
227
+ if( isset( $settings['lead_form'] ) ){ $ns_lfid = $settings['lead_form']; } else { $ns_lfid = 'false'; }
228
 
229
  //wp_enqueue_script( 'nimble-squirrel-user-script', '//nimblesquirrel.com/api/nimblesquirrel.js', array(), '1.0.0', true );
230
 
js/themes/classic.js CHANGED
@@ -1,168 +1,168 @@
1
- jQuery(document).on("wplc_minimize_chat", function( e ) {
2
- jQuery('#wp-live-chat').height("");
3
- if(jQuery("#wp-live-chat").attr("original_pos") === "bottom_right"){
4
- jQuery("#wp-live-chat").css("left", "");
5
- jQuery("#wp-live-chat").css("bottom", "0");
6
- jQuery("#wp-live-chat").css("right", "100px");
7
- } else if(jQuery("#wp-live-chat").attr("original_pos") === "bottom_left"){
8
- jQuery("#wp-live-chat").css("left", "100px");
9
- jQuery("#wp-live-chat").css("bottom", "0");
10
- jQuery("#wp-live-chat").css("right", "");
11
- } else if(jQuery("#wp-live-chat").attr("original_pos") === "left"){
12
- jQuery("#wp-live-chat").css("left", "0");
13
- jQuery("#wp-live-chat").css("bottom", "100px");
14
- jQuery("#wp-live-chat").css("width", "");
15
- jQuery("#wp-live-chat").css("height", "");
16
- } else if(jQuery("#wp-live-chat").attr("original_pos") === "right"){
17
- jQuery("#wp-live-chat").css("left", "");
18
- jQuery("#wp-live-chat").css("right", "0");
19
- jQuery("#wp-live-chat").css("bottom", "100px");
20
- jQuery("#wp-live-chat").css("width", "");
21
- jQuery("#wp-live-chat").css("height", "");
22
- }
23
- jQuery('#wp-live-chat').addClass("wplc_close");
24
- jQuery('#wp-live-chat').removeClass("wplc_open");
25
- //jQuery("#wp-live-chat").css(jQuery("#wp-live-chat").attr("original_pos"), "100px");
26
- jQuery("#wp-live-chat").css("top", "");
27
- jQuery("#wp-live-chat-1").show();
28
- jQuery("#wp-live-chat-1").css('cursor', 'pointer');
29
- jQuery("#wp-live-chat-2").hide();
30
- jQuery("#wp-live-chat-3").hide();
31
- jQuery("#wp-live-chat-4").hide();
32
- jQuery("#wplc_social_holder").hide();
33
- jQuery("#nifty_ratings_holder").hide();
34
- jQuery("#wp-live-chat-react").hide();
35
- jQuery("#wp-live-chat-minimize").hide();
36
- });
37
- jQuery(document).on("click", "#wp-live-chat", function( e ){
38
-
39
- });
40
-
41
- jQuery(document).on("wplc_start_chat", function( e ) {
42
- jQuery("#wp-live-chat-2-inner").hide("slow");
43
- /* changed in version 7 as we now allow users to start typing immediately */
44
- /* jQuery("#wp-live-chat-3").show(); */
45
- jQuery.event.trigger({type: "wplc_open_chat_1"});
46
- jQuery.event.trigger({type: "wplc_open_chat_2", wplc_online: wplc_online});
47
- });
48
- jQuery(document).on( "wplc_open_chat_1", function( e ) {
49
-
50
- jQuery('#wp-live-chat').removeClass("wplc_close");
51
- jQuery('#wp-live-chat').addClass("wplc_open");
52
- jQuery("#wp-live-chat-react").hide();
53
- jQuery("#wp-live-chat-header").css('cursor', 'all-scroll');
54
- Cookies.set('wplc_hide', "", { expires: 1, path: '/' });
55
- jQuery("#wp-live-chat-minimize").show();
56
-
57
- /* set the width again as jQuery sometimes messes this up completely. */
58
- if(jQuery("#wp-live-chat").attr("original_pos") === "left"){
59
- jQuery("#wp-live-chat").css("width", "280px");
60
- jQuery("#wp-live-chat").css("height", "auto !important");
61
- } else if(jQuery("#wp-live-chat").attr("original_pos") === "right"){
62
- jQuery("#wp-live-chat").css("width", "280px");
63
- jQuery("#wp-live-chat").css("height", "auto !important");
64
- }
65
-
66
-
67
- jQuery(function() {
68
- jQuery( "#wp-live-chat" ).draggable({
69
- handle: "#wp-live-chat-header",
70
- drag: function( event, ui ) {
71
- jQuery(this).css("right","");
72
- jQuery(this).css("bottom","inherit");
73
- }
74
- });
75
- });
76
-
77
-
78
- });
79
-
80
-
81
- jQuery(document).on( "wplc_open_chat_2", function( e ) {
82
-
83
- jQuery("#wp-live-chat-2").hide();
84
-
85
- if(!jQuery("#wp-live-chat").hasClass("wplc_open")){
86
- jQuery("#wplc_chatmsg").focus();
87
- }
88
-
89
- jQuery("#wp-live-chat-header").addClass("active");
90
- jQuery("#wp-live-chat").addClass("mobile-active");
91
-
92
- wplc_chat_status = Cookies.get('wplc_chat_status');
93
- if (typeof e.wplc_online !== "undefined" && e.wplc_online === true) {
94
- jQuery("#wp-live-chat-4").show();
95
- jQuery("#wplc_social_holder").show();
96
- jQuery("#nifty_ratings_holder").show();
97
- jQuery("#wp-live-chat-1").css("cursor","pointer");
98
- } else if (e.wplc_online === false) {
99
- jQuery("#wp-live-chat-2").show();
100
- jQuery("#wp-live-chat").css("height","auto !important");
101
- jQuery("#wp-live-chat-4").hide();
102
- jQuery("#wplc_social_holder").hide();
103
- jQuery("#nifty_ratings_holder").hide();
104
- jQuery("#wp-live-chat-1").css("cursor","pointer");
105
- }
106
-
107
- jQuery("#wp-live-chat-3").hide();
108
- jQuery("#wp-live-chat-close").hide();
109
- //jQuery("#wp-live-chat-minimize").css("right","23px");
110
- Cookies.set('wplc_minimize', "", { expires: 1, path: '/' });
111
- });
112
-
113
- jQuery(function() {
114
- //opens chat when clicked on top bar
115
- jQuery("body").on("click", "#wp-live-chat-1", function() {
116
- //jQuery.event.trigger({type: "wplc_open_chat"});
117
- });
118
- jQuery("body").on("click", ".wplc_retry_chat", function() {
119
- Cookies.set('wplc_chat_status', 5);
120
- jQuery("#wplc_chatbox").html("");
121
- jQuery("#wp-live-chat-4").fadeOut();
122
- jQuery("#wp-live-chat-2").fadeIn();
123
- jQuery("#wp-live-chat-2-inner").fadeIn();
124
- wplc_shown_welcome = false;
125
- });
126
- jQuery("body").on("click", "#speeching_button", function() {
127
- jQuery("#wplc_hovercard").hide();
128
- wplc_is_chat_open = true;
129
- jQuery.event.trigger({type: "wplc_open_chat"});
130
- jQuery("#wp-live-chat-minimize").show();
131
-
132
- });
133
-
134
- jQuery("body").on("click", "#wplc_hovercard_min", function(){
135
- jQuery("#wplc_hovercard").fadeOut();
136
- });
137
-
138
- jQuery("body").on("click", "#wp-live-chat-header", function(){
139
- jQuery("#wplc_hovercard").hide();
140
- jQuery("#wp-live-chat").css("height","");
141
- jQuery("#wplc-chat-alert").removeClass('is-active');
142
- jQuery('#wplc_gdpr_end_chat_notice_container').hide();
143
- });
144
-
145
- jQuery("body").on("click", "#wp-live-chat-header", function(){
146
- //if (!wplc_is_chat_open) {
147
-
148
- if (jQuery(this).hasClass('active')) {
149
- jQuery(this).removeClass('active');
150
- jQuery.event.trigger({type: "wplc_minimize_chat"});
151
-
152
- Cookies.set('wplc_minimize', "yes", { expires: 1, path: '/' });
153
-
154
- } else {
155
- //jQuery(this).addClass('active');
156
- jQuery.event.trigger({type: "wplc_open_chat"});
157
- jQuery("#wp-live-chat-minimize").show();
158
-
159
- Cookies.set('wplc_minimize', "", { expires: 1, path: '/' });
160
-
161
- }
162
-
163
-
164
-
165
- //}
166
- });
167
-
168
- });
1
+ jQuery(document).on("wplc_minimize_chat", function( e ) {
2
+ jQuery('#wp-live-chat').height("");
3
+ if(jQuery("#wp-live-chat").attr("original_pos") === "bottom_right"){
4
+ jQuery("#wp-live-chat").css("left", "");
5
+ jQuery("#wp-live-chat").css("bottom", "0");
6
+ jQuery("#wp-live-chat").css("right", "20px");
7
+ } else if(jQuery("#wp-live-chat").attr("original_pos") === "bottom_left"){
8
+ jQuery("#wp-live-chat").css("left", "20px");
9
+ jQuery("#wp-live-chat").css("bottom", "0");
10
+ jQuery("#wp-live-chat").css("right", "");
11
+ } else if(jQuery("#wp-live-chat").attr("original_pos") === "left"){
12
+ jQuery("#wp-live-chat").css("left", "0");
13
+ jQuery("#wp-live-chat").css("bottom", "100px");
14
+ jQuery("#wp-live-chat").css("width", "");
15
+ jQuery("#wp-live-chat").css("height", "");
16
+ } else if(jQuery("#wp-live-chat").attr("original_pos") === "right"){
17
+ jQuery("#wp-live-chat").css("left", "");
18
+ jQuery("#wp-live-chat").css("right", "0");
19
+ jQuery("#wp-live-chat").css("bottom", "100px");
20
+ jQuery("#wp-live-chat").css("width", "");
21
+ jQuery("#wp-live-chat").css("height", "");
22
+ }
23
+ jQuery('#wp-live-chat').addClass("wplc_close");
24
+ jQuery('#wp-live-chat').removeClass("wplc_open");
25
+ //jQuery("#wp-live-chat").css(jQuery("#wp-live-chat").attr("original_pos"), "100px");
26
+ jQuery("#wp-live-chat").css("top", "");
27
+ jQuery("#wp-live-chat-1").show();
28
+ jQuery("#wp-live-chat-1").css('cursor', 'pointer');
29
+ jQuery("#wp-live-chat-2").hide();
30
+ jQuery("#wp-live-chat-3").hide();
31
+ jQuery("#wp-live-chat-4").hide();
32
+ jQuery("#wplc_social_holder").hide();
33
+ jQuery("#nifty_ratings_holder").hide();
34
+ jQuery("#wp-live-chat-react").hide();
35
+ jQuery("#wp-live-chat-minimize").hide();
36
+ });
37
+ jQuery(document).on("click", "#wp-live-chat", function( e ){
38
+
39
+ });
40
+
41
+ jQuery(document).on("wplc_start_chat", function( e ) {
42
+ jQuery("#wp-live-chat-2-inner").hide("slow");
43
+ /* changed in version 7 as we now allow users to start typing immediately */
44
+ /* jQuery("#wp-live-chat-3").show(); */
45
+ jQuery.event.trigger({type: "wplc_open_chat_1"});
46
+ jQuery.event.trigger({type: "wplc_open_chat_2", wplc_online: wplc_online});
47
+ });
48
+ jQuery(document).on( "wplc_open_chat_1", function( e ) {
49
+
50
+ jQuery('#wp-live-chat').removeClass("wplc_close");
51
+ jQuery('#wp-live-chat').addClass("wplc_open");
52
+ jQuery("#wp-live-chat-react").hide();
53
+ jQuery("#wp-live-chat-header").css('cursor', 'all-scroll');
54
+ Cookies.set('wplc_hide', "", { expires: 1, path: '/' });
55
+ jQuery("#wp-live-chat-minimize").show();
56
+
57
+ /* set the width again as jQuery sometimes messes this up completely. */
58
+ if(jQuery("#wp-live-chat").attr("original_pos") === "left"){
59
+ jQuery("#wp-live-chat").css("width", "280px");
60
+ jQuery("#wp-live-chat").css("height", "auto !important");
61
+ } else if(jQuery("#wp-live-chat").attr("original_pos") === "right"){
62
+ jQuery("#wp-live-chat").css("width", "280px");
63
+ jQuery("#wp-live-chat").css("height", "auto !important");
64
+ }
65
+
66
+
67
+ jQuery(function() {
68
+ jQuery( "#wp-live-chat" ).draggable({
69
+ handle: "#wp-live-chat-header",
70
+ drag: function( event, ui ) {
71
+ jQuery(this).css("right","");
72
+ jQuery(this).css("bottom","inherit");
73
+ }
74
+ });
75
+ });
76
+
77
+
78
+ });
79
+
80
+
81
+ jQuery(document).on( "wplc_open_chat_2", function( e ) {
82
+
83
+ jQuery("#wp-live-chat-2").hide();
84
+
85
+ if(!jQuery("#wp-live-chat").hasClass("wplc_open")){
86
+ jQuery("#wplc_chatmsg").focus();
87
+ }
88
+
89
+ jQuery("#wp-live-chat-header").addClass("active");
90
+ jQuery("#wp-live-chat").addClass("mobile-active");
91
+
92
+ wplc_chat_status = Cookies.get('wplc_chat_status');
93
+ if (typeof e.wplc_online !== "undefined" && e.wplc_online === true) {
94
+ jQuery("#wp-live-chat-4").show();
95
+ jQuery("#wplc_social_holder").show();
96
+ jQuery("#nifty_ratings_holder").show();
97
+ jQuery("#wp-live-chat-1").css("cursor","pointer");
98
+ } else if (e.wplc_online === false) {
99
+ jQuery("#wp-live-chat-2").show();
100
+ jQuery("#wp-live-chat").css("height","auto !important");
101
+ jQuery("#wp-live-chat-4").hide();
102
+ jQuery("#wplc_social_holder").hide();
103
+ jQuery("#nifty_ratings_holder").hide();
104
+ jQuery("#wp-live-chat-1").css("cursor","pointer");
105
+ }
106
+
107
+ jQuery("#wp-live-chat-3").hide();
108
+ jQuery("#wp-live-chat-close").hide();
109
+ //jQuery("#wp-live-chat-minimize").css("right","23px");
110
+ Cookies.set('wplc_minimize', "", { expires: 1, path: '/' });
111
+ });
112
+
113
+ jQuery(function() {
114
+ //opens chat when clicked on top bar
115
+ jQuery("body").on("click", "#wp-live-chat-1", function() {
116
+ //jQuery.event.trigger({type: "wplc_open_chat"});
117
+ });
118
+ jQuery("body").on("click", ".wplc_retry_chat", function() {
119
+ Cookies.set('wplc_chat_status', 5);
120
+ jQuery("#wplc_chatbox").html("");
121
+ jQuery("#wp-live-chat-4").fadeOut();
122
+ jQuery("#wp-live-chat-2").fadeIn();
123
+ jQuery("#wp-live-chat-2-inner").fadeIn();
124
+ wplc_shown_welcome = false;
125
+ });
126
+ jQuery("body").on("click", "#speeching_button", function() {
127
+ jQuery("#wplc_hovercard").hide();
128
+ wplc_is_chat_open = true;
129
+ jQuery.event.trigger({type: "wplc_open_chat"});
130
+ jQuery("#wp-live-chat-minimize").show();
131
+
132
+ });
133
+
134
+ jQuery("body").on("click", "#wplc_hovercard_min", function(){
135
+ jQuery("#wplc_hovercard").fadeOut();
136
+ });
137
+
138
+ jQuery("body").on("click", "#wp-live-chat-header", function(){
139
+ jQuery("#wplc_hovercard").hide();
140
+ jQuery("#wp-live-chat").css("height","");
141
+ jQuery("#wplc-chat-alert").removeClass('is-active');
142
+ jQuery('#wplc_gdpr_end_chat_notice_container').hide();
143
+ });
144
+
145
+ jQuery("body").on("click", "#wp-live-chat-header", function(){
146
+ //if (!wplc_is_chat_open) {
147
+
148
+ if (jQuery(this).hasClass('active')) {
149
+ jQuery(this).removeClass('active');
150
+ jQuery.event.trigger({type: "wplc_minimize_chat"});
151
+
152
+ Cookies.set('wplc_minimize', "yes", { expires: 1, path: '/' });
153
+
154
+ } else {
155
+ //jQuery(this).addClass('active');
156
+ jQuery.event.trigger({type: "wplc_open_chat"});
157
+ jQuery("#wp-live-chat-minimize").show();
158
+
159
+ Cookies.set('wplc_minimize', "", { expires: 1, path: '/' });
160
+
161
+ }
162
+
163
+
164
+
165
+ //}
166
+ });
167
+
168
+ });
js/themes/modern.js CHANGED
@@ -1,476 +1,476 @@
1
- jQuery(document).on("bleeper_agent_disconnected", function(e) {
2
- var taid = jQuery(".wplc_agent_info").attr('aid');
3
- if (taid == e.ndata.aid) {
4
- jQuery(".wplc_agent_info").html("");
5
- wplc_animate_agent_header_down();
6
- jQuery("#wplc_chatbox").css("top","18px");
7
- }
8
- });
9
- jQuery(document).on("bleeper_agent_left", function(e) {
10
- var taid = jQuery(".wplc_agent_info").attr('aid');
11
- if (taid == e.ndata.agent) {
12
- jQuery(".wplc_agent_info").html("");
13
- wplc_animate_agent_header_down();
14
- jQuery("#wplc_chatbox").css("top","18px");
15
- }
16
- });
17
-
18
-
19
- jQuery(document).on("wplc_minimize_chat", function( e ) {
20
- wplc_is_chat_open = false;
21
- jQuery('#wp-live-chat').height("");
22
- if(jQuery("#wp-live-chat").attr("original_pos") === "bottom_right"){
23
- jQuery("#wp-live-chat").css("left", "");
24
- jQuery("#wp-live-chat").css("bottom", "0");
25
- jQuery("#wp-live-chat").css("right", "20px");
26
- } else if(jQuery("#wp-live-chat").attr("original_pos") === "bottom_left"){
27
- jQuery("#wp-live-chat").css("left", "20px");
28
- jQuery("#wp-live-chat").css("bottom", "0");
29
- jQuery("#wp-live-chat").css("right", "");
30
- } else if(jQuery("#wp-live-chat").attr("original_pos") === "left"){
31
- jQuery("#wp-live-chat").css("left", "20px");
32
- jQuery("#wp-live-chat").css("bottom", "100px");
33
- } else if(jQuery("#wp-live-chat").attr("original_pos") === "right"){
34
- //jQuery("#wp-live-chat").css("left", "");
35
- //jQuery("#wp-live-chat").css("right", "0");
36
- //jQuery("#wp-live-chat").css("bottom", "100px");
37
- //jQuery("#wp-live-chat").css("width", "");
38
- }
39
- jQuery('#wp-live-chat').addClass("wplc_close");
40
- jQuery('#wp-live-chat').removeClass("wplc_open");
41
- //jQuery("#wp-live-chat").css(jQuery("#wp-live-chat").attr("original_pos"), "100px");
42
- jQuery("#wp-live-chat").css("top", "");
43
- jQuery("#wp-live-chat").css("height", "");
44
- jQuery("#wp-live-chat-1").show();
45
- jQuery("#wp-live-chat-1").css('cursor', 'pointer');
46
- jQuery("#wp-live-chat-2").hide();
47
- jQuery("#wp-live-chat-3").hide();
48
- jQuery("#wp-live-chat-4").hide();
49
- jQuery("#wplc_social_holder").hide();
50
- jQuery("#nifty_ratings_holder").hide();
51
- jQuery("#nifty_ratings_holder").hide();
52
- jQuery("#wp-live-chat-react").hide();
53
- jQuery("#wp-live-chat-minimize").hide();
54
-
55
- jQuery("#wp-live-chat-header").show();
56
-
57
- });
58
-
59
- jQuery(document).on("wplc_start_chat", function( e ) {
60
- jQuery("#wp-live-chat-2-inner").hide("slow");
61
- /* changed in version 7 as we now allow users to start typing immediately */
62
- /* jQuery("#wp-live-chat-3").show(); */
63
- jQuery.event.trigger({type: "wplc_open_chat_1"});
64
- jQuery.event.trigger({type: "wplc_open_chat_2", wplc_online: wplc_online});
65
-
66
- });
67
-
68
- jQuery(document).on( "wplc_open_chat_1", function( e ) {
69
- jQuery('#wp-live-chat').removeClass("wplc_close");
70
- jQuery('#wp-live-chat').addClass("wplc_open");
71
- jQuery("#wp-live-chat-react").hide();
72
-
73
- //jQuery("#wp-live-chat-header").hide();
74
-
75
- Cookies.set('wplc_hide', "", { expires: 1, path: '/' });
76
- jQuery("#wp-live-chat-minimize").show();
77
-
78
-
79
-
80
-
81
- });
82
- jQuery(document).on("wplc_agent_joined", function(e) {
83
-
84
- var temail = '';
85
- var tname = '';
86
- var taid = '';
87
- var ta_tagline = '';
88
- var ta_bio = '';
89
- var ta_social_links = '';
90
-
91
- if (typeof e.ndata.other.email !== "undefined") { temail = e.ndata.other.email; }
92
- if (typeof e.ndata.other.name !== "undefined") { tname = e.ndata.other.name; }
93
- if (typeof e.ndata.other.aid !== "undefined") { taid = parseInt(e.ndata.other.aid); }
94
- if (typeof e.ndata.other.agent_tagline !== "undefined") { ta_tagline = e.ndata.other.agent_tagline; }
95
- if (typeof e.ndata.other.agent_bio !== "undefined") { ta_bio = e.ndata.other.agent_bio; }
96
- if (typeof e.ndata.other.social_links !== "undefined") { ta_social_links = e.ndata.other.social_links; }
97
-
98
- //Ensure this agent ID is valid before proceeding
99
- if(!isNaN(taid)){
100
-
101
- jQuery(".wplc_no_answer").remove();
102
-
103
- jQuery(".admin_chat_name").html(tname);
104
- wplc_node_pair_name = tname;
105
- wplc_agent_name = tname;
106
-
107
- var timageurl = wplc_user_avatars[taid];
108
-
109
- if(jQuery(".wplc_agent_info").html().trim() === "" || typeof jQuery(".wplc_agent_info").attr("aid") === "undefined"){
110
- //No Agents have joined yet
111
- jQuery(".wplc_agent_info").html('');
112
- jQuery(".wplc_agent_info").attr("aid",taid);
113
-
114
- if ( ! jQuery( '#agent_grav_'+taid ).length ) {
115
- jQuery('<p/>', {
116
- 'class': '',
117
- 'style': 'text-align:center;',
118
- html: '<img class="img-thumbnail img-circle wplc_thumb32 wplc_agent_involved" style="max-width:inherit;" id="agent_grav_'+taid+'" title="'+tname+'" src="'+timageurl+'?s=60" /><br /><span class="wplc_agent_name wplc-color-2">'+tname+'</span>'+ta_tagline+ta_bio+ta_social_links
119
- }).appendTo('.wplc_agent_info');
120
-
121
- jQuery('<span/>', {
122
- 'class': 'bleeper_pullup down',
123
- html: '<i class="fa fa-angle-up"></i>'
124
-
125
- }).appendTo('.wplc_agent_info');
126
- }
127
-
128
- var csst = "url(https://www.gravatar.com/avatar/20a6e5c8b75ce87f4896f46ed6f49832?s=60);";
129
-
130
- jQuery("#wplc_chatbox_header_bg").css('background-image', 'url('+timageurl+'?s=380)');
131
- jQuery("#wplc_chatbox").css("top",
132
- jQuery("#wplc_chatbox_header").height()+18+"px"
133
- );
134
-
135
- } else {
136
-
137
- var wplc_tracked_agents = jQuery(".wplc_agent_info").attr("aid");
138
- var wplc_tracked_agents_object = wplc_tracked_agents.split(",");
139
-
140
- var wplc_tracked_agent_match = false; //No duplicates found yet
141
- for(var i in wplc_tracked_agents_object){
142
- var wplc_indexed_agent_id = parseInt(wplc_tracked_agents_object[i]);
143
-
144
- if(wplc_indexed_agent_id === taid){
145
- //Match - This agent is already being tracked
146
- wplc_tracked_agent_match = true;
147
- }
148
- }
149
-
150
- if(!wplc_tracked_agent_match) {
151
- //Agent is not being tracked yet
152
- wplc_tracked_agents += "," + taid;
153
- jQuery(".wplc_agent_info").attr("aid", wplc_tracked_agents);
154
-
155
- //Update Names
156
- var wplc_current_agent_names = jQuery(".wplc_agent_name").text();
157
- jQuery(".wplc_agent_name").text(wplc_current_agent_names + ", " + tname);
158
-
159
- //Hide the tagline, it is not needed for two agents in my opinion - Dylan Auty
160
- jQuery(".wplc_agent_tagline").hide();
161
-
162
- //Hide social links, it is too cluttered to add more here
163
- jQuery(".wplc_agent_social_links").hide();
164
-
165
- //Change the way the images are displayed
166
- jQuery("img.wplc_agent_involved").removeClass("wplc_thumb32").addClass("wplc_thumb16_stacked");
167
-
168
- //Add the new agents image as well
169
- var wplc_new_agent_grav = '<img class="img-thumbnail img-circle wplc_thumb16_stacked wplc_agent_involved" style="max-width:inherit;" id="agent_grav_'+taid+'" title="'+tname+'" src="'+timageurl+'?s=60" />';
170
- jQuery(wplc_new_agent_grav).insertAfter("img.wplc_agent_involved:last");
171
-
172
- //Update the height of the header
173
- jQuery("#wplc_chatbox_header").css("max-height", jQuery("#wplc_chatbox_header").outerHeight());
174
- jQuery("#wplc_chatbox").css("top", jQuery("#wplc_chatbox_header").height()+"px"); //Final update incase anything has changes
175
-
176
-
177
- jQuery("#wplc_chatbox_header_bg").css("background-image", "none");
178
- }
179
-
180
- }
181
- }
182
-
183
-
184
- });
185
-
186
- jQuery(document).on("bleeper_build_involved_agents_header", function(e){
187
- if(typeof e.ndata !== "undefined"){
188
- if(typeof e.ndata.chatid !== "undefined" && typeof e.ndata.agents !== "undefined"){
189
- if(e.ndata.chatid === chatid){
190
- var agent_match = e.ndata.agents;
191
- for(var i in agent_match){
192
- var current_agent = agent_match[i];
193
-
194
- if(typeof wplc_agent_data[current_agent] !== "undefined"){
195
- wplc_agent_data[current_agent].md5;
196
- wplc_agent_data[current_agent].name;
197
-
198
- var other = {
199
- email: wplc_agent_data[current_agent].md5,
200
- name: wplc_agent_data[current_agent].name,
201
- aid: current_agent
202
- };
203
-
204
- jQuery.event.trigger({type: "wplc_agent_joined", ndata: {other: other}});
205
- }
206
- }
207
- }
208
- }
209
- }
210
- });
211
-
212
-
213
- jQuery(document).on("wplc_animation_done", function(e) {
214
-
215
- jQuery("#nifty_text_editor_holder").remove();
216
- jQuery("#wplc_msg_notice").remove();
217
- jQuery("#wp-live-chat-minimize").remove();
218
-
219
- jQuery("#wplc_logo").prependTo("#wplc_chatbox_header");
220
-
221
-
222
-
223
-
224
-
225
- if (jQuery("wplc_chatbox").hasClass("wplc-shrink")) {
226
- /**
227
- * The +18px is to compensate for the 18px of padding at the bottom of the header box
228
- */
229
- jQuery("#wplc_chatbox").css("top",
230
- jQuery("#wplc_chatbox_header").height()+18+"px"
231
- );
232
- jQuery("#wplc_logo").show();
233
- } else {
234
- /**
235
- * The +18px is to compensate for the 18px of padding at the bottom of the header box
236
- */
237
- jQuery("#wplc_chatbox").css("top",
238
- jQuery("#wplc_chatbox_header").height()+18+"px"
239
- );
240
- jQuery("#wplc_logo").hide();
241
- }
242
- jQuery("#wplc_chatbox").css("bottom", "0");
243
-
244
-
245
-
246
- });
247
- jQuery(document).on( "wplc_open_chat_2", function( e ) {
248
-
249
- wplc_chat_status = Cookies.get('wplc_chat_status');
250
-
251
-
252
- if (Cookies.get('wplc_minimize') === 'yes' && !jQuery("#wp-live-chat-header").hasClass("active")) { } else {
253
-
254
- jQuery("#wp-live-chat-1").hide();
255
- jQuery("#wp-live-chat-2-inner").hide();
256
-
257
- jQuery("#wp-live-chat-2").show();
258
-
259
- if(!jQuery("#wp-live-chat-header").hasClass("active")){
260
- jQuery("#wplc_chatmsg").focus();
261
- }
262
-
263
- jQuery("#wp-live-chat-header").addClass("active");
264
- jQuery("#wp-live-chat").addClass("mobile-active");
265
-
266
-
267
- wplc_chat_status = Cookies.get('wplc_chat_status');
268
-
269
- if (typeof e.wplc_online !== "undefined" && e.wplc_online === true) {
270
- jQuery("#wp-live-chat-4").show();
271
- jQuery("#wplc_social_holder").show();
272
- jQuery("#nifty_ratings_holder").show();
273
- jQuery.event.trigger({type: "wplc_animation_done"});
274
-
275
-
276
- }
277
- setTimeout(function() {
278
- wplc_scroll_to_bottom();
279
- },1000);
280
-
281
- jQuery("#wp-live-chat-3").hide();
282
- jQuery("#wplc_chatmsg").focus();
283
- jQuery("#wp-live-chat-minimize").css("right","23px");
284
- Cookies.set('wplc_minimize', "", { expires: 1, path: '/' });
285
- }
286
-
287
-
288
- });
289
-
290
-
291
-
292
- var wplc_leave_window_alone = false;
293
- var wplc_currently_animating_agent_header = false;
294
-
295
- jQuery(function() {
296
-
297
-
298
- jQuery("body").on("mousewheel", "#wplc_chatbox", function(turn, delta){
299
-
300
- if (delta == 1) {
301
- /**
302
- * The +18px is to compensate for the 18px of padding at the bottom of the header box
303
- */
304
-
305
- wplc_animate_agent_header_up();
306
-
307
- } else {
308
- // going down
309
- /**
310
- * The +18px is to compensate for the 18px of padding at the bottom of the header box
311
- */
312
- wplc_animate_agent_header_down();
313
-
314
- }
315
-
316
- });
317
-
318
- jQuery("body").on("click", ".bleeper_pullup", function() {
319
- if (jQuery(".bleeper_pullup").hasClass('down')) {
320
- wplc_animate_agent_header_down();
321
-
322
- } else {
323
- wplc_animate_agent_header_up();
324
-
325
- }
326
- });
327
-
328
-
329
- //opens chat when clicked on top bar
330
- jQuery("body").on("click", "#wp-live-chat-header", function() {
331
-
332
-
333
- });
334
-
335
-
336
- jQuery("body").on("click", ".wplc_retry_chat", function() {
337
- jQuery("#wplc_chatbox").html("");
338
- jQuery("#wp-live-chat-4").fadeOut();
339
- Cookies.remove('wplc_chat_status');
340
- jQuery("#wp-live-chat-2-inner").fadeIn();
341
- wplc_shown_welcome = false;
342
- });
343
-
344
-
345
- jQuery("body").on("click", "#wp-live-chat-header", function(){
346
- //if (!wplc_is_chat_open) {
347
-
348
- if (jQuery(this).hasClass('active')) {
349
- jQuery("#wplc_hovercard").fadeOut("fast");
350
- jQuery("#wp-live-chat-2").fadeOut("fast");
351
- jQuery(this).removeClass('active');
352
- jQuery.event.trigger({type: "wplc_minimize_chat"});
353
-
354
- Cookies.set('wplc_minimize', "yes", { expires: 1, path: '/' });
355
-
356
- } else {
357
- jQuery("#wplc_hovercard").fadeIn('fast');
358
- jQuery(this).addClass('active');
359
-
360
- wplc_chat_status = Cookies.get('wplc_chat_status');
361
- nc_status = Cookies.get('nc_status');
362
- if (parseInt(wplc_chat_status) == 3 || parseInt(wplc_chat_status) == 2 || parseInt(wplc_chat_status) == 0 || parseInt(wplc_chat_status) == 12 || parseInt(wplc_chat_status) == 10 || nc_status === 'active') {
363
-
364
- jQuery("#bleeper_bell").hide();
365
-
366
- jQuery("#speeching_button").click();
367
- }
368
-
369
- //Cookies.set('wplc_minimize', "", { expires: 1, path: '/' });
370
-
371
- }
372
-
373
- jQuery('#wplc_gdpr_end_chat_notice_container').hide();
374
-
375
-
376
-
377
- //}
378
- });
379
- jQuery("body").on("click", "#wplc_hovercard_min", function() {
380
- jQuery("#wplc_hovercard").fadeOut('fast');
381
- });
382
- jQuery("body").on("click", "#speeching_button", function() {
383
- jQuery("#wplc_hovercard").fadeOut("fast");
384
- jQuery("#wplc-chat-alert").removeClass('is-active');
385
- wplc_is_chat_open = true;
386
- jQuery.event.trigger({type: "wplc_open_chat"});
387
-
388
- });
389
- jQuery("body").on("click", "#wp-live-chat-minimize", function() {
390
-
391
- jQuery("#wp-live-chat-header").removeClass('active');
392
- });
393
-
394
-
395
-
396
-
397
-
398
-
399
-
400
-
401
-
402
- });
403
-
404
-
405
-
406
- function wplc_animate_agent_header_up() {
407
- if(!wplc_currently_animating_agent_header && jQuery("#wplc_chatbox_header").hasClass("wplc-shrink") && jQuery('#wplc_chatbox_header .wplc_agent_info:first-child').html() !== ""){
408
- wplc_currently_animating_agent_header = true;
409
- jQuery("#wplc_chatbox_header").removeClass("wplc-shrink");
410
-
411
- jQuery("#wplc_chatbox_header").animate(
412
- { maxHeight: "280px", },
413
- {
414
- duration: 700,
415
- complete: function() {
416
- // Animation complete
417
-
418
- jQuery("#wplc_logo").show();
419
- wplc_currently_animating_agent_header = false;
420
-
421
- jQuery("#wplc_chatbox_header").css("max-height", jQuery("#wplc_chatbox_header").outerHeight());
422
- jQuery("#wplc_chatbox").css("top", jQuery("#wplc_chatbox_header").height()+18+"px"); //Final update incase anything has changes
423
-
424
-
425
- },
426
- progress: function() {
427
- jQuery("#wplc_chatbox").css("top", jQuery("#wplc_chatbox_header").height()+18+"px"); //Live movement updates
428
-
429
- }
430
- }
431
- );
432
- }
433
- jQuery(".bleeper_pullup").removeClass('up');
434
- jQuery(".bleeper_pullup").addClass('down');
435
- jQuery(".bleeper_pullup").html("<i class='fa fa-angle-up'></i>");
436
- jQuery(".bleeper_pullup").css('bottom','5px');
437
- }
438
- function wplc_animate_agent_header_down() {
439
- if(!wplc_currently_animating_agent_header && !jQuery("#wplc_chatbox_header").hasClass("wplc-shrink") && jQuery('#wplc_chatbox_header .wplc_agent_info:first-child').html() !== ""){
440
- wplc_currently_animating_agent_header = true;
441
-
442
- jQuery("#wplc_chatbox_header").addClass("wplc-shrink");
443
-
444
- jQuery("#wplc_chatbox").css("top", "50px");
445
-
446
-
447
- jQuery("#wplc_chatbox_header").animate(
448
- { height: "50px", maxHeight: "50px"},
449
- {
450
- duration: 200,
451
- start: function(){
452
- jQuery("#wplc_logo").hide();
453
-
454
- },
455
- complete: function() {
456
- // Animation complete
457
- wplc_currently_animating_agent_header = false;
458
-
459
- jQuery("#wplc_chatbox_header").css("max-height", "50px");
460
- jQuery("#wplc_chatbox_header").css("height", "auto");
461
-
462
- //jQuery("#wplc_chatbox").css("top", jQuery("#wplc_chatbox_header").height()+18+"px");
463
-
464
-
465
- }
466
- }
467
- );
468
-
469
- }
470
- jQuery(".bleeper_pullup").removeClass('down');
471
- jQuery(".bleeper_pullup").addClass('up');
472
- jQuery(".bleeper_pullup").html("<i class='fa fa-angle-down'></i>");
473
- jQuery(".bleeper_pullup").css('bottom','0px');
474
- }
475
-
476
  !function(a){"function"==typeof define&&define.amd?define(["jquery"],a):"object"==typeof exports?module.exports=a:a(jQuery)}(function(a){function b(b){var g=b||window.event,h=i.call(arguments,1),j=0,l=0,m=0,n=0,o=0,p=0;if(b=a.event.fix(g),b.type="mousewheel","detail"in g&&(m=-1*g.detail),"wheelDelta"in g&&(m=g.wheelDelta),"wheelDeltaY"in g&&(m=g.wheelDeltaY),"wheelDeltaX"in g&&(l=-1*g.wheelDeltaX),"axis"in g&&g.axis===g.HORIZONTAL_AXIS&&(l=-1*m,m=0),j=0===m?l:m,"deltaY"in g&&(m=-1*g.deltaY,j=m),"deltaX"in g&&(l=g.deltaX,0===m&&(j=-1*l)),0!==m||0!==l){if(1===g.deltaMode){var q=a.data(this,"mousewheel-line-height");j*=q,m*=q,l*=q}else if(2===g.deltaMode){var r=a.data(this,"mousewheel-page-height");j*=r,m*=r,l*=r}if(n=Math.max(Math.abs(m),Math.abs(l)),(!f||f>n)&&(f=n,d(g,n)&&(f/=40)),d(g,n)&&(j/=40,l/=40,m/=40),j=Math[j>=1?"floor":"ceil"](j/f),l=Math[l>=1?"floor":"ceil"](l/f),m=Math[m>=1?"floor":"ceil"](m/f),k.settings.normalizeOffset&&this.getBoundingClientRect){var s=this.getBoundingClientRect();o=b.clientX-s.left,p=b.clientY-s.top}return b.deltaX=l,b.deltaY=m,b.deltaFactor=f,b.offsetX=o,b.offsetY=p,b.deltaMode=0,h.unshift(b,j,l,m),e&&clearTimeout(e),e=setTimeout(c,200),(a.event.dispatch||a.event.handle).apply(this,h)}}function c(){f=null}function d(a,b){return k.settings.adjustOldDeltas&&"mousewheel"===a.type&&b%120===0}var e,f,g=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],h="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],i=Array.prototype.slice;if(a.event.fixHooks)for(var j=g.length;j;)a.event.fixHooks[g[--j]]=a.event.mouseHooks;var k=a.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var c=h.length;c;)this.addEventListener(h[--c],b,!1);else this.onmousewheel=b;a.data(this,"mousewheel-line-height",k.getLineHeight(this)),a.data(this,"mousewheel-page-height",k.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var c=h.length;c;)this.removeEventListener(h[--c],b,!1);else this.onmousewheel=null;a.removeData(this,"mousewheel-line-height"),a.removeData(this,"mousewheel-page-height")},getLineHeight:function(b){var c=a(b),d=c["offsetParent"in a.fn?"offsetParent":"parent"]();return d.length||(d=a("body")),parseInt(d.css("fontSize"),10)||parseInt(c.css("fontSize"),10)||16},getPageHeight:function(b){return a(b).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};a.fn.extend({mousewheel:function(a){return a?this.bind("mousewheel",a):this.trigger("mousewheel")},unmousewheel:function(a){return this.unbind("mousewheel",a)}})});
1
+ jQuery(document).on("bleeper_agent_disconnected", function(e) {
2
+ var taid = jQuery(".wplc_agent_info").attr('aid');
3
+ if (taid == e.ndata.aid) {
4
+ jQuery(".wplc_agent_info").html("");
5
+ wplc_animate_agent_header_down();
6
+ jQuery("#wplc_chatbox").css("top","18px");
7
+ }
8
+ });
9
+ jQuery(document).on("bleeper_agent_left", function(e) {
10
+ var taid = jQuery(".wplc_agent_info").attr('aid');
11
+ if (taid == e.ndata.agent) {
12
+ jQuery(".wplc_agent_info").html("");
13
+ wplc_animate_agent_header_down();
14
+ jQuery("#wplc_chatbox").css("top","18px");
15
+ }
16
+ });
17
+
18
+
19
+ jQuery(document).on("wplc_minimize_chat", function( e ) {
20
+ wplc_is_chat_open = false;
21
+ jQuery('#wp-live-chat').height("");
22
+ if(jQuery("#wp-live-chat").attr("original_pos") === "bottom_right"){
23
+ jQuery("#wp-live-chat").css("left", "");
24
+ jQuery("#wp-live-chat").css("bottom", "0");
25
+ jQuery("#wp-live-chat").css("right", "20px");
26
+ } else if(jQuery("#wp-live-chat").attr("original_pos") === "bottom_left"){
27
+ jQuery("#wp-live-chat").css("left", "20px");
28
+ jQuery("#wp-live-chat").css("bottom", "0");
29
+ jQuery("#wp-live-chat").css("right", "");
30
+ } else if(jQuery("#wp-live-chat").attr("original_pos") === "left"){
31
+ jQuery("#wp-live-chat").css("left", "20px");
32
+ jQuery("#wp-live-chat").css("bottom", "100px");
33
+ } else if(jQuery("#wp-live-chat").attr("original_pos") === "right"){
34
+ //jQuery("#wp-live-chat").css("left", "");
35
+ //jQuery("#wp-live-chat").css("right", "0");
36
+ //jQuery("#wp-live-chat").css("bottom", "100px");
37
+ //jQuery("#wp-live-chat").css("width", "");
38
+ }
39
+ jQuery('#wp-live-chat').addClass("wplc_close");
40
+ jQuery('#wp-live-chat').removeClass("wplc_open");
41
+ //jQuery("#wp-live-chat").css(jQuery("#wp-live-chat").attr("original_pos"), "100px");
42
+ jQuery("#wp-live-chat").css("top", "");
43
+ jQuery("#wp-live-chat").css("height", "");
44
+ jQuery("#wp-live-chat-1").show();
45
+ jQuery("#wp-live-chat-1").css('cursor', 'pointer');
46
+ jQuery("#wp-live-chat-2").hide();
47
+ jQuery("#wp-live-chat-3").hide();
48
+ jQuery("#wp-live-chat-4").hide();
49
+ jQuery("#wplc_social_holder").hide();
50
+ jQuery("#nifty_ratings_holder").hide();
51
+ jQuery("#nifty_ratings_holder").hide();
52
+ jQuery("#wp-live-chat-react").hide();
53
+ jQuery("#wp-live-chat-minimize").hide();
54
+
55
+ jQuery("#wp-live-chat-header").show();
56
+
57
+ });
58
+
59
+ jQuery(document).on("wplc_start_chat", function( e ) {
60
+ jQuery("#wp-live-chat-2-inner").hide("slow");
61
+ /* changed in version 7 as we now allow users to start typing immediately */
62
+ /* jQuery("#wp-live-chat-3").show(); */
63
+ jQuery.event.trigger({type: "wplc_open_chat_1"});
64
+ jQuery.event.trigger({type: "wplc_open_chat_2", wplc_online: wplc_online});
65
+
66
+ });
67
+
68
+ jQuery(document).on( "wplc_open_chat_1", function( e ) {
69
+ jQuery('#wp-live-chat').removeClass("wplc_close");
70
+ jQuery('#wp-live-chat').addClass("wplc_open");
71
+ jQuery("#wp-live-chat-react").hide();
72
+
73
+ //jQuery("#wp-live-chat-header").hide();
74
+
75
+ Cookies.set('wplc_hide', "", { expires: 1, path: '/' });
76
+ jQuery("#wp-live-chat-minimize").show();
77
+
78
+
79
+
80
+
81
+ });
82
+ jQuery(document).on("wplc_agent_joined", function(e) {
83
+
84
+ var temail = '';
85
+ var tname = '';
86
+ var taid = '';
87
+ var ta_tagline = '';
88
+ var ta_bio = '';
89
+ var ta_social_links = '';
90
+
91
+ if (typeof e.ndata.other.email !== "undefined") { temail = e.ndata.other.email; }
92
+ if (typeof e.ndata.other.name !== "undefined") { tname = e.ndata.other.name; }
93
+ if (typeof e.ndata.other.aid !== "undefined") { taid = parseInt(e.ndata.other.aid); }
94
+ if (typeof e.ndata.other.agent_tagline !== "undefined") { ta_tagline = e.ndata.other.agent_tagline; }
95
+ if (typeof e.ndata.other.agent_bio !== "undefined") { ta_bio = e.ndata.other.agent_bio; }
96
+ if (typeof e.ndata.other.social_links !== "undefined") { ta_social_links = e.ndata.other.social_links; }
97
+
98
+ //Ensure this agent ID is valid before proceeding
99
+ if(!isNaN(taid)){
100
+
101
+ jQuery(".wplc_no_answer").remove();
102
+
103
+ jQuery(".admin_chat_name").html(tname);
104
+ wplc_node_pair_name = tname;
105
+ wplc_agent_name = tname;
106
+
107
+ var timageurl = wplc_user_avatars[taid];
108
+
109
+ if(jQuery(".wplc_agent_info").html().trim() === "" || typeof jQuery(".wplc_agent_info").attr("aid") === "undefined"){
110
+ //No Agents have joined yet
111
+ jQuery(".wplc_agent_info").html('');
112
+ jQuery(".wplc_agent_info").attr("aid",taid);
113
+
114
+ if ( ! jQuery( '#agent_grav_'+taid ).length ) {
115
+ jQuery('<p/>', {
116
+ 'class': '',
117
+ 'style': 'text-align:center;',
118
+ html: '<img class="img-thumbnail img-circle wplc_thumb32 wplc_agent_involved" style="max-width:inherit;" id="agent_grav_'+taid+'" title="'+tname+'" src="'+timageurl+'?s=60&d=mm" /><br /><span class="wplc_agent_name wplc-color-2">'+tname+'</span>'+ta_tagline+ta_bio+ta_social_links
119
+ }).appendTo('.wplc_agent_info');
120
+
121
+ jQuery('<span/>', {
122
+ 'class': 'bleeper_pullup down',
123
+ html: '<i class="fa fa-angle-up"></i>'
124
+
125
+ }).appendTo('.wplc_agent_info');
126
+ }
127
+
128
+ var csst = "url(https://www.gravatar.com/avatar/20a6e5c8b75ce87f4896f46ed6f49832?s=60&d=mm);";
129
+
130
+ jQuery("#wplc_chatbox_header_bg").css('background-image', 'url('+timageurl+'?s=380&d=mm)');
131
+ jQuery("#wplc_chatbox").css("top",
132
+ jQuery("#wplc_chatbox_header").height()+18+"px"
133
+ );
134
+
135
+ } else {
136
+
137
+ var wplc_tracked_agents = jQuery(".wplc_agent_info").attr("aid");
138
+ var wplc_tracked_agents_object = wplc_tracked_agents.split(",");
139
+
140
+ var wplc_tracked_agent_match = false; //No duplicates found yet
141
+ for(var i in wplc_tracked_agents_object){
142
+ var wplc_indexed_agent_id = parseInt(wplc_tracked_agents_object[i]);
143
+
144
+ if(wplc_indexed_agent_id === taid){
145
+ //Match - This agent is already being tracked
146
+ wplc_tracked_agent_match = true;
147
+ }
148
+ }
149
+
150
+ if(!wplc_tracked_agent_match) {
151
+ //Agent is not being tracked yet
152
+ wplc_tracked_agents += "," + taid;
153
+ jQuery(".wplc_agent_info").attr("aid", wplc_tracked_agents);
154
+
155
+ //Update Names
156
+ var wplc_current_agent_names = jQuery(".wplc_agent_name").text();
157
+ jQuery(".wplc_agent_name").text(wplc_current_agent_names + ", " + tname);
158
+
159
+ //Hide the tagline, it is not needed for two agents in my opinion - Dylan Auty
160
+ jQuery(".wplc_agent_tagline").hide();
161
+
162
+ //Hide social links, it is too cluttered to add more here
163
+ jQuery(".wplc_agent_social_links").hide();
164
+
165
+ //Change the way the images are displayed
166
+ jQuery("img.wplc_agent_involved").removeClass("wplc_thumb32").addClass("wplc_thumb16_stacked");
167
+
168
+ //Add the new agents image as well
169
+ var wplc_new_agent_grav = '<img class="img-thumbnail img-circle wplc_thumb16_stacked wplc_agent_involved" style="max-width:inherit;" id="agent_grav_'+taid+'" title="'+tname+'" src="'+timageurl+'?s=60&d=mm" />';
170
+ jQuery(wplc_new_agent_grav).insertAfter("img.wplc_agent_involved:last");
171
+
172
+ //Update the height of the header
173
+ jQuery("#wplc_chatbox_header").css("max-height", jQuery("#wplc_chatbox_header").outerHeight());
174
+ jQuery("#wplc_chatbox").css("top", jQuery("#wplc_chatbox_header").height()+"px"); //Final update incase anything has changes
175
+
176
+
177
+ jQuery("#wplc_chatbox_header_bg").css("background-image", "none");
178
+ }
179
+
180
+ }
181
+ }
182
+
183
+
184
+ });
185
+
186
+ jQuery(document).on("bleeper_build_involved_agents_header", function(e){
187
+ if(typeof e.ndata !== "undefined"){
188
+ if(typeof e.ndata.chatid !== "undefined" && typeof e.ndata.agents !== "undefined"){
189
+ if(e.ndata.chatid === chatid){
190
+ var agent_match = e.ndata.agents;
191
+ for(var i in agent_match){
192
+ var current_agent = agent_match[i];
193
+
194
+ if(typeof wplc_agent_data[current_agent] !== "undefined"){
195
+ wplc_agent_data[current_agent].md5;
196
+ wplc_agent_data[current_agent].name;
197
+
198
+ var other = {
199
+ email: wplc_agent_data[current_agent].md5,
200
+ name: wplc_agent_data[current_agent].name,
201
+ aid: current_agent
202
+ };
203
+
204
+ jQuery.event.trigger({type: "wplc_agent_joined", ndata: {other: other}});
205
+ }
206
+ }
207
+ }
208
+ }
209
+ }
210
+ });
211
+
212
+
213
+ jQuery(document).on("wplc_animation_done", function(e) {
214
+
215
+ jQuery("#nifty_text_editor_holder").remove();
216
+ jQuery("#wplc_msg_notice").remove();
217
+ jQuery("#wp-live-chat-minimize").remove();
218
+
219
+ jQuery("#wplc_logo").prependTo("#wplc_chatbox_header");
220
+
221
+
222
+
223
+
224
+
225
+ if (jQuery("wplc_chatbox").hasClass("wplc-shrink")) {
226
+ /**
227
+ * The +18px is to compensate for the 18px of padding at the bottom of the header box
228
+ */
229
+ jQuery("#wplc_chatbox").css("top",
230
+ jQuery("#wplc_chatbox_header").height()+18+"px"
231
+ );
232
+ jQuery("#wplc_logo").show();
233
+ } else {
234
+ /**
235
+ * The +18px is to compensate for the 18px of padding at the bottom of the header box
236
+ */
237
+ jQuery("#wplc_chatbox").css("top",
238
+ jQuery("#wplc_chatbox_header").height()+18+"px"
239
+ );
240
+ jQuery("#wplc_logo").hide();
241
+ }
242
+ jQuery("#wplc_chatbox").css("bottom", "0");
243
+
244
+
245
+
246
+ });
247
+ jQuery(document).on( "wplc_open_chat_2", function( e ) {
248
+
249
+ wplc_chat_status = Cookies.get('wplc_chat_status');
250
+
251
+
252
+ if (Cookies.get('wplc_minimize') === 'yes' && !jQuery("#wp-live-chat-header").hasClass("active")) { } else {
253
+
254
+ jQuery("#wp-live-chat-1").hide();
255
+ jQuery("#wp-live-chat-2-inner").hide();
256
+
257
+ jQuery("#wp-live-chat-2").show();
258
+
259
+ if(!jQuery("#wp-live-chat-header").hasClass("active")){
260
+ jQuery("#wplc_chatmsg").focus();
261
+ }
262
+
263
+ jQuery("#wp-live-chat-header").addClass("active");
264
+ jQuery("#wp-live-chat").addClass("mobile-active");
265
+
266
+
267
+ wplc_chat_status = Cookies.get('wplc_chat_status');
268
+
269
+ if (typeof e.wplc_online !== "undefined" && e.wplc_online === true) {
270
+ jQuery("#wp-live-chat-4").show();
271
+ jQuery("#wplc_social_holder").show();
272
+ jQuery("#nifty_ratings_holder").show();
273
+ jQuery.event.trigger({type: "wplc_animation_done"});
274
+
275
+
276
+ }
277
+ setTimeout(function() {
278
+ wplc_scroll_to_bottom();
279
+ },1000);
280
+
281
+ jQuery("#wp-live-chat-3").hide();
282
+ jQuery("#wplc_chatmsg").focus();
283
+ jQuery("#wp-live-chat-minimize").css("right","23px");
284
+ Cookies.set('wplc_minimize', "", { expires: 1, path: '/' });
285
+ }
286
+
287
+
288
+ });
289
+
290
+
291
+
292
+ var wplc_leave_window_alone = false;
293
+ var wplc_currently_animating_agent_header = false;
294
+
295
+ jQuery(function() {
296
+
297
+
298
+ jQuery("body").on("mousewheel", "#wplc_chatbox", function(turn, delta){
299
+
300
+ if (delta == 1) {
301
+ /**
302
+ * The +18px is to compensate for the 18px of padding at the bottom of the header box
303
+ */
304
+
305
+ wplc_animate_agent_header_up();
306
+
307
+ } else {
308
+ // going down
309
+ /**
310
+ * The +18px is to compensate for the 18px of padding at the bottom of the header box
311
+ */
312
+ wplc_animate_agent_header_down();
313
+
314
+ }
315
+
316
+ });
317
+
318
+ jQuery("body").on("click", ".bleeper_pullup", function() {
319
+ if (jQuery(".bleeper_pullup").hasClass('down')) {
320
+ wplc_animate_agent_header_down();
321
+
322
+ } else {
323
+ wplc_animate_agent_header_up();
324
+
325
+ }
326
+ });
327
+
328
+
329
+ //opens chat when clicked on top bar
330
+ jQuery("body").on("click", "#wp-live-chat-header", function() {
331
+
332
+
333
+ });
334
+
335
+
336
+ jQuery("body").on("click", ".wplc_retry_chat", function() {
337
+ jQuery("#wplc_chatbox").html("");
338
+ jQuery("#wp-live-chat-4").fadeOut();
339
+ Cookies.remove('wplc_chat_status');
340
+ jQuery("#wp-live-chat-2-inner").fadeIn();
341
+ wplc_shown_welcome = false;
342
+ });
343
+
344
+
345
+ jQuery("body").on("click", "#wp-live-chat-header", function(){
346
+ //if (!wplc_is_chat_open) {
347
+
348
+ if (jQuery(this).hasClass('active')) {
349
+ jQuery("#wplc_hovercard").fadeOut("fast");
350
+ jQuery("#wp-live-chat-2").fadeOut("fast");
351
+ jQuery(this).removeClass('active');
352
+ jQuery.event.trigger({type: "wplc_minimize_chat"});
353
+
354
+ Cookies.set('wplc_minimize', "yes", { expires: 1, path: '/' });
355
+
356
+ } else {
357
+ jQuery("#wplc_hovercard").fadeIn('fast');
358
+ jQuery(this).addClass('active');
359
+
360
+ wplc_chat_status = Cookies.get('wplc_chat_status');
361
+ nc_status = Cookies.get('nc_status');
362
+ if (parseInt(wplc_chat_status) == 3 || parseInt(wplc_chat_status) == 2 || parseInt(wplc_chat_status) == 0 || parseInt(wplc_chat_status) == 12 || parseInt(wplc_chat_status) == 10 || nc_status === 'active') {
363
+
364
+ jQuery("#bleeper_bell").hide();
365
+
366
+ jQuery("#speeching_button").click();
367
+ }
368
+
369
+ //Cookies.set('wplc_minimize', "", { expires: 1, path: '/' });
370
+
371
+ }
372
+
373
+ jQuery('#wplc_gdpr_end_chat_notice_container').hide();
374
+
375
+
376
+
377
+ //}
378
+ });
379
+ jQuery("body").on("click", "#wplc_hovercard_min", function() {
380
+ jQuery("#wplc_hovercard").fadeOut('fast');
381
+ });
382
+ jQuery("body").on("click", "#speeching_button", function() {
383
+ jQuery("#wplc_hovercard").fadeOut("fast");
384
+ jQuery("#wplc-chat-alert").removeClass('is-active');
385
+ wplc_is_chat_open = true;
386
+ jQuery.event.trigger({type: "wplc_open_chat"});
387
+
388
+ });
389
+ jQuery("body").on("click", "#wp-live-chat-minimize", function() {
390
+
391
+ jQuery("#wp-live-chat-header").removeClass('active');
392
+ });
393
+
394
+
395
+
396
+
397
+
398
+
399
+
400
+
401
+
402
+ });
403
+
404
+
405
+
406
+ function wplc_animate_agent_header_up() {
407
+ if(!wplc_currently_animating_agent_header && jQuery("#wplc_chatbox_header").hasClass("wplc-shrink") && jQuery('#wplc_chatbox_header .wplc_agent_info:first-child').html() !== ""){
408
+ wplc_currently_animating_agent_header = true;
409
+ jQuery("#wplc_chatbox_header").removeClass("wplc-shrink");
410
+
411
+ jQuery("#wplc_chatbox_header").animate(
412
+ { maxHeight: "280px", },
413
+ {
414
+ duration: 700,
415
+ complete: function() {
416
+ // Animation complete
417
+
418
+ jQuery("#wplc_logo").show();
419
+ wplc_currently_animating_agent_header = false;
420
+
421
+ jQuery("#wplc_chatbox_header").css("max-height", jQuery("#wplc_chatbox_header").outerHeight());
422
+ jQuery("#wplc_chatbox").css("top", jQuery("#wplc_chatbox_header").height()+18+"px"); //Final update incase anything has changes
423
+
424
+
425
+ },
426
+ progress: function() {
427
+ jQuery("#wplc_chatbox").css("top", jQuery("#wplc_chatbox_header").height()+18+"px"); //Live movement updates
428
+
429
+ }
430
+ }
431
+ );
432
+ }
433
+ jQuery(".bleeper_pullup").removeClass('up');
434
+ jQuery(".bleeper_pullup").addClass('down');
435
+ jQuery(".bleeper_pullup").html("<i class='fa fa-angle-up'></i>");
436
+ jQuery(".bleeper_pullup").css('bottom','5px');
437
+ }
438
+ function wplc_animate_agent_header_down() {
439
+ if(!wplc_currently_animating_agent_header && !jQuery("#wplc_chatbox_header").hasClass("wplc-shrink") && jQuery('#wplc_chatbox_header .wplc_agent_info:first-child').html() !== ""){
440
+ wplc_currently_animating_agent_header = true;
441
+
442
+ jQuery("#wplc_chatbox_header").addClass("wplc-shrink");
443
+
444
+ jQuery("#wplc_chatbox").css("top", "50px");
445
+
446
+
447
+ jQuery("#wplc_chatbox_header").animate(
448
+ { height: "50px", maxHeight: "50px"},
449
+ {
450
+ duration: 200,
451
+ start: function(){
452
+ jQuery("#wplc_logo").hide();
453
+
454
+ },
455
+ complete: function() {
456
+ // Animation complete
457
+ wplc_currently_animating_agent_header = false;
458
+
459
+ jQuery("#wplc_chatbox_header").css("max-height", "50px");
460
+ jQuery("#wplc_chatbox_header").css("height", "auto");
461
+
462
+ //jQuery("#wplc_chatbox").css("top", jQuery("#wplc_chatbox_header").height()+18+"px");
463
+
464
+
465
+ }
466
+ }
467
+ );
468
+
469
+ }
470
+ jQuery(".bleeper_pullup").removeClass('down');
471
+ jQuery(".bleeper_pullup").addClass('up');
472
+ jQuery(".bleeper_pullup").html("<i class='fa fa-angle-down'></i>");
473
+ jQuery(".bleeper_pullup").css('bottom','0px');
474
+ }
475
+
476
  !function(a){"function"==typeof define&&define.amd?define(["jquery"],a):"object"==typeof exports?module.exports=a:a(jQuery)}(function(a){function b(b){var g=b||window.event,h=i.call(arguments,1),j=0,l=0,m=0,n=0,o=0,p=0;if(b=a.event.fix(g),b.type="mousewheel","detail"in g&&(m=-1*g.detail),"wheelDelta"in g&&(m=g.wheelDelta),"wheelDeltaY"in g&&(m=g.wheelDeltaY),"wheelDeltaX"in g&&(l=-1*g.wheelDeltaX),"axis"in g&&g.axis===g.HORIZONTAL_AXIS&&(l=-1*m,m=0),j=0===m?l:m,"deltaY"in g&&(m=-1*g.deltaY,j=m),"deltaX"in g&&(l=g.deltaX,0===m&&(j=-1*l)),0!==m||0!==l){if(1===g.deltaMode){var q=a.data(this,"mousewheel-line-height");j*=q,m*=q,l*=q}else if(2===g.deltaMode){var r=a.data(this,"mousewheel-page-height");j*=r,m*=r,l*=r}if(n=Math.max(Math.abs(m),Math.abs(l)),(!f||f>n)&&(f=n,d(g,n)&&(f/=40)),d(g,n)&&(j/=40,l/=40,m/=40),j=Math[j>=1?"floor":"ceil"](j/f),l=Math[l>=1?"floor":"ceil"](l/f),m=Math[m>=1?"floor":"ceil"](m/f),k.settings.normalizeOffset&&this.getBoundingClientRect){var s=this.getBoundingClientRect();o=b.clientX-s.left,p=b.clientY-s.top}return b.deltaX=l,b.deltaY=m,b.deltaFactor=f,b.offsetX=o,b.offsetY=p,b.deltaMode=0,h.unshift(b,j,l,m),e&&clearTimeout(e),e=setTimeout(c,200),(a.event.dispatch||a.event.handle).apply(this,h)}}function c(){f=null}function d(a,b){return k.settings.adjustOldDeltas&&"mousewheel"===a.type&&b%120===0}var e,f,g=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],h="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],i=Array.prototype.slice;if(a.event.fixHooks)for(var j=g.length;j;)a.event.fixHooks[g[--j]]=a.event.mouseHooks;var k=a.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var c=h.length;c;)this.addEventListener(h[--c],b,!1);else this.onmousewheel=b;a.data(this,"mousewheel-line-height",k.getLineHeight(this)),a.data(this,"mousewheel-page-height",k.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var c=h.length;c;)this.removeEventListener(h[--c],b,!1);else this.onmousewheel=null;a.removeData(this,"mousewheel-line-height"),a.removeData(this,"mousewheel-page-height")},getLineHeight:function(b){var c=a(b),d=c["offsetParent"in a.fn?"offsetParent":"parent"]();return d.length||(d=a("body")),parseInt(d.css("fontSize"),10)||parseInt(c.css("fontSize"),10)||16},getPageHeight:function(b){return a(b).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};a.fn.extend({mousewheel:function(a){return a?this.bind("mousewheel",a):this.trigger("mousewheel")},unmousewheel:function(a){return this.unbind("mousewheel",a)}})});
js/wplc_server.js CHANGED
@@ -1,1105 +1,1105 @@
1
- /*
2
- * Hanldes Message transportation within WPLC
3
- */
4
- var gifExtensionPattern = new RegExp(/\.(gif)\b/);
5
-
6
- var wplc_server_method = null;
7
- var wplc_supress_server_logs = true; //We are now surpressing server logs
8
- var wplc_node_socket = null; //Will not be set unless
9
- var wplc_node_send_queue = new Array();
10
- var wplc_node_message_receiver = null;
11
- var wplc_node_message_restart_handler = null;
12
- var wplc_node_client_event_logger = null;
13
- var wplc_node_sockets_ready = false;
14
- var wplc_transport_prepared = false;
15
-
16
- var wplc_node_async_array = new Array(); //Array which will be sent to our async URL for storage
17
- var wplc_node_async_send_rate = 1; //Amount of messages that need to be present before we sent the async request
18
- var wplc_node_async_cookie_check_complete = false;
19
-
20
- var wplc_node_port_open = true; //This can be set to false to prevent any future data being sent
21
- var wplc_node_is_client_typing = false;
22
- var wplc_node_is_pair_typing_indicator_visible = false;
23
- var wplc_node_pair_name = "";
24
-
25
- var wplc_node_switch_ajax_complete = false;
26
- var wplc_node_retry_count = 0;
27
-
28
- var wplc_msg_history = new Array();
29
-
30
- var wplc_xhr; //XHR global (allows us to abort previous AJAX request when the agent flips between screens quickly)
31
-
32
-
33
-
34
- function WPLCServer(){
35
- var wplc_server_ref = this;
36
- //Default to ajax until chat starts
37
- wplc_server_method = WPLCServer.Ajax;
38
- wplc_server_ref.send = wplc_server_method.send;
39
-
40
- wplc_server_ref.isInSocketMode = wplc_server_method.isInSocketMode;
41
- wplc_server_ref.isPreparingSocketMode = wplc_server_method.isPreparingSocketMode;
42
- wplc_server_ref.transportPrepared = wplc_server_method.transportPrepared;
43
- wplc_server_ref.asyncStorage = wplc_server_method.asyncStorage;
44
- wplc_server_ref.forceClosePort = wplc_server_method.forceClosePort;
45
- wplc_server_ref.sendMessage = wplc_server_method.sendMessage;
46
-
47
-
48
- wplc_server_ref.prepareTransport = function(callback, messageHandler, restartHandler, clientEventLog){
49
- wplc_server_log("-------------------");
50
- wplc_server_log("Preparing Transport");
51
- if(typeof wplc_use_node_server !== "undefined" && wplc_use_node_server === "true"){
52
- if(window.WebSocket){
53
- //Sockets are supported
54
- wplc_server_method = WPLCServer.Socket;
55
- wplc_server_log("Socket Mode");
56
- } else {
57
- wplc_server_method = WPLCServer.Ajax;
58
- wplc_server_log("Ajax Mode");
59
- }
60
- } else {
61
- wplc_server_method = WPLCServer.Ajax;
62
- wplc_server_log("Ajax Mode");
63
- }
64
-
65
- wplc_server_method.init(function(){
66
- wplc_server_ref.send = wplc_server_method.send;
67
- wplc_server_ref.isInSocketMode = wplc_server_method.isInSocketMode;
68
- wplc_server_ref.isPreparingSocketMode = wplc_server_method.isPreparingSocketMode;
69
- wplc_server_ref.transportPrepared = wplc_server_method.transportPrepared;
70
- wplc_server_ref.asyncStorage = wplc_server_method.asyncStorage;
71
- wplc_server_ref.forceClosePort = wplc_server_method.forceClosePort;
72
- wplc_server_ref.sendMessage = wplc_server_method.sendMessage;
73
-
74
- if(typeof callback === "function"){
75
- callback();
76
- }
77
- }, messageHandler, function(){
78
- wplc_server_method = WPLCServer.Ajax;
79
- wplc_server_log("Ajax Mode - Fail Over");
80
-
81
- wplc_server_ref.send = wplc_server_method.send;
82
- wplc_server_ref.isInSocketMode = wplc_server_method.isInSocketMode;
83
- wplc_server_ref.isPreparingSocketMode = function(){ return false; };
84
- wplc_server_ref.transportPrepared = wplc_server_method.transportPrepared;
85
- wplc_server_ref.asyncStorage = wplc_server_method.asyncStorage;
86
- wplc_server_ref.forceClosePort = wplc_server_method.forceClosePort;
87
- wplc_server_ref.sendMessage = wplc_server_method.sendMessage;
88
-
89
- if(typeof wplc_ajaxurl !== "undefined" && typeof wplc_nonce !== "undefined" && typeof wplc_cid !== "undefined"){
90
- var wplc_fail_over_data = {
91
- action: 'wplc_node_switch_to_ajax',
92
- security: wplc_nonce,
93
- cid: wplc_cid
94
- };
95
-
96
- jQuery.ajax({
97
- url : wplc_ajaxurl,
98
- data : wplc_fail_over_data,
99
- type : "POST",
100
- timeout : 120000,
101
- success : function(response){
102
- wplc_server_log("Ajax Mode Enabled");
103
- },
104
- error : function(error, exception){
105
- wplc_server_log("Chat Fail Over Could Not Be Setup");
106
- },
107
- complete : function(response){
108
- if(typeof callback === "function"){
109
- callback();
110
- }
111
- }
112
- });
113
- }
114
- }, restartHandler, clientEventLog);
115
-
116
- wplc_server_log("Transport Prepared");
117
- wplc_server_log("-------------------");
118
- wplc_transport_prepared = true;
119
- }
120
-
121
- wplc_server_ref.browserIsSocketReady = function(){
122
- if(typeof wplc_use_node_server !== "undefined" && wplc_use_node_server === "true"){
123
- if(window.WebSocket){
124
- return true;
125
- } else {
126
- return false;
127
- }
128
- } else {
129
- return false;
130
- }
131
- }
132
- }
133
-
134
- WPLCServer.Socket = {
135
- /*
136
- init : function(callback, messageHandler, failOver, restartHandler, clientEventLog){
137
- wplc_node_message_receiver = (typeof messageHandler !== "undefined" && typeof messageHandler === "function") ? messageHandler : false;
138
- wplc_node_message_restart_handler = (typeof restartHandler !== "undefined" && typeof restartHandler === "function") ? restartHandler : false;
139
- wplc_node_client_event_logger = (typeof clientEventLog !== "undefined" && typeof clientEventLog === "function") ? clientEventLog : false;
140
-
141
- wplc_server_log("Socket Init");
142
- //wplc_node_socket = new WebSocket('wss://wp-livechat.us-2.evennode.com');
143
-
144
-
145
- if(wplc_node_async_cookie_check_complete !== true){
146
- //Check if there are any messages we forgot to send via async
147
- if(typeof Cookies !== "undefined" && typeof Cookies === "function"){
148
- var wplc_node_async_cookie_data = Cookies.getJSON("wplc_server_async_storage");
149
- if(typeof wplc_node_async_cookie_data !== "undefined" && wplc_node_async_cookie_data !== "undefined" && wplc_node_async_cookie_data !== undefined && wplc_node_async_cookie_data !== null){
150
- wplc_server_log("Async Cookies Found -> Sync...");
151
- wplc_node_parse_async_from_object(wplc_node_async_cookie_data, function(){
152
- wplc_node_async_cookie_check_complete = true;
153
- });
154
- }
155
- }
156
- }
157
-
158
- wplc_node_socket.onerror = function(event){
159
- wplc_server_error("Could not connect to server. Changing transport method.");
160
- if(typeof failOver === "function" && wplc_node_sockets_ready !== true){
161
- failOver();
162
- wplc_node_switch_ajax_complete = true;
163
- if(typeof wplc_node_client_event_logger !== "undefined" && typeof wplc_node_client_event_logger === "function"){
164
- wplc_node_client_event_logger("Connection Error - Switching methods");
165
- }
166
- }
167
- }
168
-
169
- wplc_node_socket.onopen = function(event) {
170
- wplc_server_log("This socket is open");
171
- wplc_node_sockets_ready = true; //Sockets are available and ready for use
172
- if(typeof callback === "function"){
173
- callback();
174
- }
175
- }
176
-
177
- wplc_node_socket.onmessage = function(event){
178
- if(typeof wplc_node_message_receiver === "function" && wplc_node_message_receiver !== false && wplc_node_message_receiver !== null){
179
- //Delegate to handler
180
- if(wplc_node_port_open){
181
- wplc_node_message_receiver(event.data);
182
- wplc_node_global_message_receiver(event.data);
183
- }
184
- }
185
-
186
- }
187
-
188
- wplc_node_socket.onclose = function(event) {
189
- wplc_server_log("This socket is closed");
190
- if (typeof wplc_node_message_restart_handler === "function") {
191
- if (wplc_node_retry_count < 5 && wplc_node_switch_ajax_complete !== true) {
192
- setTimeout(function(){
193
- wplc_node_message_restart_handler(event.data);
194
- wplc_node_retry_count++;
195
- if(typeof wplc_node_client_event_logger !== "undefined" && typeof wplc_node_client_event_logger === "function"){
196
- wplc_node_client_event_logger("Connection Error - Retrying in 5 seconds...");
197
- }
198
- }, 5000);
199
- } else {
200
- if(wplc_node_retry_count >= 5){
201
- if(typeof wplc_node_client_event_logger !== "undefined" && typeof wplc_node_client_event_logger === "function"){
202
- wplc_node_client_event_logger("Connection Error - Please refresh your browser");
203
- }
204
- }
205
- }
206
- }
207
- }
208
-
209
-
210
- },
211
- send : function (wplc_send_url, wplc_send_data, wplc_send_type, wplc_send_timeout, wplc_send_success_callback, wplc_send_fail_callback, wplc_send_complete_callback){
212
- wplc_origin_url = wplc_send_url.replace("/wp-admin/admin-ajax.php", "");
213
- wplc_send_data.origin_url = wplc_origin_url;
214
- wplc_socket_send(wplc_send_data, wplc_send_success_callback, wplc_send_fail_callback, wplc_send_complete_callback);
215
-
216
- if(wplc_node_async_cookie_check_complete){
217
- //Now lets update the sync quick
218
- wplc_socket_async_storage_handler(wplc_send_url, wplc_send_data, wplc_send_timeout);
219
- wplc_node_async_cookie_check_complete = false; //Stop infinite loop
220
- }
221
- },
222
- isInSocketMode : function (){
223
- return wplc_node_sockets_ready;
224
- },
225
- isPreparingSocketMode : function(){
226
- var preparing = false;
227
- if(typeof wplc_use_node_server !== "undefined" && wplc_use_node_server === "true"){
228
- if(window.WebSocket){
229
- preparing = true;
230
- }
231
- }
232
-
233
- return preparing;
234
- },
235
- transportPrepared : function(){
236
- return wplc_transport_prepared;
237
- },
238
- asyncStorage : function(wplc_send_url, wplc_send_data, wplc_send_timeout){
239
- wplc_node_async_array.push(wplc_send_data.msg);
240
-
241
- if(typeof Cookies !== "undefined" && typeof Cookies === "function"){
242
- Cookies.set('wplc_server_async_storage', JSON.stringify(wplc_node_async_array), { expires: 1, path: '/' });
243
- }
244
-
245
- if(wplc_node_async_array.length >= wplc_node_async_send_rate){
246
- wplc_socket_async_storage_handler(wplc_send_url, wplc_send_data, wplc_send_timeout);
247
- }
248
- },
249
- forceClosePort : function(){
250
- wplc_node_port_open = false;
251
- },
252
- sendMessage : function(wplc_send_url, wplc_send_data, wplc_send_type, wplc_send_timeout, wplc_send_success_callback, wplc_send_fail_callback, wplc_send_complete_callback){
253
- wplc_origin_url = wplc_send_url.replace("/wp-admin/admin-ajax.php", "");
254
- wplc_send_data.origin_url = wplc_origin_url;
255
- wplc_socket_add_to_queue(wplc_send_data, wplc_send_success_callback, wplc_send_fail_callback, wplc_send_complete_callback);
256
- } */
257
-
258
- };
259
-
260
- WPLCServer.Ajax = {
261
- init : function(callback, messageHandler, failOver, restartHandler, clientEventLog){
262
- wplc_server_log("Ajax Init");
263
- if(typeof callback === "function"){
264
- callback();
265
- }
266
- },
267
- send : function (wplc_send_url, wplc_send_data, wplc_send_type, wplc_send_timeout, wplc_send_success_callback, wplc_send_fail_callback, wplc_send_complete_callback){
268
- jQuery.ajax({
269
- url : wplc_send_url,
270
- data : wplc_send_data,
271
- type : wplc_send_type,
272
- timeout : wplc_send_timeout,
273
- success : function(response){
274
- if(typeof wplc_send_success_callback === "function"){
275
- if(typeof wplc_send_data['action'] !== "undefined" && wplc_send_data['action'] !== "wplc_start_chat"){ //Is this the start?
276
- wplc_send_success_callback(response);
277
- } else {
278
- //Check if we are going to go into socket mode after this?
279
- if(typeof wplc_use_node_server !== "undefined" && wplc_use_node_server === "true"){
280
- if(window.WebSocket){
281
- wplc_send_success_callback(response); //Send the data if we are going to sockets after this
282
- }
283
- }
284
- }
285
- }
286
- },
287
- error : function(error, exception){
288
- if(typeof wplc_send_fail_callback === "function"){
289
- wplc_send_fail_callback(error, exception);
290
- }
291
- },
292
- complete : function(response){
293
- if(typeof wplc_send_complete_callback === "function"){
294
- wplc_send_complete_callback(response, wplc_send_data);
295
- }
296
- }
297
- });
298
- },
299
- isInSocketMode : function (){
300
- return wplc_node_sockets_ready;
301
- },
302
- isPreparingSocketMode : function(){
303
- var preparing = false;
304
- if(typeof wplc_use_node_server !== "undefined" && wplc_use_node_server === "true"){
305
- if(window.WebSocket){
306
- preparing = true;
307
- }
308
- }
309
-
310
- return preparing;
311
- },
312
- transportPrepared : function(){
313
- return wplc_transport_prepared;
314
- },
315
- asyncStorage : function(wplc_send_url, wplc_send_data, wplc_send_timeout){
316
- //Do nothing -> Ajax handles
317
- },
318
- forceClosePort : function(){
319
- //Do Nothing ajax doesnt use socket ports
320
- },
321
- sendMessage : function(wplc_send_url, wplc_send_data, wplc_send_type, wplc_send_timeout, wplc_send_success_callback, wplc_send_fail_callback, wplc_send_complete_callback){
322
- WPLCServer.Ajax.send(wplc_send_url, wplc_send_data, wplc_send_type, wplc_send_timeout, wplc_send_success_callback, wplc_send_fail_callback, wplc_send_complete_callback);
323
- }
324
- };
325
-
326
-
327
- function wplc_server_log(msg){
328
- if(wplc_supress_server_logs !== true && window.console){
329
- console.log("WPLC SERVER: " + msg);
330
- }
331
- }
332
-
333
- function wplc_server_error(msg){
334
- if(window.console){
335
- console.error("WPLC SERVER ERROR: " + msg);
336
- }
337
- }
338
-
339
- function wplc_socket_send(data, success, fail, complete){
340
- if(wplc_node_port_open){
341
- wplc_socket_add_to_queue(data, success, fail, complete);
342
-
343
- //if(data.action !== "wplc_user_send_msg" && data.action !== "wplc_admin_send_msg"){
344
- var wplc_current_queue_item = wplc_socket_get_next_in_queue();
345
- if(wplc_current_queue_item !== false){
346
- if(typeof wplc_node_socket !== "undefined" && wplc_node_socket !== null){
347
- if(wplc_node_socket.readyState !== WebSocket.CONNECTING && wplc_node_socket.readyState !== WebSocket.CLOSING && wplc_node_socket.readyState !== WebSocket.CLOSED){
348
- wplc_current_queue_item.data.is_typing = typeof wplc_node_is_client_typing !== "undefined" ? wplc_node_is_client_typing : false;
349
- wplc_node_socket.send(JSON.stringify(wplc_current_queue_item.data));
350
-
351
- if(typeof wplc_current_queue_item.success === "function"){
352
- wplc_current_queue_item.success();
353
- }
354
- } else {
355
- //Try again in a sec just now -> Add it to the queue
356
- setTimeout(function(){
357
- wplc_socket_send(data, success, fail, complete);
358
- }, 500);
359
- }
360
- } else {
361
- setTimeout(function(){
362
- //Try again in a sec just now -> Add it to the queue
363
- wplc_socket_send(data, success, fail, complete);
364
- }, 500);
365
- }
366
- }
367
- //}
368
- }
369
- }
370
-
371
- function wplc_sanitize_attributes( str ){
372
- var wplc_allowed_attributes = "onload,onclick,alert,onerror,dalert";
373
- var allowed_attr = wplc_allowed_attributes.split(",");
374
- for( i = 0; i < allowed_attr.length; i++ ){
375
- str = str.replace(allowed_attr[i], '');
376
- }
377
-
378
- return str;
379
- }
380
-
381
- function wplc_socket_add_to_queue(data, success, fail, complete){
382
- if(typeof data.server_token === "undefined"){
383
- if(typeof bleeper_api_key !== "undefined"){
384
- data.server_token = bleeper_api_key;
385
- } else {
386
- wplc_server_error("No Server Token Present, Something will go wrong");
387
- }
388
- }
389
-
390
-
391
- var queue_item = {
392
- data: data,
393
- success: success,
394
- fail: fail,
395
- complete: complete
396
- }
397
-
398
- if(wplc_node_send_queue.length > 0){
399
- var last_item = wplc_node_send_queue[wplc_node_send_queue.length - 1];
400
- if(JSON.stringify(last_item.data) !== JSON.stringify(data)){
401
- wplc_node_send_queue.push(queue_item);
402
- }
403
- } else {
404
- wplc_node_send_queue.push(queue_item);
405
- }
406
- }
407
-
408
- function wplc_socket_get_next_in_queue(){
409
- if(wplc_node_send_queue.length > 0){
410
- return wplc_node_send_queue.shift();
411
- } else {
412
- return false;
413
- }
414
- }
415
-
416
- function wplc_rest_api(type, wplc_send_data, wplc_send_timeout, next) {
417
-
418
- if (typeof wplc_xhr !== "undefined" && typeof wplc_xhr.abort() !== "undefined") { wplc_xhr.abort(); }
419
- if (typeof next === "undefined" || next === null) { next = function() {}; }
420
- var wplc_node_ajax_action = type;
421
- //Send the data to the Async
422
- if(typeof wplc_restapi_enabled !== "undefined" && parseInt(wplc_restapi_enabled) === 1 && typeof wplc_restapi_endpoint !== "undefined"){
423
- //REST API is ready to rumble
424
-
425
- var anti_cache = Date.now();
426
-
427
- wplc_send_url = wplc_restapi_endpoint + "/" + type + "?nocache="+anti_cache;
428
-
429
-
430
-
431
- var prepared_data = wplc_send_data;
432
-
433
- var x = {
434
- action : wplc_node_ajax_action,
435
- relay_action : wplc_send_data.action,
436
- chat_id : wplc_send_data.cid,
437
- security : wplc_send_data.security,
438
- message : wplc_send_data.msg,
439
- server_token : wplc_restapi_token,
440
- wplc_extra_data:document.wplc_extra_data,
441
- wplc_data : wplc_send_data
442
- };
443
-
444
-
445
- prepared_data.server_token = wplc_restapi_token;
446
- prepared_data.token = wplc_restapi_token; /* backwards compat */
447
- if (typeof prepared_data.wplc_extra_data === "undefined") {
448
- prepared_data.wplc_extra_data = document.wplc_extra_data;
449
- }
450
- prepared_data._wpnonce = wplc_restapi_nonce;
451
-
452
- wplc_xhr = jQuery.ajax({
453
- url : wplc_send_url,
454
- data : prepared_data,
455
- type : "POST",
456
- timeout : wplc_send_timeout,
457
- success : function(response){
458
- wplc_server_log("REST SEND = SUCCESS");
459
- next(response);
460
- },
461
- error : function(error, exception){
462
- wplc_server_log("REST SEND = FAIL");
463
- next();
464
- },
465
- complete : function(response){
466
- next(response);
467
- }
468
- });
469
- } else {
470
- wplc_server_log("NO REST API :(");
471
- next();
472
- }
473
-
474
- }
475
-
476
- function wplc_socket_async_storage_handler(wplc_send_url, wplc_send_data, wplc_send_timeout){
477
- var wplc_node_ajax_action = "wplc_node_async_storage_ajax";
478
- //Send the data to the Async
479
- if(typeof wplc_restapi_enabled !== "undefined" && parseInt(wplc_restapi_enabled) === 1 && typeof wplc_restapi_endpoint !== "undefined"){
480
- //REST API is ready to rumble
481
- wplc_send_url = wplc_restapi_endpoint + "/async_storage";
482
- } else {
483
- //Ajax time! Cause the Rest she Left
484
- }
485
-
486
- var prepared_data = {
487
- action : wplc_node_ajax_action,
488
- relay_action : wplc_send_data.action,
489
- chat_id : wplc_send_data.cid,
490
- security : wplc_send_data.security,
491
- messages : JSON.stringify(wplc_node_async_array),
492
- wplc_extra_data:document.wplc_extra_data
493
- };
494
-
495
- if(typeof bleeper_api_key !== "undefined"){
496
- prepared_data.server_token = bleeper_api_key;
497
- }
498
-
499
- /*
500
- wplc_node_async_array = new Array(); //Clearing the storage array before the next data can be sent through
501
- if(typeof Cookies !== "undefined" && typeof Cookies === "function"){
502
- Cookies.remove('wplc_server_async_storage'); //Clear the cookies now so that we don't do this again.
503
- }
504
- */
505
- jQuery.ajax({
506
- url : wplc_send_url,
507
- data : prepared_data,
508
- type : "POST",
509
- timeout : wplc_send_timeout,
510
- success : function(response){
511
- wplc_server_log("ASYNC STORAGE = SUCCESS");
512
- },
513
- error : function(error, exception){
514
- wplc_server_log("ASYNC STORAGE = FAIL");
515
- },
516
- complete : function(response){
517
-
518
- }
519
- });
520
- }
521
-
522
- function wplc_json_validator(str) {
523
- try {
524
- JSON.parse(str);
525
- } catch (e) {
526
- return false;
527
- }
528
- return true;
529
- }
530
-
531
- function wplc_node_parse_async_from_object(obj, complete){
532
- for(var i in obj){
533
- if(obj.hasOwnProperty(i)){
534
- wplc_node_async_array.push(obj[i]);
535
- }
536
- }
537
-
538
- if(typeof complete === "function"){
539
- complete();
540
- }
541
- }
542
-
543
- function wplc_node_global_message_receiver(data){
544
- if(data){
545
- if (typeof data !== "object") {
546
- data = JSON.parse(data);
547
- }
548
- }
549
-
550
- if(typeof data['pair_name'] !== "undefined"){
551
- if(data['pair_name'] !== wplc_node_pair_name){
552
- wplc_node_pair_name = data['pair_name'];
553
- }
554
- }
555
-
556
- if(typeof data['pair_typing'] !== "undefined"){
557
-
558
- if(data['pair_typing'] === true || data['pair_typing'] === "true"){
559
- if(wplc_node_is_pair_typing_indicator_visible === false){
560
- if (jQuery("#wplc_user_typing").length>0) { } else {
561
- jQuery(".typing_indicator").html("<span id='wplc_user_typing'>"+wplc_node_pair_name+" "+wplc_localized_string_is_typing_single+"</span>");
562
- jQuery(".typing_indicator").addClass("typing_indicator_active");
563
- }
564
- }
565
- wplc_node_is_pair_typing_indicator_visible = true;
566
- } else {
567
- if(wplc_node_is_pair_typing_indicator_visible === true){
568
- if (jQuery("#wplc_user_typing").length>0) {
569
- jQuery("#wplc_user_typing").fadeOut("slow").remove();
570
- jQuery(".typing_indicator").removeClass("typing_indicator_active");
571
- }
572
- }
573
- wplc_node_is_pair_typing_indicator_visible = false;
574
- }
575
-
576
- }
577
- }
578
- String.prototype.wplcStripSlashes = function(){
579
- return this.replace(/\\(.)/mg, "$1");
580
- }
581
-
582
- function wplc_add_date_and_time(the_message,originates) {
583
-
584
- if (parseInt(originates) === 1 || parseInt(originates) === 2) {
585
-
586
- var time_msg = '';
587
-
588
- /* identfy the timestamp */
589
- if (typeof the_message.other === "undefined" || typeof the_message.other.datetime === "undefined" || the_message.other === false) {
590
- /* only run if it hasnt got a timestamp in the .other.datetime key */
591
- if (typeof the_message.timestamp !== "undefined") {
592
- /* most likely came from node as node */
593
-
594
- if (typeof the_message.other !== "object") { the_message.other = {}; }
595
- the_message.other.datetime = the_message.timestamp;
596
-
597
- }
598
- }
599
-
600
- if (typeof the_message.other === "undefined" || typeof the_message.other.datetime === "undefined") {
601
- /* there is no datetime so return nothing */
602
- return '';
603
- } else {
604
- if (typeof wplc_show_chat_detail !== "undefined") {
605
-
606
- var datetimestamp = the_message.other.hasOwnProperty( 'datetimeUTC' ) ? the_message.other.datetimeUTC : the_message.other.datetime;
607
- var dateTime = new Date( parseInt( datetimestamp ) * 1000 );
608
-
609
- if ( typeof wplc_show_chat_detail.date !== 'undefined' && '1' === wplc_show_chat_detail.date ) {
610
-
611
- var date_format = typeof wplc_datetime_format !== 'undefined' && wplc_datetime_format.hasOwnProperty( 'date_format' ) ? wplc_datetime_format.date_format : 'n/d';
612
- var date_month = dateTime.getMonth();
613
- var date_day = dateTime.getDate();
614
- var date_months = ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'];
615
- var date_days = ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'];
616
- var date_day_no = dateTime.getDay();
617
- var date_year = dateTime.getFullYear();
618
-
619
- time_msg += date_format
620
- .replace( /S/g, '%S%' )
621
- .replace( /D/g, '%D%' )
622
- .replace( /l/g, '%l%' )
623
- .replace( /F/g, '%F%' )
624
- .replace( /M/g, '%M%' )
625
- .replace( /j/g, date_day )
626
- .replace( /d/g, date_day < 10 ? '0' + date_day : date_day )
627
- .replace( /w/g, date_day_no )
628
- .replace( /n/g, date_month + 1 )
629
- .replace( /m/g, date_month + 1 < 10 ? '0' + ( date_month + 1 ) : date_month + 1 )
630
- .replace( /Y/g, date_year )
631
- .replace( /y/g, date_year.toString().substr( 2, 2 ) )
632
- .replace( /%S%/g, 1 === date_day ? 'st' : ( 2 === date_day ? 'nd' : ( 3 === date_day ? 'rd' : 'th' ) ) )
633
- .replace( /%D%/g, date_days[ date_day_no ].substr( 0, 3 ) )
634
- .replace( /%l%/g, date_days[ date_day_no ] )
635
- .replace( /%F%/g, date_months[ date_month ] )
636
- .replace( /%M%/g, date_months[ date_month ].substr( 0, 3 ) ) + ' ';
637
-
638
- }
639
- if ( typeof wplc_show_chat_detail.time !== "undefined" && '1' === wplc_show_chat_detail.time ) {
640
-
641
- var time_format = typeof wplc_datetime_format !== 'undefined' && wplc_datetime_format.hasOwnProperty( 'time_format' ) ? wplc_datetime_format.time_format : 'H:i';
642
- var time_hours_12 = dateTime.getHours() > 12 ? dateTime.getHours() - 12 : ( dateTime.getHours() < 1 ? 12 : dateTime.getHours() );
643
- var time_hours_24 = dateTime.getHours();
644
- var time_am_pm = time_hours_24 > 11 ? 'pm' : 'am';
645
- var time_minutes = dateTime.getMinutes();
646
-
647
- time_msg += time_format
648
- .replace( /g/g, time_hours_12 )
649
- .replace( /h/g, time_hours_12 < 10 ? '0' + time_hours_12 : time_hours_12 )
650
- .replace( /G/g, time_hours_24 )
651
- .replace( /H/g, time_hours_24 < 10 ? '0' + time_hours_24 : time_hours_24 )
652
- .replace( /i/g, time_minutes < 10 ? '0' + time_minutes : time_minutes )
653
- .replace( /a/g, time_am_pm.toLowerCase() )
654
- .replace( /A/g, time_am_pm.toUpperCase() );
655
-
656
- }
657
- if (time_msg !== '') {
658
- if (parseInt(originates) === 1) { aoru_class = 'wplc-msg-float-left'; } else { aoru_class = 'wplc-msg-float-right'; }
659
- time_msg = '<span class="timedate '+aoru_class+'">'+time_msg+'</span>';
660
- }
661
- }
662
-
663
-
664
- return time_msg;
665
- }
666
- } else {
667
- return '';
668
- }
669
-
670
- }
671
-
672
- function wplc_get_chat_person_name_msg_field(name) {
673
- try {
674
- return '<span class="wplc-chat-person-name">' + name + ': </span>';
675
- } catch(err) {
676
- //console.log("Could not wplc_get_chat_person_name_msg_field() " + err);
677
- }
678
- }
679
-
680
- /**
681
- * Removes undesired strings from a message which contains a GIF URL and returns only the gif url
682
- * @param {*} message_content
683
- */
684
- function getCleanedGif(message_content) {
685
- if (typeof(message_content) !== "undefined") {
686
- var msgParts = message_content.split(" ");
687
-
688
- if (typeof(msgParts) !== "undefined") {
689
-
690
- for (var i = 0; i < msgParts.length; i++) {
691
- var msgPart = msgParts[i];
692
-
693
- if (typeof(msgPart) !== "undefined") {
694
-
695
- if (gifExtensionPattern.test(msgPart)) {
696
- var cleanedGifUrl = msgPart.replace("href=", "");
697
- cleanedGifUrl = cleanedGifUrl.replace(/\"/g, "");
698
-
699
- return cleanedGifUrl;
700
- }
701
- }
702
- }
703
- }
704
- }
705
-
706
- return "";
707
- }
708
-
709
- /**
710
- * Pushes the message object to the chat box
711
- *
712
- * @param {object} the_message The message object
713
- * @param {string} aoru a for Agent, u for User
714
- * @return void
715
- */
716
- function wplc_push_message_to_chatbox(the_message, aoru, next) {
717
-
718
- /**
719
- * First check if we have processed this message already, by comparing the ID
720
- *
721
- * Some system notifications may not come through with an ID so we can accept those.
722
- */
723
- var add_message = true;
724
- if (typeof the_message.mid !== "undefined" && aoru === "u") {
725
- if (parseInt(the_message.mid) === 0 || the_message.mid === null) {
726
- add_message = true;
727
- } else {
728
- if (typeof wplc_msg_history[the_message.mid] !== "undefined") {
729
- /* we have this message already */
730
- add_message = false;
731
- } else {
732
- /* add this to our history */
733
- wplc_msg_history[the_message.mid] = true;
734
- }
735
- }
736
- }
737
- if (add_message) {
738
- if (typeof the_message.originates !== "undefined" && the_message.originates !== null && the_message.originates !== "null"){
739
- var message_class = "";
740
- var grav_hash = "";
741
- var message_grav = "";
742
- var message_from = "";
743
- var message_content = "";
744
- var message_aid;
745
-
746
- var message_edit_string = "";
747
-
748
- var audioPattern = new RegExp(/blob.wav/);
749
- var isAudioPattern = false;
750
-
751
- if (parseInt(the_message.originates) === 1) {
752
- //From Admin
753
-
754
- /* Define which agent it was sent from */
755
- if (typeof the_message.other !== "undefined" && typeof the_message.other.aid !== "undefined") {
756
- message_aid = the_message.other.aid.toString(); /* set it to a string because wp_localize doesnt know how to set keys as integers */
757
- } else if (typeof the_message.other !== "undefined" && typeof the_message.other.agent_id !== "undefined") {
758
- /* cloud server uses "agent_id" instead of "aid" */
759
- message_aid = the_message.other.agent_id.toString();
760
- } else {
761
- message_aid = false;
762
- }
763
- message_class = "wplc-admin-message wplc-color-bg-4 wplc-color-2 wplc-color-border-4";
764
-
765
- // If it is audio message
766
- isAudioPattern = audioPattern.test(the_message.msg);
767
- if (isAudioPattern) {
768
- message_class += " wplc-user-message-audio";
769
- }
770
-
771
- if (aoru === 'u') {
772
-
773
- /* message came from admin, intended for user */
774
- if (message_aid !== false && typeof wplc_agent_data !== "undefined" && typeof wplc_agent_data[message_aid] !== "undefined") {
775
- /* we know who the agent was that sent this message (v7.1.00+) */
776
- if (typeof wplc_show_chat_detail !== "undefined") {
777
- if (typeof wplc_show_chat_detail.avatar !== "undefined" && wplc_show_chat_detail.avatar === "1") { message_grav = (typeof wplc_agent_data[message_aid].md5 !== "undefined" ? "<img src='"+wplc_user_avatars[message_aid]+"?s=80' class='wplc-admin-message-avatar' />" : ""); }
778
- if (typeof wplc_show_chat_detail.name !== "undefined" && wplc_show_chat_detail.name === "1") { message_from = (typeof wplc_agent_data[message_aid].name !== "undefined" ? wplc_get_chat_person_name_msg_field(wplc_agent_data[message_aid].name) : ""); }
779
- }
780
-
781
- } else {
782
- /* we do'nt know which agent sent this message, so lets set it as the current user instead (backwards compat) */
783
- if (typeof wplc_show_chat_detail !== "undefined") {
784
- if (typeof wplc_show_chat_detail.avatar !== "undefined" && wplc_show_chat_detail.avatar === "1") { message_grav = (typeof wplc_current_agent.email !== "undefined" ? "<img src='"+wplc_user_avatars[message_aid]+"?s=80' class='wplc-admin-message-avatar' />" : ""); }
785
- if (typeof wplc_show_chat_detail.name !== "undefined" && wplc_show_chat_detail.name === "1") { message_from = (typeof wplc_current_agent.name !== "undefined" ? wplc_get_chat_person_name_msg_field(wplc_current_agent.name) : ""); }
786
- }
787
- }
788
- } else {
789
-
790
- if(typeof agent_id !== "undefined" && typeof message_aid !== "undefined"){
791
- if(parseInt(agent_id) === parseInt(message_aid)){
792
- //I own this message
793
- message_edit_string = "<span class='bleeper-edit-message' style='display:none;'>Edit</span>";
794
-
795
- }
796
- }
797
-
798
- if (message_aid !== false && typeof wplc_agent_data !== "undefined" && typeof wplc_agent_data[message_aid] !== "undefined") {
799
-
800
- /* we know who the agent was that sent this message (v7.1.00+) */
801
- if (typeof wplc_show_chat_detail !== "undefined") {
802
- if (typeof wplc_show_chat_detail.avatar !== "undefined" && wplc_show_chat_detail.avatar === "1") { message_grav = (typeof wplc_agent_data[message_aid].md5 !== "undefined" ? "<img src='//www.gravatar.com/avatar/"+wplc_agent_data[message_aid].md5+"?s=80' class='wplc-admin-message-avatar' />" : ""); }
803
- if (typeof wplc_show_chat_detail.name !== "undefined" && wplc_show_chat_detail.name === "1") { message_from = (typeof wplc_agent_data[message_aid].name !== "undefined" ? wplc_get_chat_person_name_msg_field(wplc_agent_data[message_aid].name) : ""); }
804
- }
805
-
806
- } else {
807
- if (typeof wplc_show_chat_detail.avatar !== "undefined" && wplc_show_chat_detail.avatar === "1") {
808
- message_grav = (typeof wplc_admin_agent_email !== "undefined" ? "<img src='//www.gravatar.com/avatar/"+wplc_admin_agent_email+"?s=80' class='wplc-admin-message-avatar' />" : "");
809
- }
810
- if (typeof wplc_show_chat_detail.name !== "undefined" && wplc_show_chat_detail.name === "1") {
811
- message_from = (typeof wplc_admin_agent_name !== "undefined" ? wplc_get_chat_person_name_msg_field(wplc_admin_agent_name) : "");
812
- }
813
- }
814
- }
815
-
816
- message_content = the_message.msg.wplcStripSlashes();
817
- wplc_new_message_sound = true;
818
-
819
- } else if (parseInt(the_message.originates) === 0 || parseInt(the_message.originates) === 3) {
820
- //System Notification
821
- message_class = "wplc_system_notification wplc-color-4";
822
- message_content = the_message.msg;
823
- if (typeof the_message.other.ntype !== "undefined") {
824
- if (the_message.other.ntype === "joined") {
825
- jQuery.event.trigger({type: "wplc_agent_joined", ndata:the_message});
826
- }
827
- }
828
-
829
- } else {
830
- /* most likely from the user */
831
- message_class = "wplc-user-message wplc-color-bg-1 wplc-color-2 wplc-color-border-1";
832
-
833
- isAudioPattern = audioPattern.test(the_message.msg);
834
- if (isAudioPattern) {
835
- message_class += " wplc-user-message-audio";
836
- }
837
-
838
- if (aoru === 'u') {
839
- message_edit_string = "<span class='bleeper-edit-message' style='display:none;'>Edit</span>";
840
-
841
- if (jQuery(wplc_email).val() !== "") {
842
- message_grav = md5(jQuery(wplc_email).val());
843
-
844
- } else {
845
- if (typeof visitor_list !== "undefined" && typeof visitor_list[active_chatid] !== "undefined" && typeof visitor_list[active_chatid].email !== "undefined") {
846
- message_grav = md5(visitor_list[active_chatid].email);
847
- } else {
848
- if(typeof wplc_cookie_email !== "undefined" && wplc_cookie_email !== ""){
849
- message_grav = md5(wplc_cookie_email);
850
- } else {
851
- message_grav = 'x';
852
- }
853
- }
854
- }
855
-
856
- message_grav = "<img src='//www.gravatar.com/avatar/" + message_grav + "?s=80' class='wplc-user-message-avatar' />";
857
- if (typeof Cookies.get("wplc_name") === "undefined") {
858
- message_from = wplc_get_chat_person_name_msg_field("Guest");
859
- } else {
860
- message_from = wplc_get_chat_person_name_msg_field(Cookies.get("wplc_name"));
861
- }
862
- } else {
863
- if (typeof wplc_chat_email !== "undefined") {
864
- message_grav = wplc_chat_email;
865
-
866
- } else {
867
- if (typeof visitor_list !== "undefined" && typeof visitor_list[active_chatid] !== "undefined" && typeof visitor_list[active_chatid].email !== "undefined") {
868
- message_grav = md5(visitor_list[active_chatid].email);
869
- } else {
870
- if(typeof wplc_cookie_email !== "undefined" && wplc_cookie_email !== ""){
871
- message_grav = md5(wplc_cookie_email);
872
- } else {
873
- message_grav = 'x';
874
- }
875
- }
876
- }
877
- message_grav = "<img src='//www.gravatar.com/avatar/" + message_grav + "?s=80' class='wplc-user-message-avatar' />";
878
- if (typeof wplc_chat_name !== "undefined") {
879
- message_from = wplc_get_chat_person_name_msg_field(wplc_chat_name);
880
- }
881
- }
882
- message_content = the_message.msg.wplcStripSlashes();
883
- }
884
-
885
- if (typeof the_message.other !== "undefined" && typeof the_message.other.from_an_agent !== "undefined"){
886
- if(the_message.other.from_an_agent === true || the_message.other.from_an_agent === "true"){
887
- //Cannot edit this
888
- message_edit_string = "";
889
- }
890
- }
891
- message_class += " message_"+the_message.mid;
892
-
893
- if (message_content !== ""){
894
- message_content = wplc_sanitize_attributes(message_content);
895
-
896
- // If it is audio message
897
- isAudioPattern = audioPattern.test(message_content);
898
-
899
- // Open the HTML of a message
900
- var concatenated_message = "<span class='" + message_class + "' mid='"+the_message.mid+"'>";
901
-
902
- if (typeof wplc_show_chat_detail !== "undefined") {
903
-
904
- if (typeof wplc_show_chat_detail.avatar !== "undefined" && wplc_show_chat_detail.avatar === "1") {
905
- concatenated_message += message_grav;
906
- }
907
-
908
- // Add a wrapper for the person name and the message, this wrapper is necessary to implement the UI of the admin chat
909
- if (isAudioPattern) {
910
- concatenated_message += "<div class='wplc-msg-content wplc-msg-content-audio' mid='" + the_message.mid + "'>";
911
- } else {
912
- concatenated_message += "<div class='wplc-msg-content' mid='"+the_message.mid+"'>";
913
- }
914
-
915
- if (isAudioPattern) {
916
- concatenated_message += "<span class='wplc-msg-content-audio-icon'></span>";
917
- } else if (typeof wplc_show_chat_detail.name !== "undefined" && wplc_show_chat_detail.name === "1") {
918
- concatenated_message += message_from;
919
- }
920
- } else {
921
- // Add a wrapper for the person name and the message, this wrapper is necessary to implement the UI of the admin chat
922
- concatenated_message += "<div class='wplc-msg-content'>";
923
- }
924
-
925
- var original_message = message_content;
926
- if (isAudioPattern) {
927
- message_content = "<a href='" + message_content + "' target='_blank'>" + (typeof wplc_visitor_voice !== 'undefined' && typeof wplc_visitor_voice.play_sound !== 'undefined' ? wplc_visitor_voice.play_sound : 'Open Voice Note') + "</a>";
928
- } else if (typeof niftyFormatParser !== "undefined"){
929
- if(typeof the_message.other !== 'undefined' && typeof the_message.other.ignore_style_tags !== 'undefined' && the_message.other.ignore_style_tags === true){
930
- //Don't nifty parse this
931
- } else {
932
- message_content = niftyFormatParser(message_content);
933
- }
934
- }
935
-
936
- //Cleanup the original message
937
- var original_message_stripper = document.createElement("DIV");
938
- original_message_stripper.innerHTML = original_message;
939
- original_message = original_message_stripper.textContent || original_message_stripper.innerText || "";
940
-
941
- // If it is a GIF message
942
- if (gifExtensionPattern.test(message_content)) {
943
- cleanedGif = getCleanedGif(message_content);
944
- concatenated_message += "<span class='messageBody' data-message='"+ cleanedGif +"'><img src='"+ cleanedGif + "' class='gif-img'/></span>"+ message_edit_string;
945
- } else if (isAudioPattern) {
946
- // If it is audio pattern
947
- concatenated_message += "<span class='messageBody'>"+message_content+"</span>";
948
- } else {
949
- // If it is a regular message
950
- concatenated_message += "<span class='messageBody' data-message='" + original_message + "'>"+message_content+"</span>"+ message_edit_string;
951
- }
952
-
953
- // Close the person name/message wrapper, if it was added
954
- concatenated_message += "</div>";
955
-
956
- // Close the HTML of a message
957
- concatenated_message += "</span>";
958
- concatenated_message += wplc_add_date_and_time(the_message,the_message.originates);
959
-
960
- if (aoru === 'u') {
961
- wplc_chat_box_elemn = "#wplc_chatbox";
962
- } else {
963
-
964
- if (typeof bleeper_remote_enabled !== "undefined"){
965
- wplc_chat_box_elemn = "#messages";
966
- } else {
967
- wplc_chat_box_elemn = "#admin_chat_box_area_"+wplc_cid;
968
- }
969
- }
970
-
971
-
972
- jQuery(wplc_chat_box_elemn).append(concatenated_message);
973
-
974
- }
975
- }
976
- }
977
- next();
978
- }
979
-
980
- jQuery(function(){
981
- jQuery(function(){
982
- var wplc_node_searchTimeout;
983
-
984
- jQuery("body").on("keydown","#wplc_chatmsg, #wplc_admin_chatmsg", function(e) {
985
- if(typeof wplc_node_sockets_ready !== "undefined" && wplc_node_sockets_ready === true){
986
- if(typeof wplc_node_is_client_typing !== "undefined"){
987
- if (e.which <= 90 && e.which >= 48) {
988
- if (wplc_node_is_client_typing) {
989
- wplc_node_renew_typing();
990
- return;
991
- }
992
- wplc_node_is_client_typing = true;
993
-
994
- wplc_node_searchTimeout = setTimeout(wplc_node_clear_typing, 1000);
995
- }
996
- }
997
- }
998
- });
999
-
1000
- jQuery("body").on("click", "#wplc_na_msg_btn", function() {
1001
- var wplc_is_gdpr_enabled = jQuery(this).attr('data-wplc-gdpr-enabled');
1002
- if(typeof wplc_is_gdpr_enabled !== "undefined" && (wplc_is_gdpr_enabled === 'true' )){
1003
- var wplc_gdpr_opt_in_checked = jQuery("#wplc_chat_gdpr_opt_in").is(':checked');
1004
- if(typeof wplc_gdpr_opt_in_checked === "undefined" || wplc_gdpr_opt_in_checked === false){
1005
- /* GDPR requirements not met */
1006
- jQuery("#wplc_chat_gdpr_opt_in").addClass('incomplete');
1007
- return false;
1008
- }
1009
- jQuery("#wplc_chat_gdpr_opt_in").removeClass('incomplete');
1010
- }
1011
-
1012
- var wplc_name = jQuery("#wplc_name").val();
1013
- var wplc_email = jQuery("#wplc_email").val();
1014
- var wplc_msg = jQuery("#wplc_message").val();
1015
- var wplc_domain = jQuery("#wplc_domain_offline").val();
1016
- var ip_address = jQuery("#wplc_ip_address").val();
1017
-
1018
- if (wplc_name.length <= 0) { alert(wplc_error_messages.valid_name); return false; }
1019
- if (wplc_email.length <= 0) { alert(wplc_error_messages.valid_email); return false; }
1020
- var testEmail = /^[A-Z0-9._%+-]+@([A-Z0-9-]+\.)+[A-Z]{2,12}$/i;
1021
- if (!testEmail.test(wplc_email)){
1022
- alert(wplc_error_messages.valid_email); return false;
1023
- }
1024
- if (wplc_msg.length <= 0) { alert(wplc_error_messages.empty_message); return false; }
1025
- jQuery("#wp-live-chat-2-info").hide();
1026
- jQuery("#wplc_message_div").html(wplc_offline_msg);
1027
-
1028
- wplc_cid = Cookies.get('wplc_cid');
1029
-
1030
- var data = {
1031
- action: 'wplc_user_send_offline_message',
1032
- security: wplc_nonce,
1033
- cid: wplc_cid,
1034
- name: wplc_name,
1035
- email: wplc_email,
1036
- msg: wplc_msg,
1037
- ip: ip_address,
1038
- domain: wplc_domain,
1039
- wplc_extra_data:wplc_extra_data
1040
- };
1041
-
1042
- jQuery.post(wplc_ajaxurl_site, data, function(response) {
1043
- jQuery("#wplc_message_div").html(wplc_offline_msg3);
1044
- });
1045
- if (typeof wplc_enable_ga !== "undefined" && wplc_enable_ga === '1') {
1046
- if (typeof ga !== "undefined") {
1047
- ga('send', {
1048
- hitType: 'event',
1049
- eventCategory: 'WP_Live_Chat_Support',
1050
- eventAction: 'Event',
1051
- eventLabel: 'User Send Offline Message'
1052
- });
1053
- }
1054
- }
1055
- });
1056
-
1057
-
1058
- function wplc_node_renew_typing() {
1059
- clearTimeout(wplc_node_searchTimeout);
1060
- wplc_node_searchTimeout = setTimeout(wplc_node_clear_typing, 1000);
1061
- }
1062
- function wplc_node_clear_typing() {
1063
- wplc_node_is_client_typing = false;
1064
- clearTimeout(wplc_node_searchTimeout);
1065
- }
1066
- });
1067
- });
1068
-
1069
- var wplc_generate_system_notification_object = function(msg,other,originates) {
1070
- the_message = {};
1071
- the_message.originates = originates;
1072
- the_message.msg = msg;
1073
- the_message.other = other;
1074
- var wplc_d = new Date();
1075
- the_message.other.datetime = Math.round( wplc_d.getTime() / 1000 );
1076
- return the_message;
1077
- }
1078
-
1079
- function wplc_display_system_notification(message) {
1080
- message_output = '<div id="bleeper_notification_message" class="wplc-color-bg-1 wplc-color-2">' + message.msg + '</div>';
1081
-
1082
- if (jQuery('#bleeper_notification_message').length == 0) {
1083
- jQuery('#wp-live-chat-4').prepend(message_output);
1084
- }
1085
- }
1086
-
1087
- function wplc_clear_system_notification() {
1088
- if (jQuery('#bleeper_notification_message').length !== 0) {
1089
- jQuery('#bleeper_notification_message').remove();
1090
- }
1091
- }
1092
-
1093
- /*
1094
- * Updates the message element with a new message.
1095
- * - mid: Message ID which is appended to class selector as .message_{mid}
1096
- * - message: The html/text to insert into this container
1097
- * - inner_container_class: Optional, used to select the first child of the class type within the primary message container
1098
- * Nice for selecting the 'messageBody' class specifically
1099
- */
1100
- function wplc_update_message_element_by_mid(mid, message, inner_container_class){
1101
- var element_selector = ".message_" + mid;
1102
- element_selector += (typeof inner_container_class !== "undefined" && inner_container_class !== false) ? (" ." + inner_container_class) : "";
1103
-
1104
- jQuery(element_selector).html(message);
1105
  }
1
+ /*
2
+ * Hanldes Message transportation within WPLC
3
+ */
4
+ var gifExtensionPattern = new RegExp(/\.(gif)\b/);
5
+
6
+ var wplc_server_method = null;
7
+ var wplc_supress_server_logs = true; //We are now surpressing server logs
8
+ var wplc_node_socket = null; //Will not be set unless
9
+ var wplc_node_send_queue = new Array();
10
+ var wplc_node_message_receiver = null;
11
+ var wplc_node_message_restart_handler = null;
12
+ var wplc_node_client_event_logger = null;
13
+ var wplc_node_sockets_ready = false;
14
+ var wplc_transport_prepared = false;
15
+
16
+ var wplc_node_async_array = new Array(); //Array which will be sent to our async URL for storage
17
+ var wplc_node_async_send_rate = 1; //Amount of messages that need to be present before we sent the async request
18
+ var wplc_node_async_cookie_check_complete = false;
19
+
20
+ var wplc_node_port_open = true; //This can be set to false to prevent any future data being sent
21
+ var wplc_node_is_client_typing = false;
22
+ var wplc_node_is_pair_typing_indicator_visible = false;
23
+ var wplc_node_pair_name = "";
24
+
25
+ var wplc_node_switch_ajax_complete = false;
26
+ var wplc_node_retry_count = 0;
27
+
28
+ var wplc_msg_history = new Array();
29
+
30
+ var wplc_xhr; //XHR global (allows us to abort previous AJAX request when the agent flips between screens quickly)
31
+
32
+
33
+
34
+ function WPLCServer(){
35
+ var wplc_server_ref = this;
36
+ //Default to ajax until chat starts
37
+ wplc_server_method = WPLCServer.Ajax;
38
+ wplc_server_ref.send = wplc_server_method.send;
39
+
40
+ wplc_server_ref.isInSocketMode = wplc_server_method.isInSocketMode;
41
+ wplc_server_ref.isPreparingSocketMode = wplc_server_method.isPreparingSocketMode;
42
+ wplc_server_ref.transportPrepared = wplc_server_method.transportPrepared;
43
+ wplc_server_ref.asyncStorage = wplc_server_method.asyncStorage;
44
+ wplc_server_ref.forceClosePort = wplc_server_method.forceClosePort;
45
+ wplc_server_ref.sendMessage = wplc_server_method.sendMessage;
46
+
47
+
48
+ wplc_server_ref.prepareTransport = function(callback, messageHandler, restartHandler, clientEventLog){
49
+ wplc_server_log("-------------------");
50
+ wplc_server_log("Preparing Transport");
51
+ if(typeof wplc_use_node_server !== "undefined" && wplc_use_node_server === "true"){
52
+ if(window.WebSocket){
53
+ //Sockets are supported
54
+ wplc_server_method = WPLCServer.Socket;
55
+ wplc_server_log("Socket Mode");
56
+ } else {
57
+ wplc_server_method = WPLCServer.Ajax;
58
+ wplc_server_log("Ajax Mode");
59
+ }
60
+ } else {
61
+ wplc_server_method = WPLCServer.Ajax;
62
+ wplc_server_log("Ajax Mode");
63
+ }
64
+
65
+ wplc_server_method.init(function(){
66
+ wplc_server_ref.send = wplc_server_method.send;
67
+ wplc_server_ref.isInSocketMode = wplc_server_method.isInSocketMode;
68
+ wplc_server_ref.isPreparingSocketMode = wplc_server_method.isPreparingSocketMode;
69
+ wplc_server_ref.transportPrepared = wplc_server_method.transportPrepared;
70
+ wplc_server_ref.asyncStorage = wplc_server_method.asyncStorage;
71
+ wplc_server_ref.forceClosePort = wplc_server_method.forceClosePort;
72
+ wplc_server_ref.sendMessage = wplc_server_method.sendMessage;
73
+
74
+ if(typeof callback === "function"){
75
+ callback();
76
+ }
77
+ }, messageHandler, function(){
78
+ wplc_server_method = WPLCServer.Ajax;
79
+ wplc_server_log("Ajax Mode - Fail Over");
80
+
81
+ wplc_server_ref.send = wplc_server_method.send;
82
+ wplc_server_ref.isInSocketMode = wplc_server_method.isInSocketMode;
83
+ wplc_server_ref.isPreparingSocketMode = function(){ return false; };
84
+ wplc_server_ref.transportPrepared = wplc_server_method.transportPrepared;
85
+ wplc_server_ref.asyncStorage = wplc_server_method.asyncStorage;
86
+ wplc_server_ref.forceClosePort = wplc_server_method.forceClosePort;
87
+ wplc_server_ref.sendMessage = wplc_server_method.sendMessage;
88
+
89
+ if(typeof wplc_ajaxurl !== "undefined" && typeof wplc_nonce !== "undefined" && typeof wplc_cid !== "undefined"){
90
+ var wplc_fail_over_data = {
91
+ action: 'wplc_node_switch_to_ajax',
92
+ security: wplc_nonce,
93
+ cid: wplc_cid
94
+ };
95
+
96
+ jQuery.ajax({
97
+ url : wplc_ajaxurl,
98
+ data : wplc_fail_over_data,
99
+ type : "POST",
100
+ timeout : 120000,
101
+ success : function(response){
102
+ wplc_server_log("Ajax Mode Enabled");
103
+ },
104
+ error : function(error, exception){
105
+ wplc_server_log("Chat Fail Over Could Not Be Setup");
106
+ },
107
+ complete : function(response){
108
+ if(typeof callback === "function"){
109
+ callback();
110
+ }
111
+ }
112
+ });
113
+ }
114
+ }, restartHandler, clientEventLog);
115
+
116
+ wplc_server_log("Transport Prepared");
117
+ wplc_server_log("-------------------");
118
+ wplc_transport_prepared = true;
119
+ }
120
+
121
+ wplc_server_ref.browserIsSocketReady = function(){
122
+ if(typeof wplc_use_node_server !== "undefined" && wplc_use_node_server === "true"){
123
+ if(window.WebSocket){
124
+ return true;
125
+ } else {
126
+ return false;
127
+ }
128
+ } else {
129
+ return false;
130
+ }
131
+ }
132
+ }
133
+
134
+ WPLCServer.Socket = {
135
+ /*
136
+ init : function(callback, messageHandler, failOver, restartHandler, clientEventLog){
137
+ wplc_node_message_receiver = (typeof messageHandler !== "undefined" && typeof messageHandler === "function") ? messageHandler : false;
138
+ wplc_node_message_restart_handler = (typeof restartHandler !== "undefined" && typeof restartHandler === "function") ? restartHandler : false;
139
+ wplc_node_client_event_logger = (typeof clientEventLog !== "undefined" && typeof clientEventLog === "function") ? clientEventLog : false;
140
+
141
+ wplc_server_log("Socket Init");
142
+ //wplc_node_socket = new WebSocket('wss://wp-livechat.us-2.evennode.com');
143
+
144
+
145
+ if(wplc_node_async_cookie_check_complete !== true){
146
+ //Check if there are any messages we forgot to send via async
147
+ if(typeof Cookies !== "undefined" && typeof Cookies === "function"){
148
+ var wplc_node_async_cookie_data = Cookies.getJSON("wplc_server_async_storage");
149
+ if(typeof wplc_node_async_cookie_data !== "undefined" && wplc_node_async_cookie_data !== "undefined" && wplc_node_async_cookie_data !== undefined && wplc_node_async_cookie_data !== null){
150
+ wplc_server_log("Async Cookies Found -> Sync...");
151
+ wplc_node_parse_async_from_object(wplc_node_async_cookie_data, function(){
152
+ wplc_node_async_cookie_check_complete = true;
153
+ });
154
+ }
155
+ }
156
+ }
157
+
158
+ wplc_node_socket.onerror = function(event){
159
+ wplc_server_error("Could not connect to server. Changing transport method.");
160
+ if(typeof failOver === "function" && wplc_node_sockets_ready !== true){
161
+ failOver();
162
+ wplc_node_switch_ajax_complete = true;
163
+ if(typeof wplc_node_client_event_logger !== "undefined" && typeof wplc_node_client_event_logger === "function"){
164
+ wplc_node_client_event_logger("Connection Error - Switching methods");
165
+ }
166
+ }
167
+ }
168
+
169
+ wplc_node_socket.onopen = function(event) {
170
+ wplc_server_log("This socket is open");
171
+ wplc_node_sockets_ready = true; //Sockets are available and ready for use
172
+ if(typeof callback === "function"){
173
+ callback();
174
+ }
175
+ }
176
+
177
+ wplc_node_socket.onmessage = function(event){
178
+ if(typeof wplc_node_message_receiver === "function" && wplc_node_message_receiver !== false && wplc_node_message_receiver !== null){
179
+ //Delegate to handler
180
+ if(wplc_node_port_open){
181
+ wplc_node_message_receiver(event.data);
182
+ wplc_node_global_message_receiver(event.data);
183
+ }
184
+ }
185
+
186
+ }
187
+
188
+ wplc_node_socket.onclose = function(event) {
189
+ wplc_server_log("This socket is closed");
190
+ if (typeof wplc_node_message_restart_handler === "function") {
191
+ if (wplc_node_retry_count < 5 && wplc_node_switch_ajax_complete !== true) {
192
+ setTimeout(function(){
193
+ wplc_node_message_restart_handler(event.data);
194
+ wplc_node_retry_count++;
195
+ if(typeof wplc_node_client_event_logger !== "undefined" && typeof wplc_node_client_event_logger === "function"){
196
+ wplc_node_client_event_logger("Connection Error - Retrying in 5 seconds...");
197
+ }
198
+ }, 5000);
199
+ } else {
200
+ if(wplc_node_retry_count >= 5){
201
+ if(typeof wplc_node_client_event_logger !== "undefined" && typeof wplc_node_client_event_logger === "function"){
202
+ wplc_node_client_event_logger("Connection Error - Please refresh your browser");
203
+ }
204
+ }
205
+ }
206
+ }
207
+ }
208
+
209
+
210
+ },
211
+ send : function (wplc_send_url, wplc_send_data, wplc_send_type, wplc_send_timeout, wplc_send_success_callback, wplc_send_fail_callback, wplc_send_complete_callback){
212
+ wplc_origin_url = wplc_send_url.replace("/wp-admin/admin-ajax.php", "");
213
+ wplc_send_data.origin_url = wplc_origin_url;
214
+ wplc_socket_send(wplc_send_data, wplc_send_success_callback, wplc_send_fail_callback, wplc_send_complete_callback);
215
+
216
+ if(wplc_node_async_cookie_check_complete){
217
+ //Now lets update the sync quick
218
+ wplc_socket_async_storage_handler(wplc_send_url, wplc_send_data, wplc_send_timeout);
219
+ wplc_node_async_cookie_check_complete = false; //Stop infinite loop
220
+ }
221
+ },
222
+ isInSocketMode : function (){
223
+ return wplc_node_sockets_ready;
224
+ },
225
+ isPreparingSocketMode : function(){
226
+ var preparing = false;
227
+ if(typeof wplc_use_node_server !== "undefined" && wplc_use_node_server === "true"){
228
+ if(window.WebSocket){
229
+ preparing = true;
230
+ }
231
+ }
232
+
233
+ return preparing;
234
+ },
235
+ transportPrepared : function(){
236
+ return wplc_transport_prepared;
237
+ },
238
+ asyncStorage : function(wplc_send_url, wplc_send_data, wplc_send_timeout){
239
+ wplc_node_async_array.push(wplc_send_data.msg);
240
+
241
+ if(typeof Cookies !== "undefined" && typeof Cookies === "function"){
242
+ Cookies.set('wplc_server_async_storage', JSON.stringify(wplc_node_async_array), { expires: 1, path: '/' });
243
+ }
244
+
245
+ if(wplc_node_async_array.length >= wplc_node_async_send_rate){
246
+ wplc_socket_async_storage_handler(wplc_send_url, wplc_send_data, wplc_send_timeout);
247
+ }
248
+ },
249
+ forceClosePort : function(){
250
+ wplc_node_port_open = false;
251
+ },
252
+ sendMessage : function(wplc_send_url, wplc_send_data, wplc_send_type, wplc_send_timeout, wplc_send_success_callback, wplc_send_fail_callback, wplc_send_complete_callback){
253
+ wplc_origin_url = wplc_send_url.replace("/wp-admin/admin-ajax.php", "");
254
+ wplc_send_data.origin_url = wplc_origin_url;
255
+ wplc_socket_add_to_queue(wplc_send_data, wplc_send_success_callback, wplc_send_fail_callback, wplc_send_complete_callback);
256
+ } */
257
+
258
+ };
259
+
260
+ WPLCServer.Ajax = {
261
+ init : function(callback, messageHandler, failOver, restartHandler, clientEventLog){
262
+ wplc_server_log("Ajax Init");
263
+ if(typeof callback === "function"){
264
+ callback();
265
+ }
266
+ },
267
+ send : function (wplc_send_url, wplc_send_data, wplc_send_type, wplc_send_timeout, wplc_send_success_callback, wplc_send_fail_callback, wplc_send_complete_callback){
268
+ jQuery.ajax({
269
+ url : wplc_send_url,
270
+ data : wplc_send_data,
271
+ type : wplc_send_type,
272
+ timeout : wplc_send_timeout,
273
+ success : function(response){
274
+ if(typeof wplc_send_success_callback === "function"){
275
+ if(typeof wplc_send_data['action'] !== "undefined" && wplc_send_data['action'] !== "wplc_start_chat"){ //Is this the start?
276
+ wplc_send_success_callback(response);
277
+ } else {
278
+ //Check if we are going to go into socket mode after this?
279
+ if(typeof wplc_use_node_server !== "undefined" && wplc_use_node_server === "true"){
280
+ if(window.WebSocket){
281
+ wplc_send_success_callback(response); //Send the data if we are going to sockets after this
282
+ }
283
+ }
284
+ }
285
+ }
286
+ },
287
+ error : function(error, exception){
288
+ if(typeof wplc_send_fail_callback === "function"){
289
+ wplc_send_fail_callback(error, exception);
290
+ }
291
+ },
292
+ complete : function(response){
293
+ if(typeof wplc_send_complete_callback === "function"){
294
+ wplc_send_complete_callback(response, wplc_send_data);
295
+ }
296
+ }
297
+ });
298
+ },
299
+ isInSocketMode : function (){
300
+ return wplc_node_sockets_ready;
301
+ },
302
+ isPreparingSocketMode : function(){
303
+ var preparing = false;
304
+ if(typeof wplc_use_node_server !== "undefined" && wplc_use_node_server === "true"){
305
+ if(window.WebSocket){
306
+ preparing = true;
307
+ }
308
+ }
309
+
310
+ return preparing;
311
+ },
312
+ transportPrepared : function(){
313
+ return wplc_transport_prepared;
314
+ },
315
+ asyncStorage : function(wplc_send_url, wplc_send_data, wplc_send_timeout){
316
+ //Do nothing -> Ajax handles
317
+ },
318
+ forceClosePort : function(){
319
+ //Do Nothing ajax doesnt use socket ports
320
+ },
321
+ sendMessage : function(wplc_send_url, wplc_send_data, wplc_send_type, wplc_send_timeout, wplc_send_success_callback, wplc_send_fail_callback, wplc_send_complete_callback){
322
+ WPLCServer.Ajax.send(wplc_send_url, wplc_send_data, wplc_send_type, wplc_send_timeout, wplc_send_success_callback, wplc_send_fail_callback, wplc_send_complete_callback);
323
+ }
324
+ };
325
+
326
+
327
+ function wplc_server_log(msg){
328
+ if(wplc_supress_server_logs !== true && window.console){
329
+ console.log("WPLC SERVER: " + msg);
330
+ }
331
+ }
332
+
333
+ function wplc_server_error(msg){
334
+ if(window.console){
335
+ console.error("WPLC SERVER ERROR: " + msg);
336
+ }
337
+ }
338
+
339
+ function wplc_socket_send(data, success, fail, complete){
340
+ if(wplc_node_port_open){
341
+ wplc_socket_add_to_queue(data, success, fail, complete);
342
+
343
+ //if(data.action !== "wplc_user_send_msg" && data.action !== "wplc_admin_send_msg"){
344
+ var wplc_current_queue_item = wplc_socket_get_next_in_queue();
345
+ if(wplc_current_queue_item !== false){
346
+ if(typeof wplc_node_socket !== "undefined" && wplc_node_socket !== null){
347
+ if(wplc_node_socket.readyState !== WebSocket.CONNECTING && wplc_node_socket.readyState !== WebSocket.CLOSING && wplc_node_socket.readyState !== WebSocket.CLOSED){
348
+ wplc_current_queue_item.data.is_typing = typeof wplc_node_is_client_typing !== "undefined" ? wplc_node_is_client_typing : false;
349
+ wplc_node_socket.send(JSON.stringify(wplc_current_queue_item.data));
350
+
351
+ if(typeof wplc_current_queue_item.success === "function"){
352
+ wplc_current_queue_item.success();
353
+ }
354
+ } else {
355
+ //Try again in a sec just now -> Add it to the queue
356
+ setTimeout(function(){
357
+ wplc_socket_send(data, success, fail, complete);
358
+ }, 500);
359
+ }
360
+ } else {
361
+ setTimeout(function(){
362
+ //Try again in a sec just now -> Add it to the queue
363
+ wplc_socket_send(data, success, fail, complete);
364
+ }, 500);
365
+ }
366
+ }
367
+ //}
368
+ }
369
+ }
370
+
371
+ function wplc_sanitize_attributes( str ){
372
+ var wplc_allowed_attributes = "onload,onclick,alert,onerror,dalert";
373
+ var allowed_attr = wplc_allowed_attributes.split(",");
374
+ for( i = 0; i < allowed_attr.length; i++ ){
375
+ str = str.replace(allowed_attr[i], '');
376
+ }
377
+
378
+ return str;
379
+ }
380
+
381
+ function wplc_socket_add_to_queue(data, success, fail, complete){
382
+ if(typeof data.server_token === "undefined"){
383
+ if(typeof bleeper_api_key !== "undefined"){
384
+ data.server_token = bleeper_api_key;
385
+ } else {
386
+ wplc_server_error("No Server Token Present, Something will go wrong");
387
+ }
388
+ }
389
+
390
+
391
+ var queue_item = {
392
+ data: data,
393
+ success: success,
394
+ fail: fail,
395
+ complete: complete
396
+ }
397
+
398
+ if(wplc_node_send_queue.length > 0){
399
+ var last_item = wplc_node_send_queue[wplc_node_send_queue.length - 1];
400
+ if(JSON.stringify(last_item.data) !== JSON.stringify(data)){
401
+ wplc_node_send_queue.push(queue_item);
402
+ }
403
+ } else {
404
+ wplc_node_send_queue.push(queue_item);
405
+ }
406
+ }
407
+
408
+ function wplc_socket_get_next_in_queue(){
409
+ if(wplc_node_send_queue.length > 0){
410
+ return wplc_node_send_queue.shift();
411
+ } else {
412
+ return false;
413
+ }
414
+ }
415
+
416
+ function wplc_rest_api(type, wplc_send_data, wplc_send_timeout, next) {
417
+
418
+ if (typeof wplc_xhr !== "undefined" && typeof wplc_xhr.abort() !== "undefined") { wplc_xhr.abort(); }
419
+ if (typeof next === "undefined" || next === null) { next = function() {}; }
420
+ var wplc_node_ajax_action = type;
421
+ //Send the data to the Async
422
+ if(typeof wplc_restapi_enabled !== "undefined" && parseInt(wplc_restapi_enabled) === 1 && typeof wplc_restapi_endpoint !== "undefined"){
423
+ //REST API is ready to rumble
424
+
425
+ var anti_cache = Date.now();
426
+
427
+ wplc_send_url = wplc_restapi_endpoint + "/" + type + "?nocache="+anti_cache;
428
+
429
+
430
+
431
+ var prepared_data = wplc_send_data;
432
+
433
+ var x = {
434
+ action : wplc_node_ajax_action,
435
+ relay_action : wplc_send_data.action,
436
+ chat_id : wplc_send_data.cid,
437
+ security : wplc_send_data.security,
438
+ message : wplc_send_data.msg,
439
+ server_token : wplc_restapi_token,
440
+ wplc_extra_data:document.wplc_extra_data,
441
+ wplc_data : wplc_send_data
442
+ };
443
+
444
+
445
+ prepared_data.server_token = wplc_restapi_token;
446
+ prepared_data.token = wplc_restapi_token; /* backwards compat */
447
+ if (typeof prepared_data.wplc_extra_data === "undefined") {
448
+ prepared_data.wplc_extra_data = document.wplc_extra_data;
449
+ }
450
+ prepared_data._wpnonce = wplc_restapi_nonce;
451
+
452
+ wplc_xhr = jQuery.ajax({
453
+ url : wplc_send_url,
454
+ data : prepared_data,
455
+ type : "POST",
456
+ timeout : wplc_send_timeout,
457
+ success : function(response){
458
+ wplc_server_log("REST SEND = SUCCESS");
459
+ next(response);
460
+ },
461
+ error : function(error, exception){
462
+ wplc_server_log("REST SEND = FAIL");
463
+ next();
464
+ },
465
+ complete : function(response){
466
+ next(response);
467
+ }
468
+ });
469
+ } else {
470
+ wplc_server_log("NO REST API :(");
471
+ next();
472
+ }
473
+
474
+ }
475
+
476
+ function wplc_socket_async_storage_handler(wplc_send_url, wplc_send_data, wplc_send_timeout){
477
+ var wplc_node_ajax_action = "wplc_node_async_storage_ajax";
478
+ //Send the data to the Async
479
+ if(typeof wplc_restapi_enabled !== "undefined" && parseInt(wplc_restapi_enabled) === 1 && typeof wplc_restapi_endpoint !== "undefined"){
480
+ //REST API is ready to rumble
481
+ wplc_send_url = wplc_restapi_endpoint + "/async_storage";
482
+ } else {
483
+ //Ajax time! Cause the Rest she Left
484
+ }
485
+
486
+ var prepared_data = {
487
+ action : wplc_node_ajax_action,
488
+ relay_action : wplc_send_data.action,
489
+ chat_id : wplc_send_data.cid,
490
+ security : wplc_send_data.security,
491
+ messages : JSON.stringify(wplc_node_async_array),
492
+ wplc_extra_data:document.wplc_extra_data
493
+ };
494
+
495
+ if(typeof bleeper_api_key !== "undefined"){
496
+ prepared_data.server_token = bleeper_api_key;
497
+ }
498
+
499
+ /*
500
+ wplc_node_async_array = new Array(); //Clearing the storage array before the next data can be sent through
501
+ if(typeof Cookies !== "undefined" && typeof Cookies === "function"){
502
+ Cookies.remove('wplc_server_async_storage'); //Clear the cookies now so that we don't do this again.
503
+ }
504
+ */
505
+ jQuery.ajax({
506
+ url : wplc_send_url,
507
+ data : prepared_data,
508
+ type : "POST",
509
+ timeout : wplc_send_timeout,
510
+ success : function(response){
511
+ wplc_server_log("ASYNC STORAGE = SUCCESS");
512
+ },
513
+ error : function(error, exception){
514
+ wplc_server_log("ASYNC STORAGE = FAIL");
515
+ },
516
+ complete : function(response){
517
+
518
+ }
519
+ });
520
+ }
521
+
522
+ function wplc_json_validator(str) {
523
+ try {
524
+ JSON.parse(str);
525
+ } catch (e) {
526
+ return false;
527
+ }
528
+ return true;
529
+ }
530
+
531
+ function wplc_node_parse_async_from_object(obj, complete){
532
+ for(var i in obj){
533
+ if(obj.hasOwnProperty(i)){
534
+ wplc_node_async_array.push(obj[i]);
535
+ }
536
+ }
537
+
538
+ if(typeof complete === "function"){
539
+ complete();
540
+ }
541
+ }
542
+
543
+ function wplc_node_global_message_receiver(data){
544
+ if(data){
545
+ if (typeof data !== "object") {
546
+ data = JSON.parse(data);
547
+ }
548
+ }
549
+
550
+ if(typeof data['pair_name'] !== "undefined"){
551
+ if(data['pair_name'] !== wplc_node_pair_name){
552
+ wplc_node_pair_name = data['pair_name'];
553
+ }
554
+ }
555
+
556
+ if(typeof data['pair_typing'] !== "undefined"){
557
+
558
+ if(data['pair_typing'] === true || data['pair_typing'] === "true"){
559
+ if(wplc_node_is_pair_typing_indicator_visible === false){
560
+ if (jQuery("#wplc_user_typing").length>0) { } else {
561
+ jQuery(".typing_indicator").html("<span id='wplc_user_typing'>"+wplc_node_pair_name+" "+wplc_localized_string_is_typing_single+"</span>");
562
+ jQuery(".typing_indicator").addClass("typing_indicator_active");
563
+ }
564
+ }
565
+ wplc_node_is_pair_typing_indicator_visible = true;
566
+ } else {
567
+ if(wplc_node_is_pair_typing_indicator_visible === true){
568
+ if (jQuery("#wplc_user_typing").length>0) {
569
+ jQuery("#wplc_user_typing").fadeOut("slow").remove();
570
+ jQuery(".typing_indicator").removeClass("typing_indicator_active");
571
+ }
572
+ }
573
+ wplc_node_is_pair_typing_indicator_visible = false;
574
+ }
575
+
576
+ }
577
+ }
578
+ String.prototype.wplcStripSlashes = function(){
579
+ return this.replace(/\\(.)/mg, "$1");
580
+ }
581
+
582
+ function wplc_add_date_and_time(the_message,originates) {
583
+
584
+ if (parseInt(originates) === 1 || parseInt(originates) === 2) {
585
+
586
+ var time_msg = '';
587
+
588
+ /* identfy the timestamp */
589
+ if (typeof the_message.other === "undefined" || typeof the_message.other.datetime === "undefined" || the_message.other === false) {
590
+ /* only run if it hasnt got a timestamp in the .other.datetime key */
591
+ if (typeof the_message.timestamp !== "undefined") {
592
+ /* most likely came from node as node */
593
+
594
+ if (typeof the_message.other !== "object") { the_message.other = {}; }
595
+ the_message.other.datetime = the_message.timestamp;
596
+
597
+ }
598
+ }
599
+
600
+ if (typeof the_message.other === "undefined" || typeof the_message.other.datetime === "undefined") {
601
+ /* there is no datetime so return nothing */
602
+ return '';
603
+ } else {
604
+ if (typeof wplc_show_chat_detail !== "undefined") {
605
+
606
+ var datetimestamp = the_message.other.hasOwnProperty( 'datetimeUTC' ) ? the_message.other.datetimeUTC : the_message.other.datetime;
607
+ var dateTime = new Date( parseInt( datetimestamp ) * 1000 );
608
+
609
+ if ( typeof wplc_show_chat_detail.date !== 'undefined' && '1' === wplc_show_chat_detail.date ) {
610
+
611
+ var date_format = typeof wplc_datetime_format !== 'undefined' && wplc_datetime_format.hasOwnProperty( 'date_format' ) ? wplc_datetime_format.date_format : 'n/d';
612
+ var date_month = dateTime.getMonth();
613
+ var date_day = dateTime.getDate();
614
+ var date_months = ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'];
615
+ var date_days = ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'];
616
+ var date_day_no = dateTime.getDay();
617
+ var date_year = dateTime.getFullYear();
618
+
619
+ time_msg += date_format
620
+ .replace( /S/g, '%S%' )
621
+ .replace( /D/g, '%D%' )
622
+ .replace( /l/g, '%l%' )
623
+ .replace( /F/g, '%F%' )
624
+ .replace( /M/g, '%M%' )
625
+ .replace( /j/g, date_day )
626
+ .replace( /d/g, date_day < 10 ? '0' + date_day : date_day )
627
+ .replace( /w/g, date_day_no )
628
+ .replace( /n/g, date_month + 1 )
629
+ .replace( /m/g, date_month + 1 < 10 ? '0' + ( date_month + 1 ) : date_month + 1 )
630
+ .replace( /Y/g, date_year )
631
+ .replace( /y/g, date_year.toString().substr( 2, 2 ) )
632
+ .replace( /%S%/g, 1 === date_day ? 'st' : ( 2 === date_day ? 'nd' : ( 3 === date_day ? 'rd' : 'th' ) ) )
633
+ .replace( /%D%/g, date_days[ date_day_no ].substr( 0, 3 ) )
634
+ .replace( /%l%/g, date_days[ date_day_no ] )
635
+ .replace( /%F%/g, date_months[ date_month ] )
636
+ .replace( /%M%/g, date_months[ date_month ].substr( 0, 3 ) ) + ' ';
637
+
638
+ }
639
+ if ( typeof wplc_show_chat_detail.time !== "undefined" && '1' === wplc_show_chat_detail.time ) {
640
+
641
+ var time_format = typeof wplc_datetime_format !== 'undefined' && wplc_datetime_format.hasOwnProperty( 'time_format' ) ? wplc_datetime_format.time_format : 'H:i';
642
+ var time_hours_12 = dateTime.getHours() > 12 ? dateTime.getHours() - 12 : ( dateTime.getHours() < 1 ? 12 : dateTime.getHours() );
643
+ var time_hours_24 = dateTime.getHours();
644
+ var time_am_pm = time_hours_24 > 11 ? 'pm' : 'am';
645
+ var time_minutes = dateTime.getMinutes();
646
+
647
+ time_msg += time_format
648
+ .replace( /g/g, time_hours_12 )
649
+ .replace( /h/g, time_hours_12 < 10 ? '0' + time_hours_12 : time_hours_12 )
650
+ .replace( /G/g, time_hours_24 )
651
+ .replace( /H/g, time_hours_24 < 10 ? '0' + time_hours_24 : time_hours_24 )
652
+ .replace( /i/g, time_minutes < 10 ? '0' + time_minutes : time_minutes )
653
+ .replace( /a/g, time_am_pm.toLowerCase() )
654
+ .replace( /A/g, time_am_pm.toUpperCase() );
655
+
656
+ }
657
+ if (time_msg !== '') {
658
+ if (parseInt(originates) === 1) { aoru_class = 'wplc-msg-float-left'; } else { aoru_class = 'wplc-msg-float-right'; }
659
+ time_msg = '<span class="timedate '+aoru_class+'">'+time_msg+'</span>';
660
+ }
661
+ }
662
+
663
+
664
+ return time_msg;
665
+ }
666
+ } else {
667
+ return '';
668
+ }
669
+
670
+ }
671
+
672
+ function wplc_get_chat_person_name_msg_field(name) {
673
+ try {
674
+ return '<span class="wplc-chat-person-name">' + name + ': </span>';
675
+ } catch(err) {
676
+ //console.log("Could not wplc_get_chat_person_name_msg_field() " + err);
677
+ }
678
+ }
679
+
680
+ /**
681
+ * Removes undesired strings from a message which contains a GIF URL and returns only the gif url
682
+ * @param {*} message_content
683
+ */
684
+ function getCleanedGif(message_content) {
685
+ if (typeof(message_content) !== "undefined") {
686
+ var msgParts = message_content.split(" ");
687
+
688
+ if (typeof(msgParts) !== "undefined") {
689
+
690
+ for (var i = 0; i < msgParts.length; i++) {
691
+ var msgPart = msgParts[i];
692
+
693
+ if (typeof(msgPart) !== "undefined") {
694
+
695
+ if (gifExtensionPattern.test(msgPart)) {
696
+ var cleanedGifUrl = msgPart.replace("href=", "");
697
+ cleanedGifUrl = cleanedGifUrl.replace(/\"/g, "");
698
+
699
+ return cleanedGifUrl;
700
+ }
701
+ }
702
+ }
703
+ }
704
+ }
705
+
706
+ return "";
707
+ }
708
+
709
+ /**
710
+ * Pushes the message object to the chat box
711
+ *
712
+ * @param {object} the_message The message object
713
+ * @param {string} aoru a for Agent, u for User
714
+ * @return void
715
+ */
716
+ function wplc_push_message_to_chatbox(the_message, aoru, next) {
717
+
718
+ /**
719
+ * First check if we have processed this message already, by comparing the ID
720
+ *
721
+ * Some system notifications may not come through with an ID so we can accept those.
722
+ */
723
+ var add_message = true;
724
+ if (typeof the_message.mid !== "undefined" && aoru === "u") {
725
+ if (parseInt(the_message.mid) === 0 || the_message.mid === null) {
726
+ add_message = true;
727
+ } else {
728
+ if (typeof wplc_msg_history[the_message.mid] !== "undefined") {
729
+ /* we have this message already */
730
+ add_message = false;
731
+ } else {
732
+ /* add this to our history */
733
+ wplc_msg_history[the_message.mid] = true;
734
+ }
735
+ }
736
+ }
737
+ if (add_message) {
738
+ if (typeof the_message.originates !== "undefined" && the_message.originates !== null && the_message.originates !== "null"){
739
+ var message_class = "";
740
+ var grav_hash = "";
741
+ var message_grav = "";
742
+ var message_from = "";
743
+ var message_content = "";
744
+ var message_aid;
745
+
746
+ var message_edit_string = "";
747
+
748
+ var audioPattern = new RegExp(/blob.wav/);
749
+ var isAudioPattern = false;
750
+
751
+ if (parseInt(the_message.originates) === 1) {
752
+ //From Admin
753
+
754
+ /* Define which agent it was sent from */
755
+ if (typeof the_message.other !== "undefined" && typeof the_message.other.aid !== "undefined") {
756
+ message_aid = the_message.other.aid.toString(); /* set it to a string because wp_localize doesnt know how to set keys as integers */
757
+ } else if (typeof the_message.other !== "undefined" && typeof the_message.other.agent_id !== "undefined") {
758
+ /* cloud server uses "agent_id" instead of "aid" */
759
+ message_aid = the_message.other.agent_id.toString();
760
+ } else {
761
+ message_aid = false;
762
+ }
763
+ message_class = "wplc-admin-message wplc-color-bg-4 wplc-color-2 wplc-color-border-4";
764
+
765
+ // If it is audio message
766
+ isAudioPattern = audioPattern.test(the_message.msg);
767
+ if (isAudioPattern) {
768
+ message_class += " wplc-user-message-audio";
769
+ }
770
+
771
+ if (aoru === 'u') {
772
+
773
+ /* message came from admin, intended for user */
774
+ if (message_aid !== false && typeof wplc_agent_data !== "undefined" && typeof wplc_agent_data[message_aid] !== "undefined") {
775
+ /* we know who the agent was that sent this message (v7.1.00+) */
776
+ if (typeof wplc_show_chat_detail !== "undefined") {
777
+ if (typeof wplc_show_chat_detail.avatar !== "undefined" && wplc_show_chat_detail.avatar === "1") { message_grav = (typeof wplc_agent_data[message_aid].md5 !== "undefined" ? "<img src='"+wplc_user_avatars[message_aid]+"?s=80&d=mm' class='wplc-admin-message-avatar' />" : ""); }
778
+ if (typeof wplc_show_chat_detail.name !== "undefined" && wplc_show_chat_detail.name === "1") { message_from = (typeof wplc_agent_data[message_aid].name !== "undefined" ? wplc_get_chat_person_name_msg_field(wplc_agent_data[message_aid].name) : ""); }
779
+ }
780
+
781
+ } else {
782
+ /* we do'nt know which agent sent this message, so lets set it as the current user instead (backwards compat) */
783
+ if (typeof wplc_show_chat_detail !== "undefined") {
784
+ if (typeof wplc_show_chat_detail.avatar !== "undefined" && wplc_show_chat_detail.avatar === "1") { message_grav = (typeof wplc_current_agent.email !== "undefined" ? "<img src='"+wplc_user_avatars[message_aid]+"?s=80&d=mm' class='wplc-admin-message-avatar' />" : ""); }
785
+ if (typeof wplc_show_chat_detail.name !== "undefined" && wplc_show_chat_detail.name === "1") { message_from = (typeof wplc_current_agent.name !== "undefined" ? wplc_get_chat_person_name_msg_field(wplc_current_agent.name) : ""); }
786
+ }
787
+ }
788
+ } else {
789
+
790
+ if(typeof agent_id !== "undefined" && typeof message_aid !== "undefined"){
791
+ if(parseInt(agent_id) === parseInt(message_aid)){
792
+ //I own this message
793
+ message_edit_string = "<span class='bleeper-edit-message' style='display:none;'>Edit</span>";
794
+
795
+ }
796
+ }
797
+
798
+ if (message_aid !== false && typeof wplc_agent_data !== "undefined" && typeof wplc_agent_data[message_aid] !== "undefined") {
799
+
800
+ /* we know who the agent was that sent this message (v7.1.00+) */
801
+ if (typeof wplc_show_chat_detail !== "undefined") {
802
+ if (typeof wplc_show_chat_detail.avatar !== "undefined" && wplc_show_chat_detail.avatar === "1") { message_grav = (typeof wplc_agent_data[message_aid].md5 !== "undefined" ? "<img src='//www.gravatar.com/avatar/"+wplc_agent_data[message_aid].md5+"?s=80&d=mm' class='wplc-admin-message-avatar' />" : ""); }
803
+ if (typeof wplc_show_chat_detail.name !== "undefined" && wplc_show_chat_detail.name === "1") { message_from = (typeof wplc_agent_data[message_aid].name !== "undefined" ? wplc_get_chat_person_name_msg_field(wplc_agent_data[message_aid].name) : ""); }
804
+ }
805
+
806
+ } else {
807
+ if (typeof wplc_show_chat_detail.avatar !== "undefined" && wplc_show_chat_detail.avatar === "1") {
808
+ message_grav = (typeof wplc_admin_agent_email !== "undefined" ? "<img src='//www.gravatar.com/avatar/"+wplc_admin_agent_email+"?s=80&d=mm' class='wplc-admin-message-avatar' />" : "");
809
+ }
810
+ if (typeof wplc_show_chat_detail.name !== "undefined" && wplc_show_chat_detail.name === "1") {
811
+ message_from = (typeof wplc_admin_agent_name !== "undefined" ? wplc_get_chat_person_name_msg_field(wplc_admin_agent_name) : "");
812
+ }
813
+ }
814
+ }
815
+
816
+ message_content = the_message.msg.wplcStripSlashes();
817
+ wplc_new_message_sound = true;
818
+
819
+ } else if (parseInt(the_message.originates) === 0 || parseInt(the_message.originates) === 3) {
820
+ //System Notification
821
+ message_class = "wplc_system_notification wplc-color-4";
822
+ message_content = the_message.msg;
823
+ if (typeof the_message.other.ntype !== "undefined") {
824
+ if (the_message.other.ntype === "joined") {
825
+ jQuery.event.trigger({type: "wplc_agent_joined", ndata:the_message});
826
+ }
827
+ }
828
+
829
+ } else {
830
+ /* most likely from the user */
831
+ message_class = "wplc-user-message wplc-color-bg-1 wplc-color-2 wplc-color-border-1";
832
+
833
+ isAudioPattern = audioPattern.test(the_message.msg);
834
+ if (isAudioPattern) {
835
+ message_class += " wplc-user-message-audio";
836
+ }
837
+
838
+ if (aoru === 'u') {
839
+ message_edit_string = "<span class='bleeper-edit-message' style='display:none;'>Edit</span>";
840
+
841
+ if (jQuery(wplc_email).val() !== "") {
842
+ message_grav = md5(jQuery(wplc_email).val());
843
+
844
+ } else {
845
+ if (typeof visitor_list !== "undefined" && typeof visitor_list[active_chatid] !== "undefined" && typeof visitor_list[active_chatid].email !== "undefined") {
846
+ message_grav = md5(visitor_list[active_chatid].email);
847
+ } else {
848
+ if(typeof wplc_cookie_email !== "undefined" && wplc_cookie_email !== ""){
849
+ message_grav = md5(wplc_cookie_email);
850
+ } else {
851
+ message_grav = 'x';
852
+ }
853
+ }
854
+ }
855
+
856
+ message_grav = "<img src='//www.gravatar.com/avatar/" + message_grav + "?s=80&d=mm' class='wplc-user-message-avatar' />";
857
+ if (typeof Cookies.get("wplc_name") === "undefined") {
858
+ message_from = wplc_get_chat_person_name_msg_field("Guest");
859
+ } else {
860
+ message_from = wplc_get_chat_person_name_msg_field(Cookies.get("wplc_name"));
861
+ }
862
+ } else {
863
+ if (typeof wplc_chat_email !== "undefined") {
864
+ message_grav = wplc_chat_email;
865
+
866
+ } else {
867
+ if (typeof visitor_list !== "undefined" && typeof visitor_list[active_chatid] !== "undefined" && typeof visitor_list[active_chatid].email !== "undefined") {
868
+ message_grav = md5(visitor_list[active_chatid].email);
869
+ } else {
870
+ if(typeof wplc_cookie_email !== "undefined" && wplc_cookie_email !== ""){
871
+ message_grav = md5(wplc_cookie_email);
872
+ } else {
873
+ message_grav = 'x';
874
+ }
875
+ }
876
+ }
877
+ message_grav = "<img src='//www.gravatar.com/avatar/" + message_grav + "?s=80&d=mm' class='wplc-user-message-avatar' />";
878
+ if (typeof wplc_chat_name !== "undefined") {
879
+ message_from = wplc_get_chat_person_name_msg_field(wplc_chat_name);
880
+ }
881
+ }
882
+ message_content = the_message.msg.wplcStripSlashes();
883
+ }
884
+
885
+ if (typeof the_message.other !== "undefined" && typeof the_message.other.from_an_agent !== "undefined"){
886
+ if(the_message.other.from_an_agent === true || the_message.other.from_an_agent === "true"){
887
+ //Cannot edit this
888
+ message_edit_string = "";
889
+ }
890
+ }
891
+ message_class += " message_"+the_message.mid;
892
+
893
+ if (message_content !== ""){
894
+ message_content = wplc_sanitize_attributes(message_content);
895
+
896
+ // If it is audio message
897
+ isAudioPattern = audioPattern.test(message_content);
898
+
899
+ // Open the HTML of a message
900
+ var concatenated_message = "<span class='" + message_class + "' mid='"+the_message.mid+"'>";
901
+
902
+ if (typeof wplc_show_chat_detail !== "undefined") {
903
+
904
+ if (typeof wplc_show_chat_detail.avatar !== "undefined" && wplc_show_chat_detail.avatar === "1") {
905
+ concatenated_message += message_grav;
906
+ }
907
+
908
+ // Add a wrapper for the person name and the message, this wrapper is necessary to implement the UI of the admin chat
909
+ if (isAudioPattern) {
910
+ concatenated_message += "<div class='wplc-msg-content wplc-msg-content-audio' mid='" + the_message.mid + "'>";
911
+ } else {
912
+ concatenated_message += "<div class='wplc-msg-content' mid='"+the_message.mid+"'>";
913
+ }
914
+
915
+ if (isAudioPattern) {
916
+ concatenated_message += "<span class='wplc-msg-content-audio-icon'></span>";
917
+ } else if (typeof wplc_show_chat_detail.name !== "undefined" && wplc_show_chat_detail.name === "1") {
918
+ concatenated_message += message_from;
919
+ }
920
+ } else {
921
+ // Add a wrapper for the person name and the message, this wrapper is necessary to implement the UI of the admin chat
922
+ concatenated_message += "<div class='wplc-msg-content'>";
923
+ }
924
+
925
+ var original_message = message_content;
926
+ if (isAudioPattern) {
927
+ message_content = "<a href='" + message_content + "' target='_blank'>" + (typeof wplc_visitor_voice !== 'undefined' && typeof wplc_visitor_voice.play_sound !== 'undefined' ? wplc_visitor_voice.play_sound : 'Open Voice Note') + "</a>";
928
+ } else if (typeof niftyFormatParser !== "undefined"){
929
+ if(typeof the_message.other !== 'undefined' && typeof the_message.other.ignore_style_tags !== 'undefined' && the_message.other.ignore_style_tags === true){
930
+ //Don't nifty parse this
931
+ } else {
932
+ message_content = niftyFormatParser(message_content);
933
+ }
934
+ }
935
+
936
+ //Cleanup the original message
937
+ var original_message_stripper = document.createElement("DIV");
938
+ original_message_stripper.innerHTML = original_message;
939
+ original_message = original_message_stripper.textContent || original_message_stripper.innerText || "";
940
+
941
+ // If it is a GIF message
942
+ if (gifExtensionPattern.test(message_content)) {
943
+ cleanedGif = getCleanedGif(message_content);
944
+ concatenated_message += "<span class='messageBody' data-message='"+ cleanedGif +"'><img src='"+ cleanedGif + "' class='gif-img'/></span>"+ message_edit_string;
945
+ } else if (isAudioPattern) {
946
+ // If it is audio pattern
947
+ concatenated_message += "<span class='messageBody'>"+message_content+"</span>";
948
+ } else {
949
+ // If it is a regular message
950
+ concatenated_message += "<span class='messageBody' data-message='" + original_message + "'>"+message_content+"</span>"+ message_edit_string;
951
+ }
952
+
953
+ // Close the person name/message wrapper, if it was added
954
+ concatenated_message += "</div>";
955
+
956
+ // Close the HTML of a message
957
+ concatenated_message += "</span>";
958
+ concatenated_message += wplc_add_date_and_time(the_message,the_message.originates);
959
+
960
+ if (aoru === 'u') {
961
+ wplc_chat_box_elemn = "#wplc_chatbox";
962
+ } else {
963
+
964
+ if (typeof bleeper_remote_enabled !== "undefined"){
965
+ wplc_chat_box_elemn = "#messages";
966
+ } else {
967
+ wplc_chat_box_elemn = "#admin_chat_box_area_"+wplc_cid;
968
+ }
969
+ }
970
+
971
+
972
+ jQuery(wplc_chat_box_elemn).append(concatenated_message);
973
+
974
+ }
975
+ }
976
+ }
977
+ next();
978
+ }
979
+
980
+ jQuery(function(){
981
+ jQuery(function(){
982
+ var wplc_node_searchTimeout;
983
+
984
+ jQuery("body").on("keydown","#wplc_chatmsg, #wplc_admin_chatmsg", function(e) {
985
+ if(typeof wplc_node_sockets_ready !== "undefined" && wplc_node_sockets_ready === true){
986
+ if(typeof wplc_node_is_client_typing !== "undefined"){
987
+ if (e.which <= 90 && e.which >= 48) {
988
+ if (wplc_node_is_client_typing) {
989
+ wplc_node_renew_typing();
990
+ return;
991
+ }
992
+ wplc_node_is_client_typing = true;
993
+
994
+ wplc_node_searchTimeout = setTimeout(wplc_node_clear_typing, 1000);
995
+ }
996
+ }
997
+ }
998
+ });
999
+
1000
+ jQuery("body").on("click", "#wplc_na_msg_btn", function() {
1001
+ var wplc_is_gdpr_enabled = jQuery(this).attr('data-wplc-gdpr-enabled');
1002
+ if(typeof wplc_is_gdpr_enabled !== "undefined" && (wplc_is_gdpr_enabled === 'true' )){
1003
+ var wplc_gdpr_opt_in_checked = jQuery("#wplc_chat_gdpr_opt_in").is(':checked');
1004
+ if(typeof wplc_gdpr_opt_in_checked === "undefined" || wplc_gdpr_opt_in_checked === false){
1005
+ /* GDPR requirements not met */
1006
+ jQuery("#wplc_chat_gdpr_opt_in").addClass('incomplete');
1007
+ return false;
1008
+ }
1009
+ jQuery("#wplc_chat_gdpr_opt_in").removeClass('incomplete');
1010
+ }
1011
+
1012
+ var wplc_name = jQuery("#wplc_name").val();
1013
+ var wplc_email = jQuery("#wplc_email").val();
1014
+ var wplc_msg = jQuery("#wplc_message").val();
1015
+ var wplc_domain = jQuery("#wplc_domain_offline").val();
1016
+ var ip_address = jQuery("#wplc_ip_address").val();
1017
+
1018
+ if (wplc_name.length <= 0) { alert(wplc_error_messages.valid_name); return false; }
1019
+ if (wplc_email.length <= 0) { alert(wplc_error_messages.valid_email); return false; }
1020
+ var testEmail = /^[A-Z0-9._%+-]+@([A-Z0-9-]+\.)+[A-Z]{2,12}$/i;
1021
+ if (!testEmail.test(wplc_email)){
1022
+ alert(wplc_error_messages.valid_email); return false;
1023
+ }
1024
+ if (wplc_msg.length <= 0) { alert(wplc_error_messages.empty_message); return false; }
1025
+ jQuery("#wp-live-chat-2-info").hide();
1026
+ jQuery("#wplc_message_div").html(wplc_offline_msg);
1027
+
1028
+ wplc_cid = Cookies.get('wplc_cid');
1029
+
1030
+ var data = {
1031
+ action: 'wplc_user_send_offline_message',
1032
+ security: wplc_nonce,
1033
+ cid: wplc_cid,
1034
+ name: wplc_name,
1035
+ email: wplc_email,
1036
+ msg: wplc_msg,
1037
+ ip: ip_address,
1038
+ domain: wplc_domain,
1039
+ wplc_extra_data:wplc_extra_data
1040
+ };
1041
+
1042
+ jQuery.post(wplc_ajaxurl_site, data, function(response) {
1043
+ jQuery("#wplc_message_div").html(wplc_offline_msg3);
1044
+ });
1045
+ if (typeof wplc_enable_ga !== "undefined" && wplc_enable_ga === '1') {
1046
+ if (typeof ga !== "undefined") {
1047
+ ga('send', {
1048
+ hitType: 'event',
1049
+ eventCategory: 'WP_Live_Chat_Support',
1050
+ eventAction: 'Event',
1051
+ eventLabel: 'User Send Offline Message'
1052
+ });
1053
+ }
1054
+ }
1055
+ });
1056
+
1057
+
1058
+ function wplc_node_renew_typing() {
1059
+ clearTimeout(wplc_node_searchTimeout);
1060
+ wplc_node_searchTimeout = setTimeout(wplc_node_clear_typing, 1000);
1061
+ }
1062
+ function wplc_node_clear_typing() {
1063
+ wplc_node_is_client_typing = false;
1064
+ clearTimeout(wplc_node_searchTimeout);
1065
+ }
1066
+ });
1067
+ });
1068
+
1069
+ var wplc_generate_system_notification_object = function(msg,other,originates) {
1070
+ the_message = {};
1071
+ the_message.originates = originates;
1072
+ the_message.msg = msg;
1073
+ the_message.other = other;
1074
+ var wplc_d = new Date();
1075
+ the_message.other.datetime = Math.round( wplc_d.getTime() / 1000 );
1076
+ return the_message;
1077
+ }
1078
+
1079
+ function wplc_display_system_notification(message) {
1080
+ message_output = '<div id="bleeper_notification_message" class="wplc-color-bg-1 wplc-color-2">' + message.msg + '</div>';
1081
+
1082
+ if (jQuery('#bleeper_notification_message').length == 0) {
1083
+ jQuery('#wp-live-chat-4').prepend(message_output);
1084
+ }
1085
+ }
1086
+
1087
+ function wplc_clear_system_notification() {
1088
+ if (jQuery('#bleeper_notification_message').length !== 0) {
1089
+ jQuery('#bleeper_notification_message').remove();
1090
+ }
1091
+ }
1092
+
1093
+ /*
1094
+ * Updates the message element with a new message.
1095
+ * - mid: Message ID which is appended to class selector as .message_{mid}
1096
+ * - message: The html/text to insert into this container
1097
+ * - inner_container_class: Optional, used to select the first child of the class type within the primary message container
1098
+ * Nice for selecting the 'messageBody' class specifically
1099
+ */
1100
+ function wplc_update_message_element_by_mid(mid, message, inner_container_class){
1101
+ var element_selector = ".message_" + mid;
1102
+ element_selector += (typeof inner_container_class !== "undefined" && inner_container_class !== false) ? (" ." + inner_container_class) : "";
1103
+
1104
+ jQuery(element_selector).html(message);
1105
  }
js/wplc_u_admin_events.js CHANGED
@@ -603,7 +603,7 @@ jQuery(document).on("bleeper_dom_ready", function(e) {
603
  'id' : 'agent_grav_'+e.chatid+'_'+e.agentid,
604
  'title' : agent_involved_name,
605
  'alt' : agent_involved_name,
606
- 'src' : 'https://www.gravatar.com/avatar/'+agent_involved_email+'?s=32&d=identicon',
607
  'class' : "img-thumbnail img-circle thumb16 agent_involved agent_involved_"+e.chatid
608
  }).appendTo('#'+e.chatid+ " .agents_involved");
609
  }
@@ -642,7 +642,7 @@ jQuery(document).on("bleeper_dom_ready", function(e) {
642
  'id' : 'agent_grav_visitor_'+e.chatid+'_'+e.agentid,
643
  'title' : agent_involved_name,
644
  'alt' : agent_involved_name,
645
- 'src' : 'https://www.gravatar.com/avatar/'+agent_involved_email+'?s=32&d=identicon',
646
  'class' : "img-thumbnail img-circle thumb16 agent_involved agent_involved_"+e.chatid
647
  }).appendTo('#vis'+e.chatid+ " .agents_involved_visitor");
648
  }
603
  'id' : 'agent_grav_'+e.chatid+'_'+e.agentid,
604
  'title' : agent_involved_name,
605
  'alt' : agent_involved_name,
606
+ 'src' : 'https://www.gravatar.com/avatar/'+agent_involved_email+'?s=32&d=mm',
607
  'class' : "img-thumbnail img-circle thumb16 agent_involved agent_involved_"+e.chatid
608
  }).appendTo('#'+e.chatid+ " .agents_involved");
609
  }
642
  'id' : 'agent_grav_visitor_'+e.chatid+'_'+e.agentid,
643
  'title' : agent_involved_name,
644
  'alt' : agent_involved_name,
645
+ 'src' : 'https://www.gravatar.com/avatar/'+agent_involved_email+'?s=32&d=mm',
646
  'class' : "img-thumbnail img-circle thumb16 agent_involved agent_involved_"+e.chatid
647
  }).appendTo('#vis'+e.chatid+ " .agents_involved_visitor");
648
  }
js/wplc_u_events.js CHANGED
@@ -1,566 +1,566 @@
1
- jQuery(function() {
2
-
3
-
4
-
5
- //placeholder text fix for IE
6
- jQuery('#wp-live-chat [placeholder]').focus(function() {
7
- var input = jQuery(this);
8
- if (input.val() == input.attr('placeholder')) {
9
- input.val('');
10
- input.removeClass('placeholder');
11
- }
12
- }).blur(function() {
13
- var input = jQuery(this);
14
- if (input.val() == '' || input.val() == input.attr('placeholder')) {
15
- input.addClass('placeholder');
16
- input.val(input.attr('placeholder'));
17
- }
18
- }).blur();
19
-
20
-
21
- /* minimize chat window */
22
- jQuery("body").on("click", "#wp-live-chat-minimize", function() {
23
-
24
- jQuery.event.trigger({type: "wplc_minimize_chat"});
25
-
26
-
27
- });
28
-
29
-
30
- /* close chat window */
31
- jQuery("body").on("click", "#wp-live-chat-close", function() {
32
-
33
- jQuery("#wp-live-chat").hide();
34
- jQuery("#wp-live-chat-1").hide();
35
- jQuery("#wp-live-chat-2").hide();
36
- jQuery("#wp-live-chat-3").hide();
37
- jQuery("#wp-live-chat-4").hide();
38
- jQuery("#wplc_social_holder").hide();
39
- jQuery("#nifty_ratings_holder").hide();
40
- jQuery("#wp-live-chat-react").hide();
41
- jQuery("#wp-live-chat-minimize").hide();
42
- if (typeof wplc_hide_chat !== "undefined" && wplc_hide_chat !== "" && wplc_hide_chat !== null) { Cookies.set('wplc_hide', wplc_hide_chat , { expires: 1, path: '/' }); } else {
43
- var wplc_expire_date = new Date();
44
- var minutes = 2;
45
- wplc_expire_date.setTime(wplc_expire_date.getTime() + (minutes * 60 * 1000));
46
- Cookies.set('wplc_hide', "yes" , { expires: wplc_expire_date , path: '/' });
47
- }
48
- var data = {
49
- action: 'wplc_user_close_chat',
50
- security: wplc_nonce,
51
- cid: wplc_cid,
52
- status: wplc_chat_status
53
- };
54
- jQuery.post(wplc_ajaxurl, data, function(response) {
55
-
56
-
57
- });
58
- });
59
-
60
-
61
- //allows for a class to open chat window now
62
- jQuery("body").on("click", ".wp-live-chat-now", function() {
63
- open_chat(0);
64
- });
65
-
66
- jQuery(document).on("wplc_minimize_chat", function() {
67
- wplc_is_minimized = true;
68
-
69
- Cookies.set('wplc_minimize', "yes", { expires: 1, path: '/' });
70
- wplc_chat_status = Cookies.get('wplc_chat_status');
71
-
72
- if(typeof wplc_start_chat_pro_custom_fields_filter !== "undefined" && typeof wplc_start_chat_pro_custom_fields_filter === "function"){
73
- wplc_extra_data = wplc_start_chat_pro_custom_fields_filter(wplc_extra_data);
74
- }
75
-
76
- if(wplc_chat_status != 5 && wplc_chat_status != 10 && wplc_chat_status != 9 && wplc_chat_status != 8){
77
- if (wplc_online) {
78
- var data = {
79
- action: 'wplc_user_minimize_chat',
80
- security: wplc_nonce,
81
- cid: wplc_cid,
82
- wplc_extra_data:wplc_extra_data
83
- };
84
-
85
- jQuery.post(wplc_ajaxurl, data, function(response) {
86
-
87
- });
88
- }
89
- }
90
-
91
- if (typeof wplc_enable_ga !== "undefined" && wplc_enable_ga === '1' && wplc_online) {
92
- if (typeof ga !== "undefined") {
93
- ga('send', {
94
- hitType: 'event',
95
- eventCategory: 'WP_Live_Chat_Support',
96
- eventAction: 'Event',
97
- eventLabel: 'Minimize Chat'
98
- });
99
- }
100
- }
101
- });
102
- jQuery(document).on("wplc_start_chat", function() {
103
- if (typeof wplc_enable_ga !== "undefined" && wplc_enable_ga === '1') {
104
- if (typeof ga !== "undefined") {
105
- ga('send', {
106
- hitType: 'event',
107
- eventCategory: 'WP_Live_Chat_Support',
108
- eventAction: 'Event',
109
- eventLabel: 'Start Chat'
110
- });
111
- }
112
- }
113
- });
114
- jQuery(document).on("wplc_open_chat_1", function() {
115
- if (typeof wplc_enable_ga !== "undefined" && wplc_enable_ga === '1') {
116
- if (typeof ga !== "undefined") {
117
- ga('send', {
118
- hitType: 'event',
119
- eventCategory: 'WP_Live_Chat_Support',
120
- eventAction: 'Event',
121
- eventLabel: 'Start Chat - Step 1'
122
- });
123
- }
124
- }
125
- });
126
- jQuery(document).on("wplc_open_chat_2", function() {
127
- if (typeof wplc_enable_ga !== "undefined" && wplc_enable_ga === '1') {
128
- if (typeof ga !== "undefined") {
129
- ga('send', {
130
- hitType: 'event',
131
- eventCategory: 'WP_Live_Chat_Support',
132
- eventAction: 'Event',
133
- eventLabel: 'Start Chat - Step 2'
134
- });
135
- }
136
- }
137
- });
138
-
139
- jQuery(document).on("wplc_agent_joined", function(e) {
140
- var temail = '';
141
- var tname = '';
142
- var taid = '';
143
- var ta_tagline = '';
144
- var ta_bio = '';
145
- var ta_social_links = '';
146
-
147
- if (typeof e.ndata.other.email !== "undefined") { temail = e.ndata.other.email; }
148
- if (typeof e.ndata.other.name !== "undefined") { tname = e.ndata.other.name; }
149
- if (typeof e.ndata.other.aid !== "undefined") { taid = e.ndata.other.aid; }
150
- if (typeof e.ndata.other.agent_tagline !== "undefined") { ta_tagline = e.ndata.other.agent_tagline; }
151
- if (typeof e.ndata.other.agent_bio !== "undefined") { ta_bio = e.ndata.other.agent_bio; }
152
- if (typeof e.ndata.other.social_links !== "undefined") { ta_social_links = e.ndata.other.social_links; }
153
- wplc_current_agent = e.ndata.other;
154
-
155
- jQuery(".wplc_no_answer").remove();
156
-
157
- jQuery(".admin_chat_name").html(tname);
158
- wplc_node_pair_name = tname;
159
- wplc_agent_name = tname;
160
- });
161
-
162
-
163
- jQuery("body").on("click", "#wplc_start_chat_btn", function() {
164
- var wplc_is_gdpr_enabled = jQuery(this).attr('data-wplc-gdpr-enabled');
165
- if(typeof wplc_is_gdpr_enabled !== "undefined" && (wplc_is_gdpr_enabled === 'true' )){
166
- var wplc_gdpr_opt_in_checked = jQuery("#wplc_chat_gdpr_opt_in").is(':checked');
167
- if(typeof wplc_gdpr_opt_in_checked === "undefined" || wplc_gdpr_opt_in_checked === false){
168
- /* GDPR requirements not met */
169
- jQuery("#wplc_chat_gdpr_opt_in").addClass('incomplete');
170
- return false;
171
- }
172
- jQuery("#wplc_chat_gdpr_opt_in").removeClass('incomplete');
173
- }
174
-
175
- var wplc_name = jQuery("#wplc_name").val();
176
- var wplc_email = jQuery("#wplc_email").val();
177
-
178
- if (wplc_name.length <= 0) { alert(wplc_error_messages.valid_name); return false; }
179
- if (wplc_email.length <= 0) { alert(wplc_error_messages.valid_email); return false; }
180
-
181
- if(jQuery("#wplc_email").attr('wplc_hide') !== "1"){
182
- var testEmail = /^[A-Z0-9._%+-]+@([A-Z0-9-]+\.)+[A-Z]{2,12}$/i;
183
-
184
- //var testEmail = /^[A-Z0-9._%+-]+@([A-Z0-9-]+\.)+[A-Z]{2,4}$/i;
185
- if (!testEmail.test(wplc_email)){
186
- alert(wplc_error_messages.valid_email); return false;
187
- }
188
- }
189
- document.getElementById('wplc_chatmsg').disabled = false;
190
-
191
- /* start the long polling */
192
- wplc_run = true;
193
-
194
- wplc_send_welcome_message();
195
- wplc_scroll_to_bottom();
196
-
197
- /*
198
- if (wplc_filter_run_override === "1" || wplc_online === false) { } else {
199
- initial_data.status = 2;
200
- // force the loop to start only now, as we are not using the initiate extension
201
- wplc_call_to_server_chat(initial_data,false,false);
202
- }*/
203
-
204
- jQuery.event.trigger({type: "wplc_start_chat"});
205
-
206
-
207
- var date = new Date();
208
- date.setTime(date.getTime() + (2 * 60 * 1000));
209
-
210
- wplc_cid = Cookies.get('wplc_cid');
211
-
212
- if(typeof wplc_start_chat_pro_custom_fields_filter !== "undefined" && typeof wplc_start_chat_pro_custom_fields_filter === "function"){
213
- wplc_extra_data = wplc_start_chat_pro_custom_fields_filter(wplc_extra_data);
214
- }
215
-
216
- if (typeof wplc_cid !== "undefined" && wplc_cid !== null) {
217
- /* we've already recorded a cookie for this person */
218
- var data = {
219
- action: 'wplc_start_chat',
220
- security: wplc_nonce,
221
- name: wplc_name,
222
- email: wplc_email,
223
- cid: wplc_cid,
224
- wplcsession: wplc_session_variable,
225
- wplc_extra_data:wplc_extra_data
226
- };
227
-
228
- if(typeof wplc_start_chat_pro_data !== "undefined" && typeof wplc_start_chat_pro_data === "function"){
229
- data = wplc_start_chat_pro_data(data);
230
- }
231
- } else { // no cookie recorded yet for this visitor
232
- var data = {
233
- action: 'wplc_start_chat',
234
- security: wplc_nonce,
235
- name: wplc_name,
236
- email: wplc_email,
237
- wplcsession: wplc_session_variable,
238
- wplc_extra_data:wplc_extra_data
239
- };
240
-
241
- if(typeof wplc_start_chat_pro_data !== "undefined" && typeof wplc_start_chat_pro_data === "function"){
242
- data = wplc_start_chat_pro_data(data);
243
- }
244
- }
245
-
246
- Cookies.set('wplc_name', wplc_name, { path: '/' } );
247
- Cookies.set('wplc_email', wplc_email, { path: '/' } );
248
-
249
- wplc_server.send(wplc_ajaxurl, data, "POST", 120000,
250
- function(response){
251
- wplc_chat_status = 2;
252
- Cookies.set('wplc_chat_status', 2, { expires: date, path: '/' });
253
- wplc_cid = jQuery.trim(response);
254
-
255
- //All sorted, let's check for message transport mode
256
- wplc_server.prepareTransport(function(){
257
- //Transport ready...
258
- wplc_server_last_loop_data.status = 2; //Set to waiting
259
- if (wplc_filter_run_override === "1" || wplc_online === false) { } else {
260
- wplc_call_to_server_chat(wplc_server_last_loop_data);
261
- }
262
- }, wplc_user_message_receiver, wplc_user_retry_handler, wplc_log_connection_error);
263
- },
264
- function(){
265
- //Fails
266
- },
267
- function(response, wplc_send_data){
268
- //Complete
269
- if (typeof wplc_send_data !== "undefined" && typeof wplc_send_data['action'] !== "undefined" && wplc_send_data['action'] == 'wplc_start_chat') {
270
- /* we got here because the short poll (when disabling the initiate chat feature) comes back on the "complete" callback. This check makes sure we restart the longpoll */
271
- wplc_chat_status = 2;
272
- Cookies.set('wplc_chat_status', 2, { expires: date, path: '/' });
273
- wplc_cid = jQuery.trim(response);
274
-
275
- //All sorted, let's check for message transport mode
276
- wplc_server.prepareTransport(function(){
277
- //Transport ready...
278
- wplc_server_last_loop_data.status = 2; //Set to waiting
279
- if (wplc_filter_run_override === "1" || wplc_online === false) { } else {
280
- wplc_call_to_server_chat(wplc_server_last_loop_data);
281
- }
282
- }, wplc_user_message_receiver, wplc_user_retry_handler, wplc_log_connection_error);
283
- }
284
-
285
- }
286
- );
287
- });
288
-
289
-
290
-
291
-
292
-
293
-
294
-
295
- jQuery("body").on("keyup","#wplc_chatmsg", function(event){
296
- if(event.keyCode === 13){
297
- jQuery("#wplc_send_msg").trigger("click");
298
- }
299
- });
300
- jQuery("body").on("click", "#wplc_send_msg", function() {
301
- var wplc_cid = jQuery("#wplc_cid").val();
302
- if (wplc_cid.length < 1) {
303
- /* failover for wplc_cid */
304
- var wplc_cid = Cookies.get('wplc_cid');
305
- }
306
- var wplc_chat = wplc_strip(document.getElementById('wplc_chatmsg').value);
307
-
308
- if(wplc_chat !== ""){
309
- var wplc_name = jQuery("#wplc_name").val();
310
- if (typeof wplc_name == "undefined" || wplc_name == null || wplc_name == "") {
311
- wplc_name = Cookies.get('wplc_name');
312
- }
313
- if (typeof wplc_name == "undefined") {
314
- wplc_name = 'Guest';
315
- }
316
-
317
- var wplc_email = jQuery("#wplc_email").val();
318
- if (typeof wplc_email == "undefined" || wplc_email == null || wplc_email == "") {
319
- wplc_email = Cookies.get('wplc_email');
320
- }
321
- if (typeof wplc_email == "undefined") {
322
- wplc_email = '';
323
- }
324
-
325
-
326
-
327
-
328
- /*Nifty format Parse*/
329
- var wplc_chat_parsed = wplc_chat;
330
-
331
- //if(typeof niftyFormatParser !== "undefined"){
332
- // wplc_chat_parsed = niftyFormatParser(wplc_chat_parsed);
333
- //}
334
-
335
- if( typeof wplc_display_name !== 'undefined' ){
336
- /**
337
- * We're still using the old options
338
- */
339
- if(wplc_display_name == 'display'){
340
- if (wplc_gravatar_image.length > 1) {
341
- jQuery("#wplc_chatbox").append("<span class='wplc-user-message wplc-color-bg-1 wplc-color-2 wplc-color-border-1'>"+wplc_gravatar_image+" <strong>"+wplc_name+"</strong>: "+wplc_chat_parsed+"</span><br /><div class='wplc-clear-float-message'></div>");
342
- } else {
343
- jQuery("#wplc_chatbox").append("<span class='wplc-user-message wplc-color-bg-1 wplc-color-2 wplc-color-border-1'><img src='//www.gravatar.com/avatar/"+md5(wplc_email)+"?s=30' class='wplc-user-message-avatar' \/> <strong>"+wplc_name+"</strong>: "+wplc_chat_parsed+"</span><br /><div class='wplc-clear-float-message'></div>");
344
- }
345
- } else {
346
- jQuery("#wplc_chatbox").append("<span class='wplc-user-message wplc-color-bg-1 wplc-color-2 wplc-color-border-1'>"+wplc_chat_parsed+"</span><div class='wplc-clear-float-message'></div>");
347
- }
348
- } else {
349
- the_message = {};
350
- the_message.originates = 2;
351
- the_message.msg = wplc_chat_parsed;
352
- the_message.other = {};
353
- var wplc_d = new Date();
354
- the_message.other.datetime = Math.round( wplc_d.getTime() / 1000 );
355
- wplc_push_message_to_chatbox(the_message,'u', function() {
356
- wplc_scroll_to_bottom();
357
- });
358
-
359
-
360
- }
361
-
362
- wplc_scroll_to_bottom();
363
-
364
-
365
- var data = {
366
- action: 'wplc_user_send_msg',
367
- security: wplc_nonce,
368
- cid: wplc_cid,
369
- msg: wplc_chat_parsed,
370
- wplc_extra_data:wplc_extra_data
371
- };
372
-
373
- wplc_server.sendMessage(wplc_ajaxurl, data, "POST", 120000,
374
- function(){
375
- //Success
376
- wplc_server.asyncStorage(wplc_ajaxurl, data, 120000);
377
- }, function(){
378
- //Fail
379
- }, function(){
380
- //Complete
381
- }
382
- );
383
-
384
- jQuery.event.trigger({type: "wplc_update_gdpr_last_chat_id"});
385
-
386
- if (typeof wplc_enable_ga !== "undefined" && wplc_enable_ga === '1') {
387
- if (typeof ga !== "undefined") {
388
- ga('send', {
389
- hitType: 'event',
390
- eventCategory: 'WP_Live_Chat_Support',
391
- eventAction: 'Event',
392
- eventLabel: 'User Send Message'
393
- });
394
- }
395
- }
396
- }
397
-
398
- jQuery("#wplc_chatmsg").val('');
399
-
400
-
401
- });
402
-
403
- jQuery(document).on("wplc_open_chat", function (event) {
404
- /* what is the current status? */
405
- wplc_chat_status = Cookies.get('wplc_chat_status');
406
- if( typeof wplc_chat_status === 'undefined' ){
407
- Cookies.set('wplc_chat_status', 5, { expires: 1, path: '/' });
408
- }
409
- var wplc_tmp_checker = wplc_pre_open_check_status(status, function() {
410
- open_chat();
411
- });
412
- });
413
-
414
- jQuery(document).on("wplc_end_chat", function(){
415
- /* Clear Cookies */
416
- Cookies.remove('wplc_chat_status');
417
- Cookies.remove('wplc_cid');
418
- //Cookies.remove('wplc_name');
419
- //Cookies.remove('wplc_email');
420
-
421
- /* Close ports if applicable*/
422
- wplc_server.forceClosePort();
423
-
424
- /* Check if we should redirect */
425
- if(typeof wplc_redirect_thank_you !== "undefined" && wplc_redirect_thank_you !== null && wplc_redirect_thank_you !== ""){
426
- window.location = wplc_redirect_thank_you;
427
- }
428
-
429
- if(jQuery('#wplc_gdpr_end_chat_notice_container').length > 0){
430
- jQuery("#wplc_gdpr_end_chat_notice_container").fadeIn('fast');
431
- }
432
- });
433
-
434
- /** End Chat from User Side */
435
- jQuery(document).on("wplc_end_chat_as_user", function(e){
436
- jQuery.event.trigger({type: "wplc_end_chat"});
437
- });
438
-
439
- function wplc_pre_open_check_status(status, callback) {
440
- if (typeof wplc_chat_status !== 'undefined' && ( typeof wplc_chat_status.length !== 'undefined' && wplc_chat_status.length > 0 ) ) {
441
- if (parseInt(wplc_chat_status) === 10 || parseInt(wplc_chat_status) === 7) {
442
- /* it was minimized or timedout, now we need to open it - set status to 3 (back to open chat) */
443
- Cookies.set('wplc_chat_status', 3, { expires: 1, path: '/' });
444
-
445
- }
446
- if (parseInt(wplc_chat_status) === 0 || parseInt(wplc_chat_status) === 12) {
447
- /* no answer from agent previously */
448
- // Cookies.set('wplc_chat_status', 5, { expires: 1, path: '/' });
449
- }
450
- if (parseInt(wplc_chat_status) === 8) {
451
- /* no answer from agent previously */
452
- cnonsole.log("now setting it to 5");
453
- Cookies.set('wplc_chat_status', 5, { expires: 1, path: '/' });
454
- }
455
-
456
- }
457
- callback();
458
- }
459
-
460
- if(typeof wplc_elem_trigger_id !== "undefined" && wplc_elem_trigger_id !== ""){
461
- var wplc_click_or_hover = 0;
462
- var wplc_class_or_id = 0;
463
-
464
- if(typeof wplc_elem_trigger_action !== "undefined" && wplc_elem_trigger_action !== ""){ wplc_click_or_hover = parseInt(wplc_elem_trigger_action); }
465
- if(typeof wplc_elem_trigger_type !== "undefined" && wplc_elem_trigger_type !== ""){ wplc_class_or_id = parseInt(wplc_elem_trigger_type); }
466
-
467
- try{
468
- jQuery( (wplc_class_or_id === 1 ? "#" : ".") + wplc_elem_trigger_id).on( (wplc_click_or_hover === 1 ? "mouseenter" : "click"), function(){
469
- open_chat(0);
470
- });
471
- } catch (e){
472
- console.log("WPLC Error: \"" + (wplc_class_or_id === 1 ? "#" : ".") + wplc_elem_trigger_id + "\" is not a valid selector");
473
- }
474
- }
475
-
476
- });
477
-
478
-
479
- //open chat window function
480
-
481
- function open_chat(force){
482
- jQuery.event.trigger({type: "wplc_open_chat_1"});
483
-
484
-
485
-
486
- wplc_chat_status = Cookies.get('wplc_chat_status');
487
-
488
- /**
489
- * double check we have a cookie. If not, set to 5 so that the chat box can atleast restart
490
- * https://github.com/CodeCabin/wp-live-chat-support/issues/313
491
- */
492
- if( wplc_chat_status == null || wplc_chat_status == 'null' ){
493
- Cookies.set('wplc_chat_status', 5, { expires: 1, path: '/' });
494
- wplc_chat_status = 5;
495
- }
496
-
497
-
498
- if (parseInt(wplc_chat_status) == 3 || parseInt(wplc_chat_status) == 2 || parseInt(wplc_chat_status) == 0 || parseInt(wplc_chat_status) == 12) {
499
-
500
- jQuery.event.trigger({type: "wplc_open_chat_2", wplc_online: wplc_online});
501
-
502
- Cookies.set('wplc_had_chat', true, { path: '/' });
503
-
504
-
505
- wplc_send_welcome_message();
506
-
507
- if (parseInt(wplc_chat_status) == 0 || parseInt( wplc_chat_status ) == 11 || parseInt(wplc_chat_status) == 12) {
508
- /* user was a missed chat, now lets change them back to "pending" */
509
- wplc_chat_status = 2;
510
- }
511
- if(typeof wplc_start_chat_pro_custom_fields_filter !== "undefined" && typeof wplc_start_chat_pro_custom_fields_filter === "function"){
512
- wplc_extra_data = wplc_start_chat_pro_custom_fields_filter(wplc_extra_data);
513
- }
514
-
515
- if (wplc_online) {
516
- var data = {
517
- action: 'wplc_user_maximize_chat',
518
- security: wplc_nonce,
519
- cid: wplc_cid,
520
- chat_status : parseInt(wplc_chat_status),
521
- wplc_extra_data:wplc_extra_data
522
- };
523
- jQuery.post(wplc_ajaxurl, data, function(response) {
524
-
525
- //log("user maximized chat success");
526
- });
527
- }
528
-
529
- }
530
- else if (parseInt(wplc_chat_status) == 10) {
531
- jQuery("#wp-live-chat-minimize").trigger("click");
532
-
533
- }
534
-
535
- else if (wplc_chat_status == 5 || wplc_chat_status == 9 || wplc_chat_status == 8){
536
- if(jQuery("#wp-live-chat-2").is(":visible") === false && jQuery("#wp-live-chat-4").is(":visible") === false){
537
- jQuery("#wp-live-chat-2").show();
538
- jQuery("#wp-live-chat-2-inner").show();
539
- var wplc_visitor_name = Cookies.get('wplc_name');
540
- if(Cookies.get('wplc_email') !== "no email set" && typeof wplc_visitor_name !== "undefined"){
541
- jQuery("#wplc_name").val(Cookies.get('wplc_name'));
542
- jQuery("#wplc_email").val(Cookies.get('wplc_email'));
543
- }
544
- jQuery("#wp-live-chat-header").addClass("active");
545
- }
546
- }
547
- /*else if (wplc_chat_status == 2){
548
- jQuery("#wp-live-chat-3").show();
549
- } */
550
- else if(wplc_chat_status == 1){
551
- jQuery("#wp-live-chat-4").show();
552
- jQuery("#wplc_social_holder").show();
553
- jQuery("#nifty_ratings_holder").show();
554
- jQuery.event.trigger({type: "wplc_animation_done"});
555
- jQuery("#wplc_chatbox").append(wplc_error_messages.chat_ended_by_operator+"<br />");
556
- wplc_scroll_to_bottom();
557
- jQuery("#wp-live-chat-minimize").hide();
558
- document.getElementById('wplc_chatmsg').disabled = true;
559
- }
560
-
561
- wplc_is_chat_open = true;
562
-
563
-
564
-
565
-
566
  }
1
+ jQuery(function() {
2
+
3
+
4
+
5
+ //placeholder text fix for IE
6
+ jQuery('#wp-live-chat [placeholder]').focus(function() {
7
+ var input = jQuery(this);
8
+ if (input.val() == input.attr('placeholder')) {
9
+ input.val('');
10
+ input.removeClass('placeholder');
11
+ }
12
+ }).blur(function() {
13
+ var input = jQuery(this);
14
+ if (input.val() == '' || input.val() == input.attr('placeholder')) {
15
+ input.addClass('placeholder');
16
+ input.val(input.attr('placeholder'));
17
+ }
18
+ }).blur();
19
+
20
+
21
+ /* minimize chat window */
22
+ jQuery("body").on("click", "#wp-live-chat-minimize", function() {
23
+
24
+ jQuery.event.trigger({type: "wplc_minimize_chat"});
25
+
26
+
27
+ });
28
+
29
+
30
+ /* close chat window */
31
+ jQuery("body").on("click", "#wp-live-chat-close", function() {
32
+
33
+ jQuery("#wp-live-chat").hide();
34
+ jQuery("#wp-live-chat-1").hide();
35
+ jQuery("#wp-live-chat-2").hide();
36
+ jQuery("#wp-live-chat-3").hide();
37
+ jQuery("#wp-live-chat-4").hide();
38
+ jQuery("#wplc_social_holder").hide();
39
+ jQuery("#nifty_ratings_holder").hide();
40
+ jQuery("#wp-live-chat-react").hide();
41
+ jQuery("#wp-live-chat-minimize").hide();
42
+ if (typeof wplc_hide_chat !== "undefined" && wplc_hide_chat !== "" && wplc_hide_chat !== null) { Cookies.set('wplc_hide', wplc_hide_chat , { expires: 1, path: '/' }); } else {
43
+ var wplc_expire_date = new Date();
44
+ var minutes = 2;
45
+ wplc_expire_date.setTime(wplc_expire_date.getTime() + (minutes * 60 * 1000));
46
+ Cookies.set('wplc_hide', "yes" , { expires: wplc_expire_date , path: '/' });
47
+ }
48
+ var data = {
49
+ action: 'wplc_user_close_chat',
50
+ security: wplc_nonce,
51
+ cid: wplc_cid,
52
+ status: wplc_chat_status
53
+ };
54
+ jQuery.post(wplc_ajaxurl, data, function(response) {
55
+
56
+
57
+ });
58
+ });
59
+
60
+
61
+ //allows for a class to open chat window now
62
+ jQuery("body").on("click", ".wp-live-chat-now", function() {
63
+ open_chat(0);
64
+ });
65
+
66
+ jQuery(document).on("wplc_minimize_chat", function() {
67
+ wplc_is_minimized = true;
68
+
69
+ Cookies.set('wplc_minimize', "yes", { expires: 1, path: '/' });
70
+ wplc_chat_status = Cookies.get('wplc_chat_status');
71
+
72
+ if(typeof wplc_start_chat_pro_custom_fields_filter !== "undefined" && typeof wplc_start_chat_pro_custom_fields_filter === "function"){
73
+ wplc_extra_data = wplc_start_chat_pro_custom_fields_filter(wplc_extra_data);
74
+ }
75
+
76
+ if(wplc_chat_status != 5 && wplc_chat_status != 10 && wplc_chat_status != 9 && wplc_chat_status != 8){
77
+ if (wplc_online) {
78
+ var data = {
79
+ action: 'wplc_user_minimize_chat',
80
+ security: wplc_nonce,
81
+ cid: wplc_cid,
82
+ wplc_extra_data:wplc_extra_data
83
+ };
84
+
85
+ jQuery.post(wplc_ajaxurl, data, function(response) {
86
+
87
+ });
88
+ }
89
+ }
90
+
91
+ if (typeof wplc_enable_ga !== "undefined" && wplc_enable_ga === '1' && wplc_online) {
92
+ if (typeof ga !== "undefined") {
93
+ ga('send', {
94
+ hitType: 'event',
95
+ eventCategory: 'WP_Live_Chat_Support',
96
+ eventAction: 'Event',
97
+ eventLabel: 'Minimize Chat'
98
+ });
99
+ }
100
+ }
101
+ });
102
+ jQuery(document).on("wplc_start_chat", function() {
103
+ if (typeof wplc_enable_ga !== "undefined" && wplc_enable_ga === '1') {
104
+ if (typeof ga !== "undefined") {
105
+ ga('send', {
106
+ hitType: 'event',
107
+ eventCategory: 'WP_Live_Chat_Support',
108
+ eventAction: 'Event',
109
+ eventLabel: 'Start Chat'
110
+ });
111
+ }
112
+ }
113
+ });
114
+ jQuery(document).on("wplc_open_chat_1", function() {
115
+ if (typeof wplc_enable_ga !== "undefined" && wplc_enable_ga === '1') {
116
+ if (typeof ga !== "undefined") {
117
+ ga('send', {
118
+ hitType: 'event',
119
+ eventCategory: 'WP_Live_Chat_Support',
120
+ eventAction: 'Event',
121
+ eventLabel: 'Start Chat - Step 1'
122
+ });
123
+ }
124
+ }
125
+ });
126
+ jQuery(document).on("wplc_open_chat_2", function() {
127
+ if (typeof wplc_enable_ga !== "undefined" && wplc_enable_ga === '1') {
128
+ if (typeof ga !== "undefined") {
129
+ ga('send', {
130
+ hitType: 'event',
131
+ eventCategory: 'WP_Live_Chat_Support',
132
+ eventAction: 'Event',
133
+ eventLabel: 'Start Chat - Step 2'
134
+ });
135
+ }
136
+ }
137
+ });
138
+
139
+ jQuery(document).on("wplc_agent_joined", function(e) {
140
+ var temail = '';
141
+ var tname = '';
142
+ var taid = '';
143
+ var ta_tagline = '';
144
+ var ta_bio = '';
145
+ var ta_social_links = '';
146
+
147
+ if (typeof e.ndata.other.email !== "undefined") { temail = e.ndata.other.email; }
148
+ if (typeof e.ndata.other.name !== "undefined") { tname = e.ndata.other.name; }
149
+ if (typeof e.ndata.other.aid !== "undefined") { taid = e.ndata.other.aid; }
150
+ if (typeof e.ndata.other.agent_tagline !== "undefined") { ta_tagline = e.ndata.other.agent_tagline; }
151
+ if (typeof e.ndata.other.agent_bio !== "undefined") { ta_bio = e.ndata.other.agent_bio; }
152
+ if (typeof e.ndata.other.social_links !== "undefined") { ta_social_links = e.ndata.other.social_links; }
153
+ wplc_current_agent = e.ndata.other;
154
+
155
+ jQuery(".wplc_no_answer").remove();
156
+
157
+ jQuery(".admin_chat_name").html(tname);
158
+ wplc_node_pair_name = tname;
159
+ wplc_agent_name = tname;
160
+ });
161
+
162
+
163
+ jQuery("body").on("click", "#wplc_start_chat_btn", function() {
164
+ var wplc_is_gdpr_enabled = jQuery(this).attr('data-wplc-gdpr-enabled');
165
+ if(typeof wplc_is_gdpr_enabled !== "undefined" && (wplc_is_gdpr_enabled === 'true' )){
166
+ var wplc_gdpr_opt_in_checked = jQuery("#wplc_chat_gdpr_opt_in").is(':checked');
167
+ if(typeof wplc_gdpr_opt_in_checked === "undefined" || wplc_gdpr_opt_in_checked === false){
168
+ /* GDPR requirements not met */
169
+ jQuery("#wplc_chat_gdpr_opt_in").addClass('incomplete');
170
+ return false;
171
+ }
172
+ jQuery("#wplc_chat_gdpr_opt_in").removeClass('incomplete');
173
+ }
174
+
175
+ var wplc_name = jQuery("#wplc_name").val();
176
+ var wplc_email = jQuery("#wplc_email").val();
177
+
178
+ if (wplc_name.length <= 0) { alert(wplc_error_messages.valid_name); return false; }
179
+ if (wplc_email.length <= 0) { alert(wplc_error_messages.valid_email); return false; }
180
+
181
+ if(jQuery("#wplc_email").attr('wplc_hide') !== "1"){
182
+ var testEmail = /^[A-Z0-9._%+-]+@([A-Z0-9-]+\.)+[A-Z]{2,12}$/i;
183
+
184
+ //var testEmail = /^[A-Z0-9._%+-]+@([A-Z0-9-]+\.)+[A-Z]{2,4}$/i;
185
+ if (!testEmail.test(wplc_email)){
186
+ alert(wplc_error_messages.valid_email); return false;
187
+ }
188
+ }
189
+ document.getElementById('wplc_chatmsg').disabled = false;
190
+
191
+ /* start the long polling */
192
+ wplc_run = true;
193
+
194
+ wplc_send_welcome_message();
195
+ wplc_scroll_to_bottom();
196
+
197
+ /*
198
+ if (wplc_filter_run_override === "1" || wplc_online === false) { } else {
199
+ initial_data.status = 2;
200
+ // force the loop to start only now, as we are not using the initiate extension
201
+ wplc_call_to_server_chat(initial_data,false,false);
202
+ }*/
203
+
204
+ jQuery.event.trigger({type: "wplc_start_chat"});
205
+
206
+
207
+ var date = new Date();
208
+ date.setTime(date.getTime() + (2 * 60 * 1000));
209
+
210
+ wplc_cid = Cookies.get('wplc_cid');
211
+
212
+ if(typeof wplc_start_chat_pro_custom_fields_filter !== "undefined" && typeof wplc_start_chat_pro_custom_fields_filter === "function"){
213
+ wplc_extra_data = wplc_start_chat_pro_custom_fields_filter(wplc_extra_data);
214
+ }
215
+
216
+ if (typeof wplc_cid !== "undefined" && wplc_cid !== null) {
217
+ /* we've already recorded a cookie for this person */
218
+ var data = {
219
+ action: 'wplc_start_chat',
220
+ security: wplc_nonce,
221
+ name: wplc_name,
222
+ email: wplc_email,
223
+ cid: wplc_cid,
224
+ wplcsession: wplc_session_variable,
225
+ wplc_extra_data:wplc_extra_data
226
+ };
227
+
228
+ if(typeof wplc_start_chat_pro_data !== "undefined" && typeof wplc_start_chat_pro_data === "function"){
229
+ data = wplc_start_chat_pro_data(data);
230
+ }
231
+ } else { // no cookie recorded yet for this visitor
232
+ var data = {
233
+ action: 'wplc_start_chat',
234
+ security: wplc_nonce,
235
+ name: wplc_name,
236
+ email: wplc_email,
237
+ wplcsession: wplc_session_variable,
238
+ wplc_extra_data:wplc_extra_data
239
+ };
240
+
241
+ if(typeof wplc_start_chat_pro_data !== "undefined" && typeof wplc_start_chat_pro_data === "function"){
242
+ data = wplc_start_chat_pro_data(data);
243
+ }
244
+ }
245
+
246
+ Cookies.set('wplc_name', wplc_name, { path: '/' } );
247
+ Cookies.set('wplc_email', wplc_email, { path: '/' } );
248
+
249
+ wplc_server.send(wplc_ajaxurl, data, "POST", 120000,
250
+ function(response){
251
+ wplc_chat_status = 2;
252
+ Cookies.set('wplc_chat_status', 2, { expires: date, path: '/' });
253
+ wplc_cid = jQuery.trim(response);
254
+
255
+ //All sorted, let's check for message transport mode
256
+ wplc_server.prepareTransport(function(){
257
+ //Transport ready...
258
+ wplc_server_last_loop_data.status = 2; //Set to waiting
259
+ if (wplc_filter_run_override === "1" || wplc_online === false) { } else {
260
+ wplc_call_to_server_chat(wplc_server_last_loop_data);
261
+ }
262
+ }, wplc_user_message_receiver, wplc_user_retry_handler, wplc_log_connection_error);
263
+ },
264
+ function(){
265
+ //Fails
266
+ },
267
+ function(response, wplc_send_data){
268
+ //Complete
269
+ if (typeof wplc_send_data !== "undefined" && typeof wplc_send_data['action'] !== "undefined" && wplc_send_data['action'] == 'wplc_start_chat') {
270
+ /* we got here because the short poll (when disabling the initiate chat feature) comes back on the "complete" callback. This check makes sure we restart the longpoll */
271
+ wplc_chat_status = 2;
272
+ Cookies.set('wplc_chat_status', 2, { expires: date, path: '/' });
273
+ wplc_cid = jQuery.trim(response);
274
+
275
+ //All sorted, let's check for message transport mode
276
+ wplc_server.prepareTransport(function(){
277
+ //Transport ready...
278
+ wplc_server_last_loop_data.status = 2; //Set to waiting
279
+ if (wplc_filter_run_override === "1" || wplc_online === false) { } else {
280
+ wplc_call_to_server_chat(wplc_server_last_loop_data);
281
+ }
282
+ }, wplc_user_message_receiver, wplc_user_retry_handler, wplc_log_connection_error);
283
+ }
284
+
285
+ }
286
+ );
287
+ });
288
+
289
+
290
+
291
+
292
+
293
+
294
+
295
+ jQuery("body").on("keyup","#wplc_chatmsg", function(event){
296
+ if(event.keyCode === 13){
297
+ jQuery("#wplc_send_msg").trigger("click");
298
+ }
299
+ });
300
+ jQuery("body").on("click", "#wplc_send_msg", function() {
301
+ var wplc_cid = jQuery("#wplc_cid").val();
302
+ if (wplc_cid.length < 1) {
303
+ /* failover for wplc_cid */
304
+ var wplc_cid = Cookies.get('wplc_cid');
305
+ }
306
+ var wplc_chat = wplc_strip(document.getElementById('wplc_chatmsg').value);
307
+
308
+ if(wplc_chat !== ""){
309
+ var wplc_name = jQuery("#wplc_name").val();
310
+ if (typeof wplc_name == "undefined" || wplc_name == null || wplc_name == "") {
311
+ wplc_name = Cookies.get('wplc_name');
312
+ }
313
+ if (typeof wplc_name == "undefined") {
314
+ wplc_name = 'Guest';
315
+ }
316
+
317
+ var wplc_email = jQuery("#wplc_email").val();
318
+ if (typeof wplc_email == "undefined" || wplc_email == null || wplc_email == "") {
319
+ wplc_email = Cookies.get('wplc_email');
320
+ }
321
+ if (typeof wplc_email == "undefined") {
322
+ wplc_email = '';
323
+ }
324
+
325
+
326
+
327
+
328
+ /*Nifty format Parse*/
329
+ var wplc_chat_parsed = wplc_chat;
330
+
331
+ //if(typeof niftyFormatParser !== "undefined"){
332
+ // wplc_chat_parsed = niftyFormatParser(wplc_chat_parsed);
333
+ //}
334
+
335
+ if( typeof wplc_display_name !== 'undefined' ){
336
+ /**
337
+ * We're still using the old options
338
+ */
339
+ if(wplc_display_name == 'display'){
340
+ if (wplc_gravatar_image.length > 1) {
341
+ jQuery("#wplc_chatbox").append("<span class='wplc-user-message wplc-color-bg-1 wplc-color-2 wplc-color-border-1'>"+wplc_gravatar_image+" <strong>"+wplc_name+"</strong>: "+wplc_chat_parsed+"</span><br /><div class='wplc-clear-float-message'></div>");
342
+ } else {
343
+ jQuery("#wplc_chatbox").append("<span class='wplc-user-message wplc-color-bg-1 wplc-color-2 wplc-color-border-1'><img src='//www.gravatar.com/avatar/"+md5(wplc_email)+"?s=30&d=mm' class='wplc-user-message-avatar' \/> <strong>"+wplc_name+"</strong>: "+wplc_chat_parsed+"</span><br /><div class='wplc-clear-float-message'></div>");
344
+ }
345
+ } else {
346
+ jQuery("#wplc_chatbox").append("<span class='wplc-user-message wplc-color-bg-1 wplc-color-2 wplc-color-border-1'>"+wplc_chat_parsed+"</span><div class='wplc-clear-float-message'></div>");
347
+ }
348
+ } else {
349
+ the_message = {};
350
+ the_message.originates = 2;
351
+ the_message.msg = wplc_chat_parsed;
352
+ the_message.other = {};
353
+ var wplc_d = new Date();
354
+ the_message.other.datetime = Math.round( wplc_d.getTime() / 1000 );
355
+ wplc_push_message_to_chatbox(the_message,'u', function() {
356
+ wplc_scroll_to_bottom();
357
+ });
358
+
359
+
360
+ }
361
+
362
+ wplc_scroll_to_bottom();
363
+
364
+
365
+ var data = {
366
+ action: 'wplc_user_send_msg',
367
+ security: wplc_nonce,
368
+ cid: wplc_cid,
369
+ msg: wplc_chat_parsed,
370
+ wplc_extra_data:wplc_extra_data
371
+ };
372
+
373
+ wplc_server.sendMessage(wplc_ajaxurl, data, "POST", 120000,
374
+ function(){
375
+ //Success
376
+ wplc_server.asyncStorage(wplc_ajaxurl, data, 120000);
377
+ }, function(){
378
+ //Fail
379
+ }, function(){
380
+ //Complete
381
+ }
382
+ );
383
+
384
+ jQuery.event.trigger({type: "wplc_update_gdpr_last_chat_id"});
385
+
386
+ if (typeof wplc_enable_ga !== "undefined" && wplc_enable_ga === '1') {
387
+ if (typeof ga !== "undefined") {
388
+ ga('send', {
389
+ hitType: 'event',
390
+ eventCategory: 'WP_Live_Chat_Support',
391
+ eventAction: 'Event',
392
+ eventLabel: 'User Send Message'
393
+ });
394
+ }
395
+ }
396
+ }
397
+
398
+ jQuery("#wplc_chatmsg").val('');
399
+
400
+
401
+ });
402
+
403
+ jQuery(document).on("wplc_open_chat", function (event) {
404
+ /* what is the current status? */
405
+ wplc_chat_status = Cookies.get('wplc_chat_status');
406
+ if( typeof wplc_chat_status === 'undefined' ){
407
+ Cookies.set('wplc_chat_status', 5, { expires: 1, path: '/' });
408
+ }
409
+ var wplc_tmp_checker = wplc_pre_open_check_status(status, function() {
410
+ open_chat();
411
+ });
412
+ });
413
+
414
+ jQuery(document).on("wplc_end_chat", function(){
415
+ /* Clear Cookies */
416
+ Cookies.remove('wplc_chat_status');
417
+ Cookies.remove('wplc_cid');
418
+ //Cookies.remove('wplc_name');
419
+ //Cookies.remove('wplc_email');
420
+
421
+ /* Close ports if applicable*/
422
+ wplc_server.forceClosePort();
423
+
424
+ /* Check if we should redirect */
425
+ if(typeof wplc_redirect_thank_you !== "undefined" && wplc_redirect_thank_you !== null && wplc_redirect_thank_you !== ""){
426
+ window.location = wplc_redirect_thank_you;
427
+ }
428
+
429
+ if(jQuery('#wplc_gdpr_end_chat_notice_container').length > 0){
430
+ jQuery("#wplc_gdpr_end_chat_notice_container").fadeIn('fast');
431
+ }
432
+ });
433
+
434
+ /** End Chat from User Side */
435
+ jQuery(document).on("wplc_end_chat_as_user", function(e){
436
+ jQuery.event.trigger({type: "wplc_end_chat"});
437
+ });
438
+
439
+ function wplc_pre_open_check_status(status, callback) {
440
+ if (typeof wplc_chat_status !== 'undefined' && ( typeof wplc_chat_status.length !== 'undefined' && wplc_chat_status.length > 0 ) ) {
441
+ if (parseInt(wplc_chat_status) === 10 || parseInt(wplc_chat_status) === 7) {
442
+ /* it was minimized or timedout, now we need to open it - set status to 3 (back to open chat) */
443
+ Cookies.set('wplc_chat_status', 3, { expires: 1, path: '/' });
444
+
445
+ }
446
+ if (parseInt(wplc_chat_status) === 0 || parseInt(wplc_chat_status) === 12) {
447
+ /* no answer from agent previously */
448
+ // Cookies.set('wplc_chat_status', 5, { expires: 1, path: '/' });
449
+ }
450
+ if (parseInt(wplc_chat_status) === 8) {
451
+ /* no answer from agent previously */
452
+ cnonsole.log("now setting it to 5");
453
+ Cookies.set('wplc_chat_status', 5, { expires: 1, path: '/' });
454
+ }
455
+
456
+ }
457
+ callback();
458
+ }
459
+
460
+ if(typeof wplc_elem_trigger_id !== "undefined" && wplc_elem_trigger_id !== ""){
461
+ var wplc_click_or_hover = 0;
462
+ var wplc_class_or_id = 0;
463
+
464
+ if(typeof wplc_elem_trigger_action !== "undefined" && wplc_elem_trigger_action !== ""){ wplc_click_or_hover = parseInt(wplc_elem_trigger_action); }
465
+ if(typeof wplc_elem_trigger_type !== "undefined" && wplc_elem_trigger_type !== ""){ wplc_class_or_id = parseInt(wplc_elem_trigger_type); }
466
+
467
+ try{
468
+ jQuery( (wplc_class_or_id === 1 ? "#" : ".") + wplc_elem_trigger_id).on( (wplc_click_or_hover === 1 ? "mouseenter" : "click"), function(){
469
+ open_chat(0);
470
+ });
471
+ } catch (e){
472
+ console.log("WPLC Error: \"" + (wplc_class_or_id === 1 ? "#" : ".") + wplc_elem_trigger_id + "\" is not a valid selector");
473
+ }
474
+ }
475
+
476
+ });
477
+
478
+
479
+ //open chat window function
480
+
481
+ function open_chat(force){
482
+ jQuery.event.trigger({type: "wplc_open_chat_1"});
483
+
484
+
485
+
486
+ wplc_chat_status = Cookies.get('wplc_chat_status');
487
+
488
+ /**
489
+ * double check we have a cookie. If not, set to 5 so that the chat box can atleast restart
490
+ * https://github.com/CodeCabin/wp-live-chat-support/issues/313
491
+ */
492
+ if( wplc_chat_status == null || wplc_chat_status == 'null' ){
493
+ Cookies.set('wplc_chat_status', 5, { expires: 1, path: '/' });
494
+ wplc_chat_status = 5;
495
+ }
496
+
497
+
498
+ if (parseInt(wplc_chat_status) == 3 || parseInt(wplc_chat_status) == 2 || parseInt(wplc_chat_status) == 0 || parseInt(wplc_chat_status) == 12) {
499
+
500
+ jQuery.event.trigger({type: "wplc_open_chat_2", wplc_online: wplc_online});
501
+
502
+ Cookies.set('wplc_had_chat', true, { path: '/' });
503
+
504
+
505
+ wplc_send_welcome_message();
506
+
507
+ if (parseInt(wplc_chat_status) == 0 || parseInt( wplc_chat_status ) == 11 || parseInt(wplc_chat_status) == 12) {
508
+ /* user was a missed chat, now lets change them back to "pending" */
509
+ wplc_chat_status = 2;
510
+ }
511
+ if(typeof wplc_start_chat_pro_custom_fields_filter !== "undefined" && typeof wplc_start_chat_pro_custom_fields_filter === "function"){
512
+ wplc_extra_data = wplc_start_chat_pro_custom_fields_filter(wplc_extra_data);
513
+ }
514
+
515
+ if (wplc_online) {
516
+ var data = {
517
+ action: 'wplc_user_maximize_chat',
518
+ security: wplc_nonce,
519
+ cid: wplc_cid,
520
+ chat_status : parseInt(wplc_chat_status),
521
+ wplc_extra_data:wplc_extra_data
522
+ };
523
+ jQuery.post(wplc_ajaxurl, data, function(response) {
524
+
525
+ //log("user maximized chat success");
526
+ });
527
+ }
528
+
529
+ }
530
+ else if (parseInt(wplc_chat_status) == 10) {
531
+ jQuery("#wp-live-chat-minimize").trigger("click");
532
+
533
+ }
534
+
535
+ else if (wplc_chat_status == 5 || wplc_chat_status == 9 || wplc_chat_status == 8){
536
+ if(jQuery("#wp-live-chat-2").is(":visible") === false && jQuery("#wp-live-chat-4").is(":visible") === false){
537
+ jQuery("#wp-live-chat-2").show();
538
+ jQuery("#wp-live-chat-2-inner").show();
539
+ var wplc_visitor_name = Cookies.get('wplc_name');
540
+ if(Cookies.get('wplc_email') !== "no email set" && typeof wplc_visitor_name !== "undefined"){
541
+ jQuery("#wplc_name").val(Cookies.get('wplc_name'));
542
+ jQuery("#wplc_email").val(Cookies.get('wplc_email'));
543
+ }
544
+ jQuery("#wp-live-chat-header").addClass("active");
545
+ }
546
+ }
547
+ /*else if (wplc_chat_status == 2){
548
+ jQuery("#wp-live-chat-3").show();
549
+ } */
550
+ else if(wplc_chat_status == 1){
551
+ jQuery("#wp-live-chat-4").show();
552
+ jQuery("#wplc_social_holder").show();
553
+ jQuery("#nifty_ratings_holder").show();
554
+ jQuery.event.trigger({type: "wplc_animation_done"});
555
+ jQuery("#wplc_chatbox").append(wplc_error_messages.chat_ended_by_operator+"<br />");
556
+ wplc_scroll_to_bottom();
557
+ jQuery("#wp-live-chat-minimize").hide();
558
+ document.getElementById('wplc_chatmsg').disabled = true;
559
+ }
560
+
561
+ wplc_is_chat_open = true;
562
+
563
+
564
+
565
+
566
  }
languages/wplivechat-bg_BG.mo CHANGED
Binary file
languages/wplivechat-bg_BG.po CHANGED
@@ -1,6070 +1,5842 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: wplivechat-bg\n"
4
- "POT-Creation-Date: 2018-07-18 20:16+0200\n"
5
- "PO-Revision-Date: 2018-07-18 20:16+0200\n"
6
- "Last-Translator: \n"
7
- "Language-Team: \n"
8
- "Language: bg_BG\n"
9
- "MIME-Version: 1.0\n"
10
- "Content-Type: text/plain; charset=UTF-8\n"
11
- "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 2.0.4\n"
13
- "X-Poedit-KeywordsList: _;gettext;gettext_noop;__;_e\n"
14
- "X-Poedit-Basepath: ../..\n"
15
- "Plural-Forms: nplurals=2; plural=(n != 1);\n"
16
- "X-Poedit-SearchPath-0: wp-live-chat-support\n"
17
- "X-Poedit-SearchPath-1: wp-live-chat-support-pro\n"
18
- "X-Poedit-SearchPath-2: wp-live-chat-support-mobile-and-desktop-app\n"
19
-
20
- #: wp-live-chat-support-mobile-and-desktop-app/includes/update_control.php:38
21
- #: wp-live-chat-support-mobile-and-desktop-app/wp-live-chat-support-mobile-and-desktop-app.php:69
22
- msgid "Mobile and Desktop App"
23
- msgstr "Мобилно или десктоп приложение"
24
-
25
- #: wp-live-chat-support-mobile-and-desktop-app/includes/update_control.php:109
26
- #: wp-live-chat-support/includes/update_control.class.php:133
27
- msgid ""
28
- "An Unexpected HTTP Error occurred during the API request.</p> <p><a href=\"?"
29
- "\" onclick=\"document.location.reload(); return false;\">Try again</a>"
30
- msgstr ""
31
- "Неочаквана HTTP грешка по време на API запитване. </p> <p><a href=\"?\" "
32
- "onclick=\"document.location.reload(); return false;\">Опитайте отново\n"
33
- "</a>"
34
-
35
- #: wp-live-chat-support-mobile-and-desktop-app/includes/update_control.php:114
36
- #: wp-live-chat-support/includes/update_control.class.php:138
37
- msgid "An unknown error occurred"
38
- msgstr "Възникна непозната грешка"
39
-
40
- #: wp-live-chat-support-mobile-and-desktop-app/modules/api/wplc-api-devices.php:599
41
- #, fuzzy
42
- #| msgid "Add Quick Responses to your Live Chat"
43
- msgid "Add Quick Responses to your Live Chat with our Pro Add-on"
44
- msgstr "Добави бързи отговори към твоя Live Chat"
45
-
46
- #: wp-live-chat-support-mobile-and-desktop-app/modules/device_manager.php:22
47
- #, fuzzy
48
- #| msgid "Device"
49
- msgid "Devices"
50
- msgstr "Устройство"
51
-
52
- #: wp-live-chat-support-mobile-and-desktop-app/modules/device_manager.php:35
53
- #, fuzzy
54
- #| msgid "WP Live Chat Support Settings"
55
- msgid "WP Live Chat Support - Devices"
56
- msgstr "WP Live Chat настройки за поддръжка"
57
-
58
- #: wp-live-chat-support-mobile-and-desktop-app/modules/device_manager.php:96
59
- #: wp-live-chat-support-mobile-and-desktop-app/modules/device_manager.php:339
60
- msgid "Device Name Not Found"
61
- msgstr ""
62
-
63
- #: wp-live-chat-support-mobile-and-desktop-app/modules/device_manager.php:97
64
- #, fuzzy
65
- #| msgid "Linked Domains"
66
- msgid "Linked to"
67
- msgstr "Свързани домейни"
68
-
69
- #: wp-live-chat-support-mobile-and-desktop-app/modules/device_manager.php:148
70
- #, fuzzy
71
- #| msgid "Device"
72
- msgid "Add Device"
73
- msgstr "Устройство"
74
-
75
- #: wp-live-chat-support-mobile-and-desktop-app/modules/device_manager.php:149
76
- msgid "Simply scan the QR code below"
77
- msgstr ""
78
-
79
- #: wp-live-chat-support-mobile-and-desktop-app/modules/device_manager.php:161
80
- msgid "Or enter data manually"
81
- msgstr ""
82
-
83
- #: wp-live-chat-support-mobile-and-desktop-app/modules/device_manager.php:162
84
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:107
85
- #: wp-live-chat-support/wp-live-chat-support.php:5541
86
- msgid "API Key"
87
- msgstr "API ключ"
88
-
89
- #: wp-live-chat-support-mobile-and-desktop-app/modules/device_manager.php:165
90
- #, fuzzy
91
- #| msgid "Add Agent"
92
- msgid "For Agent"
93
- msgstr "Добави агент"
94
-
95
- #: wp-live-chat-support-mobile-and-desktop-app/modules/device_manager.php:167
96
- #, fuzzy
97
- #| msgid "Agents"
98
- msgid "Agent ID"
99
- msgstr "Агенти"
100
-
101
- #: wp-live-chat-support-mobile-and-desktop-app/modules/device_manager.php:170
102
- msgid "Rest End Point"
103
- msgstr ""
104
-
105
- #: wp-live-chat-support-mobile-and-desktop-app/modules/device_manager.php:177
106
- msgid "Need a link to the app?"
107
- msgstr ""
108
-
109
- #: wp-live-chat-support-mobile-and-desktop-app/modules/device_manager.php:178
110
- msgid "Go to PlayStore"
111
- msgstr ""
112
-
113
- #: wp-live-chat-support-mobile-and-desktop-app/modules/device_manager.php:181
114
- msgid "Go to Apple Store"
115
- msgstr ""
116
-
117
- #: wp-live-chat-support-mobile-and-desktop-app/modules/device_manager.php:200
118
- msgid "Device Limit Reached"
119
- msgstr ""
120
-
121
- #: wp-live-chat-support-mobile-and-desktop-app/modules/device_manager.php:201
122
- msgid "Your maximum device limit has been reached"
123
- msgstr ""
124
-
125
- #: wp-live-chat-support-mobile-and-desktop-app/modules/device_manager.php:203
126
- msgid "Increase your device limit to add additional devices"
127
- msgstr ""
128
-
129
- #: wp-live-chat-support-mobile-and-desktop-app/modules/device_manager.php:206
130
- msgid "Increase Limit"
131
- msgstr ""
132
-
133
- #: wp-live-chat-support-mobile-and-desktop-app/modules/device_manager.php:207
134
- #, fuzzy
135
- #| msgid "Contact us"
136
- msgid "Contact Us"
137
- msgstr "Свържете се с нас"
138
-
139
- #: wp-live-chat-support-mobile-and-desktop-app/modules/device_manager.php:525
140
- #, fuzzy
141
- #| msgid "View Chat History"
142
- msgid "New Chat from"
143
- msgstr "Преглед история на чата"
144
-
145
- #: wp-live-chat-support-mobile-and-desktop-app/modules/device_manager.php:525
146
- msgid "Tap here to accept"
147
- msgstr ""
148
-
149
- #: wp-live-chat-support-mobile-and-desktop-app/modules/device_manager.php:540
150
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:188
151
- #: wp-live-chat-support/includes/settings_page.php:192
152
- #: wp-live-chat-support/wp-live-chat-support.php:909
153
- #: wp-live-chat-support/wp-live-chat-support.php:3875
154
- #: wp-live-chat-support/wp-live-chat-support.php:4792
155
- msgid "Guest"
156
- msgstr "Гост"
157
-
158
- #: wp-live-chat-support-mobile-and-desktop-app/modules/device_manager.php:544
159
- #, fuzzy
160
- #| msgid "Message"
161
- msgid "New Message"
162
- msgstr "Съобщение"
163
-
164
- #: wp-live-chat-support-mobile-and-desktop-app/wp-live-chat-support-mobile-and-desktop-app.php:117
165
- msgid "Mobile and Desktop App Settings"
166
- msgstr "Конфигуриране на мобилно или десктоп приложение"
167
-
168
- #: wp-live-chat-support-mobile-and-desktop-app/wp-live-chat-support-mobile-and-desktop-app.php:120
169
- msgid "Enable mobile and desktop app"
170
- msgstr "Разрешаване на мобилни и десктоп приложения"
171
-
172
- #: wp-live-chat-support-mobile-and-desktop-app/wp-live-chat-support-mobile-and-desktop-app.php:142
173
- msgid "App"
174
- msgstr "Приложеие"
175
-
176
- #: wp-live-chat-support-pro/functions-pro.php:54
177
- #: wp-live-chat-support-pro/functions-pro.php:173
178
- #: wp-live-chat-support-pro/functions-pro.php:310
179
- #: wp-live-chat-support/functions.php:426
180
- #: wp-live-chat-support/functions.php:648
181
- #: wp-live-chat-support/modules/api/wplc-api-functions.php:577
182
- #: wp-live-chat-support/wp-live-chat-support.php:3529
183
- msgid "IP Address not recorded"
184
- msgstr "IP аадресът не беше записан"
185
-
186
- #: wp-live-chat-support-pro/functions-pro.php:56
187
- #: wp-live-chat-support-pro/functions-pro.php:175
188
- #: wp-live-chat-support-pro/functions-pro.php:312
189
- #: wp-live-chat-support/functions.php:428
190
- #: wp-live-chat-support/functions.php:650
191
- #: wp-live-chat-support/wp-live-chat-support.php:3531
192
- msgid "Whois for"
193
- msgstr "Кой е"
194
-
195
- #: wp-live-chat-support-pro/functions-pro.php:61
196
- #: wp-live-chat-support-pro/functions-pro.php:318
197
- #: wp-live-chat-support/functions.php:433
198
- #: wp-live-chat-support/functions.php:575
199
- #: wp-live-chat-support/functions.php:589
200
- #: wp-live-chat-support/functions.php:1858
201
- msgid "Accept Chat"
202
- msgstr "Приемане на чата"
203
-
204
- #: wp-live-chat-support-pro/functions-pro.php:63
205
- #: wp-live-chat-support-pro/functions-pro.php:320
206
- #: wp-live-chat-support/functions.php:435
207
- msgid "Incoming Chat"
208
- msgstr "Ново чат съобщение"
209
-
210
- #: wp-live-chat-support-pro/functions-pro.php:63
211
- #: wp-live-chat-support-pro/functions-pro.php:320
212
- #: wp-live-chat-support/functions.php:435
213
- msgid "You have an incoming chat."
214
- msgstr "Имате ново съобщение."
215
-
216
- #: wp-live-chat-support-pro/functions-pro.php:67
217
- #: wp-live-chat-support/functions.php:581
218
- #: wp-live-chat-support/functions.php:594
219
- msgid "Open Chat"
220
- msgstr "Отвори чат"
221
-
222
- #: wp-live-chat-support-pro/functions-pro.php:69
223
- #: wp-live-chat-support-pro/functions-pro.php:332
224
- #: wp-live-chat-support/functions.php:441
225
- msgid "Chat Active"
226
- msgstr "Активирай чат"
227
-
228
- #: wp-live-chat-support-pro/functions-pro.php:69
229
- #: wp-live-chat-support-pro/functions-pro.php:332
230
- #: wp-live-chat-support/functions.php:441
231
- msgid "This chat is active"
232
- msgstr "Този чат е активен"
233
-
234
- #: wp-live-chat-support-pro/functions-pro.php:74
235
- #: wp-live-chat-support-pro/functions-pro.php:160
236
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2874
237
- #: wp-live-chat-support/wp-live-chat-support.php:2420
238
- msgid "Initiate Chat"
239
- msgstr "Инициирай чат"
240
-
241
- #: wp-live-chat-support-pro/functions-pro.php:76
242
- #: wp-live-chat-support-pro/functions-pro.php:162
243
- msgid "You must be a chat agent to initiate chats"
244
- msgstr "Трябва да имате чат агент за да инициирате чат"
245
-
246
- #: wp-live-chat-support-pro/functions-pro.php:99
247
- #: wp-live-chat-support/functions.php:673
248
- #: wp-live-chat-support/modules/api/wplc-api-functions.php:593
249
- msgid "New"
250
- msgstr "Нов"
251
-
252
- #: wp-live-chat-support-pro/functions-pro.php:101
253
- #: wp-live-chat-support/functions.php:675
254
- #: wp-live-chat-support/modules/api/wplc-api-functions.php:595
255
- msgid "Returning"
256
- msgstr "Връщане"
257
-
258
- #: wp-live-chat-support-pro/functions-pro.php:143
259
- msgid "Visitors on site"
260
- msgstr "Посетители на сайта"
261
-
262
- #: wp-live-chat-support-pro/functions-pro.php:207
263
- #: wp-live-chat-support-pro/functions-pro.php:362
264
- #: wp-live-chat-support/functions.php:464
265
- #: wp-live-chat-support/wp-live-chat-support.php:3579
266
- msgid "Site Info"
267
- msgstr "Информация за сайта"
268
-
269
- #: wp-live-chat-support-pro/functions-pro.php:209
270
- #: wp-live-chat-support-pro/functions-pro.php:364
271
- #: wp-live-chat-support/functions.php:466
272
- #: wp-live-chat-support/wp-live-chat-support.php:3581
273
- msgid "Chat initiated on:"
274
- msgstr "Чат иницииран на:"
275
-
276
- #: wp-live-chat-support-pro/functions-pro.php:213
277
- #: wp-live-chat-support-pro/functions-pro.php:368
278
- #: wp-live-chat-support/functions.php:470
279
- #: wp-live-chat-support/wp-live-chat-support.php:3585
280
- msgid "Advanced Info"
281
- msgstr "Разширена информация"
282
-
283
- #: wp-live-chat-support-pro/functions-pro.php:215
284
- #: wp-live-chat-support-pro/functions-pro.php:370
285
- #: wp-live-chat-support/functions.php:472
286
- #: wp-live-chat-support/wp-live-chat-support.php:3587
287
- msgid "Browser:"
288
- msgstr "Браузър:"
289
-
290
- #: wp-live-chat-support-pro/functions-pro.php:216
291
- #: wp-live-chat-support-pro/functions-pro.php:371
292
- #: wp-live-chat-support/functions.php:473
293
- #: wp-live-chat-support/wp-live-chat-support.php:3588
294
- msgid "IP Address:"
295
- msgstr "IP Адрес:"
296
-
297
- #: wp-live-chat-support-pro/functions-pro.php:259
298
- msgid "No visitors on-line at the moment"
299
- msgstr "В момента, няма посетители на линия"
300
-
301
- #: wp-live-chat-support-pro/functions-pro.php:287
302
- #: wp-live-chat-support/functions.php:409
303
- msgid "No chat sessions available at the moment"
304
- msgstr "В момента няма чат сесии"
305
-
306
- #: wp-live-chat-support-pro/functions-pro.php:289
307
- #: wp-live-chat-support/functions.php:411
308
- #: wp-live-chat-support/modules/node_server.php:1216
309
- msgid "Active Chats"
310
- msgstr "Активни чатове"
311
-
312
- #: wp-live-chat-support-pro/functions-pro.php:324
313
- msgid "You must be a chat agent to answer chats"
314
- msgstr "Трябва да си чат агент за да отговориш на чата"
315
-
316
- #: wp-live-chat-support-pro/functions-pro.php:330
317
- #: wp-live-chat-support/functions.php:439
318
- msgid "Open Chat Window"
319
- msgstr "Отвори чат прозорец"
320
-
321
- #: wp-live-chat-support-pro/functions-pro.php:334
322
- msgid "Chat has been answered by another agent"
323
- msgstr "Чатът беше взет от друг агент"
324
-
325
- #: wp-live-chat-support-pro/functions-pro.php:335
326
- msgid "Chat answered by another agent"
327
- msgstr "Чатът беше обработен от друг агент"
328
-
329
- #: wp-live-chat-support-pro/functions-pro.php:391
330
- #: wp-live-chat-support/functions.php:1637
331
- #: wp-live-chat-support/includes/settings_page.php:651
332
- msgid "WP Live Chat Support - Offline Message from "
333
- msgstr "WP Live Chat Support - Форма за съобщение извън линия "
334
-
335
- #: wp-live-chat-support-pro/functions-pro.php:392
336
- #: wp-live-chat-support-pro/functions-pro.php:966
337
- #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:81
338
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:440
339
- #: wp-live-chat-support-pro/includes/wplc_departments.php:212
340
- #: wp-live-chat-support-pro/includes/wplc_roi.php:129
341
- #: wp-live-chat-support/functions.php:1638
342
- #: wp-live-chat-support/functions.php:2118
343
- #: wp-live-chat-support/includes/deprecated.php:192
344
- #: wp-live-chat-support/includes/deprecated.php:391
345
- #: wp-live-chat-support/includes/settings_page.php:179
346
- #: wp-live-chat-support/includes/settings_page.php:365
347
- #: wp-live-chat-support/wp-live-chat-support.php:1926
348
- #: wp-live-chat-support/wp-live-chat-support.php:1952
349
- #: wp-live-chat-support/wp-live-chat-support.php:2142
350
- #: wp-live-chat-support/wp-live-chat-support.php:4498
351
- #: wp-live-chat-support/wp-live-chat-support.php:4637
352
- #: wp-live-chat-support/wp-live-chat-support.php:6431
353
- msgid "Name"
354
- msgstr "Име"
355
-
356
- #: wp-live-chat-support-pro/functions-pro.php:392
357
- #: wp-live-chat-support-pro/functions-pro.php:967
358
- #: wp-live-chat-support/functions.php:1639
359
- #: wp-live-chat-support/functions.php:2119
360
- #: wp-live-chat-support/includes/deprecated.php:193
361
- #: wp-live-chat-support/includes/deprecated.php:392
362
- #: wp-live-chat-support/includes/settings_page.php:175
363
- #: wp-live-chat-support/wp-live-chat-support.php:1927
364
- #: wp-live-chat-support/wp-live-chat-support.php:1940
365
- #: wp-live-chat-support/wp-live-chat-support.php:2143
366
- #: wp-live-chat-support/wp-live-chat-support.php:4499
367
- #: wp-live-chat-support/wp-live-chat-support.php:4638
368
- msgid "Email"
369
- msgstr "И-мейл"
370
-
371
- #: wp-live-chat-support-pro/functions-pro.php:392
372
- #: wp-live-chat-support-pro/functions-pro.php:968
373
- #: wp-live-chat-support-pro/functions-pro.php:1543
374
- #: wp-live-chat-support/functions.php:1640
375
- #: wp-live-chat-support/wp-live-chat-support.php:2144
376
- #: wp-live-chat-support/wp-live-chat-support.php:4639
377
- #: wp-live-chat-support/wp-live-chat-support.php:5768
378
- #: wp-live-chat-support/wp-live-chat-support.php:5826
379
- msgid "Message"
380
- msgstr "Съобщение"
381
-
382
- #: wp-live-chat-support-pro/functions-pro.php:392
383
- #: wp-live-chat-support/functions.php:1641
384
- msgid "Via WP Live Chat Support"
385
- msgstr "WP Live Chat Support"
386
-
387
- #: wp-live-chat-support-pro/functions-pro.php:461
388
- msgid "Alert: Someone wants to chat with you on "
389
- msgstr "Внимание: Някой иска да говори с теб "
390
-
391
- #: wp-live-chat-support-pro/functions-pro.php:462
392
- msgid "Someone wants to chat with you on your website"
393
- msgstr "Някой иска да говори с теб на уеб сайта ти"
394
-
395
- #: wp-live-chat-support-pro/functions-pro.php:462
396
- msgid "Log in"
397
- msgstr "Вписване"
398
-
399
- #: wp-live-chat-support-pro/functions-pro.php:745
400
- #: wp-live-chat-support-pro/functions-pro.php:761
401
- #: wp-live-chat-support-pro/functions-pro.php:776
402
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3277
403
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3293
404
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3308
405
- msgid "Chat Agent"
406
- msgstr "Чат Агент"
407
-
408
- #: wp-live-chat-support-pro/functions-pro.php:750
409
- #: wp-live-chat-support-pro/functions-pro.php:766
410
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3282
411
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3298
412
- msgid "Make this user a chat agent"
413
- msgstr "Направи този потребител чат агент"
414
-
415
- #: wp-live-chat-support-pro/functions-pro.php:780
416
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3312
417
- msgid "Your user role does not allow you to make yourself a chat agent."
418
- msgstr ""
419
- "Потребителската ти роля не позволява да конфигурираш себе си, като чат агент."
420
-
421
- #: wp-live-chat-support-pro/functions-pro.php:781
422
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3313
423
- msgid "Please contact the administrator of this website to change this."
424
- msgstr "Моля свържете се с администратора на сайта за да промени това."
425
-
426
- #: wp-live-chat-support-pro/functions-pro.php:866
427
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3721
428
- msgid "Chat Agent Online"
429
- msgstr "Чат агент на линия"
430
-
431
- #: wp-live-chat-support-pro/functions-pro.php:868
432
- #: wp-live-chat-support-pro/functions-pro.php:873
433
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3723
434
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3728
435
- msgid "Chat Agents Online"
436
- msgstr "Чат агенти на линия"
437
-
438
- #: wp-live-chat-support-pro/functions-pro.php:965
439
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1010
440
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:5014
441
- #: wp-live-chat-support/functions.php:2117
442
- #: wp-live-chat-support/wp-live-chat-support.php:4497
443
- #: wp-live-chat-support/wp-live-chat-support.php:4636
444
- msgid "Date"
445
- msgstr "Дата"
446
-
447
- #: wp-live-chat-support-pro/functions-pro.php:982
448
- #: wp-live-chat-support/wp-live-chat-support.php:4656
449
- msgid "You have not received any offline messages."
450
- msgstr "Няма получени съобщения извън линия."
451
-
452
- #: wp-live-chat-support-pro/functions-pro.php:1407
453
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:871
454
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4080
455
- #: wp-live-chat-support/wp-live-chat-support.php:5351
456
- msgid "Administrator"
457
- msgstr "Администратор"
458
-
459
- #: wp-live-chat-support-pro/functions-pro.php:1408
460
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:877
461
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4086
462
- #: wp-live-chat-support/wp-live-chat-support.php:5360
463
- msgid "Editor"
464
- msgstr "Коректор"
465
-
466
- #: wp-live-chat-support-pro/functions-pro.php:1409
467
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:883
468
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1009
469
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4092
470
- #: wp-live-chat-support/wp-live-chat-support.php:5369
471
- msgid "Author"
472
- msgstr "Автор"
473
-
474
- #: wp-live-chat-support-pro/functions-pro.php:1410
475
- msgid "Contributor"
476
- msgstr "Ко-автор"
477
-
478
- #: wp-live-chat-support-pro/functions-pro.php:1411
479
- msgid "Subscriber"
480
- msgstr "Абонат"
481
-
482
- #: wp-live-chat-support-pro/functions-pro.php:1541
483
- #: wp-live-chat-support/modules/gdpr.php:207
484
- #: wp-live-chat-support/wp-live-chat-support.php:5766
485
- #: wp-live-chat-support/wp-live-chat-support.php:5824
486
- msgid "Chat ID"
487
- msgstr "Чат ID"
488
-
489
- #: wp-live-chat-support-pro/functions-pro.php:1542
490
- #: wp-live-chat-support/wp-live-chat-support.php:5767
491
- #: wp-live-chat-support/wp-live-chat-support.php:5825
492
- msgid "From"
493
- msgstr "От"
494
-
495
- #: wp-live-chat-support-pro/functions-pro.php:1544
496
- #: wp-live-chat-support/wp-live-chat-support.php:5769
497
- #: wp-live-chat-support/wp-live-chat-support.php:5827
498
- msgid "Timestamp"
499
- msgstr "Дата"
500
-
501
- #: wp-live-chat-support-pro/functions-pro.php:1545
502
- #: wp-live-chat-support/wp-live-chat-support.php:5770
503
- #: wp-live-chat-support/wp-live-chat-support.php:5828
504
- msgid "Origin"
505
- msgstr "Произход"
506
-
507
- #: wp-live-chat-support-pro/functions-pro.php:1557
508
- #: wp-live-chat-support/wp-live-chat-support.php:5775
509
- #: wp-live-chat-support/wp-live-chat-support.php:5833
510
- msgid "user"
511
- msgstr "потребител"
512
-
513
- #: wp-live-chat-support-pro/functions-pro.php:1559
514
- #: wp-live-chat-support/wp-live-chat-support.php:5777
515
- #: wp-live-chat-support/wp-live-chat-support.php:5835
516
- msgid "agent"
517
- msgstr "агент"
518
-
519
- #: wp-live-chat-support-pro/includes/documentation_suggestions.php:134
520
- #: wp-live-chat-support-pro/includes/wplc_transfer_chats.php:471
521
- #: wp-live-chat-support-pro/includes/wplc_transfer_chats.php:492
522
- #: wp-live-chat-support-pro/includes/wplc_transfer_chats.php:551
523
- #: wp-live-chat-support-pro/includes/wplc_transfer_chats.php:583
524
- #: wp-live-chat-support-pro/modules/documentation_suggestions.php:402
525
- #: wp-live-chat-support-pro/modules/documentation_suggestions.php:424
526
- #: wp-live-chat-support/includes/notification_control.php:36
527
- #: wp-live-chat-support/includes/notification_control.php:75
528
- #: wp-live-chat-support/includes/notification_control.php:138
529
- #: wp-live-chat-support/modules/node_server_deprecated.php:214
530
- #: wp-live-chat-support/modules/node_server_deprecated.php:234
531
- #: wp-live-chat-support/modules/node_server_deprecated.php:277
532
- #: wp-live-chat-support/modules/node_server_deprecated.php:291
533
- #, fuzzy
534
- #| msgid "Chat notifications"
535
- msgid "System notification"
536
- msgstr "Съобщения за чат"
537
-
538
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:48
539
- #: wp-live-chat-support/includes/settings_page.php:66
540
- msgid "WP Live Chat Support Settings"
541
- msgstr "WP Live Chat настройки за поддръжка"
542
-
543
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:71
544
- #: wp-live-chat-support/wp-live-chat-support.php:3076
545
- #: wp-live-chat-support/wp-live-chat-support.php:3091
546
- msgid "Dear Pro User"
547
- msgstr "Драги клиенти"
548
-
549
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:72
550
- msgid ""
551
- "Please enter a valid API key on the 'Live Chat' -> 'Settings' page. Failing "
552
- "to do this will result in you no longer receiving updates for this plugin."
553
- msgstr ""
554
- "Моля въведете валиден API ключ в конфигурационната страница на live chat. "
555
- "Ако не успеете да направите това, ще бъде невъзможно да получавате "
556
- "обновления за този продукт."
557
-
558
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:73
559
- msgid "You can obtain a copy of your API key "
560
- msgstr "Можеш да получиш копие на API ключа си "
561
-
562
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:73
563
- #: wp-live-chat-support/includes/settings_page.php:925
564
- #: wp-live-chat-support/modules/node_server.php:624
565
- #: wp-live-chat-support/wp-live-chat-support.php:6422
566
- msgid "here"
567
- msgstr "тук"
568
-
569
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:73
570
- msgid ""
571
- "An account has been created for you while purchasing the plugin. If you have "
572
- "lost your password, please reset it "
573
- msgstr ""
574
- "За теб беше създаден потребител в процес поръчката на разширението. Ако не "
575
- "помниш паролата, моля създай нова "
576
-
577
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:74
578
- msgid ""
579
- "If you feel you are getting this message in error, please try refreshing the "
580
- "page."
581
- msgstr ""
582
- "Ако смяташ, че това съобщение достига то теб по грешка, моля презареди "
583
- "страницата."
584
-
585
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:83
586
- #: wp-live-chat-support/includes/settings_page.php:94
587
- #: wp-live-chat-support/includes/settings_page.php:132
588
- msgid "General Settings"
589
- msgstr "Генерални настройки"
590
-
591
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:84
592
- #: wp-live-chat-support/includes/settings_page.php:99
593
- msgid "Chat Box"
594
- msgstr "Чат прозорец"
595
-
596
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:85
597
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:448
598
- #: wp-live-chat-support/includes/settings_page.php:104
599
- #: wp-live-chat-support/includes/settings_page.php:579
600
- #: wp-live-chat-support/wp-live-chat-support.php:1068
601
- #: wp-live-chat-support/wp-live-chat-support.php:1071
602
- msgid "Offline Messages"
603
- msgstr "Съобщения извън линия"
604
-
605
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:86
606
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:562
607
- #: wp-live-chat-support/includes/settings_page.php:109
608
- #: wp-live-chat-support/includes/settings_page.php:776
609
- msgid "Styling"
610
- msgstr "Стил"
611
-
612
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:87
613
- msgid "Chat Agents"
614
- msgstr "Чат агенти"
615
-
616
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:88
617
- #: wp-live-chat-support/includes/settings_page.php:119
618
- msgid "Blocked Visitors"
619
- msgstr "Блокирани посетители"
620
-
621
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:89
622
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:913
623
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:919
624
- msgid "Chat Experience Ratings"
625
- msgstr "Чат рейтинги"
626
-
627
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:90
628
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2302
629
- msgid "Encryption"
630
- msgstr "Криптиране"
631
-
632
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:93
633
- msgid "Main Settings"
634
- msgstr "Основни Настройки"
635
-
636
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:96
637
- msgid "Find out more."
638
- msgstr "Прочети повече."
639
-
640
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:98
641
- msgid "Cloud Server"
642
- msgstr "Облачен сървър"
643
-
644
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:103
645
- msgid "Use our server to host your chat server."
646
- msgstr "Използвайте наш сървър за чат услугата."
647
-
648
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:112
649
- msgid "This API key is "
650
- msgstr "Този API ключ е "
651
-
652
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:115
653
- msgid "valid"
654
- msgstr "валиден"
655
-
656
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:118
657
- msgid "invalid"
658
- msgstr "невалиден"
659
-
660
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:122
661
- msgid ""
662
- "A valid API key means that you will be able to get the latest version of the "
663
- "plugin as and when it is released, as well as get access to support should "
664
- "you require it."
665
- msgstr ""
666
- "Валиден API ключ означава, че ще бъде възможно обновяването на чат "
667
- "разширението до последна версия, както и за помощ от екипа на приставката."
668
-
669
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:130
670
- #: wp-live-chat-support/includes/settings_page.php:135
671
- msgid "Chat enabled"
672
- msgstr "Чатът приключи"
673
-
674
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:135
675
- #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:264
676
- #: wp-live-chat-support/functions.php:2107
677
- #: wp-live-chat-support/includes/settings_page.php:138
678
- #: wp-live-chat-support/modules/webhooks_manager.php:296
679
- #: wp-live-chat-support/wp-live-chat-support.php:4468
680
- msgid "Yes"
681
- msgstr "Да"
682
-
683
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:138
684
- #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:264
685
- #: wp-live-chat-support/functions.php:2107
686
- #: wp-live-chat-support/includes/settings_page.php:139
687
- #: wp-live-chat-support/modules/webhooks_manager.php:295
688
- #: wp-live-chat-support/wp-live-chat-support.php:4468
689
- msgid "No"
690
- msgstr "Не"
691
-
692
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:144
693
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2138
694
- msgid "Choose when I want to be online"
695
- msgstr "Избери, кога да си на линия"
696
-
697
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:144
698
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2138
699
- msgid ""
700
- "Checking this will allow you to change your status to Online or Offline on "
701
- "the Live Chat page."
702
- msgstr ""
703
- "Маркирането на това ще разреши промени на статуса (на линия / извън линия) "
704
- "от страница Live Chat."
705
-
706
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:154
707
- #: wp-live-chat-support/includes/settings_page.php:157
708
- msgid "Hide Chat"
709
- msgstr "Скрий чата"
710
-
711
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:154
712
- #: wp-live-chat-support/includes/settings_page.php:157
713
- msgid "Hides chat for 24hrs when user clicks X"
714
- msgstr "Скрий чата за 24 часа, когато потребителя натисне Х"
715
-
716
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:162
717
- #: wp-live-chat-support/includes/settings_page.php:166
718
- #, fuzzy
719
- #| msgid "Offline Chat Box Title"
720
- msgid "Required Chat Box Fields"
721
- msgstr "Заглавие на чат прозорец \"извън линия\""
722
-
723
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:162
724
- #: wp-live-chat-support/includes/settings_page.php:166
725
- msgid "Set default fields that will be displayed when users starting a chat"
726
- msgstr ""
727
-
728
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:167
729
- msgid "Show name and email"
730
- msgstr ""
731
-
732
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:171
733
- #, fuzzy
734
- #| msgid "Show After"
735
- msgid "Show email"
736
- msgstr "Покажи след"
737
-
738
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:175
739
- #, fuzzy
740
- #| msgid "Show After"
741
- msgid "Show name"
742
- msgstr "Покажи след"
743
-
744
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:179
745
- #: wp-live-chat-support/includes/settings_page.php:183
746
- msgid "No fields"
747
- msgstr ""
748
-
749
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:185
750
- #: wp-live-chat-support/includes/settings_page.php:189
751
- msgid "Default visitor name"
752
- msgstr ""
753
-
754
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:185
755
- #: wp-live-chat-support/includes/settings_page.php:189
756
- msgid "This name will be displayed for all not logged in visitors"
757
- msgstr ""
758
-
759
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:193
760
- #: wp-live-chat-support/includes/settings_page.php:197
761
- msgid "Input Field Replacement Text"
762
- msgstr "Презаписване или въвеждане на текст"
763
-
764
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:193
765
- #: wp-live-chat-support/includes/settings_page.php:197
766
- msgid "This is the text that will show in place of the Name And Email fields"
767
- msgstr ""
768
- "Този текст ще бъде показан на мястото на полетата - Име и Електронна поща"
769
-
770
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:203
771
- #: wp-live-chat-support/includes/settings_page.php:205
772
- msgid "Use Logged In User Details"
773
- msgstr "Използване детайлите на текущ потребител"
774
-
775
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:203
776
- #: wp-live-chat-support/includes/settings_page.php:205
777
- msgid ""
778
- "A user's Name and Email Address will be used by default if they are logged "
779
- "in."
780
- msgstr ""
781
- "Потребителското име и имейл адрес ще бъдат използвани по подразбиране за "
782
- "оторизираните потребители."
783
-
784
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:214
785
- #: wp-live-chat-support/includes/settings_page.php:213
786
- msgid "Enable On Mobile Devices"
787
- msgstr "Разреши мобилни устройства"
788
-
789
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:214
790
- #: wp-live-chat-support/includes/settings_page.php:213
791
- msgid ""
792
- "Disabling this will mean that the Chat Box will not be displayed on mobile "
793
- "devices. (Smartphones and Tablets)"
794
- msgstr "При забрана, чат прозореца няма да бъде показан на мобилни устройства"
795
-
796
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:224
797
- #: wp-live-chat-support/includes/settings_page.php:221
798
- msgid "Record a visitor's IP Address"
799
- msgstr "Запис на IP адресите на посетителите"
800
-
801
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:224
802
- #: wp-live-chat-support/includes/settings_page.php:221
803
- msgid "Disable this to enable anonymity for your visitors"
804
- msgstr "Ако не е маркирано, потребителите ще бъдат анонимизирани"
805
-
806
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:234
807
- #: wp-live-chat-support/includes/settings_page.php:240
808
- msgid "Play a sound when a new message is received"
809
- msgstr "Звукова индикация на нови съобщеия"
810
-
811
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:234
812
- #: wp-live-chat-support/includes/settings_page.php:240
813
- msgid ""
814
- "Disable this to mute the sound that is played when a new chat message is "
815
- "received"
816
- msgstr "При забрана - стартирането на нов чат ще е беззвучно"
817
-
818
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:243
819
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2626
820
- msgid "Include chat window on the following pages:"
821
- msgstr "Добави чат прозорец на следните страници:"
822
-
823
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:243
824
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2626
825
- #: wp-live-chat-support/includes/settings_page.php:268
826
- msgid ""
827
- "Show the chat window on the following pages. Leave blank to show on all. "
828
- "(Use comma-separated Page ID's)"
829
- msgstr ""
830
- "Постави чат прозорец на следните страници. (разделител между страниците - "
831
- "запетая) Ако не е попълнено, чат прозорецът се показва на всички страници."
832
-
833
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:253
834
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2634
835
- msgid "Exclude chat window on the following pages:"
836
- msgstr "Премахни чат прозореца от следните страници:"
837
-
838
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:253
839
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2634
840
- #: wp-live-chat-support/includes/settings_page.php:283
841
- msgid ""
842
- "Do not show the chat window on the following pages. Leave blank to show on "
843
- "all. (Use comma-separated Page ID's)"
844
- msgstr ""
845
- "Не показвай чат на следните страници.(разделител между страниците - запетая) "
846
- "Ако не е попълнено чат прозорецът се показва на всички страници."
847
-
848
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:263
849
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2642
850
- #: wp-live-chat-support/includes/settings_page.php:299
851
- #, fuzzy
852
- #| msgid "Exclude chat window on the following pages"
853
- msgid "Exclude chat window on selected post types"
854
- msgstr "Премахване на чат прозореца от следните страници"
855
-
856
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:263
857
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2642
858
- #: wp-live-chat-support/includes/settings_page.php:299
859
- #, fuzzy
860
- #| msgid "Include chat window on the following pages"
861
- msgid "Do not show the chat window on the following post types pages."
862
- msgstr "Добавяне чат прозорец на следните страници"
863
-
864
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:283
865
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2662
866
- #, fuzzy
867
- #| msgid "No secret token found"
868
- msgid "No post types found."
869
- msgstr "Не беше намерен ключ за достъп"
870
-
871
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:289
872
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2668
873
- msgid "Allow any user to make themselves a chat agent"
874
- msgstr "Разреши на всеки потребител да бъде чат агент"
875
-
876
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:289
877
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2668
878
- msgid ""
879
- "Checking this will allow any of your users to make themselves a chat agent "
880
- "when editing their profile."
881
- msgstr ""
882
- "Маркиране разрешава на всички регистрирани потребители да се промотират като "
883
- "чат агенти от профилните си настройки."
884
-
885
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:302
886
- #: wp-live-chat-support/includes/settings_page.php:320
887
- msgid "Chat Window Settings"
888
- msgstr "Настройки на Чат Прозореца"
889
-
890
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:305
891
- #: wp-live-chat-support/includes/settings_page.php:323
892
- msgid "Chat box alignment"
893
- msgstr "Подравняване на чат прозорецът"
894
-
895
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:310
896
- #: wp-live-chat-support/includes/settings_page.php:326
897
- msgid "Bottom left"
898
- msgstr "Долу ляво"
899
-
900
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:313
901
- #: wp-live-chat-support/includes/settings_page.php:327
902
- msgid "Bottom right"
903
- msgstr "Долу дясно"
904
-
905
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:316
906
- #: wp-live-chat-support/includes/settings_page.php:328
907
- msgid "Left"
908
- msgstr "Ляво"
909
-
910
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:319
911
- #: wp-live-chat-support/includes/settings_page.php:329
912
- msgid "Right"
913
- msgstr "Дясно"
914
-
915
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:325
916
- #: wp-live-chat-support/includes/settings_page.php:335
917
- msgid "Auto Pop-up"
918
- msgstr "Автоматично показване"
919
-
920
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:325
921
- #: wp-live-chat-support/includes/settings_page.php:335
922
- msgid ""
923
- "Expand the chat box automatically (prompts the user to enter their name and "
924
- "email address)."
925
- msgstr ""
926
- "Автоматично извеждане на чат(напомня на потребителя да въведе има и "
927
- "електронна поща)"
928
-
929
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:336
930
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1239
931
- msgid "Name "
932
- msgstr "Име "
933
-
934
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:352
935
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1373
936
- #: wp-live-chat-support/includes/settings_page.php:381
937
- msgid "Icon"
938
- msgstr ""
939
-
940
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:360
941
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1381
942
- #, fuzzy
943
- #| msgid "Upload Logo"
944
- msgid "Upload Icon"
945
- msgstr "Качване на лого"
946
-
947
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:362
948
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1383
949
- #, fuzzy
950
- #| msgid "Remove Logo"
951
- msgid "Remove Icon"
952
- msgstr "Премахване на лого"
953
-
954
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:363
955
- #, fuzzy
956
- #| msgid "Recomended Size 250px x 40px"
957
- msgid "Recommended Size 50px x 50px"
958
- msgstr "Препоръчителен размер 250px x 40px"
959
-
960
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:368
961
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1390
962
- #: wp-live-chat-support/includes/settings_page.php:397
963
- msgid "Picture"
964
- msgstr "Снимка"
965
-
966
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:376
967
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1398
968
- #: wp-live-chat-support/includes/settings_page.php:384
969
- #: wp-live-chat-support/includes/settings_page.php:400
970
- #: wp-live-chat-support/includes/settings_page.php:416
971
- msgid "Upload Image"
972
- msgstr "Премахване на снимка"
973
-
974
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:378
975
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1400
976
- msgid "Remove Image"
977
- msgstr "Изтриване на снимка"
978
-
979
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:379
980
- #, fuzzy
981
- #| msgid "Recomended Size 40px x 40px"
982
- msgid "Recommended Size 40px x 40px"
983
- msgstr "Препоръчителен размер 40px x 40px"
984
-
985
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:385
986
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1408
987
- #: wp-live-chat-support/includes/settings_page.php:413
988
- msgid "Logo"
989
- msgstr "Лого"
990
-
991
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:393
992
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1416
993
- msgid "Upload Logo"
994
- msgstr "Качване на лого"
995
-
996
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:395
997
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1418
998
- msgid "Remove Logo"
999
- msgstr "Премахване на лого"
1000
-
1001
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:396
1002
- #, fuzzy
1003
- #| msgid "Recomended Size 250px x 40px"
1004
- msgid "Recommended Size 250px x 40px"
1005
- msgstr "Препоръчителен размер 250px x 40px"
1006
-
1007
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:402
1008
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1425
1009
- #: wp-live-chat-support/includes/settings_page.php:429
1010
- msgid "Chat delay (seconds)"
1011
- msgstr "Закъснение на чат прозореца(секунди)"
1012
-
1013
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:402
1014
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1425
1015
- msgid "How long it takes for your chat window to pop up"
1016
- msgstr "Време, нужно на чат прозореца за да се покаже на екрана"
1017
-
1018
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:411
1019
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1434
1020
- #: wp-live-chat-support/includes/settings_page.php:445
1021
- msgid "Chat notifications"
1022
- msgstr "Съобщения за чат"
1023
-
1024
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:411
1025
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1434
1026
- msgid "Alert me via email as soon as someone wants to chat (while online only)"
1027
- msgstr ""
1028
- "Известие чрез електронна поща, когато някой инициира чат (само при статус "
1029
- "\"на линия\")"
1030
-
1031
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:421
1032
- msgid "Display name and avatar in chat"
1033
- msgstr "Покажи име и аватар в чата"
1034
-
1035
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:421
1036
- msgid "Display the agent and user name above each message in the chat window."
1037
- msgstr "Показвай агентът и името на потребителя над всяко чат съобщение."
1038
-
1039
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:433
1040
- #: wp-live-chat-support/includes/settings_page.php:484
1041
- msgid "Only show the chat window to users that are logged in"
1042
- msgstr "Показвай чат прозореца само на регистрирани потребители"
1043
-
1044
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:433
1045
- #: wp-live-chat-support/includes/settings_page.php:484
1046
- msgid ""
1047
- "By checking this, only users that are logged in will be able to chat with "
1048
- "you."
1049
- msgstr ""
1050
- "Маркирано означава, че чатът е възможен само след вход с потребителски "
1051
- "профил."
1052
-
1053
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:452
1054
- #: wp-live-chat-support/includes/settings_page.php:583
1055
- msgid "Do not allow users to send offline messages"
1056
- msgstr "Не позволявай съобщения \"извън линия\""
1057
-
1058
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:452
1059
- #: wp-live-chat-support/includes/settings_page.php:583
1060
- msgid ""
1061
- "The chat window will be hidden when it is offline. Users will not be able to "
1062
- "send offline messages to you"
1063
- msgstr ""
1064
- "Чат прозорецът ще бъде скрит когато няма активни агенти. Няма да бъде "
1065
- "възможно изпращането на съобщения извън линия"
1066
-
1067
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:464
1068
- #: wp-live-chat-support/includes/settings_page.php:638
1069
- msgid "Email Address"
1070
- msgstr "Електронна поща"
1071
-
1072
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:464
1073
- #: wp-live-chat-support/includes/settings_page.php:638
1074
- msgid ""
1075
- "Email address where offline messages are delivered to. Use comma separated "
1076
- "email addresses to send to more than one email address"
1077
- msgstr ""
1078
- "Електронна поща, където да бъдат доставяни чат съобщения \"извън линия\". "
1079
- "Използвайте разделител запетая при задаване на повече от една електронна поща"
1080
-
1081
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:477
1082
- #: wp-live-chat-support/includes/settings_page.php:659
1083
- msgid "Sending Method"
1084
- msgstr "Метод за Изпращане"
1085
-
1086
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:478
1087
- #: wp-live-chat-support/includes/settings_page.php:660
1088
- msgid "WP Mail"
1089
- msgstr "WP Mail"
1090
-
1091
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:479
1092
- #: wp-live-chat-support/includes/settings_page.php:661
1093
- msgid "PHP Mailer"
1094
- msgstr "PHP Mailer"
1095
-
1096
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:495
1097
- #: wp-live-chat-support/includes/settings_page.php:677
1098
- msgid "Host"
1099
- msgstr "Име на Машина"
1100
-
1101
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:503
1102
- #: wp-live-chat-support/includes/settings_page.php:685
1103
- msgid "Port"
1104
- msgstr "Комуникационен порт"
1105
-
1106
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:511
1107
- #: wp-live-chat-support/includes/settings_page.php:693
1108
- msgid "Username"
1109
- msgstr "Потребителско Име"
1110
-
1111
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:519
1112
- #: wp-live-chat-support/includes/settings_page.php:701
1113
- msgid "Password"
1114
- msgstr "Парола"
1115
-
1116
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:528
1117
- #: wp-live-chat-support/includes/settings_page.php:594
1118
- msgid "Offline Chat Box Title"
1119
- msgstr "Заглавие на чат прозорец \"извън линия\""
1120
-
1121
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:536
1122
- #: wp-live-chat-support/includes/settings_page.php:602
1123
- msgid "Offline Text Fields"
1124
- msgstr "Текстови полета \"извън линия\""
1125
-
1126
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:546
1127
- #: wp-live-chat-support/includes/settings_page.php:612
1128
- #, fuzzy
1129
- #| msgid "Offline Chat Box Title"
1130
- msgid "Offline Button Text"
1131
- msgstr "Заглавие на чат прозорец \"извън линия\""
1132
-
1133
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:552
1134
- #: wp-live-chat-support/includes/settings_page.php:618
1135
- #, fuzzy
1136
- #| msgid "Offline Chat Box Title"
1137
- msgid "Offline Send Button Text"
1138
- msgstr "Заглавие на чат прозорец \"извън линия\""
1139
-
1140
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:581
1141
- #: wp-live-chat-support/includes/settings_page.php:781
1142
- msgid "Choose a theme"
1143
- msgstr "Изберете тема"
1144
-
1145
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:586
1146
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:589
1147
- msgid "Theme 1"
1148
- msgstr "Тема 1"
1149
-
1150
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:592
1151
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:595
1152
- msgid "Theme 2"
1153
- msgstr "Тема 2"
1154
-
1155
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:598
1156
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:601
1157
- msgid "Theme 3"
1158
- msgstr "Тема 3"
1159
-
1160
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:604
1161
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:607
1162
- msgid "Theme 4"
1163
- msgstr "Тема 4"
1164
-
1165
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:610
1166
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:613
1167
- msgid "Theme 5"
1168
- msgstr "Тема 5"
1169
-
1170
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:616
1171
- msgid "Theme 6"
1172
- msgstr "Тема 6"
1173
-
1174
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:619
1175
- msgid "Custom. Enter Colour Values Below"
1176
- msgstr "Персонализирано. Моля, въведете нива на цветовете по-долу"
1177
-
1178
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:645
1179
- msgid "Chat box fill color"
1180
- msgstr "Изпълващ цвят на чат прозореца"
1181
-
1182
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:651
1183
- msgid "Chat box font color"
1184
- msgstr "Цвят на шрифта"
1185
-
1186
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:658
1187
- #: wp-live-chat-support/includes/settings_page.php:922
1188
- msgid "I'm using a localization plugin"
1189
- msgstr "Използвам приставка за локализиране"
1190
-
1191
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:661
1192
- msgid "documentation"
1193
- msgstr "документация"
1194
-
1195
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:666
1196
- msgid ""
1197
- "You will only be able to edit the strings shown in the chat window of the "
1198
- "code now. <br/> This has been done to accommodate as many localization "
1199
- "plugins as possible. <br/> For more information on how to change these "
1200
- "strings, please consult the "
1201
- msgstr ""
1202
- "Само низовете показани в чат прозореца могат да бъдат променяни. <br/> Това "
1203
- в услуга на възможно най-много приставки за локализиране. <br/> Моля, "
1204
- "свържете се с поддържащият персонал за повече информация относно промяна на "
1205
- "тези настройки "
1206
-
1207
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:671
1208
- #: wp-live-chat-support/includes/settings_page.php:931
1209
- msgid "First Section Text"
1210
- msgstr "Текст първа секция"
1211
-
1212
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:678
1213
- #: wp-live-chat-support/includes/settings_page.php:938
1214
- msgid "Intro Text"
1215
- msgstr "Въвеждащ текст"
1216
-
1217
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:684
1218
- #: wp-live-chat-support/includes/settings_page.php:944
1219
- msgid "Second Section Text"
1220
- msgstr "Текст втора секция"
1221
-
1222
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:691
1223
- #: wp-live-chat-support/includes/settings_page.php:951
1224
- msgid "Reactivate Chat Section Text"
1225
- msgstr "Текст в секция за повторно активиране на чата"
1226
-
1227
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:699
1228
- msgid "User chat welcome"
1229
- msgstr "Чат посрещане"
1230
-
1231
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:705
1232
- #: wp-live-chat-support/includes/settings_page.php:979
1233
- msgid "Other text"
1234
- msgstr "Друг текст"
1235
-
1236
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:707
1237
- msgid "This text is shown above the user chat input field"
1238
- msgstr "Този текст се показва над полето за въвеждане на текст в чат сесията"
1239
-
1240
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:711
1241
- #: wp-live-chat-support/includes/settings_page.php:987
1242
- #, fuzzy
1243
- #| msgid "Chat button text"
1244
- msgid "Close Button Text"
1245
- msgstr "Текст за чат бутона"
1246
-
1247
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:745
1248
- msgid ""
1249
- "You are using an outdated version of WP Live Chat Support Basic. Please "
1250
- "update your plugin to allow for animations to function"
1251
- msgstr ""
1252
- "Използвате стара версия на WP Live Chat Support Basic. Моля обновете "
1253
- "приставката за да разрешите функция анимации"
1254
-
1255
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:749
1256
- #: wp-live-chat-support/includes/settings_page.php:995
1257
- msgid "Choose an animation"
1258
- msgstr "Изберете анимация"
1259
-
1260
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:757
1261
- #: wp-live-chat-support/includes/settings_page.php:1003
1262
- msgid "Slide Up"
1263
- msgstr "Плъзни нагоре"
1264
-
1265
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:763
1266
- #: wp-live-chat-support/includes/settings_page.php:1009
1267
- msgid "Slide From The Side"
1268
- msgstr "Плъзни отстрани"
1269
-
1270
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:769
1271
- #: wp-live-chat-support/includes/settings_page.php:1015
1272
- msgid "Fade In"
1273
- msgstr "Избледняване"
1274
-
1275
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:775
1276
- #: wp-live-chat-support/includes/settings_page.php:1021
1277
- msgid "No Animation"
1278
- msgstr "Без Анимация"
1279
-
1280
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:833
1281
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4042
1282
- #: wp-live-chat-support/wp-live-chat-support.php:5320
1283
- msgid "Current Users that are Chat Agents"
1284
- msgstr "Текущи потребители, които са чат агенти"
1285
-
1286
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:844
1287
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2056
1288
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4053
1289
- #: wp-live-chat-support/wp-live-chat-support.php:5330
1290
- msgid "Online"
1291
- msgstr "На линия"
1292
-
1293
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:854
1294
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3908
1295
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4063
1296
- #: wp-live-chat-support/modules/node_server.php:901
1297
- #: wp-live-chat-support/wp-live-chat-support.php:3055
1298
- msgid "Remove"
1299
- msgstr "Премахни"
1300
-
1301
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:863
1302
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4072
1303
- #: wp-live-chat-support/wp-live-chat-support.php:5380
1304
- msgid "Add New Agent"
1305
- msgstr "Добавяне на нов агент"
1306
-
1307
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:865
1308
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1097
1309
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4074
1310
- #: wp-live-chat-support/wp-live-chat-support.php:3616
1311
- #: wp-live-chat-support/wp-live-chat-support.php:5345
1312
- msgid "Select"
1313
- msgstr "Избор"
1314
-
1315
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:887
1316
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4096
1317
- #: wp-live-chat-support/wp-live-chat-support.php:5381
1318
- msgid "Add Agent"
1319
- msgstr "Добави агент"
1320
-
1321
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:893
1322
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4102
1323
- msgid ""
1324
- "Should you wish to add a user that has a role less than 'Author', please go "
1325
- "to the <a href='./users.php'>Users</a> page, select the relevant user, click "
1326
- "Edit and scroll to the bottom of the page and enable the 'Chat Agent' "
1327
- "checkbox."
1328
- msgstr ""
1329
- "При нужда да се добави нов потребител с роля различна от автор, моля от "
1330
- "страница <a href='./users.php'>Users</a> да се избере потребител, след "
1331
- "което в долната част на меню редактирам да се разреши Чат Агент отметка."
1332
-
1333
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:894
1334
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4103
1335
- msgid "If there are no chat agents online, the chat will show as offline"
1336
- msgstr "Ако няма чат агенти на линия, чатът да бъде извън линия"
1337
-
1338
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:898
1339
- #: wp-live-chat-support/includes/settings_page.php:1048
1340
- msgid "Blocked Visitors - Based on IP Address"
1341
- msgstr "Блокирани потребители по IP адреси"
1342
-
1343
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:899
1344
- #: wp-live-chat-support/includes/settings_page.php:1052
1345
- msgid "Enter each IP Address you would like to block on a new line"
1346
- msgstr "Въведете IP адреси за блокиране"
1347
-
1348
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:910
1349
- #: wp-live-chat-support/includes/settings_page.php:1063
1350
- msgid ""
1351
- "Blocking a user's IP Address here will hide the chat window from them, "
1352
- "preventing them from chatting with you. Each IP Address must be on a new line"
1353
- msgstr ""
1354
- "Блокирането на потребителски IP адреси ще скрия чат прозореца в техните "
1355
- "сесии. Всеки IP адрес трябва да е на нов ред"
1356
-
1357
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:919
1358
- msgid ""
1359
- "are only available in the WP Live Chat Support Chat Experience Ratings add-on"
1360
- msgstr ""
1361
- "е възможно само в разширение WP Live Chat Support Chat Experience Ratings"
1362
-
1363
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:923
1364
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2266
1365
- msgid "Chat Encryption"
1366
- msgstr "Чат криптиране"
1367
-
1368
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:926
1369
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2269
1370
- msgid "Enable Encryption"
1371
- msgstr "Разреши криптиране"
1372
-
1373
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:926
1374
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2269
1375
- msgid ""
1376
- "All messages will be encrypted when being sent to and from the user and "
1377
- "agent."
1378
- msgstr "Всички съобщения ще бъдат криптирани при изпращане и получаване."
1379
-
1380
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:934
1381
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2279
1382
- msgid ""
1383
- "Once enabled, all messages sent will be encrypted. This cannot be undone."
1384
- msgstr ""
1385
- "При маркиране всички изпратени съобщения че бъдат криптирани. Повече няма да "
1386
- "може да бъде забранено."
1387
-
1388
- #: wp-live-chat-support-pro/includes/settings_page_pro.php:940
1389
- #: wp-live-chat-support/includes/settings_page.php:1074
1390
- msgid "Save Settings"
1391
- msgstr "Запазване на настройките"
1392
-
1393
- #: wp-live-chat-support-pro/includes/wplc_agent_data.php:7
1394
- #, fuzzy
1395
- #| msgid "WP Live Chat Support Triggers"
1396
- msgid "WP Live Chat Support - User Fields"
1397
- msgstr "WP Live Chat Support стартери"
1398
-
1399
- #: wp-live-chat-support-pro/includes/wplc_agent_data.php:11
1400
- #, fuzzy
1401
- #| msgid "Username"
1402
- msgid "User tagline"
1403
- msgstr "Потребителско Име"
1404
-
1405
- #: wp-live-chat-support-pro/includes/wplc_agent_data.php:17
1406
- #: wp-live-chat-support-pro/includes/wplc_agent_data.php:30
1407
- msgid "This will show up at the top of the chatbox - Leave blank to disable."
1408
- msgstr ""
1409
-
1410
- #: wp-live-chat-support-pro/includes/wplc_agent_data.php:24
1411
- msgid "User bio"
1412
- msgstr ""
1413
-
1414
- #: wp-live-chat-support-pro/includes/wplc_agent_data.php:37
1415
- msgid "User social accounts"
1416
- msgstr ""
1417
-
1418
- #: wp-live-chat-support-pro/includes/wplc_agent_data.php:42
1419
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1494
1420
- #: wp-live-chat-support/includes/settings_page.php:557
1421
- msgid "Twitter URL"
1422
- msgstr ""
1423
-
1424
- #: wp-live-chat-support-pro/includes/wplc_agent_data.php:46
1425
- msgid "LinkedIn URL"
1426
- msgstr ""
1427
-
1428
- #: wp-live-chat-support-pro/includes/wplc_agent_data.php:50
1429
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1490
1430
- #: wp-live-chat-support/includes/settings_page.php:544
1431
- msgid "Facebook URL"
1432
- msgstr "Facebook страница"
1433
-
1434
- #: wp-live-chat-support-pro/includes/wplc_agent_data.php:54
1435
- #, fuzzy
1436
- #| msgid "Your Website"
1437
- msgid "Website URL"
1438
- msgstr "Уеб Сайт"
1439
-
1440
- #: wp-live-chat-support-pro/includes/wplc_agent_data.php:56
1441
- msgid ""
1442
- "This will show up at the top of the chatbox, in the agent's description - "
1443
- "Leave each item blank to disable it."
1444
- msgstr ""
1445
-
1446
- #: wp-live-chat-support-pro/includes/wplc_agent_data.php:276
1447
- msgid "Twitter"
1448
- msgstr ""
1449
-
1450
- #: wp-live-chat-support-pro/includes/wplc_agent_data.php:279
1451
- #, fuzzy
1452
- #| msgid "Linked Domains"
1453
- msgid "LinkedIn"
1454
- msgstr "Свързани домейни"
1455
-
1456
- #: wp-live-chat-support-pro/includes/wplc_agent_data.php:282
1457
- #, fuzzy
1458
- #| msgid "Facebook URL"
1459
- msgid "Facebook"
1460
- msgstr "Facebook страница"
1461
-
1462
- #: wp-live-chat-support-pro/includes/wplc_agent_data.php:285
1463
- #, fuzzy
1464
- #| msgid "Your Website"
1465
- msgid "Website"
1466
- msgstr "Уеб Сайт"
1467
-
1468
- #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:60
1469
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:5
1470
- #: wp-live-chat-support-pro/includes/wplc_departments.php:143
1471
- #: wp-live-chat-support-pro/includes/wplc_roi.php:83
1472
- #: wp-live-chat-support/modules/webhooks_manager.php:57
1473
- #: wp-live-chat-support/modules/webhooks_manager.php:312
1474
- msgid "Add New"
1475
- msgstr "Добавяне на нов"
1476
-
1477
- #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:64
1478
- #: wp-live-chat-support/wp-live-chat-support.php:6191
1479
- #: wp-live-chat-support/wp-live-chat-support.php:6198
1480
- #, fuzzy
1481
- #| msgid "WP Live Chat Support Settings"
1482
- msgid "WP Live Chat Support Custom Fields"
1483
- msgstr "WP Live Chat настройки за поддръжка"
1484
-
1485
- #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:70
1486
- msgid ""
1487
- "Please ensure you are using version WP Live Chat Support 7.0.0 or newer, to "
1488
- "allow for full functionality of custom fields."
1489
- msgstr ""
1490
-
1491
- #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:71
1492
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:16
1493
- #: wp-live-chat-support-pro/includes/wplc_departments.php:156
1494
- #: wp-live-chat-support-pro/includes/wplc_departments.php:192
1495
- #: wp-live-chat-support-pro/includes/wplc_roi.php:111
1496
- #: wp-live-chat-support-pro/modules/documentation_suggestions.php:62
1497
- #: wp-live-chat-support/wp-live-chat-support.php:6107
1498
- #: wp-live-chat-support/wp-live-chat-support.php:6172
1499
- #: wp-live-chat-support/wp-live-chat-support.php:6210
1500
- msgid "Update now"
1501
- msgstr "Актуализирай сега"
1502
-
1503
- #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:80
1504
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:439
1505
- #: wp-live-chat-support-pro/includes/wplc_departments.php:211
1506
- #: wp-live-chat-support-pro/includes/wplc_roi.php:128
1507
- #: wp-live-chat-support/functions.php:2369
1508
- #: wp-live-chat-support/wp-live-chat-support.php:6430
1509
- msgid "ID"
1510
- msgstr "Идентификатор"
1511
-
1512
- #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:82
1513
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:441
1514
- #: wp-live-chat-support/wp-live-chat-support.php:3292
1515
- msgid "Type"
1516
- msgstr "Тип"
1517
-
1518
- #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:83
1519
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:443
1520
- msgid "Content"
1521
- msgstr "Съдържание"
1522
-
1523
- #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:84
1524
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:444
1525
- #: wp-live-chat-support/wp-live-chat-support.php:3295
1526
- #: wp-live-chat-support/wp-live-chat-support.php:4501
1527
- msgid "Status"
1528
- msgstr "Статус"
1529
-
1530
- #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:85
1531
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:445
1532
- #: wp-live-chat-support-pro/includes/wplc_departments.php:213
1533
- #: wp-live-chat-support-pro/includes/wplc_roi.php:133
1534
- #: wp-live-chat-support/functions.php:2121
1535
- #: wp-live-chat-support/modules/webhooks_manager.php:231
1536
- #: wp-live-chat-support/wp-live-chat-support.php:3296
1537
- #: wp-live-chat-support/wp-live-chat-support.php:4502
1538
- #: wp-live-chat-support/wp-live-chat-support.php:6432
1539
- msgid "Action"
1540
- msgstr "Действие"
1541
-
1542
- #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:115
1543
- #: wp-live-chat-support/wp-live-chat-support.php:3525
1544
- msgid "Active"
1545
- msgstr "Активен"
1546
-
1547
- #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:117
1548
- #, fuzzy
1549
- #| msgid "active"
1550
- msgid "Inactive"
1551
- msgstr "активен"
1552
-
1553
- #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:122
1554
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:452
1555
- #: wp-live-chat-support-pro/includes/wplc_departments.php:220
1556
- #: wp-live-chat-support-pro/includes/wplc_roi.php:140
1557
- #: wp-live-chat-support/modules/webhooks_manager.php:243
1558
- msgid "Edit"
1559
- msgstr "Промяна"
1560
-
1561
- #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:123
1562
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:453
1563
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:584
1564
- #: wp-live-chat-support-pro/includes/wplc_departments.php:221
1565
- #: wp-live-chat-support-pro/includes/wplc_departments.php:498
1566
- #: wp-live-chat-support-pro/includes/wplc_roi.php:141
1567
- #: wp-live-chat-support-pro/includes/wplc_roi.php:545
1568
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:5349
1569
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:5420
1570
- #: wp-live-chat-support/modules/webhooks_manager.php:244
1571
- msgid "Delete"
1572
- msgstr "Изтриване"
1573
-
1574
- #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:133
1575
- msgid "Create your first custom field"
1576
- msgstr ""
1577
-
1578
- #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:151
1579
- msgid "Create a Custom Field"
1580
- msgstr ""
1581
-
1582
- #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:156
1583
- #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:217
1584
- #, fuzzy
1585
- #| msgid "Trigger Name"
1586
- msgid "Field Name"
1587
- msgstr "Име на стартер"
1588
-
1589
- #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:160
1590
- #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:225
1591
- #, fuzzy
1592
- #| msgid "Trigger Type"
1593
- msgid "Field Type"
1594
- msgstr "Тип на стартер"
1595
-
1596
- #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:163
1597
- #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:230
1598
- msgid "Text"
1599
- msgstr ""
1600
-
1601
- #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:164
1602
- #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:231
1603
- msgid "Drop Down"
1604
- msgstr ""
1605
-
1606
- #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:169
1607
- #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:221
1608
- msgid "Default Field Value"
1609
- msgstr ""
1610
-
1611
- #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:173
1612
- #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:236
1613
- msgid "Drop Down Contents"
1614
- msgstr ""
1615
-
1616
- #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:174
1617
- #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:237
1618
- #, fuzzy
1619
- #| msgid "Enter each IP Address you would like to block on a new line"
1620
- msgid "Enter each option on a new line"
1621
- msgstr "Въведете IP адреси за блокиране"
1622
-
1623
- #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:178
1624
- msgid "Create Custom Field"
1625
- msgstr ""
1626
-
1627
- #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:212
1628
- msgid "Edit a Custom Field"
1629
- msgstr ""
1630
-
1631
- #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:241
1632
- msgid "Update Custom Field"
1633
- msgstr ""
1634
-
1635
- #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:250
1636
- msgid "Custom Field Not Found"
1637
- msgstr ""
1638
-
1639
- #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:251
1640
- msgid "Back"
1641
- msgstr ""
1642
-
1643
- #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:263
1644
- #, fuzzy
1645
- #| msgid "Are you sure you would like to delete this chat?"
1646
- msgid "Are you sure you want to delete this custom field?"
1647
- msgstr "Изтриване на чат?"
1648
-
1649
- #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:299
1650
- #, fuzzy
1651
- #| msgid "Offline Text Fields"
1652
- msgid "Text Field"
1653
- msgstr "Текстови полета \"извън линия\""
1654
-
1655
- #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:302
1656
- msgid "Dropdown"
1657
- msgstr ""
1658
-
1659
- #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:305
1660
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4521
1661
- msgid "Unknown"
1662
- msgstr ""
1663
-
1664
- #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:367
1665
- msgid "Custom Field Data"
1666
- msgstr ""
1667
-
1668
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:8
1669
- #: wp-live-chat-support/wp-live-chat-support.php:6126
1670
- #: wp-live-chat-support/wp-live-chat-support.php:6156
1671
- msgid "WP Live Chat Support Triggers"
1672
- msgstr "WP Live Chat Support стартери"
1673
-
1674
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:68
1675
- msgid "Trigger Name"
1676
- msgstr "Име на стартер"
1677
-
1678
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:73
1679
- msgid "Trigger Type"
1680
- msgstr "Тип на стартер"
1681
-
1682
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:77
1683
- #: wp-live-chat-support/wp-live-chat-support.php:6162
1684
- msgid "Page Trigger"
1685
- msgstr "Страница стартер"
1686
-
1687
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:78
1688
- #: wp-live-chat-support/wp-live-chat-support.php:6163
1689
- msgid "Time Trigger"
1690
- msgstr "Времеви стартер"
1691
-
1692
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:79
1693
- #: wp-live-chat-support/wp-live-chat-support.php:6164
1694
- msgid "Scroll Trigger"
1695
- msgstr "Стартиране при навигация"
1696
-
1697
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:80
1698
- #: wp-live-chat-support/wp-live-chat-support.php:6165
1699
- msgid "Page Leave Trigger"
1700
- msgstr "Стартиране при напускане на страница"
1701
-
1702
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:81
1703
- msgid ""
1704
- "Note: When using page trigger with a the basic theme, no hovercard is shown "
1705
- "by default. We suggest using the time trigger for this instead."
1706
- msgstr ""
1707
- "Бележка: Когато ползвате страница за стартер с основна тема, по подразбиране "
1708
- "не се показва текст при посочване с мишката. Препоръчва се използването на "
1709
- "времеви стартер."
1710
-
1711
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:87
1712
- msgid "Page ID"
1713
- msgstr "Идентификатор на страница"
1714
-
1715
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:88
1716
- msgid "Note: Leave empty for 'all' pages"
1717
- msgstr "Бележка: Празно означава всички страници"
1718
-
1719
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:92
1720
- msgid "Show After"
1721
- msgstr "Покажи след"
1722
-
1723
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:93
1724
- msgid "Seconds"
1725
- msgstr "Секунди"
1726
-
1727
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:97
1728
- msgid "Show After Scrolled"
1729
- msgstr "Покажи след навигация"
1730
-
1731
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:98
1732
- msgid "(%) Percent of page height"
1733
- msgstr "(%) Процента от дължината на страницата"
1734
-
1735
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:102
1736
- msgid "Content Replacement"
1737
- msgstr "Намери"
1738
-
1739
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:113
1740
- msgid "Replace Content"
1741
- msgstr "Замени"
1742
-
1743
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:118
1744
- msgid "Enable Trigger"
1745
- msgstr "Разреши стартер"
1746
-
1747
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:124
1748
- #: wp-live-chat-support-pro/includes/wplc_roi.php:237
1749
- #: wp-live-chat-support/modules/node_server.php:536
1750
- #: wp-live-chat-support/wp-live-chat-support.php:6657
1751
- msgid "Close"
1752
- msgstr "Затвори"
1753
-
1754
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:133
1755
- #: wp-live-chat-support-pro/includes/wplc_departments.php:296
1756
- #: wp-live-chat-support-pro/includes/wplc_roi.php:246
1757
- msgid "Please review your submission"
1758
- msgstr "Моля прегледай"
1759
-
1760
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:273
1761
- msgid "Trigger has been edited."
1762
- msgstr "Стартера беше променен."
1763
-
1764
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:426
1765
- msgid "Conflict with page"
1766
- msgstr "Конфликт със страница"
1767
-
1768
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:428
1769
- msgid "Trigger ID: "
1770
- msgstr "Идентификатор на стартера: "
1771
-
1772
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:429
1773
- msgid ""
1774
- "It is possible that this trigger may override another trigger, or be "
1775
- "overridden by another trigger."
1776
- msgstr ""
1777
-
1778
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:442
1779
- #: wp-live-chat-support-pro/includes/wplc_roi.php:131
1780
- #: wp-live-chat-support/modules/node_server.php:1221
1781
- msgid "Page"
1782
- msgstr "Страница"
1783
-
1784
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:461
1785
- #: wp-live-chat-support-pro/includes/wplc_roi.php:657
1786
- #: wp-live-chat-support/wp-live-chat-support.php:5089
1787
- msgid "All"
1788
- msgstr "Всичко"
1789
-
1790
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:465
1791
- msgid "Click to change trigger status"
1792
- msgstr "Смяна на статус"
1793
-
1794
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:475
1795
- msgid "No Triggers Found..."
1796
- msgstr "Не бяха намерени стартери..."
1797
-
1798
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:579
1799
- msgid "Are you sure you would like to delete trigger"
1800
- msgstr "Изтриване на спусък?"
1801
-
1802
- #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:585
1803
- #: wp-live-chat-support-pro/includes/wplc_departments.php:287
1804
- #: wp-live-chat-support-pro/includes/wplc_departments.php:499
1805
- #: wp-live-chat-support-pro/includes/wplc_roi.php:546
1806
- #: wp-live-chat-support/includes/modal_control.php:36
1807
- #: wp-live-chat-support/modules/node_server.php:1199
1808
- #: wp-live-chat-support/modules/webhooks_manager.php:332
1809
- msgid "Cancel"
1810
- msgstr "Отказ"
1811
-
1812
- #: wp-live-chat-support-pro/includes/wplc_departments.php:53
1813
- #: wp-live-chat-support-pro/includes/wplc_departments.php:57
1814
- #: wp-live-chat-support-pro/includes/wplc_departments.php:91
1815
- #: wp-live-chat-support-pro/includes/wplc_departments.php:577
1816
- #: wp-live-chat-support-pro/includes/wplc_departments.php:696
1817
- #: wp-live-chat-support-pro/includes/wplc_transfer_chats.php:92
1818
- msgid "No Department"
1819
- msgstr ""
1820
-
1821
- #: wp-live-chat-support-pro/includes/wplc_departments.php:79
1822
- #: wp-live-chat-support-pro/includes/wplc_departments.php:163
1823
- #: wp-live-chat-support-pro/includes/wplc_departments.php:563
1824
- #, fuzzy
1825
- #| msgid "Please update to the latest version of WP Live Chat Support Pro"
1826
- msgid ""
1827
- "Departments are not currently supported with the Cloud Server of WP Live "
1828
- "Chat Support."
1829
- msgstr "Моля обновете до последна версия на WP Live Chat Support Pro"
1830
-
1831
- #: wp-live-chat-support-pro/includes/wplc_departments.php:87
1832
- #, fuzzy
1833
- #| msgid "Chat Deleted"
1834
- msgid "Chat Department"
1835
- msgstr "Чатът беше изтрит"
1836
-
1837
- #: wp-live-chat-support-pro/includes/wplc_departments.php:132
1838
- #: wp-live-chat-support-pro/includes/wplc_departments.php:538
1839
- #: wp-live-chat-support-pro/includes/wplc_departments.php:556
1840
- msgid "Departments"
1841
- msgstr ""
1842
-
1843
- #: wp-live-chat-support-pro/includes/wplc_departments.php:145
1844
- #, fuzzy
1845
- #| msgid "Main Settings"
1846
- msgid "Department Settings"
1847
- msgstr "Основни Настройки"
1848
-
1849
- #: wp-live-chat-support-pro/includes/wplc_departments.php:148
1850
- #, fuzzy
1851
- #| msgid "WP Live Chat Support Reporting"
1852
- msgid "WP Live Chat Support Departments"
1853
- msgstr "Статистики за поддръжка на WP Live Cha"
1854
-
1855
- #: wp-live-chat-support-pro/includes/wplc_departments.php:156
1856
- #, php-format
1857
- msgid ""
1858
- "WP Live Chat Support Pro requires WP Live Chat Support Version 7.0.0 or "
1859
- "greater in order for departments to function as expected. Please update WP "
1860
- "Live Chat Support %s"
1861
- msgstr ""
1862
-
1863
- #: wp-live-chat-support-pro/includes/wplc_departments.php:231
1864
- #, fuzzy
1865
- #| msgid "No Triggers Found..."
1866
- msgid "No Departments Found..."
1867
- msgstr "Не бяха намерени стартери..."
1868
-
1869
- #: wp-live-chat-support-pro/includes/wplc_departments.php:281
1870
- msgid "Department Name"
1871
- msgstr ""
1872
-
1873
- #: wp-live-chat-support-pro/includes/wplc_departments.php:357
1874
- #, fuzzy
1875
- #| msgid "Goal has been edited."
1876
- msgid "Department has been edited."
1877
- msgstr "Целта беше редактирана."
1878
-
1879
- #: wp-live-chat-support-pro/includes/wplc_departments.php:493
1880
- #, fuzzy
1881
- #| msgid "Are you sure you would like to delete goal"
1882
- msgid "Are you sure you would like to delete department"
1883
- msgstr "Изтриване на целта?"
1884
-
1885
- #: wp-live-chat-support-pro/includes/wplc_departments.php:572
1886
- msgid "Default Department"
1887
- msgstr ""
1888
-
1889
- #: wp-live-chat-support-pro/includes/wplc_departments.php:573
1890
- msgid "Default department a new chat is assigned to"
1891
- msgstr ""
1892
-
1893
- #: wp-live-chat-support-pro/includes/wplc_departments.php:588
1894
- msgid "Create or Edit Departments"
1895
- msgstr ""
1896
-
1897
- #: wp-live-chat-support-pro/includes/wplc_departments.php:594
1898
- msgid "User Department Selection"
1899
- msgstr ""
1900
-
1901
- #: wp-live-chat-support-pro/includes/wplc_departments.php:595
1902
- msgid "Allow user to select a department before starting a chat?"
1903
- msgstr ""
1904
-
1905
- #: wp-live-chat-support-pro/includes/wplc_departments.php:604
1906
- msgid ""
1907
- "Note: Chats will be transferred in the event that agents are not available "
1908
- "within the selected department"
1909
- msgstr ""
1910
-
1911
- #: wp-live-chat-support-pro/includes/wplc_departments.php:615
1912
- #, php-format
1913
- msgid "Create departments <a href='%s'>here</a>."
1914
- msgstr ""
1915
-
1916
- #: wp-live-chat-support-pro/includes/wplc_departments.php:675
1917
- msgid "Department you have been assigned to as an agent"
1918
- msgstr ""
1919
-
1920
- #: wp-live-chat-support-pro/includes/wplc_departments.php:675
1921
- #: wp-live-chat-support-pro/includes/wplc_transfer_chats.php:41
1922
- #: wp-live-chat-support/modules/node_server.php:1223
1923
- msgid "Department"
1924
- msgstr ""
1925
-
1926
- #: wp-live-chat-support-pro/includes/wplc_departments.php:785
1927
- #, fuzzy
1928
- #| msgid "Select a survey"
1929
- msgid "Select Department"
1930
- msgstr "Избор на проучване"
1931
-
1932
- #: wp-live-chat-support-pro/includes/wplc_roi.php:72
1933
- msgid "ROI Goals"
1934
- msgstr "Възвръщане на инвестициите - Цели"
1935
-
1936
- #: wp-live-chat-support-pro/includes/wplc_roi.php:84
1937
- #, fuzzy
1938
- #| msgid "Reports"
1939
- msgid "View Reports"
1940
- msgstr "Извадки"
1941
-
1942
- #: wp-live-chat-support-pro/includes/wplc_roi.php:87
1943
- msgid "WP Live Chat Support ROI Goals"
1944
- msgstr "WP Live Chat Support Възвръщане на инвестициите"
1945
-
1946
- #: wp-live-chat-support-pro/includes/wplc_roi.php:130
1947
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4468
1948
- msgid "Overview"
1949
- msgstr "Преглед"
1950
-
1951
- #: wp-live-chat-support-pro/includes/wplc_roi.php:132
1952
- msgid "Value"
1953
- msgstr "Стойност"
1954
-
1955
- #: wp-live-chat-support-pro/includes/wplc_roi.php:147
1956
- #: wp-live-chat-support-pro/modules/node_server_pro.php:22
1957
- #: wp-live-chat-support/includes/settings_page.php:892
1958
- msgid "None"
1959
- msgstr "Нито един"
1960
-
1961
- #: wp-live-chat-support-pro/includes/wplc_roi.php:154
1962
- msgid "No ROI Goals Found..."
1963
- msgstr "Не бяха намерени цели за възвръщане на инвестициите..."
1964
-
1965
- #: wp-live-chat-support-pro/includes/wplc_roi.php:212
1966
- msgid "Goal Name"
1967
- msgstr "Име на Цел"
1968
-
1969
- #: wp-live-chat-support-pro/includes/wplc_roi.php:217
1970
- msgid "Goal Overview"
1971
- msgstr "Съдържание на цел"
1972
-
1973
- #: wp-live-chat-support-pro/includes/wplc_roi.php:222
1974
- msgid "Goal Page"
1975
- msgstr "Страница на Целта"
1976
-
1977
- #: wp-live-chat-support-pro/includes/wplc_roi.php:231
1978
- msgid "Goal Value"
1979
- msgstr "Стойност на Целта"
1980
-
1981
- #: wp-live-chat-support-pro/includes/wplc_roi.php:377
1982
- msgid "Goal has been edited."
1983
- msgstr "Целта беше редактирана."
1984
-
1985
- #: wp-live-chat-support-pro/includes/wplc_roi.php:540
1986
- msgid "Are you sure you would like to delete goal"
1987
- msgstr "Изтриване на целта?"
1988
-
1989
- #: wp-live-chat-support-pro/includes/wplc_roi.php:622
1990
- msgid "ROI Reporting"
1991
- msgstr "Извлечение по възвръщане на инвестициите"
1992
-
1993
- #: wp-live-chat-support-pro/includes/wplc_roi.php:636
1994
- msgid "Goal Statistics"
1995
- msgstr "Извлечение по цели"
1996
-
1997
- #: wp-live-chat-support-pro/includes/wplc_roi.php:648
1998
- msgid "No Goals Found"
1999
- msgstr "Не бяха намерени Цели"
2000
-
2001
- #: wp-live-chat-support-pro/includes/wplc_roi.php:658
2002
- msgid "Last 30 Days"
2003
- msgstr "Последните 30 дни"
2004
-
2005
- #: wp-live-chat-support-pro/includes/wplc_roi.php:659
2006
- msgid "Last 15 Days"
2007
- msgstr "Последните 15 дни"
2008
-
2009
- #: wp-live-chat-support-pro/includes/wplc_roi.php:660
2010
- msgid "Last 7 Days"
2011
- msgstr "Последните 7 дни"
2012
-
2013
- #: wp-live-chat-support-pro/includes/wplc_roi.php:661
2014
- msgid "Last 24 Hours"
2015
- msgstr "Последните 24 часа"
2016
-
2017
- #: wp-live-chat-support-pro/includes/wplc_roi.php:713
2018
- msgid "Value Per Conversion"
2019
- msgstr "Стойност на реализации"
2020
-
2021
- #: wp-live-chat-support-pro/includes/wplc_roi.php:719
2022
- msgid "Total Value"
2023
- msgstr "Общо"
2024
-
2025
- #: wp-live-chat-support-pro/includes/wplc_roi.php:724
2026
- msgid "Total Conversions"
2027
- msgstr "Общо реализации"
2028
-
2029
- #: wp-live-chat-support-pro/includes/wplc_roi.php:758
2030
- msgid "Value By Date"
2031
- msgstr "Стойности по датаи"
2032
-
2033
- #: wp-live-chat-support-pro/includes/wplc_roi.php:761
2034
- msgid "Value By Agent"
2035
- msgstr "Стойности по агент"
2036
-
2037
- #: wp-live-chat-support-pro/includes/wplc_roi.php:767
2038
- msgid "No data available yet..."
2039
- msgstr "Все още няма налични данни..."
2040
-
2041
- #: wp-live-chat-support-pro/includes/wplc_transfer_chats.php:13
2042
- #: wp-live-chat-support/modules/node_server.php:1205
2043
- #: wp-live-chat-support/modules/node_server.php:1210
2044
- msgid "Transfer"
2045
- msgstr ""
2046
-
2047
- #: wp-live-chat-support-pro/includes/wplc_transfer_chats.php:25
2048
- #, fuzzy
2049
- #| msgid "Start Chat"
2050
- msgid "Transfer Chat"
2051
- msgstr "Стартиране на чат"
2052
-
2053
- #: wp-live-chat-support-pro/includes/wplc_transfer_chats.php:39
2054
- #, fuzzy
2055
- #| msgid "Are you sure you would like to delete this chat?"
2056
- msgid "Would you like to transfer this chat to"
2057
- msgstr "Изтриване на чат?"
2058
-
2059
- #: wp-live-chat-support-pro/includes/wplc_transfer_chats.php:40
2060
- #, fuzzy
2061
- #| msgid "Agents"
2062
- msgid "Agent"
2063
- msgstr "Агенти"
2064
-
2065
- #: wp-live-chat-support-pro/includes/wplc_transfer_chats.php:46
2066
- msgid "Please select an agent to transfer to"
2067
- msgstr ""
2068
-
2069
- #: wp-live-chat-support-pro/includes/wplc_transfer_chats.php:53
2070
- msgid "Please select a department to transfer to"
2071
- msgstr ""
2072
-
2073
- #: wp-live-chat-support-pro/includes/wplc_transfer_chats.php:71
2074
- #, fuzzy
2075
- #| msgid "Agents"
2076
- msgid "No Agent"
2077
- msgstr "Агенти"
2078
-
2079
- #: wp-live-chat-support-pro/includes/wplc_transfer_chats.php:77
2080
- #, fuzzy
2081
- #| msgid "Your"
2082
- msgid "You"
2083
- msgstr "Твой"
2084
-
2085
- #: wp-live-chat-support-pro/includes/wplc_transfer_chats.php:118
2086
- #, fuzzy
2087
- #| msgid "Chat Agents Online"
2088
- msgid "Checking if agent is online"
2089
- msgstr "Чат агенти на линия"
2090
-
2091
- #: wp-live-chat-support-pro/includes/wplc_transfer_chats.php:119
2092
- msgid "Agent is not online, transfer cannot be made"
2093
- msgstr ""
2094
-
2095
- #: wp-live-chat-support-pro/includes/wplc_transfer_chats.php:121
2096
- msgid "Checking if agents in department are online"
2097
- msgstr ""
2098
-
2099
- #: wp-live-chat-support-pro/includes/wplc_transfer_chats.php:122
2100
- msgid ""
2101
- "No agent within the department are available to accept the transfer, "
2102
- "transfer cannot be made"
2103
- msgstr ""
2104
-
2105
- #: wp-live-chat-support-pro/includes/wplc_transfer_chats.php:124
2106
- msgid "Agent(s) available, safe to transfer"
2107
- msgstr ""
2108
-
2109
- #: wp-live-chat-support-pro/includes/wplc_transfer_chats.php:126
2110
- msgid "Transfer Complete. Closing Window..."
2111
- msgstr ""
2112
-
2113
- #: wp-live-chat-support-pro/includes/wplc_transfer_chats.php:127
2114
- #, fuzzy
2115
- #| msgid "There is No Answer. Please Try Again Later"
2116
- msgid "Transfer Failed. Please try again later..."
2117
- msgstr "Няма отговор. Моля опитайте по - късно"
2118
-
2119
- #: wp-live-chat-support-pro/includes/wplc_transfer_chats.php:372
2120
- msgid "Transfer for"
2121
- msgstr ""
2122
-
2123
- #: wp-live-chat-support-pro/includes/wplc_transfer_chats.php:375
2124
- #, fuzzy
2125
- #| msgid "Accept Chat"
2126
- msgid "Accept Transfer"
2127
- msgstr "Приемане на чата"
2128
-
2129
- #: wp-live-chat-support-pro/includes/wplc_transfer_chats.php:458
2130
- #: wp-live-chat-support/modules/node_server_deprecated.php:193
2131
- msgid ""
2132
- "Department took too long to respond, we are transferring this chat to the "
2133
- "next available agent."
2134
- msgstr ""
2135
-
2136
- #: wp-live-chat-support-pro/includes/wplc_transfer_chats.php:460
2137
- #: wp-live-chat-support/modules/node_server_deprecated.php:195
2138
- msgid ""
2139
- "took too long to respond, we are transferring this chat to the next "
2140
- "available agent."
2141
- msgstr ""
2142
-
2143
- #: wp-live-chat-support-pro/includes/wplc_transfer_chats.php:463
2144
- #: wp-live-chat-support/modules/node_server_deprecated.php:198
2145
- #, fuzzy
2146
- #| msgid "Chat answered by another agent"
2147
- msgid "has transferred the chat."
2148
- msgstr "Чатът беше обработен от друг агент"
2149
-
2150
- #: wp-live-chat-support-pro/includes/wplc_transfer_chats.php:486
2151
- #: wp-live-chat-support/modules/node_server_deprecated.php:201
2152
- msgid "User received this message"
2153
- msgstr ""
2154
-
2155
- #: wp-live-chat-support-pro/includes/wplc_transfer_chats.php:532
2156
- #: wp-live-chat-support/modules/node_server_deprecated.php:153
2157
- #, fuzzy
2158
- #| msgid "No data available yet..."
2159
- msgid "No agents available in"
2160
- msgstr "Все още няма налични данни..."
2161
-
2162
- #: wp-live-chat-support-pro/includes/wplc_transfer_chats.php:534
2163
- #: wp-live-chat-support/modules/node_server_deprecated.php:155
2164
- msgid "selected department"
2165
- msgstr ""
2166
-
2167
- #: wp-live-chat-support-pro/includes/wplc_transfer_chats.php:538
2168
- #: wp-live-chat-support/modules/node_server_deprecated.php:159
2169
- msgid "automatically transferring you to"
2170
- msgstr ""
2171
-
2172
- #: wp-live-chat-support-pro/includes/wplc_transfer_chats.php:540
2173
- #: wp-live-chat-support/modules/node_server_deprecated.php:161
2174
- #, fuzzy
2175
- #| msgid "No chats available at the moment"
2176
- msgid "the next available department"
2177
- msgstr "Не са налични чатове в момента"
2178
-
2179
- #: wp-live-chat-support-pro/includes/wplc_transfer_chats.php:566
2180
- #: wp-live-chat-support/modules/node_server_deprecated.php:168
2181
- msgid "User has been transfered from "
2182
- msgstr ""
2183
-
2184
- #: wp-live-chat-support-pro/includes/wplc_transfer_chats.php:568
2185
- #: wp-live-chat-support/modules/node_server_deprecated.php:170
2186
- msgid "department"
2187
- msgstr ""
2188
-
2189
- #: wp-live-chat-support-pro/includes/wplc_transfer_chats.php:574
2190
- #: wp-live-chat-support/modules/node_server_deprecated.php:176
2191
- msgid " to "
2192
- msgstr ""
2193
-
2194
- #: wp-live-chat-support-pro/includes/wplc_transfer_chats.php:576
2195
- #: wp-live-chat-support/modules/node_server_deprecated.php:178
2196
- msgid "as there were no agents online"
2197
- msgstr ""
2198
-
2199
- #: wp-live-chat-support-pro/modules/api/wplc-api-functions.php:40
2200
- #: wp-live-chat-support/modules/api/wplc-api-functions.php:306
2201
- #: wp-live-chat-support/modules/node_server.php:223
2202
- #: wp-live-chat-support/modules/node_server.php:295
2203
- #, fuzzy
2204
- #| msgid "Actions"
2205
- msgid "Action not set"
2206
- msgstr "Действия"
2207
-
2208
- #: wp-live-chat-support-pro/modules/api/wplc-api-functions.php:257
2209
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1162
2210
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:5557
2211
- #, php-format
2212
- msgid "Incoming chat from %s (%s) on %s"
2213
- msgstr "Чат от %s (%s) on %s"
2214
-
2215
- #: wp-live-chat-support-pro/modules/api/wplc-api-functions.php:263
2216
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1168
2217
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:5563
2218
- #, php-format
2219
- msgid "%s (%s) wants to chat with you. <br /><br />Log in: %s"
2220
- msgstr "%s (%s) иска чат с теб. <br /><br />влез: %s"
2221
-
2222
- #: wp-live-chat-support-pro/modules/api/wplc-api-functions.php:560
2223
- msgid "Security Violation - MIME Type not allowed"
2224
- msgstr ""
2225
-
2226
- #: wp-live-chat-support-pro/modules/api/wplc-api-functions.php:563
2227
- msgid "File could not be uploaded"
2228
- msgstr ""
2229
-
2230
- #: wp-live-chat-support-pro/modules/api/wplc-api-functions.php:566
2231
- msgid "Security Violation - Does not match allowed file types"
2232
- msgstr ""
2233
-
2234
- #: wp-live-chat-support-pro/modules/api/wplc-api-functions.php:569
2235
- msgid "Security Violation - File unsafe"
2236
- msgstr ""
2237
-
2238
- #: wp-live-chat-support-pro/modules/documentation_suggestions.php:9
2239
- #: wp-live-chat-support/modules/documentation_suggestions.php:10
2240
- #, fuzzy
2241
- #| msgid "Documentation"
2242
- msgid "Doc Suggestions"
2243
- msgstr "Документация"
2244
-
2245
- #: wp-live-chat-support-pro/modules/documentation_suggestions.php:27
2246
- #: wp-live-chat-support/modules/documentation_suggestions.php:23
2247
- #, fuzzy
2248
- #| msgid "Documentation"
2249
- msgid "Documentation Suggestions"
2250
- msgstr "Документация"
2251
-
2252
- #: wp-live-chat-support-pro/modules/documentation_suggestions.php:33
2253
- #: wp-live-chat-support/modules/documentation_suggestions.php:28
2254
- msgid "Enable Documentation Suggestions"
2255
- msgstr ""
2256
-
2257
- #: wp-live-chat-support-pro/modules/documentation_suggestions.php:33
2258
- msgid ""
2259
- "When a user sends a message the plugin will automatically detect if there "
2260
- "are posts or pages that can be suggested to the user in order for the user "
2261
- "to get more information about what they are asking. This is useful when the "
2262
- "user has typed their message and is still waiting for an agent to answer "
2263
- "their chat."
2264
- msgstr ""
2265
-
2266
- #: wp-live-chat-support-pro/modules/documentation_suggestions.php:172
2267
- msgid "The following was sent to the user as suggested documents:"
2268
- msgstr ""
2269
-
2270
- #: wp-live-chat-support-pro/modules/documentation_suggestions.php:174
2271
- msgid "While you wait for the agent, perhaps these documents may help?"
2272
- msgstr ""
2273
-
2274
- #: wp-live-chat-support-pro/modules/gdpr_pro.php:15
2275
- msgid ""
2276
- "Pro is active - Deleting a chat will resilt in user experience ratings being "
2277
- "deleted along with chat data"
2278
- msgstr ""
2279
-
2280
- #: wp-live-chat-support-pro/modules/gdpr_pro.php:24
2281
- msgid "Pro data will also be removed as a part of this automatic process."
2282
- msgstr ""
2283
-
2284
- #: wp-live-chat-support-pro/modules/node_server_pro.php:82
2285
- msgid "Disable Typing Previews"
2286
- msgstr ""
2287
-
2288
- #: wp-live-chat-support-pro/modules/node_server_pro.php:82
2289
- msgid ""
2290
- "This option disables the typing preview from showing up to agents, which "
2291
- "means agents will not be able to see what the user is typing in realtime."
2292
- msgstr ""
2293
-
2294
- #: wp-live-chat-support-pro/modules/node_server_pro.php:132
2295
- msgid ""
2296
- "You can transfer chats from within a chat by clicking on the in chat menu, "
2297
- "and selecting Transfer Chat or Transfer Department"
2298
- msgstr ""
2299
-
2300
- #: wp-live-chat-support-pro/modules/node_server_pro.php:133
2301
- msgid ""
2302
- "You can share files quickly when in a chat, by simply dragging a file into "
2303
- "the chat window!"
2304
- msgstr ""
2305
-
2306
- #: wp-live-chat-support-pro/modules/node_server_pro.php:134
2307
- msgid "You can now move between chats without ending/closing an open chat"
2308
- msgstr ""
2309
-
2310
- #: wp-live-chat-support-pro/modules/node_server_pro.php:181
2311
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:925
2312
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:936
2313
- msgid "Quick Responses"
2314
- msgstr "Бързи Отговори"
2315
-
2316
- #: wp-live-chat-support-pro/modules/node_server_pro.php:190
2317
- #, fuzzy
2318
- #| msgid "No Quick Responses found"
2319
- msgid "No quick responses found"
2320
- msgstr "Не са намерени бързи отговори"
2321
-
2322
- #: wp-live-chat-support-pro/modules/node_server_pro.php:190
2323
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:928
2324
- msgid "Add New Quick Response"
2325
- msgstr "Добави на нов бърз отговор"
2326
-
2327
- #: wp-live-chat-support-pro/modules/node_server_pro.php:208
2328
- #, fuzzy
2329
- #| msgid "WP Live Chat Support Triggers"
2330
- msgid "WP Live Chat Support - Update Suggested"
2331
- msgstr "WP Live Chat Support стартери"
2332
-
2333
- #: wp-live-chat-support-pro/modules/node_server_pro.php:209
2334
- #, fuzzy
2335
- #| msgid ""
2336
- #| "You are using an outdated version of <strong>WP Live Chat Support Pro</"
2337
- #| "strong>."
2338
- msgid ""
2339
- "We have detected that you are using a heavily out-dated version of WP Live "
2340
- "Chat Support"
2341
- msgstr ""
2342
- "Вие използвате остаряла версия на <strong>WP Live Chat Support Pro</strong>."
2343
-
2344
- #: wp-live-chat-support-pro/modules/node_server_pro.php:210
2345
- msgid "It is highly recommended that you update to version 8 or above. "
2346
- msgstr ""
2347
-
2348
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:641
2349
- #, php-format
2350
- msgid ""
2351
- "WP Live Chat Support Pro <strong>requires WP Live Chat Support version 6+</"
2352
- "strong> (basic version). Please <strong><a href=\"%1$s\">update the plugin</"
2353
- "a></strong> in order for the plugin to continue working correctly."
2354
- msgstr ""
2355
- "WP Live Chat Support Pro <strong>Изисква WP Live Chat Support version 6+</"
2356
- "strong>(базова версия). Моля, <strong><a href=\"%1$s\">обновете приставката</"
2357
- "a></strong>за да работи коректно в pro режим."
2358
-
2359
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:680
2360
- #: wp-live-chat-support/ajax_new.php:196
2361
- #: wp-live-chat-support/modules/api/wplc-api-functions.php:829
2362
- #: wp-live-chat-support/wp-live-chat-support.php:6884
2363
- msgid "Admin"
2364
- msgstr ""
2365
-
2366
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:783
2367
- msgid "WP Live Chat Support Pro"
2368
- msgstr ""
2369
-
2370
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:926
2371
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:5004
2372
- msgid "Quick Response"
2373
- msgstr "Бърз отговор"
2374
-
2375
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:927
2376
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:930
2377
- msgid "New Quick Response"
2378
- msgstr "Нов бърз отговор"
2379
-
2380
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:929
2381
- msgid "Edit Quick Response"
2382
- msgstr "Редактиране на бърз отговор"
2383
-
2384
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:931
2385
- msgid "All Quick Responses"
2386
- msgstr "Всички бързи отговори"
2387
-
2388
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:932
2389
- msgid "View Quick Responses"
2390
- msgstr "Преглед на бързи отговори"
2391
-
2392
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:933
2393
- msgid "Search Quick Responses"
2394
- msgstr "Търсене на бързи отговори"
2395
-
2396
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:934
2397
- msgid "No Quick Responses found"
2398
- msgstr "Не са намерени бързи отговори"
2399
-
2400
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:935
2401
- msgid "No Quick Responses found in the Trash"
2402
- msgstr "Не са намерени бързи отговори в кошчето"
2403
-
2404
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:940
2405
- msgid "Quick Responses for WP Live Chat Support Pro"
2406
- msgstr "Бързи отговори за WP Live Chat Support Pro"
2407
-
2408
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:971
2409
- #, fuzzy
2410
- #| msgid "Support desk"
2411
- msgid "Sort Order"
2412
- msgstr "Бюро поддръжка"
2413
-
2414
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1007
2415
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:5013
2416
- msgid "Title"
2417
- msgstr ""
2418
-
2419
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1008
2420
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:5021
2421
- msgid "Order"
2422
- msgstr ""
2423
-
2424
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1090
2425
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1094
2426
- #: wp-live-chat-support/wp-live-chat-support.php:3616
2427
- msgid "Assign Quick Response"
2428
- msgstr "Възлагане на Бърз Отговор"
2429
-
2430
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1103
2431
- msgid "What is this?"
2432
- msgstr "Какво е това?"
2433
-
2434
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1215
2435
- #: wp-live-chat-support/includes/settings_page.php:348
2436
- msgid "Display typing indicator"
2437
- msgstr "Покажи индикатора за писане"
2438
-
2439
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1215
2440
- msgid ""
2441
- "Display the \"typing...\" animation in the chat window as soon as an agent "
2442
- "or visitor is typing."
2443
- msgstr ""
2444
- "Покажи \"писане...\" анимация в чат прозореца веднага когато агент или "
2445
- "посетител започне да пише."
2446
-
2447
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1222
2448
- #, php-format
2449
- msgid ""
2450
- "Please update your <a href='%s'>basic version</a> to make use of this "
2451
- "feature."
2452
- msgstr ""
2453
- "Моля обновете <a href='%s'>базовата версия</a> за използване на тази "
2454
- "функционалност."
2455
-
2456
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1230
2457
- msgid ""
2458
- "For non-cloud server users, please note that this will increase the amount "
2459
- "of server resources required."
2460
- msgstr ""
2461
- "Ако не се използва облачна услуга, обърнете внимание че това ще повиши "
2462
- "изискванията за хардуерни ресурси."
2463
-
2464
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1247
2465
- msgid "Use WordPress name instead"
2466
- msgstr "Използване на WordPress име"
2467
-
2468
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1250
2469
- msgid "Note: 'Name' field will be ignored"
2470
- msgstr "Внимание: Полето 'Име' ще бъде игнорирано"
2471
-
2472
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1268
2473
- msgid "Incoming chat ring tone"
2474
- msgstr "Тон за нов чат"
2475
-
2476
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1273
2477
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1333
2478
- msgid "Default"
2479
- msgstr "Подразбиране"
2480
-
2481
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1328
2482
- #, fuzzy
2483
- #| msgid "Incoming chat ring tone"
2484
- msgid "Incoming message tone"
2485
- msgstr "Тон за нов чат"
2486
-
2487
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1384
2488
- #, fuzzy
2489
- #| msgid "Recomended Size 250px x 40px"
2490
- msgid "Recomended Size 50px x 50px"
2491
- msgstr "Препоръчителен размер 250px x 40px"
2492
-
2493
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1401
2494
- msgid "Recomended Size 60px x 60px"
2495
- msgstr "Препоръчителен размер 60px x 60px"
2496
-
2497
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1419
2498
- msgid "Recomended Size 250px x 40px"
2499
- msgstr "Препоръчителен размер 250px x 40px"
2500
-
2501
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1443
2502
- msgid "User Experience"
2503
- msgstr "Потребителско Усещане"
2504
-
2505
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1452
2506
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1482
2507
- #, php-format
2508
- msgid ""
2509
- "Please update your <a href='%s'>basic version</a> to make use of these "
2510
- "features."
2511
- msgstr ""
2512
- "Моля обновете <a href='%s'>базовата версия</a> за използване на тази "
2513
- "функционалност."
2514
-
2515
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1459
2516
- msgid "Enable Text Editor"
2517
- msgstr "Разрешаване на Текстови Редактор"
2518
-
2519
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1459
2520
- msgid ""
2521
- "Adds advanced text editor features, such as links, text styling, and more!"
2522
- msgstr ""
2523
- "Добавя разширени функции за редактиране на текст, като: линкове, текстови "
2524
- "стилове и още!"
2525
-
2526
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1463
2527
- msgid "Enable File Sharing"
2528
- msgstr "Разреши споделянето на Файлове"
2529
-
2530
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1463
2531
- msgid "Adds file sharing to your chat box!"
2532
- msgstr "Добавя опция за споделяне на файлове в чат прозореца!"
2533
-
2534
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1467
2535
- msgid "Enable Experience Ratings"
2536
- msgstr "Разрешава чат рейтинги"
2537
-
2538
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1467
2539
- msgid "Allows users to rate the chat experience with an agent."
2540
- msgstr "Разрешава на потребителите да дават обратна връзка за чат агентите."
2541
-
2542
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1473
2543
- #: wp-live-chat-support/includes/settings_page.php:539
2544
- #: wp-live-chat-support/includes/settings_page.php:891
2545
- msgid "Social"
2546
- msgstr "Социални мрежи"
2547
-
2548
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1490
2549
- #: wp-live-chat-support/includes/settings_page.php:544
2550
- msgid "Link your Facebook page here. Leave blank to hide"
2551
- msgstr "Добави Facebook страница. За скриване остави празно"
2552
-
2553
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1491
2554
- #: wp-live-chat-support/includes/settings_page.php:546
2555
- msgid "Facebook URL..."
2556
- msgstr ""
2557
-
2558
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1494
2559
- #: wp-live-chat-support/includes/settings_page.php:557
2560
- msgid "Link your Twitter page here. Leave blank to hide"
2561
- msgstr "Добави Twotter страница. За скриване остави празно"
2562
-
2563
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1495
2564
- #: wp-live-chat-support/includes/settings_page.php:559
2565
- msgid "Twitter URL..."
2566
- msgstr ""
2567
-
2568
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2055
2569
- #, fuzzy
2570
- #| msgid "Status: "
2571
- msgid "Status (Online)"
2572
- msgstr "Статус: "
2573
-
2574
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2057
2575
- #, fuzzy
2576
- #| msgid "Online"
2577
- msgid "Offline"
2578
- msgstr "На линия"
2579
-
2580
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2058
2581
- msgid "Status (Offline)"
2582
- msgstr ""
2583
-
2584
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2072
2585
- msgid ""
2586
- "You have set your status to offline. To view visitors and accept chats "
2587
- "please set your status to online using the switch above."
2588
- msgstr ""
2589
- "Статуса \"извън линия\". За преглед на потребители и приемане на чатове, "
2590
- "промени статуса ползвайки ключа по горе."
2591
-
2592
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2278
2593
- #, fuzzy
2594
- #| msgid ""
2595
- #| "Please note: Chat messages will only be encrypted and decreypted if you "
2596
- #| "have inserted your WP Live Chat Support Pro API Key on the <a href="
2597
- #| "\"admin.php?page=wplivechat-menu-api-keys-page\">API Keys page</a>."
2598
- msgid ""
2599
- "Please note: Chat messages will only be encrypted and decrypted if you have "
2600
- "inserted your WP Live Chat Support Pro API Key on the <a href=\"admin.php?"
2601
- "page=wplivechat-menu-api-keys-page\">API Keys page</a>."
2602
- msgstr ""
2603
- "Забележка: Чат съобщенията ще бъдат криптирани и декриптирани само ако има "
2604
- "WP Live Chat Support Pro API Key под <a href=\"admin.php?page=wplivechat-"
2605
- "menu-api-keys-page\">API Keys страницата</a>."
2606
-
2607
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2610
2608
- msgid "Exclude chat from 'Home' page:"
2609
- msgstr "Премахни чат формата от 'началната' страница:"
2610
-
2611
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2610
2612
- msgid ""
2613
- "Leaving this unchecked will allow the chat window to display on your home "
2614
- "page."
2615
- msgstr "Ако не е немаркирано, ще има чат прозорец на началната страница."
2616
-
2617
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2618
2618
- msgid "Exclude chat from 'Archive' pages:"
2619
- msgstr "Премахване на чат формата 'Архивни' страници:"
2620
-
2621
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2618
2622
- msgid ""
2623
- "Leaving this unchecked will allow the chat window to display on your archive "
2624
- "pages."
2625
- msgstr "Ако не е маркирано, позволява чат прозореца на архивираните страници."
2626
-
2627
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3000
2628
- msgid "Attempting to open the chat window... Please be patient."
2629
- msgstr "В опит да се създаде чат сесия...Моля имайте търпение."
2630
-
2631
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3058
2632
- msgid ""
2633
- "You are not a chat agent. Please make yourself a chat agent before trying to "
2634
- "chat to visitors"
2635
- msgstr ""
2636
- "Не си чат агент. Трябва да се добавиш към списъка с чат агенти за да можеш "
2637
- "да приемаш чат сесии от потребителите на сайта"
2638
-
2639
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3332
2640
- msgid "This chat has already been answered by another agent."
2641
- msgstr "Този чат вече беше приет от друг агент."
2642
-
2643
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3654
2644
- #: wp-live-chat-support/wp-live-chat-support.php:3173
2645
- msgid "Agent(s) online"
2646
- msgstr "Агент/и на линия"
2647
-
2648
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3778
2649
- #: wp-live-chat-support/wp-live-chat-support.php:1042
2650
- msgid "Reporting"
2651
- msgstr "Справки"
2652
-
2653
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3779
2654
- #: wp-live-chat-support/wp-live-chat-support.php:1048
2655
- msgid "Triggers"
2656
- msgstr "Стартери"
2657
-
2658
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3780
2659
- msgid "Custom Fields"
2660
- msgstr ""
2661
-
2662
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3911
2663
- #: wp-live-chat-support/modules/node_server.php:904
2664
- #: wp-live-chat-support/wp-live-chat-support.php:3058
2665
- msgid "Typing..."
2666
- msgstr ""
2667
-
2668
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4260
2669
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4268
2670
- #: wp-live-chat-support/wp-live-chat-support.php:5988
2671
- msgid "Experience Rating"
2672
- msgstr "Оценки за потребителско преживяване"
2673
-
2674
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4348
2675
- msgid "User Experience Ratings"
2676
- msgstr "Рейтинг потребителско преживяване"
2677
-
2678
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4355
2679
- msgid "Agent Statistics"
2680
- msgstr "Статистики за агенти"
2681
-
2682
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4401
2683
- msgid "Satisfaction Rating"
2684
- msgstr "Рейтинг за удовлетвореност"
2685
-
2686
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4402
2687
- msgid "Rating Count"
2688
- msgstr "Брой Рейтинги"
2689
-
2690
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4402
2691
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4416
2692
- msgid "Good"
2693
- msgstr "Добре"
2694
-
2695
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4402
2696
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4416
2697
- msgid "Bad"
2698
- msgstr "Зле"
2699
-
2700
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4410
2701
- msgid "No Ratings for this agent"
2702
- msgstr "Няма рейтинги за този агент"
2703
-
2704
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4419
2705
- msgid "View"
2706
- msgstr ""
2707
-
2708
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4465
2709
- #: wp-live-chat-support/wp-live-chat-support.php:6084
2710
- #: wp-live-chat-support/wp-live-chat-support.php:6091
2711
- msgid "WP Live Chat Support Reporting"
2712
- msgstr "Статистики за поддръжка на WP Live Cha"
2713
-
2714
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4469
2715
- msgid "Popular Pages"
2716
- msgstr "Популярни страници"
2717
-
2718
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4487
2719
- msgid "Total Agents"
2720
- msgstr "Всички Агенти"
2721
-
2722
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4487
2723
- msgid "Total number of agents that used the live chat"
2724
- msgstr "Пълен брой агенти, които са ползвали чата"
2725
-
2726
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4488
2727
- msgid "Total Chats"
2728
- msgstr "Всичко Чатове"
2729
-
2730
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4488
2731
- msgid "Total number of chats received"
2732
- msgstr "Всичко приети чатове"
2733
-
2734
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4489
2735
- msgid "Total URLs"
2736
- msgstr "Всичко URLs"
2737
-
2738
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4489
2739
- msgid "Total number of URLs a chat was initiated on"
2740
- msgstr "Всичко страници от които са били инициирани чатове"
2741
-
2742
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4490
2743
- msgid "Chats per day"
2744
- msgstr "Чатове за ден"
2745
-
2746
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4491
2747
- msgid "Popular pages a chat was initiated on"
2748
- msgstr "Популярни страници, от които са били инициирани чатове"
2749
-
2750
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4567
2751
- #: wp-live-chat-support/functions.php:2120
2752
- #: wp-live-chat-support/wp-live-chat-support.php:4500
2753
- msgid "URL"
2754
- msgstr ""
2755
-
2756
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4568
2757
- msgid "Count"
2758
- msgstr "Брой"
2759
-
2760
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4594
2761
- msgid "Disable initiate chat feature:"
2762
- msgstr "Забрана за иницииране на чатове:"
2763
-
2764
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4594
2765
- msgid ""
2766
- "This will substantially improve performance. If you are experiencing "
2767
- "performance issues on your site, you should disable the initiate chat "
2768
- "feature and only enable it when you need it."
2769
- msgstr ""
2770
- "Това съществено ще подобри производителността, Ако имате проблем с "
2771
- "производителността на сайта си, трябва да забраните функцията \"иницииране "
2772
- "на чат\" по подразбиране, а да я ползвате само при необходимост."
2773
-
2774
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4698
2775
- #, fuzzy
2776
- #| msgid "Thank you for your feedback. We will be in touch soon"
2777
- msgid "Thank you for inquiry. We will get back to you shortly"
2778
- msgstr "Благодарим за обратната връзка. Скоро ще се свържем с Вас"
2779
-
2780
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4857
2781
- msgid "Enable an Auto Responder"
2782
- msgstr ""
2783
-
2784
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4857
2785
- msgid "Send your visitors an email as soon as they send you an offline message"
2786
- msgstr ""
2787
-
2788
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4863
2789
- msgid "Auto Responder 'From' Name"
2790
- msgstr ""
2791
-
2792
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4869
2793
- msgid "Auto Responder 'From' Email Address"
2794
- msgstr ""
2795
-
2796
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4875
2797
- msgid "Auto Responder Subject Line"
2798
- msgstr ""
2799
-
2800
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4881
2801
- #, fuzzy
2802
- #| msgid "API Response Codes"
2803
- msgid "Auto Responder Body"
2804
- msgstr "Кодова таблица на API отговорите"
2805
-
2806
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4884
2807
- msgid "HTML and the following shortcodes can be used"
2808
- msgstr ""
2809
-
2810
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4884
2811
- #, fuzzy
2812
- #| msgid "Username"
2813
- msgid "User's name"
2814
- msgstr "Потребителско Име"
2815
-
2816
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4884
2817
- #, fuzzy
2818
- #| msgid "Email Address"
2819
- msgid "User's email address"
2820
- msgstr "Електронна поща"
2821
-
2822
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4897
2823
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4913
2824
- msgid "Business Hours"
2825
- msgstr ""
2826
-
2827
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4917
2828
- msgid "Enable Business Hours"
2829
- msgstr ""
2830
-
2831
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4923
2832
- #, fuzzy
2833
- #| msgid "Display survey"
2834
- msgid "Display Interval"
2835
- msgstr "Показване проучванията"
2836
-
2837
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4927
2838
- msgid "Daily"
2839
- msgstr ""
2840
-
2841
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4928
2842
- msgid "Week Days"
2843
- msgstr ""
2844
-
2845
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4929
2846
- msgid "Weekends"
2847
- msgstr ""
2848
-
2849
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4944
2850
- msgid " Between "
2851
- msgstr ""
2852
-
2853
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4961
2854
- msgid " and "
2855
- msgstr ""
2856
-
2857
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4984
2858
- msgid "Current Site Time"
2859
- msgstr ""
2860
-
2861
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:5009
2862
- msgid "Order by"
2863
- msgstr ""
2864
-
2865
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:5015
2866
- msgid "Number"
2867
- msgstr ""
2868
-
2869
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:5025
2870
- #, fuzzy
2871
- #| msgid "pending"
2872
- msgid "Descending"
2873
- msgstr "в очакване"
2874
-
2875
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:5026
2876
- #, fuzzy
2877
- #| msgid "pending"
2878
- msgid "Ascending"
2879
- msgstr "в очакване"
2880
-
2881
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:5194
2882
- #, php-format
2883
- msgid ""
2884
- "The Live Chat box is currently disabled on your website due to : <a href=\"%s"
2885
- "\">Business Hours Settings</a>"
2886
- msgstr ""
2887
-
2888
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:5250
2889
- msgid "Edit Profile"
2890
- msgstr ""
2891
-
2892
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:5261
2893
- #: wp-live-chat-support/modules/node_server.php:1204
2894
- msgid "Drag Files Here"
2895
- msgstr ""
2896
-
2897
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:5277
2898
- msgid "Enable Voice Notes on admin side"
2899
- msgstr ""
2900
-
2901
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:5279
2902
- msgid ""
2903
- "Enabling this will allow you to record the voice during the chat and send it "
2904
- "to visitor once you hold on CTRL + SPACEBAR in main chat window"
2905
- msgstr ""
2906
-
2907
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:5290
2908
- msgid "Enable Voice Notes on visitor side"
2909
- msgstr ""
2910
-
2911
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:5292
2912
- msgid ""
2913
- "Enabling this will allow the visitors to record the voice during the chat "
2914
- "and send it to agent once they hold on CTRL + SPACEBAR"
2915
- msgstr ""
2916
-
2917
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:5350
2918
- #, fuzzy
2919
- #| msgid "Send"
2920
- msgid "Send..."
2921
- msgstr "Изпрати"
2922
-
2923
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:5351
2924
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:5422
2925
- msgid "Play voice note"
2926
- msgstr ""
2927
-
2928
- #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:5421
2929
- msgid "Save..."
2930
- msgstr ""
2931
-
2932
- #: wp-live-chat-support/ajax_new.php:336
2933
- #: wp-live-chat-support/modules/api/wplc-api-functions.php:948
2934
- msgid "Admin has closed and ended the chat"
2935
- msgstr "Администратор терминира чат сесията"
2936
-
2937
- #: wp-live-chat-support/functions.php:583
2938
- #, fuzzy
2939
- #| msgid "Chat answered by another agent"
2940
- msgid "In progress with another agent"
2941
- msgstr "Чатът беше обработен от друг агент"
2942
-
2943
- #: wp-live-chat-support/functions.php:597
2944
- msgid "Only chat agents can accept chats"
2945
- msgstr "Само чат агенти могат да приемат чат"
2946
-
2947
- #: wp-live-chat-support/functions.php:854
2948
- msgid "No agent was able to answer your chat request. Please try again."
2949
- msgstr ""
2950
-
2951
- #: wp-live-chat-support/functions.php:868
2952
- #, fuzzy
2953
- #| msgid "requesting chat"
2954
- msgid "Request new chat"
2955
- msgstr "молба за чат"
2956
-
2957
- #: wp-live-chat-support/functions.php:1379
2958
- msgid "complete"
2959
- msgstr "завършен"
2960
-
2961
- #: wp-live-chat-support/functions.php:1382
2962
- msgid "pending"
2963
- msgstr "в очакване"
2964
-
2965
- #: wp-live-chat-support/functions.php:1385
2966
- msgid "active"
2967
- msgstr "активен"
2968
-
2969
- #: wp-live-chat-support/functions.php:1388
2970
- msgid "deleted"
2971
- msgstr "изтрит"
2972
-
2973
- #: wp-live-chat-support/functions.php:1391
2974
- msgid "browsing"
2975
- msgstr "сърфиране"
2976
-
2977
- #: wp-live-chat-support/functions.php:1394
2978
- msgid "requesting chat"
2979
- msgstr "молба за чат"
2980
-
2981
- #: wp-live-chat-support/functions.php:1397
2982
- msgid "Chat Ended - User still browsing"
2983
- msgstr "Чатът приключи - Потребителя все още сърфира"
2984
-
2985
- #: wp-live-chat-support/functions.php:1400
2986
- msgid "User is browsing but doesn't want to chat"
2987
- msgstr "Потребителя сърфира но не иска да приеме чат"
2988
-
2989
- #: wp-live-chat-support/functions.php:1693
2990
- #: wp-live-chat-support/wp-live-chat-support.php:869
2991
- #: wp-live-chat-support/wp-live-chat-support.php:3917
2992
- #: wp-live-chat-support/wp-live-chat-support.php:5945
2993
- msgid ""
2994
- "Please standby for an agent. While you wait for the agent you may type your "
2995
- "message."
2996
- msgstr ""
2997
-
2998
- #: wp-live-chat-support/functions.php:1858
2999
- msgid "Get Pro Add-on to accept more chats"
3000
- msgstr "Вземете pro версията за да можете да обслужвате повече чатове"
3001
-
3002
- #: wp-live-chat-support/functions.php:2095
3003
- #: wp-live-chat-support/wp-live-chat-support.php:4456
3004
- msgid "Error: Could not delete chat"
3005
- msgstr "Грешка: Чатът не беше изтрит"
3006
-
3007
- #: wp-live-chat-support/functions.php:2099
3008
- #: wp-live-chat-support/wp-live-chat-support.php:4460
3009
- msgid "Chat Deleted"
3010
- msgstr "Чатът беше изтрит"
3011
-
3012
- #: wp-live-chat-support/functions.php:2106
3013
- #: wp-live-chat-support/wp-live-chat-support.php:4467
3014
- msgid "Are you sure you would like to delete this chat?"
3015
- msgstr "Изтриване на чат?"
3016
-
3017
- #: wp-live-chat-support/functions.php:2145
3018
- msgid "You have not missed any chat requests."
3019
- msgstr "Не са пропуснати молби за чат."
3020
-
3021
- #: wp-live-chat-support/functions.php:2153
3022
- #: wp-live-chat-support/wp-live-chat-support.php:4521
3023
- msgid "View Chat History"
3024
- msgstr "Преглед история на чата"
3025
-
3026
- #: wp-live-chat-support/functions.php:2153
3027
- #: wp-live-chat-support/wp-live-chat-support.php:4521
3028
- msgid "Download Chat History"
3029
- msgstr "Изтегляне на историята на чата"
3030
-
3031
- #: wp-live-chat-support/functions.php:2173
3032
- #: wp-live-chat-support/wp-live-chat-support.php:4540
3033
- #: wp-live-chat-support/wp-live-chat-support.php:4676
3034
- msgid "&laquo;"
3035
- msgstr ""
3036
-
3037
- #: wp-live-chat-support/functions.php:2174
3038
- #: wp-live-chat-support/wp-live-chat-support.php:4541
3039
- #: wp-live-chat-support/wp-live-chat-support.php:4677
3040
- msgid "&raquo;"
3041
- msgstr ""
3042
-
3043
- #: wp-live-chat-support/functions.php:2359
3044
- msgid "Open chat window via"
3045
- msgstr "Отвори чат прозорец чрез"
3046
-
3047
- #: wp-live-chat-support/functions.php:2363
3048
- msgid "Click"
3049
- msgstr "Клик"
3050
-
3051
- #: wp-live-chat-support/functions.php:2364
3052
- msgid "Hover"
3053
- msgstr "Покриване"
3054
-
3055
- #: wp-live-chat-support/functions.php:2366
3056
- msgid "element with"
3057
- msgstr "елемент с"
3058
-
3059
- #: wp-live-chat-support/functions.php:2368
3060
- msgid "Class"
3061
- msgstr "Клас"
3062
-
3063
- #: wp-live-chat-support/includes/blocks/wplc-chat-box/block.js:44
3064
- #, fuzzy
3065
- #| msgid "Via WP Live Chat Support"
3066
- msgid "WP Live Chat Trigger (WP Live Chat Support)"
3067
- msgstr "WP Live Chat Support"
3068
-
3069
- #: wp-live-chat-support/includes/blocks/wplc-chat-box/index.php:21
3070
- #: wp-live-chat-support/includes/blocks/wplc-chat-box/index.php:42
3071
- msgid "Gutenberg Blocks"
3072
- msgstr ""
3073
-
3074
- #: wp-live-chat-support/includes/blocks/wplc-chat-box/index.php:46
3075
- msgid "Enable Gutenberg Blocks"
3076
- msgstr ""
3077
-
3078
- #: wp-live-chat-support/includes/blocks/wplc-chat-box/index.php:54
3079
- msgid "Gutenberg Block Size"
3080
- msgstr ""
3081
-
3082
- #: wp-live-chat-support/includes/blocks/wplc-chat-box/index.php:65
3083
- #, fuzzy
3084
- #| msgid "Upload Logo"
3085
- msgid "Block Logo"
3086
- msgstr "Качване на лого"
3087
-
3088
- #: wp-live-chat-support/includes/blocks/wplc-chat-box/index.php:76
3089
- #, fuzzy
3090
- #| msgid "Intro Text"
3091
- msgid "Block Text"
3092
- msgstr "Въвеждащ текст"
3093
-
3094
- #: wp-live-chat-support/includes/blocks/wplc-chat-box/index.php:84
3095
- #, fuzzy
3096
- #| msgid "Display survey"
3097
- msgid "Display Icon"
3098
- msgstr "Показване проучванията"
3099
-
3100
- #: wp-live-chat-support/includes/blocks/wplc-chat-box/index.php:90
3101
- msgid "Block Icon"
3102
- msgstr ""
3103
-
3104
- #: wp-live-chat-support/includes/blocks/wplc-chat-box/index.php:98
3105
- msgid "Block Preview"
3106
- msgstr ""
3107
-
3108
- #: wp-live-chat-support/includes/blocks/wplc-chat-box/index.php:106
3109
- msgid "Custom HTML Template"
3110
- msgstr ""
3111
-
3112
- #: wp-live-chat-support/includes/blocks/wplc-chat-box/index.php:108
3113
- msgid "Displays the chosen logo"
3114
- msgstr ""
3115
-
3116
- #: wp-live-chat-support/includes/blocks/wplc-chat-box/index.php:109
3117
- msgid "Displays the chosen custom text"
3118
- msgstr ""
3119
-
3120
- #: wp-live-chat-support/includes/blocks/wplc-chat-box/index.php:110
3121
- msgid "Displays the chosen icon"
3122
- msgstr ""
3123
-
3124
- #: wp-live-chat-support/includes/blocks/wplc-chat-box/index.php:210
3125
- #: wp-live-chat-support/wp-live-chat-support.php:1035
3126
- msgid "Live Chat"
3127
- msgstr "Чат на живо"
3128
-
3129
- #: wp-live-chat-support/includes/blocks/wplc-inline-chat-box/block.js:13
3130
- #, fuzzy
3131
- #| msgid "Via WP Live Chat Support"
3132
- msgid "WP Live Chat Box (WP Live Chat Support)"
3133
- msgstr "WP Live Chat Support"
3134
-
3135
- #: wp-live-chat-support/includes/credits.php:2
3136
- msgid ""
3137
- "WP Live Chat Support is supported by an international team of developers."
3138
- msgstr ""
3139
-
3140
- #: wp-live-chat-support/includes/credits.php:3
3141
- msgid "Project Leaders"
3142
- msgstr ""
3143
-
3144
- #: wp-live-chat-support/includes/credits.php:9
3145
- msgid "Founder"
3146
- msgstr ""
3147
-
3148
- #: wp-live-chat-support/includes/credits.php:9
3149
- #: wp-live-chat-support/includes/credits.php:14
3150
- #: wp-live-chat-support/includes/credits.php:26
3151
- #: wp-live-chat-support/includes/credits.php:32
3152
- #: wp-live-chat-support/includes/credits.php:38
3153
- #: wp-live-chat-support/includes/credits.php:57
3154
- #: wp-live-chat-support/includes/credits.php:63
3155
- msgid "Developer"
3156
- msgstr ""
3157
-
3158
- #: wp-live-chat-support/includes/credits.php:9
3159
- #: wp-live-chat-support/includes/credits.php:14
3160
- #: wp-live-chat-support/includes/credits.php:26
3161
- #: wp-live-chat-support/includes/credits.php:32
3162
- #: wp-live-chat-support/includes/credits.php:38
3163
- #: wp-live-chat-support/includes/credits.php:45
3164
- #: wp-live-chat-support/includes/credits.php:57
3165
- #: wp-live-chat-support/includes/credits.php:63
3166
- #: wp-live-chat-support/wp-live-chat-support.php:1077
3167
- #: wp-live-chat-support/wp-live-chat-support.php:5190
3168
- msgid "Support"
3169
- msgstr "Поддръжка"
3170
-
3171
- #: wp-live-chat-support/includes/credits.php:14
3172
- msgid "Project Manager"
3173
- msgstr ""
3174
-
3175
- #: wp-live-chat-support/includes/credits.php:17
3176
- #, fuzzy
3177
- #| msgid "Contributor"
3178
- msgid "Contributors"
3179
- msgstr "Ко-автор"
3180
-
3181
- #: wp-live-chat-support/includes/credits.php:26
3182
- #: wp-live-chat-support/includes/credits.php:32
3183
- #: wp-live-chat-support/includes/credits.php:38
3184
- #: wp-live-chat-support/includes/credits.php:75
3185
- #, fuzzy
3186
- #| msgid "Settings"
3187
- msgid "Testing"
3188
- msgstr "Настройки"
3189
-
3190
- #: wp-live-chat-support/includes/credits.php:51
3191
- #, fuzzy
3192
- #| msgid "Main Settings"
3193
- msgid "Marketing"
3194
- msgstr "Основни Настройки"
3195
-
3196
- #: wp-live-chat-support/includes/credits.php:69
3197
- msgid "Marketing &amp; Support"
3198
- msgstr ""
3199
-
3200
- #: wp-live-chat-support/includes/credits.php:75
3201
- #: wp-live-chat-support/wp-live-chat-support.php:5161
3202
- msgid "Documentation"
3203
- msgstr "Документация"
3204
-
3205
- #: wp-live-chat-support/includes/credits.php:81
3206
- msgid "InfoSec"
3207
- msgstr ""
3208
-
3209
- #: wp-live-chat-support/includes/credits.php:86
3210
- msgid "CSS"
3211
- msgstr ""
3212
-
3213
- #: wp-live-chat-support/includes/credits.php:89
3214
- msgid "Want to see your name on this page?"
3215
- msgstr ""
3216
-
3217
- #: wp-live-chat-support/includes/credits.php:89
3218
- msgid "Get involved on GitHub."
3219
- msgstr ""
3220
-
3221
- #: wp-live-chat-support/includes/credits.php:91
3222
- #: wp-live-chat-support/includes/welcome_page.php:150
3223
- msgid "OK! Let's start"
3224
- msgstr ""
3225
-
3226
- #: wp-live-chat-support/includes/deprecated.php:151
3227
- #: wp-live-chat-support/includes/deprecated.php:348
3228
- #: wp-live-chat-support/wp-live-chat-support.php:860
3229
- #: wp-live-chat-support/wp-live-chat-support.php:2378
3230
- #: wp-live-chat-support/wp-live-chat-support.php:3898
3231
- #: wp-live-chat-support/wp-live-chat-support.php:5936
3232
- msgid "Questions?"
3233
- msgstr "Въпроси?"
3234
-
3235
- #: wp-live-chat-support/includes/deprecated.php:151
3236
- #: wp-live-chat-support/includes/deprecated.php:348
3237
- #: wp-live-chat-support/wp-live-chat-support.php:861
3238
- #: wp-live-chat-support/wp-live-chat-support.php:2379
3239
- #: wp-live-chat-support/wp-live-chat-support.php:3899
3240
- #: wp-live-chat-support/wp-live-chat-support.php:5937
3241
- msgid "Chat with us"
3242
- msgstr "Отвори чат"
3243
-
3244
- #: wp-live-chat-support/includes/deprecated.php:158
3245
- #: wp-live-chat-support/includes/deprecated.php:355
3246
- msgid "Start Live Chat"
3247
- msgstr "Стартиране на чат"
3248
-
3249
- #: wp-live-chat-support/includes/deprecated.php:210
3250
- #: wp-live-chat-support/includes/deprecated.php:410
3251
- #: wp-live-chat-support/wp-live-chat-support.php:863
3252
- #: wp-live-chat-support/wp-live-chat-support.php:3901
3253
- #: wp-live-chat-support/wp-live-chat-support.php:5939
3254
- msgid "Start Chat"
3255
- msgstr "Стартиране на чат"
3256
-
3257
- #: wp-live-chat-support/includes/deprecated.php:213
3258
- #: wp-live-chat-support/includes/deprecated.php:413
3259
- msgid "Connecting you to a sales person. Please be patient."
3260
- msgstr "Свързване с продавач-консултант. Моля за търпение."
3261
-
3262
- #: wp-live-chat-support/includes/deprecated.php:216
3263
- #: wp-live-chat-support/includes/deprecated.php:416
3264
- #: wp-live-chat-support/wp-live-chat-support.php:867
3265
- #: wp-live-chat-support/wp-live-chat-support.php:2593
3266
- #: wp-live-chat-support/wp-live-chat-support.php:2646
3267
- #: wp-live-chat-support/wp-live-chat-support.php:3905
3268
- #: wp-live-chat-support/wp-live-chat-support.php:5943
3269
- msgid "Reactivating your previous chat..."
3270
- msgstr "Активиране на предишен чат..."
3271
-
3272
- #: wp-live-chat-support/includes/deprecated.php:221
3273
- #: wp-live-chat-support/includes/deprecated.php:421
3274
- #: wp-live-chat-support/wp-live-chat-support.php:870
3275
- #: wp-live-chat-support/wp-live-chat-support.php:3615
3276
- #: wp-live-chat-support/wp-live-chat-support.php:3913
3277
- #: wp-live-chat-support/wp-live-chat-support.php:5946
3278
- msgid "Press ENTER to send your message"
3279
- msgstr "Натисни enter за изпращане на съобщението"
3280
-
3281
- #: wp-live-chat-support/includes/deprecated.php:225
3282
- #: wp-live-chat-support/includes/deprecated.php:425
3283
- #: wp-live-chat-support/wp-live-chat-support.php:2347
3284
- #: wp-live-chat-support/wp-live-chat-support.php:3632
3285
- msgid "Send"
3286
- msgstr "Изпрати"
3287
-
3288
- #: wp-live-chat-support/includes/modal_control.php:24
3289
- #: wp-live-chat-support/modules/node_server.php:1197
3290
- msgid "Please Confirm"
3291
- msgstr ""
3292
-
3293
- #: wp-live-chat-support/includes/modal_control.php:28
3294
- msgid "Are you sure?"
3295
- msgstr ""
3296
-
3297
- #: wp-live-chat-support/includes/modal_control.php:37
3298
- #: wp-live-chat-support/modules/node_server.php:1198
3299
- #: wp-live-chat-support/modules/webhooks_manager.php:331
3300
- msgid "Confirm"
3301
- msgstr ""
3302
-
3303
- #: wp-live-chat-support/includes/notification_control.php:29
3304
- #: wp-live-chat-support/modules/node_server_deprecated.php:70
3305
- #, php-format
3306
- msgid "User is browsing <small><a href='%s' target='_BLANK'>%s</a></small>"
3307
- msgstr ""
3308
-
3309
- #: wp-live-chat-support/includes/notification_control.php:133
3310
- #: wp-live-chat-support/modules/node_server_deprecated.php:81
3311
- #, fuzzy
3312
- #| msgid "User has opened the chat window"
3313
- msgid "has joined the chat."
3314
- msgstr "Потребителят отвори чат прозорец"
3315
-
3316
- #: wp-live-chat-support/includes/settings_page.php:114
3317
- #: wp-live-chat-support/modules/node_server.php:1203
3318
- msgid "Agents"
3319
- msgstr "Агенти"
3320
-
3321
- #: wp-live-chat-support/includes/settings_page.php:171
3322
- #, fuzzy
3323
- #| msgid "Require Name And Email"
3324
- msgid "Name and email"
3325
- msgstr "Изискай Име и Електронна поща"
3326
-
3327
- #: wp-live-chat-support/includes/settings_page.php:231
3328
- #, fuzzy
3329
- #| msgid "Play a sound when a new message is received"
3330
- msgid "Play a sound when there is a new visitor"
3331
- msgstr "Звукова индикация на нови съобщеия"
3332
-
3333
- #: wp-live-chat-support/includes/settings_page.php:231
3334
- #, fuzzy
3335
- #| msgid ""
3336
- #| "Disable this to mute the sound that is played when a new chat message is "
3337
- #| "received"
3338
- msgid ""
3339
- "Disable this to mute the sound that is played when a new visitor arrives"
3340
- msgstr "При забрана - стартирането на нов чат ще е беззвучно"
3341
-
3342
- #: wp-live-chat-support/includes/settings_page.php:249
3343
- msgid "Enable Font Awesome set"
3344
- msgstr ""
3345
-
3346
- #: wp-live-chat-support/includes/settings_page.php:249
3347
- msgid "Disable this if you have Font Awesome set included with your theme"
3348
- msgstr ""
3349
-
3350
- #: wp-live-chat-support/includes/settings_page.php:257
3351
- msgid "Enable chat dashboard and notifications on all admin pages"
3352
- msgstr ""
3353
-
3354
- #: wp-live-chat-support/includes/settings_page.php:257
3355
- msgid "This will load the chat dashboard on every admin page."
3356
- msgstr ""
3357
-
3358
- #: wp-live-chat-support/includes/settings_page.php:268
3359
- msgid "Include chat window on the following pages"
3360
- msgstr "Добавяне чат прозорец на следните страници"
3361
-
3362
- #: wp-live-chat-support/includes/settings_page.php:274
3363
- #: wp-live-chat-support/includes/settings_page.php:289
3364
- #: wp-live-chat-support/includes/settings_page.php:305
3365
- #: wp-live-chat-support/includes/settings_page.php:354
3366
- #: wp-live-chat-support/includes/settings_page.php:371
3367
- #: wp-live-chat-support/includes/settings_page.php:387
3368
- #: wp-live-chat-support/includes/settings_page.php:403
3369
- #: wp-live-chat-support/includes/settings_page.php:419
3370
- #: wp-live-chat-support/includes/settings_page.php:435
3371
- #: wp-live-chat-support/includes/settings_page.php:452
3372
- #: wp-live-chat-support/includes/settings_page.php:549
3373
- #: wp-live-chat-support/includes/settings_page.php:562
3374
- msgid "available in the"
3375
- msgstr "налично в"
3376
-
3377
- #: wp-live-chat-support/includes/settings_page.php:275
3378
- #: wp-live-chat-support/includes/settings_page.php:290
3379
- #: wp-live-chat-support/includes/settings_page.php:306
3380
- #: wp-live-chat-support/includes/settings_page.php:355
3381
- #: wp-live-chat-support/includes/settings_page.php:372
3382
- #: wp-live-chat-support/includes/settings_page.php:388
3383
- #: wp-live-chat-support/includes/settings_page.php:404
3384
- #: wp-live-chat-support/includes/settings_page.php:420
3385
- #: wp-live-chat-support/includes/settings_page.php:436
3386
- #: wp-live-chat-support/includes/settings_page.php:453
3387
- #: wp-live-chat-support/includes/settings_page.php:550
3388
- #: wp-live-chat-support/includes/settings_page.php:563
3389
- #: wp-live-chat-support/wp-live-chat-support.php:4607
3390
- #: wp-live-chat-support/wp-live-chat-support.php:5590
3391
- #: wp-live-chat-support/wp-live-chat-support.php:5644
3392
- msgid "Pro Add-on"
3393
- msgstr "Pro приставка"
3394
-
3395
- #: wp-live-chat-support/includes/settings_page.php:276
3396
- #: wp-live-chat-support/includes/settings_page.php:291
3397
- #: wp-live-chat-support/includes/settings_page.php:307
3398
- #: wp-live-chat-support/includes/settings_page.php:356
3399
- #: wp-live-chat-support/includes/settings_page.php:373
3400
- #: wp-live-chat-support/includes/settings_page.php:389
3401
- #: wp-live-chat-support/includes/settings_page.php:405
3402
- #: wp-live-chat-support/includes/settings_page.php:421
3403
- #: wp-live-chat-support/includes/settings_page.php:437
3404
- #: wp-live-chat-support/includes/settings_page.php:454
3405
- #: wp-live-chat-support/includes/settings_page.php:551
3406
- #: wp-live-chat-support/includes/settings_page.php:564
3407
- msgid "only"
3408
- msgstr "само"
3409
-
3410
- #: wp-live-chat-support/includes/settings_page.php:283
3411
- msgid "Exclude chat window on the following pages"
3412
- msgstr "Премахване на чат прозореца от следните страници"
3413
-
3414
- #: wp-live-chat-support/includes/settings_page.php:348
3415
- msgid "Display a typing animation as soon as someone starts typing."
3416
- msgstr "Показване на анимация когато някой започне да пише."
3417
-
3418
- #: wp-live-chat-support/includes/settings_page.php:449
3419
- msgid "Alert me via email as soon as someone wants to chat"
3420
- msgstr "Изпращане на e-mail съобщение когато някой иска да инициира чат"
3421
-
3422
- #: wp-live-chat-support/includes/settings_page.php:473
3423
- #, fuzzy
3424
- #| msgid "Display name and avatar in chat"
3425
- msgid "Display details in chat message"
3426
- msgstr "Покажи име и аватар в чата"
3427
-
3428
- #: wp-live-chat-support/includes/settings_page.php:477
3429
- #, fuzzy
3430
- #| msgid "Goal Name"
3431
- msgid "Show Name"
3432
- msgstr "Име на Цел"
3433
-
3434
- #: wp-live-chat-support/includes/settings_page.php:479
3435
- #, fuzzy
3436
- #| msgid "Show After"
3437
- msgid "Show Avatar"
3438
- msgstr "Покажи след"
3439
-
3440
- #: wp-live-chat-support/includes/settings_page.php:496
3441
- #, fuzzy
3442
- #| msgid "User has maximized the chat window"
3443
- msgid "Display a timestamp in the chat window"
3444
- msgstr "Потребителят максимизира чат прозореца"
3445
-
3446
- #: wp-live-chat-support/includes/settings_page.php:500
3447
- #, fuzzy
3448
- #| msgid "Show After"
3449
- msgid "Show Date"
3450
- msgstr "Покажи след"
3451
-
3452
- #: wp-live-chat-support/includes/settings_page.php:502
3453
- #, fuzzy
3454
- #| msgid "Show After"
3455
- msgid "Show Time"
3456
- msgstr "Покажи след"
3457
-
3458
- #: wp-live-chat-support/includes/settings_page.php:507
3459
- msgid "Redirect user to thank you page when chat is ended"
3460
- msgstr ""
3461
-
3462
- #: wp-live-chat-support/includes/settings_page.php:507
3463
- msgid ""
3464
- "By checking this, users will be redirected to your thank you page when a "
3465
- "chat is completed."
3466
- msgstr ""
3467
-
3468
- #: wp-live-chat-support/includes/settings_page.php:511
3469
- msgid "Thank You Page URL"
3470
- msgstr ""
3471
-
3472
- #: wp-live-chat-support/includes/settings_page.php:521
3473
- msgid "Disable Emojis"
3474
- msgstr ""
3475
-
3476
- #: wp-live-chat-support/includes/settings_page.php:624
3477
- msgid "Custom fields"
3478
- msgstr ""
3479
-
3480
- #: wp-live-chat-support/includes/settings_page.php:632
3481
- #, fuzzy
3482
- #| msgid "Main Settings"
3483
- msgid "Email settings"
3484
- msgstr "Основни Настройки"
3485
-
3486
- #: wp-live-chat-support/includes/settings_page.php:648
3487
- msgid "Subject"
3488
- msgstr ""
3489
-
3490
- #: wp-live-chat-support/includes/settings_page.php:648
3491
- msgid "User name will be appended to the end of the subject."
3492
- msgstr ""
3493
-
3494
- #: wp-live-chat-support/includes/settings_page.php:786
3495
- #: wp-live-chat-support/includes/settings_page.php:787
3496
- msgid "Classic"
3497
- msgstr "Класически"
3498
-
3499
- #: wp-live-chat-support/includes/settings_page.php:790
3500
- #: wp-live-chat-support/includes/settings_page.php:791
3501
- msgid "Modern"
3502
- msgstr "Модерен"
3503
-
3504
- #: wp-live-chat-support/includes/settings_page.php:807
3505
- #, fuzzy
3506
- #| msgid "Colour Scheme"
3507
- msgid "Color Scheme"
3508
- msgstr "Цветова Схема"
3509
-
3510
- #: wp-live-chat-support/includes/settings_page.php:862
3511
- msgid "Choose"
3512
- msgstr "Избери"
3513
-
3514
- #: wp-live-chat-support/includes/settings_page.php:863
3515
- msgid "Your"
3516
- msgstr "Твой"
3517
-
3518
- #: wp-live-chat-support/includes/settings_page.php:864
3519
- msgid "Colors"
3520
- msgstr "Цвят"
3521
-
3522
- #: wp-live-chat-support/includes/settings_page.php:865
3523
- msgid "Below"
3524
- msgstr "По-долу"
3525
-
3526
- #: wp-live-chat-support/includes/settings_page.php:884
3527
- #, fuzzy
3528
- #| msgid "Chat Dashboard"
3529
- msgid "Chat background"
3530
- msgstr "Чат Табло"
3531
-
3532
- #: wp-live-chat-support/includes/settings_page.php:888
3533
- msgid "Cloudy"
3534
- msgstr ""
3535
-
3536
- #: wp-live-chat-support/includes/settings_page.php:889
3537
- msgid "Geometry"
3538
- msgstr ""
3539
-
3540
- #: wp-live-chat-support/includes/settings_page.php:890
3541
- msgid "Tech"
3542
- msgstr ""
3543
-
3544
- #: wp-live-chat-support/includes/settings_page.php:897
3545
- msgid "Palette Color 1"
3546
- msgstr "Палитра 1"
3547
-
3548
- #: wp-live-chat-support/includes/settings_page.php:903
3549
- msgid "Palette Color 2"
3550
- msgstr "Палитра 2"
3551
-
3552
- #: wp-live-chat-support/includes/settings_page.php:909
3553
- msgid "Palette Color 3"
3554
- msgstr "Палитра 3"
3555
-
3556
- #: wp-live-chat-support/includes/settings_page.php:915
3557
- msgid "Palette Color 4"
3558
- msgstr "Палитра 4"
3559
-
3560
- #: wp-live-chat-support/includes/settings_page.php:925
3561
- #, php-format
3562
- msgid ""
3563
- "Enable this if you are using a localization plugin. Should you wish to "
3564
- "change the below strings with this option enabled, please visit the "
3565
- "documentation %s"
3566
- msgstr ""
3567
-
3568
- #: wp-live-chat-support/includes/settings_page.php:967
3569
- #, fuzzy
3570
- #| msgid "Delete Message"
3571
- msgid "Welcome message"
3572
- msgstr "Изтриване на съобщение"
3573
-
3574
- #: wp-live-chat-support/includes/settings_page.php:969
3575
- msgid ""
3576
- "This text is shown as soon as a user starts a chat and waits for an agent to "
3577
- "join"
3578
- msgstr ""
3579
-
3580
- #: wp-live-chat-support/includes/settings_page.php:973
3581
- msgid "No answer"
3582
- msgstr ""
3583
-
3584
- #: wp-live-chat-support/includes/settings_page.php:975
3585
- #: wp-live-chat-support/wp-live-chat-support.php:4901
3586
- #, fuzzy
3587
- #| msgid "There is No Answer. Please Try Again Later"
3588
- msgid "There is No Answer. Please Try Again Later."
3589
- msgstr "Няма отговор. Моля опитайте по - късно"
3590
-
3591
- #: wp-live-chat-support/includes/settings_page.php:975
3592
- #, fuzzy
3593
- #| msgid "This text is shown above the user chat input field"
3594
- msgid ""
3595
- "This text is shown to the user when an agent has failed to answer a chat "
3596
- msgstr "Този текст се показва над полето за въвеждане на текст в чат сесията"
3597
-
3598
- #: wp-live-chat-support/includes/settings_page.php:982
3599
- #: wp-live-chat-support/wp-live-chat-support.php:1426
3600
- #: wp-live-chat-support/wp-live-chat-support.php:3914
3601
- #, fuzzy
3602
- #| msgid "The chat has been ended"
3603
- msgid "The chat has been ended by the operator."
3604
- msgstr "Чатът приключи"
3605
-
3606
- #: wp-live-chat-support/includes/surveys.php:8
3607
- #: wp-live-chat-support/includes/surveys.php:20
3608
- #: wp-live-chat-support/includes/surveys.php:351
3609
- msgid "Surveys & Lead Forms"
3610
- msgstr ""
3611
-
3612
- #: wp-live-chat-support/includes/surveys.php:23
3613
- #, fuzzy
3614
- #| msgid "Enable Surveys"
3615
- msgid "Enable Surveys & Lead Forms"
3616
- msgstr "Разреши проучвания"
3617
-
3618
- #: wp-live-chat-support/includes/surveys.php:23
3619
- #, fuzzy
3620
- #| msgid ""
3621
- #| "Enable surveys within your live chat box, either before or after a live "
3622
- #| "chat session."
3623
- msgid ""
3624
- "Enable surveys and lead forms within your live chat box, either before or "
3625
- "after a live chat session."
3626
- msgstr "Разреши проучвания преди или след чат сесиите."
3627
-
3628
- #: wp-live-chat-support/includes/surveys.php:29
3629
- msgid ""
3630
- "Choosing a survey will reset the lead form selection: the items are "
3631
- "alternatives, if you select a survey no lead form can be selected."
3632
- msgstr ""
3633
-
3634
- #: wp-live-chat-support/includes/surveys.php:32
3635
- #, php-format
3636
- msgid ""
3637
- "No surveys created. Please <a href=\"%s\" target=\"_BLANK\" title="
3638
- "\"NimbleSquirrel\">create a survey and then refresh this page.</a>"
3639
- msgstr ""
3640
- "Не бяха направени проучвания. Моля <a href=\"%s\" target=\"_BLANK\" title="
3641
- "\"NimbleSquirrel\">създай проучване и презареди страницата.</a>"
3642
-
3643
- #: wp-live-chat-support/includes/surveys.php:39
3644
- msgid "Select a survey"
3645
- msgstr "Избор на проучване"
3646
-
3647
- #: wp-live-chat-support/includes/surveys.php:65
3648
- msgid ""
3649
- "Choosing a lead form will reset the survey selection: the items are "
3650
- "alternatives, if you select a lead form no survey can be selected."
3651
- msgstr ""
3652
-
3653
- #: wp-live-chat-support/includes/surveys.php:68
3654
- #, fuzzy, php-format
3655
- #| msgid ""
3656
- #| "No surveys created. Please <a href=\"%s\" target=\"_BLANK\" title="
3657
- #| "\"NimbleSquirrel\">create a survey and then refresh this page.</a>"
3658
- msgid ""
3659
- "No lead forms created. Please <a href=\"%s\" target=\"_BLANK\" title="
3660
- "\"NimbleSquirrel\">create a lead form and then refresh this page.</a>"
3661
- msgstr ""
3662
- "Не бяха направени проучвания. Моля <a href=\"%s\" target=\"_BLANK\" title="
3663
- "\"NimbleSquirrel\">създай проучване и презареди страницата.</a>"
3664
-
3665
- #: wp-live-chat-support/includes/surveys.php:75
3666
- #, fuzzy
3667
- #| msgid "Select a survey"
3668
- msgid "Select a lead form"
3669
- msgstr "Избор на проучване"
3670
-
3671
- #: wp-live-chat-support/includes/surveys.php:97
3672
- #, fuzzy
3673
- #| msgid "Display survey"
3674
- msgid "Display survey/form"
3675
- msgstr "Показване проучванията"
3676
-
3677
- #: wp-live-chat-support/includes/surveys.php:100
3678
- msgid "Before chat"
3679
- msgstr "Преди чат"
3680
-
3681
- #: wp-live-chat-support/includes/surveys.php:101
3682
- msgid "After chat"
3683
- msgstr "След чат"
3684
-
3685
- #: wp-live-chat-support/includes/surveys.php:106
3686
- msgid "Chat button text"
3687
- msgstr "Текст за чат бутона"
3688
-
3689
- #: wp-live-chat-support/includes/surveys.php:112
3690
- msgid "Change title of chat box when chat ended to"
3691
- msgstr "Промяна на заглавието на чата когато чатът приключи"
3692
-
3693
- #: wp-live-chat-support/includes/surveys.php:307
3694
- #: wp-live-chat-support/wp-live-chat-support.php:864
3695
- #: wp-live-chat-support/wp-live-chat-support.php:3902
3696
- #: wp-live-chat-support/wp-live-chat-support.php:5940
3697
- msgid "Or chat to an agent now"
3698
- msgstr "Или чат с агент сега"
3699
-
3700
- #: wp-live-chat-support/includes/surveys.php:312
3701
- #: wp-live-chat-support/wp-live-chat-support.php:858
3702
- #: wp-live-chat-support/wp-live-chat-support.php:3911
3703
- #: wp-live-chat-support/wp-live-chat-support.php:5934
3704
- msgid "Leave a message"
3705
- msgstr "Остави съобщение"
3706
-
3707
- #: wp-live-chat-support/includes/surveys.php:346
3708
- #, fuzzy
3709
- #| msgid "WP Live Chat Surveys with Nimble Squirrel"
3710
- msgid "WP Live Chat Surveys & Lead Forms with Nimble Squirrel"
3711
- msgstr "Проучвания с Nimble Squirrel"
3712
-
3713
- #: wp-live-chat-support/includes/surveys.php:352
3714
- msgid ""
3715
- "To view your responses, click the button below and log in to your "
3716
- "NimbleSquirrel account."
3717
- msgstr ""
3718
- "За преглед на отговорите натисни бутона по-долу и влез в NimbleSquirrel."
3719
-
3720
- #: wp-live-chat-support/includes/surveys.php:355
3721
- msgid ""
3722
- "Need help? <a href='https://wp-livechat.com/contact-us/' "
3723
- "target='_BLANK'>Contact us</a> and we'll get back to you as soon as possible!"
3724
- msgstr ""
3725
- "Нужда от помощ? <a href='https://wp-livechat.com/contact-us/' "
3726
- "target='_BLANK'>Пишете ни</a> и ние ще се свържем с вас възможно най-скоро!"
3727
-
3728
- #: wp-live-chat-support/includes/surveys.php:365
3729
- #, fuzzy, php-format
3730
- #| msgid ""
3731
- #| "Register on <a href=\"%s\" target=\"_BLANK\" title=\"NimbleSquirrel"
3732
- #| "\">NimbleSquirrel</a> (It's free.)"
3733
- msgid ""
3734
- "Register on <a href=\"%s\" target=\"_BLANK\" title=\"NimbleSquirrel"
3735
- "\">NimbleSquirrel</a>"
3736
- msgstr ""
3737
- "Регистрирай се <a href=\"%s\" target=\"_BLANK\" title=\"NimbleSquirrel"
3738
- "\">NimbleSquirrel</a> (Безплатно!)"
3739
-
3740
- #: wp-live-chat-support/includes/surveys.php:368
3741
- #, php-format
3742
- msgid ""
3743
- "<a href=\"%s\" target=\"_BLANK\" title=\"Create a survey\">Create a survey</"
3744
- "a>."
3745
- msgstr ""
3746
- "<a href=\"%s\" target=\"_BLANK\" title=\"Create a survey\">Създай проучване</"
3747
- "a>."
3748
-
3749
- #: wp-live-chat-support/includes/surveys.php:375
3750
- msgid "Add a Survey to your live chat box"
3751
- msgstr "Добави проучване в чат прозореца"
3752
-
3753
- #: wp-live-chat-support/includes/surveys.php:376
3754
- msgid "Three simple steps:"
3755
- msgstr "Три прости стъпки:"
3756
-
3757
- #: wp-live-chat-support/includes/surveys.php:380
3758
- #, fuzzy
3759
- #| msgid ""
3760
- #| "Enable surveys in your live chat <a href='admin.php?page=wplivechat-menu-"
3761
- #| "settings'>settings page</a>."
3762
- msgid ""
3763
- "Enable surveys in your live chat <a href='admin.php?page=wplivechat-menu-"
3764
- "settings#tabs-survey'>settings page</a>."
3765
- msgstr ""
3766
- "Разреши проучвания в<a href='admin.php?page=wplivechat-menu-"
3767
- "settings'>настройки</a>."
3768
-
3769
- #: wp-live-chat-support/includes/welcome_page.php:4
3770
- #, fuzzy
3771
- #| msgid "WP Live Chat Support"
3772
- msgid "Welcome to WP Live Chat Support v8"
3773
- msgstr "WP Live Chat поддръжка"
3774
-
3775
- #: wp-live-chat-support/includes/welcome_page.php:6
3776
- msgid ""
3777
- "WP Live Chat Support is the most cost effective, feature rich, amazingly "
3778
- "supported and most positively reviewed live chat plugin on WordPress!"
3779
- msgstr ""
3780
-
3781
- #: wp-live-chat-support/includes/welcome_page.php:8
3782
- #, fuzzy
3783
- #| msgid "You are not accepting chats"
3784
- msgid "Skip intro and start accepting chats"
3785
- msgstr "Не приемаш чат сесии"
3786
-
3787
- #: wp-live-chat-support/includes/welcome_page.php:28
3788
- #, fuzzy
3789
- #| msgid "Welcome to "
3790
- msgid "Welcome"
3791
- msgstr "Добре дошли в "
3792
-
3793
- #: wp-live-chat-support/includes/welcome_page.php:29
3794
- msgid "Credits"
3795
- msgstr ""
3796
-
3797
- #: wp-live-chat-support/includes/welcome_page.php:37
3798
- #, fuzzy
3799
- #| msgid "Dedicated server"
3800
- msgid "Incredibly fast server"
3801
- msgstr "Отделен сървър"
3802
-
3803
- #: wp-live-chat-support/includes/welcome_page.php:39
3804
- msgid "Use our server to handle the load and save 1000%+ on server resources!"
3805
- msgstr ""
3806
-
3807
- #: wp-live-chat-support/includes/welcome_page.php:42
3808
- #, fuzzy
3809
- #| msgid "Chat Dashboard"
3810
- msgid "New Dashboard"
3811
- msgstr "Чат Табло"
3812
-
3813
- #: wp-live-chat-support/includes/welcome_page.php:43
3814
- msgid "Handle all your chats in one area, on any admin page."
3815
- msgstr ""
3816
-
3817
- #: wp-live-chat-support/includes/welcome_page.php:46
3818
- msgid "Emojis!"
3819
- msgstr ""
3820
-
3821
- #: wp-live-chat-support/includes/welcome_page.php:47
3822
- msgid "Add a touch of your own personality with emojis!"
3823
- msgstr ""
3824
-
3825
- #: wp-live-chat-support/includes/welcome_page.php:54
3826
- msgid "Typing Preview"
3827
- msgstr ""
3828
-
3829
- #: wp-live-chat-support/includes/welcome_page.php:56
3830
- msgid "See what your customers are typing before they even send it!"
3831
- msgstr ""
3832
-
3833
- #: wp-live-chat-support/includes/welcome_page.php:59
3834
- #, fuzzy
3835
- #| msgid "Multiple Chats"
3836
- msgid "Multiple Agents Per Chat"
3837
- msgstr "Множество чатове"
3838
-
3839
- #: wp-live-chat-support/includes/welcome_page.php:61
3840
- msgid "More than one agent can join and be involved in a chat."
3841
- msgstr ""
3842
-
3843
- #: wp-live-chat-support/includes/welcome_page.php:64
3844
- msgid "Agent to Agent Chat"
3845
- msgstr ""
3846
-
3847
- #: wp-live-chat-support/includes/welcome_page.php:66
3848
- msgid "Chat directly to other agents on our new dashboard."
3849
- msgstr ""
3850
-
3851
- #: wp-live-chat-support/includes/welcome_page.php:71
3852
- #, fuzzy
3853
- #| msgid "Message"
3854
- msgid "Edit Messages"
3855
- msgstr "Съобщение"
3856
-
3857
- #: wp-live-chat-support/includes/welcome_page.php:73
3858
- msgid ""
3859
- "Simply press the UP arrow or use the EDIT link to edit a message that you "
3860
- "have already sent."
3861
- msgstr ""
3862
-
3863
- #: wp-live-chat-support/includes/welcome_page.php:76
3864
- msgid "Event Monitoring"
3865
- msgstr ""
3866
-
3867
- #: wp-live-chat-support/includes/welcome_page.php:78
3868
- msgid "Know exactly what the user is doing in real time."
3869
- msgstr ""
3870
-
3871
- #: wp-live-chat-support/includes/welcome_page.php:81
3872
- msgid "iOS app"
3873
- msgstr ""
3874
-
3875
- #: wp-live-chat-support/includes/welcome_page.php:83
3876
- msgid "The new iOS app is finally here!"
3877
- msgstr ""
3878
-
3879
- #: wp-live-chat-support/includes/welcome_page.php:91
3880
- msgid "How did you find us?"
3881
- msgstr "Как ни открихте?"
3882
-
3883
- #: wp-live-chat-support/includes/welcome_page.php:96
3884
- msgid "WordPress.org plugin repository "
3885
- msgstr "WordPress.org хранилище с приставки "
3886
-
3887
- #: wp-live-chat-support/includes/welcome_page.php:99
3888
- msgid "Search Term"
3889
- msgstr "Ключова дума"
3890
-
3891
- #: wp-live-chat-support/includes/welcome_page.php:103
3892
- msgid "Google or other search Engine"
3893
- msgstr "Google или друга търсачка"
3894
-
3895
- #: wp-live-chat-support/includes/welcome_page.php:109
3896
- msgid "Friend recommendation"
3897
- msgstr "Препоръка от приятел"
3898
-
3899
- #: wp-live-chat-support/includes/welcome_page.php:115
3900
- msgid "Other"
3901
- msgstr "Друго"
3902
-
3903
- #: wp-live-chat-support/includes/welcome_page.php:119
3904
- msgid "Please Explain"
3905
- msgstr "Моля обяснете"
3906
-
3907
- #: wp-live-chat-support/includes/welcome_page.php:128
3908
- msgid "Submit"
3909
- msgstr "Изпрати"
3910
-
3911
- #: wp-live-chat-support/includes/welcome_page.php:128
3912
- msgid "Skip"
3913
- msgstr "Пропусни"
3914
-
3915
- #: wp-live-chat-support/includes/welcome_page.php:137
3916
- #, fuzzy
3917
- #| msgid "WP Live Chat Support"
3918
- msgid "New to WP Live Chat Support?"
3919
- msgstr "WP Live Chat поддръжка"
3920
-
3921
- #: wp-live-chat-support/includes/welcome_page.php:138
3922
- msgid "You may want to"
3923
- msgstr ""
3924
-
3925
- #: wp-live-chat-support/includes/welcome_page.php:138
3926
- #, fuzzy
3927
- #| msgid "documentation"
3928
- msgid "review our documentation"
3929
- msgstr "документация"
3930
-
3931
- #: wp-live-chat-support/includes/welcome_page.php:138
3932
- msgid ""
3933
- "before you get started. If you're a tech-savvy individual, you may skip this "
3934
- "step."
3935
- msgstr ""
3936
-
3937
- #: wp-live-chat-support/includes/welcome_page.php:141
3938
- msgid "Help me!"
3939
- msgstr ""
3940
-
3941
- #: wp-live-chat-support/includes/welcome_page.php:142
3942
- #, fuzzy
3943
- #| msgid "Visitor"
3944
- msgid "Visit our"
3945
- msgstr "Потребител"
3946
-
3947
- #: wp-live-chat-support/includes/welcome_page.php:142
3948
- #, fuzzy
3949
- #| msgid "Support desk"
3950
- msgid "Support Desk"
3951
- msgstr "Бюро поддръжка"
3952
-
3953
- #: wp-live-chat-support/includes/welcome_page.php:142
3954
- msgid "for quick and friendly help. We'll answer your request within 24hours."
3955
- msgstr ""
3956
-
3957
- #: wp-live-chat-support/includes/welcome_page.php:145
3958
- msgid "Feedback"
3959
- msgstr "Обратна връзка"
3960
-
3961
- #: wp-live-chat-support/includes/welcome_page.php:146
3962
- msgid "We need you to help us make this plugin better."
3963
- msgstr ""
3964
-
3965
- #: wp-live-chat-support/includes/welcome_page.php:146
3966
- #, fuzzy
3967
- #| msgid "Send Feedback"
3968
- msgid "Send us your feedback"
3969
- msgstr "Изпращане на Обратна връзка"
3970
-
3971
- #: wp-live-chat-support/includes/welcome_page.php:146
3972
- msgid "and we'll act on it as soon as humanly possible."
3973
- msgstr ""
3974
-
3975
- #: wp-live-chat-support/modules/api/wplc-api.php:44
3976
- #: wp-live-chat-support/modules/api/wplc-api.php:71
3977
- msgid "REST API"
3978
- msgstr "REST API"
3979
-
3980
- #: wp-live-chat-support/modules/api/wplc-api.php:62
3981
- msgid ""
3982
- "To make use of the REST API, please ensure you are using a version of "
3983
- "WordPress with the REST API included."
3984
- msgstr ""
3985
- "За да ползвате REST API, моля подсигурете ползване на WordPress версия с "
3986
- "включен REST API пакет."
3987
-
3988
- #: wp-live-chat-support/modules/api/wplc-api.php:64
3989
- msgid ""
3990
- "Alternatively, please install the official Rest API plugin from WordPress."
3991
- msgstr "Или инсталирайте официалната REST API приставка на WordPress."
3992
-
3993
- #: wp-live-chat-support/modules/api/wplc-api.php:76
3994
- msgid "Secret Token"
3995
- msgstr "Ключ за достъп"
3996
-
3997
- #: wp-live-chat-support/modules/api/wplc-api.php:79
3998
- msgid "No secret token found"
3999
- msgstr "Не беше намерен ключ за достъп"
4000
-
4001
- #: wp-live-chat-support/modules/api/wplc-api.php:80
4002
- #: wp-live-chat-support/modules/beta_features.php:89
4003
- msgid "Generate New"
4004
- msgstr "Генериране на нов"
4005
-
4006
- #: wp-live-chat-support/modules/api/wplc-api.php:85
4007
- msgid "Supported API Calls"
4008
- msgstr "Поддържани API искания"
4009
-
4010
- #: wp-live-chat-support/modules/api/wplc-api.php:89
4011
- #: wp-live-chat-support/modules/api/wplc-api.php:97
4012
- #: wp-live-chat-support/modules/api/wplc-api.php:105
4013
- #: wp-live-chat-support/modules/api/wplc-api.php:113
4014
- #: wp-live-chat-support/modules/api/wplc-api.php:121
4015
- #: wp-live-chat-support/modules/api/wplc-api.php:130
4016
- msgid "Try"
4017
- msgstr "Опит"
4018
-
4019
- #: wp-live-chat-support/modules/api/wplc-api.php:138
4020
- msgid "API Response Codes"
4021
- msgstr "Кодова таблица на API отговорите"
4022
-
4023
- #: wp-live-chat-support/modules/api/wplc-api.php:281
4024
- msgid "Rest Console "
4025
- msgstr "REST конзола "
4026
-
4027
- #: wp-live-chat-support/modules/api/wplc-api.php:288
4028
- msgid "Try it!"
4029
- msgstr "Опитай!"
4030
-
4031
- #: wp-live-chat-support/modules/beta_features.php:14
4032
- #, fuzzy
4033
- #| msgid "Advanced settings"
4034
- msgid "Advanced Features"
4035
- msgstr "Разширени настройки"
4036
-
4037
- #: wp-live-chat-support/modules/beta_features.php:33
4038
- #, fuzzy
4039
- #| msgid "No secret token found"
4040
- msgid "No token found"
4041
- msgstr "Не беше намерен ключ за достъп"
4042
-
4043
- #: wp-live-chat-support/modules/beta_features.php:49
4044
- #, fuzzy
4045
- #| msgid "Cloud Server"
4046
- msgid "Chat Server"
4047
- msgstr "Облачен сървър"
4048
-
4049
- #: wp-live-chat-support/modules/beta_features.php:58
4050
- #, fuzzy
4051
- #| msgid "Use our server to host your chat server."
4052
- msgid "Use our server to handle chats"
4053
- msgstr "Използвайте наш сървър за чат услугата."
4054
-
4055
- #: wp-live-chat-support/modules/beta_features.php:58
4056
- msgid ""
4057
- "Disabling this will result in the plugin reverting back to using the legacy "
4058
- "chat dashboard."
4059
- msgstr ""
4060
-
4061
- #: wp-live-chat-support/modules/beta_features.php:62
4062
- msgid ""
4063
- "Disabling this will revert the chat dashboard back to the legacy version."
4064
- msgstr ""
4065
-
4066
- #: wp-live-chat-support/modules/beta_features.php:67
4067
- msgid "Server location"
4068
- msgstr ""
4069
-
4070
- #: wp-live-chat-support/modules/beta_features.php:67
4071
- msgid "Select a server location that is near to you."
4072
- msgstr ""
4073
-
4074
- #: wp-live-chat-support/modules/beta_features.php:72
4075
- msgid "Automatic (suggested)"
4076
- msgstr ""
4077
-
4078
- #: wp-live-chat-support/modules/beta_features.php:73
4079
- #: wp-live-chat-support/modules/beta_features.php:74
4080
- #, php-format
4081
- msgid "United States - %s"
4082
- msgstr ""
4083
-
4084
- #: wp-live-chat-support/modules/beta_features.php:77
4085
- #: wp-live-chat-support/modules/beta_features.php:78
4086
- #, php-format
4087
- msgid "Europe - %s"
4088
- msgstr ""
4089
-
4090
- #: wp-live-chat-support/modules/beta_features.php:85
4091
- #, fuzzy
4092
- #| msgid "Chat Deleted"
4093
- msgid "Chat server token"
4094
- msgstr "Чатът беше изтрит"
4095
-
4096
- #: wp-live-chat-support/modules/beta_features.php:85
4097
- msgid ""
4098
- "Security token for accessing chats on the node server. Changing this will "
4099
- "remove current chats"
4100
- msgstr ""
4101
-
4102
- #: wp-live-chat-support/modules/beta_features.php:90
4103
- msgid "Copy"
4104
- msgstr ""
4105
-
4106
- #: wp-live-chat-support/modules/beta_features.php:95
4107
- msgid "Server end point override"
4108
- msgstr ""
4109
-
4110
- #: wp-live-chat-support/modules/beta_features.php:95
4111
- msgid ""
4112
- "Do not change this unless advised to do so by a WP Live Chat Support "
4113
- "representative"
4114
- msgstr ""
4115
-
4116
- #: wp-live-chat-support/modules/beta_features.php:98
4117
- msgid "Leave empty unless advised by a WP Live Chat Support representative"
4118
- msgstr ""
4119
-
4120
- #: wp-live-chat-support/modules/beta_features.php:104
4121
- #, fuzzy
4122
- #| msgid "Incoming chat ring tone"
4123
- msgid "Limit chat ring amount"
4124
- msgstr "Тон за нов чат"
4125
-
4126
- #: wp-live-chat-support/modules/beta_features.php:104
4127
- msgid "Limit the amount of time the new chat ringer will play"
4128
- msgstr ""
4129
-
4130
- #: wp-live-chat-support/modules/beta_features.php:113
4131
- #: wp-live-chat-support/modules/node_server.php:733
4132
- msgid "Did you know?"
4133
- msgstr ""
4134
-
4135
- #: wp-live-chat-support/modules/beta_features.php:113
4136
- msgid ""
4137
- "You can copy this node server token to multiple sites in order to manage "
4138
- "more than one domain from a single chat dashboard"
4139
- msgstr ""
4140
-
4141
- #: wp-live-chat-support/modules/beta_features.php:167
4142
- #, fuzzy
4143
- #| msgid "End chat"
4144
- msgid "End Chat"
4145
- msgstr "Край на чата"
4146
-
4147
- #: wp-live-chat-support/modules/documentation_suggestions.php:36
4148
- #, php-format
4149
- msgid ""
4150
- "Upgrade to the <a href='%s' taget='_BLANK'>pro version</a> to automatically "
4151
- "suggest relevant documentation pages on your own site while users are "
4152
- "waiting for the agent to join the chat. As soon as the user sends a message, "
4153
- "the system will locate relevant documents on your website and provide links "
4154
- "to the user."
4155
- msgstr ""
4156
-
4157
- #: wp-live-chat-support/modules/gdpr.php:33
4158
- msgid "Enbled GDPR Compliance"
4159
- msgstr ""
4160
-
4161
- #: wp-live-chat-support/modules/gdpr.php:33
4162
- msgid "Disabling will disable all GDPR related options, this is not advised."
4163
- msgstr ""
4164
-
4165
- #: wp-live-chat-support/modules/gdpr.php:37
4166
- msgid "Importance of GDPR Compliance"
4167
- msgstr ""
4168
-
4169
- #: wp-live-chat-support/modules/gdpr.php:43
4170
- #, fuzzy
4171
- #| msgid "Goal Name"
4172
- msgid "Company Name"
4173
- msgstr "Име на Цел"
4174
-
4175
- #: wp-live-chat-support/modules/gdpr.php:52
4176
- msgid "Retention Purpose"
4177
- msgstr ""
4178
-
4179
- #: wp-live-chat-support/modules/gdpr.php:55
4180
- #: wp-live-chat-support/modules/gdpr.php:373
4181
- #, fuzzy
4182
- #| msgid "Support"
4183
- msgid "Chat/Support"
4184
- msgstr "Поддръжка"
4185
-
4186
- #: wp-live-chat-support/modules/gdpr.php:61
4187
- msgid "Retention Period"
4188
- msgstr ""
4189
-
4190
- #: wp-live-chat-support/modules/gdpr.php:64
4191
- msgid "days"
4192
- msgstr ""
4193
-
4194
- #: wp-live-chat-support/modules/gdpr.php:70
4195
- msgid "Next Check"
4196
- msgstr ""
4197
-
4198
- #: wp-live-chat-support/modules/gdpr.php:71
4199
- msgid ""
4200
- "When the next cron will run to check for data which is older than our "
4201
- "retention period."
4202
- msgstr ""
4203
-
4204
- #: wp-live-chat-support/modules/gdpr.php:85
4205
- msgid "GDPR Notice"
4206
- msgstr ""
4207
-
4208
- #: wp-live-chat-support/modules/gdpr.php:86
4209
- msgid ""
4210
- "Users will be asked to accept the notice shown here, in the form of a check "
4211
- "box."
4212
- msgstr ""
4213
-
4214
- #: wp-live-chat-support/modules/gdpr.php:137
4215
- msgid "GDPR"
4216
- msgstr ""
4217
-
4218
- #: wp-live-chat-support/modules/gdpr.php:146
4219
- #, fuzzy
4220
- #| msgid "WP Live Chat Support"
4221
- msgid "WP Live Chat Support - GDPR"
4222
- msgstr "WP Live Chat поддръжка"
4223
-
4224
- #: wp-live-chat-support/modules/gdpr.php:148
4225
- msgid ""
4226
- "Search is performed on chat sessions, messages, and offline messages. Data "
4227
- "will also be deleted automatically per your retention policy."
4228
- msgstr ""
4229
-
4230
- #: wp-live-chat-support/modules/gdpr.php:159
4231
- #, fuzzy
4232
- #| msgid "Leave a message"
4233
- msgid "Name, Email, Message"
4234
- msgstr "Остави съобщение"
4235
-
4236
- #: wp-live-chat-support/modules/gdpr.php:163
4237
- #, fuzzy
4238
- #| msgid "Search Term"
4239
- msgid "Search"
4240
- msgstr "Ключова дума"
4241
-
4242
- #: wp-live-chat-support/modules/gdpr.php:176
4243
- #, php-format
4244
- msgid "Search Results in %%TABLE%%"
4245
- msgstr ""
4246
-
4247
- #: wp-live-chat-support/modules/gdpr.php:202
4248
- #, php-format
4249
- msgid "Delete Chat (%%CID%%)"
4250
- msgstr ""
4251
-
4252
- #: wp-live-chat-support/modules/gdpr.php:203
4253
- #, fuzzy, php-format
4254
- #| msgid "Download Chat History"
4255
- msgid "Download Chat (%%CID%%)"
4256
- msgstr "Изтегляне на историята на чата"
4257
-
4258
- #: wp-live-chat-support/modules/gdpr.php:228
4259
- msgid "Please perform a search using the input field above"
4260
- msgstr ""
4261
-
4262
- #: wp-live-chat-support/modules/gdpr.php:291
4263
- #, fuzzy
4264
- #| msgid "Chat Deleted"
4265
- msgid "Data Deleted"
4266
- msgstr "Чатът беше изтрит"
4267
-
4268
- #: wp-live-chat-support/modules/gdpr.php:371
4269
- #, php-format
4270
- msgid ""
4271
- "I agree for my personal data to be processed and for the use of cookies in "
4272
- "order to engage in a chat processed by %%COMPANY%%, for the purpose of "
4273
- "%%PURPOSE%%, for the time of %%PERIOD%% day(s) as per the GDPR."
4274
- msgstr ""
4275
-
4276
- #: wp-live-chat-support/modules/gdpr.php:392
4277
- #: wp-live-chat-support/modules/gdpr.php:672
4278
- #: wp-live-chat-support/modules/gdpr.php:694
4279
- msgid "Privacy Policy"
4280
- msgstr ""
4281
-
4282
- #: wp-live-chat-support/modules/gdpr.php:393
4283
- #, php-format
4284
- msgid ""
4285
- "We use WP Live Chat Support as our live chat platform. By clicking below to "
4286
- "submit this form, you acknowledge that the information you provide now and "
4287
- "during the chat will be transferred to WP Live Chat Support for processing "
4288
- "in accordance with their %%POLICY_LINK%%."
4289
- msgstr ""
4290
-
4291
- #: wp-live-chat-support/modules/gdpr.php:415
4292
- #, php-format
4293
- msgid ""
4294
- "Please note as per the GDPR settings you have selected, all chat data will "
4295
- "be retained for %%PERIOD%% day(s)."
4296
- msgstr ""
4297
-
4298
- #: wp-live-chat-support/modules/gdpr.php:418
4299
- #, php-format
4300
- msgid ""
4301
- "After this period of time, all chat data older than %%PERIOD%% day(s), will "
4302
- "be permanently removed from your server. "
4303
- msgstr ""
4304
-
4305
- #: wp-live-chat-support/modules/gdpr.php:422
4306
- msgid "GDPR - Data Retention"
4307
- msgstr ""
4308
-
4309
- #: wp-live-chat-support/modules/gdpr.php:428
4310
- #: wp-live-chat-support/modules/gdpr.php:674
4311
- #, fuzzy
4312
- #| msgid "Main Settings"
4313
- msgid "Privacy Settings"
4314
- msgstr "Основни Настройки"
4315
-
4316
- #: wp-live-chat-support/modules/gdpr.php:443
4317
- msgid "Once every 6 hours"
4318
- msgstr ""
4319
-
4320
- #: wp-live-chat-support/modules/gdpr.php:557
4321
- msgid "Delete Chat Data"
4322
- msgstr ""
4323
-
4324
- #: wp-live-chat-support/modules/gdpr.php:558
4325
- #, fuzzy
4326
- #| msgid "Download Chat History"
4327
- msgid "Download Chat Data"
4328
- msgstr "Изтегляне на историята на чата"
4329
-
4330
- #: wp-live-chat-support/modules/gdpr.php:561
4331
- #, fuzzy
4332
- #| msgid "Chat ended"
4333
- msgid "Chat Ended"
4334
- msgstr "Чатът приключи"
4335
-
4336
- #: wp-live-chat-support/modules/gdpr.php:640
4337
- #, fuzzy
4338
- #| msgid "complete"
4339
- msgid "Complete"
4340
- msgstr "завършен"
4341
-
4342
- #: wp-live-chat-support/modules/gdpr.php:665
4343
- msgid ""
4344
- "GDPR compliance has been disabled, read more about the implications of this "
4345
- "here"
4346
- msgstr ""
4347
-
4348
- #: wp-live-chat-support/modules/gdpr.php:666
4349
- #, fuzzy
4350
- #| msgid " with the Pro add-on of WP Live Chat Support"
4351
- msgid "Additionally please take a look at WP Live Chat Support"
4352
- msgstr " с професионалната версия на WP Live Chat Support"
4353
-
4354
- #: wp-live-chat-support/modules/gdpr.php:667
4355
- msgid ""
4356
- "It is highly recommended that you enable GDPR compliance to ensure your user "
4357
- "data is regulated."
4358
- msgstr ""
4359
-
4360
- #: wp-live-chat-support/modules/gdpr.php:670
4361
- msgid "Warning - GDPR Compliance Disabled - Action Required"
4362
- msgstr ""
4363
-
4364
- #: wp-live-chat-support/modules/gdpr.php:671
4365
- msgid "EU GDPR"
4366
- msgstr ""
4367
-
4368
- #: wp-live-chat-support/modules/gdpr.php:675
4369
- msgid "Dismiss & Accept Responsibility"
4370
- msgstr ""
4371
-
4372
- #: wp-live-chat-support/modules/gdpr.php:692
4373
- #, php-format
4374
- msgid "Please refer to our %%PRIVACY_LINK%% for information on Data Processing"
4375
- msgstr ""
4376
-
4377
- #: wp-live-chat-support/modules/gdpr.php:743
4378
- msgid "GDPR Compliance Enabled - Server Selection Limited to EU"
4379
- msgstr ""
4380
-
4381
- #: wp-live-chat-support/modules/google_analytics.php:12
4382
- msgid "Google Analytics Integration"
4383
- msgstr ""
4384
-
4385
- #: wp-live-chat-support/modules/google_analytics.php:17
4386
- msgid "Enable Google Analytics Integration"
4387
- msgstr ""
4388
-
4389
- #: wp-live-chat-support/modules/module_gif.php:144
4390
- #, fuzzy
4391
- #| msgid "Iterations"
4392
- msgid "GIF Integration"
4393
- msgstr "Повторения"
4394
-
4395
- #: wp-live-chat-support/modules/module_gif.php:150
4396
- #, fuzzy
4397
- #| msgid "Enable Encryption"
4398
- msgid "Enable GIF Integration"
4399
- msgstr "Разреши криптиране"
4400
-
4401
- #: wp-live-chat-support/modules/module_gif.php:150
4402
- msgid ""
4403
- "If you enable GIF Integration you're going to be able to send GIFs by typing "
4404
- "commands such as '/gif happy' when writing a message."
4405
- msgstr ""
4406
-
4407
- #: wp-live-chat-support/modules/module_gif.php:158
4408
- #, fuzzy
4409
- #| msgid "Select a survey"
4410
- msgid "Select a GIF provider"
4411
- msgstr "Избор на проучване"
4412
-
4413
- #: wp-live-chat-support/modules/module_gif.php:158
4414
- msgid ""
4415
- "A GIF provider is the source of the GIFs that are going to show when you "
4416
- "type a command like '/gif happy' on a message."
4417
- msgstr ""
4418
-
4419
- #: wp-live-chat-support/modules/module_gif.php:162
4420
- msgid "Giphy"
4421
- msgstr ""
4422
-
4423
- #: wp-live-chat-support/modules/module_gif.php:163
4424
- msgid "Tenor"
4425
- msgstr ""
4426
-
4427
- #: wp-live-chat-support/modules/module_gif.php:169
4428
- #: wp-live-chat-support/modules/module_gif.php:172
4429
- #, fuzzy
4430
- #| msgid "This API key is "
4431
- msgid "Giphy API key"
4432
- msgstr "Този API ключ е "
4433
-
4434
- #: wp-live-chat-support/modules/module_gif.php:169
4435
- msgid "The API key created for you when you register an app on Giphy"
4436
- msgstr ""
4437
-
4438
- #: wp-live-chat-support/modules/module_gif.php:177
4439
- #: wp-live-chat-support/modules/module_gif.php:180
4440
- #, fuzzy
4441
- #| msgid "This API key is "
4442
- msgid "Tenor API key"
4443
- msgstr "Този API ключ е "
4444
-
4445
- #: wp-live-chat-support/modules/module_gif.php:177
4446
- msgid "The API key created for you when you register an app on Tenor"
4447
- msgstr ""
4448
-
4449
- #: wp-live-chat-support/modules/node_server.php:37
4450
- msgid ""
4451
- "Thank you for using WP Live Chat Support - Need assistance? Please get in "
4452
- "touch here: "
4453
- msgstr ""
4454
-
4455
- #: wp-live-chat-support/modules/node_server.php:38
4456
- #: wp-live-chat-support/wp-live-chat-support.php:5195
4457
- msgid "Contact us"
4458
- msgstr "Свържете се с нас"
4459
-
4460
- #: wp-live-chat-support/modules/node_server.php:206
4461
- #: wp-live-chat-support/modules/node_server.php:217
4462
- #: wp-live-chat-support/modules/node_server.php:279
4463
- #: wp-live-chat-support/modules/node_server.php:289
4464
- msgid "Success"
4465
- msgstr ""
4466
-
4467
- #: wp-live-chat-support/modules/node_server.php:220
4468
- #: wp-live-chat-support/modules/node_server.php:292
4469
- msgid "Message data is corrupt"
4470
- msgstr ""
4471
-
4472
- #: wp-live-chat-support/modules/node_server.php:226
4473
- #: wp-live-chat-support/modules/node_server.php:298
4474
- msgid "Message data array not set"
4475
- msgstr ""
4476
-
4477
- #: wp-live-chat-support/modules/node_server.php:229
4478
- #: wp-live-chat-support/modules/node_server.php:301
4479
- #, fuzzy
4480
- #| msgid "Chat with us"
4481
- msgid "Chat ID is not set"
4482
- msgstr "Отвори чат"
4483
-
4484
- #: wp-live-chat-support/modules/node_server.php:233
4485
- #: wp-live-chat-support/modules/node_server.php:305
4486
- #, fuzzy
4487
- #| msgid "No secret token found"
4488
- msgid "No security nonce found"
4489
- msgstr "Не беше намерен ключ за достъп"
4490
-
4491
- #: wp-live-chat-support/modules/node_server.php:323
4492
- msgid "Error"
4493
- msgstr ""
4494
-
4495
- #: wp-live-chat-support/modules/node_server.php:324
4496
- #, fuzzy
4497
- #| msgid "Only chat agents can accept chats"
4498
- msgid "Only chat agents can access this page."
4499
- msgstr "Само чат агенти могат да приемат чат"
4500
-
4501
- #: wp-live-chat-support/modules/node_server.php:534
4502
- #: wp-live-chat-support/wp-live-chat-support.php:6655
4503
- #, fuzzy
4504
- #| msgid "Sending message..."
4505
- msgid "Sending transcript..."
4506
- msgstr "Изпращане на съобщение..."
4507
-
4508
- #: wp-live-chat-support/modules/node_server.php:535
4509
- #: wp-live-chat-support/wp-live-chat-support.php:6656
4510
- msgid "Sending Transcript"
4511
- msgstr ""
4512
-
4513
- #: wp-live-chat-support/modules/node_server.php:537
4514
- #: wp-live-chat-support/wp-live-chat-support.php:6658
4515
- #, fuzzy
4516
- #| msgid "The chat has been ended"
4517
- msgid "The chat transcript has been emailed."
4518
- msgstr "Чатът приключи"
4519
-
4520
- #: wp-live-chat-support/modules/node_server.php:538
4521
- #: wp-live-chat-support/wp-live-chat-support.php:6659
4522
- #, php-format
4523
- msgid ""
4524
- "There was a problem emailing the chat. Please <a target='_BLANK' "
4525
- "href='%s'>contact support</a>."
4526
- msgstr ""
4527
-
4528
- #: wp-live-chat-support/modules/node_server.php:576
4529
- msgid "Connection Error"
4530
- msgstr ""
4531
-
4532
- #: wp-live-chat-support/modules/node_server.php:577
4533
- msgid ""
4534
- "We are having some trouble contacting the server. Please try again later."
4535
- msgstr ""
4536
-
4537
- #: wp-live-chat-support/modules/node_server.php:623
4538
- msgid "Chat is disabled in settings area, re-enable"
4539
- msgstr ""
4540
-
4541
- #: wp-live-chat-support/modules/node_server.php:653
4542
- msgid "User received notification:"
4543
- msgstr ""
4544
-
4545
- #: wp-live-chat-support/modules/node_server.php:681
4546
- #: wp-live-chat-support/wp-live-chat-support.php:2915
4547
- #: wp-live-chat-support/wp-live-chat-support.php:2973
4548
- msgid "New chat received"
4549
- msgstr "Получено е ново съобщение"
4550
-
4551
- #: wp-live-chat-support/modules/node_server.php:682
4552
- #: wp-live-chat-support/wp-live-chat-support.php:2917
4553
- #: wp-live-chat-support/wp-live-chat-support.php:2975
4554
- msgid ""
4555
- "A new chat has been received. Please go the 'Live Chat' page to accept the "
4556
- "chat"
4557
- msgstr ""
4558
- "Беше получено ново съобщение. Моля отиди на страница 'чат на живо' за да "
4559
- "приемеш чат сесията"
4560
-
4561
- #: wp-live-chat-support/modules/node_server.php:736
4562
- #: wp-live-chat-support/wp-live-chat-support.php:5233
4563
- msgid "Add unlimited agents"
4564
- msgstr "Безлимитно добавяне на агенти"
4565
-
4566
- #: wp-live-chat-support/modules/node_server.php:736
4567
- #: wp-live-chat-support/modules/node_server.php:738
4568
- #: wp-live-chat-support/wp-live-chat-support.php:5233
4569
- #: wp-live-chat-support/wp-live-chat-support.php:5234
4570
- #: wp-live-chat-support/wp-live-chat-support.php:5235
4571
- msgid " with the Pro add-on of WP Live Chat Support"
4572
- msgstr " с професионалната версия на WP Live Chat Support"
4573
-
4574
- #: wp-live-chat-support/modules/node_server.php:736
4575
- #: wp-live-chat-support/modules/node_server.php:738
4576
- #: wp-live-chat-support/wp-live-chat-support.php:5233
4577
- #: wp-live-chat-support/wp-live-chat-support.php:5234
4578
- #: wp-live-chat-support/wp-live-chat-support.php:5235
4579
- msgid "(once off payment)."
4580
- msgstr "(еднократно плащане)."
4581
-
4582
- #: wp-live-chat-support/modules/node_server.php:737
4583
- #: wp-live-chat-support/modules/node_server.php:745
4584
- #: wp-live-chat-support/wp-live-chat-support.php:3189
4585
- #: wp-live-chat-support/wp-live-chat-support.php:5231
4586
- #: wp-live-chat-support/wp-live-chat-support.php:5232
4587
- msgid "With the Pro add-on of WP Live Chat Support, you can"
4588
- msgstr "С професионалната версия на приставката WP Live Chat Support можеш да"
4589
-
4590
- #: wp-live-chat-support/modules/node_server.php:737
4591
- #: wp-live-chat-support/modules/node_server.php:746
4592
- #: wp-live-chat-support/wp-live-chat-support.php:3190
4593
- #: wp-live-chat-support/wp-live-chat-support.php:5231
4594
- msgid "see who's online and initiate chats"
4595
- msgstr "виж кой е на линия и инициирай чат"
4596
-
4597
- #: wp-live-chat-support/modules/node_server.php:737
4598
- #: wp-live-chat-support/modules/node_server.php:747
4599
- #: wp-live-chat-support/wp-live-chat-support.php:3191
4600
- #: wp-live-chat-support/wp-live-chat-support.php:5231
4601
- msgid "initiate chats"
4602
- msgstr "инициирй чат "
4603
-
4604
- #: wp-live-chat-support/modules/node_server.php:737
4605
- #: wp-live-chat-support/modules/node_server.php:748
4606
- #: wp-live-chat-support/wp-live-chat-support.php:3192
4607
- #: wp-live-chat-support/wp-live-chat-support.php:5231
4608
- msgid "with your online visitors with the click of a button."
4609
- msgstr "с посетителите на сайта с натискането на един бутон."
4610
-
4611
- #: wp-live-chat-support/modules/node_server.php:737
4612
- #: wp-live-chat-support/wp-live-chat-support.php:5231
4613
- #: wp-live-chat-support/wp-live-chat-support.php:5232
4614
- msgid "Buy the Pro add-on now (once off payment)."
4615
- msgstr "Купете професионалната версия сега (еднократно плащане)"
4616
-
4617
- #: wp-live-chat-support/modules/node_server.php:738
4618
- #: wp-live-chat-support/wp-live-chat-support.php:5234
4619
- #: wp-live-chat-support/wp-live-chat-support.php:5235
4620
- #, fuzzy
4621
- #| msgid "Total Chats"
4622
- msgid "Transfer Chats"
4623
- msgstr "Всичко Чатове"
4624
-
4625
- #: wp-live-chat-support/modules/node_server.php:743
4626
- #, php-format
4627
- msgid ""
4628
- "Chat to other agents with the <a href=\"%s\" target=\"_BLANK\">Pro version</"
4629
- "a>."
4630
- msgstr ""
4631
-
4632
- #: wp-live-chat-support/modules/node_server.php:749
4633
- #: wp-live-chat-support/modules/node_server.php:750
4634
- #: wp-live-chat-support/wp-live-chat-support.php:3193
4635
- #: wp-live-chat-support/wp-live-chat-support.php:3195
4636
- msgid "Buy the Pro add-on now."
4637
- msgstr "Купи професионалната приставка сега."
4638
-
4639
- #: wp-live-chat-support/modules/node_server.php:757
4640
- #, php-format
4641
- msgid ""
4642
- "Get detailed visitor events with the <a target=\"_BLANK\" href=\"%s\">Pro "
4643
- "version</a>."
4644
- msgstr ""
4645
-
4646
- #: wp-live-chat-support/modules/node_server.php:871
4647
- #, fuzzy
4648
- #| msgid "Dear Pro User"
4649
- msgid "Dear Pro User,"
4650
- msgstr "Драги клиенти"
4651
-
4652
- #: wp-live-chat-support/modules/node_server.php:872
4653
- msgid "Your API Key could not be validated, some functionality may be limited"
4654
- msgstr ""
4655
-
4656
- #: wp-live-chat-support/modules/node_server.php:877
4657
- msgid "You are not a verified agent, chat dashboard has been disabled"
4658
- msgstr ""
4659
-
4660
- #: wp-live-chat-support/modules/node_server.php:921
4661
- #, fuzzy
4662
- #| msgid "WP Live Chat Support - Offline Message from "
4663
- msgid "WP Live Chat Support - Offline Mode"
4664
- msgstr "WP Live Chat Support - Форма за съобщение извън линия "
4665
-
4666
- #: wp-live-chat-support/modules/node_server.php:940
4667
- #, php-format
4668
- msgid ""
4669
- "Chat is now in offline mode, please <a href='%s' target='_BLANK'>upgrade to "
4670
- "Version 8</a> (or above) of the WP Live Chat Support Pro Add-on to ensure "
4671
- "all functionality works as expected."
4672
- msgstr ""
4673
-
4674
- #: wp-live-chat-support/modules/node_server.php:942
4675
- #, php-format
4676
- msgid ""
4677
- "Chat is now in offline mode, please renew your API key by visiting the <a "
4678
- "href='%s' target='_BLANK'>My Account</a> area, and receive updates."
4679
- msgstr ""
4680
-
4681
- #: wp-live-chat-support/modules/node_server.php:948
4682
- msgid ""
4683
- "Alternatively, please disable the node server option in the Live Chat "
4684
- "settings area (Live Chat -> Settings -> Advanced Features)"
4685
- msgstr ""
4686
-
4687
- #: wp-live-chat-support/modules/node_server.php:952
4688
- #, fuzzy
4689
- #| msgid "Upgrade Now"
4690
- msgid "Upgrade"
4691
- msgstr "Актуализирай сега"
4692
-
4693
- #: wp-live-chat-support/modules/node_server.php:954
4694
- msgid "Renew License"
4695
- msgstr ""
4696
-
4697
- #: wp-live-chat-support/modules/node_server.php:958
4698
- #: wp-live-chat-support/wp-live-chat-support.php:1036
4699
- msgid "Settings"
4700
- msgstr "Настройки"
4701
-
4702
- #: wp-live-chat-support/modules/node_server.php:961
4703
- msgid "Whats new in Version 8"
4704
- msgstr ""
4705
-
4706
- #: wp-live-chat-support/modules/node_server.php:1041
4707
- #, fuzzy
4708
- #| msgid "Via WP Live Chat Support"
4709
- msgid "Welcome to V8 of WP Live Chat Support"
4710
- msgstr "WP Live Chat Support"
4711
-
4712
- #: wp-live-chat-support/modules/node_server.php:1042
4713
- msgid ""
4714
- "Did you know, this version features high speed message delivery, agent to "
4715
- "agent chat, and a single window layout?"
4716
- msgstr ""
4717
-
4718
- #: wp-live-chat-support/modules/node_server.php:1043
4719
- msgid ""
4720
- "To activate this functionality please navigate to Live Chat -> Settings -> "
4721
- "Advanced Features -> And enable our Chat Server option."
4722
- msgstr ""
4723
-
4724
- #: wp-live-chat-support/modules/node_server.php:1046
4725
- #, fuzzy
4726
- #| msgid "Show After"
4727
- msgid "Show me!"
4728
- msgstr "Покажи след"
4729
-
4730
- #: wp-live-chat-support/modules/node_server.php:1047
4731
- msgid "Don't Show This Again"
4732
- msgstr ""
4733
-
4734
- #: wp-live-chat-support/modules/node_server.php:1196
4735
- msgid "Connecting..."
4736
- msgstr ""
4737
-
4738
- #: wp-live-chat-support/modules/node_server.php:1200
4739
- #, fuzzy
4740
- #| msgid "Active Chats"
4741
- msgid " Active visitors"
4742
- msgstr "Активни чатове"
4743
-
4744
- #: wp-live-chat-support/modules/node_server.php:1201
4745
- #, fuzzy
4746
- #| msgid "Agent(s) online"
4747
- msgid "Agent(s) Online"
4748
- msgstr "Агент/и на линия"
4749
-
4750
- #: wp-live-chat-support/modules/node_server.php:1202
4751
- #, fuzzy
4752
- #| msgid "View Chat History"
4753
- msgid "Chat History"
4754
- msgstr "Преглед история на чата"
4755
-
4756
- #: wp-live-chat-support/modules/node_server.php:1206
4757
- msgid "Department Transfer"
4758
- msgstr ""
4759
-
4760
- #: wp-live-chat-support/modules/node_server.php:1207
4761
- #: wp-live-chat-support/modules/node_server.php:1211
4762
- #: wp-live-chat-support/wp-live-chat-support.php:5235
4763
- msgid "Direct User To Page"
4764
- msgstr ""
4765
-
4766
- #: wp-live-chat-support/modules/node_server.php:1208
4767
- #, fuzzy
4768
- #| msgid "Before chat"
4769
- msgid "Leave chat"
4770
- msgstr "Преди чат"
4771
-
4772
- #: wp-live-chat-support/modules/node_server.php:1209
4773
- #: wp-live-chat-support/wp-live-chat-support.php:3545
4774
- msgid "End chat"
4775
- msgstr "Край на чата"
4776
-
4777
- #: wp-live-chat-support/modules/node_server.php:1212
4778
- #, fuzzy
4779
- #| msgid "Agents"
4780
- msgid "Events"
4781
- msgstr "Агенти"
4782
-
4783
- #: wp-live-chat-support/modules/node_server.php:1213
4784
- #, fuzzy
4785
- #| msgid "End chat"
4786
- msgid "Join chat"
4787
- msgstr "Край на чата"
4788
-
4789
- #: wp-live-chat-support/modules/node_server.php:1214
4790
- msgid "Filters"
4791
- msgstr ""
4792
-
4793
- #: wp-live-chat-support/modules/node_server.php:1215
4794
- #, fuzzy
4795
- #| msgid "Visitors online"
4796
- msgid "New Visitors (3 Min)"
4797
- msgstr "Потребители на линия"
4798
-
4799
- #: wp-live-chat-support/modules/node_server.php:1217
4800
- msgid "Clear Filters"
4801
- msgstr ""
4802
-
4803
- #: wp-live-chat-support/modules/node_server.php:1218
4804
- #, fuzzy
4805
- #| msgid "Active Chats"
4806
- msgid "Active visitors"
4807
- msgstr "Активни чатове"
4808
-
4809
- #: wp-live-chat-support/modules/node_server.php:1219
4810
- #: wp-live-chat-support/wp-live-chat-support.php:3290
4811
- msgid "Visitor"
4812
- msgstr "Потребител"
4813
-
4814
- #: wp-live-chat-support/modules/node_server.php:1220
4815
- #, fuzzy
4816
- #| msgid "Site Info"
4817
- msgid "Info"
4818
- msgstr "Информация за сайта"
4819
-
4820
- #: wp-live-chat-support/modules/node_server.php:1222
4821
- #, fuzzy
4822
- #| msgid "Status"
4823
- msgid "Chat Status"
4824
- msgstr "Статус"
4825
-
4826
- #: wp-live-chat-support/modules/node_server.php:1224
4827
- #, fuzzy
4828
- #| msgid "Search Term"
4829
- msgid "Search Results"
4830
- msgstr "Ключова дума"
4831
-
4832
- #: wp-live-chat-support/modules/node_server.php:1225
4833
- #, fuzzy
4834
- #| msgid "No Goals Found"
4835
- msgid "No emoji found"
4836
- msgstr "Не бяха намерени Цели"
4837
-
4838
- #: wp-live-chat-support/modules/node_server_deprecated.php:272
4839
- #, fuzzy
4840
- #| msgid "The chat has been ended"
4841
- msgid "Chat has been ended."
4842
- msgstr "Чатът приключи"
4843
-
4844
- #: wp-live-chat-support/modules/offline_messages_custom_fields.php:6
4845
- #, php-format
4846
- msgid ""
4847
- "Use the <a href='%s'>Contact Form Ready</a> plugin (free) in order to "
4848
- "customise the input fields of the offline message form.</a>"
4849
- msgstr ""
4850
-
4851
- #: wp-live-chat-support/modules/privacy.php:17
4852
- #: wp-live-chat-support/modules/privacy.php:31
4853
- msgid "Privacy"
4854
- msgstr ""
4855
-
4856
- #: wp-live-chat-support/modules/webhooks_manager.php:8
4857
- #, fuzzy
4858
- #| msgid "Agent(s) online"
4859
- msgid "Agent Login"
4860
- msgstr "Агент/и на линия"
4861
-
4862
- #: wp-live-chat-support/modules/webhooks_manager.php:9
4863
- #, fuzzy
4864
- #| msgid "Device"
4865
- msgid "Device Linked"
4866
- msgstr "Устройство"
4867
-
4868
- #: wp-live-chat-support/modules/webhooks_manager.php:10
4869
- msgid "Device Unlinked (Revoked)"
4870
- msgstr ""
4871
-
4872
- #: wp-live-chat-support/modules/webhooks_manager.php:11
4873
- #, fuzzy
4874
- #| msgid "Visitor"
4875
- msgid "New Visitor"
4876
- msgstr "Потребител"
4877
-
4878
- #: wp-live-chat-support/modules/webhooks_manager.php:12
4879
- #, fuzzy
4880
- #| msgid "Chat Deleted"
4881
- msgid "Chat Request"
4882
- msgstr "Чатът беше изтрит"
4883
-
4884
- #: wp-live-chat-support/modules/webhooks_manager.php:13
4885
- msgid "Agent Accept"
4886
- msgstr ""
4887
-
4888
- #: wp-live-chat-support/modules/webhooks_manager.php:14
4889
- #, fuzzy
4890
- #| msgid "Settings"
4891
- msgid "Settings Changed"
4892
- msgstr "Настройки"
4893
-
4894
- #: wp-live-chat-support/modules/webhooks_manager.php:47
4895
- msgid "Webhooks"
4896
- msgstr ""
4897
-
4898
- #: wp-live-chat-support/modules/webhooks_manager.php:60
4899
- #, fuzzy
4900
- #| msgid "WP Live Chat Support Feedback"
4901
- msgid "WP Live Chat Support - Webhooks"
4902
- msgstr "Обратна връзка към чат екипа"
4903
-
4904
- #: wp-live-chat-support/modules/webhooks_manager.php:82
4905
- msgid "Webhook created"
4906
- msgstr ""
4907
-
4908
- #: wp-live-chat-support/modules/webhooks_manager.php:84
4909
- msgid "Webhook could not be created"
4910
- msgstr ""
4911
-
4912
- #: wp-live-chat-support/modules/webhooks_manager.php:91
4913
- msgid "Webhook edited"
4914
- msgstr ""
4915
-
4916
- #: wp-live-chat-support/modules/webhooks_manager.php:93
4917
- msgid "Webhook could not be edited"
4918
- msgstr ""
4919
-
4920
- #: wp-live-chat-support/modules/webhooks_manager.php:101
4921
- #, fuzzy
4922
- #| msgid "deleted"
4923
- msgid "Webhook deleted"
4924
- msgstr "изтрит"
4925
-
4926
- #: wp-live-chat-support/modules/webhooks_manager.php:103
4927
- #, fuzzy
4928
- #| msgid "Error: Could not delete chat"
4929
- msgid "Webhook could not be delete"
4930
- msgstr "Грешка: Чатът не беше изтрит"
4931
-
4932
- #: wp-live-chat-support/modules/webhooks_manager.php:227
4933
- #: wp-live-chat-support/modules/webhooks_manager.php:282
4934
- msgid "Event"
4935
- msgstr ""
4936
-
4937
- #: wp-live-chat-support/modules/webhooks_manager.php:228
4938
- #: wp-live-chat-support/modules/webhooks_manager.php:287
4939
- #, fuzzy
4940
- #| msgid "Total URLs"
4941
- msgid "Target URL"
4942
- msgstr "Всичко URLs"
4943
-
4944
- #: wp-live-chat-support/modules/webhooks_manager.php:229
4945
- #, fuzzy
4946
- #| msgid "Device"
4947
- msgid "Push Devices"
4948
- msgstr "Устройство"
4949
-
4950
- #: wp-live-chat-support/modules/webhooks_manager.php:230
4951
- #: wp-live-chat-support/modules/webhooks_manager.php:302
4952
- #, fuzzy
4953
- #| msgid "Sending Method"
4954
- msgid "Method"
4955
- msgstr "Метод за Изпращане"
4956
-
4957
- #: wp-live-chat-support/modules/webhooks_manager.php:252
4958
- msgid "No Webhooks"
4959
- msgstr ""
4960
-
4961
- #: wp-live-chat-support/modules/webhooks_manager.php:288
4962
- msgid ""
4963
- "This field can be left empty if you intend on using only push notifications "
4964
- "for online agents"
4965
- msgstr ""
4966
-
4967
- #: wp-live-chat-support/modules/webhooks_manager.php:292
4968
- msgid "Push to Online Agent Devices"
4969
- msgstr ""
4970
-
4971
- #: wp-live-chat-support/modules/webhooks_manager.php:305
4972
- msgid "GET"
4973
- msgstr ""
4974
-
4975
- #: wp-live-chat-support/modules/webhooks_manager.php:306
4976
- msgid "POST"
4977
- msgstr ""
4978
-
4979
- #: wp-live-chat-support/modules/webhooks_manager.php:312
4980
- #, fuzzy
4981
- #| msgid "Save Settings"
4982
- msgid "Save Changes"
4983
- msgstr "Запазване на настройките"
4984
-
4985
- #: wp-live-chat-support/modules/webhooks_manager.php:326
4986
- #, fuzzy
4987
- #| msgid "Are you sure you would like to delete this chat?"
4988
- msgid "Are you sure you want to delete this webhook?"
4989
- msgstr "Изтриване на чат?"
4990
-
4991
- #: wp-live-chat-support/modules/webhooks_manager.php:439
4992
- #, fuzzy
4993
- #| msgid "Enable Trigger"
4994
- msgid "Event Triggered"
4995
- msgstr "Разреши стартер"
4996
-
4997
- #: wp-live-chat-support/wp-live-chat-support.php:853
4998
- #: wp-live-chat-support/wp-live-chat-support.php:2397
4999
- #: wp-live-chat-support/wp-live-chat-support.php:3906
5000
- #: wp-live-chat-support/wp-live-chat-support.php:5929
5001
- msgid "Chat offline. Leave a message"
5002
- msgstr "Чатът е извън линия. Остави съобщение"
5003
-
5004
- #: wp-live-chat-support/wp-live-chat-support.php:854
5005
- #: wp-live-chat-support/wp-live-chat-support.php:2096
5006
- #: wp-live-chat-support/wp-live-chat-support.php:3907
5007
- #: wp-live-chat-support/wp-live-chat-support.php:5930
5008
- msgid "Hello. Please input your details so that I may help you."
5009
- msgstr "Здравей. Моля въведете детайли за да мога да помогна."
5010
-
5011
- #: wp-live-chat-support/wp-live-chat-support.php:855
5012
- #: wp-live-chat-support/wp-live-chat-support.php:1439
5013
- #: wp-live-chat-support/wp-live-chat-support.php:2135
5014
- #: wp-live-chat-support/wp-live-chat-support.php:3908
5015
- #: wp-live-chat-support/wp-live-chat-support.php:5931
5016
- msgid ""
5017
- "We are currently offline. Please leave a message and we'll get back to you "
5018
- "shortly."
5019
- msgstr ""
5020
- "В момента на сме на линия. Моля оставете съобщение и ние ще се свържем с вас "
5021
- "възможно най - скоро!"
5022
-
5023
- #: wp-live-chat-support/wp-live-chat-support.php:856
5024
- #: wp-live-chat-support/wp-live-chat-support.php:1440
5025
- #: wp-live-chat-support/wp-live-chat-support.php:3909
5026
- #: wp-live-chat-support/wp-live-chat-support.php:5932
5027
- msgid "Sending message..."
5028
- msgstr "Изпращане на съобщение..."
5029
-
5030
- #: wp-live-chat-support/wp-live-chat-support.php:857
5031
- #: wp-live-chat-support/wp-live-chat-support.php:1441
5032
- #: wp-live-chat-support/wp-live-chat-support.php:3910
5033
- #: wp-live-chat-support/wp-live-chat-support.php:5933
5034
- msgid "Thank you for your message. We will be in contact soon."
5035
- msgstr "Благодаря за вашето съобщение. Ще се свържем с вас скоро."
5036
-
5037
- #: wp-live-chat-support/wp-live-chat-support.php:859
5038
- #: wp-live-chat-support/wp-live-chat-support.php:3912
5039
- #: wp-live-chat-support/wp-live-chat-support.php:5935
5040
- msgid "Send message"
5041
- msgstr "Изпрати съобщение"
5042
-
5043
- #: wp-live-chat-support/wp-live-chat-support.php:862
5044
- #: wp-live-chat-support/wp-live-chat-support.php:3900
5045
- #: wp-live-chat-support/wp-live-chat-support.php:5938
5046
- msgid "Start live chat"
5047
- msgstr "Стартиране на чат на живо"
5048
-
5049
- #: wp-live-chat-support/wp-live-chat-support.php:865
5050
- #: wp-live-chat-support/wp-live-chat-support.php:3903
5051
- #: wp-live-chat-support/wp-live-chat-support.php:5941
5052
- msgid "Chat ended"
5053
- msgstr "Чатът приключи"
5054
-
5055
- #: wp-live-chat-support/wp-live-chat-support.php:866
5056
- #: wp-live-chat-support/wp-live-chat-support.php:2191
5057
- #: wp-live-chat-support/wp-live-chat-support.php:2294
5058
- #: wp-live-chat-support/wp-live-chat-support.php:3904
5059
- #: wp-live-chat-support/wp-live-chat-support.php:5942
5060
- msgid "Connecting. Please be patient..."
5061
- msgstr "Свързване. Моля за търпение..."
5062
-
5063
- #: wp-live-chat-support/wp-live-chat-support.php:868
5064
- #: wp-live-chat-support/wp-live-chat-support.php:2298
5065
- #: wp-live-chat-support/wp-live-chat-support.php:3916
5066
- #: wp-live-chat-support/wp-live-chat-support.php:5944
5067
- msgid "Welcome. How may I help you?"
5068
- msgstr "Добре дошли. Как мога да Ви помогна?"
5069
-
5070
- #: wp-live-chat-support/wp-live-chat-support.php:871
5071
- #: wp-live-chat-support/wp-live-chat-support.php:3915
5072
- #: wp-live-chat-support/wp-live-chat-support.php:5947
5073
- msgid "close"
5074
- msgstr "затвори"
5075
-
5076
- #: wp-live-chat-support/wp-live-chat-support.php:914
5077
- #: wp-live-chat-support/wp-live-chat-support.php:3874
5078
- msgid "Please click \\'Start Chat\\' to initiate a chat with an agent"
5079
- msgstr "Моля изберете \\'Стартиране на Чат\\' за да инициирате чат с наш агент"
5080
-
5081
- #: wp-live-chat-support/wp-live-chat-support.php:1037
5082
- msgid "Surveys"
5083
- msgstr "Проучвания"
5084
-
5085
- #: wp-live-chat-support/wp-live-chat-support.php:1054
5086
- msgid "History"
5087
- msgstr "История"
5088
-
5089
- #: wp-live-chat-support/wp-live-chat-support.php:1055
5090
- msgid "Missed Chats"
5091
- msgstr "Пропуснати чатове"
5092
-
5093
- #: wp-live-chat-support/wp-live-chat-support.php:1078
5094
- msgid "Extensions"
5095
- msgstr "Разширени"
5096
-
5097
- #: wp-live-chat-support/wp-live-chat-support.php:1088
5098
- msgid "API Keys"
5099
- msgstr "API ключове"
5100
-
5101
- #: wp-live-chat-support/wp-live-chat-support.php:1094
5102
- msgid "Premium Extension API Keys"
5103
- msgstr "API ключ - преференциални разширения"
5104
-
5105
- #: wp-live-chat-support/wp-live-chat-support.php:1095
5106
- msgid ""
5107
- "To find and manage your premium API keys, please visit your <a "
5108
- "target='_BLANK' href='https://wp-livechat.com/my-account/'>my account</a> "
5109
- "page."
5110
- msgstr ""
5111
- "За да намериш и управляваш преференциалните си API ключове моля, посети "
5112
- "своята<a target='_BLANK' href='https://wp-livechat.com/my-account/'>профил</"
5113
- "a> страница."
5114
-
5115
- #: wp-live-chat-support/wp-live-chat-support.php:1423
5116
- #, fuzzy
5117
- #| msgid "Please review your submission"
5118
- msgid "Please enter your name"
5119
- msgstr "Моля прегледай"
5120
-
5121
- #: wp-live-chat-support/wp-live-chat-support.php:1424
5122
- #, fuzzy
5123
- #| msgid "Please review your submission"
5124
- msgid "Please enter your email address"
5125
- msgstr "Моля прегледай"
5126
-
5127
- #: wp-live-chat-support/wp-live-chat-support.php:1425
5128
- msgid "Connection to server lost. Please reload this page. Error: "
5129
- msgstr ""
5130
-
5131
- #: wp-live-chat-support/wp-live-chat-support.php:1427
5132
- #, fuzzy
5133
- #| msgid "Leave a message"
5134
- msgid "Please enter a message"
5135
- msgstr "Остави съобщение"
5136
-
5137
- #: wp-live-chat-support/wp-live-chat-support.php:1428
5138
- msgid "Disconnected, attempting to reconnect..."
5139
- msgstr ""
5140
-
5141
- #: wp-live-chat-support/wp-live-chat-support.php:1475
5142
- #: wp-live-chat-support/wp-live-chat-support.php:1476
5143
- #: wp-live-chat-support/wp-live-chat-support.php:3667
5144
- msgid " is typing..."
5145
- msgstr ""
5146
-
5147
- #: wp-live-chat-support/wp-live-chat-support.php:1479
5148
- msgid " has joined."
5149
- msgstr ""
5150
-
5151
- #: wp-live-chat-support/wp-live-chat-support.php:1480
5152
- msgid " has left."
5153
- msgstr ""
5154
-
5155
- #: wp-live-chat-support/wp-live-chat-support.php:1481
5156
- #, fuzzy
5157
- #| msgid "User has opened the chat window"
5158
- msgid " has ended the chat."
5159
- msgstr "Потребителят отвори чат прозорец"
5160
-
5161
- #: wp-live-chat-support/wp-live-chat-support.php:1482
5162
- msgid " has disconnected."
5163
- msgstr ""
5164
-
5165
- #: wp-live-chat-support/wp-live-chat-support.php:1483
5166
- msgid "(edited)"
5167
- msgstr ""
5168
-
5169
- #: wp-live-chat-support/wp-live-chat-support.php:1484
5170
- #: wp-live-chat-support/wp-live-chat-support.php:2336
5171
- #, fuzzy
5172
- #| msgid "type here..."
5173
- msgid "Type here"
5174
- msgstr "пиши тук..."
5175
-
5176
- #: wp-live-chat-support/wp-live-chat-support.php:1984
5177
- #: wp-live-chat-support/wp-live-chat-support.php:2004
5178
- msgid "Start chat"
5179
- msgstr "Стартирай чат"
5180
-
5181
- #: wp-live-chat-support/wp-live-chat-support.php:3077
5182
- msgid ""
5183
- "You are using an outdated version of <strong>WP Live Chat Support Pro</"
5184
- "strong>. Please"
5185
- msgstr ""
5186
- "Използвате остаряла версия на <strong>WP Live Chat Support Pro</strong>. Моля"
5187
-
5188
- #: wp-live-chat-support/wp-live-chat-support.php:3077
5189
- msgid "update to at least version"
5190
- msgstr "обновете до последна версия"
5191
-
5192
- #: wp-live-chat-support/wp-live-chat-support.php:3077
5193
- msgid "to ensure all functionality is in working order"
5194
- msgstr "за да подсигурите безпроблемната работа на всички функции"
5195
-
5196
- #: wp-live-chat-support/wp-live-chat-support.php:3078
5197
- msgid ""
5198
- "You're live chat box on your website has been temporarily disabled until the "
5199
- "Pro plugin has been updated. This is to ensure a smooth and hassle-free user "
5200
- "experience for both yourself and your visitors."
5201
- msgstr ""
5202
- "Възможността за чат на живо беше прекъсната по време на обновяване на чат "
5203
- "приставката. Това беше необходимо, за да подсигурим безпроблемно преминаване "
5204
- "към новата версия на разширението."
5205
-
5206
- #: wp-live-chat-support/wp-live-chat-support.php:3079
5207
- #: wp-live-chat-support/wp-live-chat-support.php:3099
5208
- msgid ""
5209
- "You can update your plugin <a href='./update-core.php'>here</a>, <a href='./"
5210
- "plugins.php'>here</a> or <a href='https://wp-livechat.com/get-updated-"
5211
- "version/' target='_BLANK'>here</a>."
5212
- msgstr ""
5213
- "Можете да обновите разширението <a href='./update-core.php'>тук</a>, <a "
5214
- "href='./plugins.php'>тук</a> или <a href='https://wp-livechat.com/get-"
5215
- "updated-version/' target='_BLANK'>тук</a>."
5216
-
5217
- #: wp-live-chat-support/wp-live-chat-support.php:3080
5218
- #: wp-live-chat-support/wp-live-chat-support.php:3100
5219
- msgid "If you are having difficulty updating the plugin, please contact"
5220
- msgstr "Ако изпитвате затруднения да обновите приставката, моля свържете се с"
5221
-
5222
- #: wp-live-chat-support/wp-live-chat-support.php:3092
5223
- msgid ""
5224
- "You are using an outdated version of <strong>WP Live Chat Support Pro</"
5225
- "strong>."
5226
- msgstr ""
5227
- "Вие използвате остаряла версия на <strong>WP Live Chat Support Pro</strong>."
5228
-
5229
- #: wp-live-chat-support/wp-live-chat-support.php:3094
5230
- msgid "Please update to the latest version of WP Live Chat Support Pro"
5231
- msgstr "Моля обновете до последна версия на WP Live Chat Support Pro"
5232
-
5233
- #: wp-live-chat-support/wp-live-chat-support.php:3095
5234
- msgid "Version 5.0.1"
5235
- msgstr "Версия 5.0.1"
5236
-
5237
- #: wp-live-chat-support/wp-live-chat-support.php:3096
5238
- msgid "to ensure everything is working correctly."
5239
- msgstr "за да подсигурите нормална работа на приложението."
5240
-
5241
- #: wp-live-chat-support/wp-live-chat-support.php:3147
5242
- msgid "Congratulations"
5243
- msgstr "Поздравления"
5244
-
5245
- #: wp-live-chat-support/wp-live-chat-support.php:3148
5246
- msgid "You are now accepting live chat requests on your site."
5247
- msgstr "Сега вече приемате чат сесии на сайта си."
5248
-
5249
- #: wp-live-chat-support/wp-live-chat-support.php:3149
5250
- msgid "The live chat box has automatically been enabled on your website."
5251
- msgstr "Чатът на живо беше автоматично разрешен."
5252
-
5253
- #: wp-live-chat-support/wp-live-chat-support.php:3150
5254
- msgid "Chat notifications will start appearing once visitors send a request."
5255
- msgstr "Чат нотификациите ще бъдат видими щом потребител изпрати запитване."
5256
-
5257
- #: wp-live-chat-support/wp-live-chat-support.php:3151
5258
- msgid ""
5259
- "You may <a href='?page=wplivechat-menu-settings' target='_BLANK'>modify your "
5260
- "chat box settings here."
5261
- msgstr ""
5262
- "Можеш да <a href='?page=wplivechat-menu-settings' "
5263
- "target='_BLANK'>модифицираш чат настройките си тук."
5264
-
5265
- #: wp-live-chat-support/wp-live-chat-support.php:3152
5266
- msgid "Experiencing issues?"
5267
- msgstr "Изпитваш затруднения?"
5268
-
5269
- #: wp-live-chat-support/wp-live-chat-support.php:3152
5270
- msgid "Visit our troubleshooting section."
5271
- msgstr "Посети секция отстраняване на неизправности."
5272
-
5273
- #: wp-live-chat-support/wp-live-chat-support.php:3154
5274
- msgid "Hide"
5275
- msgstr "Скрий"
5276
-
5277
- #: wp-live-chat-support/wp-live-chat-support.php:3249
5278
- msgid ""
5279
- "Please note: This window must be open in order to receive new chat "
5280
- "notifications."
5281
- msgstr ""
5282
- "Моля обърни внимание: Този прозорец трябва да е отворен за получаването на "
5283
- "нови чат нотификации."
5284
-
5285
- #: wp-live-chat-support/wp-live-chat-support.php:3259
5286
- #, fuzzy, php-format
5287
- #| msgid ""
5288
- #| "<a href=\"%s\" target=\"_BLANK\" title=\"Create a survey\">Create a "
5289
- #| "survey</a>."
5290
- msgid "Need help? <a href=\"%s\" target=\"_BLANK\">contact us</a>."
5291
- msgstr ""
5292
- "<a href=\"%s\" target=\"_BLANK\" title=\"Create a survey\">Създай проучване</"
5293
- "a>."
5294
-
5295
- #: wp-live-chat-support/wp-live-chat-support.php:3276
5296
- msgid "Visitors online"
5297
- msgstr "Потребители на линия"
5298
-
5299
- #: wp-live-chat-support/wp-live-chat-support.php:3291
5300
- msgid "Time"
5301
- msgstr "Време"
5302
-
5303
- #: wp-live-chat-support/wp-live-chat-support.php:3293
5304
- msgid "Device"
5305
- msgstr "Устройство"
5306
-
5307
- #: wp-live-chat-support/wp-live-chat-support.php:3294
5308
- msgid "Data"
5309
- msgstr "Данни"
5310
-
5311
- #: wp-live-chat-support/wp-live-chat-support.php:3332
5312
- msgid "Chat Dashboard"
5313
- msgstr "Чат Табло"
5314
-
5315
- #: wp-live-chat-support/wp-live-chat-support.php:3335
5316
- msgid "Oh no!"
5317
- msgstr "О не!"
5318
-
5319
- #: wp-live-chat-support/wp-live-chat-support.php:3338
5320
- msgid ""
5321
- "You do not have access to this page as <strong>you are not a chat agent</"
5322
- "strong>."
5323
- msgstr "Нямаш достъп до тази страница <strong>не си чат агент...</strong>."
5324
-
5325
- #: wp-live-chat-support/wp-live-chat-support.php:3523
5326
- msgid "Previous"
5327
- msgstr "Предишен"
5328
-
5329
- #: wp-live-chat-support/wp-live-chat-support.php:3534
5330
- msgid "Chat with"
5331
- msgstr "Чат с"
5332
-
5333
- #: wp-live-chat-support/wp-live-chat-support.php:3536
5334
- msgid "Starting Time:"
5335
- msgstr ""
5336
-
5337
- #: wp-live-chat-support/wp-live-chat-support.php:3537
5338
- msgid "Ending Time:"
5339
- msgstr ""
5340
-
5341
- #: wp-live-chat-support/wp-live-chat-support.php:3597
5342
- #: wp-live-chat-support/wp-live-chat-support.php:5027
5343
- msgid "Add-ons"
5344
- msgstr "Добавки"
5345
-
5346
- #: wp-live-chat-support/wp-live-chat-support.php:3599
5347
- msgid "Get more add-ons"
5348
- msgstr "Повече добавки"
5349
-
5350
- #: wp-live-chat-support/wp-live-chat-support.php:3616
5351
- msgid "Add Quick Responses to your Live Chat"
5352
- msgstr "Добави бързи отговори към твоя Live Chat"
5353
-
5354
- #: wp-live-chat-support/wp-live-chat-support.php:3616
5355
- msgid "Pro version only"
5356
- msgstr "Само в професионалната версия"
5357
-
5358
- #: wp-live-chat-support/wp-live-chat-support.php:3626
5359
- msgid "type here..."
5360
- msgstr "пиши тук..."
5361
-
5362
- #: wp-live-chat-support/wp-live-chat-support.php:3812
5363
- msgid "is typing..."
5364
- msgstr ""
5365
-
5366
- #: wp-live-chat-support/wp-live-chat-support.php:3856
5367
- msgid "User has opened the chat window"
5368
- msgstr "Потребителят отвори чат прозорец"
5369
-
5370
- #: wp-live-chat-support/wp-live-chat-support.php:3857
5371
- msgid "User has minimized the chat window"
5372
- msgstr "Потребителят минимизира чат прозареца"
5373
-
5374
- #: wp-live-chat-support/wp-live-chat-support.php:3858
5375
- msgid "User has maximized the chat window"
5376
- msgstr "Потребителят максимизира чат прозореца"
5377
-
5378
- #: wp-live-chat-support/wp-live-chat-support.php:3859
5379
- msgid "The chat has been ended"
5380
- msgstr "Чатът приключи"
5381
-
5382
- #: wp-live-chat-support/wp-live-chat-support.php:4491
5383
- msgid "Delete History"
5384
- msgstr "Изтриване на историята"
5385
-
5386
- #: wp-live-chat-support/wp-live-chat-support.php:4508
5387
- msgid "No chats available at the moment"
5388
- msgstr "Не са налични чатове в момента"
5389
-
5390
- #: wp-live-chat-support/wp-live-chat-support.php:4560
5391
- msgid "WP Live Chat History"
5392
- msgstr "WP Live Chat История"
5393
-
5394
- #: wp-live-chat-support/wp-live-chat-support.php:4589
5395
- msgid "WP Live Chat Missed Chats"
5396
- msgstr "WP Live Chat пропуснати чатове"
5397
-
5398
- #: wp-live-chat-support/wp-live-chat-support.php:4604
5399
- msgid ""
5400
- "Please update to the latest version of WP Live Chat Support Pro to start "
5401
- "recording any offline messages."
5402
- msgstr ""
5403
- "Моля обновете до последната версия на WP Live Chat Support Pro за да "
5404
- "стартирате записването на съобщения извън линия."
5405
-
5406
- #: wp-live-chat-support/wp-live-chat-support.php:4607
5407
- msgid "This option is only available in the "
5408
- msgstr "Тази опция е налична само в "
5409
-
5410
- #: wp-live-chat-support/wp-live-chat-support.php:4619
5411
- msgid "WP Live Chat Offline Messages"
5412
- msgstr "WP Live Chat Съобщения Извън Линия"
5413
-
5414
- #: wp-live-chat-support/wp-live-chat-support.php:4640
5415
- msgid "Actions"
5416
- msgstr "Действия"
5417
-
5418
- #: wp-live-chat-support/wp-live-chat-support.php:4664
5419
- msgid "Delete Message"
5420
- msgstr "Изтриване на съобщение"
5421
-
5422
- #: wp-live-chat-support/wp-live-chat-support.php:4794
5423
- msgid "Please click 'Start Chat' to initiate a chat with an agent"
5424
- msgstr "За да инициирате чат с наш агент, моля натиснете 'Старт чат' бутона"
5425
-
5426
- #: wp-live-chat-support/wp-live-chat-support.php:4938
5427
- msgid "Thank You for your feedback!"
5428
- msgstr "Благодарим за обратната връзка!"
5429
-
5430
- #: wp-live-chat-support/wp-live-chat-support.php:4948
5431
- msgid "Your settings have been saved."
5432
- msgstr "Настройките са съхранени."
5433
-
5434
- #: wp-live-chat-support/wp-live-chat-support.php:4993
5435
- msgid ""
5436
- "WPLC: set_time_limit() is not enabled on this server. You may experience "
5437
- "issues while using WP Live Chat Support as a result of this. Please get in "
5438
- "contact your host to get this function enabled."
5439
- msgstr ""
5440
- "WPLC: set_time_limit() не е разрешено на този сървър. В резултат на това "
5441
- "може да изпитате затруднения докато ползвате WP Live Chat Support. Моля "
5442
- "свържете се с администратора на приложението за да разрешите тази функция."
5443
-
5444
- #: wp-live-chat-support/wp-live-chat-support.php:4999
5445
- msgid ""
5446
- "WPLC: Safe mode is enabled on this server. You may experience issues while "
5447
- "using WP Live Chat Support as a result of this. Please contact your host to "
5448
- "get safe mode disabled."
5449
- msgstr ""
5450
- "WPLC: Безопасният режим е разрешен на този сървър. В резултат на това може "
5451
- "да изпитате затруднения с WP Live Chat Support. Моля свържете се с "
5452
- "администратора на приложението за да забраните тази функция."
5453
-
5454
- #: wp-live-chat-support/wp-live-chat-support.php:5027
5455
- msgid "Suggested Plugins"
5456
- msgstr "Предложения за приставки"
5457
-
5458
- #: wp-live-chat-support/wp-live-chat-support.php:5038
5459
- #: wp-live-chat-support/wp-live-chat-support.php:5039
5460
- #: wp-live-chat-support/wp-live-chat-support.php:5040
5461
- #: wp-live-chat-support/wp-live-chat-support.php:5045
5462
- msgid "Sola Support Tickets"
5463
- msgstr "Sola билети за поддръжка"
5464
-
5465
- #: wp-live-chat-support/wp-live-chat-support.php:5043
5466
- msgid ""
5467
- "The easiest to use Help Desk & Support Ticket plugin. Create a support help "
5468
- "desk quickly and easily with Sola Support Tickets."
5469
- msgstr ""
5470
- "Най - лесното за работа разширение - бюро поддръжка (Help Desk & Support "
5471
- "Ticket plugin). Направете бюро по поддръжка лесно и бързо с разширение Sola "
5472
- "Support Tickets."
5473
-
5474
- #: wp-live-chat-support/wp-live-chat-support.php:5045
5475
- #: wp-live-chat-support/wp-live-chat-support.php:5056
5476
- msgid "Get this Plugin"
5477
- msgstr "Вземи това разширение"
5478
-
5479
- #: wp-live-chat-support/wp-live-chat-support.php:5049
5480
- #: wp-live-chat-support/wp-live-chat-support.php:5050
5481
- #: wp-live-chat-support/wp-live-chat-support.php:5051
5482
- #: wp-live-chat-support/wp-live-chat-support.php:5056
5483
- msgid "Nifty Newsletters"
5484
- msgstr "Nifty новини"
5485
-
5486
- #: wp-live-chat-support/wp-live-chat-support.php:5054
5487
- msgid ""
5488
- "Create and send newsletters, automatic post notifications and autoresponders "
5489
- "that are modern and beautiful with Nifty Newsletters."
5490
- msgstr ""
5491
- "Създавайте и изпращайте новини. Автоматизирайте изпращането на нотификации и "
5492
- "отговори по модерен и красив начин с Nifty Newsletters."
5493
-
5494
- #: wp-live-chat-support/wp-live-chat-support.php:5088
5495
- msgid "Price:"
5496
- msgstr "Цена:"
5497
-
5498
- #: wp-live-chat-support/wp-live-chat-support.php:5090
5499
- msgid "Free"
5500
- msgstr "Безплатно"
5501
-
5502
- #: wp-live-chat-support/wp-live-chat-support.php:5091
5503
- msgid "Paid"
5504
- msgstr "Платено"
5505
-
5506
- #: wp-live-chat-support/wp-live-chat-support.php:5094
5507
- msgid "For:"
5508
- msgstr "За:"
5509
-
5510
- #: wp-live-chat-support/wp-live-chat-support.php:5095
5511
- msgid "Both"
5512
- msgstr "Двете"
5513
-
5514
- #: wp-live-chat-support/wp-live-chat-support.php:5096
5515
- msgid "Free version"
5516
- msgstr "Безплатна версия"
5517
-
5518
- #: wp-live-chat-support/wp-live-chat-support.php:5097
5519
- msgid "Pro version"
5520
- msgstr "Професионална версия"
5521
-
5522
- #: wp-live-chat-support/wp-live-chat-support.php:5129
5523
- msgid "Already installed"
5524
- msgstr "Вече е инсталирано"
5525
-
5526
- #: wp-live-chat-support/wp-live-chat-support.php:5158
5527
- msgid "WP Live Chat Support"
5528
- msgstr "WP Live Chat поддръжка"
5529
-
5530
- #: wp-live-chat-support/wp-live-chat-support.php:5163
5531
- msgid ""
5532
- "Getting started? Read through some of these articles to help you along your "
5533
- "way."
5534
- msgstr "Подготвяте се да започнете? Ето статии с полезна информация."
5535
-
5536
- #: wp-live-chat-support/wp-live-chat-support.php:5164
5537
- msgid "Documentation:"
5538
- msgstr "Документация:"
5539
-
5540
- #: wp-live-chat-support/wp-live-chat-support.php:5166
5541
- msgid "Minimum System Requirements"
5542
- msgstr "Минимални системни изисквания"
5543
-
5544
- #: wp-live-chat-support/wp-live-chat-support.php:5167
5545
- msgid "Do I have to be logged into the dashboard to chat with visitors?"
5546
- msgstr ""
5547
- "Трябва ли да съм регистриран в чат таблото за да инициирам чат с посетители "
5548
- "на сайта?"
5549
-
5550
- #: wp-live-chat-support/wp-live-chat-support.php:5168
5551
- msgid "What are Quick Responses?"
5552
- msgstr "Кои са Бързите ми Отговори?"
5553
-
5554
- #: wp-live-chat-support/wp-live-chat-support.php:5169
5555
- msgid "Can I use this plugin on my multi-site?"
5556
- msgstr "Мога ли да използвам тази приставка на множество сайтове?"
5557
-
5558
- #: wp-live-chat-support/wp-live-chat-support.php:5170
5559
- msgid "How do I disable APC Object Cache?"
5560
- msgstr "Как да забраня APC Object Cache?"
5561
-
5562
- #: wp-live-chat-support/wp-live-chat-support.php:5171
5563
- msgid "Do you have a mobile app?"
5564
- msgstr "Имате ли мобилно приложение?"
5565
-
5566
- #: wp-live-chat-support/wp-live-chat-support.php:5172
5567
- msgid "How do I check for JavaScript errors on my site?"
5568
- msgstr "Как да проверя за JavaScript грешки на сайта си?"
5569
-
5570
- #: wp-live-chat-support/wp-live-chat-support.php:5176
5571
- msgid "Troubleshooting"
5572
- msgstr "Отстраняване на проблеми"
5573
-
5574
- #: wp-live-chat-support/wp-live-chat-support.php:5178
5575
- msgid ""
5576
- "WP Live Chat Support has a diverse and wide range of features which may, "
5577
- "from time to time, run into conflicts with the thousands of themes and other "
5578
- "plugins on the market."
5579
- msgstr ""
5580
- "WP live Chat support има разнообразна палитра от функции, които биха могли "
5581
- "да влязат в конфликт с хилядите теми и други приставки на пазара."
5582
-
5583
- #: wp-live-chat-support/wp-live-chat-support.php:5179
5584
- msgid "Common issues:"
5585
- msgstr "Често срещани проблеми:"
5586
-
5587
- #: wp-live-chat-support/wp-live-chat-support.php:5181
5588
- msgid "The chat box doesnt show up"
5589
- msgstr "Чат прозореца не се показва"
5590
-
5591
- #: wp-live-chat-support/wp-live-chat-support.php:5182
5592
- msgid "The chat window disappears when I logout or go offline"
5593
- msgstr "Чат прозореца изчезва, когато изляза или съм извън линия"
5594
-
5595
- #: wp-live-chat-support/wp-live-chat-support.php:5183
5596
- msgid "This chat has already been answered. Please close the chat window"
5597
- msgstr "На този чат, вече е отговорено. Моля затворете чат прозореца"
5598
-
5599
- #: wp-live-chat-support/wp-live-chat-support.php:5184
5600
- msgid "Messages only show when I refresh the chat window"
5601
- msgstr "Съобщението се показва само след обновяване на чат прозореца"
5602
-
5603
- #: wp-live-chat-support/wp-live-chat-support.php:5185
5604
- msgid "I'm not getting any notifications of a new chat"
5605
- msgstr "Не получавам нотификации при иницииране на нов чат"
5606
-
5607
- #: wp-live-chat-support/wp-live-chat-support.php:5186
5608
- msgid "The chat window never goes offline"
5609
- msgstr "Чат прозореца никога не е извън линия"
5610
-
5611
- #: wp-live-chat-support/wp-live-chat-support.php:5192
5612
- msgid "Still need help? Use one of these links below."
5613
- msgstr "Все още се нуждаете от помощ? Ползвайте един от линковете по - дилу."
5614
-
5615
- #: wp-live-chat-support/wp-live-chat-support.php:5194
5616
- msgid "Support desk"
5617
- msgstr "Бюро поддръжка"
5618
-
5619
- #: wp-live-chat-support/wp-live-chat-support.php:5231
5620
- msgid "Initiate Chats"
5621
- msgstr "Инициирайте чат"
5622
-
5623
- #: wp-live-chat-support/wp-live-chat-support.php:5232
5624
- msgid "Multiple Chats"
5625
- msgstr "Множество чатове"
5626
-
5627
- #: wp-live-chat-support/wp-live-chat-support.php:5232
5628
- msgid "accept and handle multiple chats."
5629
- msgstr "Приемане и управление на множество чатове."
5630
-
5631
- #: wp-live-chat-support/wp-live-chat-support.php:5256
5632
- #, php-format
5633
- msgid ""
5634
- "Thank you for using <a href=\"%1$s\" target=\"_blank\">WP Live Chat Support</"
5635
- "a>! Please <a href=\"%2$s\" target=\"_blank\">rate us</a> on <a href=\"%2$s"
5636
- "\" target=\"_blank\">WordPress.org</a>"
5637
- msgstr ""
5638
- "Благодарим, че използвахте <a href=\"%1$s\" target=\"_blank\">WP Live Chat "
5639
- "Support</a>! Моля <a href=\"%2$s\" target=\"_blank\">оценете ни</a> на <a "
5640
- "href=\"%2$s\" target=\"_blank\">WordPress.org</a>"
5641
-
5642
- #: wp-live-chat-support/wp-live-chat-support.php:5261
5643
- msgid "WP Live Chat Support is a product of"
5644
- msgstr "WP Live Chat Support е продукт на"
5645
-
5646
- #: wp-live-chat-support/wp-live-chat-support.php:5382
5647
- msgid "Add as many agents as you need with the "
5648
- msgstr "Добавете колкото агенти имате нужда с "
5649
-
5650
- #: wp-live-chat-support/wp-live-chat-support.php:5382
5651
- msgid "Pro version."
5652
- msgstr "Професионалната версия."
5653
-
5654
- #: wp-live-chat-support/wp-live-chat-support.php:5386
5655
- #, php-format
5656
- msgid "Change the default chat agent from <strong>%1$s</strong> to "
5657
- msgstr "Променете шаблон за чат агенти от <strong>%1$s</strong> на "
5658
-
5659
- #: wp-live-chat-support/wp-live-chat-support.php:5544
5660
- msgid "Verify"
5661
- msgstr "Провери"
5662
-
5663
- #: wp-live-chat-support/wp-live-chat-support.php:5547
5664
- msgid "Status: "
5665
- msgstr "Статус: "
5666
-
5667
- #: wp-live-chat-support/wp-live-chat-support.php:5550
5668
- msgid "Valid"
5669
- msgstr "Валиден"
5670
-
5671
- #: wp-live-chat-support/wp-live-chat-support.php:5551
5672
- #: wp-live-chat-support/wp-live-chat-support.php:5555
5673
- msgid "Manage this extension"
5674
- msgstr "Управление на тази приставка"
5675
-
5676
- #: wp-live-chat-support/wp-live-chat-support.php:5554
5677
- msgid "Invalid"
5678
- msgstr "Невалидно"
5679
-
5680
- #: wp-live-chat-support/wp-live-chat-support.php:5560
5681
- msgid "Linked Domains"
5682
- msgstr "Свързани домейни"
5683
-
5684
- #: wp-live-chat-support/wp-live-chat-support.php:5599
5685
- #: wp-live-chat-support/wp-live-chat-support.php:5653
5686
- msgid ""
5687
- "Get unlimited agents, initiate chats, advanced chat box control, encryption "
5688
- "and more with the Pro add-on."
5689
- msgstr ""
5690
- "Без лимит за агенти, иницииране на чатове, разширен чат контрол, криптиране "
5691
- още много с професионалната версия."
5692
-
5693
- #: wp-live-chat-support/wp-live-chat-support.php:5601
5694
- #: wp-live-chat-support/wp-live-chat-support.php:5628
5695
- #: wp-live-chat-support/wp-live-chat-support.php:5655
5696
- msgid "Get this extension"
5697
- msgstr "Вземи това разширение"
5698
-
5699
- #: wp-live-chat-support/wp-live-chat-support.php:5617
5700
- msgid "Mobile & Desktop App"
5701
- msgstr "Настолни и Мобилни приложения"
5702
-
5703
- #: wp-live-chat-support/wp-live-chat-support.php:5626
5704
- msgid ""
5705
- "Answer chats directly from your mobile phone or desktop with our mobile app "
5706
- "and desktop client"
5707
- msgstr ""
5708
- "Отговаряй на чат директно от мобилния си телефон или персонален компютър със "
5709
- "съответните ни клиентски приложения"
5710
-
5711
- #: wp-live-chat-support/wp-live-chat-support.php:5673
5712
- #: wp-live-chat-support/wp-live-chat-support.php:5694
5713
- msgid "Relevant Extensions"
5714
- msgstr "Приложими приставки"
5715
-
5716
- #: wp-live-chat-support/wp-live-chat-support.php:5719
5717
- msgid "Powered By WP Live Chat Support"
5718
- msgstr "Захранено от WP Live Chat Support"
5719
-
5720
- #: wp-live-chat-support/wp-live-chat-support.php:5898
5721
- msgid ""
5722
- "Your API Key is Invalid. You are not eligible for future updates. Please "
5723
- "enter your API key <a href=\"admin.php?page=wplivechat-menu-api-keys-page"
5724
- "\">here</a>."
5725
- msgstr ""
5726
- "API ключа е невалиден. Бъдещите обновления няма да бъдат невъзможни. Моля "
5727
- "добавете нов API ключ <a href=\"admin.php?page=wplivechat-menu-api-keys-page"
5728
- "\">тук</a>."
5729
-
5730
- #: wp-live-chat-support/wp-live-chat-support.php:6021
5731
- msgid "Advanced settings"
5732
- msgstr "Разширени настройки"
5733
-
5734
- #: wp-live-chat-support/wp-live-chat-support.php:6031
5735
- msgid "Only change these settings if you are experiencing performance issues."
5736
- msgstr ""
5737
- "Променяйте тези настройки само ако изпитвате затруднения с "
5738
- "производителността."
5739
-
5740
- #: wp-live-chat-support/wp-live-chat-support.php:6038
5741
- msgid "What type of environment are you on?"
5742
- msgstr "Какъв тип е средата на работа на приложението?"
5743
-
5744
- #: wp-live-chat-support/wp-live-chat-support.php:6042
5745
- msgid "Shared hosting - low level plan"
5746
- msgstr "Споделен услуга - План от ниско ниво"
5747
-
5748
- #: wp-live-chat-support/wp-live-chat-support.php:6043
5749
- msgid "Shared hosting - normal plan"
5750
- msgstr "Споделена услуга - нормален план"
5751
-
5752
- #: wp-live-chat-support/wp-live-chat-support.php:6044
5753
- msgid "VPS"
5754
- msgstr "VPS - Лична виртуализация"
5755
-
5756
- #: wp-live-chat-support/wp-live-chat-support.php:6045
5757
- msgid "Dedicated server"
5758
- msgstr "Отделен сървър"
5759
-
5760
- #: wp-live-chat-support/wp-live-chat-support.php:6051
5761
- msgid "Long poll setup"
5762
- msgstr "Виртуален клъстер"
5763
-
5764
- #: wp-live-chat-support/wp-live-chat-support.php:6051
5765
- msgid ""
5766
- "Only change these if you are an experienced developer or if you have "
5767
- "received these figures from the Code Cabin Support team."
5768
- msgstr "Разширени настройки. Променяни само от опитни разработчици."
5769
-
5770
- #: wp-live-chat-support/wp-live-chat-support.php:6059
5771
- msgid "Iterations"
5772
- msgstr "Повторения"
5773
-
5774
- #: wp-live-chat-support/wp-live-chat-support.php:6063
5775
- msgid "Sleep between iterations"
5776
- msgstr "Изчакване между повторенията"
5777
-
5778
- #: wp-live-chat-support/wp-live-chat-support.php:6066
5779
- msgid "microseconds"
5780
- msgstr "микросекунди"
5781
-
5782
- #: wp-live-chat-support/wp-live-chat-support.php:6092
5783
- msgid "View comprehensive reports regarding your chat and agent activity."
5784
- msgstr "Извадка за активността на чата и агентите."
5785
-
5786
- #: wp-live-chat-support/wp-live-chat-support.php:6095
5787
- msgid "Reports"
5788
- msgstr "Извадки"
5789
-
5790
- #: wp-live-chat-support/wp-live-chat-support.php:6097
5791
- msgid "Chat statistics"
5792
- msgstr "Чат статистики"
5793
-
5794
- #: wp-live-chat-support/wp-live-chat-support.php:6098
5795
- msgid "Popular pages"
5796
- msgstr "Популярни страници"
5797
-
5798
- #: wp-live-chat-support/wp-live-chat-support.php:6099
5799
- msgid ""
5800
- "ROI reporting and tracking (identify which agents produce the most sales)"
5801
- msgstr ""
5802
- "Извадка за възвръщане на инвестициите (идентифициране на агентите направили "
5803
- "най-много продажби)"
5804
-
5805
- #: wp-live-chat-support/wp-live-chat-support.php:6100
5806
- msgid ""
5807
- "User experience ratings (identify which agents produce the happiest "
5808
- "customers)"
5809
- msgstr ""
5810
- "Рейтинги за потребителско преживяване (идентифициране на агенти направили "
5811
- "клиентите най-щастливи)"
5812
-
5813
- #: wp-live-chat-support/wp-live-chat-support.php:6110
5814
- #: wp-live-chat-support/wp-live-chat-support.php:6175
5815
- #: wp-live-chat-support/wp-live-chat-support.php:6213
5816
- msgid "Get all this and more in the "
5817
- msgstr "Вземете всичко това и още много в "
5818
-
5819
- #: wp-live-chat-support/wp-live-chat-support.php:6110
5820
- #: wp-live-chat-support/wp-live-chat-support.php:6175
5821
- #: wp-live-chat-support/wp-live-chat-support.php:6213
5822
- msgid "Pro add-on"
5823
- msgstr "Професионалната версия"
5824
-
5825
- #: wp-live-chat-support/wp-live-chat-support.php:6111
5826
- #: wp-live-chat-support/wp-live-chat-support.php:6176
5827
- #: wp-live-chat-support/wp-live-chat-support.php:6214
5828
- msgid "Upgrade Now"
5829
- msgstr "Актуализирай сега"
5830
-
5831
- #: wp-live-chat-support/wp-live-chat-support.php:6157
5832
- msgid ""
5833
- "Create custom data triggers when users view a certain page, spend a certain "
5834
- "amount of time on a page, scroll past a certain point or when their mouse "
5835
- "leaves the window."
5836
- msgstr ""
5837
- "Направи сециални стартери когато потребител прегледа определена страница, "
5838
- "прекара определено време на страница, навигира до определена точка или "
5839
- "когато мишката им напусна прозореца."
5840
-
5841
- #: wp-live-chat-support/wp-live-chat-support.php:6160
5842
- msgid "Trigger Types"
5843
- msgstr "Типове Стартери"
5844
-
5845
- #: wp-live-chat-support/wp-live-chat-support.php:6199
5846
- msgid ""
5847
- "Create custom fields, allowing your visitors to enter the data you need "
5848
- "before starting a chat."
5849
- msgstr ""
5850
-
5851
- #: wp-live-chat-support/wp-live-chat-support.php:6200
5852
- msgid "Custom Field Types"
5853
- msgstr ""
5854
-
5855
- #: wp-live-chat-support/wp-live-chat-support.php:6202
5856
- #, fuzzy
5857
- #| msgid "Offline Text Fields"
5858
- msgid "Text Fields"
5859
- msgstr "Текстови полета \"извън линия\""
5860
-
5861
- #: wp-live-chat-support/wp-live-chat-support.php:6203
5862
- msgid "Dropdown Fields"
5863
- msgstr ""
5864
-
5865
- #: wp-live-chat-support/wp-live-chat-support.php:6234
5866
- msgid "Display a 'Powered by' link in the chat box"
5867
- msgstr ""
5868
-
5869
- #: wp-live-chat-support/wp-live-chat-support.php:6234
5870
- msgid ""
5871
- "Checking this will display a 'Powered by WP Live Chat Support' caption at "
5872
- "the bottom of your chatbox."
5873
- msgstr ""
5874
-
5875
- #: wp-live-chat-support/wp-live-chat-support.php:6276
5876
- #, fuzzy
5877
- #| msgid "Powered By WP Live Chat Support"
5878
- msgid "Powered by WP Live Chat Support"
5879
- msgstr "Захранено от WP Live Chat Support"
5880
-
5881
- #: wp-live-chat-support/wp-live-chat-support.php:6314
5882
- #: wp-live-chat-support/wp-live-chat-support.php:6334
5883
- msgid "Custom Scripts"
5884
- msgstr ""
5885
-
5886
- #: wp-live-chat-support/wp-live-chat-support.php:6338
5887
- msgid "Custom CSS"
5888
- msgstr ""
5889
-
5890
- #: wp-live-chat-support/wp-live-chat-support.php:6343
5891
- msgid "Custom JS"
5892
- msgstr ""
5893
-
5894
- #: wp-live-chat-support/wp-live-chat-support.php:6422
5895
- #, php-format
5896
- msgid ""
5897
- "WP Live Chat Support requires WP Live Chat Support Pro Version 7.0.0 or "
5898
- "greater in order for departments to function as expected. Please update WP "
5899
- "Live Chat Support %s"
5900
- msgstr ""
5901
-
5902
- #: wp-live-chat-support/wp-live-chat-support.php:6436
5903
- #, fuzzy
5904
- #| msgid ""
5905
- #| "Please update your <a href='%s'>basic version</a> to make use of this "
5906
- #| "feature."
5907
- msgid "Please update your Pro version to create a department"
5908
- msgstr ""
5909
- "Моля обновете <a href='%s'>базовата версия</a> за използване на тази "
5910
- "функционалност."
5911
-
5912
- #: wp-live-chat-support/wp-live-chat-support.php:6451
5913
- #, php-format
5914
- msgid ""
5915
- "The Live Chat box is currently disabled on your website due to : <a href=\"%s"
5916
- "\">General Settings</a>"
5917
- msgstr ""
5918
-
5919
- #: wp-live-chat-support/wp-live-chat-support.php:6571
5920
- msgid "Deprecation Notice"
5921
- msgstr ""
5922
-
5923
- #: wp-live-chat-support/wp-live-chat-support.php:6572
5924
- msgid ""
5925
- "Please note, missed chat functionality is being deprecated as we will be "
5926
- "moving to a customer oriented system in the near future. "
5927
- msgstr ""
5928
-
5929
- #: wp-live-chat-support/wp-live-chat-support.php:6573
5930
- msgid ""
5931
- "The new system will offer more insight into your user base while enhancing "
5932
- "your experience when retrieving statistics and information. "
5933
- msgstr ""
5934
-
5935
- #: wp-live-chat-support/wp-live-chat-support.php:6574
5936
- msgid ""
5937
- "This area will remain active for the time being, however it is recommended "
5938
- "that you prepare for this change in the near future. "
5939
- msgstr ""
5940
-
5941
- #: wp-live-chat-support/wp-live-chat-support.php:6615
5942
- msgid ""
5943
- "Please deactivate WP Live Chat Suport - Email Transcript plugin. Since WP "
5944
- "Live Chat Support 8.0.05 there is build in support for Email Transcript."
5945
- msgstr ""
5946
-
5947
- #: wp-live-chat-support/wp-live-chat-support.php:6628
5948
- #, php-format
5949
- msgid ""
5950
- "Thank you for chatting with us. If you have any questions, please <a href="
5951
- "\"%1$s\" target=\"_blank\" style=\"font-family: Arial, Helvetica, sans-"
5952
- "serif; font-size: 13px; color: #FFF; font-weight: bold; text-decoration: "
5953
- "underline;\">contact us</a>"
5954
- msgstr ""
5955
-
5956
- #: wp-live-chat-support/wp-live-chat-support.php:6645
5957
- msgid "Email transcript to user"
5958
- msgstr ""
5959
-
5960
- #: wp-live-chat-support/wp-live-chat-support.php:6729
5961
- #, php-format
5962
- msgid "Your chat transcript from %1$s"
5963
- msgstr ""
5964
-
5965
- #: wp-live-chat-support/wp-live-chat-support.php:6858
5966
- #, fuzzy
5967
- #| msgid "Chat Window Settings"
5968
- msgid "Chat Transcript Settings"
5969
- msgstr "Настройки на Чат Прозореца"
5970
-
5971
- #: wp-live-chat-support/wp-live-chat-support.php:6861
5972
- msgid "Enable chat transcripts:"
5973
- msgstr ""
5974
-
5975
- #: wp-live-chat-support/wp-live-chat-support.php:6872
5976
- msgid "Send transcripts to:"
5977
- msgstr ""
5978
-
5979
- #: wp-live-chat-support/wp-live-chat-support.php:6879
5980
- #, fuzzy
5981
- #| msgid "Username"
5982
- msgid "User"
5983
- msgstr "Потребителско Име"
5984
-
5985
- #: wp-live-chat-support/wp-live-chat-support.php:6890
5986
- msgid "Send transcripts when chat ends:"
5987
- msgstr ""
5988
-
5989
- #: wp-live-chat-support/wp-live-chat-support.php:6901
5990
- #, fuzzy
5991
- #| msgid "Email"
5992
- msgid "Email body"
5993
- msgstr "И-мейл"
5994
-
5995
- #: wp-live-chat-support/wp-live-chat-support.php:6913
5996
- #, fuzzy
5997
- #| msgid "Email Address"
5998
- msgid "Email header"
5999
- msgstr "Електронна поща"
6000
-
6001
- #: wp-live-chat-support/wp-live-chat-support.php:6924
6002
- msgid "Email footer"
6003
- msgstr ""
6004
-
6005
- #~ msgid "Chat functionality has been paused."
6006
- #~ msgstr "Функция чат, на пауза..."
6007
-
6008
- #~ msgid ""
6009
- #~ "Please enter your verified API key in the <a href=\"admin.php?"
6010
- #~ "page=wplivechat-menu-api-keys-page\">API Keys page</a> to activate the "
6011
- #~ "cloud based functionality."
6012
- #~ msgstr ""
6013
- #~ "Моля въведете ваш верифициран API ключ в <a href=\"admin.php?"
6014
- #~ "page=wplivechat-menu-api-keys-page\">Страница API Keys</a> за да "
6015
- #~ "активирате облачните услуги."
6016
-
6017
- #~ msgid "Are you sure you would like to delete chat history?"
6018
- #~ msgstr "Изтриване на чат историята?"
6019
-
6020
- #~ msgid "Are you sure you would like to delete all missed chats?"
6021
- #~ msgstr "Изтриване на пропуснат чат?"
6022
-
6023
- #~ msgid ""
6024
- #~ "You are currently using our <strong>cloud server</strong> to handle your "
6025
- #~ "chat requests and live chat sessions.<br /><br />To disable this, please "
6026
- #~ "deactivate the WP Live Chat Support - Cloud Server plugin."
6027
- #~ msgstr ""
6028
- #~ "В момента ползвате наш <strong>облачен сървър</strong> за обработка на "
6029
- #~ "чат сесии.<br /><br />За да забраните това, моля деактивирайте WP Live "
6030
- #~ "Chat Support - Cloud Server plugin."
6031
-
6032
- #~ msgid ""
6033
- #~ "Users will have to enter their Name and Email Address when starting a chat"
6034
- #~ msgstr ""
6035
- #~ "Потребителите ще трябва да попълнят Име и Електронна поща преди да "
6036
- #~ "стартират чат"
6037
-
6038
- #~ msgid "You are currently accepting chats"
6039
- #~ msgstr "В момента приемаш чат сесии"
6040
-
6041
- #~ msgid "Your Name"
6042
- #~ msgstr "Име"
6043
-
6044
- #~ msgid "Your Email"
6045
- #~ msgstr "Електронна поща"
6046
-
6047
- #~ msgid "Version 6"
6048
- #~ msgstr "Версия 6"
6049
-
6050
- #~ msgid "The most popular live chat plugin!"
6051
- #~ msgstr "Най - популярната чат приставка!"
6052
-
6053
- #~ msgid "Rest API"
6054
- #~ msgstr "REST API"
6055
-
6056
- #~ msgid "Option"
6057
- #~ msgstr "Опция"
6058
-
6059
- #~ msgid ""
6060
- #~ "There was a problem sending your feedback. Please log your feedback on "
6061
- #~ msgstr ""
6062
- #~ "Възникна проблем при изпращането на обратната връзка. Моля запишете "
6063
- #~ "обратната връзка на "
6064
-
6065
- #~ msgid ""
6066
- #~ "Reduce the resources required by your server - use our cloud server to "
6067
- #~ "host your chats."
6068
- #~ msgstr ""
6069
- #~ "Намали ресурсните изисквания към сървъра си, използвайки наша облачна "
6070
- #~ "система."
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: wplivechat-bg\n"
4
+ "POT-Creation-Date: 2018-07-18 20:16+0200\n"
5
+ "PO-Revision-Date: 2019-03-04 12:00+0200\n"
6
+ "Last-Translator: \n"
7
+ "Language-Team: \n"
8
+ "Language: bg_BG\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 2.0.4\n"
13
+ "X-Poedit-KeywordsList: _;gettext;gettext_noop;__;_e\n"
14
+ "X-Poedit-Basepath: ../..\n"
15
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
16
+ "X-Poedit-SearchPath-0: wp-live-chat-support\n"
17
+ "X-Poedit-SearchPath-1: wp-live-chat-support-pro\n"
18
+ "X-Poedit-SearchPath-2: wp-live-chat-support-mobile-and-desktop-app\n"
19
+
20
+ #: wp-live-chat-support-mobile-and-desktop-app/includes/update_control.php:38
21
+ #: wp-live-chat-support-mobile-and-desktop-app/wp-live-chat-support-mobile-and-desktop-app.php:69
22
+ msgid "Mobile and Desktop App"
23
+ msgstr "Мобилно или десктоп приложение"
24
+
25
+ #: wp-live-chat-support-mobile-and-desktop-app/includes/update_control.php:109
26
+ #: wp-live-chat-support/includes/update_control.class.php:133
27
+ msgid ""
28
+ "An Unexpected HTTP Error occurred during the API request.</p> <p><a href=\"?"
29
+ "\" onclick=\"document.location.reload(); return false;\">Try again</a>"
30
+ msgstr ""
31
+ "Неочаквана HTTP грешка по време на изискването на API. </p> <p><a href=\"?\" "
32
+ "onclick=\"document.location.reload(); return false;\">Опитайте отново</a></a>"
33
+
34
+ #: wp-live-chat-support-mobile-and-desktop-app/includes/update_control.php:114
35
+ #: wp-live-chat-support/includes/update_control.class.php:138
36
+ msgid "An unknown error occurred"
37
+ msgstr "Възникна непозната грешка"
38
+
39
+ #: wp-live-chat-support-mobile-and-desktop-app/modules/api/wplc-api-devices.php:599
40
+ msgid "Add Quick Responses to your Live Chat with our Pro Add-on"
41
+ msgstr "Добави бързи отговори към твоя Live Chat с нашия Pro Add-on"
42
+
43
+ #: wp-live-chat-support-mobile-and-desktop-app/modules/device_manager.php:22
44
+ msgid "Devices"
45
+ msgstr "Устройства"
46
+
47
+ #: wp-live-chat-support-mobile-and-desktop-app/modules/device_manager.php:35
48
+ msgid "WP Live Chat Support - Devices"
49
+ msgstr "WP Live Chat Support - Устройства"
50
+
51
+ #: wp-live-chat-support-mobile-and-desktop-app/modules/device_manager.php:96
52
+ #: wp-live-chat-support-mobile-and-desktop-app/modules/device_manager.php:339
53
+ msgid "Device Name Not Found"
54
+ msgstr "Наименованието на устройството не беше открито"
55
+
56
+ #: wp-live-chat-support-mobile-and-desktop-app/modules/device_manager.php:97
57
+ msgid "Linked to"
58
+ msgstr "Свързване към"
59
+
60
+ #: wp-live-chat-support-mobile-and-desktop-app/modules/device_manager.php:148
61
+ msgid "Add Device"
62
+ msgstr "Добави устройство"
63
+
64
+ #: wp-live-chat-support-mobile-and-desktop-app/modules/device_manager.php:149
65
+ msgid "Simply scan the QR code below"
66
+ msgstr "Просто скенирай QR кода отдолу"
67
+
68
+ #: wp-live-chat-support-mobile-and-desktop-app/modules/device_manager.php:161
69
+ msgid "Or enter data manually"
70
+ msgstr "Или въведи данните ръчно"
71
+
72
+ #: wp-live-chat-support-mobile-and-desktop-app/modules/device_manager.php:162
73
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:107
74
+ #: wp-live-chat-support/wp-live-chat-support.php:5541
75
+ msgid "API Key"
76
+ msgstr "API ключ"
77
+
78
+ #: wp-live-chat-support-mobile-and-desktop-app/modules/device_manager.php:165
79
+ msgid "For Agent"
80
+ msgstr "За оператор"
81
+
82
+ #: wp-live-chat-support-mobile-and-desktop-app/modules/device_manager.php:167
83
+ msgid "Agent ID"
84
+ msgstr "Оператор ID"
85
+
86
+ #: wp-live-chat-support-mobile-and-desktop-app/modules/device_manager.php:170
87
+ msgid "Rest End Point"
88
+ msgstr "Крайна точка"
89
+
90
+ #: wp-live-chat-support-mobile-and-desktop-app/modules/device_manager.php:177
91
+ msgid "Need a link to the app?"
92
+ msgstr "Нуждаеш се от линк към приложението?"
93
+
94
+ #: wp-live-chat-support-mobile-and-desktop-app/modules/device_manager.php:178
95
+ msgid "Go to PlayStore"
96
+ msgstr "Отиди в PlayStore"
97
+
98
+ #: wp-live-chat-support-mobile-and-desktop-app/modules/device_manager.php:181
99
+ msgid "Go to Apple Store"
100
+ msgstr "Отиди в Apple Store"
101
+
102
+ #: wp-live-chat-support-mobile-and-desktop-app/modules/device_manager.php:200
103
+ msgid "Device Limit Reached"
104
+ msgstr "Лимита на устройството е достигнат"
105
+
106
+ #: wp-live-chat-support-mobile-and-desktop-app/modules/device_manager.php:201
107
+ msgid "Your maximum device limit has been reached"
108
+ msgstr "Максималния лимит на устройство беше достигнат"
109
+
110
+ #: wp-live-chat-support-mobile-and-desktop-app/modules/device_manager.php:203
111
+ msgid "Increase your device limit to add additional devices"
112
+ msgstr "Завиши лимита на устройствата като добавиш устройства"
113
+
114
+ #: wp-live-chat-support-mobile-and-desktop-app/modules/device_manager.php:206
115
+ msgid "Increase Limit"
116
+ msgstr "Повиши лимит"
117
+
118
+ #: wp-live-chat-support-mobile-and-desktop-app/modules/device_manager.php:207
119
+ msgid "Contact Us"
120
+ msgstr "Пишете ни"
121
+
122
+ #: wp-live-chat-support-mobile-and-desktop-app/modules/device_manager.php:525
123
+ msgid "New Chat from"
124
+ msgstr "Нов чат от"
125
+
126
+ #: wp-live-chat-support-mobile-and-desktop-app/modules/device_manager.php:525
127
+ msgid "Tap here to accept"
128
+ msgstr "Натисни тук, за да приемеш"
129
+
130
+ #: wp-live-chat-support-mobile-and-desktop-app/modules/device_manager.php:540
131
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:188
132
+ #: wp-live-chat-support/includes/settings_page.php:192
133
+ #: wp-live-chat-support/wp-live-chat-support.php:909
134
+ #: wp-live-chat-support/wp-live-chat-support.php:3875
135
+ #: wp-live-chat-support/wp-live-chat-support.php:4792
136
+ msgid "Guest"
137
+ msgstr "Гост"
138
+
139
+ #: wp-live-chat-support-mobile-and-desktop-app/modules/device_manager.php:544
140
+ msgid "New Message"
141
+ msgstr "Ново съобщение"
142
+
143
+ #: wp-live-chat-support-mobile-and-desktop-app/wp-live-chat-support-mobile-and-desktop-app.php:117
144
+ msgid "Mobile and Desktop App Settings"
145
+ msgstr "Настройки на мобилното и десктоп приложение"
146
+
147
+ #: wp-live-chat-support-mobile-and-desktop-app/wp-live-chat-support-mobile-and-desktop-app.php:120
148
+ msgid "Enable mobile and desktop app"
149
+ msgstr "Активирай мобилното и десктоп приложение"
150
+
151
+ #: wp-live-chat-support-mobile-and-desktop-app/wp-live-chat-support-mobile-and-desktop-app.php:142
152
+ msgid "App"
153
+ msgstr "Приложеие"
154
+
155
+ #: wp-live-chat-support-pro/functions-pro.php:54
156
+ #: wp-live-chat-support-pro/functions-pro.php:173
157
+ #: wp-live-chat-support-pro/functions-pro.php:310
158
+ #: wp-live-chat-support/functions.php:426
159
+ #: wp-live-chat-support/functions.php:648
160
+ #: wp-live-chat-support/modules/api/wplc-api-functions.php:577
161
+ #: wp-live-chat-support/wp-live-chat-support.php:3529
162
+ msgid "IP Address not recorded"
163
+ msgstr "IP адреса не е записан"
164
+
165
+ #: wp-live-chat-support-pro/functions-pro.php:56
166
+ #: wp-live-chat-support-pro/functions-pro.php:175
167
+ #: wp-live-chat-support-pro/functions-pro.php:312
168
+ #: wp-live-chat-support/functions.php:428
169
+ #: wp-live-chat-support/functions.php:650
170
+ #: wp-live-chat-support/wp-live-chat-support.php:3531
171
+ msgid "Whois for"
172
+ msgstr "Whois за"
173
+
174
+ #: wp-live-chat-support-pro/functions-pro.php:61
175
+ #: wp-live-chat-support-pro/functions-pro.php:318
176
+ #: wp-live-chat-support/functions.php:433
177
+ #: wp-live-chat-support/functions.php:575
178
+ #: wp-live-chat-support/functions.php:589
179
+ #: wp-live-chat-support/functions.php:1858
180
+ msgid "Accept Chat"
181
+ msgstr "Приеми чат"
182
+
183
+ #: wp-live-chat-support-pro/functions-pro.php:63
184
+ #: wp-live-chat-support-pro/functions-pro.php:320
185
+ #: wp-live-chat-support/functions.php:435
186
+ msgid "Incoming Chat"
187
+ msgstr "Входящ чат"
188
+
189
+ #: wp-live-chat-support-pro/functions-pro.php:63
190
+ #: wp-live-chat-support-pro/functions-pro.php:320
191
+ #: wp-live-chat-support/functions.php:435
192
+ msgid "You have an incoming chat."
193
+ msgstr "Вие имате входящ чат."
194
+
195
+ #: wp-live-chat-support-pro/functions-pro.php:67
196
+ #: wp-live-chat-support/functions.php:581
197
+ #: wp-live-chat-support/functions.php:594
198
+ msgid "Open Chat"
199
+ msgstr "Отвори чат"
200
+
201
+ #: wp-live-chat-support-pro/functions-pro.php:69
202
+ #: wp-live-chat-support-pro/functions-pro.php:332
203
+ #: wp-live-chat-support/functions.php:441
204
+ msgid "Chat Active"
205
+ msgstr "Чат активен"
206
+
207
+ #: wp-live-chat-support-pro/functions-pro.php:69
208
+ #: wp-live-chat-support-pro/functions-pro.php:332
209
+ #: wp-live-chat-support/functions.php:441
210
+ msgid "This chat is active"
211
+ msgstr "Този чат е активен"
212
+
213
+ #: wp-live-chat-support-pro/functions-pro.php:74
214
+ #: wp-live-chat-support-pro/functions-pro.php:160
215
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2874
216
+ #: wp-live-chat-support/wp-live-chat-support.php:2420
217
+ msgid "Initiate Chat"
218
+ msgstr "Започни чат"
219
+
220
+ #: wp-live-chat-support-pro/functions-pro.php:76
221
+ #: wp-live-chat-support-pro/functions-pro.php:162
222
+ msgid "You must be a chat agent to initiate chats"
223
+ msgstr "Трябва да сте чат оператор, за да инициализирате чат"
224
+
225
+ #: wp-live-chat-support-pro/functions-pro.php:99
226
+ #: wp-live-chat-support/functions.php:673
227
+ #: wp-live-chat-support/modules/api/wplc-api-functions.php:593
228
+ msgid "New"
229
+ msgstr "Нов"
230
+
231
+ #: wp-live-chat-support-pro/functions-pro.php:101
232
+ #: wp-live-chat-support/functions.php:675
233
+ #: wp-live-chat-support/modules/api/wplc-api-functions.php:595
234
+ msgid "Returning"
235
+ msgstr "Връщащ се"
236
+
237
+ #: wp-live-chat-support-pro/functions-pro.php:143
238
+ msgid "Visitors on site"
239
+ msgstr "Посетители на сайта"
240
+
241
+ #: wp-live-chat-support-pro/functions-pro.php:207
242
+ #: wp-live-chat-support-pro/functions-pro.php:362
243
+ #: wp-live-chat-support/functions.php:464
244
+ #: wp-live-chat-support/wp-live-chat-support.php:3579
245
+ msgid "Site Info"
246
+ msgstr "Информация за сайта"
247
+
248
+ #: wp-live-chat-support-pro/functions-pro.php:209
249
+ #: wp-live-chat-support-pro/functions-pro.php:364
250
+ #: wp-live-chat-support/functions.php:466
251
+ #: wp-live-chat-support/wp-live-chat-support.php:3581
252
+ msgid "Chat initiated on:"
253
+ msgstr "Чата е инициализиран на:"
254
+
255
+ #: wp-live-chat-support-pro/functions-pro.php:213
256
+ #: wp-live-chat-support-pro/functions-pro.php:368
257
+ #: wp-live-chat-support/functions.php:470
258
+ #: wp-live-chat-support/wp-live-chat-support.php:3585
259
+ msgid "Advanced Info"
260
+ msgstr "Разширена информация"
261
+
262
+ #: wp-live-chat-support-pro/functions-pro.php:215
263
+ #: wp-live-chat-support-pro/functions-pro.php:370
264
+ #: wp-live-chat-support/functions.php:472
265
+ #: wp-live-chat-support/wp-live-chat-support.php:3587
266
+ msgid "Browser:"
267
+ msgstr "Браузър:"
268
+
269
+ #: wp-live-chat-support-pro/functions-pro.php:216
270
+ #: wp-live-chat-support-pro/functions-pro.php:371
271
+ #: wp-live-chat-support/functions.php:473
272
+ #: wp-live-chat-support/wp-live-chat-support.php:3588
273
+ msgid "IP Address:"
274
+ msgstr "IP Адрес:"
275
+
276
+ #: wp-live-chat-support-pro/functions-pro.php:259
277
+ msgid "No visitors on-line at the moment"
278
+ msgstr "В момента, няма посетители на линия"
279
+
280
+ #: wp-live-chat-support-pro/functions-pro.php:287
281
+ #: wp-live-chat-support/functions.php:409
282
+ msgid "No chat sessions available at the moment"
283
+ msgstr "В момента няма свободни чат сесии"
284
+
285
+ #: wp-live-chat-support-pro/functions-pro.php:289
286
+ #: wp-live-chat-support/functions.php:411
287
+ #: wp-live-chat-support/modules/node_server.php:1216
288
+ msgid "Active Chats"
289
+ msgstr "Активни чатове"
290
+
291
+ #: wp-live-chat-support-pro/functions-pro.php:324
292
+ msgid "You must be a chat agent to answer chats"
293
+ msgstr "Трябва да си чат оператор, за да отговориш на чат"
294
+
295
+ #: wp-live-chat-support-pro/functions-pro.php:330
296
+ #: wp-live-chat-support/functions.php:439
297
+ msgid "Open Chat Window"
298
+ msgstr "Отвори чат прозорец"
299
+
300
+ #: wp-live-chat-support-pro/functions-pro.php:334
301
+ msgid "Chat has been answered by another agent"
302
+ msgstr "Запитването беше отговорено от друг оператор"
303
+
304
+ #: wp-live-chat-support-pro/functions-pro.php:335
305
+ msgid "Chat answered by another agent"
306
+ msgstr "Запитването поето от друг оператор"
307
+
308
+ #: wp-live-chat-support-pro/functions-pro.php:391
309
+ #: wp-live-chat-support/functions.php:1637
310
+ #: wp-live-chat-support/includes/settings_page.php:651
311
+ msgid "WP Live Chat Support - Offline Message from "
312
+ msgstr "WP Live Chat Support - Офлайн съобщение от "
313
+
314
+ #: wp-live-chat-support-pro/functions-pro.php:392
315
+ #: wp-live-chat-support-pro/functions-pro.php:966
316
+ #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:81
317
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:440
318
+ #: wp-live-chat-support-pro/includes/wplc_departments.php:212
319
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:129
320
+ #: wp-live-chat-support/functions.php:1638
321
+ #: wp-live-chat-support/functions.php:2118
322
+ #: wp-live-chat-support/includes/deprecated.php:192
323
+ #: wp-live-chat-support/includes/deprecated.php:391
324
+ #: wp-live-chat-support/includes/settings_page.php:179
325
+ #: wp-live-chat-support/includes/settings_page.php:365
326
+ #: wp-live-chat-support/wp-live-chat-support.php:1926
327
+ #: wp-live-chat-support/wp-live-chat-support.php:1952
328
+ #: wp-live-chat-support/wp-live-chat-support.php:2142
329
+ #: wp-live-chat-support/wp-live-chat-support.php:4498
330
+ #: wp-live-chat-support/wp-live-chat-support.php:4637
331
+ #: wp-live-chat-support/wp-live-chat-support.php:6431
332
+ msgid "Name"
333
+ msgstr "Име"
334
+
335
+ #: wp-live-chat-support-pro/functions-pro.php:392
336
+ #: wp-live-chat-support-pro/functions-pro.php:967
337
+ #: wp-live-chat-support/functions.php:1639
338
+ #: wp-live-chat-support/functions.php:2119
339
+ #: wp-live-chat-support/includes/deprecated.php:193
340
+ #: wp-live-chat-support/includes/deprecated.php:392
341
+ #: wp-live-chat-support/includes/settings_page.php:175
342
+ #: wp-live-chat-support/wp-live-chat-support.php:1927
343
+ #: wp-live-chat-support/wp-live-chat-support.php:1940
344
+ #: wp-live-chat-support/wp-live-chat-support.php:2143
345
+ #: wp-live-chat-support/wp-live-chat-support.php:4499
346
+ #: wp-live-chat-support/wp-live-chat-support.php:4638
347
+ msgid "Email"
348
+ msgstr "И-мейл"
349
+
350
+ #: wp-live-chat-support-pro/functions-pro.php:392
351
+ #: wp-live-chat-support-pro/functions-pro.php:968
352
+ #: wp-live-chat-support-pro/functions-pro.php:1543
353
+ #: wp-live-chat-support/functions.php:1640
354
+ #: wp-live-chat-support/wp-live-chat-support.php:2144
355
+ #: wp-live-chat-support/wp-live-chat-support.php:4639
356
+ #: wp-live-chat-support/wp-live-chat-support.php:5768
357
+ #: wp-live-chat-support/wp-live-chat-support.php:5826
358
+ msgid "Message"
359
+ msgstr "Съобщение"
360
+
361
+ #: wp-live-chat-support-pro/functions-pro.php:392
362
+ #: wp-live-chat-support/functions.php:1641
363
+ msgid "Via WP Live Chat Support"
364
+ msgstr "WP Live Chat Support"
365
+
366
+ #: wp-live-chat-support-pro/functions-pro.php:461
367
+ msgid "Alert: Someone wants to chat with you on "
368
+ msgstr "Внимание: Някой иска да разговаря с теб "
369
+
370
+ #: wp-live-chat-support-pro/functions-pro.php:462
371
+ msgid "Someone wants to chat with you on your website"
372
+ msgstr "Някой иска да разговаря с теб на твоя уебсайт"
373
+
374
+ #: wp-live-chat-support-pro/functions-pro.php:462
375
+ msgid "Log in"
376
+ msgstr "Вписване"
377
+
378
+ #: wp-live-chat-support-pro/functions-pro.php:745
379
+ #: wp-live-chat-support-pro/functions-pro.php:761
380
+ #: wp-live-chat-support-pro/functions-pro.php:776
381
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3277
382
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3293
383
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3308
384
+ msgid "Chat Agent"
385
+ msgstr "Чат оператор"
386
+
387
+ #: wp-live-chat-support-pro/functions-pro.php:750
388
+ #: wp-live-chat-support-pro/functions-pro.php:766
389
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3282
390
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3298
391
+ msgid "Make this user a chat agent"
392
+ msgstr "Направи този потребител чат оператор"
393
+
394
+ #: wp-live-chat-support-pro/functions-pro.php:780
395
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3312
396
+ msgid "Your user role does not allow you to make yourself a chat agent."
397
+ msgstr ""
398
+ "Потребителската ти роля не позволява да оторизираш себе си, като чат "
399
+ "оператор."
400
+
401
+ #: wp-live-chat-support-pro/functions-pro.php:781
402
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3313
403
+ msgid "Please contact the administrator of this website to change this."
404
+ msgstr "Моля свържете се с администратора на сайта, за да промени това."
405
+
406
+ #: wp-live-chat-support-pro/functions-pro.php:866
407
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3721
408
+ msgid "Chat Agent Online"
409
+ msgstr "Чат оператор на линия"
410
+
411
+ #: wp-live-chat-support-pro/functions-pro.php:868
412
+ #: wp-live-chat-support-pro/functions-pro.php:873
413
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3723
414
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3728
415
+ msgid "Chat Agents Online"
416
+ msgstr "Чат оператори на линия"
417
+
418
+ #: wp-live-chat-support-pro/functions-pro.php:965
419
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1010
420
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:5014
421
+ #: wp-live-chat-support/functions.php:2117
422
+ #: wp-live-chat-support/wp-live-chat-support.php:4497
423
+ #: wp-live-chat-support/wp-live-chat-support.php:4636
424
+ msgid "Date"
425
+ msgstr "Дата"
426
+
427
+ #: wp-live-chat-support-pro/functions-pro.php:982
428
+ #: wp-live-chat-support/wp-live-chat-support.php:4656
429
+ msgid "You have not received any offline messages."
430
+ msgstr "Няма получени офлайн съобщения."
431
+
432
+ #: wp-live-chat-support-pro/functions-pro.php:1407
433
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:871
434
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4080
435
+ #: wp-live-chat-support/wp-live-chat-support.php:5351
436
+ msgid "Administrator"
437
+ msgstr "Администратор"
438
+
439
+ #: wp-live-chat-support-pro/functions-pro.php:1408
440
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:877
441
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4086
442
+ #: wp-live-chat-support/wp-live-chat-support.php:5360
443
+ msgid "Editor"
444
+ msgstr "Рецензент"
445
+
446
+ #: wp-live-chat-support-pro/functions-pro.php:1409
447
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:883
448
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1009
449
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4092
450
+ #: wp-live-chat-support/wp-live-chat-support.php:5369
451
+ msgid "Author"
452
+ msgstr "Автор"
453
+
454
+ #: wp-live-chat-support-pro/functions-pro.php:1410
455
+ msgid "Contributor"
456
+ msgstr "Сътрудник"
457
+
458
+ #: wp-live-chat-support-pro/functions-pro.php:1411
459
+ msgid "Subscriber"
460
+ msgstr "Абонат"
461
+
462
+ #: wp-live-chat-support-pro/functions-pro.php:1541
463
+ #: wp-live-chat-support/modules/gdpr.php:207
464
+ #: wp-live-chat-support/wp-live-chat-support.php:5766
465
+ #: wp-live-chat-support/wp-live-chat-support.php:5824
466
+ msgid "Chat ID"
467
+ msgstr "Чат ID"
468
+
469
+ #: wp-live-chat-support-pro/functions-pro.php:1542
470
+ #: wp-live-chat-support/wp-live-chat-support.php:5767
471
+ #: wp-live-chat-support/wp-live-chat-support.php:5825
472
+ msgid "From"
473
+ msgstr "От"
474
+
475
+ #: wp-live-chat-support-pro/functions-pro.php:1544
476
+ #: wp-live-chat-support/wp-live-chat-support.php:5769
477
+ #: wp-live-chat-support/wp-live-chat-support.php:5827
478
+ msgid "Timestamp"
479
+ msgstr "Дата"
480
+
481
+ #: wp-live-chat-support-pro/functions-pro.php:1545
482
+ #: wp-live-chat-support/wp-live-chat-support.php:5770
483
+ #: wp-live-chat-support/wp-live-chat-support.php:5828
484
+ msgid "Origin"
485
+ msgstr "Произход"
486
+
487
+ #: wp-live-chat-support-pro/functions-pro.php:1557
488
+ #: wp-live-chat-support/wp-live-chat-support.php:5775
489
+ #: wp-live-chat-support/wp-live-chat-support.php:5833
490
+ msgid "user"
491
+ msgstr "потребител"
492
+
493
+ #: wp-live-chat-support-pro/functions-pro.php:1559
494
+ #: wp-live-chat-support/wp-live-chat-support.php:5777
495
+ #: wp-live-chat-support/wp-live-chat-support.php:5835
496
+ msgid "agent"
497
+ msgstr "оператор"
498
+
499
+ #: wp-live-chat-support-pro/includes/documentation_suggestions.php:134
500
+ #: wp-live-chat-support-pro/includes/wplc_transfer_chats.php:471
501
+ #: wp-live-chat-support-pro/includes/wplc_transfer_chats.php:492
502
+ #: wp-live-chat-support-pro/includes/wplc_transfer_chats.php:551
503
+ #: wp-live-chat-support-pro/includes/wplc_transfer_chats.php:583
504
+ #: wp-live-chat-support-pro/modules/documentation_suggestions.php:402
505
+ #: wp-live-chat-support-pro/modules/documentation_suggestions.php:424
506
+ #: wp-live-chat-support/includes/notification_control.php:36
507
+ #: wp-live-chat-support/includes/notification_control.php:75
508
+ #: wp-live-chat-support/includes/notification_control.php:138
509
+ #: wp-live-chat-support/modules/node_server_deprecated.php:214
510
+ #: wp-live-chat-support/modules/node_server_deprecated.php:234
511
+ #: wp-live-chat-support/modules/node_server_deprecated.php:277
512
+ #: wp-live-chat-support/modules/node_server_deprecated.php:291
513
+ msgid "System notification"
514
+ msgstr "Системни известия"
515
+
516
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:48
517
+ #: wp-live-chat-support/includes/settings_page.php:66
518
+ msgid "WP Live Chat Support Settings"
519
+ msgstr "Настройки на WP Live Chat Support"
520
+
521
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:71
522
+ #: wp-live-chat-support/wp-live-chat-support.php:3076
523
+ #: wp-live-chat-support/wp-live-chat-support.php:3091
524
+ msgid "Dear Pro User"
525
+ msgstr "Уважаеми Pro потребители"
526
+
527
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:72
528
+ msgid ""
529
+ "Please enter a valid API key on the 'Live Chat' -> 'Settings' page. Failing "
530
+ "to do this will result in you no longer receiving updates for this plugin."
531
+ msgstr ""
532
+ "Моля въведете валиден API ключ в страницата 'Live chat' ->'Настройки'. Ако "
533
+ "не успеете да направите това, ще бъде невъзможно да получавате обновления за "
534
+ "този продукт."
535
+
536
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:73
537
+ msgid "You can obtain a copy of your API key "
538
+ msgstr "Можеш да получиш копие на API ключа си "
539
+
540
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:73
541
+ #: wp-live-chat-support/includes/settings_page.php:925
542
+ #: wp-live-chat-support/modules/node_server.php:624
543
+ #: wp-live-chat-support/wp-live-chat-support.php:6422
544
+ msgid "here"
545
+ msgstr "тук"
546
+
547
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:73
548
+ msgid ""
549
+ "An account has been created for you while purchasing the plugin. If you have "
550
+ "lost your password, please reset it "
551
+ msgstr ""
552
+ "Твоя акаунт беше създаден по време на закупуването на плъгина. Ако сте "
553
+ "изгубил паролата, моля да я възстановите "
554
+
555
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:74
556
+ msgid ""
557
+ "If you feel you are getting this message in error, please try refreshing the "
558
+ "page."
559
+ msgstr ""
560
+ "Ако смяташ, че това съобщение достига то теб по грешка, моля презареди "
561
+ "страницата."
562
+
563
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:83
564
+ #: wp-live-chat-support/includes/settings_page.php:94
565
+ #: wp-live-chat-support/includes/settings_page.php:132
566
+ msgid "General Settings"
567
+ msgstr "Общи настройки"
568
+
569
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:84
570
+ #: wp-live-chat-support/includes/settings_page.php:99
571
+ msgid "Chat Box"
572
+ msgstr "Chat box"
573
+
574
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:85
575
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:448
576
+ #: wp-live-chat-support/includes/settings_page.php:104
577
+ #: wp-live-chat-support/includes/settings_page.php:579
578
+ #: wp-live-chat-support/wp-live-chat-support.php:1068
579
+ #: wp-live-chat-support/wp-live-chat-support.php:1071
580
+ msgid "Offline Messages"
581
+ msgstr "Офлайн съобщения"
582
+
583
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:86
584
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:562
585
+ #: wp-live-chat-support/includes/settings_page.php:109
586
+ #: wp-live-chat-support/includes/settings_page.php:776
587
+ msgid "Styling"
588
+ msgstr "Стилизиране"
589
+
590
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:87
591
+ msgid "Chat Agents"
592
+ msgstr "Чат оператор"
593
+
594
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:88
595
+ #: wp-live-chat-support/includes/settings_page.php:119
596
+ msgid "Blocked Visitors"
597
+ msgstr "Блокирани посетители"
598
+
599
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:89
600
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:913
601
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:919
602
+ msgid "Chat Experience Ratings"
603
+ msgstr "Чат рейтинги"
604
+
605
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:90
606
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2302
607
+ msgid "Encryption"
608
+ msgstr "Криптиране"
609
+
610
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:93
611
+ msgid "Main Settings"
612
+ msgstr "Главни настройки"
613
+
614
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:96
615
+ msgid "Find out more."
616
+ msgstr "Прочети повече."
617
+
618
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:98
619
+ msgid "Cloud Server"
620
+ msgstr "Cloud Server"
621
+
622
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:103
623
+ msgid "Use our server to host your chat server."
624
+ msgstr "Използвайте наш сървър за чат сървър."
625
+
626
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:112
627
+ msgid "This API key is "
628
+ msgstr "Този API ключ е "
629
+
630
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:115
631
+ msgid "valid"
632
+ msgstr "валиден"
633
+
634
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:118
635
+ msgid "invalid"
636
+ msgstr "невалиден"
637
+
638
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:122
639
+ msgid ""
640
+ "A valid API key means that you will be able to get the latest version of the "
641
+ "plugin as and when it is released, as well as get access to support should "
642
+ "you require it."
643
+ msgstr ""
644
+ "Валиден API ключ означава, че ще имаш възможност да обновяваш плъгина до "
645
+ "последна версия и в момента, в който излезе нова версия, да получиш достъп "
646
+ "до поддръжка и сваляне."
647
+
648
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:130
649
+ #: wp-live-chat-support/includes/settings_page.php:135
650
+ msgid "Chat enabled"
651
+ msgstr "Чат активен"
652
+
653
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:135
654
+ #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:264
655
+ #: wp-live-chat-support/functions.php:2107
656
+ #: wp-live-chat-support/includes/settings_page.php:138
657
+ #: wp-live-chat-support/modules/webhooks_manager.php:296
658
+ #: wp-live-chat-support/wp-live-chat-support.php:4468
659
+ msgid "Yes"
660
+ msgstr "Да"
661
+
662
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:138
663
+ #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:264
664
+ #: wp-live-chat-support/functions.php:2107
665
+ #: wp-live-chat-support/includes/settings_page.php:139
666
+ #: wp-live-chat-support/modules/webhooks_manager.php:295
667
+ #: wp-live-chat-support/wp-live-chat-support.php:4468
668
+ msgid "No"
669
+ msgstr "Не"
670
+
671
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:144
672
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2138
673
+ msgid "Choose when I want to be online"
674
+ msgstr "Избери кога искам да бъда онлайн"
675
+
676
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:144
677
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2138
678
+ msgid ""
679
+ "Checking this will allow you to change your status to Online or Offline on "
680
+ "the Live Chat page."
681
+ msgstr ""
682
+ "Отбелязвайки това позволява да променяш статуса си от Онлайн на Офлайн на "
683
+ "страницата на Live Chat-а."
684
+
685
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:154
686
+ #: wp-live-chat-support/includes/settings_page.php:157
687
+ msgid "Hide Chat"
688
+ msgstr "Скрий чата"
689
+
690
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:154
691
+ #: wp-live-chat-support/includes/settings_page.php:157
692
+ msgid "Hides chat for 24hrs when user clicks X"
693
+ msgstr "Скрива чата за 24часа, когато потребителя натисне Х"
694
+
695
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:162
696
+ #: wp-live-chat-support/includes/settings_page.php:166
697
+ msgid "Required Chat Box Fields"
698
+ msgstr "Задължителни Chat box полета"
699
+
700
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:162
701
+ #: wp-live-chat-support/includes/settings_page.php:166
702
+ msgid "Set default fields that will be displayed when users starting a chat"
703
+ msgstr ""
704
+ "Задай задължителни полета, които ще се показват когато потребители започнат "
705
+ "чат"
706
+
707
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:167
708
+ msgid "Show name and email"
709
+ msgstr "Покажи име и е-майл"
710
+
711
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:171
712
+ msgid "Show email"
713
+ msgstr "Покажи е-майл"
714
+
715
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:175
716
+ msgid "Show name"
717
+ msgstr "Покажи име"
718
+
719
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:179
720
+ #: wp-live-chat-support/includes/settings_page.php:183
721
+ msgid "No fields"
722
+ msgstr "Без полета"
723
+
724
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:185
725
+ #: wp-live-chat-support/includes/settings_page.php:189
726
+ msgid "Default visitor name"
727
+ msgstr "Име на посетителя по подразбиране"
728
+
729
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:185
730
+ #: wp-live-chat-support/includes/settings_page.php:189
731
+ msgid "This name will be displayed for all not logged in visitors"
732
+ msgstr ""
733
+ "Това име ще бъде показвано за всички потребители, които не са се вписали"
734
+
735
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:193
736
+ #: wp-live-chat-support/includes/settings_page.php:197
737
+ msgid "Input Field Replacement Text"
738
+ msgstr "Смяна на текста в полето за въвеждане"
739
+
740
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:193
741
+ #: wp-live-chat-support/includes/settings_page.php:197
742
+ msgid "This is the text that will show in place of the Name And Email fields"
743
+ msgstr "Това е текста, който ще се показва на мястото полетата за име и е-майл"
744
+
745
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:203
746
+ #: wp-live-chat-support/includes/settings_page.php:205
747
+ msgid "Use Logged In User Details"
748
+ msgstr "Използвай детайлите на потребителя от профила"
749
+
750
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:203
751
+ #: wp-live-chat-support/includes/settings_page.php:205
752
+ msgid ""
753
+ "A user's Name and Email Address will be used by default if they are logged "
754
+ "in."
755
+ msgstr ""
756
+ "Името на потребителя и е-майл адреса ще бъдат използвани по подразбиране, "
757
+ "когато са влезли в профила си."
758
+
759
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:214
760
+ #: wp-live-chat-support/includes/settings_page.php:213
761
+ msgid "Enable On Mobile Devices"
762
+ msgstr "Активирай на мобилни устройства"
763
+
764
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:214
765
+ #: wp-live-chat-support/includes/settings_page.php:213
766
+ msgid ""
767
+ "Disabling this will mean that the Chat Box will not be displayed on mobile "
768
+ "devices. (Smartphones and Tablets)"
769
+ msgstr ""
770
+ "Деактивирането на тази опция ще означава, че Chat Box няма да се показва на "
771
+ "мобилни устройства. (смарт телефони и таблети)"
772
+
773
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:224
774
+ #: wp-live-chat-support/includes/settings_page.php:221
775
+ msgid "Record a visitor's IP Address"
776
+ msgstr "Запиши IP адреса на посетителя"
777
+
778
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:224
779
+ #: wp-live-chat-support/includes/settings_page.php:221
780
+ msgid "Disable this to enable anonymity for your visitors"
781
+ msgstr "Деактивирайте това, за да активирате анонимност на Вашите посетители"
782
+
783
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:234
784
+ #: wp-live-chat-support/includes/settings_page.php:240
785
+ msgid "Play a sound when a new message is received"
786
+ msgstr "Звукова индикация при получаване на ново съобщение"
787
+
788
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:234
789
+ #: wp-live-chat-support/includes/settings_page.php:240
790
+ msgid ""
791
+ "Disable this to mute the sound that is played when a new chat message is "
792
+ "received"
793
+ msgstr "Деактивирай това, за да спреш звука при получаване на ново съобщение"
794
+
795
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:243
796
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2626
797
+ msgid "Include chat window on the following pages:"
798
+ msgstr "Показжи чат прозореца в съдържанието на следните страници:"
799
+
800
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:243
801
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2626
802
+ #: wp-live-chat-support/includes/settings_page.php:268
803
+ msgid ""
804
+ "Show the chat window on the following pages. Leave blank to show on all. "
805
+ "(Use comma-separated Page ID's)"
806
+ msgstr ""
807
+ "Покажи чат прозореца на следните страници. Оставете не попълнено, за да бъде "
808
+ "показан на всички. (Използвайте запетая за да разделите ID-тата на "
809
+ "страниците)"
810
+
811
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:253
812
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2634
813
+ msgid "Exclude chat window on the following pages:"
814
+ msgstr "Премахни чат прозореца от следните страници:"
815
+
816
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:253
817
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2634
818
+ #: wp-live-chat-support/includes/settings_page.php:283
819
+ msgid ""
820
+ "Do not show the chat window on the following pages. Leave blank to show on "
821
+ "all. (Use comma-separated Page ID's)"
822
+ msgstr ""
823
+ "Не показвай чат прозореца на следните страници. Оставете не попълнено, за да "
824
+ "бъде показан на всички. (Използвайте запетая за да разделите ID-тата на "
825
+ "страниците)"
826
+
827
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:263
828
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2642
829
+ #: wp-live-chat-support/includes/settings_page.php:299
830
+ msgid "Exclude chat window on selected post types"
831
+ msgstr "Премахни чат прозореца от следните пост страници"
832
+
833
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:263
834
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2642
835
+ #: wp-live-chat-support/includes/settings_page.php:299
836
+ msgid "Do not show the chat window on the following post types pages."
837
+ msgstr "Не показвай чат прозореца на следните пост страници."
838
+
839
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:283
840
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2662
841
+ msgid "No post types found."
842
+ msgstr "Не бяха намерени видове на пост страниците."
843
+
844
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:289
845
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2668
846
+ msgid "Allow any user to make themselves a chat agent"
847
+ msgstr "Разреши на всеки потребител да се оторизира за чат оператор"
848
+
849
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:289
850
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2668
851
+ msgid ""
852
+ "Checking this will allow any of your users to make themselves a chat agent "
853
+ "when editing their profile."
854
+ msgstr ""
855
+ "Отбелязвайки тази опция, потребителите ще могат да се оторизират за чат "
856
+ "оператори, при корекция на техния профил."
857
+
858
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:302
859
+ #: wp-live-chat-support/includes/settings_page.php:320
860
+ msgid "Chat Window Settings"
861
+ msgstr "Настройки на чат прозореца"
862
+
863
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:305
864
+ #: wp-live-chat-support/includes/settings_page.php:323
865
+ msgid "Chat box alignment"
866
+ msgstr "Позициониране на Chat box-а"
867
+
868
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:310
869
+ #: wp-live-chat-support/includes/settings_page.php:326
870
+ msgid "Bottom left"
871
+ msgstr "Долу ляво"
872
+
873
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:313
874
+ #: wp-live-chat-support/includes/settings_page.php:327
875
+ msgid "Bottom right"
876
+ msgstr "Долу дясно"
877
+
878
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:316
879
+ #: wp-live-chat-support/includes/settings_page.php:328
880
+ msgid "Left"
881
+ msgstr "Ляво"
882
+
883
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:319
884
+ #: wp-live-chat-support/includes/settings_page.php:329
885
+ msgid "Right"
886
+ msgstr "Дясно"
887
+
888
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:325
889
+ #: wp-live-chat-support/includes/settings_page.php:335
890
+ msgid "Auto Pop-up"
891
+ msgstr "Автоматично показване"
892
+
893
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:325
894
+ #: wp-live-chat-support/includes/settings_page.php:335
895
+ msgid ""
896
+ "Expand the chat box automatically (prompts the user to enter their name and "
897
+ "email address)."
898
+ msgstr ""
899
+ "Разширяване на Chat box-а автоматично (стимулира потребителите да въведат "
900
+ "тяхното име и е-майл адрес)"
901
+
902
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:336
903
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1239
904
+ msgid "Name "
905
+ msgstr "Име "
906
+
907
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:352
908
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1373
909
+ #: wp-live-chat-support/includes/settings_page.php:381
910
+ msgid "Icon"
911
+ msgstr "Икона"
912
+
913
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:360
914
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1381
915
+ msgid "Upload Icon"
916
+ msgstr "Качване на икона"
917
+
918
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:362
919
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1383
920
+ msgid "Remove Icon"
921
+ msgstr "Премахване на икона"
922
+
923
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:363
924
+ msgid "Recommended Size 50px x 50px"
925
+ msgstr "Препоръчителен размер 50px x 50px"
926
+
927
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:368
928
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1390
929
+ #: wp-live-chat-support/includes/settings_page.php:397
930
+ msgid "Picture"
931
+ msgstr "Снимка"
932
+
933
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:376
934
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1398
935
+ #: wp-live-chat-support/includes/settings_page.php:384
936
+ #: wp-live-chat-support/includes/settings_page.php:400
937
+ #: wp-live-chat-support/includes/settings_page.php:416
938
+ msgid "Upload Image"
939
+ msgstr "Качи изображение"
940
+
941
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:378
942
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1400
943
+ msgid "Remove Image"
944
+ msgstr "Изтриване на снимка"
945
+
946
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:379
947
+ msgid "Recommended Size 40px x 40px"
948
+ msgstr "Препоръчителен размер 40px x 40px"
949
+
950
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:385
951
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1408
952
+ #: wp-live-chat-support/includes/settings_page.php:413
953
+ msgid "Logo"
954
+ msgstr "Лого"
955
+
956
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:393
957
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1416
958
+ msgid "Upload Logo"
959
+ msgstr "Качване на лого"
960
+
961
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:395
962
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1418
963
+ msgid "Remove Logo"
964
+ msgstr "Премахване на лого"
965
+
966
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:396
967
+ msgid "Recommended Size 250px x 40px"
968
+ msgstr "Препоръчителен размер 250px x 40px"
969
+
970
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:402
971
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1425
972
+ #: wp-live-chat-support/includes/settings_page.php:429
973
+ msgid "Chat delay (seconds)"
974
+ msgstr "Закъснение на чата (секунди)"
975
+
976
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:402
977
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1425
978
+ msgid "How long it takes for your chat window to pop up"
979
+ msgstr "Колко време е необходимо на прозореца да се покаже на ектрана"
980
+
981
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:411
982
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1434
983
+ #: wp-live-chat-support/includes/settings_page.php:445
984
+ msgid "Chat notifications"
985
+ msgstr "Чат известие"
986
+
987
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:411
988
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1434
989
+ msgid "Alert me via email as soon as someone wants to chat (while online only)"
990
+ msgstr ""
991
+ "Алармирай ме чрез е-майл веднага щом някой иска чат (само когато си онлайн)"
992
+
993
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:421
994
+ msgid "Display name and avatar in chat"
995
+ msgstr "Покажи име и аватар в чата"
996
+
997
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:421
998
+ msgid "Display the agent and user name above each message in the chat window."
999
+ msgstr ""
1000
+ "Показвай името на оператора и потребителя над всяко съобщение в чат "
1001
+ "прозореца."
1002
+
1003
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:433
1004
+ #: wp-live-chat-support/includes/settings_page.php:484
1005
+ msgid "Only show the chat window to users that are logged in"
1006
+ msgstr ""
1007
+ "Показвай чат прозореца само на потребители, които са влезли в профила си"
1008
+
1009
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:433
1010
+ #: wp-live-chat-support/includes/settings_page.php:484
1011
+ msgid ""
1012
+ "By checking this, only users that are logged in will be able to chat with "
1013
+ "you."
1014
+ msgstr ""
1015
+ "Отбелязвайки това, само потребители, които са влезли в профила си ще имат "
1016
+ "възможността да разговарят с теб."
1017
+
1018
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:452
1019
+ #: wp-live-chat-support/includes/settings_page.php:583
1020
+ msgid "Do not allow users to send offline messages"
1021
+ msgstr "Не позволявай потребители да изпращат офлайн съобщения"
1022
+
1023
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:452
1024
+ #: wp-live-chat-support/includes/settings_page.php:583
1025
+ msgid ""
1026
+ "The chat window will be hidden when it is offline. Users will not be able to "
1027
+ "send offline messages to you"
1028
+ msgstr ""
1029
+ "Чат прозореца ще бъде скрит когато чата е офлайн. Потребителите нямат да "
1030
+ "могат да ви изпращат офлайн съобщения"
1031
+
1032
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:464
1033
+ #: wp-live-chat-support/includes/settings_page.php:638
1034
+ msgid "Email Address"
1035
+ msgstr "И-мейл адрес"
1036
+
1037
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:464
1038
+ #: wp-live-chat-support/includes/settings_page.php:638
1039
+ msgid ""
1040
+ "Email address where offline messages are delivered to. Use comma separated "
1041
+ "email addresses to send to more than one email address"
1042
+ msgstr ""
1043
+ "Е-майл адрес, на който ще бъдат изпращани офлайн съобщенията. Използвай "
1044
+ "запетая да разделиш отделните е-майл адреси, в случай, че желаете повече от "
1045
+ "един"
1046
+
1047
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:477
1048
+ #: wp-live-chat-support/includes/settings_page.php:659
1049
+ msgid "Sending Method"
1050
+ msgstr "Метод за Изпращане"
1051
+
1052
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:478
1053
+ #: wp-live-chat-support/includes/settings_page.php:660
1054
+ msgid "WP Mail"
1055
+ msgstr "WP Mail"
1056
+
1057
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:479
1058
+ #: wp-live-chat-support/includes/settings_page.php:661
1059
+ msgid "PHP Mailer"
1060
+ msgstr "PHP Mailer"
1061
+
1062
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:495
1063
+ #: wp-live-chat-support/includes/settings_page.php:677
1064
+ msgid "Host"
1065
+ msgstr "Host"
1066
+
1067
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:503
1068
+ #: wp-live-chat-support/includes/settings_page.php:685
1069
+ msgid "Port"
1070
+ msgstr "Port"
1071
+
1072
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:511
1073
+ #: wp-live-chat-support/includes/settings_page.php:693
1074
+ msgid "Username"
1075
+ msgstr "Потребителско Име"
1076
+
1077
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:519
1078
+ #: wp-live-chat-support/includes/settings_page.php:701
1079
+ msgid "Password"
1080
+ msgstr "Парола"
1081
+
1082
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:528
1083
+ #: wp-live-chat-support/includes/settings_page.php:594
1084
+ msgid "Offline Chat Box Title"
1085
+ msgstr "Заглавие на офлайн Chat Box-а"
1086
+
1087
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:536
1088
+ #: wp-live-chat-support/includes/settings_page.php:602
1089
+ msgid "Offline Text Fields"
1090
+ msgstr "Текст на офлайн полетата"
1091
+
1092
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:546
1093
+ #: wp-live-chat-support/includes/settings_page.php:612
1094
+ msgid "Offline Button Text"
1095
+ msgstr "Текст на офлайн бутона"
1096
+
1097
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:552
1098
+ #: wp-live-chat-support/includes/settings_page.php:618
1099
+ msgid "Offline Send Button Text"
1100
+ msgstr "Текст на офлайн бутона за изпращане"
1101
+
1102
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:581
1103
+ #: wp-live-chat-support/includes/settings_page.php:781
1104
+ msgid "Choose a theme"
1105
+ msgstr "Изберете тема"
1106
+
1107
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:586
1108
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:589
1109
+ msgid "Theme 1"
1110
+ msgstr "Тема 1"
1111
+
1112
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:592
1113
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:595
1114
+ msgid "Theme 2"
1115
+ msgstr "Тема 2"
1116
+
1117
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:598
1118
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:601
1119
+ msgid "Theme 3"
1120
+ msgstr "Тема 3"
1121
+
1122
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:604
1123
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:607
1124
+ msgid "Theme 4"
1125
+ msgstr "Тема 4"
1126
+
1127
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:610
1128
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:613
1129
+ msgid "Theme 5"
1130
+ msgstr "Тема 5"
1131
+
1132
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:616
1133
+ msgid "Theme 6"
1134
+ msgstr "Тема 6"
1135
+
1136
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:619
1137
+ msgid "Custom. Enter Colour Values Below"
1138
+ msgstr "Персонализирано. Въведете стойността на цвета отдолу"
1139
+
1140
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:645
1141
+ msgid "Chat box fill color"
1142
+ msgstr "Цвят на Chat box-а"
1143
+
1144
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:651
1145
+ msgid "Chat box font color"
1146
+ msgstr "Цвят на шрифта на Chat box-а"
1147
+
1148
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:658
1149
+ #: wp-live-chat-support/includes/settings_page.php:922
1150
+ msgid "I'm using a localization plugin"
1151
+ msgstr "Използвам плъгин за локализиране"
1152
+
1153
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:661
1154
+ msgid "documentation"
1155
+ msgstr "документация"
1156
+
1157
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:666
1158
+ msgid ""
1159
+ "You will only be able to edit the strings shown in the chat window of the "
1160
+ "code now. <br/> This has been done to accommodate as many localization "
1161
+ "plugins as possible. <br/> For more information on how to change these "
1162
+ "strings, please consult the "
1163
+ msgstr ""
1164
+ "Сега ще можете да редактирате връзките, показани в прозореца за чат на "
1165
+ "кода. . <br/> Това е с цел при годяване към възможно най-много плъгини за "
1166
+ "локализиране. <br/> За повече информация относно как да промените връзките, "
1167
+ "моля да се консултирате с "
1168
+
1169
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:671
1170
+ #: wp-live-chat-support/includes/settings_page.php:931
1171
+ msgid "First Section Text"
1172
+ msgstr "Текст на първата секция"
1173
+
1174
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:678
1175
+ #: wp-live-chat-support/includes/settings_page.php:938
1176
+ msgid "Intro Text"
1177
+ msgstr "Въвеждащ текст"
1178
+
1179
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:684
1180
+ #: wp-live-chat-support/includes/settings_page.php:944
1181
+ msgid "Second Section Text"
1182
+ msgstr "Текст на втора секция"
1183
+
1184
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:691
1185
+ #: wp-live-chat-support/includes/settings_page.php:951
1186
+ msgid "Reactivate Chat Section Text"
1187
+ msgstr "Ре-активирайте текста в чат секцията"
1188
+
1189
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:699
1190
+ msgid "User chat welcome"
1191
+ msgstr "Посрещане на потребителя"
1192
+
1193
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:705
1194
+ #: wp-live-chat-support/includes/settings_page.php:979
1195
+ msgid "Other text"
1196
+ msgstr "Друг текст"
1197
+
1198
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:707
1199
+ msgid "This text is shown above the user chat input field"
1200
+ msgstr "Този текст се показва над полето за въвеждане на текст в чат секцията"
1201
+
1202
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:711
1203
+ #: wp-live-chat-support/includes/settings_page.php:987
1204
+ msgid "Close Button Text"
1205
+ msgstr "Текст на бутона затвори"
1206
+
1207
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:745
1208
+ msgid ""
1209
+ "You are using an outdated version of WP Live Chat Support Basic. Please "
1210
+ "update your plugin to allow for animations to function"
1211
+ msgstr ""
1212
+ "Използвате стара версия на WP Live Chat Support Basic. Моля обновете "
1213
+ "приставката, за да разрешите функция анимация на"
1214
+
1215
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:749
1216
+ #: wp-live-chat-support/includes/settings_page.php:995
1217
+ msgid "Choose an animation"
1218
+ msgstr "Изберете анимация"
1219
+
1220
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:757
1221
+ #: wp-live-chat-support/includes/settings_page.php:1003
1222
+ msgid "Slide Up"
1223
+ msgstr "Плъзгане от страни"
1224
+
1225
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:763
1226
+ #: wp-live-chat-support/includes/settings_page.php:1009
1227
+ msgid "Slide From The Side"
1228
+ msgstr "Плъзни отстрани"
1229
+
1230
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:769
1231
+ #: wp-live-chat-support/includes/settings_page.php:1015
1232
+ msgid "Fade In"
1233
+ msgstr "Димиране"
1234
+
1235
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:775
1236
+ #: wp-live-chat-support/includes/settings_page.php:1021
1237
+ msgid "No Animation"
1238
+ msgstr "Без анимация"
1239
+
1240
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:833
1241
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4042
1242
+ #: wp-live-chat-support/wp-live-chat-support.php:5320
1243
+ msgid "Current Users that are Chat Agents"
1244
+ msgstr "Настоящи потребители, които са чат оператори"
1245
+
1246
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:844
1247
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2056
1248
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4053
1249
+ #: wp-live-chat-support/wp-live-chat-support.php:5330
1250
+ msgid "Online"
1251
+ msgstr "Онлайн"
1252
+
1253
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:854
1254
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3908
1255
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4063
1256
+ #: wp-live-chat-support/modules/node_server.php:901
1257
+ #: wp-live-chat-support/wp-live-chat-support.php:3055
1258
+ msgid "Remove"
1259
+ msgstr "Премахни"
1260
+
1261
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:863
1262
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4072
1263
+ #: wp-live-chat-support/wp-live-chat-support.php:5380
1264
+ msgid "Add New Agent"
1265
+ msgstr "Добави нов оператор"
1266
+
1267
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:865
1268
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1097
1269
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4074
1270
+ #: wp-live-chat-support/wp-live-chat-support.php:3616
1271
+ #: wp-live-chat-support/wp-live-chat-support.php:5345
1272
+ msgid "Select"
1273
+ msgstr "Избери"
1274
+
1275
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:887
1276
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4096
1277
+ #: wp-live-chat-support/wp-live-chat-support.php:5381
1278
+ msgid "Add Agent"
1279
+ msgstr "Добави оператор"
1280
+
1281
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:893
1282
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4102
1283
+ msgid ""
1284
+ "Should you wish to add a user that has a role less than 'Author', please go "
1285
+ "to the <a href='./users.php'>Users</a> page, select the relevant user, click "
1286
+ "Edit and scroll to the bottom of the page and enable the 'Chat Agent' "
1287
+ "checkbox."
1288
+ msgstr ""
1289
+ "Ако искате да добавите потребител, който има роля, по-малка от \"Автор\", "
1290
+ "моля, отидете на <a href='./users.php'>Потребители </a> изберете съответния "
1291
+ "потребител, щракнете върху Редактиране и превъртете до долната част на "
1292
+ "страницата и поставете отметка в квадратчето 'Чат оператор'."
1293
+
1294
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:894
1295
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4103
1296
+ msgid "If there are no chat agents online, the chat will show as offline"
1297
+ msgstr "Ако няма чат оператори онлайн, чатът да бъде показван като офлайн"
1298
+
1299
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:898
1300
+ #: wp-live-chat-support/includes/settings_page.php:1048
1301
+ msgid "Blocked Visitors - Based on IP Address"
1302
+ msgstr "Блокирани посетители - Базирано на IP адреси"
1303
+
1304
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:899
1305
+ #: wp-live-chat-support/includes/settings_page.php:1052
1306
+ msgid "Enter each IP Address you would like to block on a new line"
1307
+ msgstr "Въведете всеки IP адрес, който желаете да блокирате на нов ред"
1308
+
1309
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:910
1310
+ #: wp-live-chat-support/includes/settings_page.php:1063
1311
+ msgid ""
1312
+ "Blocking a user's IP Address here will hide the chat window from them, "
1313
+ "preventing them from chatting with you. Each IP Address must be on a new line"
1314
+ msgstr ""
1315
+ "Блокирайки потребителския IP адрес тук, ще скрие чат прозореца от тях и ще "
1316
+ "предотврати възможността да се свържат с вас. Всяко IP трябва да бъде "
1317
+ "записано на нов ред"
1318
+
1319
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:919
1320
+ msgid ""
1321
+ "are only available in the WP Live Chat Support Chat Experience Ratings add-on"
1322
+ msgstr "са достъпни само в WP Live Chat Support Chat Experience Ratings add-on"
1323
+
1324
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:923
1325
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2266
1326
+ msgid "Chat Encryption"
1327
+ msgstr "Криптиране на чата"
1328
+
1329
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:926
1330
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2269
1331
+ msgid "Enable Encryption"
1332
+ msgstr "Активирай криптиране"
1333
+
1334
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:926
1335
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2269
1336
+ msgid ""
1337
+ "All messages will be encrypted when being sent to and from the user and "
1338
+ "agent."
1339
+ msgstr ""
1340
+ "Всички съобщения ще бъдат криптирани по време на изпращането до и от "
1341
+ "потребители и агенти."
1342
+
1343
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:934
1344
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2279
1345
+ msgid ""
1346
+ "Once enabled, all messages sent will be encrypted. This cannot be undone."
1347
+ msgstr ""
1348
+ "Веднъж активирано, всички изпратени съобщения ще бъдат криптирани. Това е "
1349
+ "необратима операция."
1350
+
1351
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:940
1352
+ #: wp-live-chat-support/includes/settings_page.php:1074
1353
+ msgid "Save Settings"
1354
+ msgstr "Запази настройки"
1355
+
1356
+ #: wp-live-chat-support-pro/includes/wplc_agent_data.php:7
1357
+ msgid "WP Live Chat Support - User Fields"
1358
+ msgstr "WP Live Chat Support - Потребителски полета"
1359
+
1360
+ #: wp-live-chat-support-pro/includes/wplc_agent_data.php:11
1361
+ msgid "User tagline"
1362
+ msgstr "Потребителски слоган"
1363
+
1364
+ #: wp-live-chat-support-pro/includes/wplc_agent_data.php:17
1365
+ #: wp-live-chat-support-pro/includes/wplc_agent_data.php:30
1366
+ msgid "This will show up at the top of the chatbox - Leave blank to disable."
1367
+ msgstr ""
1368
+ "Това ще се покаже в горната част на чата - Оставете празно, за да "
1369
+ "деактивирате."
1370
+
1371
+ #: wp-live-chat-support-pro/includes/wplc_agent_data.php:24
1372
+ msgid "User bio"
1373
+ msgstr "Автобиография на потребителя"
1374
+
1375
+ #: wp-live-chat-support-pro/includes/wplc_agent_data.php:37
1376
+ msgid "User social accounts"
1377
+ msgstr "Акаунти в социалните мрежи"
1378
+
1379
+ #: wp-live-chat-support-pro/includes/wplc_agent_data.php:42
1380
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1494
1381
+ #: wp-live-chat-support/includes/settings_page.php:557
1382
+ msgid "Twitter URL"
1383
+ msgstr "Twitter URL"
1384
+
1385
+ #: wp-live-chat-support-pro/includes/wplc_agent_data.php:46
1386
+ msgid "LinkedIn URL"
1387
+ msgstr "LinkedIn URL"
1388
+
1389
+ #: wp-live-chat-support-pro/includes/wplc_agent_data.php:50
1390
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1490
1391
+ #: wp-live-chat-support/includes/settings_page.php:544
1392
+ msgid "Facebook URL"
1393
+ msgstr "Facebook URL"
1394
+
1395
+ #: wp-live-chat-support-pro/includes/wplc_agent_data.php:54
1396
+ msgid "Website URL"
1397
+ msgstr "Website URL"
1398
+
1399
+ #: wp-live-chat-support-pro/includes/wplc_agent_data.php:56
1400
+ msgid ""
1401
+ "This will show up at the top of the chatbox, in the agent's description - "
1402
+ "Leave each item blank to disable it."
1403
+ msgstr ""
1404
+ "Това ще се покаже в горната част на чата, в описанието на оператора - "
1405
+ "Оставете празно, за да деактивирате."
1406
+
1407
+ #: wp-live-chat-support-pro/includes/wplc_agent_data.php:276
1408
+ msgid "Twitter"
1409
+ msgstr "Twitter"
1410
+
1411
+ #: wp-live-chat-support-pro/includes/wplc_agent_data.php:279
1412
+ msgid "LinkedIn"
1413
+ msgstr "LinkedIn"
1414
+
1415
+ #: wp-live-chat-support-pro/includes/wplc_agent_data.php:282
1416
+ msgid "Facebook"
1417
+ msgstr "Facebook"
1418
+
1419
+ #: wp-live-chat-support-pro/includes/wplc_agent_data.php:285
1420
+ msgid "Website"
1421
+ msgstr "Website"
1422
+
1423
+ #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:60
1424
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:5
1425
+ #: wp-live-chat-support-pro/includes/wplc_departments.php:143
1426
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:83
1427
+ #: wp-live-chat-support/modules/webhooks_manager.php:57
1428
+ #: wp-live-chat-support/modules/webhooks_manager.php:312
1429
+ msgid "Add New"
1430
+ msgstr "Добави нов"
1431
+
1432
+ #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:64
1433
+ #: wp-live-chat-support/wp-live-chat-support.php:6191
1434
+ #: wp-live-chat-support/wp-live-chat-support.php:6198
1435
+ msgid "WP Live Chat Support Custom Fields"
1436
+ msgstr "WP Live Chat Support персонализирани полета"
1437
+
1438
+ #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:70
1439
+ msgid ""
1440
+ "Please ensure you are using version WP Live Chat Support 7.0.0 or newer, to "
1441
+ "allow for full functionality of custom fields."
1442
+ msgstr ""
1443
+ "Моля, уверете се, че използвате версия WP Live Chat Support 7.0.0 или по-"
1444
+ "нова, за да имате пълна функционалност на персонализираните полета."
1445
+
1446
+ #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:71
1447
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:16
1448
+ #: wp-live-chat-support-pro/includes/wplc_departments.php:156
1449
+ #: wp-live-chat-support-pro/includes/wplc_departments.php:192
1450
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:111
1451
+ #: wp-live-chat-support-pro/modules/documentation_suggestions.php:62
1452
+ #: wp-live-chat-support/wp-live-chat-support.php:6107
1453
+ #: wp-live-chat-support/wp-live-chat-support.php:6172
1454
+ #: wp-live-chat-support/wp-live-chat-support.php:6210
1455
+ msgid "Update now"
1456
+ msgstr "Обнови сега"
1457
+
1458
+ #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:80
1459
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:439
1460
+ #: wp-live-chat-support-pro/includes/wplc_departments.php:211
1461
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:128
1462
+ #: wp-live-chat-support/functions.php:2369
1463
+ #: wp-live-chat-support/wp-live-chat-support.php:6430
1464
+ msgid "ID"
1465
+ msgstr "ID"
1466
+
1467
+ #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:82
1468
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:441
1469
+ #: wp-live-chat-support/wp-live-chat-support.php:3292
1470
+ msgid "Type"
1471
+ msgstr "Тип"
1472
+
1473
+ #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:83
1474
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:443
1475
+ msgid "Content"
1476
+ msgstr "Съдържание"
1477
+
1478
+ #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:84
1479
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:444
1480
+ #: wp-live-chat-support/wp-live-chat-support.php:3295
1481
+ #: wp-live-chat-support/wp-live-chat-support.php:4501
1482
+ msgid "Status"
1483
+ msgstr "Статус"
1484
+
1485
+ #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:85
1486
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:445
1487
+ #: wp-live-chat-support-pro/includes/wplc_departments.php:213
1488
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:133
1489
+ #: wp-live-chat-support/functions.php:2121
1490
+ #: wp-live-chat-support/modules/webhooks_manager.php:231
1491
+ #: wp-live-chat-support/wp-live-chat-support.php:3296
1492
+ #: wp-live-chat-support/wp-live-chat-support.php:4502
1493
+ #: wp-live-chat-support/wp-live-chat-support.php:6432
1494
+ msgid "Action"
1495
+ msgstr "Действие"
1496
+
1497
+ #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:115
1498
+ #: wp-live-chat-support/wp-live-chat-support.php:3525
1499
+ msgid "Active"
1500
+ msgstr "Активен"
1501
+
1502
+ #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:117
1503
+ msgid "Inactive"
1504
+ msgstr "Неактивен"
1505
+
1506
+ #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:122
1507
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:452
1508
+ #: wp-live-chat-support-pro/includes/wplc_departments.php:220
1509
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:140
1510
+ #: wp-live-chat-support/modules/webhooks_manager.php:243
1511
+ msgid "Edit"
1512
+ msgstr "Промяна"
1513
+
1514
+ #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:123
1515
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:453
1516
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:584
1517
+ #: wp-live-chat-support-pro/includes/wplc_departments.php:221
1518
+ #: wp-live-chat-support-pro/includes/wplc_departments.php:498
1519
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:141
1520
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:545
1521
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:5349
1522
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:5420
1523
+ #: wp-live-chat-support/modules/webhooks_manager.php:244
1524
+ msgid "Delete"
1525
+ msgstr "Изтриване"
1526
+
1527
+ #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:133
1528
+ msgid "Create your first custom field"
1529
+ msgstr "Създай първото си персонализирано поле"
1530
+
1531
+ #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:151
1532
+ msgid "Create a Custom Field"
1533
+ msgstr "Създай персонализирано поле"
1534
+
1535
+ #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:156
1536
+ #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:217
1537
+ msgid "Field Name"
1538
+ msgstr "Име на полето"
1539
+
1540
+ #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:160
1541
+ #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:225
1542
+ msgid "Field Type"
1543
+ msgstr "Вид на полето"
1544
+
1545
+ #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:163
1546
+ #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:230
1547
+ msgid "Text"
1548
+ msgstr "Текст"
1549
+
1550
+ #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:164
1551
+ #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:231
1552
+ msgid "Drop Down"
1553
+ msgstr "Падащо"
1554
+
1555
+ #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:169
1556
+ #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:221
1557
+ msgid "Default Field Value"
1558
+ msgstr "Стойност на полето по подразбиране"
1559
+
1560
+ #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:173
1561
+ #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:236
1562
+ msgid "Drop Down Contents"
1563
+ msgstr "Падащо съдържание"
1564
+
1565
+ #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:174
1566
+ #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:237
1567
+ msgid "Enter each option on a new line"
1568
+ msgstr "Въведете всяка опция на нов ред"
1569
+
1570
+ #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:178
1571
+ msgid "Create Custom Field"
1572
+ msgstr "Създай персонализирано поле"
1573
+
1574
+ #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:212
1575
+ msgid "Edit a Custom Field"
1576
+ msgstr "Коригирай персонализирано поле"
1577
+
1578
+ #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:241
1579
+ msgid "Update Custom Field"
1580
+ msgstr "Обнови персонализирано поле"
1581
+
1582
+ #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:250
1583
+ msgid "Custom Field Not Found"
1584
+ msgstr "Персонализираното поле не беше намерено"
1585
+
1586
+ #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:251
1587
+ msgid "Back"
1588
+ msgstr "Назад"
1589
+
1590
+ #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:263
1591
+ msgid "Are you sure you want to delete this custom field?"
1592
+ msgstr "Желаете ли да изтриете това персонализирано поле?"
1593
+
1594
+ #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:299
1595
+ msgid "Text Field"
1596
+ msgstr "Текстово поле"
1597
+
1598
+ #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:302
1599
+ msgid "Dropdown"
1600
+ msgstr "Падащо"
1601
+
1602
+ #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:305
1603
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4521
1604
+ msgid "Unknown"
1605
+ msgstr "Неизвестно"
1606
+
1607
+ #: wp-live-chat-support-pro/includes/wplc_custom_fields.php:367
1608
+ msgid "Custom Field Data"
1609
+ msgstr "Персонализирано поле за данни"
1610
+
1611
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:8
1612
+ #: wp-live-chat-support/wp-live-chat-support.php:6126
1613
+ #: wp-live-chat-support/wp-live-chat-support.php:6156
1614
+ msgid "WP Live Chat Support Triggers"
1615
+ msgstr "WP Live Chat Support стартери"
1616
+
1617
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:68
1618
+ msgid "Trigger Name"
1619
+ msgstr "Име на стартер"
1620
+
1621
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:73
1622
+ msgid "Trigger Type"
1623
+ msgstr "Тип на стартер"
1624
+
1625
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:77
1626
+ #: wp-live-chat-support/wp-live-chat-support.php:6162
1627
+ msgid "Page Trigger"
1628
+ msgstr "Стартер на страница"
1629
+
1630
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:78
1631
+ #: wp-live-chat-support/wp-live-chat-support.php:6163
1632
+ msgid "Time Trigger"
1633
+ msgstr "Времеви стартер"
1634
+
1635
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:79
1636
+ #: wp-live-chat-support/wp-live-chat-support.php:6164
1637
+ msgid "Scroll Trigger"
1638
+ msgstr "Стартиране при навигация"
1639
+
1640
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:80
1641
+ #: wp-live-chat-support/wp-live-chat-support.php:6165
1642
+ msgid "Page Leave Trigger"
1643
+ msgstr "Стартиране при напускане на страница"
1644
+
1645
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:81
1646
+ msgid ""
1647
+ "Note: When using page trigger with a the basic theme, no hovercard is shown "
1648
+ "by default. We suggest using the time trigger for this instead."
1649
+ msgstr ""
1650
+ "Бележка: Когато използвате стартер на страница с основна тема, няма да има "
1651
+ "показани ховъркарти. Предлагаме ви да използвате времеви стартер."
1652
+
1653
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:87
1654
+ msgid "Page ID"
1655
+ msgstr "Страница ID"
1656
+
1657
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:88
1658
+ msgid "Note: Leave empty for 'all' pages"
1659
+ msgstr "Бележка: Оставете празно, ако желаете да се приложи на всички страници"
1660
+
1661
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:92
1662
+ msgid "Show After"
1663
+ msgstr "Покажи след"
1664
+
1665
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:93
1666
+ msgid "Seconds"
1667
+ msgstr "Секунди"
1668
+
1669
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:97
1670
+ msgid "Show After Scrolled"
1671
+ msgstr "Покажи след навигация"
1672
+
1673
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:98
1674
+ msgid "(%) Percent of page height"
1675
+ msgstr "(%) Процент от дължината на страницата"
1676
+
1677
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:102
1678
+ msgid "Content Replacement"
1679
+ msgstr "Смяна на съдържанието"
1680
+
1681
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:113
1682
+ msgid "Replace Content"
1683
+ msgstr "Замени съдържанието"
1684
+
1685
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:118
1686
+ msgid "Enable Trigger"
1687
+ msgstr "Разреши стартер"
1688
+
1689
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:124
1690
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:237
1691
+ #: wp-live-chat-support/modules/node_server.php:536
1692
+ #: wp-live-chat-support/wp-live-chat-support.php:6657
1693
+ msgid "Close"
1694
+ msgstr "Затвори"
1695
+
1696
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:133
1697
+ #: wp-live-chat-support-pro/includes/wplc_departments.php:296
1698
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:246
1699
+ msgid "Please review your submission"
1700
+ msgstr "Моля, прегледайте заявката си"
1701
+
1702
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:273
1703
+ msgid "Trigger has been edited."
1704
+ msgstr "Стартера беше променен."
1705
+
1706
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:426
1707
+ msgid "Conflict with page"
1708
+ msgstr "Конфликт със страница"
1709
+
1710
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:428
1711
+ msgid "Trigger ID: "
1712
+ msgstr "Стартер ID: "
1713
+
1714
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:429
1715
+ msgid ""
1716
+ "It is possible that this trigger may override another trigger, or be "
1717
+ "overridden by another trigger."
1718
+ msgstr "Възможно е този стартер да бъде заменен или да замени друг стартер."
1719
+
1720
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:442
1721
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:131
1722
+ #: wp-live-chat-support/modules/node_server.php:1221
1723
+ msgid "Page"
1724
+ msgstr "Страница"
1725
+
1726
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:461
1727
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:657
1728
+ #: wp-live-chat-support/wp-live-chat-support.php:5089
1729
+ msgid "All"
1730
+ msgstr "Всички"
1731
+
1732
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:465
1733
+ msgid "Click to change trigger status"
1734
+ msgstr "Кликни, за да промениш статуса на стартера"
1735
+
1736
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:475
1737
+ msgid "No Triggers Found..."
1738
+ msgstr "Не бяха намерени стартери..."
1739
+
1740
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:579
1741
+ msgid "Are you sure you would like to delete trigger"
1742
+ msgstr "Сигурни ли сте, че желаете да изтриете стартера"
1743
+
1744
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:585
1745
+ #: wp-live-chat-support-pro/includes/wplc_departments.php:287
1746
+ #: wp-live-chat-support-pro/includes/wplc_departments.php:499
1747
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:546
1748
+ #: wp-live-chat-support/includes/modal_control.php:36
1749
+ #: wp-live-chat-support/modules/node_server.php:1199
1750
+ #: wp-live-chat-support/modules/webhooks_manager.php:332
1751
+ msgid "Cancel"
1752
+ msgstr "Отказ"
1753
+
1754
+ #: wp-live-chat-support-pro/includes/wplc_departments.php:53
1755
+ #: wp-live-chat-support-pro/includes/wplc_departments.php:57
1756
+ #: wp-live-chat-support-pro/includes/wplc_departments.php:91
1757
+ #: wp-live-chat-support-pro/includes/wplc_departments.php:577
1758
+ #: wp-live-chat-support-pro/includes/wplc_departments.php:696
1759
+ #: wp-live-chat-support-pro/includes/wplc_transfer_chats.php:92
1760
+ msgid "No Department"
1761
+ msgstr "Няма отдел"
1762
+
1763
+ #: wp-live-chat-support-pro/includes/wplc_departments.php:79
1764
+ #: wp-live-chat-support-pro/includes/wplc_departments.php:163
1765
+ #: wp-live-chat-support-pro/includes/wplc_departments.php:563
1766
+ msgid ""
1767
+ "Departments are not currently supported with the Cloud Server of WP Live "
1768
+ "Chat Support."
1769
+ msgstr ""
1770
+ "Отдели в момента не се поддържат с Cloud сървъра на WP Live Chat Support."
1771
+
1772
+ #: wp-live-chat-support-pro/includes/wplc_departments.php:87
1773
+ msgid "Chat Department"
1774
+ msgstr "Чат отдел"
1775
+
1776
+ #: wp-live-chat-support-pro/includes/wplc_departments.php:132
1777
+ #: wp-live-chat-support-pro/includes/wplc_departments.php:538
1778
+ #: wp-live-chat-support-pro/includes/wplc_departments.php:556
1779
+ msgid "Departments"
1780
+ msgstr "Отдели"
1781
+
1782
+ #: wp-live-chat-support-pro/includes/wplc_departments.php:145
1783
+ msgid "Department Settings"
1784
+ msgstr "Настройки на отдел"
1785
+
1786
+ #: wp-live-chat-support-pro/includes/wplc_departments.php:148
1787
+ msgid "WP Live Chat Support Departments"
1788
+ msgstr "WP Live Chat Support отдели"
1789
+
1790
+ #: wp-live-chat-support-pro/includes/wplc_departments.php:156
1791
+ #, php-format
1792
+ msgid ""
1793
+ "WP Live Chat Support Pro requires WP Live Chat Support Version 7.0.0 or "
1794
+ "greater in order for departments to function as expected. Please update WP "
1795
+ "Live Chat Support %s"
1796
+ msgstr ""
1797
+ "WP Live Chat Support Pro изисква WP Live Chat Support Версия 7.0.0 или по-"
1798
+ "висока, за да могат отделите да функционират според очакванията. Моля, "
1799
+ "актуализирайте WP Live Chat Support %s"
1800
+
1801
+ #: wp-live-chat-support-pro/includes/wplc_departments.php:231
1802
+ msgid "No Departments Found..."
1803
+ msgstr "Не бяха открити отдели..."
1804
+
1805
+ #: wp-live-chat-support-pro/includes/wplc_departments.php:281
1806
+ msgid "Department Name"
1807
+ msgstr "Наименование на отдела"
1808
+
1809
+ #: wp-live-chat-support-pro/includes/wplc_departments.php:357
1810
+ msgid "Department has been edited."
1811
+ msgstr "Отдела беше коригиран."
1812
+
1813
+ #: wp-live-chat-support-pro/includes/wplc_departments.php:493
1814
+ msgid "Are you sure you would like to delete department"
1815
+ msgstr "Сигурни ли сте, че искате да изтриете отдела"
1816
+
1817
+ #: wp-live-chat-support-pro/includes/wplc_departments.php:572
1818
+ msgid "Default Department"
1819
+ msgstr "Отдел по подразбиране"
1820
+
1821
+ #: wp-live-chat-support-pro/includes/wplc_departments.php:573
1822
+ msgid "Default department a new chat is assigned to"
1823
+ msgstr "Отдела по подразбиране, към който е насочва новия чат"
1824
+
1825
+ #: wp-live-chat-support-pro/includes/wplc_departments.php:588
1826
+ msgid "Create or Edit Departments"
1827
+ msgstr "Създай или коригирай отдел"
1828
+
1829
+ #: wp-live-chat-support-pro/includes/wplc_departments.php:594
1830
+ msgid "User Department Selection"
1831
+ msgstr "Избор на потребителски отдел"
1832
+
1833
+ #: wp-live-chat-support-pro/includes/wplc_departments.php:595
1834
+ msgid "Allow user to select a department before starting a chat?"
1835
+ msgstr ""
1836
+ "Позволяваш ли на потребителите да избират отдел, към който да се обърнат "
1837
+ "преди да започнат чата?"
1838
+
1839
+ #: wp-live-chat-support-pro/includes/wplc_departments.php:604
1840
+ msgid ""
1841
+ "Note: Chats will be transferred in the event that agents are not available "
1842
+ "within the selected department"
1843
+ msgstr ""
1844
+ "Забележка: Чатовете ще бъдат прехвърлени в случай, че операторите от "
1845
+ "съответния отдел не са на разположение"
1846
+
1847
+ #: wp-live-chat-support-pro/includes/wplc_departments.php:615
1848
+ #, php-format
1849
+ msgid "Create departments <a href='%s'>here</a>."
1850
+ msgstr "Създай отдел <a href='%s'>тук</a>."
1851
+
1852
+ #: wp-live-chat-support-pro/includes/wplc_departments.php:675
1853
+ msgid "Department you have been assigned to as an agent"
1854
+ msgstr "Отдела, който ти е възложен като оператор"
1855
+
1856
+ #: wp-live-chat-support-pro/includes/wplc_departments.php:675
1857
+ #: wp-live-chat-support-pro/includes/wplc_transfer_chats.php:41
1858
+ #: wp-live-chat-support/modules/node_server.php:1223
1859
+ msgid "Department"
1860
+ msgstr "Отдел"
1861
+
1862
+ #: wp-live-chat-support-pro/includes/wplc_departments.php:785
1863
+ msgid "Select Department"
1864
+ msgstr "Изберете отдел"
1865
+
1866
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:72
1867
+ msgid "ROI Goals"
1868
+ msgstr "ROI - Цели"
1869
+
1870
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:84
1871
+ msgid "View Reports"
1872
+ msgstr "Виж отчети"
1873
+
1874
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:87
1875
+ msgid "WP Live Chat Support ROI Goals"
1876
+ msgstr "WP Live Chat Support ROI цели"
1877
+
1878
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:130
1879
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4468
1880
+ msgid "Overview"
1881
+ msgstr "Преглед"
1882
+
1883
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:132
1884
+ msgid "Value"
1885
+ msgstr "Стойност"
1886
+
1887
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:147
1888
+ #: wp-live-chat-support-pro/modules/node_server_pro.php:22
1889
+ #: wp-live-chat-support/includes/settings_page.php:892
1890
+ msgid "None"
1891
+ msgstr "Нито един"
1892
+
1893
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:154
1894
+ msgid "No ROI Goals Found..."
1895
+ msgstr "Не бяха намерени ROI цели..."
1896
+
1897
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:212
1898
+ msgid "Goal Name"
1899
+ msgstr "Име на целта"
1900
+
1901
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:217
1902
+ msgid "Goal Overview"
1903
+ msgstr "Преглед на целта"
1904
+
1905
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:222
1906
+ msgid "Goal Page"
1907
+ msgstr "Страница на целта"
1908
+
1909
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:231
1910
+ msgid "Goal Value"
1911
+ msgstr "Стойност на целта"
1912
+
1913
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:377
1914
+ msgid "Goal has been edited."
1915
+ msgstr "Целта беше редактирана."
1916
+
1917
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:540
1918
+ msgid "Are you sure you would like to delete goal"
1919
+ msgstr "Сигурни ли сте, че искате да изтриете целта"
1920
+
1921
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:622
1922
+ msgid "ROI Reporting"
1923
+ msgstr "ROI отчет"
1924
+
1925
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:636
1926
+ msgid "Goal Statistics"
1927
+ msgstr "Статистики на целите"
1928
+
1929
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:648
1930
+ msgid "No Goals Found"
1931
+ msgstr "Не бяха открити цели"
1932
+
1933
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:658
1934
+ msgid "Last 30 Days"
1935
+ msgstr "Последните 30 дни"
1936
+
1937
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:659
1938
+ msgid "Last 15 Days"
1939
+ msgstr "Последните 15 дни"
1940
+
1941
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:660
1942
+ msgid "Last 7 Days"
1943
+ msgstr "Последните 7 дни"
1944
+
1945
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:661
1946
+ msgid "Last 24 Hours"
1947
+ msgstr "Последните 24 часа"
1948
+
1949
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:713
1950
+ msgid "Value Per Conversion"
1951
+ msgstr "Стойност за реализация"
1952
+
1953
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:719
1954
+ msgid "Total Value"
1955
+ msgstr "Обща стойност"
1956
+
1957
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:724
1958
+ msgid "Total Conversions"
1959
+ msgstr "Общо реализации"
1960
+
1961
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:758
1962
+ msgid "Value By Date"
1963
+ msgstr "Стойности по дата"
1964
+
1965
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:761
1966
+ msgid "Value By Agent"
1967
+ msgstr "Стойности по оператор"
1968
+
1969
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:767
1970
+ msgid "No data available yet..."
1971
+ msgstr "Все още няма налични данни..."
1972
+
1973
+ #: wp-live-chat-support-pro/includes/wplc_transfer_chats.php:13
1974
+ #: wp-live-chat-support/modules/node_server.php:1205
1975
+ #: wp-live-chat-support/modules/node_server.php:1210
1976
+ msgid "Transfer"
1977
+ msgstr "Прехвърляне"
1978
+
1979
+ #: wp-live-chat-support-pro/includes/wplc_transfer_chats.php:25
1980
+ msgid "Transfer Chat"
1981
+ msgstr "Прехвърляне на чат"
1982
+
1983
+ #: wp-live-chat-support-pro/includes/wplc_transfer_chats.php:39
1984
+ msgid "Would you like to transfer this chat to"
1985
+ msgstr "Желаете ли да прехвърлите чата към"
1986
+
1987
+ #: wp-live-chat-support-pro/includes/wplc_transfer_chats.php:40
1988
+ msgid "Agent"
1989
+ msgstr "Оператор"
1990
+
1991
+ #: wp-live-chat-support-pro/includes/wplc_transfer_chats.php:46
1992
+ msgid "Please select an agent to transfer to"
1993
+ msgstr "Моля, изберете оператор, към който да прехвърлите"
1994
+
1995
+ #: wp-live-chat-support-pro/includes/wplc_transfer_chats.php:53
1996
+ msgid "Please select a department to transfer to"
1997
+ msgstr "Моля, изберете отдел, към който да прехвърлите"
1998
+
1999
+ #: wp-live-chat-support-pro/includes/wplc_transfer_chats.php:71
2000
+ msgid "No Agent"
2001
+ msgstr "Няма оператори"
2002
+
2003
+ #: wp-live-chat-support-pro/includes/wplc_transfer_chats.php:77
2004
+ msgid "You"
2005
+ msgstr "Теб"
2006
+
2007
+ #: wp-live-chat-support-pro/includes/wplc_transfer_chats.php:118
2008
+ msgid "Checking if agent is online"
2009
+ msgstr "Проверка за онлайн оператори"
2010
+
2011
+ #: wp-live-chat-support-pro/includes/wplc_transfer_chats.php:119
2012
+ msgid "Agent is not online, transfer cannot be made"
2013
+ msgstr "Оператора не е онлайн, трансфера не може да бъде извършен"
2014
+
2015
+ #: wp-live-chat-support-pro/includes/wplc_transfer_chats.php:121
2016
+ msgid "Checking if agents in department are online"
2017
+ msgstr "Проверка за онлайн оператори в отдела"
2018
+
2019
+ #: wp-live-chat-support-pro/includes/wplc_transfer_chats.php:122
2020
+ msgid ""
2021
+ "No agent within the department are available to accept the transfer, "
2022
+ "transfer cannot be made"
2023
+ msgstr ""
2024
+ "В отдела няма оператори на разположение, за да приемат трансфера, трансфера "
2025
+ "не може да бъде извършен"
2026
+
2027
+ #: wp-live-chat-support-pro/includes/wplc_transfer_chats.php:124
2028
+ msgid "Agent(s) available, safe to transfer"
2029
+ msgstr "Оператор(и) на разположение, на разположение за трансфер"
2030
+
2031
+ #: wp-live-chat-support-pro/includes/wplc_transfer_chats.php:126
2032
+ msgid "Transfer Complete. Closing Window..."
2033
+ msgstr "Прехвърлянето е завършено. Затваряне на прозореца..."
2034
+
2035
+ #: wp-live-chat-support-pro/includes/wplc_transfer_chats.php:127
2036
+ msgid "Transfer Failed. Please try again later..."
2037
+ msgstr "Прехвърлянето неуспешно. Моля опитайте по-късно..."
2038
+
2039
+ #: wp-live-chat-support-pro/includes/wplc_transfer_chats.php:372
2040
+ msgid "Transfer for"
2041
+ msgstr "Прехвърляне за"
2042
+
2043
+ #: wp-live-chat-support-pro/includes/wplc_transfer_chats.php:375
2044
+ msgid "Accept Transfer"
2045
+ msgstr "Приеми прехвърлянето"
2046
+
2047
+ #: wp-live-chat-support-pro/includes/wplc_transfer_chats.php:458
2048
+ #: wp-live-chat-support/modules/node_server_deprecated.php:193
2049
+ msgid ""
2050
+ "Department took too long to respond, we are transferring this chat to the "
2051
+ "next available agent."
2052
+ msgstr ""
2053
+ "Отне твърде дълго време за отговор от отдела, прехвърляме чата към друг "
2054
+ "оператор."
2055
+
2056
+ #: wp-live-chat-support-pro/includes/wplc_transfer_chats.php:460
2057
+ #: wp-live-chat-support/modules/node_server_deprecated.php:195
2058
+ msgid ""
2059
+ "took too long to respond, we are transferring this chat to the next "
2060
+ "available agent."
2061
+ msgstr "отне твърде дълго за отговор, прехвърляме ви към друг оператор."
2062
+
2063
+ #: wp-live-chat-support-pro/includes/wplc_transfer_chats.php:463
2064
+ #: wp-live-chat-support/modules/node_server_deprecated.php:198
2065
+ msgid "has transferred the chat."
2066
+ msgstr "прехвърли чата."
2067
+
2068
+ #: wp-live-chat-support-pro/includes/wplc_transfer_chats.php:486
2069
+ #: wp-live-chat-support/modules/node_server_deprecated.php:201
2070
+ msgid "User received this message"
2071
+ msgstr "Потребителя получи това съобщяние"
2072
+
2073
+ #: wp-live-chat-support-pro/includes/wplc_transfer_chats.php:532
2074
+ #: wp-live-chat-support/modules/node_server_deprecated.php:153
2075
+ msgid "No agents available in"
2076
+ msgstr "Няма оператори на разположение в"
2077
+
2078
+ #: wp-live-chat-support-pro/includes/wplc_transfer_chats.php:534
2079
+ #: wp-live-chat-support/modules/node_server_deprecated.php:155
2080
+ msgid "selected department"
2081
+ msgstr "избрания отдел"
2082
+
2083
+ #: wp-live-chat-support-pro/includes/wplc_transfer_chats.php:538
2084
+ #: wp-live-chat-support/modules/node_server_deprecated.php:159
2085
+ msgid "automatically transferring you to"
2086
+ msgstr "автоматично прехвърляне към"
2087
+
2088
+ #: wp-live-chat-support-pro/includes/wplc_transfer_chats.php:540
2089
+ #: wp-live-chat-support/modules/node_server_deprecated.php:161
2090
+ msgid "the next available department"
2091
+ msgstr "следващия възможен департамент"
2092
+
2093
+ #: wp-live-chat-support-pro/includes/wplc_transfer_chats.php:566
2094
+ #: wp-live-chat-support/modules/node_server_deprecated.php:168
2095
+ msgid "User has been transfered from "
2096
+ msgstr "Потребителя беше прехвърлен от "
2097
+
2098
+ #: wp-live-chat-support-pro/includes/wplc_transfer_chats.php:568
2099
+ #: wp-live-chat-support/modules/node_server_deprecated.php:170
2100
+ msgid "department"
2101
+ msgstr "отдел"
2102
+
2103
+ #: wp-live-chat-support-pro/includes/wplc_transfer_chats.php:574
2104
+ #: wp-live-chat-support/modules/node_server_deprecated.php:176
2105
+ msgid " to "
2106
+ msgstr " към "
2107
+
2108
+ #: wp-live-chat-support-pro/includes/wplc_transfer_chats.php:576
2109
+ #: wp-live-chat-support/modules/node_server_deprecated.php:178
2110
+ msgid "as there were no agents online"
2111
+ msgstr "тъй като нямаше оператори на разположение"
2112
+
2113
+ #: wp-live-chat-support-pro/modules/api/wplc-api-functions.php:40
2114
+ #: wp-live-chat-support/modules/api/wplc-api-functions.php:306
2115
+ #: wp-live-chat-support/modules/node_server.php:223
2116
+ #: wp-live-chat-support/modules/node_server.php:295
2117
+ msgid "Action not set"
2118
+ msgstr "Не е зададено действие"
2119
+
2120
+ #: wp-live-chat-support-pro/modules/api/wplc-api-functions.php:257
2121
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1162
2122
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:5557
2123
+ #, php-format
2124
+ msgid "Incoming chat from %s (%s) on %s"
2125
+ msgstr "Входящ чат от %s (%s) на %s"
2126
+
2127
+ #: wp-live-chat-support-pro/modules/api/wplc-api-functions.php:263
2128
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1168
2129
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:5563
2130
+ #, php-format
2131
+ msgid "%s (%s) wants to chat with you. <br /><br />Log in: %s"
2132
+ msgstr "%s (%s) иска чат с теб. <br /><br />Вход: %s"
2133
+
2134
+ #: wp-live-chat-support-pro/modules/api/wplc-api-functions.php:560
2135
+ msgid "Security Violation - MIME Type not allowed"
2136
+ msgstr "Нарушение в сигурността - Видът MIME не е позволен"
2137
+
2138
+ #: wp-live-chat-support-pro/modules/api/wplc-api-functions.php:563
2139
+ msgid "File could not be uploaded"
2140
+ msgstr "Файла не може да бъде качен"
2141
+
2142
+ #: wp-live-chat-support-pro/modules/api/wplc-api-functions.php:566
2143
+ msgid "Security Violation - Does not match allowed file types"
2144
+ msgstr "Нарушение в сигурността - Не отговаря на разрешен вид файл"
2145
+
2146
+ #: wp-live-chat-support-pro/modules/api/wplc-api-functions.php:569
2147
+ msgid "Security Violation - File unsafe"
2148
+ msgstr "Нарушение в сигурността - Файла не е безопасен"
2149
+
2150
+ #: wp-live-chat-support-pro/modules/documentation_suggestions.php:9
2151
+ #: wp-live-chat-support/modules/documentation_suggestions.php:10
2152
+ msgid "Doc Suggestions"
2153
+ msgstr "Препоръчителна документация"
2154
+
2155
+ #: wp-live-chat-support-pro/modules/documentation_suggestions.php:27
2156
+ #: wp-live-chat-support/modules/documentation_suggestions.php:23
2157
+ msgid "Documentation Suggestions"
2158
+ msgstr "Препоръчителна документация"
2159
+
2160
+ #: wp-live-chat-support-pro/modules/documentation_suggestions.php:33
2161
+ #: wp-live-chat-support/modules/documentation_suggestions.php:28
2162
+ msgid "Enable Documentation Suggestions"
2163
+ msgstr "Активирай препоръчителна документация"
2164
+
2165
+ #: wp-live-chat-support-pro/modules/documentation_suggestions.php:33
2166
+ msgid ""
2167
+ "When a user sends a message the plugin will automatically detect if there "
2168
+ "are posts or pages that can be suggested to the user in order for the user "
2169
+ "to get more information about what they are asking. This is useful when the "
2170
+ "user has typed their message and is still waiting for an agent to answer "
2171
+ "their chat."
2172
+ msgstr ""
2173
+ "Когато потребителят изпрати съобщение, плъгина автоматично ще открие дали "
2174
+ "има публикации или страници, които могат да бъдат предложени на потребителя, "
2175
+ "за да може потребителят да получи повече информация за това, което търси. "
2176
+ "Това е полезно когато потребителя е написал своето съобщение и е в очакване "
2177
+ "да получи отговор от оператор."
2178
+
2179
+ #: wp-live-chat-support-pro/modules/documentation_suggestions.php:172
2180
+ msgid "The following was sent to the user as suggested documents:"
2181
+ msgstr ""
2182
+ "Следното беше изпратено на потребителя като препоръчителна документация:"
2183
+
2184
+ #: wp-live-chat-support-pro/modules/documentation_suggestions.php:174
2185
+ msgid "While you wait for the agent, perhaps these documents may help?"
2186
+ msgstr ""
2187
+ "Докато изчаквате за оператор, може би ще намерите следната документация "
2188
+ "полезна?"
2189
+
2190
+ #: wp-live-chat-support-pro/modules/gdpr_pro.php:15
2191
+ msgid ""
2192
+ "Pro is active - Deleting a chat will resilt in user experience ratings being "
2193
+ "deleted along with chat data"
2194
+ msgstr ""
2195
+ "Pro е активирано - Изтривайки чата ще доведе до загуба на информацията за "
2196
+ "него и рейтинга"
2197
+
2198
+ #: wp-live-chat-support-pro/modules/gdpr_pro.php:24
2199
+ msgid "Pro data will also be removed as a part of this automatic process."
2200
+ msgstr ""
2201
+ "Pro данните също ще бъдат премахнати като част от този автоматичен процес."
2202
+
2203
+ #: wp-live-chat-support-pro/modules/node_server_pro.php:82
2204
+ msgid "Disable Typing Previews"
2205
+ msgstr "Деактивиране на прегледите за въвеждане"
2206
+
2207
+ #: wp-live-chat-support-pro/modules/node_server_pro.php:82
2208
+ msgid ""
2209
+ "This option disables the typing preview from showing up to agents, which "
2210
+ "means agents will not be able to see what the user is typing in realtime."
2211
+ msgstr ""
2212
+ "Тази опция преустановява прегледите за въвеждане на операторите, което "
2213
+ "означава, че те няма да могат да виждат както пише потребителя в реално "
2214
+ "време."
2215
+
2216
+ #: wp-live-chat-support-pro/modules/node_server_pro.php:132
2217
+ msgid ""
2218
+ "You can transfer chats from within a chat by clicking on the in chat menu, "
2219
+ "and selecting Transfer Chat or Transfer Department"
2220
+ msgstr ""
2221
+ "Можете да прехвърляте разговори в чата, като кликнете върху менюто в чата и "
2222
+ "изберете Прехвърляне на чат или прехвърляне към отдел"
2223
+
2224
+ #: wp-live-chat-support-pro/modules/node_server_pro.php:133
2225
+ msgid ""
2226
+ "You can share files quickly when in a chat, by simply dragging a file into "
2227
+ "the chat window!"
2228
+ msgstr ""
2229
+ "Може да споделяш файлове бързо по време на чата, като просто придърпаш файла "
2230
+ чат прозореца!"
2231
+
2232
+ #: wp-live-chat-support-pro/modules/node_server_pro.php:134
2233
+ msgid "You can now move between chats without ending/closing an open chat"
2234
+ msgstr ""
2235
+ "Сега може да се придвижваш между чатове, без да затваряш/прекратяваш "
2236
+ "отворения чат"
2237
+
2238
+ #: wp-live-chat-support-pro/modules/node_server_pro.php:181
2239
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:925
2240
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:936
2241
+ msgid "Quick Responses"
2242
+ msgstr "Бързи Отговори"
2243
+
2244
+ #: wp-live-chat-support-pro/modules/node_server_pro.php:190
2245
+ msgid "No quick responses found"
2246
+ msgstr "Не са намерени бързи отговори"
2247
+
2248
+ #: wp-live-chat-support-pro/modules/node_server_pro.php:190
2249
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:928
2250
+ msgid "Add New Quick Response"
2251
+ msgstr "Добави нов бърз отговор"
2252
+
2253
+ #: wp-live-chat-support-pro/modules/node_server_pro.php:208
2254
+ msgid "WP Live Chat Support - Update Suggested"
2255
+ msgstr "WP Live Chat Support - предложение за обновяване"
2256
+
2257
+ #: wp-live-chat-support-pro/modules/node_server_pro.php:209
2258
+ msgid ""
2259
+ "We have detected that you are using a heavily out-dated version of WP Live "
2260
+ "Chat Support"
2261
+ msgstr "Вие използвате много остаряла версия на WP Live Chat Support"
2262
+
2263
+ #: wp-live-chat-support-pro/modules/node_server_pro.php:210
2264
+ msgid "It is highly recommended that you update to version 8 or above. "
2265
+ msgstr "Силно се препоръчва да обновите до версия 8 или по-нова. "
2266
+
2267
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:641
2268
+ #, php-format
2269
+ msgid ""
2270
+ "WP Live Chat Support Pro <strong>requires WP Live Chat Support version 6+</"
2271
+ "strong> (basic version). Please <strong><a href=\"%1$s\">update the plugin</"
2272
+ "a></strong> in order for the plugin to continue working correctly."
2273
+ msgstr ""
2274
+ "WP Live Chat Support Pro <strong>Изисква WP Live Chat Support version 6+</"
2275
+ "strong>(базова версия). Моля, <strong><a href=\"%1$s\">обновете плъгина</a></"
2276
+ "strong>, за да може да плъгина да продължи работа безотказно."
2277
+
2278
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:680
2279
+ #: wp-live-chat-support/ajax_new.php:196
2280
+ #: wp-live-chat-support/modules/api/wplc-api-functions.php:829
2281
+ #: wp-live-chat-support/wp-live-chat-support.php:6884
2282
+ msgid "Admin"
2283
+ msgstr "Администратор"
2284
+
2285
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:783
2286
+ msgid "WP Live Chat Support Pro"
2287
+ msgstr "WP Live Chat Support Pro"
2288
+
2289
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:926
2290
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:5004
2291
+ msgid "Quick Response"
2292
+ msgstr "Бърз отговор"
2293
+
2294
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:927
2295
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:930
2296
+ msgid "New Quick Response"
2297
+ msgstr "Нов бърз отговор"
2298
+
2299
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:929
2300
+ msgid "Edit Quick Response"
2301
+ msgstr "Редактиране на бърз отговор"
2302
+
2303
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:931
2304
+ msgid "All Quick Responses"
2305
+ msgstr "Всички бързи отговори"
2306
+
2307
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:932
2308
+ msgid "View Quick Responses"
2309
+ msgstr "Преглед на бързи отговори"
2310
+
2311
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:933
2312
+ msgid "Search Quick Responses"
2313
+ msgstr "Търсене на бързи отговори"
2314
+
2315
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:934
2316
+ msgid "No Quick Responses found"
2317
+ msgstr "Не са намерени бързи отговори"
2318
+
2319
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:935
2320
+ msgid "No Quick Responses found in the Trash"
2321
+ msgstr "Не са намерени бързи отговори в кошчето"
2322
+
2323
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:940
2324
+ msgid "Quick Responses for WP Live Chat Support Pro"
2325
+ msgstr "Бързи отговори за WP Live Chat Support Pro"
2326
+
2327
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:971
2328
+ msgid "Sort Order"
2329
+ msgstr "Подредба"
2330
+
2331
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1007
2332
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:5013
2333
+ msgid "Title"
2334
+ msgstr "Заглавие"
2335
+
2336
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1008
2337
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:5021
2338
+ msgid "Order"
2339
+ msgstr "Поръчка"
2340
+
2341
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1090
2342
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1094
2343
+ #: wp-live-chat-support/wp-live-chat-support.php:3616
2344
+ msgid "Assign Quick Response"
2345
+ msgstr "Възлагане на бърз отговор"
2346
+
2347
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1103
2348
+ msgid "What is this?"
2349
+ msgstr "Какво е това?"
2350
+
2351
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1215
2352
+ #: wp-live-chat-support/includes/settings_page.php:348
2353
+ msgid "Display typing indicator"
2354
+ msgstr "Покажи индикатора за писане"
2355
+
2356
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1215
2357
+ msgid ""
2358
+ "Display the \"typing...\" animation in the chat window as soon as an agent "
2359
+ "or visitor is typing."
2360
+ msgstr ""
2361
+ "Покажи \"писане...\" анимация в чат прозореца веднага когато агент или "
2362
+ "посетител започнат да пишат."
2363
+
2364
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1222
2365
+ #, php-format
2366
+ msgid ""
2367
+ "Please update your <a href='%s'>basic version</a> to make use of this "
2368
+ "feature."
2369
+ msgstr ""
2370
+ "Моля обновете вашата <a href='%s'>базовата версия</a> за използване на тази "
2371
+ "функция."
2372
+
2373
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1230
2374
+ msgid ""
2375
+ "For non-cloud server users, please note that this will increase the amount "
2376
+ "of server resources required."
2377
+ msgstr ""
2378
+ "За потребители, които не работят с облачни сървъри, имайте предвид, че това "
2379
+ "ще увеличи количеството на необходимите ресурси на сървъра."
2380
+
2381
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1247
2382
+ msgid "Use WordPress name instead"
2383
+ msgstr "Използвай името на WordPress вместо това"
2384
+
2385
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1250
2386
+ msgid "Note: 'Name' field will be ignored"
2387
+ msgstr "Забележка: Полето 'Име' ще бъде игнорирано"
2388
+
2389
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1268
2390
+ msgid "Incoming chat ring tone"
2391
+ msgstr "Звук на входящ чат"
2392
+
2393
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1273
2394
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1333
2395
+ msgid "Default"
2396
+ msgstr "По подразбиране"
2397
+
2398
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1328
2399
+ msgid "Incoming message tone"
2400
+ msgstr "Звук на входящо съобщение"
2401
+
2402
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1384
2403
+ msgid "Recomended Size 50px x 50px"
2404
+ msgstr "Препоръчителен размер 50px x 50px"
2405
+
2406
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1401
2407
+ msgid "Recomended Size 60px x 60px"
2408
+ msgstr "Препоръчителен размер 60px x 60px"
2409
+
2410
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1419
2411
+ msgid "Recomended Size 250px x 40px"
2412
+ msgstr "Препоръчителен размер 250px x 40px"
2413
+
2414
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1443
2415
+ msgid "User Experience"
2416
+ msgstr "Преживяване на потребителя"
2417
+
2418
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1452
2419
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1482
2420
+ #, php-format
2421
+ msgid ""
2422
+ "Please update your <a href='%s'>basic version</a> to make use of these "
2423
+ "features."
2424
+ msgstr ""
2425
+ "Моля обновете вашата<a href='%s'>базовата версия</a> за използване на тази "
2426
+ "функция."
2427
+
2428
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1459
2429
+ msgid "Enable Text Editor"
2430
+ msgstr "Разрешаване на Текстови Редактор"
2431
+
2432
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1459
2433
+ msgid ""
2434
+ "Adds advanced text editor features, such as links, text styling, and more!"
2435
+ msgstr ""
2436
+ "Добавя функции за разширен текстов редактор, като връзки, стайлинг на текст "
2437
+ "и др!"
2438
+
2439
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1463
2440
+ msgid "Enable File Sharing"
2441
+ msgstr "Разреши споделянето на Файлове"
2442
+
2443
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1463
2444
+ msgid "Adds file sharing to your chat box!"
2445
+ msgstr "Добавя опция за споделяне на файлове в чат прозореца!"
2446
+
2447
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1467
2448
+ msgid "Enable Experience Ratings"
2449
+ msgstr "Разреши чат рейтинги"
2450
+
2451
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1467
2452
+ msgid "Allows users to rate the chat experience with an agent."
2453
+ msgstr ""
2454
+ "Разрешава на потребителите да оценят обслужването получено от оператора."
2455
+
2456
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1473
2457
+ #: wp-live-chat-support/includes/settings_page.php:539
2458
+ #: wp-live-chat-support/includes/settings_page.php:891
2459
+ msgid "Social"
2460
+ msgstr "Социални мрежи"
2461
+
2462
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1490
2463
+ #: wp-live-chat-support/includes/settings_page.php:544
2464
+ msgid "Link your Facebook page here. Leave blank to hide"
2465
+ msgstr "Добави Facebook страница тук. За скриване остави празно"
2466
+
2467
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1491
2468
+ #: wp-live-chat-support/includes/settings_page.php:546
2469
+ msgid "Facebook URL..."
2470
+ msgstr "Facebook URL..."
2471
+
2472
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1494
2473
+ #: wp-live-chat-support/includes/settings_page.php:557
2474
+ msgid "Link your Twitter page here. Leave blank to hide"
2475
+ msgstr "Добави Twitter страница тук. За скриване остави празно"
2476
+
2477
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1495
2478
+ #: wp-live-chat-support/includes/settings_page.php:559
2479
+ msgid "Twitter URL..."
2480
+ msgstr "Twitter URL..."
2481
+
2482
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2055
2483
+ msgid "Status (Online)"
2484
+ msgstr "Статус (Онлайн)"
2485
+
2486
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2057
2487
+ msgid "Offline"
2488
+ msgstr "Офлайн"
2489
+
2490
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2058
2491
+ msgid "Status (Offline)"
2492
+ msgstr "Статус (Офлайн)"
2493
+
2494
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2072
2495
+ msgid ""
2496
+ "You have set your status to offline. To view visitors and accept chats "
2497
+ "please set your status to online using the switch above."
2498
+ msgstr ""
2499
+ "Ти промени статуса си на \"офлайн\". За да виждаш потребителите и да приемаш "
2500
+ "на чатове, промени статуса си на онлайн използвайки ключа по горе."
2501
+
2502
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2278
2503
+ msgid ""
2504
+ "Please note: Chat messages will only be encrypted and decrypted if you have "
2505
+ "inserted your WP Live Chat Support Pro API Key on the <a href=\"admin.php?"
2506
+ "page=wplivechat-menu-api-keys-page\">API Keys page</a>."
2507
+ msgstr ""
2508
+ "Забележка: Чат съобщенията ще бъдат криптирани и декриптирани само ако има "
2509
+ "въведен WP Live Chat Support Pro API ключ на <a href=\"admin.php?"
2510
+ "page=wplivechat-menu-api-keys-page\">страницата за API</a>."
2511
+
2512
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2610
2513
+ msgid "Exclude chat from 'Home' page:"
2514
+ msgstr "Премахни чата от 'началната' страница:"
2515
+
2516
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2610
2517
+ msgid ""
2518
+ "Leaving this unchecked will allow the chat window to display on your home "
2519
+ "page."
2520
+ msgstr ""
2521
+ "Ако не е немаркирано, ще чат прозореца ще се показва на началната страница."
2522
+
2523
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2618
2524
+ msgid "Exclude chat from 'Archive' pages:"
2525
+ msgstr "Премахване на чата от страницата на архив:"
2526
+
2527
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2618
2528
+ msgid ""
2529
+ "Leaving this unchecked will allow the chat window to display on your archive "
2530
+ "pages."
2531
+ msgstr "Ако не е маркирано, позволява чат прозореца на архивираните страници."
2532
+
2533
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3000
2534
+ msgid "Attempting to open the chat window... Please be patient."
2535
+ msgstr "Опит за отваряне на чат прозорец...Моля, изчакайте."
2536
+
2537
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3058
2538
+ msgid ""
2539
+ "You are not a chat agent. Please make yourself a chat agent before trying to "
2540
+ "chat to visitors"
2541
+ msgstr ""
2542
+ "Не си чат оператор. Трябва да се добавиш към списъка с чат оператори, за да "
2543
+ "можеш да разговаряш с посетители"
2544
+
2545
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3332
2546
+ msgid "This chat has already been answered by another agent."
2547
+ msgstr "Този чат вече беше отговорен от друг оператор."
2548
+
2549
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3654
2550
+ #: wp-live-chat-support/wp-live-chat-support.php:3173
2551
+ msgid "Agent(s) online"
2552
+ msgstr "Оператор/и на линия"
2553
+
2554
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3778
2555
+ #: wp-live-chat-support/wp-live-chat-support.php:1042
2556
+ msgid "Reporting"
2557
+ msgstr "Справки"
2558
+
2559
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3779
2560
+ #: wp-live-chat-support/wp-live-chat-support.php:1048
2561
+ msgid "Triggers"
2562
+ msgstr "Стартери"
2563
+
2564
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3780
2565
+ msgid "Custom Fields"
2566
+ msgstr "Персонализирани полета"
2567
+
2568
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3911
2569
+ #: wp-live-chat-support/modules/node_server.php:904
2570
+ #: wp-live-chat-support/wp-live-chat-support.php:3058
2571
+ msgid "Typing..."
2572
+ msgstr "Пише..."
2573
+
2574
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4260
2575
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4268
2576
+ #: wp-live-chat-support/wp-live-chat-support.php:5988
2577
+ msgid "Experience Rating"
2578
+ msgstr "Рейтинг"
2579
+
2580
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4348
2581
+ msgid "User Experience Ratings"
2582
+ msgstr "Рейтинг от потребителя"
2583
+
2584
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4355
2585
+ msgid "Agent Statistics"
2586
+ msgstr "Операторска статистика"
2587
+
2588
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4401
2589
+ msgid "Satisfaction Rating"
2590
+ msgstr "Рейтинг за удовлетвореност"
2591
+
2592
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4402
2593
+ msgid "Rating Count"
2594
+ msgstr "Брой Рейтинги"
2595
+
2596
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4402
2597
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4416
2598
+ msgid "Good"
2599
+ msgstr "Добре"
2600
+
2601
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4402
2602
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4416
2603
+ msgid "Bad"
2604
+ msgstr "Лошо"
2605
+
2606
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4410
2607
+ msgid "No Ratings for this agent"
2608
+ msgstr "Няма рейтинги за този оператор"
2609
+
2610
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4419
2611
+ msgid "View"
2612
+ msgstr "Виж"
2613
+
2614
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4465
2615
+ #: wp-live-chat-support/wp-live-chat-support.php:6084
2616
+ #: wp-live-chat-support/wp-live-chat-support.php:6091
2617
+ msgid "WP Live Chat Support Reporting"
2618
+ msgstr "WP Live Chat Support Доклади"
2619
+
2620
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4469
2621
+ msgid "Popular Pages"
2622
+ msgstr "Популярни страници"
2623
+
2624
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4487
2625
+ msgid "Total Agents"
2626
+ msgstr "Общ брой оператори"
2627
+
2628
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4487
2629
+ msgid "Total number of agents that used the live chat"
2630
+ msgstr "Общ оператори, които са използвали чата"
2631
+
2632
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4488
2633
+ msgid "Total Chats"
2634
+ msgstr "Общ брой чатове"
2635
+
2636
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4488
2637
+ msgid "Total number of chats received"
2638
+ msgstr "Общ брой на получените чатове"
2639
+
2640
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4489
2641
+ msgid "Total URLs"
2642
+ msgstr "Общо URL-и"
2643
+
2644
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4489
2645
+ msgid "Total number of URLs a chat was initiated on"
2646
+ msgstr "Общ брой URL-и, на който е бил инициализиран чат"
2647
+
2648
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4490
2649
+ msgid "Chats per day"
2650
+ msgstr "Чатове за ден"
2651
+
2652
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4491
2653
+ msgid "Popular pages a chat was initiated on"
2654
+ msgstr "Популярни страници, от които са били инициирани чатове"
2655
+
2656
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4567
2657
+ #: wp-live-chat-support/functions.php:2120
2658
+ #: wp-live-chat-support/wp-live-chat-support.php:4500
2659
+ msgid "URL"
2660
+ msgstr "URL"
2661
+
2662
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4568
2663
+ msgid "Count"
2664
+ msgstr "Брой"
2665
+
2666
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4594
2667
+ msgid "Disable initiate chat feature:"
2668
+ msgstr "Забрана за иницииране на чатове:"
2669
+
2670
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4594
2671
+ msgid ""
2672
+ "This will substantially improve performance. If you are experiencing "
2673
+ "performance issues on your site, you should disable the initiate chat "
2674
+ "feature and only enable it when you need it."
2675
+ msgstr ""
2676
+ "Това значително ще подобри работата. Ако имате проблеми с производителността "
2677
+ "на сайта си, трябва да деактивирате функцията за стартиране на чата и да я "
2678
+ "активирате само когато имате нужда от нея."
2679
+
2680
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4698
2681
+ msgid "Thank you for inquiry. We will get back to you shortly"
2682
+ msgstr "Благодарим ви за запитването. Скоро ще се свържем с вас"
2683
+
2684
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4857
2685
+ msgid "Enable an Auto Responder"
2686
+ msgstr "Активирай автоматичен отговор"
2687
+
2688
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4857
2689
+ msgid "Send your visitors an email as soon as they send you an offline message"
2690
+ msgstr ""
2691
+ "Изпратете на посетителите си е-майл веднага щом ви изпратят офлайн съобщение"
2692
+
2693
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4863
2694
+ msgid "Auto Responder 'From' Name"
2695
+ msgstr "Автоматичен отговор 'От' име"
2696
+
2697
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4869
2698
+ msgid "Auto Responder 'From' Email Address"
2699
+ msgstr "Автоматичен отговор 'От' е-майл адрес"
2700
+
2701
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4875
2702
+ msgid "Auto Responder Subject Line"
2703
+ msgstr "Автоматичен отговор Предмет на съобщението"
2704
+
2705
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4881
2706
+ msgid "Auto Responder Body"
2707
+ msgstr "Съдържание на автоматичния отговор"
2708
+
2709
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4884
2710
+ msgid "HTML and the following shortcodes can be used"
2711
+ msgstr "Могат да се използват HTML и следните shortcodes"
2712
+
2713
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4884
2714
+ msgid "User's name"
2715
+ msgstr "Потребителско Име"
2716
+
2717
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4884
2718
+ msgid "User's email address"
2719
+ msgstr "Е-майл на потребителя"
2720
+
2721
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4897
2722
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4913
2723
+ msgid "Business Hours"
2724
+ msgstr "Работно време"
2725
+
2726
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4917
2727
+ msgid "Enable Business Hours"
2728
+ msgstr "Активирай работно време"
2729
+
2730
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4923
2731
+ msgid "Display Interval"
2732
+ msgstr "Показвай интервал"
2733
+
2734
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4927
2735
+ msgid "Daily"
2736
+ msgstr "Дневно"
2737
+
2738
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4928
2739
+ msgid "Week Days"
2740
+ msgstr "Седмични дни"
2741
+
2742
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4929
2743
+ msgid "Weekends"
2744
+ msgstr "Почивни дни"
2745
+
2746
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4944
2747
+ msgid " Between "
2748
+ msgstr " Между "
2749
+
2750
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4961
2751
+ msgid " and "
2752
+ msgstr " и "
2753
+
2754
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:4984
2755
+ msgid "Current Site Time"
2756
+ msgstr "Време на сайта в момента"
2757
+
2758
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:5009
2759
+ msgid "Order by"
2760
+ msgstr "Подредени по"
2761
+
2762
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:5015
2763
+ msgid "Number"
2764
+ msgstr "Номер"
2765
+
2766
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:5025
2767
+ msgid "Descending"
2768
+ msgstr "Низходящо"
2769
+
2770
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:5026
2771
+ msgid "Ascending"
2772
+ msgstr "Възходящо"
2773
+
2774
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:5194
2775
+ #, php-format
2776
+ msgid ""
2777
+ "The Live Chat box is currently disabled on your website due to : <a href=\"%s"
2778
+ "\">Business Hours Settings</a>"
2779
+ msgstr ""
2780
+ "The Live Chat box-а е неактивен в момента поради: <a href=\"%s\">Настройки "
2781
+ "на работно време</a>"
2782
+
2783
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:5250
2784
+ msgid "Edit Profile"
2785
+ msgstr "Коригирай профил"
2786
+
2787
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:5261
2788
+ #: wp-live-chat-support/modules/node_server.php:1204
2789
+ msgid "Drag Files Here"
2790
+ msgstr "Плъзни файловете тук"
2791
+
2792
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:5277
2793
+ msgid "Enable Voice Notes on admin side"
2794
+ msgstr "Активирай гласови бележки от административна страна"
2795
+
2796
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:5279
2797
+ msgid ""
2798
+ "Enabling this will allow you to record the voice during the chat and send it "
2799
+ "to visitor once you hold on CTRL + SPACEBAR in main chat window"
2800
+ msgstr ""
2801
+ "Активирайки това ще ти позволи да направиш гласово съобщение по време на "
2802
+ "чата и да го изпратиш на посетителя, задържайки CTRL+SPACEBAR в главния "
2803
+ "прозорец на чата"
2804
+
2805
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:5290
2806
+ msgid "Enable Voice Notes on visitor side"
2807
+ msgstr "Активиране на гласовите бележки от страна на посетителите"
2808
+
2809
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:5292
2810
+ msgid ""
2811
+ "Enabling this will allow the visitors to record the voice during the chat "
2812
+ "and send it to agent once they hold on CTRL + SPACEBAR"
2813
+ msgstr ""
2814
+ "Активирайки това ще позволиш на посетителите да записват гласови съобщения и "
2815
+ "да ги изпращат на чата, като задържат CTRL+SPACEBAR"
2816
+
2817
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:5350
2818
+ msgid "Send..."
2819
+ msgstr "Изпрати..."
2820
+
2821
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:5351
2822
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:5422
2823
+ msgid "Play voice note"
2824
+ msgstr "Възпроизведи гласова бележка"
2825
+
2826
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:5421
2827
+ msgid "Save..."
2828
+ msgstr "Запази..."
2829
+
2830
+ #: wp-live-chat-support/ajax_new.php:336
2831
+ #: wp-live-chat-support/modules/api/wplc-api-functions.php:948
2832
+ msgid "Admin has closed and ended the chat"
2833
+ msgstr "Администратор е затворил и приключил чата"
2834
+
2835
+ #: wp-live-chat-support/functions.php:583
2836
+ msgid "In progress with another agent"
2837
+ msgstr "Чата се обработва от друг оператор"
2838
+
2839
+ #: wp-live-chat-support/functions.php:597
2840
+ msgid "Only chat agents can accept chats"
2841
+ msgstr "Само чат оператори могат да приемат чатове"
2842
+
2843
+ #: wp-live-chat-support/functions.php:854
2844
+ msgid "No agent was able to answer your chat request. Please try again."
2845
+ msgstr ""
2846
+ "Нито един оператор не успя да отговори на запитването. Моля опитайте отново."
2847
+
2848
+ #: wp-live-chat-support/functions.php:868
2849
+ msgid "Request new chat"
2850
+ msgstr "Искане за нов чат"
2851
+
2852
+ #: wp-live-chat-support/functions.php:1379
2853
+ msgid "complete"
2854
+ msgstr "завършен"
2855
+
2856
+ #: wp-live-chat-support/functions.php:1382
2857
+ msgid "pending"
2858
+ msgstr "в очакване"
2859
+
2860
+ #: wp-live-chat-support/functions.php:1385
2861
+ msgid "active"
2862
+ msgstr "активен"
2863
+
2864
+ #: wp-live-chat-support/functions.php:1388
2865
+ msgid "deleted"
2866
+ msgstr "изтрит"
2867
+
2868
+ #: wp-live-chat-support/functions.php:1391
2869
+ msgid "browsing"
2870
+ msgstr "разглежда"
2871
+
2872
+ #: wp-live-chat-support/functions.php:1394
2873
+ msgid "requesting chat"
2874
+ msgstr "искане за чат"
2875
+
2876
+ #: wp-live-chat-support/functions.php:1397
2877
+ msgid "Chat Ended - User still browsing"
2878
+ msgstr "Чата е приключен - потребителя все още разглежда"
2879
+
2880
+ #: wp-live-chat-support/functions.php:1400
2881
+ msgid "User is browsing but doesn't want to chat"
2882
+ msgstr "Потребителя разглежда, но не иска да разговаря"
2883
+
2884
+ #: wp-live-chat-support/functions.php:1693
2885
+ #: wp-live-chat-support/wp-live-chat-support.php:869
2886
+ #: wp-live-chat-support/wp-live-chat-support.php:3917
2887
+ #: wp-live-chat-support/wp-live-chat-support.php:5945
2888
+ msgid ""
2889
+ "Please standby for an agent. While you wait for the agent you may type your "
2890
+ "message."
2891
+ msgstr ""
2892
+ "Моля изчакайте връзка с оператор. Докато чакате, можете да напишете Вашето "
2893
+ "запитване."
2894
+
2895
+ #: wp-live-chat-support/functions.php:1858
2896
+ msgid "Get Pro Add-on to accept more chats"
2897
+ msgstr "Вземете Pro Add-on, за да приемате повече чатове"
2898
+
2899
+ #: wp-live-chat-support/functions.php:2095
2900
+ #: wp-live-chat-support/wp-live-chat-support.php:4456
2901
+ msgid "Error: Could not delete chat"
2902
+ msgstr "Грешка: Чатът не беше изтрит"
2903
+
2904
+ #: wp-live-chat-support/functions.php:2099
2905
+ #: wp-live-chat-support/wp-live-chat-support.php:4460
2906
+ msgid "Chat Deleted"
2907
+ msgstr "Чата беше изтрит"
2908
+
2909
+ #: wp-live-chat-support/functions.php:2106
2910
+ #: wp-live-chat-support/wp-live-chat-support.php:4467
2911
+ msgid "Are you sure you would like to delete this chat?"
2912
+ msgstr "Сигурни ли сте, че искате да изтриете този чат?"
2913
+
2914
+ #: wp-live-chat-support/functions.php:2145
2915
+ msgid "You have not missed any chat requests."
2916
+ msgstr "Нямате пропуснати заявки за чат."
2917
+
2918
+ #: wp-live-chat-support/functions.php:2153
2919
+ #: wp-live-chat-support/wp-live-chat-support.php:4521
2920
+ msgid "View Chat History"
2921
+ msgstr "Преглед на историята на чата"
2922
+
2923
+ #: wp-live-chat-support/functions.php:2153
2924
+ #: wp-live-chat-support/wp-live-chat-support.php:4521
2925
+ msgid "Download Chat History"
2926
+ msgstr "Изтегляне на историята на чата"
2927
+
2928
+ #: wp-live-chat-support/functions.php:2173
2929
+ #: wp-live-chat-support/wp-live-chat-support.php:4540
2930
+ #: wp-live-chat-support/wp-live-chat-support.php:4676
2931
+ msgid "&laquo;"
2932
+ msgstr "&laquo;"
2933
+
2934
+ #: wp-live-chat-support/functions.php:2174
2935
+ #: wp-live-chat-support/wp-live-chat-support.php:4541
2936
+ #: wp-live-chat-support/wp-live-chat-support.php:4677
2937
+ msgid "&raquo;"
2938
+ msgstr "&raquo;"
2939
+
2940
+ #: wp-live-chat-support/functions.php:2359
2941
+ msgid "Open chat window via"
2942
+ msgstr "Отвори чат прозорец чрез"
2943
+
2944
+ #: wp-live-chat-support/functions.php:2363
2945
+ msgid "Click"
2946
+ msgstr "Клик"
2947
+
2948
+ #: wp-live-chat-support/functions.php:2364
2949
+ msgid "Hover"
2950
+ msgstr "Hover"
2951
+
2952
+ #: wp-live-chat-support/functions.php:2366
2953
+ msgid "element with"
2954
+ msgstr "елемент с"
2955
+
2956
+ #: wp-live-chat-support/functions.php:2368
2957
+ msgid "Class"
2958
+ msgstr "Клас"
2959
+
2960
+ #: wp-live-chat-support/includes/blocks/wplc-chat-box/block.js:44
2961
+ msgid "WP Live Chat Trigger (WP Live Chat Support)"
2962
+ msgstr "WP Live Chat стартер (WP Live Chat Support)"
2963
+
2964
+ #: wp-live-chat-support/includes/blocks/wplc-chat-box/index.php:21
2965
+ #: wp-live-chat-support/includes/blocks/wplc-chat-box/index.php:42
2966
+ msgid "Gutenberg Blocks"
2967
+ msgstr "Gutenberg блокове"
2968
+
2969
+ #: wp-live-chat-support/includes/blocks/wplc-chat-box/index.php:46
2970
+ msgid "Enable Gutenberg Blocks"
2971
+ msgstr "Активирай Gutenberg блокове"
2972
+
2973
+ #: wp-live-chat-support/includes/blocks/wplc-chat-box/index.php:54
2974
+ msgid "Gutenberg Block Size"
2975
+ msgstr "Размер на Gutenberg блокове"
2976
+
2977
+ #: wp-live-chat-support/includes/blocks/wplc-chat-box/index.php:65
2978
+ msgid "Block Logo"
2979
+ msgstr "Logo блок"
2980
+
2981
+ #: wp-live-chat-support/includes/blocks/wplc-chat-box/index.php:76
2982
+ msgid "Block Text"
2983
+ msgstr "Текстови блок"
2984
+
2985
+ #: wp-live-chat-support/includes/blocks/wplc-chat-box/index.php:84
2986
+ msgid "Display Icon"
2987
+ msgstr "Показване на икона"
2988
+
2989
+ #: wp-live-chat-support/includes/blocks/wplc-chat-box/index.php:90
2990
+ msgid "Block Icon"
2991
+ msgstr "Блок икона"
2992
+
2993
+ #: wp-live-chat-support/includes/blocks/wplc-chat-box/index.php:98
2994
+ msgid "Block Preview"
2995
+ msgstr "Преглед блок"
2996
+
2997
+ #: wp-live-chat-support/includes/blocks/wplc-chat-box/index.php:106
2998
+ msgid "Custom HTML Template"
2999
+ msgstr "Персонализиран HTML темплейт"
3000
+
3001
+ #: wp-live-chat-support/includes/blocks/wplc-chat-box/index.php:108
3002
+ msgid "Displays the chosen logo"
3003
+ msgstr "Покажи избраното лого"
3004
+
3005
+ #: wp-live-chat-support/includes/blocks/wplc-chat-box/index.php:109
3006
+ msgid "Displays the chosen custom text"
3007
+ msgstr "Покажи избрания персонализиран текст"
3008
+
3009
+ #: wp-live-chat-support/includes/blocks/wplc-chat-box/index.php:110
3010
+ msgid "Displays the chosen icon"
3011
+ msgstr "Покажи избраната икона"
3012
+
3013
+ #: wp-live-chat-support/includes/blocks/wplc-chat-box/index.php:210
3014
+ #: wp-live-chat-support/wp-live-chat-support.php:1035
3015
+ msgid "Live Chat"
3016
+ msgstr "Чат на живо"
3017
+
3018
+ #: wp-live-chat-support/includes/blocks/wplc-inline-chat-box/block.js:13
3019
+ msgid "WP Live Chat Box (WP Live Chat Support)"
3020
+ msgstr "WP Live Chat Box (WP Live Chat Support)"
3021
+
3022
+ #: wp-live-chat-support/includes/credits.php:2
3023
+ msgid ""
3024
+ "WP Live Chat Support is supported by an international team of developers."
3025
+ msgstr "WP Live Chat Support е поддържан от международен екип от разработчици."
3026
+
3027
+ #: wp-live-chat-support/includes/credits.php:3
3028
+ msgid "Project Leaders"
3029
+ msgstr "Ръководители на проекти"
3030
+
3031
+ #: wp-live-chat-support/includes/credits.php:9
3032
+ msgid "Founder"
3033
+ msgstr "Основатели"
3034
+
3035
+ #: wp-live-chat-support/includes/credits.php:9
3036
+ #: wp-live-chat-support/includes/credits.php:14
3037
+ #: wp-live-chat-support/includes/credits.php:26
3038
+ #: wp-live-chat-support/includes/credits.php:32
3039
+ #: wp-live-chat-support/includes/credits.php:38
3040
+ #: wp-live-chat-support/includes/credits.php:57
3041
+ #: wp-live-chat-support/includes/credits.php:63
3042
+ msgid "Developer"
3043
+ msgstr "Разработчик"
3044
+
3045
+ #: wp-live-chat-support/includes/credits.php:9
3046
+ #: wp-live-chat-support/includes/credits.php:14
3047
+ #: wp-live-chat-support/includes/credits.php:26
3048
+ #: wp-live-chat-support/includes/credits.php:32
3049
+ #: wp-live-chat-support/includes/credits.php:38
3050
+ #: wp-live-chat-support/includes/credits.php:45
3051
+ #: wp-live-chat-support/includes/credits.php:57
3052
+ #: wp-live-chat-support/includes/credits.php:63
3053
+ #: wp-live-chat-support/wp-live-chat-support.php:1077
3054
+ #: wp-live-chat-support/wp-live-chat-support.php:5190
3055
+ msgid "Support"
3056
+ msgstr "Поддръжка"
3057
+
3058
+ #: wp-live-chat-support/includes/credits.php:14
3059
+ msgid "Project Manager"
3060
+ msgstr "Мениджър на проект"
3061
+
3062
+ #: wp-live-chat-support/includes/credits.php:17
3063
+ msgid "Contributors"
3064
+ msgstr "Сътрудници"
3065
+
3066
+ #: wp-live-chat-support/includes/credits.php:26
3067
+ #: wp-live-chat-support/includes/credits.php:32
3068
+ #: wp-live-chat-support/includes/credits.php:38
3069
+ #: wp-live-chat-support/includes/credits.php:75
3070
+ msgid "Testing"
3071
+ msgstr "Изпитатели"
3072
+
3073
+ #: wp-live-chat-support/includes/credits.php:51
3074
+ msgid "Marketing"
3075
+ msgstr "Маркетинг"
3076
+
3077
+ #: wp-live-chat-support/includes/credits.php:69
3078
+ msgid "Marketing &amp; Support"
3079
+ msgstr "Маркетинг &amp; Поддръжка"
3080
+
3081
+ #: wp-live-chat-support/includes/credits.php:75
3082
+ #: wp-live-chat-support/wp-live-chat-support.php:5161
3083
+ msgid "Documentation"
3084
+ msgstr "Документация"
3085
+
3086
+ #: wp-live-chat-support/includes/credits.php:81
3087
+ msgid "InfoSec"
3088
+ msgstr "Инфо секция"
3089
+
3090
+ #: wp-live-chat-support/includes/credits.php:86
3091
+ msgid "CSS"
3092
+ msgstr "CSS"
3093
+
3094
+ #: wp-live-chat-support/includes/credits.php:89
3095
+ msgid "Want to see your name on this page?"
3096
+ msgstr "Желаете ли да виждате вашето име на тази страница?"
3097
+
3098
+ #: wp-live-chat-support/includes/credits.php:89
3099
+ msgid "Get involved on GitHub."
3100
+ msgstr "Включете се на GitHub."
3101
+
3102
+ #: wp-live-chat-support/includes/credits.php:91
3103
+ #: wp-live-chat-support/includes/welcome_page.php:150
3104
+ msgid "OK! Let's start"
3105
+ msgstr "ОК! Нека започваме"
3106
+
3107
+ #: wp-live-chat-support/includes/deprecated.php:151
3108
+ #: wp-live-chat-support/includes/deprecated.php:348
3109
+ #: wp-live-chat-support/wp-live-chat-support.php:860
3110
+ #: wp-live-chat-support/wp-live-chat-support.php:2378
3111
+ #: wp-live-chat-support/wp-live-chat-support.php:3898
3112
+ #: wp-live-chat-support/wp-live-chat-support.php:5936
3113
+ msgid "Questions?"
3114
+ msgstr "Въпроси?"
3115
+
3116
+ #: wp-live-chat-support/includes/deprecated.php:151
3117
+ #: wp-live-chat-support/includes/deprecated.php:348
3118
+ #: wp-live-chat-support/wp-live-chat-support.php:861
3119
+ #: wp-live-chat-support/wp-live-chat-support.php:2379
3120
+ #: wp-live-chat-support/wp-live-chat-support.php:3899
3121
+ #: wp-live-chat-support/wp-live-chat-support.php:5937
3122
+ msgid "Chat with us"
3123
+ msgstr "Пиши ни"
3124
+
3125
+ #: wp-live-chat-support/includes/deprecated.php:158
3126
+ #: wp-live-chat-support/includes/deprecated.php:355
3127
+ msgid "Start Live Chat"
3128
+ msgstr "Започни Live Chat"
3129
+
3130
+ #: wp-live-chat-support/includes/deprecated.php:210
3131
+ #: wp-live-chat-support/includes/deprecated.php:410
3132
+ #: wp-live-chat-support/wp-live-chat-support.php:863
3133
+ #: wp-live-chat-support/wp-live-chat-support.php:3901
3134
+ #: wp-live-chat-support/wp-live-chat-support.php:5939
3135
+ msgid "Start Chat"
3136
+ msgstr "Започни чат"
3137
+
3138
+ #: wp-live-chat-support/includes/deprecated.php:213
3139
+ #: wp-live-chat-support/includes/deprecated.php:413
3140
+ msgid "Connecting you to a sales person. Please be patient."
3141
+ msgstr "Свързване с продавач консултант. Моля изчакайте."
3142
+
3143
+ #: wp-live-chat-support/includes/deprecated.php:216
3144
+ #: wp-live-chat-support/includes/deprecated.php:416
3145
+ #: wp-live-chat-support/wp-live-chat-support.php:867
3146
+ #: wp-live-chat-support/wp-live-chat-support.php:2593
3147
+ #: wp-live-chat-support/wp-live-chat-support.php:2646
3148
+ #: wp-live-chat-support/wp-live-chat-support.php:3905
3149
+ #: wp-live-chat-support/wp-live-chat-support.php:5943
3150
+ msgid "Reactivating your previous chat..."
3151
+ msgstr "Ре-активиране на предишен чат..."
3152
+
3153
+ #: wp-live-chat-support/includes/deprecated.php:221
3154
+ #: wp-live-chat-support/includes/deprecated.php:421
3155
+ #: wp-live-chat-support/wp-live-chat-support.php:870
3156
+ #: wp-live-chat-support/wp-live-chat-support.php:3615
3157
+ #: wp-live-chat-support/wp-live-chat-support.php:3913
3158
+ #: wp-live-chat-support/wp-live-chat-support.php:5946
3159
+ msgid "Press ENTER to send your message"
3160
+ msgstr "Натиснете ENTER, за да изпратите съобщение"
3161
+
3162
+ #: wp-live-chat-support/includes/deprecated.php:225
3163
+ #: wp-live-chat-support/includes/deprecated.php:425
3164
+ #: wp-live-chat-support/wp-live-chat-support.php:2347
3165
+ #: wp-live-chat-support/wp-live-chat-support.php:3632
3166
+ msgid "Send"
3167
+ msgstr "Изпрати"
3168
+
3169
+ #: wp-live-chat-support/includes/modal_control.php:24
3170
+ #: wp-live-chat-support/modules/node_server.php:1197
3171
+ msgid "Please Confirm"
3172
+ msgstr "Моля, потвърдете"
3173
+
3174
+ #: wp-live-chat-support/includes/modal_control.php:28
3175
+ msgid "Are you sure?"
3176
+ msgstr "Сигурни ли сте?"
3177
+
3178
+ #: wp-live-chat-support/includes/modal_control.php:37
3179
+ #: wp-live-chat-support/modules/node_server.php:1198
3180
+ #: wp-live-chat-support/modules/webhooks_manager.php:331
3181
+ msgid "Confirm"
3182
+ msgstr "Потвърждавам"
3183
+
3184
+ #: wp-live-chat-support/includes/notification_control.php:29
3185
+ #: wp-live-chat-support/modules/node_server_deprecated.php:70
3186
+ #, php-format
3187
+ msgid "User is browsing <small><a href='%s' target='_BLANK'>%s</a></small>"
3188
+ msgstr ""
3189
+ "Потребителя разглежда <small><a href='%s' target='_BLANK'>%s</a></small>"
3190
+
3191
+ #: wp-live-chat-support/includes/notification_control.php:133
3192
+ #: wp-live-chat-support/modules/node_server_deprecated.php:81
3193
+ msgid "has joined the chat."
3194
+ msgstr "се присъедини към чата."
3195
+
3196
+ #: wp-live-chat-support/includes/settings_page.php:114
3197
+ #: wp-live-chat-support/modules/node_server.php:1203
3198
+ msgid "Agents"
3199
+ msgstr "Оператори"
3200
+
3201
+ #: wp-live-chat-support/includes/settings_page.php:171
3202
+ msgid "Name and email"
3203
+ msgstr "Име и е-майл"
3204
+
3205
+ #: wp-live-chat-support/includes/settings_page.php:231
3206
+ msgid "Play a sound when there is a new visitor"
3207
+ msgstr "Възпроизвеждане на звук при появата на нов посетител"
3208
+
3209
+ #: wp-live-chat-support/includes/settings_page.php:231
3210
+ msgid ""
3211
+ "Disable this to mute the sound that is played when a new visitor arrives"
3212
+ msgstr "Деактивирай това, за да заглушиш звука при появата на нов посетител"
3213
+
3214
+ #: wp-live-chat-support/includes/settings_page.php:249
3215
+ msgid "Enable Font Awesome set"
3216
+ msgstr "Активирай Font Awesome set"
3217
+
3218
+ #: wp-live-chat-support/includes/settings_page.php:249
3219
+ msgid "Disable this if you have Font Awesome set included with your theme"
3220
+ msgstr "Деактивирай това ако имаш Font Awesome set включен като част от темата"
3221
+
3222
+ #: wp-live-chat-support/includes/settings_page.php:257
3223
+ msgid "Enable chat dashboard and notifications on all admin pages"
3224
+ msgstr ""
3225
+ "Активирайте таблото за управление и известията за чат на всички "
3226
+ "административни страници"
3227
+
3228
+ #: wp-live-chat-support/includes/settings_page.php:257
3229
+ msgid "This will load the chat dashboard on every admin page."
3230
+ msgstr ""
3231
+ "Това ще зареди таблото за управление на чата на всяка страница на "
3232
+ "администратора."
3233
+
3234
+ #: wp-live-chat-support/includes/settings_page.php:268
3235
+ msgid "Include chat window on the following pages"
3236
+ msgstr "Включи чат прозореца на следните страници"
3237
+
3238
+ #: wp-live-chat-support/includes/settings_page.php:274
3239
+ #: wp-live-chat-support/includes/settings_page.php:289
3240
+ #: wp-live-chat-support/includes/settings_page.php:305
3241
+ #: wp-live-chat-support/includes/settings_page.php:354
3242
+ #: wp-live-chat-support/includes/settings_page.php:371
3243
+ #: wp-live-chat-support/includes/settings_page.php:387
3244
+ #: wp-live-chat-support/includes/settings_page.php:403
3245
+ #: wp-live-chat-support/includes/settings_page.php:419
3246
+ #: wp-live-chat-support/includes/settings_page.php:435
3247
+ #: wp-live-chat-support/includes/settings_page.php:452
3248
+ #: wp-live-chat-support/includes/settings_page.php:549
3249
+ #: wp-live-chat-support/includes/settings_page.php:562
3250
+ msgid "available in the"
3251
+ msgstr "достъпно в"
3252
+
3253
+ #: wp-live-chat-support/includes/settings_page.php:275
3254
+ #: wp-live-chat-support/includes/settings_page.php:290
3255
+ #: wp-live-chat-support/includes/settings_page.php:306
3256
+ #: wp-live-chat-support/includes/settings_page.php:355
3257
+ #: wp-live-chat-support/includes/settings_page.php:372
3258
+ #: wp-live-chat-support/includes/settings_page.php:388
3259
+ #: wp-live-chat-support/includes/settings_page.php:404
3260
+ #: wp-live-chat-support/includes/settings_page.php:420
3261
+ #: wp-live-chat-support/includes/settings_page.php:436
3262
+ #: wp-live-chat-support/includes/settings_page.php:453
3263
+ #: wp-live-chat-support/includes/settings_page.php:550
3264
+ #: wp-live-chat-support/includes/settings_page.php:563
3265
+ #: wp-live-chat-support/wp-live-chat-support.php:4607
3266
+ #: wp-live-chat-support/wp-live-chat-support.php:5590
3267
+ #: wp-live-chat-support/wp-live-chat-support.php:5644
3268
+ msgid "Pro Add-on"
3269
+ msgstr "Pro Add-on"
3270
+
3271
+ #: wp-live-chat-support/includes/settings_page.php:276
3272
+ #: wp-live-chat-support/includes/settings_page.php:291
3273
+ #: wp-live-chat-support/includes/settings_page.php:307
3274
+ #: wp-live-chat-support/includes/settings_page.php:356
3275
+ #: wp-live-chat-support/includes/settings_page.php:373
3276
+ #: wp-live-chat-support/includes/settings_page.php:389
3277
+ #: wp-live-chat-support/includes/settings_page.php:405
3278
+ #: wp-live-chat-support/includes/settings_page.php:421
3279
+ #: wp-live-chat-support/includes/settings_page.php:437
3280
+ #: wp-live-chat-support/includes/settings_page.php:454
3281
+ #: wp-live-chat-support/includes/settings_page.php:551
3282
+ #: wp-live-chat-support/includes/settings_page.php:564
3283
+ msgid "only"
3284
+ msgstr "само"
3285
+
3286
+ #: wp-live-chat-support/includes/settings_page.php:283
3287
+ msgid "Exclude chat window on the following pages"
3288
+ msgstr "Премахни чат прозореца на следните страници"
3289
+
3290
+ #: wp-live-chat-support/includes/settings_page.php:348
3291
+ msgid "Display a typing animation as soon as someone starts typing."
3292
+ msgstr "Показване на анимация, когато някой започне да пише."
3293
+
3294
+ #: wp-live-chat-support/includes/settings_page.php:449
3295
+ msgid "Alert me via email as soon as someone wants to chat"
3296
+ msgstr "Предупреди ме чрез имейл веднага щом някой иска чат"
3297
+
3298
+ #: wp-live-chat-support/includes/settings_page.php:473
3299
+ msgid "Display details in chat message"
3300
+ msgstr "Покажи детайли в чат съобщението"
3301
+
3302
+ #: wp-live-chat-support/includes/settings_page.php:477
3303
+ msgid "Show Name"
3304
+ msgstr "Покажи име"
3305
+
3306
+ #: wp-live-chat-support/includes/settings_page.php:479
3307
+ msgid "Show Avatar"
3308
+ msgstr "Покажи аватар"
3309
+
3310
+ #: wp-live-chat-support/includes/settings_page.php:496
3311
+ msgid "Display a timestamp in the chat window"
3312
+ msgstr "Показване на времеви отпечатък в чат прозореца"
3313
+
3314
+ #: wp-live-chat-support/includes/settings_page.php:500
3315
+ msgid "Show Date"
3316
+ msgstr "Покажи дата"
3317
+
3318
+ #: wp-live-chat-support/includes/settings_page.php:502
3319
+ msgid "Show Time"
3320
+ msgstr "Покажи време"
3321
+
3322
+ #: wp-live-chat-support/includes/settings_page.php:507
3323
+ msgid "Redirect user to thank you page when chat is ended"
3324
+ msgstr ""
3325
+ "Пренасочете потребителя към страницата за благодарности, когато приключи чата"
3326
+
3327
+ #: wp-live-chat-support/includes/settings_page.php:507
3328
+ msgid ""
3329
+ "By checking this, users will be redirected to your thank you page when a "
3330
+ "chat is completed."
3331
+ msgstr ""
3332
+ "С поставянето на тази отметка потребителите ще бъдат пренасочени към "
3333
+ "страницата ви за благодарност, когато приключи чата."
3334
+
3335
+ #: wp-live-chat-support/includes/settings_page.php:511
3336
+ msgid "Thank You Page URL"
3337
+ msgstr "URL на страницата за благодарности"
3338
+
3339
+ #: wp-live-chat-support/includes/settings_page.php:521
3340
+ msgid "Disable Emojis"
3341
+ msgstr "Деактивирай емотиконите"
3342
+
3343
+ #: wp-live-chat-support/includes/settings_page.php:624
3344
+ msgid "Custom fields"
3345
+ msgstr "Персонализирани полета"
3346
+
3347
+ #: wp-live-chat-support/includes/settings_page.php:632
3348
+ msgid "Email settings"
3349
+ msgstr "Е-майл настройки"
3350
+
3351
+ #: wp-live-chat-support/includes/settings_page.php:648
3352
+ msgid "Subject"
3353
+ msgstr "Предмет на съобщението"
3354
+
3355
+ #: wp-live-chat-support/includes/settings_page.php:648
3356
+ msgid "User name will be appended to the end of the subject."
3357
+ msgstr "Потребителското име ще бъде добавено в края 'Предмет на съобщението'."
3358
+
3359
+ #: wp-live-chat-support/includes/settings_page.php:786
3360
+ #: wp-live-chat-support/includes/settings_page.php:787
3361
+ msgid "Classic"
3362
+ msgstr "Класически"
3363
+
3364
+ #: wp-live-chat-support/includes/settings_page.php:790
3365
+ #: wp-live-chat-support/includes/settings_page.php:791
3366
+ msgid "Modern"
3367
+ msgstr "Модерен"
3368
+
3369
+ #: wp-live-chat-support/includes/settings_page.php:807
3370
+ msgid "Color Scheme"
3371
+ msgstr "Цветова Схема"
3372
+
3373
+ #: wp-live-chat-support/includes/settings_page.php:862
3374
+ msgid "Choose"
3375
+ msgstr "Избери"
3376
+
3377
+ #: wp-live-chat-support/includes/settings_page.php:863
3378
+ msgid "Your"
3379
+ msgstr "Твой"
3380
+
3381
+ #: wp-live-chat-support/includes/settings_page.php:864
3382
+ msgid "Colors"
3383
+ msgstr "Цвят"
3384
+
3385
+ #: wp-live-chat-support/includes/settings_page.php:865
3386
+ msgid "Below"
3387
+ msgstr "По-долу"
3388
+
3389
+ #: wp-live-chat-support/includes/settings_page.php:884
3390
+ msgid "Chat background"
3391
+ msgstr "Фон на чата"
3392
+
3393
+ #: wp-live-chat-support/includes/settings_page.php:888
3394
+ msgid "Cloudy"
3395
+ msgstr "Замъглено"
3396
+
3397
+ #: wp-live-chat-support/includes/settings_page.php:889
3398
+ msgid "Geometry"
3399
+ msgstr "Геометрично"
3400
+
3401
+ #: wp-live-chat-support/includes/settings_page.php:890
3402
+ msgid "Tech"
3403
+ msgstr "Технологично"
3404
+
3405
+ #: wp-live-chat-support/includes/settings_page.php:897
3406
+ msgid "Palette Color 1"
3407
+ msgstr "Палитра 1"
3408
+
3409
+ #: wp-live-chat-support/includes/settings_page.php:903
3410
+ msgid "Palette Color 2"
3411
+ msgstr "Палитра 2"
3412
+
3413
+ #: wp-live-chat-support/includes/settings_page.php:909
3414
+ msgid "Palette Color 3"
3415
+ msgstr "Палитра 3"
3416
+
3417
+ #: wp-live-chat-support/includes/settings_page.php:915
3418
+ msgid "Palette Color 4"
3419
+ msgstr "Палитра 4"
3420
+
3421
+ #: wp-live-chat-support/includes/settings_page.php:925
3422
+ #, php-format
3423
+ msgid ""
3424
+ "Enable this if you are using a localization plugin. Should you wish to "
3425
+ "change the below strings with this option enabled, please visit the "
3426
+ "documentation %s"
3427
+ msgstr ""
3428
+ "Активирай ако използваш плъгин за локализация. Ако желаеш да промениш "
3429
+ "връзките, когато тази опция е активна, моля, разгледай следната документация "
3430
+ "%s"
3431
+
3432
+ #: wp-live-chat-support/includes/settings_page.php:967
3433
+ msgid "Welcome message"
3434
+ msgstr "Приветствие"
3435
+
3436
+ #: wp-live-chat-support/includes/settings_page.php:969
3437
+ msgid ""
3438
+ "This text is shown as soon as a user starts a chat and waits for an agent to "
3439
+ "join"
3440
+ msgstr ""
3441
+ "Това съобщение ще бъде показано, в момента когато потребител започне чат и "
3442
+ "изчаква включването на оператор"
3443
+
3444
+ #: wp-live-chat-support/includes/settings_page.php:973
3445
+ msgid "No answer"
3446
+ msgstr "Няма отговор"
3447
+
3448
+ #: wp-live-chat-support/includes/settings_page.php:975
3449
+ #: wp-live-chat-support/wp-live-chat-support.php:4901
3450
+ msgid "There is No Answer. Please Try Again Later."
3451
+ msgstr "Няма отговор. Моля, опитайте отново по-късно."
3452
+
3453
+ #: wp-live-chat-support/includes/settings_page.php:975
3454
+ msgid ""
3455
+ "This text is shown to the user when an agent has failed to answer a chat "
3456
+ msgstr ""
3457
+ "Този текст се показва на потребителя, когато оператор не е успял да отговори "
3458
+ "на чата "
3459
+
3460
+ #: wp-live-chat-support/includes/settings_page.php:982
3461
+ #: wp-live-chat-support/wp-live-chat-support.php:1426
3462
+ #: wp-live-chat-support/wp-live-chat-support.php:3914
3463
+ msgid "The chat has been ended by the operator."
3464
+ msgstr "Чатът е приключен от оператора."
3465
+
3466
+ #: wp-live-chat-support/includes/surveys.php:8
3467
+ #: wp-live-chat-support/includes/surveys.php:20
3468
+ #: wp-live-chat-support/includes/surveys.php:351
3469
+ msgid "Surveys & Lead Forms"
3470
+ msgstr "Проучвания & форми"
3471
+
3472
+ #: wp-live-chat-support/includes/surveys.php:23
3473
+ msgid "Enable Surveys & Lead Forms"
3474
+ msgstr "Активирай проучвания & анкети"
3475
+
3476
+ #: wp-live-chat-support/includes/surveys.php:23
3477
+ msgid ""
3478
+ "Enable surveys and lead forms within your live chat box, either before or "
3479
+ "after a live chat session."
3480
+ msgstr "Активирай проучвания и анкети в чата, преди или след чат сесията."
3481
+
3482
+ #: wp-live-chat-support/includes/surveys.php:29
3483
+ msgid ""
3484
+ "Choosing a survey will reset the lead form selection: the items are "
3485
+ "alternatives, if you select a survey no lead form can be selected."
3486
+ msgstr ""
3487
+ "Изборът на проучване ще анулира отговорите в анкетата: вариантите са "
3488
+ "алтернативи, т.е. не можете едновременно да попълните и двете."
3489
+
3490
+ #: wp-live-chat-support/includes/surveys.php:32
3491
+ #, php-format
3492
+ msgid ""
3493
+ "No surveys created. Please <a href=\"%s\" target=\"_BLANK\" title="
3494
+ "\"NimbleSquirrel\">create a survey and then refresh this page.</a>"
3495
+ msgstr ""
3496
+ "Няма създадени проучвания. Моля <a href=\"%s\" target=\"_BLANK\" title="
3497
+ "\"NimbleSquirrel\">създай проучване и презареди страницата.</a>"
3498
+
3499
+ #: wp-live-chat-support/includes/surveys.php:39
3500
+ msgid "Select a survey"
3501
+ msgstr "Избор на проучване"
3502
+
3503
+ #: wp-live-chat-support/includes/surveys.php:65
3504
+ msgid ""
3505
+ "Choosing a lead form will reset the survey selection: the items are "
3506
+ "alternatives, if you select a lead form no survey can be selected."
3507
+ msgstr ""
3508
+ "Избора на анкета ще анулира отговорите в проучването: вариантите са "
3509
+ "алтернативи, т.е. не можете едновременно да попълните и двете."
3510
+
3511
+ #: wp-live-chat-support/includes/surveys.php:68
3512
+ #, php-format
3513
+ msgid ""
3514
+ "No lead forms created. Please <a href=\"%s\" target=\"_BLANK\" title="
3515
+ "\"NimbleSquirrel\">create a lead form and then refresh this page.</a>"
3516
+ msgstr ""
3517
+ "Няма създадени анкети. Моля <a href=\"%s\" target=\"_BLANK\" title="
3518
+ "\"NimbleSquirrel\">създай анкета и презареди страницата.</a>"
3519
+
3520
+ #: wp-live-chat-support/includes/surveys.php:75
3521
+ msgid "Select a lead form"
3522
+ msgstr "Избери анкета"
3523
+
3524
+ #: wp-live-chat-support/includes/surveys.php:97
3525
+ msgid "Display survey/form"
3526
+ msgstr "Покажи анкета/проучване"
3527
+
3528
+ #: wp-live-chat-support/includes/surveys.php:100
3529
+ msgid "Before chat"
3530
+ msgstr "Преди чат"
3531
+
3532
+ #: wp-live-chat-support/includes/surveys.php:101
3533
+ msgid "After chat"
3534
+ msgstr "След чат"
3535
+
3536
+ #: wp-live-chat-support/includes/surveys.php:106
3537
+ msgid "Chat button text"
3538
+ msgstr "Текст за чат бутона"
3539
+
3540
+ #: wp-live-chat-support/includes/surveys.php:112
3541
+ msgid "Change title of chat box when chat ended to"
3542
+ msgstr "Смени името на chat box-а след края на чата на"
3543
+
3544
+ #: wp-live-chat-support/includes/surveys.php:307
3545
+ #: wp-live-chat-support/wp-live-chat-support.php:864
3546
+ #: wp-live-chat-support/wp-live-chat-support.php:3902
3547
+ #: wp-live-chat-support/wp-live-chat-support.php:5940
3548
+ msgid "Or chat to an agent now"
3549
+ msgstr "Или разговаряй с оператор сега"
3550
+
3551
+ #: wp-live-chat-support/includes/surveys.php:312
3552
+ #: wp-live-chat-support/wp-live-chat-support.php:858
3553
+ #: wp-live-chat-support/wp-live-chat-support.php:3911
3554
+ #: wp-live-chat-support/wp-live-chat-support.php:5934
3555
+ msgid "Leave a message"
3556
+ msgstr "Остави съобщение"
3557
+
3558
+ #: wp-live-chat-support/includes/surveys.php:346
3559
+ msgid "WP Live Chat Surveys & Lead Forms with Nimble Squirrel"
3560
+ msgstr "WP Live Chat проучвания и анкети с Nimble Squirrel"
3561
+
3562
+ #: wp-live-chat-support/includes/surveys.php:352
3563
+ msgid ""
3564
+ "To view your responses, click the button below and log in to your "
3565
+ "NimbleSquirrel account."
3566
+ msgstr ""
3567
+ "За преглед на отговорите, натисни бутона по-долу и влез профила ти в "
3568
+ "NimbleSquirrel."
3569
+
3570
+ #: wp-live-chat-support/includes/surveys.php:355
3571
+ msgid ""
3572
+ "Need help? <a href='https://wp-livechat.com/contact-us/' "
3573
+ "target='_BLANK'>Contact us</a> and we'll get back to you as soon as possible!"
3574
+ msgstr ""
3575
+ "Нужда от помощ? <a href='https://wp-livechat.com/contact-us/' "
3576
+ "target='_BLANK'>Пишете ни</a> и ние ще се свържем с Вас възможно най-скоро!"
3577
+
3578
+ #: wp-live-chat-support/includes/surveys.php:365
3579
+ #, php-format
3580
+ msgid ""
3581
+ "Register on <a href=\"%s\" target=\"_BLANK\" title=\"NimbleSquirrel"
3582
+ "\">NimbleSquirrel</a>"
3583
+ msgstr ""
3584
+ "Регистрирай се на <a href=\"%s\" target=\"_BLANK\" title=\"NimbleSquirrel"
3585
+ "\">NimbleSquirrel</a>"
3586
+
3587
+ #: wp-live-chat-support/includes/surveys.php:368
3588
+ #, php-format
3589
+ msgid ""
3590
+ "<a href=\"%s\" target=\"_BLANK\" title=\"Create a survey\">Create a survey</"
3591
+ "a>."
3592
+ msgstr ""
3593
+ "<a href=\"%s\" target=\"_BLANK\" title=\"Create a survey\">Създай проучване</"
3594
+ "a>."
3595
+
3596
+ #: wp-live-chat-support/includes/surveys.php:375
3597
+ msgid "Add a Survey to your live chat box"
3598
+ msgstr "Добави проучване в чат прозореца"
3599
+
3600
+ #: wp-live-chat-support/includes/surveys.php:376
3601
+ msgid "Three simple steps:"
3602
+ msgstr "Три прости стъпки:"
3603
+
3604
+ #: wp-live-chat-support/includes/surveys.php:380
3605
+ msgid ""
3606
+ "Enable surveys in your live chat <a href='admin.php?page=wplivechat-menu-"
3607
+ "settings#tabs-survey'>settings page</a>."
3608
+ msgstr ""
3609
+ "Активирай проучвания в чат<a href='admin.php?page=wplivechat-menu-"
3610
+ "settings'>настройките</a>."
3611
+
3612
+ #: wp-live-chat-support/includes/welcome_page.php:4
3613
+ msgid "Welcome to WP Live Chat Support v8"
3614
+ msgstr "Добре дошли в WP Live Chat Support v8"
3615
+
3616
+ #: wp-live-chat-support/includes/welcome_page.php:6
3617
+ msgid ""
3618
+ "WP Live Chat Support is the most cost effective, feature rich, amazingly "
3619
+ "supported and most positively reviewed live chat plugin on WordPress!"
3620
+ msgstr ""
3621
+ "WP Live Chat Support е най-рентабилния, с богат асортимент, изключително "
3622
+ "добре поддържан и най-позитивно рецензиран плъгин за онлайн чат в WordPress!"
3623
+
3624
+ #: wp-live-chat-support/includes/welcome_page.php:8
3625
+ msgid "Skip intro and start accepting chats"
3626
+ msgstr "Пропусни въведението и започни да приемаш чатове"
3627
+
3628
+ #: wp-live-chat-support/includes/welcome_page.php:28
3629
+ msgid "Welcome"
3630
+ msgstr "Добре дошли"
3631
+
3632
+ #: wp-live-chat-support/includes/welcome_page.php:29
3633
+ msgid "Credits"
3634
+ msgstr "Кредити"
3635
+
3636
+ #: wp-live-chat-support/includes/welcome_page.php:37
3637
+ msgid "Incredibly fast server"
3638
+ msgstr "Невероятно бърз сървър"
3639
+
3640
+ #: wp-live-chat-support/includes/welcome_page.php:39
3641
+ msgid "Use our server to handle the load and save 1000%+ on server resources!"
3642
+ msgstr ""
3643
+ "Използвайте нашия сървър, за да се справите с товара и да спестите 1000% + "
3644
+ "на сървърните ресурси!"
3645
+
3646
+ #: wp-live-chat-support/includes/welcome_page.php:42
3647
+ msgid "New Dashboard"
3648
+ msgstr "Чат Табло"
3649
+
3650
+ #: wp-live-chat-support/includes/welcome_page.php:43
3651
+ msgid "Handle all your chats in one area, on any admin page."
3652
+ msgstr ""
3653
+ "Обработвайте всичките си чатове на едно място, на административната страница."
3654
+
3655
+ #: wp-live-chat-support/includes/welcome_page.php:46
3656
+ msgid "Emojis!"
3657
+ msgstr "Емотикони!"
3658
+
3659
+ #: wp-live-chat-support/includes/welcome_page.php:47
3660
+ msgid "Add a touch of your own personality with emojis!"
3661
+ msgstr "Добави част от характера си с емотикони!"
3662
+
3663
+ #: wp-live-chat-support/includes/welcome_page.php:54
3664
+ msgid "Typing Preview"
3665
+ msgstr "Преглег"
3666
+
3667
+ #: wp-live-chat-support/includes/welcome_page.php:56
3668
+ msgid "See what your customers are typing before they even send it!"
3669
+ msgstr "Виж какво пишат потребителите ти преди да го изпратят!"
3670
+
3671
+ #: wp-live-chat-support/includes/welcome_page.php:59
3672
+ msgid "Multiple Agents Per Chat"
3673
+ msgstr "Повече от един оператори за чат"
3674
+
3675
+ #: wp-live-chat-support/includes/welcome_page.php:61
3676
+ msgid "More than one agent can join and be involved in a chat."
3677
+ msgstr "Повече от един оператора могат да се присъединят и да участват в чат."
3678
+
3679
+ #: wp-live-chat-support/includes/welcome_page.php:64
3680
+ msgid "Agent to Agent Chat"
3681
+ msgstr "Оператор към оператор чат"
3682
+
3683
+ #: wp-live-chat-support/includes/welcome_page.php:66
3684
+ msgid "Chat directly to other agents on our new dashboard."
3685
+ msgstr "Разговаряй директно с друг оператор на нашето ново табло."
3686
+
3687
+ #: wp-live-chat-support/includes/welcome_page.php:71
3688
+ msgid "Edit Messages"
3689
+ msgstr "Редактирай съобщения"
3690
+
3691
+ #: wp-live-chat-support/includes/welcome_page.php:73
3692
+ msgid ""
3693
+ "Simply press the UP arrow or use the EDIT link to edit a message that you "
3694
+ "have already sent."
3695
+ msgstr ""
3696
+ "Просто натисни стрелката за нагоре или използвай линка за редакция, за да "
3697
+ "коригираш съобщение, което вече е било изпратено."
3698
+
3699
+ #: wp-live-chat-support/includes/welcome_page.php:76
3700
+ msgid "Event Monitoring"
3701
+ msgstr "Наблюдение на събитията"
3702
+
3703
+ #: wp-live-chat-support/includes/welcome_page.php:78
3704
+ msgid "Know exactly what the user is doing in real time."
3705
+ msgstr "Научи точно какво правят потребителите ти в реално време."
3706
+
3707
+ #: wp-live-chat-support/includes/welcome_page.php:81
3708
+ msgid "iOS app"
3709
+ msgstr "iOS апликация"
3710
+
3711
+ #: wp-live-chat-support/includes/welcome_page.php:83
3712
+ msgid "The new iOS app is finally here!"
3713
+ msgstr "Новата iOS апликация е вече тук!"
3714
+
3715
+ #: wp-live-chat-support/includes/welcome_page.php:91
3716
+ msgid "How did you find us?"
3717
+ msgstr "Как ни открихте?"
3718
+
3719
+ #: wp-live-chat-support/includes/welcome_page.php:96
3720
+ msgid "WordPress.org plugin repository "
3721
+ msgstr "WordPress.org плъгин хранилище "
3722
+
3723
+ #: wp-live-chat-support/includes/welcome_page.php:99
3724
+ msgid "Search Term"
3725
+ msgstr "Ключова дума"
3726
+
3727
+ #: wp-live-chat-support/includes/welcome_page.php:103
3728
+ msgid "Google or other search Engine"
3729
+ msgstr "Google или друга търсачка"
3730
+
3731
+ #: wp-live-chat-support/includes/welcome_page.php:109
3732
+ msgid "Friend recommendation"
3733
+ msgstr "Препоръка от приятел"
3734
+
3735
+ #: wp-live-chat-support/includes/welcome_page.php:115
3736
+ msgid "Other"
3737
+ msgstr "Друго"
3738
+
3739
+ #: wp-live-chat-support/includes/welcome_page.php:119
3740
+ msgid "Please Explain"
3741
+ msgstr "Моля, обяснете"
3742
+
3743
+ #: wp-live-chat-support/includes/welcome_page.php:128
3744
+ msgid "Submit"
3745
+ msgstr "Изпрати"
3746
+
3747
+ #: wp-live-chat-support/includes/welcome_page.php:128
3748
+ msgid "Skip"
3749
+ msgstr "Пропусни"
3750
+
3751
+ #: wp-live-chat-support/includes/welcome_page.php:137
3752
+ msgid "New to WP Live Chat Support?"
3753
+ msgstr "Нов в WP Live Chat Support?"
3754
+
3755
+ #: wp-live-chat-support/includes/welcome_page.php:138
3756
+ msgid "You may want to"
3757
+ msgstr "Може би, бихте искали да"
3758
+
3759
+ #: wp-live-chat-support/includes/welcome_page.php:138
3760
+ msgid "review our documentation"
3761
+ msgstr "прегледайте нашата документация"
3762
+
3763
+ #: wp-live-chat-support/includes/welcome_page.php:138
3764
+ msgid ""
3765
+ "before you get started. If you're a tech-savvy individual, you may skip this "
3766
+ "step."
3767
+ msgstr ""
3768
+ "преди да започнете. Ако сте технически грамотни физическо лице, можете да "
3769
+ "пропуснете тази стъпка."
3770
+
3771
+ #: wp-live-chat-support/includes/welcome_page.php:141
3772
+ msgid "Help me!"
3773
+ msgstr "Помогни ми!"
3774
+
3775
+ #: wp-live-chat-support/includes/welcome_page.php:142
3776
+ msgid "Visit our"
3777
+ msgstr "Посети нашето"
3778
+
3779
+ #: wp-live-chat-support/includes/welcome_page.php:142
3780
+ msgid "Support Desk"
3781
+ msgstr "Бюро поддръжка"
3782
+
3783
+ #: wp-live-chat-support/includes/welcome_page.php:142
3784
+ msgid "for quick and friendly help. We'll answer your request within 24hours."
3785
+ msgstr "за бърза и приятелска помощ. Ще Ви отговорим в рамките на 24 часа."
3786
+
3787
+ #: wp-live-chat-support/includes/welcome_page.php:145
3788
+ msgid "Feedback"
3789
+ msgstr "Обратна връзка"
3790
+
3791
+ #: wp-live-chat-support/includes/welcome_page.php:146
3792
+ msgid "We need you to help us make this plugin better."
3793
+ msgstr "Нуждаем се от твоята помощ, за да направим този плъгин още по-добър."
3794
+
3795
+ #: wp-live-chat-support/includes/welcome_page.php:146
3796
+ msgid "Send us your feedback"
3797
+ msgstr "Изпратете ни вашето мнение за обратна връзка"
3798
+
3799
+ #: wp-live-chat-support/includes/welcome_page.php:146
3800
+ msgid "and we'll act on it as soon as humanly possible."
3801
+ msgstr "и ще предприемем действия, възможно най-скоро."
3802
+
3803
+ #: wp-live-chat-support/modules/api/wplc-api.php:44
3804
+ #: wp-live-chat-support/modules/api/wplc-api.php:71
3805
+ msgid "REST API"
3806
+ msgstr "REST API"
3807
+
3808
+ #: wp-live-chat-support/modules/api/wplc-api.php:62
3809
+ msgid ""
3810
+ "To make use of the REST API, please ensure you are using a version of "
3811
+ "WordPress with the REST API included."
3812
+ msgstr ""
3813
+ "За да ползвате REST API, моля подсигурете ползване на WordPress версия с "
3814
+ "включен REST API пакет."
3815
+
3816
+ #: wp-live-chat-support/modules/api/wplc-api.php:64
3817
+ msgid ""
3818
+ "Alternatively, please install the official Rest API plugin from WordPress."
3819
+ msgstr ""
3820
+ "Като алтернатива, моля, инсталирайте официалния Rest API плъгин от WordPress."
3821
+
3822
+ #: wp-live-chat-support/modules/api/wplc-api.php:76
3823
+ msgid "Secret Token"
3824
+ msgstr "Ключ за достъп"
3825
+
3826
+ #: wp-live-chat-support/modules/api/wplc-api.php:79
3827
+ msgid "No secret token found"
3828
+ msgstr "Не беше намерен ключ за достъп"
3829
+
3830
+ #: wp-live-chat-support/modules/api/wplc-api.php:80
3831
+ #: wp-live-chat-support/modules/beta_features.php:89
3832
+ msgid "Generate New"
3833
+ msgstr "Генериране на нов"
3834
+
3835
+ #: wp-live-chat-support/modules/api/wplc-api.php:85
3836
+ msgid "Supported API Calls"
3837
+ msgstr "Поддържани API искания"
3838
+
3839
+ #: wp-live-chat-support/modules/api/wplc-api.php:89
3840
+ #: wp-live-chat-support/modules/api/wplc-api.php:97
3841
+ #: wp-live-chat-support/modules/api/wplc-api.php:105
3842
+ #: wp-live-chat-support/modules/api/wplc-api.php:113
3843
+ #: wp-live-chat-support/modules/api/wplc-api.php:121
3844
+ #: wp-live-chat-support/modules/api/wplc-api.php:130
3845
+ msgid "Try"
3846
+ msgstr "Опитай"
3847
+
3848
+ #: wp-live-chat-support/modules/api/wplc-api.php:138
3849
+ msgid "API Response Codes"
3850
+ msgstr "API Response Codes"
3851
+
3852
+ #: wp-live-chat-support/modules/api/wplc-api.php:281
3853
+ msgid "Rest Console "
3854
+ msgstr "REST конзола "
3855
+
3856
+ #: wp-live-chat-support/modules/api/wplc-api.php:288
3857
+ msgid "Try it!"
3858
+ msgstr "Опитай!"
3859
+
3860
+ #: wp-live-chat-support/modules/beta_features.php:14
3861
+ msgid "Advanced Features"
3862
+ msgstr "Разширени настройки"
3863
+
3864
+ #: wp-live-chat-support/modules/beta_features.php:33
3865
+ msgid "No token found"
3866
+ msgstr "Не беше намерен ключ за достъп"
3867
+
3868
+ #: wp-live-chat-support/modules/beta_features.php:49
3869
+ msgid "Chat Server"
3870
+ msgstr "Чат сървър"
3871
+
3872
+ #: wp-live-chat-support/modules/beta_features.php:58
3873
+ msgid "Use our server to handle chats"
3874
+ msgstr "Използвайте наш сървър за чат услугата"
3875
+
3876
+ #: wp-live-chat-support/modules/beta_features.php:58
3877
+ msgid ""
3878
+ "Disabling this will result in the plugin reverting back to using the legacy "
3879
+ "chat dashboard."
3880
+ msgstr ""
3881
+ "Деактивирането му ще доведе до връщане на плъгина към използването на "
3882
+ "старото таблото за управление на чата."
3883
+
3884
+ #: wp-live-chat-support/modules/beta_features.php:62
3885
+ msgid ""
3886
+ "Disabling this will revert the chat dashboard back to the legacy version."
3887
+ msgstr ""
3888
+ "Деактивирането на това ще върне таблото за управление на чата обратно към "
3889
+ "старата версия."
3890
+
3891
+ #: wp-live-chat-support/modules/beta_features.php:67
3892
+ msgid "Server location"
3893
+ msgstr "Местоположение на сървъра"
3894
+
3895
+ #: wp-live-chat-support/modules/beta_features.php:67
3896
+ msgid "Select a server location that is near to you."
3897
+ msgstr "Избери местоположение на сървъра близо до теб."
3898
+
3899
+ #: wp-live-chat-support/modules/beta_features.php:72
3900
+ msgid "Automatic (suggested)"
3901
+ msgstr "Автоматично (препоръчително)"
3902
+
3903
+ #: wp-live-chat-support/modules/beta_features.php:73
3904
+ #: wp-live-chat-support/modules/beta_features.php:74
3905
+ #, php-format
3906
+ msgid "United States - %s"
3907
+ msgstr "САЩ - %s"
3908
+
3909
+ #: wp-live-chat-support/modules/beta_features.php:77
3910
+ #: wp-live-chat-support/modules/beta_features.php:78
3911
+ #, php-format
3912
+ msgid "Europe - %s"
3913
+ msgstr "Европа - %s"
3914
+
3915
+ #: wp-live-chat-support/modules/beta_features.php:85
3916
+ msgid "Chat server token"
3917
+ msgstr "Ключ за достъп към чата"
3918
+
3919
+ #: wp-live-chat-support/modules/beta_features.php:85
3920
+ msgid ""
3921
+ "Security token for accessing chats on the node server. Changing this will "
3922
+ "remove current chats"
3923
+ msgstr ""
3924
+ "Защитен токен за достъп до разговори на сървъра на възела. Смяната на това "
3925
+ "ще премахне текущите разговори"
3926
+
3927
+ #: wp-live-chat-support/modules/beta_features.php:90
3928
+ msgid "Copy"
3929
+ msgstr "Копирай"
3930
+
3931
+ #: wp-live-chat-support/modules/beta_features.php:95
3932
+ msgid "Server end point override"
3933
+ msgstr "Замяна на крайната точка на сървъра"
3934
+
3935
+ #: wp-live-chat-support/modules/beta_features.php:95
3936
+ msgid ""
3937
+ "Do not change this unless advised to do so by a WP Live Chat Support "
3938
+ "representative"
3939
+ msgstr ""
3940
+ "Не променяйте това, освен ако не бъдете посъветвани да направите това от "
3941
+ "представител на WP Live Chat Support"
3942
+
3943
+ #: wp-live-chat-support/modules/beta_features.php:98
3944
+ msgid "Leave empty unless advised by a WP Live Chat Support representative"
3945
+ msgstr ""
3946
+ "Оставете празно, освен ако не е препоръчано от представител на WP Live Chat "
3947
+ "Support"
3948
+
3949
+ #: wp-live-chat-support/modules/beta_features.php:104
3950
+ msgid "Limit chat ring amount"
3951
+ msgstr "Ограничи броя на чат сигнализацията"
3952
+
3953
+ #: wp-live-chat-support/modules/beta_features.php:104
3954
+ msgid "Limit the amount of time the new chat ringer will play"
3955
+ msgstr "Ограничи времето, за което сигнала за нов чат ще продължава"
3956
+
3957
+ #: wp-live-chat-support/modules/beta_features.php:113
3958
+ #: wp-live-chat-support/modules/node_server.php:733
3959
+ msgid "Did you know?"
3960
+ msgstr "Знаеше ли че?"
3961
+
3962
+ #: wp-live-chat-support/modules/beta_features.php:113
3963
+ msgid ""
3964
+ "You can copy this node server token to multiple sites in order to manage "
3965
+ "more than one domain from a single chat dashboard"
3966
+ msgstr ""
3967
+ "Можете да копирате този сървър токен на няколко сайта, за да управлявате "
3968
+ "повече от един домейна от едно табло за управление"
3969
+
3970
+ #: wp-live-chat-support/modules/beta_features.php:167
3971
+ msgid "End Chat"
3972
+ msgstr "Затвори чата"
3973
+
3974
+ #: wp-live-chat-support/modules/documentation_suggestions.php:36
3975
+ #, php-format
3976
+ msgid ""
3977
+ "Upgrade to the <a href='%s' taget='_BLANK'>pro version</a> to automatically "
3978
+ "suggest relevant documentation pages on your own site while users are "
3979
+ "waiting for the agent to join the chat. As soon as the user sends a message, "
3980
+ "the system will locate relevant documents on your website and provide links "
3981
+ "to the user."
3982
+ msgstr ""
3983
+ "Надстройте до <a href='%s' taget='_BLANK'>pro версията </a>, за да "
3984
+ "предлагате автоматично съответните страници на документацията на собствения "
3985
+ "си сайт, докато потребителите чакат оператор да се присъедини към чата. "
3986
+ "Веднага след като потребителят изпрати съобщение, системата ще намери "
3987
+ "съответните документи на вашия уебсайт и ще предостави връзки към "
3988
+ "потребителя."
3989
+
3990
+ #: wp-live-chat-support/modules/gdpr.php:33
3991
+ msgid "Enbled GDPR Compliance"
3992
+ msgstr "Активирай съгласие за РЗЛД"
3993
+
3994
+ #: wp-live-chat-support/modules/gdpr.php:33
3995
+ msgid "Disabling will disable all GDPR related options, this is not advised."
3996
+ msgstr ""
3997
+ "Деактивирайки това ще премахнете всички настройки свързани с РЗЛД, това не е "
3998
+ "препоръчително."
3999
+
4000
+ #: wp-live-chat-support/modules/gdpr.php:37
4001
+ msgid "Importance of GDPR Compliance"
4002
+ msgstr "Важността на съгласие за РЗЛД"
4003
+
4004
+ #: wp-live-chat-support/modules/gdpr.php:43
4005
+ msgid "Company Name"
4006
+ msgstr "Име на фирмата"
4007
+
4008
+ #: wp-live-chat-support/modules/gdpr.php:52
4009
+ msgid "Retention Purpose"
4010
+ msgstr "Цел на съхранението"
4011
+
4012
+ #: wp-live-chat-support/modules/gdpr.php:55
4013
+ #: wp-live-chat-support/modules/gdpr.php:373
4014
+ msgid "Chat/Support"
4015
+ msgstr "Чат/Поддръжка"
4016
+
4017
+ #: wp-live-chat-support/modules/gdpr.php:61
4018
+ msgid "Retention Period"
4019
+ msgstr "Период на съхранението"
4020
+
4021
+ #: wp-live-chat-support/modules/gdpr.php:64
4022
+ msgid "days"
4023
+ msgstr "дни"
4024
+
4025
+ #: wp-live-chat-support/modules/gdpr.php:70
4026
+ msgid "Next Check"
4027
+ msgstr "Следваща проверка"
4028
+
4029
+ #: wp-live-chat-support/modules/gdpr.php:71
4030
+ msgid ""
4031
+ "When the next cron will run to check for data which is older than our "
4032
+ "retention period."
4033
+ msgstr ""
4034
+ "Когато следващият cron ще се изпълни, за да проверите за данни, които са по-"
4035
+ "стари от нашия период на запазване."
4036
+
4037
+ #: wp-live-chat-support/modules/gdpr.php:85
4038
+ msgid "GDPR Notice"
4039
+ msgstr "Известие за РЗЛД"
4040
+
4041
+ #: wp-live-chat-support/modules/gdpr.php:86
4042
+ msgid ""
4043
+ "Users will be asked to accept the notice shown here, in the form of a check "
4044
+ "box."
4045
+ msgstr ""
4046
+ "Потребителите ще бъдат помолени да приемат известието, показано тук, под "
4047
+ "формата на квадратче за отметка."
4048
+
4049
+ #: wp-live-chat-support/modules/gdpr.php:137
4050
+ msgid "GDPR"
4051
+ msgstr "РЗЛД"
4052
+
4053
+ #: wp-live-chat-support/modules/gdpr.php:146
4054
+ msgid "WP Live Chat Support - GDPR"
4055
+ msgstr "WP Live Chat Support - РЗЛД"
4056
+
4057
+ #: wp-live-chat-support/modules/gdpr.php:148
4058
+ msgid ""
4059
+ "Search is performed on chat sessions, messages, and offline messages. Data "
4060
+ "will also be deleted automatically per your retention policy."
4061
+ msgstr ""
4062
+ "Търсенето се извършва в чат сесии, съобщения и офлайн съобщения. Данните "
4063
+ "също ще бъдат изтривани автоматично в съответствие на политиката за "
4064
+ "съхранение."
4065
+
4066
+ #: wp-live-chat-support/modules/gdpr.php:159
4067
+ msgid "Name, Email, Message"
4068
+ msgstr "Име, е-майл, съобщение"
4069
+
4070
+ #: wp-live-chat-support/modules/gdpr.php:163
4071
+ msgid "Search"
4072
+ msgstr "Търсене"
4073
+
4074
+ #: wp-live-chat-support/modules/gdpr.php:176
4075
+ #, php-format
4076
+ msgid "Search Results in %%TABLE%%"
4077
+ msgstr "Търси резултати в %%TABLE%%"
4078
+
4079
+ #: wp-live-chat-support/modules/gdpr.php:202
4080
+ #, php-format
4081
+ msgid "Delete Chat (%%CID%%)"
4082
+ msgstr "Изтрий чат (%%CID%%)"
4083
+
4084
+ #: wp-live-chat-support/modules/gdpr.php:203
4085
+ #, php-format
4086
+ msgid "Download Chat (%%CID%%)"
4087
+ msgstr "Изтегляне на чат (%%CID%%)"
4088
+
4089
+ #: wp-live-chat-support/modules/gdpr.php:228
4090
+ msgid "Please perform a search using the input field above"
4091
+ msgstr "Моля, извършете търсене с помощта на полето за въвеждане по-горе"
4092
+
4093
+ #: wp-live-chat-support/modules/gdpr.php:291
4094
+ msgid "Data Deleted"
4095
+ msgstr "Информацията беше изтрита"
4096
+
4097
+ #: wp-live-chat-support/modules/gdpr.php:371
4098
+ #, php-format
4099
+ msgid ""
4100
+ "I agree for my personal data to be processed and for the use of cookies in "
4101
+ "order to engage in a chat processed by %%COMPANY%%, for the purpose of "
4102
+ "%%PURPOSE%%, for the time of %%PERIOD%% day(s) as per the GDPR."
4103
+ msgstr ""
4104
+ "Давам своето съгласие личните ми данни да бъдат обработвани от %%COMPANY%%, "
4105
+ "с цел подобряване на обслужването, за периода от %%PERIOD%% дни съобразно с "
4106
+ "РЗЛД."
4107
+
4108
+ #: wp-live-chat-support/modules/gdpr.php:392
4109
+ #: wp-live-chat-support/modules/gdpr.php:672
4110
+ #: wp-live-chat-support/modules/gdpr.php:694
4111
+ msgid "Privacy Policy"
4112
+ msgstr "Политика на поверителност"
4113
+
4114
+ #: wp-live-chat-support/modules/gdpr.php:393
4115
+ #, php-format
4116
+ msgid ""
4117
+ "We use WP Live Chat Support as our live chat platform. By clicking below to "
4118
+ "submit this form, you acknowledge that the information you provide now and "
4119
+ "during the chat will be transferred to WP Live Chat Support for processing "
4120
+ "in accordance with their %%POLICY_LINK%%."
4121
+ msgstr ""
4122
+ "Ние използваме WP Live Chat Support като платформа за онлайн чат. "
4123
+ "Активирайки тикчето, Вие давате вашето съгласие с общите условия на WP Live "
4124
+ "Chat Support %%POLICY_LINK%%."
4125
+
4126
+ #: wp-live-chat-support/modules/gdpr.php:415
4127
+ #, php-format
4128
+ msgid ""
4129
+ "Please note as per the GDPR settings you have selected, all chat data will "
4130
+ "be retained for %%PERIOD%% day(s)."
4131
+ msgstr ""
4132
+ "Моля обърнете внимание, че в РЗЛД настройките, които се избрали, всички "
4133
+ "чатове ще бъдат запазени в период от %%PERIOD%% ден(и)."
4134
+
4135
+ #: wp-live-chat-support/modules/gdpr.php:418
4136
+ #, php-format
4137
+ msgid ""
4138
+ "After this period of time, all chat data older than %%PERIOD%% day(s), will "
4139
+ "be permanently removed from your server. "
4140
+ msgstr ""
4141
+ "След този период всички данни от чата, по-стари от %% PERIOD %% дни, ще "
4142
+ "бъдат окончателно премахнати от сървъра ви. "
4143
+
4144
+ #: wp-live-chat-support/modules/gdpr.php:422
4145
+ msgid "GDPR - Data Retention"
4146
+ msgstr "РЗЛД - Съхраняване на лични данни"
4147
+
4148
+ #: wp-live-chat-support/modules/gdpr.php:428
4149
+ #: wp-live-chat-support/modules/gdpr.php:674
4150
+ msgid "Privacy Settings"
4151
+ msgstr "Настройките за поверителност"
4152
+
4153
+ #: wp-live-chat-support/modules/gdpr.php:443
4154
+ msgid "Once every 6 hours"
4155
+ msgstr "Веднъж на всеки 6 часа"
4156
+
4157
+ #: wp-live-chat-support/modules/gdpr.php:557
4158
+ msgid "Delete Chat Data"
4159
+ msgstr "Изтрий чат"
4160
+
4161
+ #: wp-live-chat-support/modules/gdpr.php:558
4162
+ msgid "Download Chat Data"
4163
+ msgstr "Изтегляне начата"
4164
+
4165
+ #: wp-live-chat-support/modules/gdpr.php:561
4166
+ msgid "Chat Ended"
4167
+ msgstr "Чатът приключи"
4168
+
4169
+ #: wp-live-chat-support/modules/gdpr.php:640
4170
+ msgid "Complete"
4171
+ msgstr "Завършен"
4172
+
4173
+ #: wp-live-chat-support/modules/gdpr.php:665
4174
+ msgid ""
4175
+ "GDPR compliance has been disabled, read more about the implications of this "
4176
+ "here"
4177
+ msgstr ""
4178
+ "РЗЛД информираното съгласие е изключено, прочетете повече за последиците от "
4179
+ "това тук"
4180
+
4181
+ #: wp-live-chat-support/modules/gdpr.php:666
4182
+ msgid "Additionally please take a look at WP Live Chat Support"
4183
+ msgstr "Освен това, моля вижте и WP Live Chat Support"
4184
+
4185
+ #: wp-live-chat-support/modules/gdpr.php:667
4186
+ msgid ""
4187
+ "It is highly recommended that you enable GDPR compliance to ensure your user "
4188
+ "data is regulated."
4189
+ msgstr ""
4190
+ "Силно се препоръчва да разрешите РЗЛД информираното съгласие, за да "
4191
+ "осигурите потребителите си, че съхранявате данните им спрямо закона."
4192
+
4193
+ #: wp-live-chat-support/modules/gdpr.php:670
4194
+ msgid "Warning - GDPR Compliance Disabled - Action Required"
4195
+ msgstr ""
4196
+ "Внимание - РЗЛД информираното съгласие е дективирано - Необходими са действия"
4197
+
4198
+ #: wp-live-chat-support/modules/gdpr.php:671
4199
+ msgid "EU GDPR"
4200
+ msgstr "EU РЗЛД"
4201
+
4202
+ #: wp-live-chat-support/modules/gdpr.php:675
4203
+ msgid "Dismiss & Accept Responsibility"
4204
+ msgstr "Отхвърляне и приемане на отговорността"
4205
+
4206
+ #: wp-live-chat-support/modules/gdpr.php:692
4207
+ #, php-format
4208
+ msgid "Please refer to our %%PRIVACY_LINK%% for information on Data Processing"
4209
+ msgstr ""
4210
+ "Моля, вижте нашата %% PRIVACY_LINK %% за информация относно обработката на "
4211
+ "данни"
4212
+
4213
+ #: wp-live-chat-support/modules/gdpr.php:743
4214
+ msgid "GDPR Compliance Enabled - Server Selection Limited to EU"
4215
+ msgstr ""
4216
+ "РЗЛД информираното съгласие е активирано - Избор на сървър, ограничен до ЕС"
4217
+
4218
+ #: wp-live-chat-support/modules/google_analytics.php:12
4219
+ msgid "Google Analytics Integration"
4220
+ msgstr "Интеграция на Google Analytics"
4221
+
4222
+ #: wp-live-chat-support/modules/google_analytics.php:17
4223
+ msgid "Enable Google Analytics Integration"
4224
+ msgstr "Активирай Google Analytics Integration"
4225
+
4226
+ #: wp-live-chat-support/modules/module_gif.php:144
4227
+ msgid "GIF Integration"
4228
+ msgstr "GIF интеграция"
4229
+
4230
+ #: wp-live-chat-support/modules/module_gif.php:150
4231
+ msgid "Enable GIF Integration"
4232
+ msgstr "Активирай GIF интеграция"
4233
+
4234
+ #: wp-live-chat-support/modules/module_gif.php:150
4235
+ msgid ""
4236
+ "If you enable GIF Integration you're going to be able to send GIFs by typing "
4237
+ "commands such as '/gif happy' when writing a message."
4238
+ msgstr ""
4239
+ "Ако активирате GIF интеграция, ще можете да изпращате GIF файлове, като "
4240
+ "пишете команди, като например \"/ gif happy\", когато пишете съобщение."
4241
+
4242
+ #: wp-live-chat-support/modules/module_gif.php:158
4243
+ msgid "Select a GIF provider"
4244
+ msgstr "Избери GIF източник"
4245
+
4246
+ #: wp-live-chat-support/modules/module_gif.php:158
4247
+ msgid ""
4248
+ "A GIF provider is the source of the GIFs that are going to show when you "
4249
+ "type a command like '/gif happy' on a message."
4250
+ msgstr ""
4251
+ "Доставчикът на GIF е източникът на GIF файловете, които ще се показват, "
4252
+ "когато въведете команда като \"/ gif happy\" в съобщение."
4253
+
4254
+ #: wp-live-chat-support/modules/module_gif.php:162
4255
+ msgid "Giphy"
4256
+ msgstr "Giphy"
4257
+
4258
+ #: wp-live-chat-support/modules/module_gif.php:163
4259
+ msgid "Tenor"
4260
+ msgstr "Tenor"
4261
+
4262
+ #: wp-live-chat-support/modules/module_gif.php:169
4263
+ #: wp-live-chat-support/modules/module_gif.php:172
4264
+ msgid "Giphy API key"
4265
+ msgstr "Giphy API ключ"
4266
+
4267
+ #: wp-live-chat-support/modules/module_gif.php:169
4268
+ msgid "The API key created for you when you register an app on Giphy"
4269
+ msgstr "API ключът се издава при регистрация на Giphy приложение"
4270
+
4271
+ #: wp-live-chat-support/modules/module_gif.php:177
4272
+ #: wp-live-chat-support/modules/module_gif.php:180
4273
+ msgid "Tenor API key"
4274
+ msgstr "Tenor API ключ"
4275
+
4276
+ #: wp-live-chat-support/modules/module_gif.php:177
4277
+ msgid "The API key created for you when you register an app on Tenor"
4278
+ msgstr "API ключът се издава при регистрация на Tenor приложение"
4279
+
4280
+ #: wp-live-chat-support/modules/node_server.php:37
4281
+ msgid ""
4282
+ "Thank you for using WP Live Chat Support - Need assistance? Please get in "
4283
+ "touch here: "
4284
+ msgstr ""
4285
+ "Благодаря ви за използване WP Live чат подкрепа-нужда от помощ? Моля, "
4286
+ "свържете се с нас: "
4287
+
4288
+ #: wp-live-chat-support/modules/node_server.php:38
4289
+ #: wp-live-chat-support/wp-live-chat-support.php:5195
4290
+ msgid "Contact us"
4291
+ msgstr "Пишете ни"
4292
+
4293
+ #: wp-live-chat-support/modules/node_server.php:206
4294
+ #: wp-live-chat-support/modules/node_server.php:217
4295
+ #: wp-live-chat-support/modules/node_server.php:279
4296
+ #: wp-live-chat-support/modules/node_server.php:289
4297
+ msgid "Success"
4298
+ msgstr "Успех"
4299
+
4300
+ #: wp-live-chat-support/modules/node_server.php:220
4301
+ #: wp-live-chat-support/modules/node_server.php:292
4302
+ msgid "Message data is corrupt"
4303
+ msgstr "Данните за съобщенията са повредени"
4304
+
4305
+ #: wp-live-chat-support/modules/node_server.php:226
4306
+ #: wp-live-chat-support/modules/node_server.php:298
4307
+ msgid "Message data array not set"
4308
+ msgstr "Масив с данни за съобщения не е зададен"
4309
+
4310
+ #: wp-live-chat-support/modules/node_server.php:229
4311
+ #: wp-live-chat-support/modules/node_server.php:301
4312
+ msgid "Chat ID is not set"
4313
+ msgstr "Чат ID не е зададен"
4314
+
4315
+ #: wp-live-chat-support/modules/node_server.php:233
4316
+ #: wp-live-chat-support/modules/node_server.php:305
4317
+ msgid "No security nonce found"
4318
+ msgstr "Не е намерена сигурност"
4319
+
4320
+ #: wp-live-chat-support/modules/node_server.php:323
4321
+ msgid "Error"
4322
+ msgstr "Грешка"
4323
+
4324
+ #: wp-live-chat-support/modules/node_server.php:324
4325
+ msgid "Only chat agents can access this page."
4326
+ msgstr "Само чат оператори имат достъп до тази страница."
4327
+
4328
+ #: wp-live-chat-support/modules/node_server.php:534
4329
+ #: wp-live-chat-support/wp-live-chat-support.php:6655
4330
+ msgid "Sending transcript..."
4331
+ msgstr "Изпращане на скрипт..."
4332
+
4333
+ #: wp-live-chat-support/modules/node_server.php:535
4334
+ #: wp-live-chat-support/wp-live-chat-support.php:6656
4335
+ msgid "Sending Transcript"
4336
+ msgstr "Изпращане на скрипт"
4337
+
4338
+ #: wp-live-chat-support/modules/node_server.php:537
4339
+ #: wp-live-chat-support/wp-live-chat-support.php:6658
4340
+ msgid "The chat transcript has been emailed."
4341
+ msgstr "Чат скрипта беше изпратен на е-майла."
4342
+
4343
+ #: wp-live-chat-support/modules/node_server.php:538
4344
+ #: wp-live-chat-support/wp-live-chat-support.php:6659
4345
+ #, php-format
4346
+ msgid ""
4347
+ "There was a problem emailing the chat. Please <a target='_BLANK' "
4348
+ "href='%s'>contact support</a>."
4349
+ msgstr ""
4350
+ "Възникна грешка при изпращането на чата по е-майл. Моля, <a target='_BLANK' "
4351
+ "href='%s'>свържете се с нас</a>."
4352
+
4353
+ #: wp-live-chat-support/modules/node_server.php:576
4354
+ msgid "Connection Error"
4355
+ msgstr "Грешка във връзката"
4356
+
4357
+ #: wp-live-chat-support/modules/node_server.php:577
4358
+ msgid ""
4359
+ "We are having some trouble contacting the server. Please try again later."
4360
+ msgstr "Имаме проблеми с връзката със сървъра. Моля, опитайте отново по-късно."
4361
+
4362
+ #: wp-live-chat-support/modules/node_server.php:623
4363
+ msgid "Chat is disabled in settings area, re-enable"
4364
+ msgstr "Чата е деактивиран в настройките, ре-активирайте"
4365
+
4366
+ #: wp-live-chat-support/modules/node_server.php:653
4367
+ msgid "User received notification:"
4368
+ msgstr "Полученото от потребителя уведомление:"
4369
+
4370
+ #: wp-live-chat-support/modules/node_server.php:681
4371
+ #: wp-live-chat-support/wp-live-chat-support.php:2915
4372
+ #: wp-live-chat-support/wp-live-chat-support.php:2973
4373
+ msgid "New chat received"
4374
+ msgstr "Получен нов чат"
4375
+
4376
+ #: wp-live-chat-support/modules/node_server.php:682
4377
+ #: wp-live-chat-support/wp-live-chat-support.php:2917
4378
+ #: wp-live-chat-support/wp-live-chat-support.php:2975
4379
+ msgid ""
4380
+ "A new chat has been received. Please go the 'Live Chat' page to accept the "
4381
+ "chat"
4382
+ msgstr ""
4383
+ "Получен е нов чат. Моля, отидете на \"Live Chat\" страницата и приемете чата"
4384
+
4385
+ #: wp-live-chat-support/modules/node_server.php:736
4386
+ #: wp-live-chat-support/wp-live-chat-support.php:5233
4387
+ msgid "Add unlimited agents"
4388
+ msgstr "Добави неограничен брой оператори"
4389
+
4390
+ #: wp-live-chat-support/modules/node_server.php:736
4391
+ #: wp-live-chat-support/modules/node_server.php:738
4392
+ #: wp-live-chat-support/wp-live-chat-support.php:5233
4393
+ #: wp-live-chat-support/wp-live-chat-support.php:5234
4394
+ #: wp-live-chat-support/wp-live-chat-support.php:5235
4395
+ msgid " with the Pro add-on of WP Live Chat Support"
4396
+ msgstr " с PRO добавките на за WP Live Chat Support"
4397
+
4398
+ #: wp-live-chat-support/modules/node_server.php:736
4399
+ #: wp-live-chat-support/modules/node_server.php:738
4400
+ #: wp-live-chat-support/wp-live-chat-support.php:5233
4401
+ #: wp-live-chat-support/wp-live-chat-support.php:5234
4402
+ #: wp-live-chat-support/wp-live-chat-support.php:5235
4403
+ msgid "(once off payment)."
4404
+ msgstr "(еднократно плащане)."
4405
+
4406
+ #: wp-live-chat-support/modules/node_server.php:737
4407
+ #: wp-live-chat-support/modules/node_server.php:745
4408
+ #: wp-live-chat-support/wp-live-chat-support.php:3189
4409
+ #: wp-live-chat-support/wp-live-chat-support.php:5231
4410
+ #: wp-live-chat-support/wp-live-chat-support.php:5232
4411
+ msgid "With the Pro add-on of WP Live Chat Support, you can"
4412
+ msgstr "С Pro add-on-а на WP Live Chat Support, ти можеш"
4413
+
4414
+ #: wp-live-chat-support/modules/node_server.php:737
4415
+ #: wp-live-chat-support/modules/node_server.php:746
4416
+ #: wp-live-chat-support/wp-live-chat-support.php:3190
4417
+ #: wp-live-chat-support/wp-live-chat-support.php:5231
4418
+ msgid "see who's online and initiate chats"
4419
+ msgstr "виж кой е онлайн и инициализирай чат"
4420
+
4421
+ #: wp-live-chat-support/modules/node_server.php:737
4422
+ #: wp-live-chat-support/modules/node_server.php:747
4423
+ #: wp-live-chat-support/wp-live-chat-support.php:3191
4424
+ #: wp-live-chat-support/wp-live-chat-support.php:5231
4425
+ msgid "initiate chats"
4426
+ msgstr "инициирай чат"
4427
+
4428
+ #: wp-live-chat-support/modules/node_server.php:737
4429
+ #: wp-live-chat-support/modules/node_server.php:748
4430
+ #: wp-live-chat-support/wp-live-chat-support.php:3192
4431
+ #: wp-live-chat-support/wp-live-chat-support.php:5231
4432
+ msgid "with your online visitors with the click of a button."
4433
+ msgstr "с вашите онлайн посетители с един клик на бутона."
4434
+
4435
+ #: wp-live-chat-support/modules/node_server.php:737
4436
+ #: wp-live-chat-support/wp-live-chat-support.php:5231
4437
+ #: wp-live-chat-support/wp-live-chat-support.php:5232
4438
+ msgid "Buy the Pro add-on now (once off payment)."
4439
+ msgstr "Купете професионалната версия сега (еднократно плащане)"
4440
+
4441
+ #: wp-live-chat-support/modules/node_server.php:738
4442
+ #: wp-live-chat-support/wp-live-chat-support.php:5234
4443
+ #: wp-live-chat-support/wp-live-chat-support.php:5235
4444
+ msgid "Transfer Chats"
4445
+ msgstr "Прехвърляй чатове"
4446
+
4447
+ #: wp-live-chat-support/modules/node_server.php:743
4448
+ #, php-format
4449
+ msgid ""
4450
+ "Chat to other agents with the <a href=\"%s\" target=\"_BLANK\">Pro version</"
4451
+ "a>."
4452
+ msgstr ""
4453
+ "Разговаряй с други оператори с <a href=\"%s\" target=\"_BLANK\">Pro "
4454
+ "версията</a>."
4455
+
4456
+ #: wp-live-chat-support/modules/node_server.php:749
4457
+ #: wp-live-chat-support/modules/node_server.php:750
4458
+ #: wp-live-chat-support/wp-live-chat-support.php:3193
4459
+ #: wp-live-chat-support/wp-live-chat-support.php:3195
4460
+ msgid "Buy the Pro add-on now."
4461
+ msgstr "Купи професионалната приставка сега."
4462
+
4463
+ #: wp-live-chat-support/modules/node_server.php:757
4464
+ #, php-format
4465
+ msgid ""
4466
+ "Get detailed visitor events with the <a target=\"_BLANK\" href=\"%s\">Pro "
4467
+ "version</a>."
4468
+ msgstr ""
4469
+ "Получи детайлна информация относно действията на посетителите ти с <a target="
4470
+ "\"_BLANK\" href=\"%s\">Pro версията</a>."
4471
+
4472
+ #: wp-live-chat-support/modules/node_server.php:871
4473
+ msgid "Dear Pro User,"
4474
+ msgstr "Скъпи Pro потребители,"
4475
+
4476
+ #: wp-live-chat-support/modules/node_server.php:872
4477
+ msgid "Your API Key could not be validated, some functionality may be limited"
4478
+ msgstr ""
4479
+ "Вашият API ключ не беше успешно валидиран, някои функции може да бъдат "
4480
+ "ограничени"
4481
+
4482
+ #: wp-live-chat-support/modules/node_server.php:877
4483
+ msgid "You are not a verified agent, chat dashboard has been disabled"
4484
+ msgstr "Не сте проверен оператор, таблото за управление на чата е деактивирано"
4485
+
4486
+ #: wp-live-chat-support/modules/node_server.php:921
4487
+ msgid "WP Live Chat Support - Offline Mode"
4488
+ msgstr "WP Live Chat Support - Офлайн режим"
4489
+
4490
+ #: wp-live-chat-support/modules/node_server.php:940
4491
+ #, php-format
4492
+ msgid ""
4493
+ "Chat is now in offline mode, please <a href='%s' target='_BLANK'>upgrade to "
4494
+ "Version 8</a> (or above) of the WP Live Chat Support Pro Add-on to ensure "
4495
+ "all functionality works as expected."
4496
+ msgstr ""
4497
+ момента чата е в офлайн режим, моля <a href='%s' target='_BLANK'>обновете "
4498
+ "до версия 8</a> (или по-нова) WP Live Chat Support Pro Add-on версия, за да "
4499
+ "осигурите безпроблемна работа."
4500
+
4501
+ #: wp-live-chat-support/modules/node_server.php:942
4502
+ #, php-format
4503
+ msgid ""
4504
+ "Chat is now in offline mode, please renew your API key by visiting the <a "
4505
+ "href='%s' target='_BLANK'>My Account</a> area, and receive updates."
4506
+ msgstr ""
4507
+ "В момента чата е в офлайн режим, моля подновете вашия API ключ като посетите "
4508
+ "<a href='%s' target='_BLANK'>My Account</a> секцията и получите ъпдейт."
4509
+
4510
+ #: wp-live-chat-support/modules/node_server.php:948
4511
+ msgid ""
4512
+ "Alternatively, please disable the node server option in the Live Chat "
4513
+ "settings area (Live Chat -> Settings -> Advanced Features)"
4514
+ msgstr ""
4515
+ "Като алтернатива, моля, деактивирайте node server опцията в настройките на "
4516
+ "Live Chat-а (Live Chat -> Settings -> Advanced Features)"
4517
+
4518
+ #: wp-live-chat-support/modules/node_server.php:952
4519
+ msgid "Upgrade"
4520
+ msgstr "Надгради"
4521
+
4522
+ #: wp-live-chat-support/modules/node_server.php:954
4523
+ msgid "Renew License"
4524
+ msgstr "Поднови лиценз"
4525
+
4526
+ #: wp-live-chat-support/modules/node_server.php:958
4527
+ #: wp-live-chat-support/wp-live-chat-support.php:1036
4528
+ msgid "Settings"
4529
+ msgstr "Настройки"
4530
+
4531
+ #: wp-live-chat-support/modules/node_server.php:961
4532
+ msgid "Whats new in Version 8"
4533
+ msgstr "Какво е ново в Версия 8"
4534
+
4535
+ #: wp-live-chat-support/modules/node_server.php:1041
4536
+ msgid "Welcome to V8 of WP Live Chat Support"
4537
+ msgstr "Добре дошли в V8 от WP Live Chat Support"
4538
+
4539
+ #: wp-live-chat-support/modules/node_server.php:1042
4540
+ msgid ""
4541
+ "Did you know, this version features high speed message delivery, agent to "
4542
+ "agent chat, and a single window layout?"
4543
+ msgstr ""
4544
+ "Знаете ли, че тази версия разполага с висока скорост на доставяне на "
4545
+ "съобщения, чат оператор към оператор и лесен достъп до всичко в един "
4546
+ "единствен прозорец?"
4547
+
4548
+ #: wp-live-chat-support/modules/node_server.php:1043
4549
+ msgid ""
4550
+ "To activate this functionality please navigate to Live Chat -> Settings -> "
4551
+ "Advanced Features -> And enable our Chat Server option."
4552
+ msgstr ""
4553
+ "За да активирате тази функция, моля, отидете Live Chat -> Settings -> "
4554
+ "Advanced Features ->и активирайте нашата настройка за Chat Server."
4555
+
4556
+ #: wp-live-chat-support/modules/node_server.php:1046
4557
+ msgid "Show me!"
4558
+ msgstr "Покажи ми!"
4559
+
4560
+ #: wp-live-chat-support/modules/node_server.php:1047
4561
+ msgid "Don't Show This Again"
4562
+ msgstr "Не показвай това"
4563
+
4564
+ #: wp-live-chat-support/modules/node_server.php:1196
4565
+ msgid "Connecting..."
4566
+ msgstr "Свързване..."
4567
+
4568
+ #: wp-live-chat-support/modules/node_server.php:1200
4569
+ msgid " Active visitors"
4570
+ msgstr " Активни посетители"
4571
+
4572
+ #: wp-live-chat-support/modules/node_server.php:1201
4573
+ msgid "Agent(s) Online"
4574
+ msgstr "Оператори/и на линия"
4575
+
4576
+ #: wp-live-chat-support/modules/node_server.php:1202
4577
+ msgid "Chat History"
4578
+ msgstr "История на чата"
4579
+
4580
+ #: wp-live-chat-support/modules/node_server.php:1206
4581
+ msgid "Department Transfer"
4582
+ msgstr "Прехвърляне на отдела"
4583
+
4584
+ #: wp-live-chat-support/modules/node_server.php:1207
4585
+ #: wp-live-chat-support/modules/node_server.php:1211
4586
+ #: wp-live-chat-support/wp-live-chat-support.php:5235
4587
+ msgid "Direct User To Page"
4588
+ msgstr "Насочи потребителя към страница"
4589
+
4590
+ #: wp-live-chat-support/modules/node_server.php:1208
4591
+ msgid "Leave chat"
4592
+ msgstr "Напусни чат"
4593
+
4594
+ #: wp-live-chat-support/modules/node_server.php:1209
4595
+ #: wp-live-chat-support/wp-live-chat-support.php:3545
4596
+ msgid "End chat"
4597
+ msgstr "Край на чата"
4598
+
4599
+ #: wp-live-chat-support/modules/node_server.php:1212
4600
+ msgid "Events"
4601
+ msgstr "Събития"
4602
+
4603
+ #: wp-live-chat-support/modules/node_server.php:1213
4604
+ msgid "Join chat"
4605
+ msgstr "Присъеди ни се към чат"
4606
+
4607
+ #: wp-live-chat-support/modules/node_server.php:1214
4608
+ msgid "Filters"
4609
+ msgstr "Филтри"
4610
+
4611
+ #: wp-live-chat-support/modules/node_server.php:1215
4612
+ msgid "New Visitors (3 Min)"
4613
+ msgstr "Нови потребители (3 мин)"
4614
+
4615
+ #: wp-live-chat-support/modules/node_server.php:1217
4616
+ msgid "Clear Filters"
4617
+ msgstr "Изчисти филтри"
4618
+
4619
+ #: wp-live-chat-support/modules/node_server.php:1218
4620
+ msgid "Active visitors"
4621
+ msgstr "Активни потребители"
4622
+
4623
+ #: wp-live-chat-support/modules/node_server.php:1219
4624
+ #: wp-live-chat-support/wp-live-chat-support.php:3290
4625
+ msgid "Visitor"
4626
+ msgstr "Потребител"
4627
+
4628
+ #: wp-live-chat-support/modules/node_server.php:1220
4629
+ msgid "Info"
4630
+ msgstr "Информация"
4631
+
4632
+ #: wp-live-chat-support/modules/node_server.php:1222
4633
+ msgid "Chat Status"
4634
+ msgstr "Чат статус"
4635
+
4636
+ #: wp-live-chat-support/modules/node_server.php:1224
4637
+ msgid "Search Results"
4638
+ msgstr "Резултати от търсенето"
4639
+
4640
+ #: wp-live-chat-support/modules/node_server.php:1225
4641
+ msgid "No emoji found"
4642
+ msgstr "Не бяха намерени емотикони"
4643
+
4644
+ #: wp-live-chat-support/modules/node_server_deprecated.php:272
4645
+ msgid "Chat has been ended."
4646
+ msgstr "Чатът приключи."
4647
+
4648
+ #: wp-live-chat-support/modules/offline_messages_custom_fields.php:6
4649
+ #, php-format
4650
+ msgid ""
4651
+ "Use the <a href='%s'>Contact Form Ready</a> plugin (free) in order to "
4652
+ "customise the input fields of the offline message form.</a>"
4653
+ msgstr ""
4654
+ "Използвай <a href='%s'>Бърза форма за контакт</a> плъгина (безплатно)за да "
4655
+ "персонализирате полетата за въвеждане на формата за офлайн съобщение.</a>"
4656
+
4657
+ #: wp-live-chat-support/modules/privacy.php:17
4658
+ #: wp-live-chat-support/modules/privacy.php:31
4659
+ msgid "Privacy"
4660
+ msgstr "Поверителност"
4661
+
4662
+ #: wp-live-chat-support/modules/webhooks_manager.php:8
4663
+ msgid "Agent Login"
4664
+ msgstr "Вход оператор"
4665
+
4666
+ #: wp-live-chat-support/modules/webhooks_manager.php:9
4667
+ msgid "Device Linked"
4668
+ msgstr "Свързани устройства"
4669
+
4670
+ #: wp-live-chat-support/modules/webhooks_manager.php:10
4671
+ msgid "Device Unlinked (Revoked)"
4672
+ msgstr "Устройството е премахнато (отменено)"
4673
+
4674
+ #: wp-live-chat-support/modules/webhooks_manager.php:11
4675
+ msgid "New Visitor"
4676
+ msgstr "Нов потребител"
4677
+
4678
+ #: wp-live-chat-support/modules/webhooks_manager.php:12
4679
+ msgid "Chat Request"
4680
+ msgstr "Искане за чат"
4681
+
4682
+ #: wp-live-chat-support/modules/webhooks_manager.php:13
4683
+ msgid "Agent Accept"
4684
+ msgstr "Приемане на оператор"
4685
+
4686
+ #: wp-live-chat-support/modules/webhooks_manager.php:14
4687
+ msgid "Settings Changed"
4688
+ msgstr "Променени настройки"
4689
+
4690
+ #: wp-live-chat-support/modules/webhooks_manager.php:47
4691
+ msgid "Webhooks"
4692
+ msgstr "Webhooks"
4693
+
4694
+ #: wp-live-chat-support/modules/webhooks_manager.php:60
4695
+ msgid "WP Live Chat Support - Webhooks"
4696
+ msgstr "WP Live Chat Support - Webhooks"
4697
+
4698
+ #: wp-live-chat-support/modules/webhooks_manager.php:82
4699
+ msgid "Webhook created"
4700
+ msgstr "Създаден Webhook"
4701
+
4702
+ #: wp-live-chat-support/modules/webhooks_manager.php:84
4703
+ msgid "Webhook could not be created"
4704
+ msgstr "Webhook-а не може да бъде създаден"
4705
+
4706
+ #: wp-live-chat-support/modules/webhooks_manager.php:91
4707
+ msgid "Webhook edited"
4708
+ msgstr "Webhook-а беше променен"
4709
+
4710
+ #: wp-live-chat-support/modules/webhooks_manager.php:93
4711
+ msgid "Webhook could not be edited"
4712
+ msgstr "Webhook-а не може да бъде пробменен"
4713
+
4714
+ #: wp-live-chat-support/modules/webhooks_manager.php:101
4715
+ msgid "Webhook deleted"
4716
+ msgstr "Webhook-а е изтрит"
4717
+
4718
+ #: wp-live-chat-support/modules/webhooks_manager.php:103
4719
+ msgid "Webhook could not be delete"
4720
+ msgstr "Webhook-а не може да бъде изтрит"
4721
+
4722
+ #: wp-live-chat-support/modules/webhooks_manager.php:227
4723
+ #: wp-live-chat-support/modules/webhooks_manager.php:282
4724
+ msgid "Event"
4725
+ msgstr "Събитие"
4726
+
4727
+ #: wp-live-chat-support/modules/webhooks_manager.php:228
4728
+ #: wp-live-chat-support/modules/webhooks_manager.php:287
4729
+ msgid "Target URL"
4730
+ msgstr "Целеви URLs"
4731
+
4732
+ #: wp-live-chat-support/modules/webhooks_manager.php:229
4733
+ msgid "Push Devices"
4734
+ msgstr "Push устройства"
4735
+
4736
+ #: wp-live-chat-support/modules/webhooks_manager.php:230
4737
+ #: wp-live-chat-support/modules/webhooks_manager.php:302
4738
+ msgid "Method"
4739
+ msgstr "Метод"
4740
+
4741
+ #: wp-live-chat-support/modules/webhooks_manager.php:252
4742
+ msgid "No Webhooks"
4743
+ msgstr "Няма налични Webhooks"
4744
+
4745
+ #: wp-live-chat-support/modules/webhooks_manager.php:288
4746
+ msgid ""
4747
+ "This field can be left empty if you intend on using only push notifications "
4748
+ "for online agents"
4749
+ msgstr ""
4750
+ "Това поле може да бъде оставено празно, ако възнамерявате да използвате само "
4751
+ "push нотификации за онлайн операторите"
4752
+
4753
+ #: wp-live-chat-support/modules/webhooks_manager.php:292
4754
+ msgid "Push to Online Agent Devices"
4755
+ msgstr "Натиснете Online Agent Devices"
4756
+
4757
+ #: wp-live-chat-support/modules/webhooks_manager.php:305
4758
+ msgid "GET"
4759
+ msgstr "ВЗЕМИ"
4760
+
4761
+ #: wp-live-chat-support/modules/webhooks_manager.php:306
4762
+ msgid "POST"
4763
+ msgstr "ПОСТНИ"
4764
+
4765
+ #: wp-live-chat-support/modules/webhooks_manager.php:312
4766
+ msgid "Save Changes"
4767
+ msgstr "Запази промени"
4768
+
4769
+ #: wp-live-chat-support/modules/webhooks_manager.php:326
4770
+ msgid "Are you sure you want to delete this webhook?"
4771
+ msgstr "Сигурни ли сте, че искате да изтриете този webhook?"
4772
+
4773
+ #: wp-live-chat-support/modules/webhooks_manager.php:439
4774
+ msgid "Event Triggered"
4775
+ msgstr "Събитието е стартирано"
4776
+
4777
+ #: wp-live-chat-support/wp-live-chat-support.php:853
4778
+ #: wp-live-chat-support/wp-live-chat-support.php:2397
4779
+ #: wp-live-chat-support/wp-live-chat-support.php:3906
4780
+ #: wp-live-chat-support/wp-live-chat-support.php:5929
4781
+ msgid "Chat offline. Leave a message"
4782
+ msgstr "Офлайн чат. Оставете съобщение"
4783
+
4784
+ #: wp-live-chat-support/wp-live-chat-support.php:854
4785
+ #: wp-live-chat-support/wp-live-chat-support.php:2096
4786
+ #: wp-live-chat-support/wp-live-chat-support.php:3907
4787
+ #: wp-live-chat-support/wp-live-chat-support.php:5930
4788
+ msgid "Hello. Please input your details so that I may help you."
4789
+ msgstr "Здравей. Моля, въведете данните си, за да можем да Ви помогнем."
4790
+
4791
+ #: wp-live-chat-support/wp-live-chat-support.php:855
4792
+ #: wp-live-chat-support/wp-live-chat-support.php:1439
4793
+ #: wp-live-chat-support/wp-live-chat-support.php:2135
4794
+ #: wp-live-chat-support/wp-live-chat-support.php:3908
4795
+ #: wp-live-chat-support/wp-live-chat-support.php:5931
4796
+ msgid ""
4797
+ "We are currently offline. Please leave a message and we'll get back to you "
4798
+ "shortly."
4799
+ msgstr ""
4800
+ "В момента на не сме на линия. Моля, оставете съобщение и ние ще се свържем с "
4801
+ "Вас възможно най-скоро."
4802
+
4803
+ #: wp-live-chat-support/wp-live-chat-support.php:856
4804
+ #: wp-live-chat-support/wp-live-chat-support.php:1440
4805
+ #: wp-live-chat-support/wp-live-chat-support.php:3909
4806
+ #: wp-live-chat-support/wp-live-chat-support.php:5932
4807
+ msgid "Sending message..."
4808
+ msgstr "Изпращане на съобщение..."
4809
+
4810
+ #: wp-live-chat-support/wp-live-chat-support.php:857
4811
+ #: wp-live-chat-support/wp-live-chat-support.php:1441
4812
+ #: wp-live-chat-support/wp-live-chat-support.php:3910
4813
+ #: wp-live-chat-support/wp-live-chat-support.php:5933
4814
+ msgid "Thank you for your message. We will be in contact soon."
4815
+ msgstr "Благодаря за вашето съобщение. Ще се свържем с вас скоро."
4816
+
4817
+ #: wp-live-chat-support/wp-live-chat-support.php:859
4818
+ #: wp-live-chat-support/wp-live-chat-support.php:3912
4819
+ #: wp-live-chat-support/wp-live-chat-support.php:5935
4820
+ msgid "Send message"
4821
+ msgstr "Изпрати съобщение"
4822
+
4823
+ #: wp-live-chat-support/wp-live-chat-support.php:862
4824
+ #: wp-live-chat-support/wp-live-chat-support.php:3900
4825
+ #: wp-live-chat-support/wp-live-chat-support.php:5938
4826
+ msgid "Start live chat"
4827
+ msgstr "Започни Live Chat"
4828
+
4829
+ #: wp-live-chat-support/wp-live-chat-support.php:865
4830
+ #: wp-live-chat-support/wp-live-chat-support.php:3903
4831
+ #: wp-live-chat-support/wp-live-chat-support.php:5941
4832
+ msgid "Chat ended"
4833
+ msgstr "Чатът приключи"
4834
+
4835
+ #: wp-live-chat-support/wp-live-chat-support.php:866
4836
+ #: wp-live-chat-support/wp-live-chat-support.php:2191
4837
+ #: wp-live-chat-support/wp-live-chat-support.php:2294
4838
+ #: wp-live-chat-support/wp-live-chat-support.php:3904
4839
+ #: wp-live-chat-support/wp-live-chat-support.php:5942
4840
+ msgid "Connecting. Please be patient..."
4841
+ msgstr "Свързване. Моля за търпение..."
4842
+
4843
+ #: wp-live-chat-support/wp-live-chat-support.php:868
4844
+ #: wp-live-chat-support/wp-live-chat-support.php:2298
4845
+ #: wp-live-chat-support/wp-live-chat-support.php:3916
4846
+ #: wp-live-chat-support/wp-live-chat-support.php:5944
4847
+ msgid "Welcome. How may I help you?"
4848
+ msgstr "Добре дошли. Как мога да Ви помогна?"
4849
+
4850
+ #: wp-live-chat-support/wp-live-chat-support.php:871
4851
+ #: wp-live-chat-support/wp-live-chat-support.php:3915
4852
+ #: wp-live-chat-support/wp-live-chat-support.php:5947
4853
+ msgid "close"
4854
+ msgstr "затвори"
4855
+
4856
+ #: wp-live-chat-support/wp-live-chat-support.php:914
4857
+ #: wp-live-chat-support/wp-live-chat-support.php:3874
4858
+ msgid "Please click \\'Start Chat\\' to initiate a chat with an agent"
4859
+ msgstr "Кликнете на \\'Започни чат'\\, за да започнете разговор с оператор"
4860
+
4861
+ #: wp-live-chat-support/wp-live-chat-support.php:1037
4862
+ msgid "Surveys"
4863
+ msgstr "Проучвания"
4864
+
4865
+ #: wp-live-chat-support/wp-live-chat-support.php:1054
4866
+ msgid "History"
4867
+ msgstr "История"
4868
+
4869
+ #: wp-live-chat-support/wp-live-chat-support.php:1055
4870
+ msgid "Missed Chats"
4871
+ msgstr "Пропуснати чатове"
4872
+
4873
+ #: wp-live-chat-support/wp-live-chat-support.php:1078
4874
+ msgid "Extensions"
4875
+ msgstr "Разширени"
4876
+
4877
+ #: wp-live-chat-support/wp-live-chat-support.php:1088
4878
+ msgid "API Keys"
4879
+ msgstr "API ключове"
4880
+
4881
+ #: wp-live-chat-support/wp-live-chat-support.php:1094
4882
+ msgid "Premium Extension API Keys"
4883
+ msgstr "API ключ - преференциални разширения"
4884
+
4885
+ #: wp-live-chat-support/wp-live-chat-support.php:1095
4886
+ msgid ""
4887
+ "To find and manage your premium API keys, please visit your <a "
4888
+ "target='_BLANK' href='https://wp-livechat.com/my-account/'>my account</a> "
4889
+ "page."
4890
+ msgstr ""
4891
+ "За да намериш и управляваш преференциалните си API ключове моля, посети "
4892
+ "своята<a target='_BLANK' href='https://wp-livechat.com/my-account/'>профил</"
4893
+ "a> страница."
4894
+
4895
+ #: wp-live-chat-support/wp-live-chat-support.php:1423
4896
+ msgid "Please enter your name"
4897
+ msgstr "Моля, въведете вашето име"
4898
+
4899
+ #: wp-live-chat-support/wp-live-chat-support.php:1424
4900
+ msgid "Please enter your email address"
4901
+ msgstr "Моля въведете вашия е-маил адрес"
4902
+
4903
+ #: wp-live-chat-support/wp-live-chat-support.php:1425
4904
+ msgid "Connection to server lost. Please reload this page. Error: "
4905
+ msgstr ""
4906
+ "Връзката със сървъра е прекъсната. Моля, презаредете тази страница. Грешка: "
4907
+
4908
+ #: wp-live-chat-support/wp-live-chat-support.php:1427
4909
+ msgid "Please enter a message"
4910
+ msgstr "Моля, напишете съобщение"
4911
+
4912
+ #: wp-live-chat-support/wp-live-chat-support.php:1428
4913
+ msgid "Disconnected, attempting to reconnect..."
4914
+ msgstr "Връзката прекъсната, опит за повторна връзка..."
4915
+
4916
+ #: wp-live-chat-support/wp-live-chat-support.php:1475
4917
+ #: wp-live-chat-support/wp-live-chat-support.php:1476
4918
+ #: wp-live-chat-support/wp-live-chat-support.php:3667
4919
+ msgid " is typing..."
4920
+ msgstr " пише..."
4921
+
4922
+ #: wp-live-chat-support/wp-live-chat-support.php:1479
4923
+ msgid " has joined."
4924
+ msgstr " се присъедини."
4925
+
4926
+ #: wp-live-chat-support/wp-live-chat-support.php:1480
4927
+ msgid " has left."
4928
+ msgstr " напусна."
4929
+
4930
+ #: wp-live-chat-support/wp-live-chat-support.php:1481
4931
+ msgid " has ended the chat."
4932
+ msgstr " приключи чата."
4933
+
4934
+ #: wp-live-chat-support/wp-live-chat-support.php:1482
4935
+ msgid " has disconnected."
4936
+ msgstr " прекъсна връзката."
4937
+
4938
+ #: wp-live-chat-support/wp-live-chat-support.php:1483
4939
+ msgid "(edited)"
4940
+ msgstr "(редактиран)"
4941
+
4942
+ #: wp-live-chat-support/wp-live-chat-support.php:1484
4943
+ #: wp-live-chat-support/wp-live-chat-support.php:2336
4944
+ msgid "Type here"
4945
+ msgstr "Пиши тук"
4946
+
4947
+ #: wp-live-chat-support/wp-live-chat-support.php:1984
4948
+ #: wp-live-chat-support/wp-live-chat-support.php:2004
4949
+ msgid "Start chat"
4950
+ msgstr "Стартирай чат"
4951
+
4952
+ #: wp-live-chat-support/wp-live-chat-support.php:3077
4953
+ msgid ""
4954
+ "You are using an outdated version of <strong>WP Live Chat Support Pro</"
4955
+ "strong>. Please"
4956
+ msgstr ""
4957
+ "Вие използвате остаряла версия на <strong>WP Live Chat Support Pro</strong>. "
4958
+ "Моля"
4959
+
4960
+ #: wp-live-chat-support/wp-live-chat-support.php:3077
4961
+ msgid "update to at least version"
4962
+ msgstr "обновяване до последна версия"
4963
+
4964
+ #: wp-live-chat-support/wp-live-chat-support.php:3077
4965
+ msgid "to ensure all functionality is in working order"
4966
+ msgstr "за да се подсигурите, че всички функции работят така както трябва"
4967
+
4968
+ #: wp-live-chat-support/wp-live-chat-support.php:3078
4969
+ msgid ""
4970
+ "You're live chat box on your website has been temporarily disabled until the "
4971
+ "Pro plugin has been updated. This is to ensure a smooth and hassle-free user "
4972
+ "experience for both yourself and your visitors."
4973
+ msgstr ""
4974
+ "Живата версия на Chat box-а беше временно деактивирана, докато приключи "
4975
+ "ъпдейта на Pro плъгина. Това е с цел да осигури максимална лекота и "
4976
+ "безпроблемна работа на вас и вашите посетители."
4977
+
4978
+ #: wp-live-chat-support/wp-live-chat-support.php:3079
4979
+ #: wp-live-chat-support/wp-live-chat-support.php:3099
4980
+ msgid ""
4981
+ "You can update your plugin <a href='./update-core.php'>here</a>, <a href='./"
4982
+ "plugins.php'>here</a> or <a href='https://wp-livechat.com/get-updated-"
4983
+ "version/' target='_BLANK'>here</a>."
4984
+ msgstr ""
4985
+ "Можете да обновите разширението <a href='./update-core.php'>тук</a>, <a "
4986
+ "href='./plugins.php'>тук</a> или <a href='https://wp-livechat.com/get-"
4987
+ "updated-version/' target='_BLANK'>тук</a>."
4988
+
4989
+ #: wp-live-chat-support/wp-live-chat-support.php:3080
4990
+ #: wp-live-chat-support/wp-live-chat-support.php:3100
4991
+ msgid "If you are having difficulty updating the plugin, please contact"
4992
+ msgstr "Ако изпитвате затруднение да обновите плъгина, моля свържете се"
4993
+
4994
+ #: wp-live-chat-support/wp-live-chat-support.php:3092
4995
+ msgid ""
4996
+ "You are using an outdated version of <strong>WP Live Chat Support Pro</"
4997
+ "strong>."
4998
+ msgstr ""
4999
+ "Вие използвате остаряла версия на <strong>WP Live Chat Support Pro</strong>."
5000
+
5001
+ #: wp-live-chat-support/wp-live-chat-support.php:3094
5002
+ msgid "Please update to the latest version of WP Live Chat Support Pro"
5003
+ msgstr "Моля, ъпдейтнете WP Live Chat Support Pro до последната версия"
5004
+
5005
+ #: wp-live-chat-support/wp-live-chat-support.php:3095
5006
+ msgid "Version 5.0.1"
5007
+ msgstr "Версия 5.0.1"
5008
+
5009
+ #: wp-live-chat-support/wp-live-chat-support.php:3096
5010
+ msgid "to ensure everything is working correctly."
5011
+ msgstr "за да се уверите, че всичко работи нормално."
5012
+
5013
+ #: wp-live-chat-support/wp-live-chat-support.php:3147
5014
+ msgid "Congratulations"
5015
+ msgstr "Поздравления"
5016
+
5017
+ #: wp-live-chat-support/wp-live-chat-support.php:3148
5018
+ msgid "You are now accepting live chat requests on your site."
5019
+ msgstr "Сега вие приемате заявки за Live chat на Вашия сайт."
5020
+
5021
+ #: wp-live-chat-support/wp-live-chat-support.php:3149
5022
+ msgid "The live chat box has automatically been enabled on your website."
5023
+ msgstr "Живата версия на Chat box-а е автоматично активирана на вашия уебсайт."
5024
+
5025
+ #: wp-live-chat-support/wp-live-chat-support.php:3150
5026
+ msgid "Chat notifications will start appearing once visitors send a request."
5027
+ msgstr "Чат нотификации ще се показват когато посетител изпрати запитване."
5028
+
5029
+ #: wp-live-chat-support/wp-live-chat-support.php:3151
5030
+ msgid ""
5031
+ "You may <a href='?page=wplivechat-menu-settings' target='_BLANK'>modify your "
5032
+ "chat box settings here."
5033
+ msgstr ""
5034
+ "Вие можете да <a href='?page=wplivechat-menu-settings' "
5035
+ "target='_BLANK'>модифицирате вашите настройки на Chat box-а тук."
5036
+
5037
+ #: wp-live-chat-support/wp-live-chat-support.php:3152
5038
+ msgid "Experiencing issues?"
5039
+ msgstr "Изпитваш затруднения?"
5040
+
5041
+ #: wp-live-chat-support/wp-live-chat-support.php:3152
5042
+ msgid "Visit our troubleshooting section."
5043
+ msgstr "Посети нашето ръководство за отстраняване на неизправности."
5044
+
5045
+ #: wp-live-chat-support/wp-live-chat-support.php:3154
5046
+ msgid "Hide"
5047
+ msgstr "Скрий"
5048
+
5049
+ #: wp-live-chat-support/wp-live-chat-support.php:3249
5050
+ msgid ""
5051
+ "Please note: This window must be open in order to receive new chat "
5052
+ "notifications."
5053
+ msgstr ""
5054
+ "Моля, обърнете внимание: Този прозорец трябва да бъде отворен, за да можете "
5055
+ "да получавате нотификации за нов чат."
5056
+
5057
+ #: wp-live-chat-support/wp-live-chat-support.php:3259
5058
+ #, php-format
5059
+ msgid "Need help? <a href=\"%s\" target=\"_BLANK\">contact us</a>."
5060
+ msgstr "Имаш нужда от помощ? <a href=\"%s\" target=\"_BLANK\">пиши ни</a>."
5061
+
5062
+ #: wp-live-chat-support/wp-live-chat-support.php:3276
5063
+ msgid "Visitors online"
5064
+ msgstr "Посетители онлайн"
5065
+
5066
+ #: wp-live-chat-support/wp-live-chat-support.php:3291
5067
+ msgid "Time"
5068
+ msgstr "Време"
5069
+
5070
+ #: wp-live-chat-support/wp-live-chat-support.php:3293
5071
+ msgid "Device"
5072
+ msgstr "Устройство"
5073
+
5074
+ #: wp-live-chat-support/wp-live-chat-support.php:3294
5075
+ msgid "Data"
5076
+ msgstr "Данни"
5077
+
5078
+ #: wp-live-chat-support/wp-live-chat-support.php:3332
5079
+ msgid "Chat Dashboard"
5080
+ msgstr "Чат табло"
5081
+
5082
+ #: wp-live-chat-support/wp-live-chat-support.php:3335
5083
+ msgid "Oh no!"
5084
+ msgstr "О, не!"
5085
+
5086
+ #: wp-live-chat-support/wp-live-chat-support.php:3338
5087
+ msgid ""
5088
+ "You do not have access to this page as <strong>you are not a chat agent</"
5089
+ "strong>."
5090
+ msgstr "Нямаш достъп до тази страница <strong>не си чат агент...</strong>."
5091
+
5092
+ #: wp-live-chat-support/wp-live-chat-support.php:3523
5093
+ msgid "Previous"
5094
+ msgstr "Предишен"
5095
+
5096
+ #: wp-live-chat-support/wp-live-chat-support.php:3534
5097
+ msgid "Chat with"
5098
+ msgstr "Чат с"
5099
+
5100
+ #: wp-live-chat-support/wp-live-chat-support.php:3536
5101
+ msgid "Starting Time:"
5102
+ msgstr "Време начало:"
5103
+
5104
+ #: wp-live-chat-support/wp-live-chat-support.php:3537
5105
+ msgid "Ending Time:"
5106
+ msgstr "Време край:"
5107
+
5108
+ #: wp-live-chat-support/wp-live-chat-support.php:3597
5109
+ #: wp-live-chat-support/wp-live-chat-support.php:5027
5110
+ msgid "Add-ons"
5111
+ msgstr "Add-ons"
5112
+
5113
+ #: wp-live-chat-support/wp-live-chat-support.php:3599
5114
+ msgid "Get more add-ons"
5115
+ msgstr "Повече добавки"
5116
+
5117
+ #: wp-live-chat-support/wp-live-chat-support.php:3616
5118
+ msgid "Add Quick Responses to your Live Chat"
5119
+ msgstr "Добави бързи отговори към твоя Live Chat"
5120
+
5121
+ #: wp-live-chat-support/wp-live-chat-support.php:3616
5122
+ msgid "Pro version only"
5123
+ msgstr "Само в PRO версията"
5124
+
5125
+ #: wp-live-chat-support/wp-live-chat-support.php:3626
5126
+ msgid "type here..."
5127
+ msgstr "пиши тук..."
5128
+
5129
+ #: wp-live-chat-support/wp-live-chat-support.php:3812
5130
+ msgid "is typing..."
5131
+ msgstr "пише..."
5132
+
5133
+ #: wp-live-chat-support/wp-live-chat-support.php:3856
5134
+ msgid "User has opened the chat window"
5135
+ msgstr "Потребителят отвори чат прозорец"
5136
+
5137
+ #: wp-live-chat-support/wp-live-chat-support.php:3857
5138
+ msgid "User has minimized the chat window"
5139
+ msgstr "Потребителят е минимизирал чат прозореца"
5140
+
5141
+ #: wp-live-chat-support/wp-live-chat-support.php:3858
5142
+ msgid "User has maximized the chat window"
5143
+ msgstr "Потребителят е отворил чат прозореца на цял екран"
5144
+
5145
+ #: wp-live-chat-support/wp-live-chat-support.php:3859
5146
+ msgid "The chat has been ended"
5147
+ msgstr "Чатът приключи"
5148
+
5149
+ #: wp-live-chat-support/wp-live-chat-support.php:4491
5150
+ msgid "Delete History"
5151
+ msgstr "Изтриване на историята"
5152
+
5153
+ #: wp-live-chat-support/wp-live-chat-support.php:4508
5154
+ msgid "No chats available at the moment"
5155
+ msgstr "Не са налични чатове в момента"
5156
+
5157
+ #: wp-live-chat-support/wp-live-chat-support.php:4560
5158
+ msgid "WP Live Chat History"
5159
+ msgstr "WP Live Chat История"
5160
+
5161
+ #: wp-live-chat-support/wp-live-chat-support.php:4589
5162
+ msgid "WP Live Chat Missed Chats"
5163
+ msgstr "WP Live Chat пропуснати чатове"
5164
+
5165
+ #: wp-live-chat-support/wp-live-chat-support.php:4604
5166
+ msgid ""
5167
+ "Please update to the latest version of WP Live Chat Support Pro to start "
5168
+ "recording any offline messages."
5169
+ msgstr ""
5170
+ "Моля, обновете WP Live Chat Support Pro до последната версия, за да можете "
5171
+ "да записвате офлайн съобщения."
5172
+
5173
+ #: wp-live-chat-support/wp-live-chat-support.php:4607
5174
+ msgid "This option is only available in the "
5175
+ msgstr "Тази опция е достъпна само в "
5176
+
5177
+ #: wp-live-chat-support/wp-live-chat-support.php:4619
5178
+ msgid "WP Live Chat Offline Messages"
5179
+ msgstr "WP Live Chat офлайн съобщения"
5180
+
5181
+ #: wp-live-chat-support/wp-live-chat-support.php:4640
5182
+ msgid "Actions"
5183
+ msgstr "Действия"
5184
+
5185
+ #: wp-live-chat-support/wp-live-chat-support.php:4664
5186
+ msgid "Delete Message"
5187
+ msgstr "Изтриване на съобщение"
5188
+
5189
+ #: wp-live-chat-support/wp-live-chat-support.php:4794
5190
+ msgid "Please click 'Start Chat' to initiate a chat with an agent"
5191
+ msgstr "Моля, кликнете 'Започни чат', за да започнете чат с оператор"
5192
+
5193
+ #: wp-live-chat-support/wp-live-chat-support.php:4938
5194
+ msgid "Thank You for your feedback!"
5195
+ msgstr "Благодарим Ви за обратната връзка!"
5196
+
5197
+ #: wp-live-chat-support/wp-live-chat-support.php:4948
5198
+ msgid "Your settings have been saved."
5199
+ msgstr "Вашите настройки бяха запазени."
5200
+
5201
+ #: wp-live-chat-support/wp-live-chat-support.php:4993
5202
+ msgid ""
5203
+ "WPLC: set_time_limit() is not enabled on this server. You may experience "
5204
+ "issues while using WP Live Chat Support as a result of this. Please get in "
5205
+ "contact your host to get this function enabled."
5206
+ msgstr ""
5207
+ "WPLC: set_time_limit() не е активен на този сървър. Може да изпитате "
5208
+ "затруднения докато използвате WP Live Chat Support като резултат. Моля "
5209
+ "свържете се с хостинга ви за да деактивирате безопасния режим."
5210
+
5211
+ #: wp-live-chat-support/wp-live-chat-support.php:4999
5212
+ msgid ""
5213
+ "WPLC: Safe mode is enabled on this server. You may experience issues while "
5214
+ "using WP Live Chat Support as a result of this. Please contact your host to "
5215
+ "get safe mode disabled."
5216
+ msgstr ""
5217
+ "WPLC: безопасния режим е активен на този сървър. Може да изпитате "
5218
+ "затруднения докато използвате WP Live Chat Support като резултат. Моля "
5219
+ "свържете се с хостинга ви за да деактивирате безопасния режим."
5220
+
5221
+ #: wp-live-chat-support/wp-live-chat-support.php:5027
5222
+ msgid "Suggested Plugins"
5223
+ msgstr "Препоръчителни плъгини"
5224
+
5225
+ #: wp-live-chat-support/wp-live-chat-support.php:5038
5226
+ #: wp-live-chat-support/wp-live-chat-support.php:5039
5227
+ #: wp-live-chat-support/wp-live-chat-support.php:5040
5228
+ #: wp-live-chat-support/wp-live-chat-support.php:5045
5229
+ msgid "Sola Support Tickets"
5230
+ msgstr "Sola Support Tickets"
5231
+
5232
+ #: wp-live-chat-support/wp-live-chat-support.php:5043
5233
+ msgid ""
5234
+ "The easiest to use Help Desk & Support Ticket plugin. Create a support help "
5235
+ "desk quickly and easily with Sola Support Tickets."
5236
+ msgstr ""
5237
+ "Най-лесният за използване Help Desk & Support Ticket плъгин. Създайте бързо "
5238
+ "и лесно платформа за поддръжка използвайки Sola Support Tickets."
5239
+
5240
+ #: wp-live-chat-support/wp-live-chat-support.php:5045
5241
+ #: wp-live-chat-support/wp-live-chat-support.php:5056
5242
+ msgid "Get this Plugin"
5243
+ msgstr "Вземи това разширение"
5244
+
5245
+ #: wp-live-chat-support/wp-live-chat-support.php:5049
5246
+ #: wp-live-chat-support/wp-live-chat-support.php:5050
5247
+ #: wp-live-chat-support/wp-live-chat-support.php:5051
5248
+ #: wp-live-chat-support/wp-live-chat-support.php:5056
5249
+ msgid "Nifty Newsletters"
5250
+ msgstr "Nifty новини"
5251
+
5252
+ #: wp-live-chat-support/wp-live-chat-support.php:5054
5253
+ msgid ""
5254
+ "Create and send newsletters, automatic post notifications and autoresponders "
5255
+ "that are modern and beautiful with Nifty Newsletters."
5256
+ msgstr ""
5257
+ "Създайте и изпратете информационен бюлетин, автоматична пост нотификация и "
5258
+ "автоматичен отговор, по естетичен и модерен начин с Nifty Newsletters."
5259
+
5260
+ #: wp-live-chat-support/wp-live-chat-support.php:5088
5261
+ msgid "Price:"
5262
+ msgstr "Цена:"
5263
+
5264
+ #: wp-live-chat-support/wp-live-chat-support.php:5090
5265
+ msgid "Free"
5266
+ msgstr "Безплатно"
5267
+
5268
+ #: wp-live-chat-support/wp-live-chat-support.php:5091
5269
+ msgid "Paid"
5270
+ msgstr "Платено"
5271
+
5272
+ #: wp-live-chat-support/wp-live-chat-support.php:5094
5273
+ msgid "For:"
5274
+ msgstr "За:"
5275
+
5276
+ #: wp-live-chat-support/wp-live-chat-support.php:5095
5277
+ msgid "Both"
5278
+ msgstr "Двете"
5279
+
5280
+ #: wp-live-chat-support/wp-live-chat-support.php:5096
5281
+ msgid "Free version"
5282
+ msgstr "Безплатна версия"
5283
+
5284
+ #: wp-live-chat-support/wp-live-chat-support.php:5097
5285
+ msgid "Pro version"
5286
+ msgstr "Професионална версия"
5287
+
5288
+ #: wp-live-chat-support/wp-live-chat-support.php:5129
5289
+ msgid "Already installed"
5290
+ msgstr "Вече е инсталирано"
5291
+
5292
+ #: wp-live-chat-support/wp-live-chat-support.php:5158
5293
+ msgid "WP Live Chat Support"
5294
+ msgstr "WP Live Chat Support"
5295
+
5296
+ #: wp-live-chat-support/wp-live-chat-support.php:5163
5297
+ msgid ""
5298
+ "Getting started? Read through some of these articles to help you along your "
5299
+ "way."
5300
+ msgstr "Сега започваш? Прочети тези полезни теми."
5301
+
5302
+ #: wp-live-chat-support/wp-live-chat-support.php:5164
5303
+ msgid "Documentation:"
5304
+ msgstr "Документация:"
5305
+
5306
+ #: wp-live-chat-support/wp-live-chat-support.php:5166
5307
+ msgid "Minimum System Requirements"
5308
+ msgstr "Минимални системни изисквания"
5309
+
5310
+ #: wp-live-chat-support/wp-live-chat-support.php:5167
5311
+ msgid "Do I have to be logged into the dashboard to chat with visitors?"
5312
+ msgstr ""
5313
+ "Трябва ли да съм вписан основното табло на сайта, за да мога да разговарям с "
5314
+ "посетителите?"
5315
+
5316
+ #: wp-live-chat-support/wp-live-chat-support.php:5168
5317
+ msgid "What are Quick Responses?"
5318
+ msgstr "Какво са Бързи Отговори?"
5319
+
5320
+ #: wp-live-chat-support/wp-live-chat-support.php:5169
5321
+ msgid "Can I use this plugin on my multi-site?"
5322
+ msgstr "Мога ли да използвам този плъгин в моя мулти-сайт?"
5323
+
5324
+ #: wp-live-chat-support/wp-live-chat-support.php:5170
5325
+ msgid "How do I disable APC Object Cache?"
5326
+ msgstr "Как да деактивирам APC Object Cache?"
5327
+
5328
+ #: wp-live-chat-support/wp-live-chat-support.php:5171
5329
+ msgid "Do you have a mobile app?"
5330
+ msgstr "Имате ли мобилно приложение?"
5331
+
5332
+ #: wp-live-chat-support/wp-live-chat-support.php:5172
5333
+ msgid "How do I check for JavaScript errors on my site?"
5334
+ msgstr "Как да проверя за JavaScript грешки в сайта ми?"
5335
+
5336
+ #: wp-live-chat-support/wp-live-chat-support.php:5176
5337
+ msgid "Troubleshooting"
5338
+ msgstr "Отстраняване на проблеми"
5339
+
5340
+ #: wp-live-chat-support/wp-live-chat-support.php:5178
5341
+ msgid ""
5342
+ "WP Live Chat Support has a diverse and wide range of features which may, "
5343
+ "from time to time, run into conflicts with the thousands of themes and other "
5344
+ "plugins on the market."
5345
+ msgstr ""
5346
+ "WP Live Chat Support има богат набор от различни екстри, които е възможно, "
5347
+ "от време на време, да влизат в конфликт с част от някоя от хилядите теми и "
5348
+ "надграждания на пазара."
5349
+
5350
+ #: wp-live-chat-support/wp-live-chat-support.php:5179
5351
+ msgid "Common issues:"
5352
+ msgstr "Често срещани проблеми:"
5353
+
5354
+ #: wp-live-chat-support/wp-live-chat-support.php:5181
5355
+ msgid "The chat box doesnt show up"
5356
+ msgstr "Chat box-а не се показва"
5357
+
5358
+ #: wp-live-chat-support/wp-live-chat-support.php:5182
5359
+ msgid "The chat window disappears when I logout or go offline"
5360
+ msgstr ""
5361
+ "Прозореца на чата изчезва когато се отпиша от профила или отида извън линия"
5362
+
5363
+ #: wp-live-chat-support/wp-live-chat-support.php:5183
5364
+ msgid "This chat has already been answered. Please close the chat window"
5365
+ msgstr "Не получавам никакви известия при нов чат"
5366
+
5367
+ #: wp-live-chat-support/wp-live-chat-support.php:5184
5368
+ msgid "Messages only show when I refresh the chat window"
5369
+ msgstr "Съобщението се показва само след обновяване на чат прозореца"
5370
+
5371
+ #: wp-live-chat-support/wp-live-chat-support.php:5185
5372
+ msgid "I'm not getting any notifications of a new chat"
5373
+ msgstr "Не получавам нотификации при иницииране на нов чат"
5374
+
5375
+ #: wp-live-chat-support/wp-live-chat-support.php:5186
5376
+ msgid "The chat window never goes offline"
5377
+ msgstr "Прозореца на чата никога преминава в офлайн режим"
5378
+
5379
+ #: wp-live-chat-support/wp-live-chat-support.php:5192
5380
+ msgid "Still need help? Use one of these links below."
5381
+ msgstr "Все още имаш нужда от помощ? Използвай някой от линковете отдолу."
5382
+
5383
+ #: wp-live-chat-support/wp-live-chat-support.php:5194
5384
+ msgid "Support desk"
5385
+ msgstr "Бюро поддръжка"
5386
+
5387
+ #: wp-live-chat-support/wp-live-chat-support.php:5231
5388
+ msgid "Initiate Chats"
5389
+ msgstr "Инициализирай чат"
5390
+
5391
+ #: wp-live-chat-support/wp-live-chat-support.php:5232
5392
+ msgid "Multiple Chats"
5393
+ msgstr "Многобройни чатове"
5394
+
5395
+ #: wp-live-chat-support/wp-live-chat-support.php:5232
5396
+ msgid "accept and handle multiple chats."
5397
+ msgstr "приемай и отговаряй на много чатове."
5398
+
5399
+ #: wp-live-chat-support/wp-live-chat-support.php:5256
5400
+ #, php-format
5401
+ msgid ""
5402
+ "Thank you for using <a href=\"%1$s\" target=\"_blank\">WP Live Chat Support</"
5403
+ "a>! Please <a href=\"%2$s\" target=\"_blank\">rate us</a> on <a href=\"%2$s"
5404
+ "\" target=\"_blank\">WordPress.org</a>"
5405
+ msgstr ""
5406
+ "Благодарим ви, че използвате <a href=\"%1$s\" target=\"_blank\">WP Live чат "
5407
+ "съпорт</a>! Моля <a href=\"%2$s\" target=\"_blank\">оценете ни</a> на <a "
5408
+ "href=\"%2$s\" target=\"_blank\">WordPress.org</a>"
5409
+
5410
+ #: wp-live-chat-support/wp-live-chat-support.php:5261
5411
+ msgid "WP Live Chat Support is a product of"
5412
+ msgstr "WP Live Chat Support е продукт на"
5413
+
5414
+ #: wp-live-chat-support/wp-live-chat-support.php:5382
5415
+ msgid "Add as many agents as you need with the "
5416
+ msgstr "Добавете колкото оператора са ви необходими с "
5417
+
5418
+ #: wp-live-chat-support/wp-live-chat-support.php:5382
5419
+ msgid "Pro version."
5420
+ msgstr "Професионалната версия."
5421
+
5422
+ #: wp-live-chat-support/wp-live-chat-support.php:5386
5423
+ #, php-format
5424
+ msgid "Change the default chat agent from <strong>%1$s</strong> to "
5425
+ msgstr "Променете шаблон за чат агенти от <strong>%1$s</strong> на "
5426
+
5427
+ #: wp-live-chat-support/wp-live-chat-support.php:5544
5428
+ msgid "Verify"
5429
+ msgstr "Провери"
5430
+
5431
+ #: wp-live-chat-support/wp-live-chat-support.php:5547
5432
+ msgid "Status: "
5433
+ msgstr "Статус: "
5434
+
5435
+ #: wp-live-chat-support/wp-live-chat-support.php:5550
5436
+ msgid "Valid"
5437
+ msgstr "Валиден"
5438
+
5439
+ #: wp-live-chat-support/wp-live-chat-support.php:5551
5440
+ #: wp-live-chat-support/wp-live-chat-support.php:5555
5441
+ msgid "Manage this extension"
5442
+ msgstr "Управление на тази приставка"
5443
+
5444
+ #: wp-live-chat-support/wp-live-chat-support.php:5554
5445
+ msgid "Invalid"
5446
+ msgstr "Невалидно"
5447
+
5448
+ #: wp-live-chat-support/wp-live-chat-support.php:5560
5449
+ msgid "Linked Domains"
5450
+ msgstr "Свързани домейни"
5451
+
5452
+ #: wp-live-chat-support/wp-live-chat-support.php:5599
5453
+ #: wp-live-chat-support/wp-live-chat-support.php:5653
5454
+ msgid ""
5455
+ "Get unlimited agents, initiate chats, advanced chat box control, encryption "
5456
+ "and more with the Pro add-on."
5457
+ msgstr ""
5458
+ "Неограничен брой оператори, инициализиране на чат, подробен chat box "
5459
+ "контрол, криптиране и много други с Pro add-on-а."
5460
+
5461
+ #: wp-live-chat-support/wp-live-chat-support.php:5601
5462
+ #: wp-live-chat-support/wp-live-chat-support.php:5628
5463
+ #: wp-live-chat-support/wp-live-chat-support.php:5655
5464
+ msgid "Get this extension"
5465
+ msgstr "Вземи това разширение"
5466
+
5467
+ #: wp-live-chat-support/wp-live-chat-support.php:5617
5468
+ msgid "Mobile & Desktop App"
5469
+ msgstr "Настолни и Мобилни приложения"
5470
+
5471
+ #: wp-live-chat-support/wp-live-chat-support.php:5626
5472
+ msgid ""
5473
+ "Answer chats directly from your mobile phone or desktop with our mobile app "
5474
+ "and desktop client"
5475
+ msgstr ""
5476
+ "Отговаряй на чат директно от мобилния си телефон или персонален компютър със "
5477
+ "съответните ни клиентски приложения"
5478
+
5479
+ #: wp-live-chat-support/wp-live-chat-support.php:5673
5480
+ #: wp-live-chat-support/wp-live-chat-support.php:5694
5481
+ msgid "Relevant Extensions"
5482
+ msgstr "Приложими приставки"
5483
+
5484
+ #: wp-live-chat-support/wp-live-chat-support.php:5719
5485
+ msgid "Powered By WP Live Chat Support"
5486
+ msgstr "Захранено от WP Live Chat Support"
5487
+
5488
+ #: wp-live-chat-support/wp-live-chat-support.php:5898
5489
+ msgid ""
5490
+ "Your API Key is Invalid. You are not eligible for future updates. Please "
5491
+ "enter your API key <a href=\"admin.php?page=wplivechat-menu-api-keys-page"
5492
+ "\">here</a>."
5493
+ msgstr ""
5494
+ "API ключа е невалиден. Бъдещите обновления няма да бъдат невъзможни. Моля "
5495
+ "добавете нов API ключ <a href=\"admin.php?page=wplivechat-menu-api-keys-page"
5496
+ "\">тук</a>."
5497
+
5498
+ #: wp-live-chat-support/wp-live-chat-support.php:6021
5499
+ msgid "Advanced settings"
5500
+ msgstr "Разширени настройки"
5501
+
5502
+ #: wp-live-chat-support/wp-live-chat-support.php:6031
5503
+ msgid "Only change these settings if you are experiencing performance issues."
5504
+ msgstr ""
5505
+ "Променяйте тези настройки само ако изпитвате затруднения с "
5506
+ "производителността."
5507
+
5508
+ #: wp-live-chat-support/wp-live-chat-support.php:6038
5509
+ msgid "What type of environment are you on?"
5510
+ msgstr "На какъв тип платформа сте?"
5511
+
5512
+ #: wp-live-chat-support/wp-live-chat-support.php:6042
5513
+ msgid "Shared hosting - low level plan"
5514
+ msgstr "Споделен услуга - План от ниско ниво"
5515
+
5516
+ #: wp-live-chat-support/wp-live-chat-support.php:6043
5517
+ msgid "Shared hosting - normal plan"
5518
+ msgstr "Споделена услуга - нормален план"
5519
+
5520
+ #: wp-live-chat-support/wp-live-chat-support.php:6044
5521
+ msgid "VPS"
5522
+ msgstr "VP"
5523
+
5524
+ #: wp-live-chat-support/wp-live-chat-support.php:6045
5525
+ msgid "Dedicated server"
5526
+ msgstr "Отделен сървър"
5527
+
5528
+ #: wp-live-chat-support/wp-live-chat-support.php:6051
5529
+ msgid "Long poll setup"
5530
+ msgstr "Виртуален клъстер"
5531
+
5532
+ #: wp-live-chat-support/wp-live-chat-support.php:6051
5533
+ msgid ""
5534
+ "Only change these if you are an experienced developer or if you have "
5535
+ "received these figures from the Code Cabin Support team."
5536
+ msgstr "Разширени настройки. Променяни само от опитни разработчици."
5537
+
5538
+ #: wp-live-chat-support/wp-live-chat-support.php:6059
5539
+ msgid "Iterations"
5540
+ msgstr "Повторения"
5541
+
5542
+ #: wp-live-chat-support/wp-live-chat-support.php:6063
5543
+ msgid "Sleep between iterations"
5544
+ msgstr "Изчакване между повторенията"
5545
+
5546
+ #: wp-live-chat-support/wp-live-chat-support.php:6066
5547
+ msgid "microseconds"
5548
+ msgstr "микросекунди"
5549
+
5550
+ #: wp-live-chat-support/wp-live-chat-support.php:6092
5551
+ msgid "View comprehensive reports regarding your chat and agent activity."
5552
+ msgstr "Извадка за активността на чата и агентите."
5553
+
5554
+ #: wp-live-chat-support/wp-live-chat-support.php:6095
5555
+ msgid "Reports"
5556
+ msgstr "Извадки"
5557
+
5558
+ #: wp-live-chat-support/wp-live-chat-support.php:6097
5559
+ msgid "Chat statistics"
5560
+ msgstr "Чат статистики"
5561
+
5562
+ #: wp-live-chat-support/wp-live-chat-support.php:6098
5563
+ msgid "Popular pages"
5564
+ msgstr "Популярни страници"
5565
+
5566
+ #: wp-live-chat-support/wp-live-chat-support.php:6099
5567
+ msgid ""
5568
+ "ROI reporting and tracking (identify which agents produce the most sales)"
5569
+ msgstr ""
5570
+ "Извадка за възвръщане на инвестициите и проследяване (идентифициране кои "
5571
+ "оператори са направили най-много продажби)"
5572
+
5573
+ #: wp-live-chat-support/wp-live-chat-support.php:6100
5574
+ msgid ""
5575
+ "User experience ratings (identify which agents produce the happiest "
5576
+ "customers)"
5577
+ msgstr ""
5578
+ "Потребителски рейтинг (идентифициране на операторите направили клиентите "
5579
+ "най-щастливи)"
5580
+
5581
+ #: wp-live-chat-support/wp-live-chat-support.php:6110
5582
+ #: wp-live-chat-support/wp-live-chat-support.php:6175
5583
+ #: wp-live-chat-support/wp-live-chat-support.php:6213
5584
+ msgid "Get all this and more in the "
5585
+ msgstr "Вземете всичко това и още много в "
5586
+
5587
+ #: wp-live-chat-support/wp-live-chat-support.php:6110
5588
+ #: wp-live-chat-support/wp-live-chat-support.php:6175
5589
+ #: wp-live-chat-support/wp-live-chat-support.php:6213
5590
+ msgid "Pro add-on"
5591
+ msgstr "Професионалната версия"
5592
+
5593
+ #: wp-live-chat-support/wp-live-chat-support.php:6111
5594
+ #: wp-live-chat-support/wp-live-chat-support.php:6176
5595
+ #: wp-live-chat-support/wp-live-chat-support.php:6214
5596
+ msgid "Upgrade Now"
5597
+ msgstr "Актуализирай сега"
5598
+
5599
+ #: wp-live-chat-support/wp-live-chat-support.php:6157
5600
+ msgid ""
5601
+ "Create custom data triggers when users view a certain page, spend a certain "
5602
+ "amount of time on a page, scroll past a certain point or when their mouse "
5603
+ "leaves the window."
5604
+ msgstr ""
5605
+ "Направи сециални стартери когато потребител прегледа определена страница, "
5606
+ "прекара определено време на страница, навигира до определена точка или "
5607
+ "когато мишката им напусна прозореца."
5608
+
5609
+ #: wp-live-chat-support/wp-live-chat-support.php:6160
5610
+ msgid "Trigger Types"
5611
+ msgstr "Типове Стартери"
5612
+
5613
+ #: wp-live-chat-support/wp-live-chat-support.php:6199
5614
+ msgid ""
5615
+ "Create custom fields, allowing your visitors to enter the data you need "
5616
+ "before starting a chat."
5617
+ msgstr ""
5618
+ "Създаване на персонализирани полета, което позволява на посетителите да "
5619
+ "въведат необходимите данни преди да започнете чата."
5620
+
5621
+ #: wp-live-chat-support/wp-live-chat-support.php:6200
5622
+ msgid "Custom Field Types"
5623
+ msgstr "Видове персонализирани полета"
5624
+
5625
+ #: wp-live-chat-support/wp-live-chat-support.php:6202
5626
+ msgid "Text Fields"
5627
+ msgstr "Текстови полета"
5628
+
5629
+ #: wp-live-chat-support/wp-live-chat-support.php:6203
5630
+ msgid "Dropdown Fields"
5631
+ msgstr "Падащи полета"
5632
+
5633
+ #: wp-live-chat-support/wp-live-chat-support.php:6234
5634
+ msgid "Display a 'Powered by' link in the chat box"
5635
+ msgstr "Покажи 'Powered by' линк в chat box-а"
5636
+
5637
+ #: wp-live-chat-support/wp-live-chat-support.php:6234
5638
+ msgid ""
5639
+ "Checking this will display a 'Powered by WP Live Chat Support' caption at "
5640
+ "the bottom of your chatbox."
5641
+ msgstr ""
5642
+ "Отбелязвайки това ще се появи надпис 'Powered by WP Live Chat Support' в "
5643
+ "долната част на chat box-а."
5644
+
5645
+ #: wp-live-chat-support/wp-live-chat-support.php:6276
5646
+ msgid "Powered by WP Live Chat Support"
5647
+ msgstr "Powered by WP Live Chat Support"
5648
+
5649
+ #: wp-live-chat-support/wp-live-chat-support.php:6314
5650
+ #: wp-live-chat-support/wp-live-chat-support.php:6334
5651
+ msgid "Custom Scripts"
5652
+ msgstr "Персонализирани скриптове"
5653
+
5654
+ #: wp-live-chat-support/wp-live-chat-support.php:6338
5655
+ msgid "Custom CSS"
5656
+ msgstr "Персонални CSS"
5657
+
5658
+ #: wp-live-chat-support/wp-live-chat-support.php:6343
5659
+ msgid "Custom JS"
5660
+ msgstr "Персонални JS"
5661
+
5662
+ #: wp-live-chat-support/wp-live-chat-support.php:6422
5663
+ #, php-format
5664
+ msgid ""
5665
+ "WP Live Chat Support requires WP Live Chat Support Pro Version 7.0.0 or "
5666
+ "greater in order for departments to function as expected. Please update WP "
5667
+ "Live Chat Support %s"
5668
+ msgstr ""
5669
+ "WP Live Chat Support Pro изисква WP Live Chat Support Версия 7.0.0 или по-"
5670
+ "висока, за да могат отделите да функционират според очакванията. Моля, "
5671
+ "актуализирайте WP Live Chat Support %s"
5672
+
5673
+ #: wp-live-chat-support/wp-live-chat-support.php:6436
5674
+ msgid "Please update your Pro version to create a department"
5675
+ msgstr "Моля, обновете Вашата Pro версия, за да създадете отдел"
5676
+
5677
+ #: wp-live-chat-support/wp-live-chat-support.php:6451
5678
+ #, php-format
5679
+ msgid ""
5680
+ "The Live Chat box is currently disabled on your website due to : <a href=\"%s"
5681
+ "\">General Settings</a>"
5682
+ msgstr ""
5683
+ "Live Chat box-а в момента е неактивен във вашия сайт поради: <a href=\"%s"
5684
+ "\">Общи настройки</a>"
5685
+
5686
+ #: wp-live-chat-support/wp-live-chat-support.php:6571
5687
+ msgid "Deprecation Notice"
5688
+ msgstr "Известие за оплакване"
5689
+
5690
+ #: wp-live-chat-support/wp-live-chat-support.php:6572
5691
+ msgid ""
5692
+ "Please note, missed chat functionality is being deprecated as we will be "
5693
+ "moving to a customer oriented system in the near future. "
5694
+ msgstr ""
5695
+ "Моля, обърнете внимание, че пропуснатата функционалност на чата се отхвърля, "
5696
+ "тъй като в близко бъдеще ще преминем към ориентирана към клиента система. "
5697
+
5698
+ #: wp-live-chat-support/wp-live-chat-support.php:6573
5699
+ msgid ""
5700
+ "The new system will offer more insight into your user base while enhancing "
5701
+ "your experience when retrieving statistics and information. "
5702
+ msgstr ""
5703
+ "Новата система ще предложи по-добра представа за потребителската ви база, "
5704
+ "като същевременно ще подобри възможността ви при извличане на статистически "
5705
+ "данни и информация. "
5706
+
5707
+ #: wp-live-chat-support/wp-live-chat-support.php:6574
5708
+ msgid ""
5709
+ "This area will remain active for the time being, however it is recommended "
5710
+ "that you prepare for this change in the near future. "
5711
+ msgstr ""
5712
+ "Това поле ще остане активно, въпреки това препоръчваме да си подготвите за "
5713
+ "тези премени в бъдеще. "
5714
+
5715
+ #: wp-live-chat-support/wp-live-chat-support.php:6615
5716
+ msgid ""
5717
+ "Please deactivate WP Live Chat Suport - Email Transcript plugin. Since WP "
5718
+ "Live Chat Support 8.0.05 there is build in support for Email Transcript."
5719
+ msgstr ""
5720
+ "Моля, деактивирайте WP Live Chat Support - плъгин за електронна поща. От WP "
5721
+ "Live Chat Support 8.0.05 има вграден Email Transcript."
5722
+
5723
+ #: wp-live-chat-support/wp-live-chat-support.php:6628
5724
+ #, php-format
5725
+ msgid ""
5726
+ "Thank you for chatting with us. If you have any questions, please <a href="
5727
+ "\"%1$s\" target=\"_blank\" style=\"font-family: Arial, Helvetica, sans-"
5728
+ "serif; font-size: 13px; color: #FFF; font-weight: bold; text-decoration: "
5729
+ "underline;\">contact us</a>"
5730
+ msgstr ""
5731
+ "Благодарим ви, че се свързахте с нас. Ако имате още въпроси, моля <a href="
5732
+ "\"%1$s\" target=\"_blank\" style=\"font-family: Arial, Helvetica, sans-"
5733
+ "serif; font-size: 13px; color: #FFF; font-weight: bold; text-decoration: "
5734
+ "underline;\">свържете се с нас</a>"
5735
+
5736
+ #: wp-live-chat-support/wp-live-chat-support.php:6645
5737
+ msgid "Email transcript to user"
5738
+ msgstr "Изпращане на скрипт към потребителя"
5739
+
5740
+ #: wp-live-chat-support/wp-live-chat-support.php:6729
5741
+ #, php-format
5742
+ msgid "Your chat transcript from %1$s"
5743
+ msgstr "Твоя чат скрипт към %1$s"
5744
+
5745
+ #: wp-live-chat-support/wp-live-chat-support.php:6858
5746
+ msgid "Chat Transcript Settings"
5747
+ msgstr "Transcript настройки на чата"
5748
+
5749
+ #: wp-live-chat-support/wp-live-chat-support.php:6861
5750
+ msgid "Enable chat transcripts:"
5751
+ msgstr "Активирай чат скриптове:"
5752
+
5753
+ #: wp-live-chat-support/wp-live-chat-support.php:6872
5754
+ msgid "Send transcripts to:"
5755
+ msgstr "Изпрати скрипт към:"
5756
+
5757
+ #: wp-live-chat-support/wp-live-chat-support.php:6879
5758
+ msgid "User"
5759
+ msgstr "Потребителско име"
5760
+
5761
+ #: wp-live-chat-support/wp-live-chat-support.php:6890
5762
+ msgid "Send transcripts when chat ends:"
5763
+ msgstr "Изправете скрипт когато чата приключи:"
5764
+
5765
+ #: wp-live-chat-support/wp-live-chat-support.php:6901
5766
+ msgid "Email body"
5767
+ msgstr "Е-майл тяло"
5768
+
5769
+ #: wp-live-chat-support/wp-live-chat-support.php:6913
5770
+ msgid "Email header"
5771
+ msgstr "Е-майл хедър"
5772
+
5773
+ #: wp-live-chat-support/wp-live-chat-support.php:6924
5774
+ msgid "Email footer"
5775
+ msgstr "Е-майл футър"
5776
+
5777
+ #~ msgid "Chat functionality has been paused."
5778
+ #~ msgstr "Функция чат, на пауза..."
5779
+
5780
+ #~ msgid ""
5781
+ #~ "Please enter your verified API key in the <a href=\"admin.php?"
5782
+ #~ "page=wplivechat-menu-api-keys-page\">API Keys page</a> to activate the "
5783
+ #~ "cloud based functionality."
5784
+ #~ msgstr ""
5785
+ #~ "Моля въведете ваш верифициран API ключ в <a href=\"admin.php?"
5786
+ #~ "page=wplivechat-menu-api-keys-page\">Страница API Keys</a> за да "
5787
+ #~ "активирате облачните услуги."
5788
+
5789
+ #~ msgid "Are you sure you would like to delete chat history?"
5790
+ #~ msgstr "Изтриване на чат историята?"
5791
+
5792
+ #~ msgid "Are you sure you would like to delete all missed chats?"
5793
+ #~ msgstr "Изтриване на пропуснат чат?"
5794
+
5795
+ #~ msgid ""
5796
+ #~ "You are currently using our <strong>cloud server</strong> to handle your "
5797
+ #~ "chat requests and live chat sessions.<br /><br />To disable this, please "
5798
+ #~ "deactivate the WP Live Chat Support - Cloud Server plugin."
5799
+ #~ msgstr ""
5800
+ #~ "В момента ползвате наш <strong>облачен сървър</strong> за обработка на "
5801
+ #~ "чат сесии.<br /><br />За да забраните това, моля деактивирайте WP Live "
5802
+ #~ "Chat Support - Cloud Server plugin."
5803
+
5804
+ #~ msgid ""
5805
+ #~ "Users will have to enter their Name and Email Address when starting a chat"
5806
+ #~ msgstr ""
5807
+ #~ "Потребителите ще трябва да попълнят Име и Електронна поща преди да "
5808
+ #~ "стартират чат"
5809
+
5810
+ #~ msgid "You are currently accepting chats"
5811
+ #~ msgstr "В момента приемаш чат сесии"
5812
+
5813
+ #~ msgid "Your Name"
5814
+ #~ msgstr "Име"
5815
+
5816
+ #~ msgid "Your Email"
5817
+ #~ msgstr "Електронна поща"
5818
+
5819
+ #~ msgid "Version 6"
5820
+ #~ msgstr "Версия 6"
5821
+
5822
+ #~ msgid "The most popular live chat plugin!"
5823
+ #~ msgstr "Най - популярната чат приставка!"
5824
+
5825
+ #~ msgid "Rest API"
5826
+ #~ msgstr "REST API"
5827
+
5828
+ #~ msgid "Option"
5829
+ #~ msgstr "Опция"
5830
+
5831
+ #~ msgid ""
5832
+ #~ "There was a problem sending your feedback. Please log your feedback on "
5833
+ #~ msgstr ""
5834
+ #~ "Възникна проблем при изпращането на обратната връзка. Моля запишете "
5835
+ #~ "обратната връзка на "
5836
+
5837
+ #~ msgid ""
5838
+ #~ "Reduce the resources required by your server - use our cloud server to "
5839
+ #~ "host your chats."
5840
+ #~ msgstr ""
5841
+ #~ "Намали ресурсните изисквания към сървъра си, използвайки наша облачна "
5842
+ #~ "система."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/wplivechat-si-Sl.mo ADDED
Binary file
languages/wplivechat-si-Sl.po ADDED
@@ -0,0 +1,3268 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: wplivechat\n"
4
+ "POT-Creation-Date: 2016-10-27 12:02+0200\n"
5
+ "PO-Revision-Date: 2019-02-26 14:18+0200\n"
6
+ "Language-Team: GreenInn\n"
7
+ "MIME-Version: 1.0\n"
8
+ "Content-Type: text/plain; charset=UTF-8\n"
9
+ "Content-Transfer-Encoding: 8bit\n"
10
+ "X-Generator: Poedit 2.0.4\n"
11
+ "X-Poedit-KeywordsList: _;gettext;gettext_noop;__;_e\n"
12
+ "X-Poedit-Basepath: ../..\n"
13
+ "Last-Translator: \n"
14
+ "Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100>=3 && n"
15
+ "%100<=4 ? 2 : 3);\n"
16
+ "Language: sl\n"
17
+ "X-Poedit-SearchPath-0: wp-live-chat-support/ajax_new.php\n"
18
+ "X-Poedit-SearchPath-1: wp-live-chat-support/functions.php\n"
19
+ "X-Poedit-SearchPath-2: wp-live-chat-support/wp-live-chat-support.php\n"
20
+ "X-Poedit-SearchPath-3: wp-live-chat-support/modules/api/wplc-api.php\n"
21
+ "X-Poedit-SearchPath-4: wp-live-chat-support/modules/api/wplc-api-functions."
22
+ "php\n"
23
+ "X-Poedit-SearchPath-5: wp-live-chat-support/modules/api/wplc-api-routes.php\n"
24
+ "X-Poedit-SearchPath-6: wp-live-chat-support/includes/deprecated.php\n"
25
+ "X-Poedit-SearchPath-7: wp-live-chat-support/includes/feedback-page.php\n"
26
+ "X-Poedit-SearchPath-8: wp-live-chat-support/includes/Mobile_Detect.php\n"
27
+ "X-Poedit-SearchPath-9: wp-live-chat-support/includes/settings_page.php\n"
28
+ "X-Poedit-SearchPath-10: wp-live-chat-support/includes/surveys.php\n"
29
+ "X-Poedit-SearchPath-11: wp-live-chat-support/includes/update_control.class."
30
+ "php\n"
31
+ "X-Poedit-SearchPath-12: wp-live-chat-support/includes/welcome_page.php\n"
32
+ "X-Poedit-SearchPath-13: wp-live-chat-support-pro/ajax-pro.php\n"
33
+ "X-Poedit-SearchPath-14: wp-live-chat-support-pro/ajax-pro-xmp.php\n"
34
+ "X-Poedit-SearchPath-15: wp-live-chat-support-pro/functions-external.php\n"
35
+ "X-Poedit-SearchPath-16: wp-live-chat-support-pro/functions-pro.php\n"
36
+ "X-Poedit-SearchPath-17: wp-live-chat-support-pro/wp-live-chat-support-pro."
37
+ "php\n"
38
+ "X-Poedit-SearchPath-18: wp-live-chat-support-pro/includes/aes_fast.php\n"
39
+ "X-Poedit-SearchPath-19: wp-live-chat-support-pro/includes/cryptoHelpers.php\n"
40
+ "X-Poedit-SearchPath-20: wp-live-chat-support-pro/includes/settings_page_pro."
41
+ "php\n"
42
+ "X-Poedit-SearchPath-21: wp-live-chat-support-pro/includes/wplc_data_triggers."
43
+ "php\n"
44
+ "X-Poedit-SearchPath-22: wp-live-chat-support-pro/includes/wplc_roi.php\n"
45
+ "X-Poedit-SearchPath-23: wp-live-chat-support-mobile-and-desktop-app/includes/"
46
+ "update_control.php\n"
47
+ "X-Poedit-SearchPath-24: wp-live-chat-support-mobile-and-desktop-app/wp-live-"
48
+ "chat-support-mobile-and-desktop-app.php\n"
49
+ "X-Poedit-SearchPath-25: wp-live-chat-support-cloud-server/wp-live-chat-"
50
+ "support-cloud-server.php\n"
51
+ "X-Poedit-SearchPath-26: wp-live-chat-support-cloud-server/includes/functions-"
52
+ "external.php\n"
53
+ "X-Poedit-SearchPath-27: wp-live-chat-support-cloud-server/includes/"
54
+ "update_control.php\n"
55
+
56
+ #: wp-live-chat-support-cloud-server/includes/update_control.php:43
57
+ #: wp-live-chat-support-cloud-server/wp-live-chat-support-cloud-server.php:59
58
+ #: wp-live-chat-support-cloud-server/wp-live-chat-support-cloud-server.php:371
59
+ #: wp-live-chat-support-cloud-server/wp-live-chat-support-cloud-server.php:393
60
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:98
61
+ #: wp-live-chat-support/wp-live-chat-support.php:4002
62
+ msgid "Cloud Server"
63
+ msgstr "Strežnik v oblaku"
64
+
65
+ #: wp-live-chat-support-cloud-server/includes/update_control.php:118
66
+ #: wp-live-chat-support-mobile-and-desktop-app/includes/update_control.php:109
67
+ #: wp-live-chat-support/includes/update_control.class.php:122
68
+ msgid ""
69
+ "An Unexpected HTTP Error occurred during the API request.</p> <p><a href=\"?"
70
+ "\" onclick=\"document.location.reload(); return false;\">Try again</a>"
71
+ msgstr ""
72
+ "Prišlo je do epričakovane HTTP Napake med API zahtevkom.</p> <p><a href=“?” "
73
+ "onclick=“document.location.reload(); return false;”>Poskusi ponovno</a>"
74
+
75
+ #: wp-live-chat-support-cloud-server/includes/update_control.php:123
76
+ #: wp-live-chat-support-mobile-and-desktop-app/includes/update_control.php:114
77
+ #: wp-live-chat-support/includes/update_control.class.php:127
78
+ msgid "An unknown error occurred"
79
+ msgstr "Zgodila se je neznana napaka"
80
+
81
+ #: wp-live-chat-support-cloud-server/wp-live-chat-support-cloud-server.php:73
82
+ msgid "Chat functionality has been paused."
83
+ msgstr "Funkcionalnosti klepeta so bile zaustavljene."
84
+
85
+ #: wp-live-chat-support-cloud-server/wp-live-chat-support-cloud-server.php:74
86
+ msgid ""
87
+ "Please enter your verified API key in the <a href=\"admin.php?"
88
+ "page=wplivechat-menu-api-keys-page\">API Keys page</a> to activate the cloud "
89
+ "based functionality."
90
+ msgstr ""
91
+ "Prosim vpiši preverjen API ključ v<a href=“admin.php?page=wplivechat-menu-"
92
+ "api-keys-page”>API Ključ stran </a> za aktivacijo funkcionalnosti na oblaku."
93
+
94
+ #: wp-live-chat-support-cloud-server/wp-live-chat-support-cloud-server.php:90
95
+ msgid "Are you sure you would like to delete chat history?"
96
+ msgstr "Ali ste prepričani, da želite izbrisati zgodovino klepeta?"
97
+
98
+ #: wp-live-chat-support-cloud-server/wp-live-chat-support-cloud-server.php:92
99
+ #: wp-live-chat-support-cloud-server/wp-live-chat-support-cloud-server.php:108
100
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:135
101
+ #: wp-live-chat-support/functions.php:1609
102
+ #: wp-live-chat-support/includes/settings_page.php:97
103
+ #: wp-live-chat-support/wp-live-chat-support.php:3062
104
+ msgid "Yes"
105
+ msgstr "Da"
106
+
107
+ #: wp-live-chat-support-cloud-server/wp-live-chat-support-cloud-server.php:93
108
+ #: wp-live-chat-support-cloud-server/wp-live-chat-support-cloud-server.php:109
109
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:138
110
+ #: wp-live-chat-support/functions.php:1609
111
+ #: wp-live-chat-support/includes/settings_page.php:98
112
+ #: wp-live-chat-support/wp-live-chat-support.php:3062
113
+ msgid "No"
114
+ msgstr "Ne"
115
+
116
+ #: wp-live-chat-support-cloud-server/wp-live-chat-support-cloud-server.php:106
117
+ msgid "Are you sure you would like to delete all missed chats?"
118
+ msgstr "Ali si prepričan, da želiš izbrisati ves neodgovorjen klepet?"
119
+
120
+ #: wp-live-chat-support-cloud-server/wp-live-chat-support-cloud-server.php:374
121
+ msgid ""
122
+ "You are currently using our <strong>cloud server</strong> to handle your "
123
+ "chat requests and live chat sessions.<br /><br />To disable this, please "
124
+ "deactivate the WP Live Chat Support - Cloud Server plugin."
125
+ msgstr ""
126
+ "Trenutno uporabljaš naš <strong>oblačni strežnik</strong> za obravnavo "
127
+ "zahtevkov za klepet in sej klepeta v živo.<br /><br />Če želite to "
128
+ "onemogočiti, izključite WP Live Chat Support - vtičnik v oblaku."
129
+
130
+ #: wp-live-chat-support-mobile-and-desktop-app/includes/update_control.php:38
131
+ #: wp-live-chat-support-mobile-and-desktop-app/wp-live-chat-support-mobile-and-desktop-app.php:47
132
+ msgid "Mobile and Desktop App"
133
+ msgstr "Mobilna in namizna aplikacija"
134
+
135
+ #: wp-live-chat-support-mobile-and-desktop-app/wp-live-chat-support-mobile-and-desktop-app.php:95
136
+ msgid "Mobile and Desktop App Settings"
137
+ msgstr "Nastavitve mobilne in namizne aplikacije"
138
+
139
+ #: wp-live-chat-support-mobile-and-desktop-app/wp-live-chat-support-mobile-and-desktop-app.php:98
140
+ msgid "Enable mobile and desktop app"
141
+ msgstr "Omogoči mobilno in namizno aplikacijo"
142
+
143
+ #: wp-live-chat-support-mobile-and-desktop-app/wp-live-chat-support-mobile-and-desktop-app.php:120
144
+ msgid "App"
145
+ msgstr "Aplikacija"
146
+
147
+ #: wp-live-chat-support-pro/ajax-pro.php:269
148
+ msgid "Guest"
149
+ msgstr "Gost"
150
+
151
+ #: wp-live-chat-support-pro/ajax-pro.php:341
152
+ #: wp-live-chat-support/ajax_new.php:286
153
+ msgid "Admin has closed and ended the chat"
154
+ msgstr "Administrator je zaprl in zaključil klepet"
155
+
156
+ #: wp-live-chat-support-pro/ajax-pro.php:376
157
+ #: wp-live-chat-support/ajax_new.php:310
158
+ msgid "There is No Answer. Please Try Again Later"
159
+ msgstr "NIhče se ne javi. Prosim poskusite kasneje"
160
+
161
+ #: wp-live-chat-support-pro/functions-pro.php:54
162
+ #: wp-live-chat-support-pro/functions-pro.php:173
163
+ #: wp-live-chat-support-pro/functions-pro.php:325
164
+ #: wp-live-chat-support/functions.php:294
165
+ #: wp-live-chat-support/functions.php:486
166
+ #: wp-live-chat-support/modules/api/wplc-api-functions.php:458
167
+ #: wp-live-chat-support/wp-live-chat-support.php:2499
168
+ msgid "IP Address not recorded"
169
+ msgstr "Ip naslov ni posnet"
170
+
171
+ #: wp-live-chat-support-pro/functions-pro.php:56
172
+ #: wp-live-chat-support-pro/functions-pro.php:175
173
+ #: wp-live-chat-support-pro/functions-pro.php:327
174
+ #: wp-live-chat-support/functions.php:296
175
+ #: wp-live-chat-support/functions.php:488
176
+ #: wp-live-chat-support/wp-live-chat-support.php:2501
177
+ msgid "Whois for"
178
+ msgstr "Kdo je za"
179
+
180
+ #: wp-live-chat-support-pro/functions-pro.php:61
181
+ #: wp-live-chat-support-pro/functions-pro.php:333
182
+ #: wp-live-chat-support/functions.php:301
183
+ #: wp-live-chat-support/functions.php:443
184
+ #: wp-live-chat-support/functions.php:1359
185
+ msgid "Accept Chat"
186
+ msgstr "Sprejmi klepet"
187
+
188
+ #: wp-live-chat-support-pro/functions-pro.php:63
189
+ #: wp-live-chat-support-pro/functions-pro.php:335
190
+ #: wp-live-chat-support/functions.php:303
191
+ msgid "Incoming Chat"
192
+ msgstr "Prihajajoči klepet"
193
+
194
+ #: wp-live-chat-support-pro/functions-pro.php:63
195
+ #: wp-live-chat-support-pro/functions-pro.php:335
196
+ #: wp-live-chat-support/functions.php:303
197
+ msgid "You have an incoming chat."
198
+ msgstr "Imate prihajajoči klepet."
199
+
200
+ #: wp-live-chat-support-pro/functions-pro.php:67
201
+ #: wp-live-chat-support/functions.php:448
202
+ msgid "Open Chat"
203
+ msgstr "Odpri klepet"
204
+
205
+ #: wp-live-chat-support-pro/functions-pro.php:69
206
+ #: wp-live-chat-support-pro/functions-pro.php:347
207
+ #: wp-live-chat-support/functions.php:309
208
+ msgid "Chat Active"
209
+ msgstr "Klepet je aktiven"
210
+
211
+ #: wp-live-chat-support-pro/functions-pro.php:69
212
+ #: wp-live-chat-support-pro/functions-pro.php:347
213
+ #: wp-live-chat-support/functions.php:309
214
+ msgid "This chat is active"
215
+ msgstr "Ta klepet je aktiven"
216
+
217
+ #: wp-live-chat-support-pro/functions-pro.php:74
218
+ #: wp-live-chat-support-pro/functions-pro.php:160
219
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2355
220
+ #: wp-live-chat-support/wp-live-chat-support.php:1703
221
+ msgid "Initiate Chat"
222
+ msgstr "Začni klepet"
223
+
224
+ #: wp-live-chat-support-pro/functions-pro.php:76
225
+ #: wp-live-chat-support-pro/functions-pro.php:162
226
+ msgid "You must be a chat agent to initiate chats"
227
+ msgstr "Za pričetek klepeta moraš biti chat agent"
228
+
229
+ #: wp-live-chat-support-pro/functions-pro.php:99
230
+ #: wp-live-chat-support/functions.php:511
231
+ #: wp-live-chat-support/modules/api/wplc-api-functions.php:474
232
+ msgid "New"
233
+ msgstr "Nov"
234
+
235
+ #: wp-live-chat-support-pro/functions-pro.php:101
236
+ #: wp-live-chat-support/functions.php:513
237
+ #: wp-live-chat-support/modules/api/wplc-api-functions.php:476
238
+ msgid "Returning"
239
+ msgstr "Vrnitev"
240
+
241
+ #: wp-live-chat-support-pro/functions-pro.php:143
242
+ msgid "Visitors on site"
243
+ msgstr "Obiskovalci na strani"
244
+
245
+ #: wp-live-chat-support-pro/functions-pro.php:207
246
+ #: wp-live-chat-support-pro/functions-pro.php:377
247
+ #: wp-live-chat-support/functions.php:332
248
+ #: wp-live-chat-support/wp-live-chat-support.php:2536
249
+ msgid "Site Info"
250
+ msgstr "Informacija o strani"
251
+
252
+ #: wp-live-chat-support-pro/functions-pro.php:209
253
+ #: wp-live-chat-support-pro/functions-pro.php:379
254
+ #: wp-live-chat-support/functions.php:334
255
+ #: wp-live-chat-support/wp-live-chat-support.php:2538
256
+ msgid "Chat initiated on:"
257
+ msgstr "Klepet začet na:"
258
+
259
+ #: wp-live-chat-support-pro/functions-pro.php:213
260
+ #: wp-live-chat-support-pro/functions-pro.php:383
261
+ #: wp-live-chat-support/functions.php:338
262
+ #: wp-live-chat-support/wp-live-chat-support.php:2542
263
+ msgid "Advanced Info"
264
+ msgstr "Napredne informacije"
265
+
266
+ #: wp-live-chat-support-pro/functions-pro.php:215
267
+ #: wp-live-chat-support-pro/functions-pro.php:385
268
+ #: wp-live-chat-support/functions.php:340
269
+ #: wp-live-chat-support/wp-live-chat-support.php:2544
270
+ msgid "Browser:"
271
+ msgstr "Brskalnik:"
272
+
273
+ #: wp-live-chat-support-pro/functions-pro.php:216
274
+ #: wp-live-chat-support-pro/functions-pro.php:386
275
+ #: wp-live-chat-support/functions.php:341
276
+ #: wp-live-chat-support/wp-live-chat-support.php:2545
277
+ msgid "IP Address:"
278
+ msgstr "IP naslov:"
279
+
280
+ #: wp-live-chat-support-pro/functions-pro.php:259
281
+ msgid "No visitors on-line at the moment"
282
+ msgstr "Trenutno ni prijavljenih obiskovalcev"
283
+
284
+ #: wp-live-chat-support-pro/functions-pro.php:302
285
+ #: wp-live-chat-support/functions.php:277
286
+ msgid "No chat sessions available at the moment"
287
+ msgstr "Trenutno ni na voljo nobenih sej za klepet"
288
+
289
+ #: wp-live-chat-support-pro/functions-pro.php:304
290
+ #: wp-live-chat-support/functions.php:279
291
+ msgid "Active Chats"
292
+ msgstr "Aktivni klepeti"
293
+
294
+ #: wp-live-chat-support-pro/functions-pro.php:339
295
+ msgid "You must be a chat agent to answer chats"
296
+ msgstr "Za klepetanje morate biti agent za klepet"
297
+
298
+ #: wp-live-chat-support-pro/functions-pro.php:345
299
+ #: wp-live-chat-support/functions.php:307
300
+ msgid "Open Chat Window"
301
+ msgstr "Odpri okno za klepet"
302
+
303
+ #: wp-live-chat-support-pro/functions-pro.php:349
304
+ msgid "Chat has been answered by another agent"
305
+ msgstr "Na klepet je odgovoril drug agent"
306
+
307
+ #: wp-live-chat-support-pro/functions-pro.php:350
308
+ msgid "Chat answered by another agent"
309
+ msgstr "Klepet je odgovoril drug agent"
310
+
311
+ #: wp-live-chat-support-pro/functions-pro.php:409
312
+ #: wp-live-chat-support/functions.php:1205
313
+ msgid "WP Live Chat Support - Offline Message from "
314
+ msgstr "Podpora WP Live Chat - Sporočilo brez povezave od "
315
+
316
+ #: wp-live-chat-support-pro/functions-pro.php:410
317
+ #: wp-live-chat-support-pro/functions-pro.php:969
318
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:441
319
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:128
320
+ #: wp-live-chat-support/functions.php:1206
321
+ #: wp-live-chat-support/functions.php:1620
322
+ #: wp-live-chat-support/includes/deprecated.php:192
323
+ #: wp-live-chat-support/includes/deprecated.php:391
324
+ #: wp-live-chat-support/includes/settings_page.php:256
325
+ #: wp-live-chat-support/wp-live-chat-support.php:1384
326
+ #: wp-live-chat-support/wp-live-chat-support.php:1542
327
+ #: wp-live-chat-support/wp-live-chat-support.php:3086
328
+ #: wp-live-chat-support/wp-live-chat-support.php:3197
329
+ msgid "Name"
330
+ msgstr "Ime"
331
+
332
+ #: wp-live-chat-support-pro/functions-pro.php:410
333
+ #: wp-live-chat-support-pro/functions-pro.php:970
334
+ #: wp-live-chat-support/functions.php:1207
335
+ #: wp-live-chat-support/functions.php:1621
336
+ #: wp-live-chat-support/includes/deprecated.php:193
337
+ #: wp-live-chat-support/includes/deprecated.php:392
338
+ #: wp-live-chat-support/wp-live-chat-support.php:1385
339
+ #: wp-live-chat-support/wp-live-chat-support.php:1543
340
+ #: wp-live-chat-support/wp-live-chat-support.php:3087
341
+ #: wp-live-chat-support/wp-live-chat-support.php:3198
342
+ msgid "Email"
343
+ msgstr "Epošta"
344
+
345
+ #: wp-live-chat-support-pro/functions-pro.php:410
346
+ #: wp-live-chat-support-pro/functions-pro.php:971
347
+ #: wp-live-chat-support-pro/functions-pro.php:1546
348
+ #: wp-live-chat-support/functions.php:1208
349
+ #: wp-live-chat-support/wp-live-chat-support.php:1544
350
+ #: wp-live-chat-support/wp-live-chat-support.php:3199
351
+ #: wp-live-chat-support/wp-live-chat-support.php:4141
352
+ #: wp-live-chat-support/wp-live-chat-support.php:4191
353
+ msgid "Message"
354
+ msgstr "Sporočilo"
355
+
356
+ #: wp-live-chat-support-pro/functions-pro.php:410
357
+ #: wp-live-chat-support/functions.php:1209
358
+ msgid "Via WP Live Chat Support"
359
+ msgstr "Preko WP Live Chat podpore"
360
+
361
+ #: wp-live-chat-support-pro/functions-pro.php:480
362
+ msgid "Alert: Someone wants to chat with you on "
363
+ msgstr "Opozorilo: Nekdo bi želel klepetati s teboj "
364
+
365
+ #: wp-live-chat-support-pro/functions-pro.php:481
366
+ msgid "Someone wants to chat with you on your website"
367
+ msgstr "Nekdo bi želel klepetati s teboj na tvoji spletni strani"
368
+
369
+ #: wp-live-chat-support-pro/functions-pro.php:481
370
+ msgid "Log in"
371
+ msgstr "Prijava"
372
+
373
+ #: wp-live-chat-support-pro/functions-pro.php:748
374
+ #: wp-live-chat-support-pro/functions-pro.php:764
375
+ #: wp-live-chat-support-pro/functions-pro.php:779
376
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2731
377
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2747
378
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2762
379
+ msgid "Chat Agent"
380
+ msgstr "Agent klepeta"
381
+
382
+ #: wp-live-chat-support-pro/functions-pro.php:753
383
+ #: wp-live-chat-support-pro/functions-pro.php:769
384
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2736
385
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2752
386
+ msgid "Make this user a chat agent"
387
+ msgstr "Naredi tega uporabnika za agenta klepeta"
388
+
389
+ #: wp-live-chat-support-pro/functions-pro.php:783
390
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2766
391
+ msgid "Your user role does not allow you to make yourself a chat agent."
392
+ msgstr "Tvoja uporabniška vloga ti ne dovoli, da postaneš agent klepeta."
393
+
394
+ #: wp-live-chat-support-pro/functions-pro.php:784
395
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2767
396
+ msgid "Please contact the administrator of this website to change this."
397
+ msgstr "Če želite to spremeniti, se obrnite na skrbnika te spletne strani."
398
+
399
+ #: wp-live-chat-support-pro/functions-pro.php:869
400
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3151
401
+ msgid "Chat Agent Online"
402
+ msgstr "Agent klepeta je prijavljen"
403
+
404
+ #: wp-live-chat-support-pro/functions-pro.php:871
405
+ #: wp-live-chat-support-pro/functions-pro.php:876
406
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3153
407
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3158
408
+ msgid "Chat Agents Online"
409
+ msgstr "Agenti klepeta so prijavljeni"
410
+
411
+ #: wp-live-chat-support-pro/functions-pro.php:968
412
+ #: wp-live-chat-support/functions.php:1619
413
+ #: wp-live-chat-support/wp-live-chat-support.php:3085
414
+ #: wp-live-chat-support/wp-live-chat-support.php:3196
415
+ msgid "Date"
416
+ msgstr "Datum"
417
+
418
+ #: wp-live-chat-support-pro/functions-pro.php:985
419
+ #: wp-live-chat-support/wp-live-chat-support.php:3210
420
+ msgid "You have not received any offline messages."
421
+ msgstr "Niste prejeli nobenih sporočil brez povezave."
422
+
423
+ #: wp-live-chat-support-pro/functions-pro.php:1410
424
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:788
425
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3506
426
+ #: wp-live-chat-support/wp-live-chat-support.php:3784
427
+ msgid "Administrator"
428
+ msgstr "Skrbnik"
429
+
430
+ #: wp-live-chat-support-pro/functions-pro.php:1411
431
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:794
432
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3512
433
+ #: wp-live-chat-support/wp-live-chat-support.php:3793
434
+ msgid "Editor"
435
+ msgstr "Urednik"
436
+
437
+ #: wp-live-chat-support-pro/functions-pro.php:1412
438
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:800
439
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3518
440
+ #: wp-live-chat-support/wp-live-chat-support.php:3802
441
+ msgid "Author"
442
+ msgstr "Avtor"
443
+
444
+ #: wp-live-chat-support-pro/functions-pro.php:1413
445
+ msgid "Contributor"
446
+ msgstr "Sodelavec"
447
+
448
+ #: wp-live-chat-support-pro/functions-pro.php:1414
449
+ msgid "Subscriber"
450
+ msgstr "Naročnik"
451
+
452
+ #: wp-live-chat-support-pro/functions-pro.php:1544
453
+ #: wp-live-chat-support/wp-live-chat-support.php:4139
454
+ #: wp-live-chat-support/wp-live-chat-support.php:4189
455
+ msgid "Chat ID"
456
+ msgstr "ID klepeta"
457
+
458
+ #: wp-live-chat-support-pro/functions-pro.php:1545
459
+ #: wp-live-chat-support/wp-live-chat-support.php:4140
460
+ #: wp-live-chat-support/wp-live-chat-support.php:4190
461
+ msgid "From"
462
+ msgstr "Od"
463
+
464
+ #: wp-live-chat-support-pro/functions-pro.php:1547
465
+ #: wp-live-chat-support/wp-live-chat-support.php:4142
466
+ #: wp-live-chat-support/wp-live-chat-support.php:4192
467
+ msgid "Timestamp"
468
+ msgstr "Časovni žig"
469
+
470
+ #: wp-live-chat-support-pro/functions-pro.php:1548
471
+ #: wp-live-chat-support/wp-live-chat-support.php:4143
472
+ #: wp-live-chat-support/wp-live-chat-support.php:4193
473
+ msgid "Origin"
474
+ msgstr "Izvorni"
475
+
476
+ #: wp-live-chat-support-pro/functions-pro.php:1560
477
+ #: wp-live-chat-support/wp-live-chat-support.php:4148
478
+ #: wp-live-chat-support/wp-live-chat-support.php:4198
479
+ msgid "user"
480
+ msgstr "uporabnik"
481
+
482
+ #: wp-live-chat-support-pro/functions-pro.php:1562
483
+ #: wp-live-chat-support/wp-live-chat-support.php:4150
484
+ #: wp-live-chat-support/wp-live-chat-support.php:4200
485
+ msgid "agent"
486
+ msgstr "agent"
487
+
488
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:48
489
+ #: wp-live-chat-support/includes/settings_page.php:26
490
+ msgid "WP Live Chat Support Settings"
491
+ msgstr "WP Live Chat podporne nastavitve"
492
+
493
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:71
494
+ #: wp-live-chat-support/wp-live-chat-support.php:2156
495
+ #: wp-live-chat-support/wp-live-chat-support.php:2171
496
+ msgid "Dear Pro User"
497
+ msgstr "Dragi profesionalni uporabnik"
498
+
499
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:72
500
+ msgid ""
501
+ "Please enter a valid API key on the 'Live Chat' -> 'Settings' page. Failing "
502
+ "to do this will result in you no longer receiving updates for this plugin."
503
+ msgstr ""
504
+ "Prosim vpišite veljaven API ključ na strani ‘Live Chat’ -> ‘Nastavitve’ . "
505
+ "Če tega ne storite, ne boste več prejemali posodobitev za ta vtičnik."
506
+
507
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:73
508
+ msgid "You can obtain a copy of your API key "
509
+ msgstr "Lahko dobite kopijo API ključa "
510
+
511
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:73
512
+ msgid "here"
513
+ msgstr "tukaj"
514
+
515
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:73
516
+ msgid ""
517
+ "An account has been created for you while purchasing the plugin. If you have "
518
+ "lost your password, please reset it "
519
+ msgstr ""
520
+ "Ob nakupu vtičnika je bil ustvarjen račun za vas. Če ste izgubili geslo, ga "
521
+ "ponastavite "
522
+
523
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:74
524
+ msgid ""
525
+ "If you feel you are getting this message in error, please try refreshing the "
526
+ "page."
527
+ msgstr ""
528
+ "Če menite, da ste to sporočilo prejeli po pomoti, poskusite osvežiti stran."
529
+
530
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:83
531
+ #: wp-live-chat-support/includes/settings_page.php:53
532
+ msgid "General Settings"
533
+ msgstr "Glavne nastavitve"
534
+
535
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:84
536
+ #: wp-live-chat-support/includes/settings_page.php:58
537
+ msgid "Chat Box"
538
+ msgstr "Klepetalnica"
539
+
540
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:85
541
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:383
542
+ #: wp-live-chat-support/includes/settings_page.php:63
543
+ #: wp-live-chat-support/includes/settings_page.php:400
544
+ #: wp-live-chat-support/wp-live-chat-support.php:766
545
+ #: wp-live-chat-support/wp-live-chat-support.php:769
546
+ msgid "Offline Messages"
547
+ msgstr "Sporočila brez povezave"
548
+
549
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:86
550
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:485
551
+ #: wp-live-chat-support/includes/settings_page.php:68
552
+ #: wp-live-chat-support/includes/settings_page.php:541
553
+ msgid "Styling"
554
+ msgstr "Stil"
555
+
556
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:87
557
+ msgid "Chat Agents"
558
+ msgstr "Agenti klepeta"
559
+
560
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:88
561
+ #: wp-live-chat-support/includes/settings_page.php:78
562
+ msgid "Blocked Visitors"
563
+ msgstr "Blokirani obiskovalci"
564
+
565
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:89
566
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:830
567
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:836
568
+ msgid "Chat Experience Ratings"
569
+ msgstr "Ocena izkušnje klepeta"
570
+
571
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:90
572
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1863
573
+ msgid "Encryption"
574
+ msgstr "Enkripcija"
575
+
576
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:93
577
+ #: wp-live-chat-support/includes/settings_page.php:91
578
+ msgid "Main Settings"
579
+ msgstr "Glavne nastavitve"
580
+
581
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:96
582
+ msgid "Find out more."
583
+ msgstr "Izvedite več."
584
+
585
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:103
586
+ msgid "Use our server to host your chat server."
587
+ msgstr "Uporabite naš strežnik za gostovanje vašega strežnika za klepet."
588
+
589
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:107
590
+ #: wp-live-chat-support/wp-live-chat-support.php:3915
591
+ msgid "API Key"
592
+ msgstr "API ključ"
593
+
594
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:112
595
+ msgid "This API key is "
596
+ msgstr "Ta API ključ je "
597
+
598
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:115
599
+ msgid "valid"
600
+ msgstr "veljaven"
601
+
602
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:118
603
+ msgid "invalid"
604
+ msgstr "neveljaven"
605
+
606
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:122
607
+ msgid ""
608
+ "A valid API key means that you will be able to get the latest version of the "
609
+ "plugin as and when it is released, as well as get access to support should "
610
+ "you require it."
611
+ msgstr ""
612
+ "Veljaven API ključ pomeni, da boste lahko dobili zadnjo različico vtičnika, "
613
+ "ko bo na voljo, kakor tudi imeli dostop do podpore v kolikor jo boste "
614
+ "potrebovali."
615
+
616
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:130
617
+ #: wp-live-chat-support/includes/settings_page.php:94
618
+ msgid "Chat enabled"
619
+ msgstr "Klepet je vključen"
620
+
621
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:144
622
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1699
623
+ msgid "Choose when I want to be online"
624
+ msgstr "Izberite kdaj želite biti prijavljeni"
625
+
626
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:144
627
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1699
628
+ msgid ""
629
+ "Checking this will allow you to change your status to Online or Offline on "
630
+ "the Live Chat page."
631
+ msgstr ""
632
+ "S to možnostjo lahko spremenite svoje stanje v Online ali Offline na strani "
633
+ "Live Chat."
634
+
635
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:154
636
+ #: wp-live-chat-support/includes/settings_page.php:116
637
+ msgid "Hide Chat"
638
+ msgstr "Skri klepet"
639
+
640
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:154
641
+ #: wp-live-chat-support/includes/settings_page.php:116
642
+ msgid "Hides chat for 24hrs when user clicks X"
643
+ msgstr "24-urno skrivanje klepeta, ko uporabnik klikne X"
644
+
645
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:162
646
+ #: wp-live-chat-support/includes/settings_page.php:125
647
+ msgid "Require Name And Email"
648
+ msgstr "Potrebujete Ime in Epošto"
649
+
650
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:162
651
+ #: wp-live-chat-support/includes/settings_page.php:125
652
+ msgid ""
653
+ "Users will have to enter their Name and Email Address when starting a chat"
654
+ msgstr ""
655
+ "Uporabniki bodo morali vnesti svoje ime in e-poštni naslov ob začetku klepeta"
656
+
657
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:172
658
+ #: wp-live-chat-support/includes/settings_page.php:133
659
+ msgid "Input Field Replacement Text"
660
+ msgstr "Besedilo za zamenjavo vnosnega polja"
661
+
662
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:172
663
+ #: wp-live-chat-support/includes/settings_page.php:133
664
+ msgid "This is the text that will show in place of the Name And Email fields"
665
+ msgstr "To je besedilo, ki bo prikazano namesto polja Ime in e-pošta"
666
+
667
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:182
668
+ #: wp-live-chat-support/includes/settings_page.php:141
669
+ msgid "Use Logged In User Details"
670
+ msgstr "Uporabi prijavljene podatke o uporabniku"
671
+
672
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:182
673
+ #: wp-live-chat-support/includes/settings_page.php:141
674
+ msgid ""
675
+ "A user's Name and Email Address will be used by default if they are logged "
676
+ "in."
677
+ msgstr ""
678
+ "Uporabniško ime in e-poštni naslov bosta privzeto uporabljena, če sta "
679
+ "prijavljena."
680
+
681
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:193
682
+ #: wp-live-chat-support/includes/settings_page.php:149
683
+ msgid "Enable On Mobile Devices"
684
+ msgstr "Omogoči na mobilnih napravah"
685
+
686
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:193
687
+ #: wp-live-chat-support/includes/settings_page.php:149
688
+ msgid ""
689
+ "Disabling this will mean that the Chat Box will not be displayed on mobile "
690
+ "devices. (Smartphones and Tablets)"
691
+ msgstr ""
692
+ "Če ga onemogočite, to pomeni, da okvir za klepet ne bo prikazan na mobilnih "
693
+ "napravah. (Pametni telefoni in tablični računalniki)"
694
+
695
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:203
696
+ #: wp-live-chat-support/includes/settings_page.php:157
697
+ msgid "Record a visitor's IP Address"
698
+ msgstr "Zapiši obiskovalcev IP naslov"
699
+
700
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:203
701
+ #: wp-live-chat-support/includes/settings_page.php:157
702
+ msgid "Disable this to enable anonymity for your visitors"
703
+ msgstr "Onemogočite to, da obiskovalcem omogočite anonimnost"
704
+
705
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:213
706
+ #: wp-live-chat-support/includes/settings_page.php:165
707
+ msgid "Play a sound when a new message is received"
708
+ msgstr "Predvajajte zvok, ko prejmete novo sporočilo"
709
+
710
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:213
711
+ #: wp-live-chat-support/includes/settings_page.php:165
712
+ msgid ""
713
+ "Disable this to mute the sound that is played when a new chat message is "
714
+ "received"
715
+ msgstr ""
716
+ "Onemogočite to, da izključite zvok, ki se predvaja, ko prejmete novo "
717
+ "sporočilo"
718
+
719
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:222
720
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2141
721
+ msgid "Include chat window on the following pages:"
722
+ msgstr "Vključi okno za klepet na naslednjih straneh:"
723
+
724
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:222
725
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2141
726
+ #: wp-live-chat-support/includes/settings_page.php:175
727
+ msgid ""
728
+ "Show the chat window on the following pages. Leave blank to show on all. "
729
+ "(Use comma-separated Page ID's)"
730
+ msgstr ""
731
+ "Pokaži okno za klepet na naslednjih straneh. Pustite prazno, da se prikažejo "
732
+ "na vseh. (Uporabite ID strani z vejico)"
733
+
734
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:232
735
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2149
736
+ msgid "Exclude chat window on the following pages:"
737
+ msgstr "Izključi okno za klepet na naslednjih straneh:"
738
+
739
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:232
740
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2149
741
+ #: wp-live-chat-support/includes/settings_page.php:190
742
+ msgid ""
743
+ "Do not show the chat window on the following pages. Leave blank to show on "
744
+ "all. (Use comma-separated Page ID's)"
745
+ msgstr ""
746
+ "Ne prikažite okna za klepet na naslednjih straneh. Pustite prazno, da se "
747
+ "prikažejo na vseh. (Uporabite ID strani z vejico)"
748
+
749
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:242
750
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2157
751
+ msgid "Allow any user to make themselves a chat agent"
752
+ msgstr "Vsakemu uporabniku omogočite, da postane sam chat agent"
753
+
754
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:242
755
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:2157
756
+ msgid ""
757
+ "Checking this will allow any of your users to make themselves a chat agent "
758
+ "when editing their profile."
759
+ msgstr ""
760
+ "Če to označite, lahko kateri koli od vaših uporabnikov pri urejanju svojega "
761
+ "profila postane sam chat agent."
762
+
763
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:255
764
+ #: wp-live-chat-support/includes/settings_page.php:213
765
+ msgid "Chat Window Settings"
766
+ msgstr "Nastavitve okna za klepet"
767
+
768
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:258
769
+ #: wp-live-chat-support/includes/settings_page.php:216
770
+ msgid "Chat box alignment"
771
+ msgstr "Poravnava okna za klepet"
772
+
773
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:263
774
+ #: wp-live-chat-support/includes/settings_page.php:219
775
+ msgid "Bottom left"
776
+ msgstr "Spodaj levo"
777
+
778
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:266
779
+ #: wp-live-chat-support/includes/settings_page.php:220
780
+ msgid "Bottom right"
781
+ msgstr "Spodaj desno"
782
+
783
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:269
784
+ #: wp-live-chat-support/includes/settings_page.php:221
785
+ msgid "Left"
786
+ msgstr "Levo"
787
+
788
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:272
789
+ #: wp-live-chat-support/includes/settings_page.php:222
790
+ msgid "Right"
791
+ msgstr "Desno"
792
+
793
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:278
794
+ #: wp-live-chat-support/includes/settings_page.php:228
795
+ msgid "Auto Pop-up"
796
+ msgstr "Samodejno pojavno okno"
797
+
798
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:278
799
+ #: wp-live-chat-support/includes/settings_page.php:228
800
+ msgid ""
801
+ "Expand the chat box automatically (prompts the user to enter their name and "
802
+ "email address)."
803
+ msgstr ""
804
+ "Razširite polje za klepet samodejno (dovoli uporabniku, naj vnese svoje ime "
805
+ "in e-poštni naslov)."
806
+
807
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:289
808
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:923
809
+ msgid "Name "
810
+ msgstr "Ime "
811
+
812
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:303
813
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:996
814
+ #: wp-live-chat-support/includes/settings_page.php:272
815
+ msgid "Picture"
816
+ msgstr "Slika"
817
+
818
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:311
819
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1004
820
+ #: wp-live-chat-support/includes/settings_page.php:275
821
+ #: wp-live-chat-support/includes/settings_page.php:291
822
+ msgid "Upload Image"
823
+ msgstr "Naloži sliko"
824
+
825
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:313
826
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1006
827
+ msgid "Remove Image"
828
+ msgstr "Odstrani sliko"
829
+
830
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:314
831
+ msgid "Recomended Size 40px x 40px"
832
+ msgstr "Priporočena velikost 40 pik x 40 pik"
833
+
834
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:320
835
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1014
836
+ #: wp-live-chat-support/includes/settings_page.php:288
837
+ msgid "Logo"
838
+ msgstr "Logotip"
839
+
840
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:328
841
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1022
842
+ msgid "Upload Logo"
843
+ msgstr "Naloži logotip"
844
+
845
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:330
846
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1024
847
+ msgid "Remove Logo"
848
+ msgstr "Odstrani logotip"
849
+
850
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:331
851
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1025
852
+ msgid "Recomended Size 250px x 40px"
853
+ msgstr "Priporočena velikost 250 pik x 40 pik"
854
+
855
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:337
856
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1031
857
+ #: wp-live-chat-support/includes/settings_page.php:304
858
+ msgid "Chat delay (seconds)"
859
+ msgstr "Zamuda klepeta (sekund)"
860
+
861
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:337
862
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1031
863
+ msgid "How long it takes for your chat window to pop up"
864
+ msgstr "Kako dolgo traja, da se okno za klepet odpre"
865
+
866
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:346
867
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1040
868
+ #: wp-live-chat-support/includes/settings_page.php:320
869
+ msgid "Chat notifications"
870
+ msgstr "Obvestilo o klepetu"
871
+
872
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:346
873
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1040
874
+ msgid "Alert me via email as soon as someone wants to chat (while online only)"
875
+ msgstr "Opozori me po e-pošti, takoj, ko nekdo želi klepetati (samo na spletu)"
876
+
877
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:356
878
+ #: wp-live-chat-support/includes/settings_page.php:338
879
+ msgid "Display name and avatar in chat"
880
+ msgstr "Prikaži ime in avatarja v klepetu"
881
+
882
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:356
883
+ #: wp-live-chat-support/includes/settings_page.php:338
884
+ msgid "Display the agent and user name above each message in the chat window."
885
+ msgstr ""
886
+ "Prikažite agenta in uporabniško ime nad vsakim sporočilom v oknu za klepet."
887
+
888
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:368
889
+ #: wp-live-chat-support/includes/settings_page.php:348
890
+ msgid "Only show the chat window to users that are logged in"
891
+ msgstr "Okno za klepet se prikaže samo uporabnikom, ki so prijavljeni"
892
+
893
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:368
894
+ #: wp-live-chat-support/includes/settings_page.php:348
895
+ msgid ""
896
+ "By checking this, only users that are logged in will be able to chat with "
897
+ "you."
898
+ msgstr ""
899
+ "Če to označite, bodo lahko klepetali z vami samo uporabniki, ki so "
900
+ "prijavljeni."
901
+
902
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:387
903
+ #: wp-live-chat-support/includes/settings_page.php:404
904
+ msgid "Do not allow users to send offline messages"
905
+ msgstr "Ne dovoli uporabnikom pošiljanja sporočil brez povezave"
906
+
907
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:387
908
+ #: wp-live-chat-support/includes/settings_page.php:404
909
+ msgid ""
910
+ "The chat window will be hidden when it is offline. Users will not be able to "
911
+ "send offline messages to you"
912
+ msgstr ""
913
+ "Okno za klepet bo skrito, ko je brez povezave. Uporabniki vam ne bodo mogli "
914
+ "pošiljati sporočil brez povezave"
915
+
916
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:399
917
+ #: wp-live-chat-support/includes/settings_page.php:416
918
+ msgid "Email Address"
919
+ msgstr "Epoštni naslov"
920
+
921
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:399
922
+ #: wp-live-chat-support/includes/settings_page.php:416
923
+ msgid ""
924
+ "Email address where offline messages are delivered to. Use comma separated "
925
+ "email addresses to send to more than one email address"
926
+ msgstr ""
927
+ "E-poštni naslov, na katerega so poslana sporočila brez povezave. Za "
928
+ "pošiljanje več kot enega e-poštnega naslova uporabite e-poštne naslove, "
929
+ "ločene z vejico"
930
+
931
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:412
932
+ #: wp-live-chat-support/includes/settings_page.php:428
933
+ msgid "Sending Method"
934
+ msgstr "Metoda pošiljanja"
935
+
936
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:413
937
+ #: wp-live-chat-support/includes/settings_page.php:429
938
+ msgid "WP Mail"
939
+ msgstr "WP pošta"
940
+
941
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:414
942
+ #: wp-live-chat-support/includes/settings_page.php:430
943
+ msgid "PHP Mailer"
944
+ msgstr "PHP mailer"
945
+
946
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:430
947
+ #: wp-live-chat-support/includes/settings_page.php:446
948
+ msgid "Host"
949
+ msgstr "Gostitelj"
950
+
951
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:438
952
+ #: wp-live-chat-support/includes/settings_page.php:454
953
+ msgid "Port"
954
+ msgstr "Port"
955
+
956
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:446
957
+ #: wp-live-chat-support/includes/settings_page.php:462
958
+ msgid "Username"
959
+ msgstr "Uporabniško ime"
960
+
961
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:454
962
+ #: wp-live-chat-support/includes/settings_page.php:470
963
+ msgid "Password"
964
+ msgstr "Geslo"
965
+
966
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:463
967
+ #: wp-live-chat-support/includes/settings_page.php:479
968
+ msgid "Offline Chat Box Title"
969
+ msgstr "Naslov klepetalnice je ugasnjen"
970
+
971
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:471
972
+ #: wp-live-chat-support/includes/settings_page.php:487
973
+ msgid "Offline Text Fields"
974
+ msgstr "Besedilna polja so ugasnjena"
975
+
976
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:504
977
+ #: wp-live-chat-support/includes/settings_page.php:546
978
+ msgid "Choose a theme"
979
+ msgstr "Izberite temo"
980
+
981
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:509
982
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:512
983
+ msgid "Theme 1"
984
+ msgstr "Tema 1"
985
+
986
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:515
987
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:518
988
+ msgid "Theme 2"
989
+ msgstr "Tema 2"
990
+
991
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:521
992
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:524
993
+ msgid "Theme 3"
994
+ msgstr "Tema 3"
995
+
996
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:527
997
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:530
998
+ msgid "Theme 4"
999
+ msgstr "Tema 4"
1000
+
1001
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:533
1002
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:536
1003
+ msgid "Theme 5"
1004
+ msgstr "Tema 5"
1005
+
1006
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:539
1007
+ msgid "Theme 6"
1008
+ msgstr "Tema 6"
1009
+
1010
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:542
1011
+ msgid "Custom. Enter Colour Values Below"
1012
+ msgstr "Po meri. Spodaj vnesite barvne vrednosti"
1013
+
1014
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:568
1015
+ msgid "Chat box fill color"
1016
+ msgstr "Barva polja za klepet"
1017
+
1018
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:574
1019
+ msgid "Chat box font color"
1020
+ msgstr "Barva pisave v klepetalnici"
1021
+
1022
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:581
1023
+ #: wp-live-chat-support/includes/settings_page.php:677
1024
+ msgid "I'm using a localization plugin"
1025
+ msgstr "Uporabljam vtičnik za lokalizacijo"
1026
+
1027
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:584
1028
+ msgid "documentation"
1029
+ msgstr "dokumentacija"
1030
+
1031
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:589
1032
+ msgid ""
1033
+ "You will only be able to edit the strings shown in the chat window of the "
1034
+ "code now. <br/> This has been done to accommodate as many localization "
1035
+ "plugins as possible. <br/> For more information on how to change these "
1036
+ "strings, please consult the "
1037
+ msgstr ""
1038
+ "Zdaj lahko urejate le nize, ki so prikazane v oknu za klepet. <br/> To je "
1039
+ "bilo narejeno za prilagoditev čim več lokalizacijskih vtičnikov. <br/> Če "
1040
+ "želite več informacij o spreminjanju teh nizov, preberite navodila "
1041
+
1042
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:594
1043
+ #: wp-live-chat-support/includes/settings_page.php:685
1044
+ msgid "First Section Text"
1045
+ msgstr "Besedilo prvega razdelka"
1046
+
1047
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:601
1048
+ #: wp-live-chat-support/includes/settings_page.php:692
1049
+ msgid "Intro Text"
1050
+ msgstr "Uvodno besedilo"
1051
+
1052
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:607
1053
+ #: wp-live-chat-support/includes/settings_page.php:698
1054
+ msgid "Second Section Text"
1055
+ msgstr "Besedilo drugega razdelka"
1056
+
1057
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:614
1058
+ #: wp-live-chat-support/includes/settings_page.php:705
1059
+ msgid "Reactivate Chat Section Text"
1060
+ msgstr "Ponovno aktivirajte besedilo v razdelku klepeta"
1061
+
1062
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:622
1063
+ #: wp-live-chat-support/includes/settings_page.php:713
1064
+ msgid "User chat welcome"
1065
+ msgstr "Dobrodošel klepet uporabnikov"
1066
+
1067
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:628
1068
+ #: wp-live-chat-support/includes/settings_page.php:719
1069
+ msgid "Other text"
1070
+ msgstr "Drugo besedilo"
1071
+
1072
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:630
1073
+ #: wp-live-chat-support/includes/settings_page.php:721
1074
+ msgid "This text is shown above the user chat input field"
1075
+ msgstr "To besedilo je prikazano nad uporabniškim vnosnim poljem za klepet"
1076
+
1077
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:662
1078
+ msgid ""
1079
+ "You are using an outdated version of WP Live Chat Support Basic. Please "
1080
+ "update your plugin to allow for animations to function"
1081
+ msgstr ""
1082
+ "Uporabljate zastarelo različico storitve WP Live Chat Support Basic. "
1083
+ "Posodobite svoj vtičnik, da omogočite delovanje animacij"
1084
+
1085
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:666
1086
+ #: wp-live-chat-support/includes/settings_page.php:749
1087
+ msgid "Choose an animation"
1088
+ msgstr "Izberite animacijo"
1089
+
1090
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:674
1091
+ #: wp-live-chat-support/includes/settings_page.php:757
1092
+ msgid "Slide Up"
1093
+ msgstr "Podrsajte navzgor"
1094
+
1095
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:680
1096
+ #: wp-live-chat-support/includes/settings_page.php:763
1097
+ msgid "Slide From The Side"
1098
+ msgstr "Podrsajte s strani"
1099
+
1100
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:686
1101
+ #: wp-live-chat-support/includes/settings_page.php:769
1102
+ msgid "Fade In"
1103
+ msgstr "Zbledi"
1104
+
1105
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:692
1106
+ #: wp-live-chat-support/includes/settings_page.php:775
1107
+ msgid "No Animation"
1108
+ msgstr "Brez animacije"
1109
+
1110
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:750
1111
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3468
1112
+ #: wp-live-chat-support/wp-live-chat-support.php:3753
1113
+ msgid "Current Users that are Chat Agents"
1114
+ msgstr "Trenutni uporabniki, ki so agenti za klepet"
1115
+
1116
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:761
1117
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3479
1118
+ #: wp-live-chat-support/wp-live-chat-support.php:3763
1119
+ msgid "Online"
1120
+ msgstr "Na spletu"
1121
+
1122
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:771
1123
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3337
1124
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3489
1125
+ #: wp-live-chat-support/wp-live-chat-support.php:2137
1126
+ msgid "Remove"
1127
+ msgstr "Odstrani"
1128
+
1129
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:780
1130
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3498
1131
+ #: wp-live-chat-support/wp-live-chat-support.php:3813
1132
+ msgid "Add New Agent"
1133
+ msgstr "Dodaj novega agenta"
1134
+
1135
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:782
1136
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:802
1137
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3500
1138
+ #: wp-live-chat-support/wp-live-chat-support.php:2573
1139
+ #: wp-live-chat-support/wp-live-chat-support.php:3778
1140
+ msgid "Select"
1141
+ msgstr "Izberi"
1142
+
1143
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:804
1144
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3522
1145
+ #: wp-live-chat-support/wp-live-chat-support.php:3814
1146
+ msgid "Add Agent"
1147
+ msgstr "Dodaj agenta"
1148
+
1149
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:810
1150
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3528
1151
+ msgid ""
1152
+ "Should you wish to add a user that has a role less than 'Author', please go "
1153
+ "to the <a href='./users.php'>Users</a> page, select the relevant user, click "
1154
+ "Edit and scroll to the bottom of the page and enable the 'Chat Agent' "
1155
+ "checkbox."
1156
+ msgstr ""
1157
+ "Če želite dodati uporabnika, ki ima vlogo manjšo kot »Avtor«, pojdite na "
1158
+ "stran <a href=‘./users.php’> Uporabniki </a>, izberite ustreznega "
1159
+ "uporabnika, kliknite Uredi in se pomaknite na na dno strani in kliknite na "
1160
+ "potrditveno polje ‘Chat Agent’."
1161
+
1162
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:811
1163
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:3529
1164
+ msgid "If there are no chat agents online, the chat will show as offline"
1165
+ msgstr ""
1166
+ "Če na spletu ni klepetnih agentov, bo klepet prikazan kot brez povezave"
1167
+
1168
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:815
1169
+ #: wp-live-chat-support/includes/settings_page.php:802
1170
+ msgid "Blocked Visitors - Based on IP Address"
1171
+ msgstr "Blokirani obiskovalci - na podlagi naslova IP"
1172
+
1173
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:816
1174
+ #: wp-live-chat-support/includes/settings_page.php:803
1175
+ msgid "Enter each IP Address you would like to block on a new line"
1176
+ msgstr "Vnesite vsak naslov IP, ki ga želite blokirati v novo vrstico"
1177
+
1178
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:827
1179
+ #: wp-live-chat-support/includes/settings_page.php:814
1180
+ msgid ""
1181
+ "Blocking a user's IP Address here will hide the chat window from them, "
1182
+ "preventing them from chatting with you. Each IP Address must be on a new line"
1183
+ msgstr ""
1184
+ "Če tukaj blokirate IP-naslov uporabnika, bo skrit okno za klepet od njih, "
1185
+ "kar jim bo preprečilo klepetati z vami. Vsak naslov IP mora biti v novi "
1186
+ "vrstici"
1187
+
1188
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:836
1189
+ msgid ""
1190
+ "are only available in the WP Live Chat Support Chat Experience Ratings add-on"
1191
+ msgstr "so na voljo samo v WP Live Chat Support Chat Ratings doda"
1192
+
1193
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:840
1194
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1827
1195
+ msgid "Chat Encryption"
1196
+ msgstr "Enkripcija klepeta"
1197
+
1198
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:843
1199
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1830
1200
+ msgid "Enable Encryption"
1201
+ msgstr "Omogoči enkripcijo"
1202
+
1203
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:843
1204
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1830
1205
+ msgid ""
1206
+ "All messages will be encrypted when being sent to and from the user and "
1207
+ "agent."
1208
+ msgstr "Vsa sporočila bodo šifrirana, ko bodo poslana uporabniku in agentu."
1209
+
1210
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:851
1211
+ #: wp-live-chat-support-pro/wp-live-chat-support-pro.php:1840
1212
+ msgid ""
1213
+ "Once enabled, all messages sent will be encrypted. This cannot be undone."
1214
+ msgstr ""
1215
+ "Ko so omogočena, bodo vsa poslana sporočila šifrirana. Tega ni mogoče "
1216
+ "razveljaviti."
1217
+
1218
+ #: wp-live-chat-support-pro/includes/settings_page_pro.php:857
1219
+ #: wp-live-chat-support/includes/settings_page.php:822
1220
+ msgid "Save Settings"
1221
+ msgstr "Shrani nastavitve"
1222
+
1223
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:5
1224
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:83
1225
+ msgid "Add New"
1226
+ msgstr "Dodaj novo"
1227
+
1228
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:8
1229
+ #: wp-live-chat-support/wp-live-chat-support.php:4432
1230
+ #: wp-live-chat-support/wp-live-chat-support.php:4462
1231
+ msgid "WP Live Chat Support Triggers"
1232
+ msgstr "Sprožilec za podporo WP Live Chat"
1233
+
1234
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:16
1235
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:110
1236
+ #: wp-live-chat-support/wp-live-chat-support.php:4416
1237
+ #: wp-live-chat-support/wp-live-chat-support.php:4478
1238
+ msgid "Update now"
1239
+ msgstr "Posodobi sedaj"
1240
+
1241
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:68
1242
+ msgid "Trigger Name"
1243
+ msgstr "Ime sprožilca"
1244
+
1245
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:73
1246
+ msgid "Trigger Type"
1247
+ msgstr "Tip sprožilca"
1248
+
1249
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:77
1250
+ #: wp-live-chat-support/wp-live-chat-support.php:4468
1251
+ msgid "Page Trigger"
1252
+ msgstr "Stran sprožilca"
1253
+
1254
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:78
1255
+ #: wp-live-chat-support/wp-live-chat-support.php:4469
1256
+ msgid "Time Trigger"
1257
+ msgstr "Čas sprožilca"
1258
+
1259
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:79
1260
+ #: wp-live-chat-support/wp-live-chat-support.php:4470
1261
+ msgid "Scroll Trigger"
1262
+ msgstr "Pomaknite sprožilec"
1263
+
1264
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:80
1265
+ #: wp-live-chat-support/wp-live-chat-support.php:4471
1266
+ msgid "Page Leave Trigger"
1267
+ msgstr "Sprožilec zapusti stran"
1268
+
1269
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:81
1270
+ msgid ""
1271
+ "Note: When using page trigger with a the basic theme, no hovercard is shown "
1272
+ "by default. We suggest using the time trigger for this instead."
1273
+ msgstr ""
1274
+ "Opomba: Če uporabljate aktiviranje strani z osnovno temo, privzeto ni "
1275
+ "prikazan noben “hovercard”. Priporočamo namesto tega časovni sprožilec."
1276
+
1277
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:87
1278
+ msgid "Page ID"
1279
+ msgstr "ID strani"
1280
+
1281
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:88
1282
+ msgid "Note: Leave empty for 'all' pages"
1283
+ msgstr "Opomba: Pustite prazno za ‘vse’ strani"
1284
+
1285
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:92
1286
+ msgid "Show After"
1287
+ msgstr "Pokaži po"
1288
+
1289
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:93
1290
+ msgid "Seconds"
1291
+ msgstr "Sekunde"
1292
+
1293
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:97
1294
+ msgid "Show After Scrolled"
1295
+ msgstr "Pokaži po pomikanju"
1296
+
1297
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:98
1298
+ msgid "(%) Percent of page height"
1299
+ msgstr "(%) Odstotek višine strani"
1300
+
1301
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:102
1302
+ msgid "Content Replacement"
1303
+ msgstr "Zamenjava vsebine"
1304
+
1305
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:114
1306
+ msgid "Replace Content"
1307
+ msgstr "Zamenjaj vsebino"
1308
+
1309
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:119
1310
+ msgid "Enable Trigger"
1311
+ msgstr "Omogočite sprožilec"
1312
+
1313
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:125
1314
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:237
1315
+ msgid "Close"
1316
+ msgstr "Zapri"
1317
+
1318
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:134
1319
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:246
1320
+ msgid "Please review your submission"
1321
+ msgstr "Preglejte svojo prijavo"
1322
+
1323
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:275
1324
+ msgid "Trigger has been edited."
1325
+ msgstr "Sprožilec je bil spremenjen."
1326
+
1327
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:428
1328
+ msgid "Conflict with page"
1329
+ msgstr "Konflikt s stranjo"
1330
+
1331
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:430
1332
+ msgid "Trigger ID: "
1333
+ msgstr "ID sprožilca "
1334
+
1335
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:440
1336
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:127
1337
+ #: wp-live-chat-support/functions.php:1853
1338
+ msgid "ID"
1339
+ msgstr "ID"
1340
+
1341
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:442
1342
+ #: wp-live-chat-support/wp-live-chat-support.php:2335
1343
+ msgid "Type"
1344
+ msgstr "Tip"
1345
+
1346
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:443
1347
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:130
1348
+ msgid "Page"
1349
+ msgstr "Stran"
1350
+
1351
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:444
1352
+ msgid "Content"
1353
+ msgstr "Vsebina"
1354
+
1355
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:445
1356
+ #: wp-live-chat-support/wp-live-chat-support.php:2338
1357
+ #: wp-live-chat-support/wp-live-chat-support.php:3089
1358
+ msgid "Status"
1359
+ msgstr "Status"
1360
+
1361
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:446
1362
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:132
1363
+ #: wp-live-chat-support/functions.php:1623
1364
+ #: wp-live-chat-support/wp-live-chat-support.php:2339
1365
+ #: wp-live-chat-support/wp-live-chat-support.php:3090
1366
+ msgid "Action"
1367
+ msgstr "Akcija"
1368
+
1369
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:453
1370
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:139
1371
+ msgid "Edit"
1372
+ msgstr "Urejati"
1373
+
1374
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:454
1375
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:585
1376
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:140
1377
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:545
1378
+ msgid "Delete"
1379
+ msgstr "Izbriši"
1380
+
1381
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:462
1382
+ #: wp-live-chat-support-pro/includes/wplc_roi.php:656
1383
+ #: wp-live-chat-support/wp-live-chat-support.php:3567
1384
+ msgid "All"
1385
+ msgstr "Vse"
1386
+
1387
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:466
1388
+ msgid "Click to change trigger status"
1389
+ msgstr "Kliknite, če želite spremeniti statnje prožilca"
1390
+
1391
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:476
1392
+ msgid "No Triggers Found..."
1393
+ msgstr "Ne najdem sprožilca…"
1394
+
1395
+ #: wp-live-chat-support-pro/includes/wplc_data_triggers.php:580
1396
+ msgid "Are you sure you would like to delete trigger"
1397
+ msgstr "Ali ste prepričani, da želite izbrisati sprožilec"
1398
+
1399
+ #: wp-live-chat-support-pro/includes/wpl