1function get_str(key, param0, param1, param2){ 2 if(key == 0) 3 return "YYYY-MM-DD HH:mm"; 4 else if(key == 1) 5 return "Unknown"; 6 else if(key == 2) 7 return "An unexpected error has occurred.<br>Error Code: " + param0 + "<br>Error message: " + param1; 8 else if(key == 3) 9 return ""; 10 else if(key == 4) 11 return "Couldn't complete this operation.<br>Error Code: " + param0; 12 else if(key == 5) 13 return "Female"; 14 else if(key == 6) 15 return "Male"; 16 else if(key == 7) 17 return "Unknown"; 18 else if(key == 8) 19 return "Default"; 20 else if(key == 9) 21 return "One item will be deleted. You can't undo this action."; 22 else if(key == 10) 23 return "Delete"; 24 else if(key == 11) 25 return "Cancel"; 26 else if(key == 12) 27 return "Deleting"; 28 else if(key == 13) 29 return "You haven't selected any items"; 30 else if(key == 14) 31 return param0+" items will be deleted. You can't undo this action."; 32 else if(key == 15) 33 return "Copy"; 34 else if(key == 16) 35 return "You can share this link on Facebook, Youtube ... when people click on this link they will access the content of this link."; 36 else if(key == 17) 37 return "Save"; 38 else if(key == 18) 39 return "Change admin permission"; 40 else if(key == 19) 41 return "Adding"; 42 else if(key == 20) 43 return "Saving"; 44 else if(key == 21) 45 return "None"; 46 else if(key == 22) 47 return "Couldn't complete this operation."; 48 else if(key == 23) 49 return "Please wait"; 50 else if(key == 24) 51 return "Advanced - Products"; 52 else if(key == 25) 53 return "Advanced - Events"; 54 else if(key == 26) 55 return "Advanced - News"; 56 else if(key == 27) 57 return "Pending"; 58 else if(key == 28) 59 return "Sending"; 60 else if(key == 29) 61 return "Sent"; 62 else if(key == 30) 63 return "Canceled"; 64 else if(key == 31) 65 return "Yes"; 66 else if(key == 32) 67 return "No"; 68 else if(key == 33) 69 return "One message will be canceled. Do you want to continue?"; 70 else if(key == 34) 71 return "Image name"; 72 else if(key == 35) 73 return "Audio name"; 74 else if(key == 36) 75 return "Video name"; 76 else if(key == 37) 77 return "File name"; 78 else if(key == 38) 79 return "More subcategories"; 80 else if(key == 39) 81 return "Name"; 82 else if(key == 40) 83 return "Please enter at least one training phrase."; 84 else if(key == 41) 85 return ""; 86 else if(key == 42) 87 return "hello"; 88 else if(key == 43) 89 return "Answer (Flow)"; 90 else if(key == 44) 91 return "Answer"; 92 else if(key == 45) 93 return "Flow answer"; 94 else if(key == 46) 95 return "The '<b>"+param0+"</b>' flow will be sent more than once when this flow is sent. A flow must appear only once inside a flow or subflow"; 96 else if(key == 47) 97 return "Choose image"; 98 else if(key == 48) 99 return "+ Add button"; 100 else if(key == 49) 101 return "You haven't selected any file."; 102 else if(key == 50) 103 return "Keyword synonym"; 104 else if(key == 51) 105 return "Keys may contain "+info_value("spaces")+" but their variations can't. If you want to add '"+info_value("aaaa bbbb")+"' variation, add only '"+info_value("aaaa")+"' or '"+info_value("bbbb")+"'."; 106 else if(key == 52) 107 return "Keys and their variations must contain at least "+info_value("3 letters")+"."; 108 else if(key == 53) 109 return "+ Language"; 110 else if(key == 54) 111 return "Choose a flow"; 112 else if(key == 55) 113 return "Please enter at least two answers."; 114 else if(key == 56) 115 return "You must fill in at least 2 items."; 116 else if(key == 57) 117 return "You must specify the product description if you specify the product URL."; 118 else if(key == 58) 119 return "User Message"; 120 else if(key == 59) 121 return "Please change the time intervals because it is possible that the Bot will have more than one answer at a certain time."; 122 else if(key == 60) 123 return "Please change the time intervals because it is possible that the Bot get no answer at a certain time."; 124 else if(key == 61) 125 return "Choose a flow (Optional)"; 126 else if(key == 62)
127 return "Edit"; 128 else if(key == 63) 129 return "Remove All"; 130 else if(key == 64) 131 return "View"; 132 else if(key == 65) 133 return "Clone"; 134 else if(key == 66) 135 return "Link"; 136 else if(key == 67) 137 return "Message"; 138 else if(key == 68) 139 return "Phone number (with Country code)"; 140 else if(key == 69) 141 return "Share"; 142 else if(key == 70) 143 return "Subscribe"; 144 else if(key == 71) 145 return "Select subscription"; 146 else if(key == 72) 147 return "Facebook URL"; 148 else if(key == 73) 149 return "Select image"; 150 else if(key == 74) 151 return "Select video"; 152 else if(key == 75) 153 return "Image"; 154 else if(key == 76) 155 return "Video"; 156 else if(key == 77) 157 return "Audio"; 158 else if(key == 78) 159 return "File"; 160 else if(key == 79) 161 return "Go to Messenger to see the message."; 162 else if(key == 80) 163 return "Sending to Messenger"; 164 else if(key == 81) 165 return "Categories - Products"; 166 else if(key == 82) 167 return "Categories - Events"; 168 else if(key == 83) 169 return "Categories - News"; 170 else if(key == 84) 171 return "Categories - Elections"; 172 else if(key == 85) 173 return "Categories - subscriptions"; 174 else if(key == 86) 175 return "Subcategory"; 176 else if(key == 87) 177 return "Products"; 178 else if(key == 88) 179 return "Events"; 180 else if(key == 89) 181 return "News"; 182 else if(key == 90) 183 return "Elections"; 184 else if(key == 91) 185 return "Subscriptions"; 186 else if(key == 92) 187 return "Categories"; 188 else if(key == 93) 189 return "Subcategories"; 190 else if(key == 94) 191 return "Change name"; 192 else if(key == 95) 193 return "Subcategories of '" + param0 + "':"; 194 else if(key == 96) 195 return "All Categories"; 196 else if(key == 97) 197 return "View statistics"; 198 else if(key == 98) 199 return "YYYY-MM-DD"; 200 else if(key == 99) 201 return "Messages with answers"; 202 else if(key == 100) 203 return "Messages without answers"; 204 else if(key == 101) 205 return "New users by gender"; 206 else if(key == 102) 207 return "New users by language"; 208 else if(key == 103) 209 return "New users"; 210 else if(key == 104) 211 return "Date"; 212 else if(key == 105) 213 return "Total"; 214 else if(key == 106) 215 return "Gender"; 216 else if(key == 107) 217 return "Subscriptions"; 218 else if(key == 108) 219 return "Unsubscriptions"; 220 else if(key == 109) 221 return "Subscriptions"; 222 else if(key == 110) 223 return "Messages"; 224 else if(key == 111) 225 return "Answered training phrases"; 226 else if(key == 112) 227 return "Total messages"; 228 else if(key == 113) 229 return "Answers '" + param0 + "'"; 230 else if(key == 114) 231 return "Total users"; 232 else if(key == 115) 233 return "Total sessions"; 234 else if(key == 116) 235 return "New Bot users through Ref '"+ param0 +"' per day" ; 236 else if(key == 117) 237 return "Sessions through the Ref '" + param0 + "' per day"; 238 else if(key == 118) 239 return "Messages '" +param0+"'"; 240 else if(key == 119) 241 return "Send Message"; 242 else if(key == 120) 243 return "Subscription '" + param0 + "'"; 244 else if(key == 121) 245 return "The Bot has successfully recognized you as a '"+param0+"' manager. Now close this page."; 246 else if(key == 122) 247 return "Your account is now ready. Follow the instructions sent to Messenger to become a Bot manager of the "+param0+" page. Now close this page."; 248 else if(key == 123) 249 return ""; 250 else if(key == 124) 251 return "Default language"; 252 else if(key == 125) 253 return "Text too long. Remove at least "+ param0 +" characters."; 254 else if(key == 126) 255 return "Please enter at least the default language"; 256 else if(key == 127) 257 return "URL copied successfully."; 258 else if(key == 128) 259 return "Couldn't copy the URL"; 260 else if(key == 129) 261 return "Variations of '" +param0+"':"; 262 else if(key == 130) 263 return "Number of users in the queue: "+param0; 264 else if(key == 131) 265 return "Click to copy"; 266 else if(key == 132) 267 return "Mark as done"; 268 else if(key == 133) 269 return "Disable live chat with '<b>"+ param0+"'</b>"; 270 else if(key == 134) 271 return "Disable"; 272 else if(key == 135) 273 return param0 + "d ago"; 274 else if(key == 136) 275 return param0 + "d and " + param1 + "h ago"; 276 else if(key == 137) 277 return param0 + "h ago"; 278 else if(key == 138) 279 return param0 + "h and " + param1 + "min ago"; 280 else if(key == 139) 281 return param0 + "min ago"; 282 else if(key == 140) 283 return param0 + "seg ago"; 284 else if(key == 141) 285 return "Loading..."; 286 else if(key == 142) 287 return "There is no office near you."; 288 else if(key == 143) 289 return "Do you want to delete the language '" + param0 + "'?"; 290 else if(key == 144) 291 return "Do you want to delete the Bot menu?"; 292 else if(key == 145) 293 return "Operation completed successfully."; 294 else if(key == 146) 295 return "Create new Menu"; 296 else if(key == 147) 297 return "Completed"; 298 else if(key == 148) 299 return "Menu ("+param0+") must have at least 1 item"; 300 else if(key == 149) 301 return "Sub Menu ("+param1+") '" + param0 + "' must have at least 1 item"; 302 else if(key == 150) 303 return "Sub Menu ("+param2+") '" + param0 + " -> " + param1 + "' must have at least 1 item"; 304 else if(key == 151) 305 return "Processing..."; 306 else if(key == 152)
307 return "Edit menu"; 308 else if(key == 153) 309 return "Undefined"; 310 else if(key == 154) 311 return "Welcome message"; 312 else if(key == 155) 313 return "Default reply 1"; 314 else if(key == 156) 315 return "Default reply 2"; 316 else if(key == 157) 317 return "Default reply 3"; 318 else if(key == 158) 319 return "Reconnect"; 320 else if(key == 159) 321 return "Pause"; 322 else if(key == 160) 323 return "You haven't selected any Facebook page"; 324 else if(key == 161) 325 return "Edit all"; 326 else if(key == 162) 327 return "No answer"; 328 else if(key == 163) 329 return "Happy"; 330 else if(key == 164) 331 return "In love"; 332 else if(key == 165) 333 return "Sad"; 334 else if(key == 166) 335 return "Eating"; 336 else if(key == 167) 337 return "Celebrating"; 338 else if(key == 168) 339 return "Active"; 340 else if(key == 169) 341 return "Working"; 342 else if(key == 170) 343 return "Sleepy"; 344 else if(key == 171) 345 return "Confused"; 346 else if(key == 172) 347 return "Dance party"; 348 else if(key == 173) 349 return "Mostropi"; 350 else if(key == 174) 351 return "Angry"; 352 else if(key == 175) 353 return "If you delete this flow, the following resources associated with this flow will also be deleted. Do you want to continue?"; 354 else if(key == 176) 355 return "Settings"; 356 else if(key == 177) 357 return "Training phrases"; 358 else if(key == 178) 359 return "Write..."; 360 else if(key == 179) 361 return "Language"; 362 else if(key == 180) 363 return "Attribute..."; 364 else if(key == 181) 365 return "Timezone"; 366 else if(key == 182) 367 return "Opted-in date"; 368 else if(key == 183) 369 return "Last seen"; 370 else if(key == 184) 371 return "Inside the 24H window"; 372 else if(key == 185) 373 return "Subscription"; 374 else if(key == 186) 375 return "Message Text"; 376 else if(key == 187) 377 return "Answered question"; 378 else if(key == 188) 379 return "Received flow"; 380 else if(key == 189) 381 return "Ref"; 382 else if(key == 190) 383 return "Equal"; 384 else if(key == 191) 385 return "Different"; 386 else if(key == 192) 387 return "Bigger or equal"; 388 else if(key == 193) 389 return "Less or equal"; 390 else if(key == 194) 391 return "Bigger then"; 392 else if(key == 195) 393 return "Less than"; 394 else if(key == 196) 395 return "Contains"; 396 else if(key == 197) 397 return "Not contains"; 398 else if(key == 198) 399 return "Interval"; 400 else if(key == 199) 401 return "Not interval"; 402 else if(key == 200) 403 return "Total receivers"; 404 else if(key == 201) 405 return "Targeting"; 406 else if(key == 202) 407 return "Flow to send"; 408 else if(key == 203) 409 return "Finish"; 410 else if(key == 204) 411 return "The specified date must be at least 1 minute longer than the current date."; 412 else if(key == 205) 413 return "Receivers: "+param0; 414 else if(key == 206) 415 return "The flow you intend to send has already been deleted."; 416 else if(key == 208) 417 return "Users by language"; 418 else if(key == 209) 419 return "and"; 420 else if(key == 210) 421 return "or"; 422 else if(key == 211) 423 return "New users of Bot via refs"; 424 else if(key == 212) 425 return "Resend"; 426 else if(key == 213) 427 return "Do you want to resend this message?"; 428 else if(key == 214) 429 return "Subscription cancellation '"+param0+"'"; 430 else if(key == 215) 431 return "Subscription cancellation"; 432 else if(key == 216){ 433 if(param0 === null) 434 return "Now go to the inbox of the Facebook page to contact this user."; 435 else 436 return 'Click <a href="'+param0+'">HERE</a> to go the inbox of the Facebook page to contact this user.' 437 }else if(key == 256) 438 return "Optional"; 439 else if(key == 257) 440 return "Name already exists. Please add another name."; 441 else if(key == 258) 442 return "Write and press Enter key"; 443 else if(key == 260) 444 return "Track comments on all posts"; 445 else if(key == 261) 446 return "Total users: "+param0; 447 else if(key == 262) 448 return "Saw video/image..."; 449 else if(key == 263) 450 return "Voted"; 451 else if(key == 264) 452 return "Answer flow of type carousel"; 453 else if(key == 265) 454 return "Activated"; 455 else if(key == 266) 456 return "Disabled"; 457 else if(key == 267) 458 return "Share"; 459 else if(key == 268){ 460 if(param0 > 1) 461 return "This operation ("+param1+") will affect "+param0+" users"; 462 else 463 return "This operation ("+param1+") will affect "+param0+" user"; 464 }else if(key == 269) 465 return "Continue";
466 else if(key == 270) 467 return "Categories - Vendors"; 468 else if(key == 271) 469 return "Vendors"; 470 else if(key == 272){ 471 if(param0 == 1) 472 return "1 day left"; 473 else 474 return param0+" days left"; 475 } 476 477} 478 479if(typeof dtb_lng === 'undefined' ){ 480 dtb_lng={ 481 search: "_INPUT_", 482 searchPlaceholder: "Search..." 483 }; 484} 485 486/*if($("body").data("emptytable") != ""){ 487 dtb_lng.emptyTable = $("body").data("emptytable"); 488}*/ 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505function prepare_template_dscr(tpts){ 506 return tpts; 507} 508 509function order_state(state, op){ 510 if(typeof myi18n !== 'undefined'){ 511 if(op == 0){ 512 if(state == 4) 513 return myi18n.t('e.notProcessed'); 514 else if(state == 6) 515 return myi18n.t('accept'); 516 else if(state == 7) 517 return myi18n.t('e.delivering'); 518 else if(state == 10) 519 return myi18n.t('conclude'); 520 else if(state == 13) 521 return myi18n.t('cancel'); 522 }else{ 523 if(state == 4) 524 return myi18n.t('e.notProcessed'); 525 else if(state == 6) 526 return myi18n.t('e.accepted'); 527 else if(state == 7) 528 return myi18n.t('e.delivering'); 529 else if(state == 10) 530 return myi18n.t('completed'); 531 else if(state == 13) 532 return myi18n.t('canceled'); 533 } 534 535 }else{ 536 if(op == 0){ 537 if(state == 4) 538 return "Not processed"; 539 else if(state == 6) 540 return "Accept"; 541 else if(state == 7) 542 return "Delivering"; 543 else if(state == 10) 544 return "Conclude"; 545 else if(state == 13) 546 return "Cancel"; 547 }else{ 548 if(state == 4) 549 return "Not processed"; 550 else if(state == 6) 551 return "Accepted"; 552 else if(state == 7) 553 return "Delivering"; 554 else if(state == 10) 555 return "Completed"; 556 else if(state == 13) 557 return "Canceled"; 558 } 559 } 560} 561 562 563function payment_method(type){ 564 if(type == 1 || type == 2) 565 return myi18n.t('e.cashOnDelivery'); 566 else if(type == 3) 567 return myi18n.t('e.msg86'); 568 else 569 return ''; 570} 571 572 573 574 575function user_source(source){ 576 if(source == 0) 577 return myi18n ? myi18n.t('direct') : 'Direct'; 578 else if(source == 1) 579 return myi18n ? myi18n.t('comments') : 'Comments'; 580 else if(source == 2) 581 return 'Bot Link'; 582 else if(source == 3) 583 return 'Messenger Code'; 584 else if(source == 4) 585 return 'Ads'; 586 else if(source == 5) 587 return 'C. chat plugin'; 588 else if(source == 6) 589 return myi18n ? myi18n.t('inboundMessage') : 'Inbound Message'; 590 else if(source == 7) 591 return 'Customer matching'; 592 else if(source == 8) 593 return 'Checkbox plugin'; 594 else if(source == 9) 595 return 'AR camera'; 596 else if(source == 10) 597 return 'Send to Messenger Plugin'; 598 else if(source == 11) 599 return myi18n ? myi18n.t('imported') : 'Imported'; 600 else if(source == 12) 601 return 'API'; 602 else if(source == 13) 603 return 'Webchat'; 604 else if(source == 14) 605 return 'FB Lead Ad'; 606 else if(source == 15) 607 return myi18n.t('businessMessage'); 608 else 609 return myi18n ? myi18n.t('unknown') : 'Unknown'; 610 611} 612 613function dataTypetoText(type){ 614 if(type == 0) 615 return myi18n.t('products'); 616 else if(type == 1) 617 return myi18n.t('events'); 618 else if(type == 2) 619 return myi18n.t('news'); 620 else if(type == 3) 621 return myi18n.t('polls'); 622 else if(type == 4) 623 return 'Subscriptions'; 624 else if(type == 5) 625 return 'Carousel FAQs'; 626 else if(type == 6) 627 return 'Vendors'; 628} 629 630 631function smsStatus(status){ 632 if(status == 2) 633 return 'Sending'; 634 else if (status == 3) 635 return 'Sent'; 636 else if (status == 4) 637 return 'Delivered'; 638 else if (status == 5) 639 return 'Undelivered'; 640 else if (status == 6) 641 return 'Failed'; 642 else if (status == 7) 643 return 'Received'; 644 else if (status == 8) 645 return 'Receiving'; 646 else 647 return 'Unknown'; 648} 649
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.