Plugin Directory

Changeset 3348456


Ignore:
Timestamp:
08/22/2025 06:14:41 AM (6 months ago)
Author:
newcodebyte
Message:

update to 1.6.3

Location:
chatbot-ai-free-models
Files:
91 added
1 deleted
8 edited

Legend:

Unmodified
Added
Removed
  • chatbot-ai-free-models/trunk/chatbot-admin.php

    r3344146 r3348456  
    101101            update_option('newcodebyte_chatbot_enable_proactive_message', isset($_POST['chatbot_enable_proactive_message']) ? '1' : '0');
    102102            update_option('newcodebyte_chatbot_proactive_message_text', isset($_POST['chatbot_proactive_message_text']) ? sanitize_textarea_field($_POST['chatbot_proactive_message_text']) : '');
    103             update_option('newcodebyte_chatbot_proactive_message_delay', isset($_POST['chatbot_proactive_message_delay']) ? absint($_POST['chatbot_proactive_message_delay']) : 5);                       
     103            update_option('newcodebyte_chatbot_proactive_message_delay', isset($_POST['chatbot_proactive_message_delay']) ? absint($_POST['chatbot_proactive_message_delay']) : 5);
     104        if (isset($_POST['chatbot_display_mode'])) {
     105            $display_mode = sanitize_text_field($_POST['chatbot_display_mode']);
     106            // Controllo di sicurezza per accettare solo i valori previsti
     107            if (in_array($display_mode, ['widget', 'shortcode'])) {
     108                update_option('newcodebyte_chatbot_display_mode', $display_mode);
     109            }
     110        }                                   
    104111            echo '<div class="notice notice-success is-dismissible"><p>' . esc_html__( 'Settings saved successfully.', 'chatbot-ai-free-models' ) . '</p></div>';
    105112        } else {
     
    354361            <?php wp_nonce_field( NEWCODEBYTE_CHATBOT_SETTINGS_NONCE_ACTION, NEWCODEBYTE_CHATBOT_SETTINGS_NONCE_FIELD ); ?>
    355362            <table class="form-table">
     363<tr valign="top">
     364    <th scope="row"><?php esc_html_e( 'Display Mode', 'chatbot-ai-free-models' ); ?></th>
     365    <td>
     366        <?php
     367            // Leggiamo l'opzione salvata UNA SOLA VOLTA e la mettiamo in una variabile
     368            $current_display_mode = get_option('newcodebyte_chatbot_display_mode', 'widget');
     369        ?>
     370        <fieldset>
     371            <label>
     372                <input type="radio" name="chatbot_display_mode" value="widget" <?php checked($current_display_mode, 'widget'); ?> />
     373                <?php esc_html_e( 'Floating Widget on all pages', 'chatbot-ai-free-models' ); ?>
     374            </label>
     375            <br>
     376            <label>
     377                <input type="radio" name="chatbot_display_mode" value="shortcode" <?php checked($current_display_mode, 'shortcode'); ?> />
     378                <?php esc_html_e( 'Embedded via Shortcode', 'chatbot-ai-free-models' ); ?>
     379            </label>
     380        </fieldset>
     381        <p class="description">
     382            <?php esc_html_e( 'Choose "Embedded via Shortcode" and use', 'chatbot-ai-free-models' ); ?>
     383            <code>[newcodebyte_chatbot]</code>
     384            <?php esc_html_e( 'to display the chatbot inside a specific page or post.', 'chatbot-ai-free-models' ); ?>
     385        </p>
     386    </td>
     387</tr>               
    356388                <tr valign="top">
    357389                    <th scope="row"><?php esc_html_e( 'Window Title', 'chatbot-ai-free-models' ); ?></th>
  • chatbot-ai-free-models/trunk/css/chatbot.css

    r3344759 r3348456  
    2525    color: var(--chatbot-header-text-color, #fff); /* VARIABILE CSS per testo header */
    2626    padding: 10px;
     27    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;   
    2728    font-size: 18px;
    2829    text-align: center;
     
    7475    color: var(--chatbot-user-message-text-color, #000); /* VARIABILE CSS per testo messaggi utente */
    7576    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    76     font-size: 15px;
    77     padding: 10px;
    78     border-radius: 10px;
    79     max-width: 90%; /* Aumenta la larghezza massima */
     77    font-size: 15px !important;
     78    padding: 10px !important;
     79    border-radius: 10px !important;
     80    max-width: 90% !important; /* Aumenta la larghezza massima */
    8081    word-wrap: break-word;
    81     margin-right: 10px;
    82     box-sizing: border-box; /* Aggiunto */
     82    margin-right: 10px !important;
     83    box-sizing: border-box !important; /* Aggiunto */
     84    line-height: 1.4 !important;
    8385}
    8486
     
    9193    color: var(--chatbot-bot-message-text-color, #000); /* VARIABILE CSS per testo messaggi bot */
    9294    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    93     font-size: 15px;
    94     padding: 10px;
    95     border-radius: 10px;
    96     max-width: 90%; /* Aumenta la larghezza massima */
     95    font-size: 15px !important;
     96    padding: 10px !important;
     97    border-radius: 10px !important;
     98    max-width: 90% !important; /* Aumenta la larghezza massima */
    9799    word-wrap: break-word;
    98     margin-right: 10px;
    99     box-sizing: border-box; /* Aggiunto */
    100     line-height: 1.4; /* Aggiunto per un aspetto più compatto */
     100    margin-right: 10px !important;
     101    box-sizing: border-box !important; /* Aggiunto */
     102    line-height: 1.4 !important; /* Aggiunto per un aspetto più compatto */
    101103}
    102104
     
    127129    padding: 10px;
    128130    border: 1px solid #ccc;
    129     font-size: 15px;
     131    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
     132    font-size: 15px !important;
     133    color: #4a4a4a;
    130134    border-radius: 5px;
    131135    margin-right: 10px;
     
    139143    padding: 10px 20px;
    140144    border: none;
    141     font-size: 15px;
     145    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
     146    font-size: 16px;
    142147    border-radius: 5px;
    143148    cursor: pointer;
     
    201206#chatbox-powered {
    202207  text-align: center; /* Allinea il testo al centro */
    203   font-size: 0.8em !important; /* Dimensione del font più piccola */
     208  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; 
     209  font-size: 14px !important; /* Dimensione del font più piccola */
    204210  color: #808080 !important; /* Colore del testo grigio */
    205211}
     
    632638    color: #ffffff !important;
    633639}
     640
     641/* ============================================= */
     642/* STILI PER LO SHORTCODE EMBEDDED               */
     643/* ============================================= */
     644
     645.chatbot-shortcode-wrapper {
     646    position: relative;
     647    height: 600px;
     648    width: 100%;
     649    max-width: 1100px;
     650    margin: 40px auto;
     651    border: 1px solid #e0e0e0;
     652    border-radius: 10px;
     653    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
     654    overflow: hidden;
     655}
     656
     657.chatbot-shortcode-wrapper #chatbox {
     658    border-radius: 0;
     659    box-shadow: none;
     660}
  • chatbot-ai-free-models/trunk/js/chatbot.js

    r3327400 r3348456  
    9999       
    100100        // Collega l'evento click alla funzione toggle
    101         chatboxButton.on('click', toggleChatbox);
     101        //chatboxButton.on('click', toggleChatbox);
    102102
    103103        var chatboxContent = $('#chatbox-content');
    104         var chatboxInput = $('#chatbox-input');
    105        
     104        var chatboxInput = $('#chatbox-input');       
     105
    106106function escapeHTML(unsafe) {
    107107    if (typeof unsafe !== 'string') {
     
    313313        }
    314314
     315        // Controlla se la chat è visualizzata tramite lo shortcode
     316        if ($('.chatbot-shortcode-wrapper').length > 0) {
     317            if (!welcomeMessageSent) {
     318                sendWelcomeMessage();
     319                welcomeMessageSent = true;
     320            }
     321        } else {
     322            // Altrimenti, siamo in modalità widget.
     323            chatboxButton.on('click', toggleChatbox);
     324        }
     325
    315326    })(jQuery);
    316327
  • chatbot-ai-free-models/trunk/languages/chatbot-ai-free-models-it_IT.po

    r3327400 r3348456  
    22msgstr ""
    33"Project-Id-Version: Chatbot AI Free\n"
    4 "POT-Creation-Date: 2025-07-13 14:05+0200\n"
    5 "PO-Revision-Date: 2025-07-13 14:09+0200\n"
     4"POT-Creation-Date: 2025-08-21 16:03+0200\n"
     5"PO-Revision-Date: 2025-08-21 16:13+0200\n"
    66"Last-Translator: \n"
    77"Language-Team: \n"
     
    1111"Content-Transfer-Encoding: 8bit\n"
    1212"Plural-Forms: nplurals=2; plural=(n != 1);\n"
    13 "X-Generator: Poedit 3.6\n"
     13"X-Generator: Poedit 2.2\n"
    1414"X-Poedit-Basepath: ..\n"
    1515"X-Poedit-Flags-xgettext: --add-comments=translators:\n"
    1616"X-Poedit-WPHeader: wp-chatbot.php\n"
    1717"X-Poedit-SourceCharset: UTF-8\n"
    18 "X-Poedit-KeywordsList: "
    19 "__;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
     18"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
     19"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
     20"_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
    2021"X-Poedit-SearchPath-0: .\n"
    2122"X-Poedit-SearchPathExcluded-0: *.js\n"
     
    2930msgstr "Accesso negato"
    3031
    31 #: chatbot-admin.php:67 chatbot-admin.php:116 chatbot-admin.php:172
    32 #: chatbot-admin.php:200 chatbot-admin.php:214 chatbot-admin.php:224
    33 #: wp-chatbot.php:287 wp-chatbot.php:553 wp-chatbot.php:572
     32#: chatbot-admin.php:67 chatbot-admin.php:123 chatbot-admin.php:186
     33#: chatbot-admin.php:214 chatbot-admin.php:228 chatbot-admin.php:238
     34#: wp-chatbot.php:268 wp-chatbot.php:533 wp-chatbot.php:557
    3435msgid "Security check failed."
    3536msgstr "Controllo di sicurezza fallito."
    3637
    37 #: chatbot-admin.php:67 chatbot-admin.php:116 chatbot-admin.php:172
    38 #: chatbot-admin.php:200 chatbot-admin.php:214 chatbot-admin.php:224
     38#: chatbot-admin.php:67 chatbot-admin.php:123 chatbot-admin.php:186
     39#: chatbot-admin.php:214 chatbot-admin.php:228 chatbot-admin.php:238
    3940msgid "Error"
    4041msgstr "Errore"
    4142
    42 #: chatbot-admin.php:74 chatbot-admin.php:242 wp-chatbot.php:223
    43 #: wp-chatbot.php:856
     43#: chatbot-admin.php:74 chatbot-admin.php:256 wp-chatbot.php:227
    4444msgid "Hello! How can I assist you today?"
    4545msgstr "Ciao! Come posso aiutarti oggi?"
     
    5050"Modello selezionato non valido. Seleziona un modello valido dalla lista."
    5151
    52 #: chatbot-admin.php:104 chatbot-admin.php:160 chatbot-admin.php:192
    53 #: chatbot-admin.php:208 chatbot-admin.php:218 chatbot-admin.php:228
     52#: chatbot-admin.php:111 chatbot-admin.php:167 chatbot-admin.php:206
     53#: chatbot-admin.php:222 chatbot-admin.php:232 chatbot-admin.php:242
    5454msgid "Settings saved successfully."
    5555msgstr "Impostazioni salvate con successo."
    5656
    57 #: chatbot-admin.php:123
    58 msgid ""
    59 "Invalid Header Background Color format. Please use a valid hex color code "
    60 "(e.g., #RRGGBB)."
     57#: chatbot-admin.php:130
     58msgid ""
     59"Invalid Header Background Color format. Please use a valid hex color code (e."
     60"g., #RRGGBB)."
    6161msgstr ""
    6262"Formato colore di sfondo dell'intestazione non valido. Si prega di "
    6363"utilizzare un codice colore esadecimale valido (ad es., #RRGGBB)."
    6464
    65 #: chatbot-admin.php:124
     65#: chatbot-admin.php:131
    6666msgid ""
    6767"Invalid Header Text Color format. Please use a valid hex color code (e.g., "
     
    7171"utilizzare un codice colore esadecimale valido (ad es., #RRGGBB)."
    7272
    73 #: chatbot-admin.php:125
     73#: chatbot-admin.php:132
    7474msgid ""
    7575"Invalid Chatbox Background Color format. Please use a valid hex color code "
     
    7979"codice colore esadecimale valido (ad es., #RRGGBB)."
    8080
    81 #: chatbot-admin.php:126
     81#: chatbot-admin.php:133
    8282msgid ""
    8383"Invalid User Message Background Color format. Please use a valid hex color "
     
    8787"utilizzare un codice colore esadecimale valido (ad es., #RRGGBB)."
    8888
    89 #: chatbot-admin.php:127
    90 msgid ""
    91 "Invalid User Message Text Color format. Please use a valid hex color code "
    92 "(e.g., #RRGGBB)."
     89#: chatbot-admin.php:134
     90msgid ""
     91"Invalid User Message Text Color format. Please use a valid hex color code (e."
     92"g., #RRGGBB)."
    9393msgstr ""
    9494"Formato colore del testo del messaggio utente non valido. Si prega di "
    9595"utilizzare un codice colore esadecimale valido (ad es., #RRGGBB)."
    9696
    97 #: chatbot-admin.php:128
     97#: chatbot-admin.php:135
    9898msgid ""
    9999"Invalid Bot Message Background Color format. Please use a valid hex color "
     
    103103"utilizzare un codice colore esadecimale valido (ad es., #RRGGBB)."
    104104
    105 #: chatbot-admin.php:129
    106 msgid ""
    107 "Invalid Bot Message Text Color format. Please use a valid hex color code "
    108 "(e.g., #RRGGBB)."
     105#: chatbot-admin.php:136
     106msgid ""
     107"Invalid Bot Message Text Color format. Please use a valid hex color code (e."
     108"g., #RRGGBB)."
    109109msgstr ""
    110110"Formato colore del testo del messaggio bot non valido. Si prega di "
    111111"utilizzare un codice colore esadecimale valido (ad es., #RRGGBB)."
    112112
    113 #: chatbot-admin.php:130
     113#: chatbot-admin.php:137
    114114msgid ""
    115115"Invalid Send Button Background Color format. Please use a valid hex color "
     
    119119"utilizzare un codice colore esadecimale valido (ad es., #RRGGBB)."
    120120
    121 #: chatbot-admin.php:131
    122 msgid ""
    123 "Invalid Send Button Text Color format. Please use a valid hex color code "
    124 "(e.g., #RRGGBB)."
     121#: chatbot-admin.php:138
     122msgid ""
     123"Invalid Send Button Text Color format. Please use a valid hex color code (e."
     124"g., #RRGGBB)."
    125125msgstr ""
    126126"Formato colore del testo del pulsante di invio non valido. Si prega di "
    127127"utilizzare un codice colore esadecimale valido (ad es., #RRGGBB)."
    128128
    129 #: chatbot-admin.php:246
     129#: chatbot-admin.php:260
    130130msgid ""
    131131"Please insert all the information about your blog in this text box. This "
     
    136136"alle domande degli utenti."
    137137
    138 #: chatbot-admin.php:250
     138#: chatbot-admin.php:264
    139139msgid ""
    140140"Provide detailed instructions on how the bot should respond to user queries. "
     
    147147
    148148#. translators: %1$s: Number of characters, %2$s: Estimated number of tokens
    149 #: chatbot-admin.php:280
     149#: chatbot-admin.php:294
    150150#, php-format
    151151msgid "Characters: %1$s / Tokens (estimate): %2$s"
    152152msgstr "Caratteri: %1$s / Tokens (stima): %2$s"
    153153
    154 #: chatbot-admin.php:332
     154#: chatbot-admin.php:346
    155155msgid "Enjoying the plugin? Click the button!"
    156156msgstr "Ti piace il plugin? Clicca sul pulsante!"
    157157
    158 #: chatbot-admin.php:336
     158#: chatbot-admin.php:350
    159159msgid "Settings"
    160160msgstr "Impostazioni"
    161161
    162 #: chatbot-admin.php:337
     162#: chatbot-admin.php:351
    163163msgid "Messages"
    164164msgstr "Messaggi"
    165165
    166 #: chatbot-admin.php:338
     166#: chatbot-admin.php:352
    167167msgid "Style"
    168168msgstr "Stile"
    169169
    170 #: chatbot-admin.php:339
     170#: chatbot-admin.php:353
    171171msgid "Images"
    172172msgstr "Immagini"
    173173
    174 #: chatbot-admin.php:340
     174#: chatbot-admin.php:354
    175175msgid "Sounds"
    176176msgstr "Suoni"
    177177
    178 #: chatbot-admin.php:341
     178#: chatbot-admin.php:355
    179179msgid "Guide"
    180180msgstr "Guida"
    181181
    182 #: chatbot-admin.php:342
     182#: chatbot-admin.php:356
    183183msgid "NewCodeByte Apps"
    184184msgstr "NewCodeByte Apps"
    185185
    186 #: chatbot-admin.php:350
     186#: chatbot-admin.php:364
     187msgid "Display Mode"
     188msgstr "Modalità di visualizzazione"
     189
     190#: chatbot-admin.php:373
     191msgid "Floating Widget on all pages"
     192msgstr "Widget fluttuante su tutte le pagine"
     193
     194#: chatbot-admin.php:378
     195msgid "Embedded via Shortcode"
     196msgstr "Incorporato tramite Shortcode"
     197
     198#: chatbot-admin.php:382
     199msgid "Choose \"Embedded via Shortcode\" and use"
     200msgstr "Scegli \"Incorporato tramite Shortcode\" e usa"
     201
     202#: chatbot-admin.php:384
     203msgid "to display the chatbot inside a specific page or post."
     204msgstr ""
     205"per visualizzare il chatbot all'interno di una pagina o di un articolo "
     206"specifico."
     207
     208#: chatbot-admin.php:389
    187209msgid "Window Title"
    188210msgstr "Titolo Finestra"
    189211
    190 #: chatbot-admin.php:354
     212#: chatbot-admin.php:393
    191213msgid "Welcome Message"
    192214msgstr "Messaggio di Benvenuto"
    193215
    194 #: chatbot-admin.php:359
     216#: chatbot-admin.php:398
    195217msgid "Enable Proactive Message"
    196218msgstr "Abilita messaggio proattivo"
    197219
    198 #: chatbot-admin.php:364
     220#: chatbot-admin.php:403
    199221msgid "Yes, show a welcome bubble next to the chat button."
    200222msgstr "Sì, mostra un messaggio di benvenuto accanto al pulsante della chat."
    201223
    202 #: chatbot-admin.php:369
     224#: chatbot-admin.php:408
    203225msgid "Proactive Message Text"
    204226msgstr "Testo del messaggio proattivo"
    205227
    206 #: chatbot-admin.php:372
     228#: chatbot-admin.php:411
    207229msgid ""
    208230"Have a question?\n"
     
    210232msgstr "Hai una domanda? Chiedi pure!"
    211233
    212 #: chatbot-admin.php:374
     234#: chatbot-admin.php:413
    213235msgid ""
    214236"This message will appear in a bubble next to the chat icon. You can use line "
     
    218240"usare le interruzioni di riga per formattare il testo."
    219241
    220 #: chatbot-admin.php:378
     242#: chatbot-admin.php:417
    221243msgid "Proactive Message Delay"
    222244msgstr "Ritardo del messaggio proattivo"
    223245
    224 #: chatbot-admin.php:382
     246#: chatbot-admin.php:421
    225247msgid "seconds"
    226248msgstr "secondi"
    227249
    228 #: chatbot-admin.php:383
     250#: chatbot-admin.php:422
    229251msgid ""
    230252"Delay in seconds before the proactive message appears. Use 0 to show it "
     
    234256"mostrarlo subito."
    235257
    236 #: chatbot-admin.php:388
     258#: chatbot-admin.php:427
    237259msgid "Api provider"
    238260msgstr "Provider API"
    239261
    240 #: chatbot-admin.php:391
     262#: chatbot-admin.php:430
    241263msgid "Get your API Key for free"
    242264msgstr "Ottieni la tua chiave API gratuitamente"
    243265
    244 #: chatbot-admin.php:395
     266#: chatbot-admin.php:434
    245267msgid "API Key"
    246268msgstr "Chiave API"
    247269
    248 #: chatbot-admin.php:399
     270#: chatbot-admin.php:441
     271msgid "Show/Hide API Key"
     272msgstr "Mostra/Nascondi Chiave API"
     273
     274#: chatbot-admin.php:446
    249275msgid "Model"
    250276msgstr "Modello"
    251277
    252 #: chatbot-admin.php:403
     278#: chatbot-admin.php:450
    253279msgid "No models available. Please enter a valid API Key and save."
    254280msgstr "Nessun modello disponibile. Inserisci una chiave API valida e salvala."
    255281
    256 #: chatbot-admin.php:404
     282#: chatbot-admin.php:451
    257283msgid "Saved"
    258284msgstr "Salvato"
    259285
    260 #: chatbot-admin.php:416
     286#: chatbot-admin.php:463
    261287msgid "Information for responses"
    262288msgstr "Informazioni per le risposte"
    263289
    264 #: chatbot-admin.php:424
     290#: chatbot-admin.php:471
    265291msgid "Behavior type"
    266292msgstr "Tipo di comportamento"
    267293
    268 #: chatbot-admin.php:432
     294#: chatbot-admin.php:479
    269295msgid "Pre-Chat Form Settings"
    270296msgstr "Impostazioni Form Pre-Chat"
    271297
    272 #: chatbot-admin.php:435
     298#: chatbot-admin.php:482
    273299msgid "Enable Pre-Chat Form"
    274300msgstr "Abilita Form Pre-chat"
    275301
    276 #: chatbot-admin.php:439
     302#: chatbot-admin.php:486
    277303msgid "Yes, ask for user name and email before starting the chat."
    278304msgstr "Si, chiedi nome utente ed email prima di avviare la chat."
    279305
    280 #: chatbot-admin.php:444
     306#: chatbot-admin.php:491
    281307msgid "Form Title"
    282308msgstr "Titolo del Form"
    283309
    284 #: chatbot-admin.php:448
     310#: chatbot-admin.php:495
    285311msgid "Form Description"
    286312msgstr "Descrizione Form"
    287313
    288 #: chatbot-admin.php:452 chatbot-admin.php:476 chatbot-admin.php:628
    289 #: chatbot-admin.php:701 chatbot-admin.php:727 chatbot-admin.php:785
     314#: chatbot-admin.php:499 chatbot-admin.php:523 chatbot-admin.php:682
     315#: chatbot-admin.php:755 chatbot-admin.php:781 chatbot-admin.php:839
    290316msgid "Save settings"
    291317msgstr "Salva impostazioni"
    292318
    293 #: chatbot-admin.php:463
     319#: chatbot-admin.php:510
    294320msgid "Save Messages?"
    295321msgstr "Salvare i messaggi?"
    296322
    297 #: chatbot-admin.php:470
     323#: chatbot-admin.php:517
    298324msgid "Yes, save chat messages to the database."
    299325msgstr "Sì, salva i messaggi della chat nel database."
    300326
    301 #: chatbot-admin.php:472
     327#: chatbot-admin.php:519
    302328msgid ""
    303329"If enabled, chat messages will be stored in the database. Disabling this "
     
    307333"disabilitazione impedirà il salvataggio di nuovi messaggi."
    308334
    309 #: chatbot-admin.php:480
     335#: chatbot-admin.php:527
    310336msgid "Delete all messages"
    311337msgstr "Elimina tutti i messaggi"
    312338
    313 #: chatbot-admin.php:482
     339#: chatbot-admin.php:529
    314340msgid "Select format"
    315341msgstr "Seleziona formato"
    316342
    317 #: chatbot-admin.php:488
     343#: chatbot-admin.php:535
    318344msgid "Export"
    319345msgstr "Esporta"
    320346
    321 #: chatbot-admin.php:495
     347#: chatbot-admin.php:542
    322348msgid "User / Email"
    323349msgstr "Utente / Email"
    324350
    325 #: chatbot-admin.php:496
     351#: chatbot-admin.php:543
    326352msgid "IP Address"
    327353msgstr "Indirizzo IP"
    328354
    329 #: chatbot-admin.php:497
     355#: chatbot-admin.php:544
    330356msgid "Conversation Start"
    331357msgstr "Inizio Conversazione"
    332358
    333 #: chatbot-admin.php:498
     359#: chatbot-admin.php:545
    334360msgid "Message Count"
    335361msgstr "№ di Messaggi"
    336362
    337 #: chatbot-admin.php:499
     363#: chatbot-admin.php:546
    338364msgid "Conversation ID"
    339365msgstr "ID Conversazione"
    340366
    341 #: chatbot-admin.php:545 wp-chatbot.php:738
     367#: chatbot-admin.php:573
     368msgid "No messages found."
     369msgstr "Nessun messaggio trovato."
     370
     371#: chatbot-admin.php:592 wp-chatbot.php:716
    342372msgid "Anonymous User"
    343373msgstr "Utente Anonimo"
    344374
    345 #: chatbot-admin.php:548
     375#: chatbot-admin.php:595
    346376msgid "Click to view messages"
    347377msgstr "Clicca per vedere i messaggi"
    348378
    349 #: chatbot-admin.php:558
     379#: chatbot-admin.php:605
    350380msgid "Loading messages..."
    351381msgstr "Caricamento dei messaggi..."
    352382
    353 #: chatbot-admin.php:567
    354 msgid "Error connecting to the database."
    355 msgstr "Errore di connessione al database."
    356 
    357 #: chatbot-admin.php:570
    358 msgid "No messages found."
    359 msgstr "Nessun messaggio trovato."
    360 
    361 #: chatbot-admin.php:583
     383#: chatbot-admin.php:623
    362384msgid "Header background color"
    363385msgstr "Colore di sfondo dell'intestazione"
    364386
    365 #: chatbot-admin.php:587
     387#: chatbot-admin.php:627
    366388msgid "Header text color"
    367389msgstr "Colore del testo dell'intestazione"
    368390
    369 #: chatbot-admin.php:591
     391#: chatbot-admin.php:631
    370392msgid "Chatbox background color"
    371393msgstr "Colore di sfondo della chatbox"
    372394
    373 #: chatbot-admin.php:595
     395#: chatbot-admin.php:635
    374396msgid "User message background color"
    375397msgstr "Colore di sfondo del messaggio utente"
    376398
    377 #: chatbot-admin.php:599
     399#: chatbot-admin.php:639
    378400msgid "User message text color"
    379401msgstr "Colore del testo del messaggio utente"
    380402
    381 #: chatbot-admin.php:603
     403#: chatbot-admin.php:643
    382404msgid "Bot message background color"
    383405msgstr "Colore di sfondo del messaggio del bot"
    384406
    385 #: chatbot-admin.php:607
     407#: chatbot-admin.php:647
    386408msgid "Bot message text color"
    387409msgstr "Colore del testo del messaggio del bot"
    388410
    389 #: chatbot-admin.php:611
     411#: chatbot-admin.php:651
    390412msgid "Send button background color"
    391413msgstr "Colore di sfondo del pulsante di invio"
    392414
    393 #: chatbot-admin.php:615
     415#: chatbot-admin.php:655
    394416msgid "Send button text color"
    395417msgstr "Colore del testo del pulsante di invio"
    396418
    397 #: chatbot-admin.php:620
     419#: chatbot-admin.php:660
    398420msgid "Chat Window Height"
    399421msgstr "Altezza della Finestra di Chat"
    400422
    401 #: chatbot-admin.php:624
     423#: chatbot-admin.php:664
    402424msgid ""
    403425"Set the height of the chat window on desktop. Default: 600px. (Min: 300, "
     
    407429"(Minimo: 300, Massimo: 1000)"
    408430
    409 #: chatbot-admin.php:637
     431#: chatbot-admin.php:668
     432msgid "Chatbot Position"
     433msgstr "Posizione Chatbot"
     434
     435#: chatbot-admin.php:672
     436msgid "Bottom Right"
     437msgstr "Basso a destra"
     438
     439#: chatbot-admin.php:675
     440msgid "Bottom Left"
     441msgstr "Basso a sinistra"
     442
     443#: chatbot-admin.php:678
     444msgid "Choose which corner of the screen the chatbot button should appear in."
     445msgstr ""
     446"Scegli in quale angolo dello schermo deve apparire il pulsante del chatbot."
     447
     448#: chatbot-admin.php:691
    410449msgid "User Avatar"
    411450msgstr "Avatar Utente"
    412451
    413 #: chatbot-admin.php:641
     452#: chatbot-admin.php:695
    414453msgid "User Avatar Preview"
    415454msgstr "Anteprima Avatar Utente"
    416455
    417 #: chatbot-admin.php:646 chatbot-admin.php:662 chatbot-admin.php:678
    418 #: chatbot-admin.php:694
     456#: chatbot-admin.php:700 chatbot-admin.php:716 chatbot-admin.php:732
     457#: chatbot-admin.php:748
    419458msgid "Upload Image"
    420459msgstr "Carica Immagine"
    421460
    422 #: chatbot-admin.php:649 chatbot-admin.php:665 chatbot-admin.php:681
    423 #: chatbot-admin.php:697
     461#: chatbot-admin.php:703 chatbot-admin.php:719 chatbot-admin.php:735
     462#: chatbot-admin.php:751
    424463msgid "Accepted formats: JPG, PNG, GIF"
    425464msgstr "Formati accettati: JPG, PNG, GIF"
    426465
    427 #: chatbot-admin.php:653
     466#: chatbot-admin.php:707
    428467msgid "Bot Avatar"
    429468msgstr "Avatar Bot"
    430469
    431 #: chatbot-admin.php:657
     470#: chatbot-admin.php:711
    432471msgid "Bot Avatar Preview"
    433472msgstr "Anteprima Avatar Bot"
    434473
    435 #: chatbot-admin.php:669
     474#: chatbot-admin.php:723
    436475msgid "Chat Open Icon"
    437476msgstr "Icona Chat Aperta"
    438477
    439 #: chatbot-admin.php:673
     478#: chatbot-admin.php:727
    440479msgid "Chat Open Icon Preview"
    441480msgstr "Anteprima Icona Chat Aperta"
    442481
    443 #: chatbot-admin.php:685
     482#: chatbot-admin.php:739
    444483msgid "Chat Closed Icon"
    445484msgstr "Icona Chat Chiusa"
    446485
    447 #: chatbot-admin.php:689
     486#: chatbot-admin.php:743
    448487msgid "Chat Closed Icon Preview"
    449488msgstr "Anteprima Icona Chat Chiusa"
    450489
    451 #: chatbot-admin.php:710
     490#: chatbot-admin.php:764
    452491msgid "Notification Sound"
    453492msgstr "Suono di Notifica"
    454493
    455 #: chatbot-admin.php:714
     494#: chatbot-admin.php:768
    456495msgid "Upload Sound"
    457496msgstr "Carica Suono"
    458497
    459 #: chatbot-admin.php:719
     498#: chatbot-admin.php:773
    460499msgid "Current sound file:"
    461500msgstr "File audio attuale:"
    462501
    463 #: chatbot-admin.php:723
     502#: chatbot-admin.php:777
    464503msgid ""
    465504"Upload a custom sound for new notifications (MP3, WAV, or OGG format). If no "
     
    469508"OGG). Se non viene caricato alcun suono, verrà utilizzato quello predefinito."
    470509
    471 #: chatbot-admin.php:732
     510#: chatbot-admin.php:786
    472511msgid "Chatbot AI Free Models - Guide"
    473512msgstr "Chatbot AI Free Models - Guida"
    474513
    475 #: chatbot-admin.php:733
     514#: chatbot-admin.php:787
    476515msgid ""
    477516"Thank you for installing Chatbot AI Free Models! This guide will help you "
     
    481520"configurare il plugin e a ottenere il massimo da esso."
    482521
    483 #: chatbot-admin.php:734
     522#: chatbot-admin.php:788
    484523msgid "Basic Configuration"
    485524msgstr "Configurazione di base"
    486525
    487 #: chatbot-admin.php:735
     526#: chatbot-admin.php:789
    488527msgid ""
    489528"Get an API Key: This plugin uses the OpenRouter API. Get your free API key at"
     
    492531"tua chiave API gratuita su"
    493532
    494 #: chatbot-admin.php:735
     533#: chatbot-admin.php:789
    495534msgid ""
    496535"OpenRouter offers access to over 300 models, including ChatGPT, Claude, "
     
    506545"senza complicazioni!"
    507546
    508 #: chatbot-admin.php:736
     547#: chatbot-admin.php:790
    509548msgid ""
    510549"Enter your API Key: Go to the \"Settings\" tab and enter your OpenRouter API "
     
    514553"tua chiave API OpenRouter nel campo \"Chiave API\"."
    515554
    516 #: chatbot-admin.php:737
     555#: chatbot-admin.php:791
    517556msgid ""
    518557"Choose a Model: Select an AI model from the \"Model\" dropdown. Free models "
     
    527566"indipendentemente dal provider originale."
    528567
    529 #: chatbot-admin.php:738
     568#: chatbot-admin.php:792
    530569msgid ""
    531570"Provide Context: In the \"Information for responses\" field, enter "
     
    536575"rispondere alle query degli utenti in modo più accurato."
    537576
    538 #: chatbot-admin.php:739
     577#: chatbot-admin.php:793
    539578msgid ""
    540579"Set the bot's behavior: In the \"Behavior type\" field, enter instructions "
     
    544583"inserisci istruzioni sul comportamento del bot."
    545584
    546 #: chatbot-admin.php:740
     585#: chatbot-admin.php:794
    547586msgid ""
    548587"Save Settings: Click \"Save settings\". Remember to refresh your website "
     
    555594"correttamente a causa della cache."
    556595
    557 #: chatbot-admin.php:741
     596#: chatbot-admin.php:795
    558597msgid "Customization"
    559598msgstr "Personalizzazione"
    560599
    561 #: chatbot-admin.php:742
    562 msgid ""
    563 "You can customize the appearance of the chatbot in the \"Style\" and "
    564 "\"Images\" tabs."
    565 msgstr ""
    566 "Puoi personalizzare l'aspetto del chatbot nelle schede \"Stile\" e "
    567 "\"Immagini\"."
    568 
    569 #: chatbot-admin.php:743
     600#: chatbot-admin.php:796
     601msgid ""
     602"You can customize the appearance of the chatbot in the \"Style\" and \"Images"
     603"\" tabs."
     604msgstr ""
     605"Puoi personalizzare l'aspetto del chatbot nelle schede \"Stile\" e \"Immagini"
     606"\"."
     607
     608#: chatbot-admin.php:797
    570609msgid ""
    571610"Style: Change the colors of the header, chatbox, messages, and send button."
     
    574613"pulsante di invio."
    575614
    576 #: chatbot-admin.php:744
     615#: chatbot-admin.php:798
    577616msgid ""
    578617"Images: Change the avatars for the user and bot, and the icons for the chat "
     
    582621"della chat."
    583622
    584 #: chatbot-admin.php:745
     623#: chatbot-admin.php:799
    585624msgid ""
    586625"Sounds: In the tab \"Sounds\", you can change the default sound when opening "
     
    591630"un file audio in formato MP3."
    592631
    593 #: chatbot-admin.php:746
     632#: chatbot-admin.php:800
    594633msgid "Troubleshooting"
    595634msgstr "Risoluzione dei problemi"
    596635
    597 #: chatbot-admin.php:747
     636#: chatbot-admin.php:801
    598637msgid ""
    599638"Changes not appearing? After making changes, press Ctrl+F5 (or Cmd+Shift+R "
     
    604643"del browser."
    605644
    606 #: chatbot-admin.php:748
     645#: chatbot-admin.php:802
    607646msgid ""
    608647"Bot not responding? Check your API key and make sure it's valid. Also, check "
     
    613652"se ci sono problemi noti."
    614653
    615 #: chatbot-admin.php:749
     654#: chatbot-admin.php:803
    616655msgid "Managing Messages"
    617656msgstr "Gestione dei messaggi"
    618657
    619 #: chatbot-admin.php:750
     658#: chatbot-admin.php:804
    620659msgid "You can view and export the messages in the \"Messages\" tab."
    621660msgstr "Puoi visualizzare ed esportare i messaggi nella scheda \"Messaggi\"."
    622661
    623 #: chatbot-admin.php:751
     662#: chatbot-admin.php:805
    624663msgid "View: See all chat messages."
    625664msgstr "Visualizza: visualizza tutti i messaggi della chat."
    626665
    627 #: chatbot-admin.php:752
     666#: chatbot-admin.php:806
    628667msgid "Export: Export the messages in various formats (TXT, CSV, MD, HTML)."
    629668msgstr "Esporta: esporta i messaggi in vari formati (TXT, CSV, MD, HTML)."
    630669
    631 #: chatbot-admin.php:753
     670#: chatbot-admin.php:807
    632671msgid "Delete: Delete all chat messages."
    633672msgstr "Elimina: elimina tutti i messaggi della chat."
    634673
    635 #: chatbot-admin.php:754
     674#: chatbot-admin.php:808
    636675msgid "Saving messages"
    637676msgstr "Salvataggio messaggi"
    638677
    639 #: chatbot-admin.php:755
     678#: chatbot-admin.php:809
    640679msgid "You can enable or disable saving messages in the \"Messages\" tab."
    641680msgstr ""
     
    643682"\"Messaggi\"."
    644683
    645 #: chatbot-admin.php:756
     684#: chatbot-admin.php:810
    646685msgid ""
    647686"If enabled, all chat messages and IP will be saved in the database. If "
     
    651690"database. Se disabilitato, nessun messaggio della chat verrà salvato."
    652691
    653 #: chatbot-admin.php:757
     692#: chatbot-admin.php:811
    654693msgid ""
    655694"Important: If you enable message saving, be sure to update your privacy "
     
    659698"la tua politica sulla privacy per riflettere questa pratica di raccolta dati."
    660699
    661 #: chatbot-admin.php:758
     700#: chatbot-admin.php:812
    662701msgid "Enabling \"Powered by NewCodeByte\""
    663702msgstr "Abilitazione di \"Powered by NewCodeByte\""
    664703
    665 #: chatbot-admin.php:759
     704#: chatbot-admin.php:813
    666705msgid ""
    667706"Enabling \"Powered by NewCodeByte\" helps me support the development of this "
     
    673712"favore considera di abilitarlo!"
    674713
    675 #: chatbot-admin.php:762
     714#: chatbot-admin.php:816
    676715#, php-format
    677716msgid ""
     
    682721"supportarmi con una donazione su Buy Me a Coffee tramite %s."
    683722
    684 #: chatbot-admin.php:763
     723#: chatbot-admin.php:817
    685724msgid "Buy Me a Coffee"
    686725msgstr "Buy Me a Coffee"
    687726
    688 #: chatbot-admin.php:765
     727#: chatbot-admin.php:819
    689728msgid ""
    690729"All donations are greatly appreciated and will help me continue to improve "
     
    694733"migliorare e mantenere questo plugin."
    695734
    696 #: chatbot-admin.php:773
     735#: chatbot-admin.php:827
    697736msgid "Show \"Powered by NewCodeByte\"?"
    698737msgstr "Mostrare \"Powered by NewCodeByte\"?"
    699738
    700 #: chatbot-admin.php:780
     739#: chatbot-admin.php:834
    701740msgid "Yes, show the link to support the plugin."
    702741msgstr "Sì, mostra il link per supportare il plugin."
    703742
    704 #: chatbot-admin.php:798
     743#: chatbot-admin.php:849
    705744msgid ""
    706745"Boost visitor engagement with a powerful AI Chatbot for WordPress. "
     
    716755"una singola chiave API facile da usare."
    717756
    718 #: chatbot-admin.php:810
     757#: chatbot-admin.php:859
    719758msgid ""
    720759"The complete manager for external links. Opens in new tabs, handles dynamic "
     
    729768"scelta professionale per i siti moderni."
    730769
    731 #: wp-chatbot.php:148
     770#: chatbot-admin.php:869
     771msgid ""
     772"Your all-in-one suite for total link control and site maintenance. Manage "
     773"301/302 redirects with powerful, easy-to-use wildcard rules. Actively "
     774"monitors 404 errors with a live log, letting you create fixes instantly. Our "
     775"proactive Link Scanner finds and helps eliminate broken links across your "
     776"entire website. The professional choice for SEO health."
     777msgstr ""
     778"La suite completa per il controllo totale dei link e la manutenzione del tuo "
     779"sito. Gestisci reindirizzamenti 301/302 con regole wildcard potenti e "
     780"intuitive. Monitora gli errori 404 con un log in tempo reale per creare "
     781"soluzioni immediate. Il nostro Link Scanner proattivo rileva ed elimina i "
     782"link rotti dal tuo sito. La scelta professionale per ottimizzare la tua SEO."
     783
     784#: wp-chatbot.php:137
     785msgid "Chatbot AI - Action Required:"
     786msgstr "Chatbot AI - Azione Richiesta:"
     787
     788#: wp-chatbot.php:138
     789msgid ""
     790"The chatbot database setup is incomplete. Please deactivate and reactivate "
     791"the plugin from the \"Plugins\" page to finalize the installation."
     792msgstr ""
     793"La configurazione del database del chatbot è incompleta. Per favore, "
     794"disattiva e riattiva il plugin dalla pagina \"Plugin\" per finalizzare "
     795"l'installazione."
     796
     797#: wp-chatbot.php:152
    732798msgid "Chatbot Settings"
    733799msgstr "Impostazioni Chatbot"
    734800
    735 #: wp-chatbot.php:149 wp-chatbot.php:500
     801#: wp-chatbot.php:153 wp-chatbot.php:475 wp-chatbot.php:852
    736802msgid "Chatbot"
    737803msgstr "Chatbot"
    738804
    739 #: wp-chatbot.php:220 wp-chatbot.php:512
     805#: wp-chatbot.php:224 wp-chatbot.php:489 wp-chatbot.php:862
    740806msgid "Type your message..."
    741807msgstr "Scrivi un messaggio..."
    742808
    743 #: wp-chatbot.php:221 wp-chatbot.php:513
     809#: wp-chatbot.php:225 wp-chatbot.php:490 wp-chatbot.php:863
    744810msgid "Send"
    745811msgstr "Invia"
    746812
    747 #: wp-chatbot.php:222
     813#: wp-chatbot.php:226
    748814msgid "There was an error."
    749815msgstr "Si è verificato un errore."
    750816
    751 #: wp-chatbot.php:226
     817#: wp-chatbot.php:230
    752818msgid "Before we start chatting"
    753819msgstr "Prima di iniziare a chattare"
    754820
    755 #: wp-chatbot.php:227
     821#: wp-chatbot.php:231
    756822msgid "Please provide the following information:"
    757823msgstr "Per favore, inserisci le seguenti informazioni:"
    758824
    759 #: wp-chatbot.php:228
     825#: wp-chatbot.php:232
    760826msgid "Name"
    761827msgstr "Nome"
    762828
    763 #: wp-chatbot.php:229
     829#: wp-chatbot.php:233
    764830msgid "Email"
    765831msgstr "Email"
    766832
    767 #: wp-chatbot.php:230
     833#: wp-chatbot.php:234
    768834msgid "Start Chat"
    769835msgstr "Avvia Chat"
    770836
    771 #: wp-chatbot.php:231
     837#: wp-chatbot.php:235
    772838msgid "Please fill in all required fields."
    773839msgstr "Per favore, compila tutti i campi obbligatori."
    774840
    775 #: wp-chatbot.php:244
     841#: wp-chatbot.php:248
    776842msgid "Have a question? Ask me!"
    777843msgstr "Hai una domanda? Chiedi pure!"
    778844
    779 #: wp-chatbot.php:367 wp-chatbot.php:479 wp-chatbot.php:496
     845#: wp-chatbot.php:340 wp-chatbot.php:454 wp-chatbot.php:471
    780846msgid "Sorry, I was unable to get a response from the server."
    781847msgstr ""
    782848"Siamo spiacenti, non è stato possibile ottenere una risposta dal server."
    783849
    784 #: wp-chatbot.php:368
     850#: wp-chatbot.php:341
    785851msgid "API Error:"
    786852msgstr "Errore API:"
    787853
    788 #: wp-chatbot.php:422
     854#: wp-chatbot.php:397
    789855#, php-format
    790856msgid ""
     
    801867"%3$s"
    802868
    803 #: wp-chatbot.php:438
     869#: wp-chatbot.php:413
    804870msgid "You are a helpful assistant."
    805871msgstr "Sei un assistente molto disponibile."
    806872
    807 #: wp-chatbot.php:492
     873#: wp-chatbot.php:467
    808874#, php-format
    809875msgid "API Error: %s"
    810876msgstr "Errore API: %s"
    811877
    812 #: wp-chatbot.php:520
     878#: wp-chatbot.php:497 wp-chatbot.php:867
    813879#, php-format
    814880msgid "Powered by %s"
    815881msgstr "Powered by %s"
    816882
    817 #: wp-chatbot.php:549 wp-chatbot.php:568
     883#: wp-chatbot.php:529 wp-chatbot.php:553
    818884msgid "You do not have permission to perform this action."
    819885msgstr "Non hai l'autorizzazione per eseguire questa azione."
    820886
    821 #: wp-chatbot.php:560
     887#: wp-chatbot.php:544
    822888msgid "All messages have been deleted."
    823889msgstr "Tutti i messaggi sono stati eliminati."
    824890
    825 #: wp-chatbot.php:576
     891#: wp-chatbot.php:561
    826892msgid "Export format not specified."
    827893msgstr "Formato di esportazione non specificato."
    828894
    829 #: wp-chatbot.php:583
     895#: wp-chatbot.php:568
    830896msgid "Invalid format specified."
    831897msgstr "Formato di esportazione non specificato."
    832898
    833 #: wp-chatbot.php:903
     899#: wp-chatbot.php:834
    834900msgid "Are you sure you want to delete all messages?"
    835901msgstr "Sei sicuro di voler eliminare tutti i messaggi?"
    836902
    837 #: wp-chatbot.php:904
     903#: wp-chatbot.php:835
    838904msgid "Error while deleting messages."
    839905msgstr "Errore durante l'eliminazione dei messaggi."
    840906
    841 #: wp-chatbot.php:905
     907#: wp-chatbot.php:836
    842908msgid "Select an export format."
    843909msgstr "Seleziona un formato di esportazione."
    844910
    845 #: wp-chatbot.php:906
     911#: wp-chatbot.php:837
    846912msgid "Error loading the image."
    847913msgstr "Errore durante il caricamento dell'immagine."
    848914
    849 #: wp-chatbot.php:907
     915#: wp-chatbot.php:838
    850916msgid "Choose an Image"
    851917msgstr "Scegli una Immagine"
    852918
    853 #: wp-chatbot.php:908
     919#: wp-chatbot.php:839
    854920msgid "Use this Image"
    855921msgstr "Usa questa Immagine"
     
    880946msgstr "https://newcodebyte.altervista.org"
    881947
     948#~ msgid "Error connecting to the database."
     949#~ msgstr "Errore di connessione al database."
     950
    882951#~ msgid "No models available"
    883952#~ msgstr "Nessun modello disponibile"
     
    889958#~ msgstr "Mittente"
    890959
    891 #, php-format
    892960#~ msgid ""
    893961#~ "Invalid file type for %s. Please upload only image files (JPG, PNG, or "
  • chatbot-ai-free-models/trunk/languages/chatbot-ai-free-models.pot

    r3327400 r3348456  
    33msgstr ""
    44"Project-Id-Version: Chatbot AI Free\n"
    5 "POT-Creation-Date: 2025-07-13 14:05+0200\n"
     5"POT-Creation-Date: 2025-08-21 16:03+0200\n"
    66"PO-Revision-Date: 2025-02-06 12:35+0100\n"
    77"Last-Translator: \n"
     
    1111"Content-Transfer-Encoding: 8bit\n"
    1212"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
    13 "X-Generator: Poedit 3.6\n"
     13"X-Generator: Poedit 2.2\n"
    1414"X-Poedit-Basepath: ..\n"
    1515"X-Poedit-Flags-xgettext: --add-comments=translators:\n"
    1616"X-Poedit-WPHeader: wp-chatbot.php\n"
    1717"X-Poedit-SourceCharset: UTF-8\n"
    18 "X-Poedit-KeywordsList: "
    19 "__;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
     18"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
     19"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
     20"_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
    2021"X-Poedit-SearchPath-0: .\n"
    2122"X-Poedit-SearchPathExcluded-0: *.js\n"
     
    2930msgstr ""
    3031
    31 #: chatbot-admin.php:67 chatbot-admin.php:116 chatbot-admin.php:172
    32 #: chatbot-admin.php:200 chatbot-admin.php:214 chatbot-admin.php:224
    33 #: wp-chatbot.php:287 wp-chatbot.php:553 wp-chatbot.php:572
     32#: chatbot-admin.php:67 chatbot-admin.php:123 chatbot-admin.php:186
     33#: chatbot-admin.php:214 chatbot-admin.php:228 chatbot-admin.php:238
     34#: wp-chatbot.php:268 wp-chatbot.php:533 wp-chatbot.php:557
    3435msgid "Security check failed."
    3536msgstr ""
    3637
    37 #: chatbot-admin.php:67 chatbot-admin.php:116 chatbot-admin.php:172
    38 #: chatbot-admin.php:200 chatbot-admin.php:214 chatbot-admin.php:224
     38#: chatbot-admin.php:67 chatbot-admin.php:123 chatbot-admin.php:186
     39#: chatbot-admin.php:214 chatbot-admin.php:228 chatbot-admin.php:238
    3940msgid "Error"
    4041msgstr ""
    4142
    42 #: chatbot-admin.php:74 chatbot-admin.php:242 wp-chatbot.php:223
    43 #: wp-chatbot.php:856
     43#: chatbot-admin.php:74 chatbot-admin.php:256 wp-chatbot.php:227
    4444msgid "Hello! How can I assist you today?"
    4545msgstr ""
     
    4949msgstr ""
    5050
    51 #: chatbot-admin.php:104 chatbot-admin.php:160 chatbot-admin.php:192
    52 #: chatbot-admin.php:208 chatbot-admin.php:218 chatbot-admin.php:228
     51#: chatbot-admin.php:111 chatbot-admin.php:167 chatbot-admin.php:206
     52#: chatbot-admin.php:222 chatbot-admin.php:232 chatbot-admin.php:242
    5353msgid "Settings saved successfully."
    5454msgstr ""
    5555
    56 #: chatbot-admin.php:123
    57 msgid ""
    58 "Invalid Header Background Color format. Please use a valid hex color code "
    59 "(e.g., #RRGGBB)."
    60 msgstr ""
    61 
    62 #: chatbot-admin.php:124
     56#: chatbot-admin.php:130
     57msgid ""
     58"Invalid Header Background Color format. Please use a valid hex color code (e."
     59"g., #RRGGBB)."
     60msgstr ""
     61
     62#: chatbot-admin.php:131
    6363msgid ""
    6464"Invalid Header Text Color format. Please use a valid hex color code (e.g., "
     
    6666msgstr ""
    6767
    68 #: chatbot-admin.php:125
     68#: chatbot-admin.php:132
    6969msgid ""
    7070"Invalid Chatbox Background Color format. Please use a valid hex color code "
     
    7272msgstr ""
    7373
    74 #: chatbot-admin.php:126
     74#: chatbot-admin.php:133
    7575msgid ""
    7676"Invalid User Message Background Color format. Please use a valid hex color "
     
    7878msgstr ""
    7979
    80 #: chatbot-admin.php:127
    81 msgid ""
    82 "Invalid User Message Text Color format. Please use a valid hex color code "
    83 "(e.g., #RRGGBB)."
    84 msgstr ""
    85 
    86 #: chatbot-admin.php:128
     80#: chatbot-admin.php:134
     81msgid ""
     82"Invalid User Message Text Color format. Please use a valid hex color code (e."
     83"g., #RRGGBB)."
     84msgstr ""
     85
     86#: chatbot-admin.php:135
    8787msgid ""
    8888"Invalid Bot Message Background Color format. Please use a valid hex color "
     
    9090msgstr ""
    9191
    92 #: chatbot-admin.php:129
    93 msgid ""
    94 "Invalid Bot Message Text Color format. Please use a valid hex color code "
    95 "(e.g., #RRGGBB)."
    96 msgstr ""
    97 
    98 #: chatbot-admin.php:130
     92#: chatbot-admin.php:136
     93msgid ""
     94"Invalid Bot Message Text Color format. Please use a valid hex color code (e."
     95"g., #RRGGBB)."
     96msgstr ""
     97
     98#: chatbot-admin.php:137
    9999msgid ""
    100100"Invalid Send Button Background Color format. Please use a valid hex color "
     
    102102msgstr ""
    103103
    104 #: chatbot-admin.php:131
    105 msgid ""
    106 "Invalid Send Button Text Color format. Please use a valid hex color code "
    107 "(e.g., #RRGGBB)."
    108 msgstr ""
    109 
    110 #: chatbot-admin.php:246
     104#: chatbot-admin.php:138
     105msgid ""
     106"Invalid Send Button Text Color format. Please use a valid hex color code (e."
     107"g., #RRGGBB)."
     108msgstr ""
     109
     110#: chatbot-admin.php:260
    111111msgid ""
    112112"Please insert all the information about your blog in this text box. This "
     
    114114msgstr ""
    115115
    116 #: chatbot-admin.php:250
     116#: chatbot-admin.php:264
    117117msgid ""
    118118"Provide detailed instructions on how the bot should respond to user queries. "
     
    122122
    123123#. translators: %1$s: Number of characters, %2$s: Estimated number of tokens
    124 #: chatbot-admin.php:280
     124#: chatbot-admin.php:294
    125125#, php-format
    126126msgid "Characters: %1$s / Tokens (estimate): %2$s"
    127127msgstr ""
    128128
    129 #: chatbot-admin.php:332
     129#: chatbot-admin.php:346
    130130msgid "Enjoying the plugin? Click the button!"
    131131msgstr ""
    132132
    133 #: chatbot-admin.php:336
     133#: chatbot-admin.php:350
    134134msgid "Settings"
    135135msgstr ""
    136136
    137 #: chatbot-admin.php:337
     137#: chatbot-admin.php:351
    138138msgid "Messages"
    139139msgstr ""
    140140
    141 #: chatbot-admin.php:338
     141#: chatbot-admin.php:352
    142142msgid "Style"
    143143msgstr ""
    144144
    145 #: chatbot-admin.php:339
     145#: chatbot-admin.php:353
    146146msgid "Images"
    147147msgstr ""
    148148
    149 #: chatbot-admin.php:340
     149#: chatbot-admin.php:354
    150150msgid "Sounds"
    151151msgstr ""
    152152
    153 #: chatbot-admin.php:341
     153#: chatbot-admin.php:355
    154154msgid "Guide"
    155155msgstr ""
    156156
    157 #: chatbot-admin.php:342
     157#: chatbot-admin.php:356
    158158msgid "NewCodeByte Apps"
    159159msgstr ""
    160160
    161 #: chatbot-admin.php:350
     161#: chatbot-admin.php:364
     162msgid "Display Mode"
     163msgstr ""
     164
     165#: chatbot-admin.php:373
     166msgid "Floating Widget on all pages"
     167msgstr ""
     168
     169#: chatbot-admin.php:378
     170msgid "Embedded via Shortcode"
     171msgstr ""
     172
     173#: chatbot-admin.php:382
     174msgid "Choose \"Embedded via Shortcode\" and use"
     175msgstr ""
     176
     177#: chatbot-admin.php:384
     178msgid "to display the chatbot inside a specific page or post."
     179msgstr ""
     180
     181#: chatbot-admin.php:389
    162182msgid "Window Title"
    163183msgstr ""
    164184
    165 #: chatbot-admin.php:354
     185#: chatbot-admin.php:393
    166186msgid "Welcome Message"
    167187msgstr ""
    168188
    169 #: chatbot-admin.php:359
     189#: chatbot-admin.php:398
    170190msgid "Enable Proactive Message"
    171191msgstr ""
    172192
    173 #: chatbot-admin.php:364
     193#: chatbot-admin.php:403
    174194msgid "Yes, show a welcome bubble next to the chat button."
    175195msgstr ""
    176196
    177 #: chatbot-admin.php:369
     197#: chatbot-admin.php:408
    178198msgid "Proactive Message Text"
    179199msgstr ""
    180200
    181 #: chatbot-admin.php:372
     201#: chatbot-admin.php:411
    182202msgid ""
    183203"Have a question?\n"
     
    185205msgstr ""
    186206
    187 #: chatbot-admin.php:374
     207#: chatbot-admin.php:413
    188208msgid ""
    189209"This message will appear in a bubble next to the chat icon. You can use line "
     
    191211msgstr ""
    192212
    193 #: chatbot-admin.php:378
     213#: chatbot-admin.php:417
    194214msgid "Proactive Message Delay"
    195215msgstr ""
    196216
    197 #: chatbot-admin.php:382
     217#: chatbot-admin.php:421
    198218msgid "seconds"
    199219msgstr ""
    200220
    201 #: chatbot-admin.php:383
     221#: chatbot-admin.php:422
    202222msgid ""
    203223"Delay in seconds before the proactive message appears. Use 0 to show it "
     
    205225msgstr ""
    206226
    207 #: chatbot-admin.php:388
     227#: chatbot-admin.php:427
    208228msgid "Api provider"
    209229msgstr ""
    210230
    211 #: chatbot-admin.php:391
     231#: chatbot-admin.php:430
    212232msgid "Get your API Key for free"
    213233msgstr ""
    214234
    215 #: chatbot-admin.php:395
     235#: chatbot-admin.php:434
    216236msgid "API Key"
    217237msgstr ""
    218238
    219 #: chatbot-admin.php:399
     239#: chatbot-admin.php:441
     240msgid "Show/Hide API Key"
     241msgstr ""
     242
     243#: chatbot-admin.php:446
    220244msgid "Model"
    221245msgstr ""
    222246
    223 #: chatbot-admin.php:403
     247#: chatbot-admin.php:450
    224248msgid "No models available. Please enter a valid API Key and save."
    225249msgstr ""
    226250
    227 #: chatbot-admin.php:404
     251#: chatbot-admin.php:451
    228252msgid "Saved"
    229253msgstr ""
    230254
    231 #: chatbot-admin.php:416
     255#: chatbot-admin.php:463
    232256msgid "Information for responses"
    233257msgstr ""
    234258
    235 #: chatbot-admin.php:424
     259#: chatbot-admin.php:471
    236260msgid "Behavior type"
    237261msgstr ""
    238262
    239 #: chatbot-admin.php:432
     263#: chatbot-admin.php:479
    240264msgid "Pre-Chat Form Settings"
    241265msgstr ""
    242266
    243 #: chatbot-admin.php:435
     267#: chatbot-admin.php:482
    244268msgid "Enable Pre-Chat Form"
    245269msgstr ""
    246270
    247 #: chatbot-admin.php:439
     271#: chatbot-admin.php:486
    248272msgid "Yes, ask for user name and email before starting the chat."
    249273msgstr ""
    250274
    251 #: chatbot-admin.php:444
     275#: chatbot-admin.php:491
    252276msgid "Form Title"
    253277msgstr ""
    254278
    255 #: chatbot-admin.php:448
     279#: chatbot-admin.php:495
    256280msgid "Form Description"
    257281msgstr ""
    258282
    259 #: chatbot-admin.php:452 chatbot-admin.php:476 chatbot-admin.php:628
    260 #: chatbot-admin.php:701 chatbot-admin.php:727 chatbot-admin.php:785
     283#: chatbot-admin.php:499 chatbot-admin.php:523 chatbot-admin.php:682
     284#: chatbot-admin.php:755 chatbot-admin.php:781 chatbot-admin.php:839
    261285msgid "Save settings"
    262286msgstr ""
    263287
    264 #: chatbot-admin.php:463
     288#: chatbot-admin.php:510
    265289msgid "Save Messages?"
    266290msgstr ""
    267291
    268 #: chatbot-admin.php:470
     292#: chatbot-admin.php:517
    269293msgid "Yes, save chat messages to the database."
    270294msgstr ""
    271295
    272 #: chatbot-admin.php:472
     296#: chatbot-admin.php:519
    273297msgid ""
    274298"If enabled, chat messages will be stored in the database. Disabling this "
     
    276300msgstr ""
    277301
    278 #: chatbot-admin.php:480
     302#: chatbot-admin.php:527
    279303msgid "Delete all messages"
    280304msgstr ""
    281305
    282 #: chatbot-admin.php:482
     306#: chatbot-admin.php:529
    283307msgid "Select format"
    284308msgstr ""
    285309
    286 #: chatbot-admin.php:488
     310#: chatbot-admin.php:535
    287311msgid "Export"
    288312msgstr ""
    289313
    290 #: chatbot-admin.php:495
     314#: chatbot-admin.php:542
    291315msgid "User / Email"
    292316msgstr ""
    293317
    294 #: chatbot-admin.php:496
     318#: chatbot-admin.php:543
    295319msgid "IP Address"
    296320msgstr ""
    297321
    298 #: chatbot-admin.php:497
     322#: chatbot-admin.php:544
    299323msgid "Conversation Start"
    300324msgstr ""
    301325
    302 #: chatbot-admin.php:498
     326#: chatbot-admin.php:545
    303327msgid "Message Count"
    304328msgstr ""
    305329
    306 #: chatbot-admin.php:499
     330#: chatbot-admin.php:546
    307331msgid "Conversation ID"
    308332msgstr ""
    309333
    310 #: chatbot-admin.php:545 wp-chatbot.php:738
     334#: chatbot-admin.php:573
     335msgid "No messages found."
     336msgstr ""
     337
     338#: chatbot-admin.php:592 wp-chatbot.php:716
    311339msgid "Anonymous User"
    312340msgstr ""
    313341
    314 #: chatbot-admin.php:548
     342#: chatbot-admin.php:595
    315343msgid "Click to view messages"
    316344msgstr ""
    317345
    318 #: chatbot-admin.php:558
     346#: chatbot-admin.php:605
    319347msgid "Loading messages..."
    320348msgstr ""
    321349
    322 #: chatbot-admin.php:567
    323 msgid "Error connecting to the database."
    324 msgstr ""
    325 
    326 #: chatbot-admin.php:570
    327 msgid "No messages found."
    328 msgstr ""
    329 
    330 #: chatbot-admin.php:583
     350#: chatbot-admin.php:623
    331351msgid "Header background color"
    332352msgstr ""
    333353
    334 #: chatbot-admin.php:587
     354#: chatbot-admin.php:627
    335355msgid "Header text color"
    336356msgstr ""
    337357
    338 #: chatbot-admin.php:591
     358#: chatbot-admin.php:631
    339359msgid "Chatbox background color"
    340360msgstr ""
    341361
    342 #: chatbot-admin.php:595
     362#: chatbot-admin.php:635
    343363msgid "User message background color"
    344364msgstr ""
    345365
    346 #: chatbot-admin.php:599
     366#: chatbot-admin.php:639
    347367msgid "User message text color"
    348368msgstr ""
    349369
    350 #: chatbot-admin.php:603
     370#: chatbot-admin.php:643
    351371msgid "Bot message background color"
    352372msgstr ""
    353373
    354 #: chatbot-admin.php:607
     374#: chatbot-admin.php:647
    355375msgid "Bot message text color"
    356376msgstr ""
    357377
    358 #: chatbot-admin.php:611
     378#: chatbot-admin.php:651
    359379msgid "Send button background color"
    360380msgstr ""
    361381
    362 #: chatbot-admin.php:615
     382#: chatbot-admin.php:655
    363383msgid "Send button text color"
    364384msgstr ""
    365385
    366 #: chatbot-admin.php:620
     386#: chatbot-admin.php:660
    367387msgid "Chat Window Height"
    368388msgstr ""
    369389
    370 #: chatbot-admin.php:624
     390#: chatbot-admin.php:664
    371391msgid ""
    372392"Set the height of the chat window on desktop. Default: 600px. (Min: 300, "
     
    374394msgstr ""
    375395
    376 #: chatbot-admin.php:637
     396#: chatbot-admin.php:668
     397msgid "Chatbot Position"
     398msgstr ""
     399
     400#: chatbot-admin.php:672
     401msgid "Bottom Right"
     402msgstr ""
     403
     404#: chatbot-admin.php:675
     405msgid "Bottom Left"
     406msgstr ""
     407
     408#: chatbot-admin.php:678
     409msgid "Choose which corner of the screen the chatbot button should appear in."
     410msgstr ""
     411
     412#: chatbot-admin.php:691
    377413msgid "User Avatar"
    378414msgstr ""
    379415
    380 #: chatbot-admin.php:641
     416#: chatbot-admin.php:695
    381417msgid "User Avatar Preview"
    382418msgstr ""
    383419
    384 #: chatbot-admin.php:646 chatbot-admin.php:662 chatbot-admin.php:678
    385 #: chatbot-admin.php:694
     420#: chatbot-admin.php:700 chatbot-admin.php:716 chatbot-admin.php:732
     421#: chatbot-admin.php:748
    386422msgid "Upload Image"
    387423msgstr ""
    388424
    389 #: chatbot-admin.php:649 chatbot-admin.php:665 chatbot-admin.php:681
    390 #: chatbot-admin.php:697
     425#: chatbot-admin.php:703 chatbot-admin.php:719 chatbot-admin.php:735
     426#: chatbot-admin.php:751
    391427msgid "Accepted formats: JPG, PNG, GIF"
    392428msgstr ""
    393429
    394 #: chatbot-admin.php:653
     430#: chatbot-admin.php:707
    395431msgid "Bot Avatar"
    396432msgstr ""
    397433
    398 #: chatbot-admin.php:657
     434#: chatbot-admin.php:711
    399435msgid "Bot Avatar Preview"
    400436msgstr ""
    401437
    402 #: chatbot-admin.php:669
     438#: chatbot-admin.php:723
    403439msgid "Chat Open Icon"
    404440msgstr ""
    405441
    406 #: chatbot-admin.php:673
     442#: chatbot-admin.php:727
    407443msgid "Chat Open Icon Preview"
    408444msgstr ""
    409445
    410 #: chatbot-admin.php:685
     446#: chatbot-admin.php:739
    411447msgid "Chat Closed Icon"
    412448msgstr ""
    413449
    414 #: chatbot-admin.php:689
     450#: chatbot-admin.php:743
    415451msgid "Chat Closed Icon Preview"
    416452msgstr ""
    417453
    418 #: chatbot-admin.php:710
     454#: chatbot-admin.php:764
    419455msgid "Notification Sound"
    420456msgstr ""
    421457
    422 #: chatbot-admin.php:714
     458#: chatbot-admin.php:768
    423459msgid "Upload Sound"
    424460msgstr ""
    425461
    426 #: chatbot-admin.php:719
     462#: chatbot-admin.php:773
    427463msgid "Current sound file:"
    428464msgstr ""
    429465
    430 #: chatbot-admin.php:723
     466#: chatbot-admin.php:777
    431467msgid ""
    432468"Upload a custom sound for new notifications (MP3, WAV, or OGG format). If no "
     
    434470msgstr ""
    435471
    436 #: chatbot-admin.php:732
     472#: chatbot-admin.php:786
    437473msgid "Chatbot AI Free Models - Guide"
    438474msgstr ""
    439475
    440 #: chatbot-admin.php:733
     476#: chatbot-admin.php:787
    441477msgid ""
    442478"Thank you for installing Chatbot AI Free Models! This guide will help you "
     
    444480msgstr ""
    445481
    446 #: chatbot-admin.php:734
     482#: chatbot-admin.php:788
    447483msgid "Basic Configuration"
    448484msgstr ""
    449485
    450 #: chatbot-admin.php:735
     486#: chatbot-admin.php:789
    451487msgid ""
    452488"Get an API Key: This plugin uses the OpenRouter API. Get your free API key at"
    453489msgstr ""
    454490
    455 #: chatbot-admin.php:735
     491#: chatbot-admin.php:789
    456492msgid ""
    457493"OpenRouter offers access to over 300 models, including ChatGPT, Claude, "
     
    462498msgstr ""
    463499
    464 #: chatbot-admin.php:736
     500#: chatbot-admin.php:790
    465501msgid ""
    466502"Enter your API Key: Go to the \"Settings\" tab and enter your OpenRouter API "
     
    468504msgstr ""
    469505
    470 #: chatbot-admin.php:737
     506#: chatbot-admin.php:791
    471507msgid ""
    472508"Choose a Model: Select an AI model from the \"Model\" dropdown. Free models "
     
    476512msgstr ""
    477513
    478 #: chatbot-admin.php:738
     514#: chatbot-admin.php:792
    479515msgid ""
    480516"Provide Context: In the \"Information for responses\" field, enter "
     
    482518msgstr ""
    483519
    484 #: chatbot-admin.php:739
     520#: chatbot-admin.php:793
    485521msgid ""
    486522"Set the bot's behavior: In the \"Behavior type\" field, enter instructions "
     
    488524msgstr ""
    489525
    490 #: chatbot-admin.php:740
     526#: chatbot-admin.php:794
    491527msgid ""
    492528"Save Settings: Click \"Save settings\". Remember to refresh your website "
     
    495531msgstr ""
    496532
    497 #: chatbot-admin.php:741
     533#: chatbot-admin.php:795
    498534msgid "Customization"
    499535msgstr ""
    500536
    501 #: chatbot-admin.php:742
    502 msgid ""
    503 "You can customize the appearance of the chatbot in the \"Style\" and "
    504 "\"Images\" tabs."
    505 msgstr ""
    506 
    507 #: chatbot-admin.php:743
     537#: chatbot-admin.php:796
     538msgid ""
     539"You can customize the appearance of the chatbot in the \"Style\" and \"Images"
     540"\" tabs."
     541msgstr ""
     542
     543#: chatbot-admin.php:797
    508544msgid ""
    509545"Style: Change the colors of the header, chatbox, messages, and send button."
    510546msgstr ""
    511547
    512 #: chatbot-admin.php:744
     548#: chatbot-admin.php:798
    513549msgid ""
    514550"Images: Change the avatars for the user and bot, and the icons for the chat "
     
    516552msgstr ""
    517553
    518 #: chatbot-admin.php:745
     554#: chatbot-admin.php:799
    519555msgid ""
    520556"Sounds: In the tab \"Sounds\", you can change the default sound when opening "
     
    522558msgstr ""
    523559
    524 #: chatbot-admin.php:746
     560#: chatbot-admin.php:800
    525561msgid "Troubleshooting"
    526562msgstr ""
    527563
    528 #: chatbot-admin.php:747
     564#: chatbot-admin.php:801
    529565msgid ""
    530566"Changes not appearing? After making changes, press Ctrl+F5 (or Cmd+Shift+R "
     
    532568msgstr ""
    533569
    534 #: chatbot-admin.php:748
     570#: chatbot-admin.php:802
    535571msgid ""
    536572"Bot not responding? Check your API key and make sure it's valid. Also, check "
     
    538574msgstr ""
    539575
    540 #: chatbot-admin.php:749
     576#: chatbot-admin.php:803
    541577msgid "Managing Messages"
    542578msgstr ""
    543579
    544 #: chatbot-admin.php:750
     580#: chatbot-admin.php:804
    545581msgid "You can view and export the messages in the \"Messages\" tab."
    546582msgstr ""
    547583
    548 #: chatbot-admin.php:751
     584#: chatbot-admin.php:805
    549585msgid "View: See all chat messages."
    550586msgstr ""
    551587
    552 #: chatbot-admin.php:752
     588#: chatbot-admin.php:806
    553589msgid "Export: Export the messages in various formats (TXT, CSV, MD, HTML)."
    554590msgstr ""
    555591
    556 #: chatbot-admin.php:753
     592#: chatbot-admin.php:807
    557593msgid "Delete: Delete all chat messages."
    558594msgstr ""
    559595
    560 #: chatbot-admin.php:754
     596#: chatbot-admin.php:808
    561597msgid "Saving messages"
    562598msgstr ""
    563599
    564 #: chatbot-admin.php:755
     600#: chatbot-admin.php:809
    565601msgid "You can enable or disable saving messages in the \"Messages\" tab."
    566602msgstr ""
    567603
    568 #: chatbot-admin.php:756
     604#: chatbot-admin.php:810
    569605msgid ""
    570606"If enabled, all chat messages and IP will be saved in the database. If "
     
    572608msgstr ""
    573609
    574 #: chatbot-admin.php:757
     610#: chatbot-admin.php:811
    575611msgid ""
    576612"Important: If you enable message saving, be sure to update your privacy "
     
    578614msgstr ""
    579615
    580 #: chatbot-admin.php:758
     616#: chatbot-admin.php:812
    581617msgid "Enabling \"Powered by NewCodeByte\""
    582618msgstr ""
    583619
    584 #: chatbot-admin.php:759
     620#: chatbot-admin.php:813
    585621msgid ""
    586622"Enabling \"Powered by NewCodeByte\" helps me support the development of this "
     
    589625msgstr ""
    590626
    591 #: chatbot-admin.php:762
     627#: chatbot-admin.php:816
    592628#, php-format
    593629msgid ""
     
    596632msgstr ""
    597633
    598 #: chatbot-admin.php:763
     634#: chatbot-admin.php:817
    599635msgid "Buy Me a Coffee"
    600636msgstr ""
    601637
    602 #: chatbot-admin.php:765
     638#: chatbot-admin.php:819
    603639msgid ""
    604640"All donations are greatly appreciated and will help me continue to improve "
     
    606642msgstr ""
    607643
    608 #: chatbot-admin.php:773
     644#: chatbot-admin.php:827
    609645msgid "Show \"Powered by NewCodeByte\"?"
    610646msgstr ""
    611647
    612 #: chatbot-admin.php:780
     648#: chatbot-admin.php:834
    613649msgid "Yes, show the link to support the plugin."
    614650msgstr ""
    615651
    616 #: chatbot-admin.php:798
     652#: chatbot-admin.php:849
    617653msgid ""
    618654"Boost visitor engagement with a powerful AI Chatbot for WordPress. "
     
    623659msgstr ""
    624660
    625 #: chatbot-admin.php:810
     661#: chatbot-admin.php:859
    626662msgid ""
    627663"The complete manager for external links. Opens in new tabs, handles dynamic "
     
    631667msgstr ""
    632668
    633 #: wp-chatbot.php:148
     669#: chatbot-admin.php:869
     670msgid ""
     671"Your all-in-one suite for total link control and site maintenance. Manage "
     672"301/302 redirects with powerful, easy-to-use wildcard rules. Actively "
     673"monitors 404 errors with a live log, letting you create fixes instantly. Our "
     674"proactive Link Scanner finds and helps eliminate broken links across your "
     675"entire website. The professional choice for SEO health."
     676msgstr ""
     677
     678#: wp-chatbot.php:137
     679msgid "Chatbot AI - Action Required:"
     680msgstr ""
     681
     682#: wp-chatbot.php:138
     683msgid ""
     684"The chatbot database setup is incomplete. Please deactivate and reactivate "
     685"the plugin from the \"Plugins\" page to finalize the installation."
     686msgstr ""
     687
     688#: wp-chatbot.php:152
    634689msgid "Chatbot Settings"
    635690msgstr ""
    636691
    637 #: wp-chatbot.php:149 wp-chatbot.php:500
     692#: wp-chatbot.php:153 wp-chatbot.php:475 wp-chatbot.php:852
    638693msgid "Chatbot"
    639694msgstr ""
    640695
    641 #: wp-chatbot.php:220 wp-chatbot.php:512
     696#: wp-chatbot.php:224 wp-chatbot.php:489 wp-chatbot.php:862
    642697msgid "Type your message..."
    643698msgstr ""
    644699
    645 #: wp-chatbot.php:221 wp-chatbot.php:513
     700#: wp-chatbot.php:225 wp-chatbot.php:490 wp-chatbot.php:863
    646701msgid "Send"
    647702msgstr ""
    648703
    649 #: wp-chatbot.php:222
     704#: wp-chatbot.php:226
    650705msgid "There was an error."
    651706msgstr ""
    652707
    653 #: wp-chatbot.php:226
     708#: wp-chatbot.php:230
    654709msgid "Before we start chatting"
    655710msgstr ""
    656711
    657 #: wp-chatbot.php:227
     712#: wp-chatbot.php:231
    658713msgid "Please provide the following information:"
    659714msgstr ""
    660715
    661 #: wp-chatbot.php:228
     716#: wp-chatbot.php:232
    662717msgid "Name"
    663718msgstr ""
    664719
    665 #: wp-chatbot.php:229
     720#: wp-chatbot.php:233
    666721msgid "Email"
    667722msgstr ""
    668723
    669 #: wp-chatbot.php:230
     724#: wp-chatbot.php:234
    670725msgid "Start Chat"
    671726msgstr ""
    672727
    673 #: wp-chatbot.php:231
     728#: wp-chatbot.php:235
    674729msgid "Please fill in all required fields."
    675730msgstr ""
    676731
    677 #: wp-chatbot.php:244
     732#: wp-chatbot.php:248
    678733msgid "Have a question? Ask me!"
    679734msgstr ""
    680735
    681 #: wp-chatbot.php:367 wp-chatbot.php:479 wp-chatbot.php:496
     736#: wp-chatbot.php:340 wp-chatbot.php:454 wp-chatbot.php:471
    682737msgid "Sorry, I was unable to get a response from the server."
    683738msgstr ""
    684739
    685 #: wp-chatbot.php:368
     740#: wp-chatbot.php:341
    686741msgid "API Error:"
    687742msgstr ""
    688743
    689 #: wp-chatbot.php:422
     744#: wp-chatbot.php:397
    690745#, php-format
    691746msgid ""
     
    697752msgstr ""
    698753
    699 #: wp-chatbot.php:438
     754#: wp-chatbot.php:413
    700755msgid "You are a helpful assistant."
    701756msgstr ""
    702757
    703 #: wp-chatbot.php:492
     758#: wp-chatbot.php:467
    704759#, php-format
    705760msgid "API Error: %s"
    706761msgstr ""
    707762
    708 #: wp-chatbot.php:520
     763#: wp-chatbot.php:497 wp-chatbot.php:867
    709764#, php-format
    710765msgid "Powered by %s"
    711766msgstr ""
    712767
    713 #: wp-chatbot.php:549 wp-chatbot.php:568
     768#: wp-chatbot.php:529 wp-chatbot.php:553
    714769msgid "You do not have permission to perform this action."
    715770msgstr ""
    716771
    717 #: wp-chatbot.php:560
     772#: wp-chatbot.php:544
    718773msgid "All messages have been deleted."
    719774msgstr ""
    720775
    721 #: wp-chatbot.php:576
     776#: wp-chatbot.php:561
    722777msgid "Export format not specified."
    723778msgstr ""
    724779
    725 #: wp-chatbot.php:583
     780#: wp-chatbot.php:568
    726781msgid "Invalid format specified."
    727782msgstr ""
    728783
    729 #: wp-chatbot.php:903
     784#: wp-chatbot.php:834
    730785msgid "Are you sure you want to delete all messages?"
    731786msgstr ""
    732787
    733 #: wp-chatbot.php:904
     788#: wp-chatbot.php:835
    734789msgid "Error while deleting messages."
    735790msgstr ""
    736791
    737 #: wp-chatbot.php:905
     792#: wp-chatbot.php:836
    738793msgid "Select an export format."
    739794msgstr ""
    740795
    741 #: wp-chatbot.php:906
     796#: wp-chatbot.php:837
    742797msgid "Error loading the image."
    743798msgstr ""
    744799
    745 #: wp-chatbot.php:907
     800#: wp-chatbot.php:838
    746801msgid "Choose an Image"
    747802msgstr ""
    748803
    749 #: wp-chatbot.php:908
     804#: wp-chatbot.php:839
    750805msgid "Use this Image"
    751806msgstr ""
  • chatbot-ai-free-models/trunk/readme.txt

    r3346871 r3348456  
    44Requires PHP: 7.4
    55Tested up to: 6.8.2
    6 Stable tag: 1.6.2
     6Stable tag: 1.6.3
    77Tags: ai chatbot, chatbot, live chat, virtual assistant, customer support
    88License: GPLv2 or later
     
    129129
    130130== Changelog ==
     131
     132= 1.6.3 =
     133* New: Added a "Display Mode" option to show the chatbot either as a floating widget or embedded directly into a page/post using the `[newcodebyte_chatbot]` shortcode.
     134* Tweak: The CSS has been hardened to prevent layout issues caused by aggressive themes or other plugins.
    131135
    132136= 1.6.2 =
     
    183187    * Added "Powered by NewCodeByte" attribution.
    184188
    185 == Upgrade Notice ==
    186 
    187 = 1.6.2 =
    188 This is a major stability and feature update. It introduces new positioning options for the chatbot, improves the API key field, and fixes several critical bugs related to conversation saving and mobile display. Updating is highly recommended for all users.
    189 
    190 = 1.6.1 =
    191 This update improves the appearance of the proactive message bubble and fixes minor bugs for a smoother experience.
    192 
    193 = 1.6 =
    194 This update introduces significant improvements and new features. The "Messages" tab in the admin area has been rebuilt to group all messages by conversation. We've also added a Pre-Chat form and a proactive welcome message. IMPORTANT: Due to necessary database updates, conversations from previous versions will not be visible in the new conversation view. Your old messages are not deleted, but if you wish to save them, please export them before updating.
    195 
    196 = 1.5 =
    197 Introducing conversational memory! Your chatbot now remembers previous interactions for significantly more intelligent and context-aware dialogues.
    198 
    199 = 1.4 =
    200 Mobile experience enhancement: resolved chat window display issues and improved interface adaptability on mobile devices.
    201 
    202 = 1.3 =
    203 Enhanced plugin security by implementing WordPress recommended security practices across all components.
    204 
    205 = 1.2 =
    206 This update fixes a bug that occurred during exports where files were being saved without content.
    207 
    208 = 1.1 =
    209 This update fixes an important bug related to checkbox settings.  Please update to ensure correct functionality.
    210 
    211 = 1.0 =
    212 This is the first release of Chatbot AI Free Models.  Enjoy!
    213 
    214189== Screenshots ==
    215190
  • chatbot-ai-free-models/trunk/wp-chatbot.php

    r3344146 r3348456  
    33Plugin Name: Chatbot AI Free Models
    44Description: Easily integrate advanced AI chatbots into your WordPress site with a single API key. Use free models like Llama, DeepSeek, Mixtral, and others, or access premium models like ChatGPT and Claude for more power. Simple management, unlimited messages, and all conversations saved for easy review.
    5 Version: 1.6.2
     5Version: 1.6.3
    66Author: NewCodeByte
    77Author URI: https://newcodebyte.altervista.org
     
    4747// Registriamo le azioni e filtri
    4848add_action('admin_menu', 'newcodebyte_chatbot_add_admin_page');
    49 add_action('wp_enqueue_scripts', 'newcodebyte_chatbot_enqueue_scripts');
    50 add_action('wp_footer', 'newcodebyte_chatbot_display_chatbox');
    51 add_action('wp_head', 'newcodebyte_chatbot_add_custom_css');
    5249add_action('admin_enqueue_scripts', 'newcodebyte_chatbot_admin_enqueue_scripts');
     50
     51/**
     52 * Controlla la modalità di visualizzazione scelta dall'utente
     53 * e carica il widget fluttuante solo se necessario.
     54 */
     55function newcodebyte_chatbot_load_widget_conditionally() {
     56    // Leggi l'opzione dal database. Se non esiste, il default è 'widget'.
     57    $display_mode = get_option('newcodebyte_chatbot_display_mode', 'widget');
     58
     59    // Se la modalità è 'widget' E non siamo nell'area di amministrazione...
     60    if ($display_mode === 'widget' && !is_admin()) {
     61        // ...allora aggancia tutte le funzioni necessarie per mostrare il widget.
     62        add_action('wp_enqueue_scripts', 'newcodebyte_chatbot_enqueue_scripts');
     63        add_action('wp_footer', 'newcodebyte_chatbot_display_chatbox');
     64        add_action('wp_head', 'newcodebyte_chatbot_add_custom_css');
     65    }
     66}
     67// Esegui questo controllo all'inizio del caricamento di WordPress.
     68add_action('init', 'newcodebyte_chatbot_load_widget_conditionally');
    5369
    5470// =========================================================================
     
    467483    $position_class = 'chatbot-position-' . esc_attr($position);   
    468484    ?>
    469     <div id="chatbox" class="<?php echo $position_class; ?>" data-version-ncb="1.6.2">
     485    <div id="chatbox" class="<?php echo $position_class; ?>" data-version-ncb="1.6.3">
    470486        <div id="chatbox-header"><?php echo esc_html($newcodebyte_chatbot_title); ?><span id="chatbox-close">x</span></div>
    471487        <div id="chatbox-content"></div>
     
    826842    ) );
    827843}
     844// in wp-chatbot.php (aggiungi alla fine)
     845
     846/**
     847 * Genera l'HTML della sola finestra della chat.
     848 * Questa funzione helper è riutilizzabile.
     849 */
     850function newcodebyte_chatbot_get_chatbox_html() {
     851    // Recupera le opzioni necessarie
     852    $newcodebyte_chatbot_title = get_option('newcodebyte_chatbot_title', __('Chatbot', 'chatbot-ai-free-models'));
     853    $newcodebyte_show_powered_by = get_option('newcodebyte_chatbot_show_powered_by', '0');
     854   
     855    // Usiamo l'output buffering per catturare l'HTML in una variabile
     856    ob_start();
     857    ?>
     858    <div id="chatbox">
     859        <div id="chatbox-header"><?php echo esc_html($newcodebyte_chatbot_title); ?><span id="chatbox-close">x</span></div>
     860        <div id="chatbox-content"></div>
     861        <div id="chatbox-controls">
     862            <input type="text" id="chatbox-input" placeholder="<?php esc_attr_e( 'Type your message...', 'chatbot-ai-free-models' ); ?>">
     863            <button id="chatbox-send"><?php esc_html_e( 'Send', 'chatbot-ai-free-models' ); ?></button>
     864        </div>
     865        <div id="chatbot-footer">
     866            <div id="chatbox-powered">
     867                <?php if ($newcodebyte_show_powered_by === '1') { printf( esc_html__( 'Powered by %s', 'chatbot-ai-free-models' ), '<a href="https://newcodebyte.altervista.org" target="blank"><b>NewCodeByte</b></a>' ); } ?>
     868            </div>
     869        </div>
     870    </div>
     871    <?php
     872    return ob_get_clean();
     873}
     874
     875/**
     876 * Gestisce lo shortcode [newcodebyte_chatbot].
     877 */
     878function newcodebyte_chatbot_shortcode_handler($atts) {
     879    // 1. Controlla la modalità di visualizzazione scelta dall'utente.
     880    $display_mode = get_option('newcodebyte_chatbot_display_mode', 'widget');
     881
     882    // 2. Se la modalità NON è 'shortcode', non fare assolutamente nulla.
     883    if ($display_mode !== 'shortcode') {
     884        return '';
     885    }
     886
     887    // 3. Se la modalità è 'shortcode', procedi con la logica esistente.
     888    newcodebyte_chatbot_enqueue_scripts();
     889    newcodebyte_chatbot_add_custom_css();
     890
     891    $chatbox_html = newcodebyte_chatbot_get_chatbox_html();
     892
     893    $output = '<div class="chatbot-shortcode-wrapper">';
     894    $output .= $chatbox_html;
     895    $output .= '</div>';
     896   
     897    $output .= "<script>
     898        document.addEventListener('DOMContentLoaded', function() {
     899            (function($) {
     900                var wrapper = $('.chatbot-shortcode-wrapper');
     901                if (wrapper.length) {
     902                    var chatbox = wrapper.find('#chatbox');
     903                    if (chatbox.length) {
     904                        // Applica gli stili per la modalità embedded
     905                        chatbox.css({
     906                            'display': 'flex',
     907                            'position': 'absolute',
     908                            'bottom': '0',
     909                            'height': '100%',
     910                            'width': '100%',
     911                            'right': 'auto',
     912                            'left': 'auto'
     913                        });
     914
     915                        var closeButton = chatbox.find('#chatbox-close');
     916                        if (closeButton.length) {
     917                            closeButton.hide();
     918                        }
     919
     920                        // --- LOGICA CORRETTA BASATA SU EVENTI ---
     921                        // Mettiti in ascolto dell'evento 'chatbot:ready'
     922                        $(document).on('chatbot:ready', function() {
     923                            // Quando l'evento viene ricevuto, esegui la funzione
     924                            if (typeof sendWelcomeMessage === 'function' && !window.welcomeMessageSent) {
     925                                sendWelcomeMessage();
     926                                window.welcomeMessageSent = true;
     927                            }
     928                        });
     929                    }
     930                }
     931            })(jQuery);
     932        });
     933    </script>";
     934
     935    return $output;
     936}
     937add_shortcode('newcodebyte_chatbot', 'newcodebyte_chatbot_shortcode_handler');
Note: See TracChangeset for help on using the changeset viewer.