Plugin Directory

Changeset 2945297


Ignore:
Timestamp:
07/31/2023 09:13:14 AM (3 years ago)
Author:
knhar
Message:

news and fixed

Location:
presta-products/trunk
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • presta-products/trunk/assets/css/ppgbo-custom.css

    r2803518 r2945297  
    66    display: block;
    77    overflow: hidden;
     8    width: 100%;
    89}
    910.row.ppgbo_row .product.col-2 {
     
    9798    margin-right: 15px;
    9899    vertical-align: middle;
     100    display: block;
    99101}
    100102.row.ppgbo_row .product span.ppgbo_qcd,
  • presta-products/trunk/includes/tabs/examples.php

    r2867030 r2945297  
    7676        <i><?php echo __( 'Une taille en pixel ou en % (utiliser 600px ou 80%).<br>Par défaut, prend la taille complète de l\'élément parent.<br>Champ facultatif, utilisé uniquement avec le mode "carrousel".<br>ATTENTION, bien gérer avec le nombre de produits par ligne !', 'presta-products'); ?></i>
    7777    </div>
     78    <hr>
     79    <div class="mt-3">
     80        <h5><?php echo __( 'Langue du/des produit(s)', 'presta-products'); ?></h5>
     81        <code>language="X"</code><br>
     82        <i><?php echo __( 'Code ISO de la langue souhaitée (doit être dans prestashop).<br>Par défaut, prend la langue courante.<br>Champ facultatif, exemples de code ISO : fr, en...', 'presta-products'); ?></i>
     83    </div>
    7884
    7985    <hr class="mt-5">
  • presta-products/trunk/languages/presta-products-en_US.po

    r2867030 r2945297  
    22msgstr ""
    33"Project-Id-Version: presta-products 1.0.0\n"
    4 "POT-Creation-Date: 2023-02-17 16:03+0100\n"
    5 "PO-Revision-Date: 2023-02-17 16:06+0100\n"
     4"POT-Creation-Date: 2023-07-31 11:08+0200\n"
     5"PO-Revision-Date: 2023-07-31 11:09+0200\n"
    66"Last-Translator: \n"
    77"Language-Team: Guillaume BOUAUD - https://www.guillaume-bouaud.fr\n"
     
    1616"X-Poedit-SearchPath-0: .\n"
    1717
    18 #: includes/admin-header.php:2 presta-products.php:681 presta-products.php:682
     18#: includes/admin-header.php:2 presta-products.php:694 presta-products.php:695
    1919msgid "Presta Products for WordPress"
    2020msgstr "Presta Products for WordPress"
     
    3636"in the \"General options\" tab."
    3737
    38 #: includes/admin-header.php:14 presta-products.php:692 presta-products.php:693
     38#: includes/admin-header.php:14 presta-products.php:705 presta-products.php:706
    3939msgid "Options générales"
    4040msgstr "Configuration"
    4141
    42 #: includes/admin-header.php:15 presta-products.php:700 presta-products.php:701
     42#: includes/admin-header.php:15 presta-products.php:713 presta-products.php:714
    4343msgid "Fonctionnalités"
    4444msgstr "Features"
    4545
    46 #: includes/admin-header.php:16 presta-products.php:708 presta-products.php:709
     46#: includes/admin-header.php:16 presta-products.php:721 presta-products.php:722
    4747msgid "Documentation"
    4848msgstr "Documentation"
    4949
    50 #: includes/admin-header.php:20 presta-products.php:718 presta-products.php:719
     50#: includes/admin-header.php:20 presta-products.php:731 presta-products.php:732
    5151msgid "Cache"
    5252msgstr "Cache"
    5353
    54 #: includes/admin-header.php:21 presta-products.php:726 presta-products.php:727
     54#: includes/admin-header.php:21 presta-products.php:739 presta-products.php:740
    5555msgid "Utilisé sur"
    5656msgstr "Used on"
     
    346346
    347347#: includes/tabs/examples.php:80
     348msgid "Langue du/des produit(s)"
     349msgstr "Product(s)’language"
     350
     351#: includes/tabs/examples.php:82
     352msgid ""
     353"Code ISO de la langue souhaitée (doit être dans prestashop).<br>Par défaut, "
     354"prend la langue courante.<br>Champ facultatif, exemples de code ISO : fr, "
     355"en..."
     356msgstr ""
     357"ISO Code of language wanted (must be present in prestashop).<br>Default: "
     358"current language.<br>Optional field, examples: fr, en…"
     359
     360#: includes/tabs/examples.php:86
    348361msgid "Exemples de shortcodes"
    349362msgstr "Examples of shortcodes"
    350363
    351 #: includes/tabs/examples.php:84
     364#: includes/tabs/examples.php:90
    352365msgid "Ajout d'un produit Prestashop"
    353366msgstr "Add a Prestashop product"
    354367
    355 #: includes/tabs/examples.php:86
     368#: includes/tabs/examples.php:92
    356369msgid ""
    357370"Dans l'exemple ci-dessous, on veut ajouter le produit dont l'ID est le #1 de "
     
    359372msgstr "In the example below, we add product id #1 from Prestashop :"
    360373
    361 #: includes/tabs/examples.php:92
     374#: includes/tabs/examples.php:98
    362375msgid "Ajout d'un produit Prestashop forcé en obfusqué"
    363376msgstr "Add a Prestashop product with forced obfuscation"
    364377
    365 #: includes/tabs/examples.php:94
     378#: includes/tabs/examples.php:100
    366379msgid ""
    367380"Dans l'exemple ci-dessous, on veut ajouter le produit dont l'ID est le #1 de "
     
    371384"obfuscation of the link :"
    372385
    373 #: includes/tabs/examples.php:100
     386#: includes/tabs/examples.php:106
    374387msgid "Ajout d'une liste de produits Prestashop"
    375388msgstr "Add a list of Prestashop products"
    376389
    377 #: includes/tabs/examples.php:102
     390#: includes/tabs/examples.php:108
    378391msgid ""
    379392"Dans l'exemple ci-dessous, on veut ajouter les produits dont les ID sont les "
     
    382395"In the example below, we add products id #1, #14 and #23 from Prestashop :"
    383396
    384 #: includes/tabs/examples.php:108
     397#: includes/tabs/examples.php:114
    385398msgid "Ajout de tous les produits d'une catégorie Prestashop"
    386399msgstr "Add all products from a Prestashop category"
    387400
    388 #: includes/tabs/examples.php:110
     401#: includes/tabs/examples.php:116
    389402msgid ""
    390403"Dans l'exemple ci-dessous, on veut ajouter les produits de la catégorie dont "
     
    393406"In the example below, we add products from category #1 from Prestashop :"
    394407
    395 #: includes/tabs/examples.php:116
     408#: includes/tabs/examples.php:122
    396409msgid "Ajout du TOP 6 des produits d'une catégorie Prestashop"
    397410msgstr "Add TOP 6 products from a Prestashop category"
    398411
    399 #: includes/tabs/examples.php:118
     412#: includes/tabs/examples.php:124
    400413msgid ""
    401414"Dans l'exemple ci-dessous, on veut ajouter le TOP 6 des produits de la "
     
    404417"In the example below, we add 6 products from category #1 from Prestashop :"
    405418
    406 #: includes/tabs/examples.php:124
     419#: includes/tabs/examples.php:130
    407420msgid "Ajout des 4 produits les plus vendus depuis 15 jours"
    408421msgstr "Add the best 4 products sold from 15 days ago"
    409422
    410 #: includes/tabs/examples.php:126
     423#: includes/tabs/examples.php:132
    411424msgid ""
    412425"Dans l'exemple ci-dessous, on veut ajouter les 4 produits les plus vendus "
     
    416429"website from 15 days ago :"
    417430
    418 #: includes/tabs/examples.php:132
     431#: includes/tabs/examples.php:138
    419432msgid ""
    420433"Affiche un carrousel de 5 produits (3 affichés), avec un autoplay de 4 "
     
    424437"seconds"
    425438
    426 #: includes/tabs/examples.php:134
     439#: includes/tabs/examples.php:140
    427440msgid ""
    428441"Dans l'exemple ci-dessous, on veut ajouter les 5 produits indiqués dans un "
     
    884897msgstr "Use(s)"
    885898
    886 #: presta-products.php:368
     899#: presta-products.php:381
    887900msgid "Problème de réinitialisation du cache."
    888901msgstr "Cache reset problem."
    889902
    890 #: presta-products.php:370
     903#: presta-products.php:383
    891904msgid "Données supprimées."
    892905msgstr "Datas deleted."
    893906
    894 #: presta-products.php:433 scripts/cron/crontab-presta-products.php:57
     907#: presta-products.php:446 scripts/cron/crontab-presta-products.php:57
    895908msgid "Problème d'enregistrement de la donnée."
    896909msgstr "Cache save problem."
    897910
    898 #: presta-products.php:440
     911#: presta-products.php:453
    899912msgid "Données enregistrées en cache."
    900913msgstr "Cached data."
    901914
    902 #: presta-products.php:803
     915#: presta-products.php:816
    903916msgid "Configuration enregistrée."
    904917msgstr "Configuration saved."
    905918
    906 #: presta-products.php:861
     919#: presta-products.php:874
    907920msgid "Options enregistrées."
    908921msgstr "Options saved."
    909922
    910 #: presta-products.php:871
     923#: presta-products.php:884
    911924msgid "Gestion du cache enregistrée."
    912925msgstr "Cache management saved."
    913926
    914 #: presta-products.php:1064
     927#: presta-products.php:1082
    915928msgid "Aucun produit concerné."
    916929msgstr "No product."
  • presta-products/trunk/languages/presta-products-es_ES.po

    r2867030 r2945297  
    22msgstr ""
    33"Project-Id-Version: presta-products v1.0.0\n"
    4 "POT-Creation-Date: 2023-02-17 16:05+0100\n"
    5 "PO-Revision-Date: 2023-02-17 16:06+0100\n"
     4"POT-Creation-Date: 2023-07-31 11:10+0200\n"
     5"PO-Revision-Date: 2023-07-31 11:10+0200\n"
    66"Last-Translator: \n"
    77"Language-Team: Guillaume BOUAUD - https://www.guillaume-bouaud.fr\n"
     
    1616"X-Poedit-SearchPath-0: .\n"
    1717
    18 #: includes/admin-header.php:2 presta-products.php:681 presta-products.php:682
     18#: includes/admin-header.php:2 presta-products.php:694 presta-products.php:695
    1919msgid "Presta Products for WordPress"
    2020msgstr "Presta Products for WordPress"
     
    3636"Rellénelas en la pestaña « Opciones generales »."
    3737
    38 #: includes/admin-header.php:14 presta-products.php:692 presta-products.php:693
     38#: includes/admin-header.php:14 presta-products.php:705 presta-products.php:706
    3939msgid "Options générales"
    4040msgstr "Configuración"
    4141
    42 #: includes/admin-header.php:15 presta-products.php:700 presta-products.php:701
     42#: includes/admin-header.php:15 presta-products.php:713 presta-products.php:714
    4343msgid "Fonctionnalités"
    4444msgstr "Características"
    4545
    46 #: includes/admin-header.php:16 presta-products.php:708 presta-products.php:709
     46#: includes/admin-header.php:16 presta-products.php:721 presta-products.php:722
    4747msgid "Documentation"
    4848msgstr "Documentación"
    4949
    50 #: includes/admin-header.php:20 presta-products.php:718 presta-products.php:719
     50#: includes/admin-header.php:20 presta-products.php:731 presta-products.php:732
    5151msgid "Cache"
    5252msgstr "Caché"
    5353
    54 #: includes/admin-header.php:21 presta-products.php:726 presta-products.php:727
     54#: includes/admin-header.php:21 presta-products.php:739 presta-products.php:740
    5555msgid "Utilisé sur"
    5656msgstr "Usado en"
     
    351351
    352352#: includes/tabs/examples.php:80
     353msgid "Langue du/des produit(s)"
     354msgstr "Lengua del producto"
     355
     356#: includes/tabs/examples.php:82
     357msgid ""
     358"Code ISO de la langue souhaitée (doit être dans prestashop).<br>Par défaut, "
     359"prend la langue courante.<br>Champ facultatif, exemples de code ISO : fr, "
     360"en..."
     361msgstr ""
     362"Código ISO del idioma deseado (debe estar en prestashop).<br>Por defecto, "
     363"toma el idioma actual.<br>Campo opcional, ejemplos de códigos ISO: fr, en…"
     364
     365#: includes/tabs/examples.php:86
    353366msgid "Exemples de shortcodes"
    354367msgstr "Ejemplos de shortcodes"
    355368
    356 #: includes/tabs/examples.php:84
     369#: includes/tabs/examples.php:90
    357370msgid "Ajout d'un produit Prestashop"
    358371msgstr "Añadir un producto Prestashop"
    359372
    360 #: includes/tabs/examples.php:86
     373#: includes/tabs/examples.php:92
    361374msgid ""
    362375"Dans l'exemple ci-dessous, on veut ajouter le produit dont l'ID est le #1 de "
     
    366379"Prestashop :"
    367380
    368 #: includes/tabs/examples.php:92
     381#: includes/tabs/examples.php:98
    369382msgid "Ajout d'un produit Prestashop forcé en obfusqué"
    370383msgstr "Añadir un producto Prestashop forzado en ofuscación"
    371384
    372 #: includes/tabs/examples.php:94
     385#: includes/tabs/examples.php:100
    373386msgid ""
    374387"Dans l'exemple ci-dessous, on veut ajouter le produit dont l'ID est le #1 de "
     
    378391"Prestashop con un enlace forzado en ofuscación:"
    379392
    380 #: includes/tabs/examples.php:100
     393#: includes/tabs/examples.php:106
    381394msgid "Ajout d'une liste de produits Prestashop"
    382395msgstr "Añadir una lista de productos Prestashop"
    383396
    384 #: includes/tabs/examples.php:102
     397#: includes/tabs/examples.php:108
    385398msgid ""
    386399"Dans l'exemple ci-dessous, on veut ajouter les produits dont les ID sont les "
     
    390403"y #23 en Prestashop :"
    391404
    392 #: includes/tabs/examples.php:108
     405#: includes/tabs/examples.php:114
    393406msgid "Ajout de tous les produits d'une catégorie Prestashop"
    394407msgstr "Añadir todos los productos de una categoría Prestashop"
    395408
    396 #: includes/tabs/examples.php:110
     409#: includes/tabs/examples.php:116
    397410msgid ""
    398411"Dans l'exemple ci-dessous, on veut ajouter les produits de la catégorie dont "
     
    402415"ID es #1 en Prestashop :"
    403416
    404 #: includes/tabs/examples.php:116
     417#: includes/tabs/examples.php:122
    405418msgid "Ajout du TOP 6 des produits d'une catégorie Prestashop"
    406419msgstr "Añadir los 6 productos TOP de una categoría Prestashop"
    407420
    408 #: includes/tabs/examples.php:118
     421#: includes/tabs/examples.php:124
    409422msgid ""
    410423"Dans l'exemple ci-dessous, on veut ajouter le TOP 6 des produits de la "
     
    414427"cuyo ID es el #1 de Prestashop :"
    415428
    416 #: includes/tabs/examples.php:124
     429#: includes/tabs/examples.php:130
    417430msgid "Ajout des 4 produits les plus vendus depuis 15 jours"
    418431msgstr "Incorporación de los 4 productos más vendidos en los últimos 15 días"
    419432
    420 #: includes/tabs/examples.php:126
     433#: includes/tabs/examples.php:132
    421434msgid ""
    422435"Dans l'exemple ci-dessous, on veut ajouter les 4 produits les plus vendus "
     
    426439"Prestashop durante los últimos 15 días:"
    427440
    428 #: includes/tabs/examples.php:132
     441#: includes/tabs/examples.php:138
    429442msgid ""
    430443"Affiche un carrousel de 5 produits (3 affichés), avec un autoplay de 4 "
     
    434447"automática de 4 segundos"
    435448
    436 #: includes/tabs/examples.php:134
     449#: includes/tabs/examples.php:140
    437450msgid ""
    438451"Dans l'exemple ci-dessous, on veut ajouter les 5 produits indiqués dans un "
     
    904917msgstr "Uso(s)"
    905918
    906 #: presta-products.php:368
     919#: presta-products.php:381
    907920msgid "Problème de réinitialisation du cache."
    908921msgstr "Problema de reinicio de caché."
    909922
    910 #: presta-products.php:370
     923#: presta-products.php:383
    911924msgid "Données supprimées."
    912925msgstr "Datos borrados."
    913926
    914 #: presta-products.php:433 scripts/cron/crontab-presta-products.php:57
     927#: presta-products.php:446 scripts/cron/crontab-presta-products.php:57
    915928msgid "Problème d'enregistrement de la donnée."
    916929msgstr "Problema del registro de los datos."
    917930
    918 #: presta-products.php:440
     931#: presta-products.php:453
    919932msgid "Données enregistrées en cache."
    920933msgstr "Datos en caché."
    921934
    922 #: presta-products.php:803
     935#: presta-products.php:816
    923936msgid "Configuration enregistrée."
    924937msgstr "Configuración guardada."
    925938
    926 #: presta-products.php:861
     939#: presta-products.php:874
    927940msgid "Options enregistrées."
    928941msgstr "Opciones guardadas."
    929942
    930 #: presta-products.php:871
     943#: presta-products.php:884
    931944msgid "Gestion du cache enregistrée."
    932945msgstr "Gestión de cachés registrados."
    933946
    934 #: presta-products.php:1064
     947#: presta-products.php:1082
    935948msgid "Aucun produit concerné."
    936949msgstr "No hay productos afectados."
  • presta-products/trunk/languages/presta-products-fr_FR.po

    r2867030 r2945297  
    22msgstr ""
    33"Project-Id-Version: presta-products v1.0.0\n"
    4 "POT-Creation-Date: 2023-02-17 16:02+0100\n"
    5 "PO-Revision-Date: 2023-02-17 16:06+0100\n"
     4"POT-Creation-Date: 2023-07-31 11:07+0200\n"
     5"PO-Revision-Date: 2023-07-31 11:08+0200\n"
    66"Last-Translator: \n"
    77"Language-Team: Guillaume BOUAUD - https://www.guillaume-bouaud.fr\n"
     
    1616"X-Poedit-SearchPath-0: .\n"
    1717
    18 #: includes/admin-header.php:2 presta-products.php:681 presta-products.php:682
     18#: includes/admin-header.php:2 presta-products.php:694 presta-products.php:695
    1919msgid "Presta Products for WordPress"
    2020msgstr "Presta Products for WordPress"
     
    3636"Renseignez-les dans l’onglet « Options générales »."
    3737
    38 #: includes/admin-header.php:14 presta-products.php:692 presta-products.php:693
     38#: includes/admin-header.php:14 presta-products.php:705 presta-products.php:706
    3939msgid "Options générales"
    4040msgstr "Configuration"
    4141
    42 #: includes/admin-header.php:15 presta-products.php:700 presta-products.php:701
     42#: includes/admin-header.php:15 presta-products.php:713 presta-products.php:714
    4343msgid "Fonctionnalités"
    4444msgstr "Fonctionnalités"
    4545
    46 #: includes/admin-header.php:16 presta-products.php:708 presta-products.php:709
     46#: includes/admin-header.php:16 presta-products.php:721 presta-products.php:722
    4747msgid "Documentation"
    4848msgstr "Documentation"
    4949
    50 #: includes/admin-header.php:20 presta-products.php:718 presta-products.php:719
     50#: includes/admin-header.php:20 presta-products.php:731 presta-products.php:732
    5151msgid "Cache"
    5252msgstr "Cache"
    5353
    54 #: includes/admin-header.php:21 presta-products.php:726 presta-products.php:727
     54#: includes/admin-header.php:21 presta-products.php:739 presta-products.php:740
    5555msgid "Utilisé sur"
    5656msgstr "Utilisé sur"
     
    352352
    353353#: includes/tabs/examples.php:80
     354msgid "Langue du/des produit(s)"
     355msgstr "Langue du/des produit(s)"
     356
     357#: includes/tabs/examples.php:82
     358msgid ""
     359"Code ISO de la langue souhaitée (doit être dans prestashop).<br>Par défaut, "
     360"prend la langue courante.<br>Champ facultatif, exemples de code ISO : fr, "
     361"en..."
     362msgstr ""
     363"Code ISO de la langue souhaitée (doit être dans prestashop).<br>Par défaut, "
     364"prend la langue courante.<br>Champ facultatif, exemples de code ISO : fr, en…"
     365
     366#: includes/tabs/examples.php:86
    354367msgid "Exemples de shortcodes"
    355368msgstr "Exemples de shortcodes"
    356369
    357 #: includes/tabs/examples.php:84
     370#: includes/tabs/examples.php:90
    358371msgid "Ajout d'un produit Prestashop"
    359372msgstr "Ajout d’un produit Prestashop"
    360373
    361 #: includes/tabs/examples.php:86
     374#: includes/tabs/examples.php:92
    362375msgid ""
    363376"Dans l'exemple ci-dessous, on veut ajouter le produit dont l'ID est le #1 de "
     
    367380"Prestashop :"
    368381
    369 #: includes/tabs/examples.php:92
     382#: includes/tabs/examples.php:98
    370383msgid "Ajout d'un produit Prestashop forcé en obfusqué"
    371384msgstr "Ajout d’un produit Prestashop forcé en obfusqué"
    372385
    373 #: includes/tabs/examples.php:94
     386#: includes/tabs/examples.php:100
    374387msgid ""
    375388"Dans l'exemple ci-dessous, on veut ajouter le produit dont l'ID est le #1 de "
     
    379392"Prestashop avec un lien forcé en obfusqué :"
    380393
    381 #: includes/tabs/examples.php:100
     394#: includes/tabs/examples.php:106
    382395msgid "Ajout d'une liste de produits Prestashop"
    383396msgstr "Ajout d’une liste de produits Prestashop"
    384397
    385 #: includes/tabs/examples.php:102
     398#: includes/tabs/examples.php:108
    386399msgid ""
    387400"Dans l'exemple ci-dessous, on veut ajouter les produits dont les ID sont les "
     
    391404"#1, #14 et #23 de Prestashop :"
    392405
    393 #: includes/tabs/examples.php:108
     406#: includes/tabs/examples.php:114
    394407msgid "Ajout de tous les produits d'une catégorie Prestashop"
    395408msgstr "Ajout de tous les produits d’une catégorie Prestashop"
    396409
    397 #: includes/tabs/examples.php:110
     410#: includes/tabs/examples.php:116
    398411msgid ""
    399412"Dans l'exemple ci-dessous, on veut ajouter les produits de la catégorie dont "
     
    403416"l’ID est le #1 de Prestashop :"
    404417
    405 #: includes/tabs/examples.php:116
     418#: includes/tabs/examples.php:122
    406419msgid "Ajout du TOP 6 des produits d'une catégorie Prestashop"
    407420msgstr "Ajout du TOP 6 des produits d’une catégorie Prestashop"
    408421
    409 #: includes/tabs/examples.php:118
     422#: includes/tabs/examples.php:124
    410423msgid ""
    411424"Dans l'exemple ci-dessous, on veut ajouter le TOP 6 des produits de la "
     
    415428"catégorie dont l’ID est le #1 de Prestashop :"
    416429
    417 #: includes/tabs/examples.php:124
     430#: includes/tabs/examples.php:130
    418431msgid "Ajout des 4 produits les plus vendus depuis 15 jours"
    419432msgstr "Ajout des 4 produits les plus vendus depuis 15 jours"
    420433
    421 #: includes/tabs/examples.php:126
     434#: includes/tabs/examples.php:132
    422435msgid ""
    423436"Dans l'exemple ci-dessous, on veut ajouter les 4 produits les plus vendus "
     
    427440"sur Prestashop durant les 15 derniers jours :"
    428441
    429 #: includes/tabs/examples.php:132
     442#: includes/tabs/examples.php:138
    430443msgid ""
    431444"Affiche un carrousel de 5 produits (3 affichés), avec un autoplay de 4 "
     
    435448"secondes"
    436449
    437 #: includes/tabs/examples.php:134
     450#: includes/tabs/examples.php:140
    438451msgid ""
    439452"Dans l'exemple ci-dessous, on veut ajouter les 5 produits indiqués dans un "
     
    905918msgstr "Utilisation(s)"
    906919
    907 #: presta-products.php:368
     920#: presta-products.php:381
    908921msgid "Problème de réinitialisation du cache."
    909922msgstr "Problème de réinitialisation du cache."
    910923
    911 #: presta-products.php:370
     924#: presta-products.php:383
    912925msgid "Données supprimées."
    913926msgstr "Données supprimées."
    914927
    915 #: presta-products.php:433 scripts/cron/crontab-presta-products.php:57
     928#: presta-products.php:446 scripts/cron/crontab-presta-products.php:57
    916929msgid "Problème d'enregistrement de la donnée."
    917930msgstr "Problème d’enregistrement de la donnée."
    918931
    919 #: presta-products.php:440
     932#: presta-products.php:453
    920933msgid "Données enregistrées en cache."
    921934msgstr "Données enregistrées en cache."
    922935
    923 #: presta-products.php:803
     936#: presta-products.php:816
    924937msgid "Configuration enregistrée."
    925938msgstr "Configuration enregistrée."
    926939
    927 #: presta-products.php:861
     940#: presta-products.php:874
    928941msgid "Options enregistrées."
    929942msgstr "Options enregistrées."
    930943
    931 #: presta-products.php:871
     944#: presta-products.php:884
    932945msgid "Gestion du cache enregistrée."
    933946msgstr "Gestion du cache enregistrée."
    934947
    935 #: presta-products.php:1064
     948#: presta-products.php:1082
    936949msgid "Aucun produit concerné."
    937950msgstr "Aucun produit concerné."
  • presta-products/trunk/presta-products.php

    r2871820 r2945297  
    44 * Plugin URI:          https://www.guillaume-bouaud.fr/produit/presta-products-for-wordpress 
    55 * Description:         Affichage des produits Prestashop sur le site internet généré par Wordpress.
    6  * Version:             1.1.17
     6 * Version:             1.1.18
    77 * Requires at least:   5.2
    88 * Requires PHP:        7.2
     
    227227            if (function_exists('pll_current_language')) {
    228228                $langue_actuel  = pll_current_language('slug');
     229                $link           = $prestashop_url . '/api/languages/?display=[id,iso_code]&ws_key=' . $webservice_key . '&output_format=JSON';
     230                $response       = wp_remote_get( $link );
     231                $body           = wp_remote_retrieve_body( $response );
     232                $http_code      = wp_remote_retrieve_response_code( $response );
     233               
     234                if ($http_code == '200') {
     235                    $prest_languages = json_decode($body);
     236                }
     237            }
     238           
     239            // Si l'utilisateur force la langue
     240            if (isset($atts['language'])) {
     241                $langue_actuel = $atts['language'];
    229242                $link           = $prestashop_url . '/api/languages/?display=[id,iso_code]&ws_key=' . $webservice_key . '&output_format=JSON';
    230243                $response       = wp_remote_get( $link );
  • presta-products/trunk/readme.txt

    r2889934 r2945297  
    55Requires at least: 4.7
    66Requires PHP: 5.6
    7 Tested up to: 6.2
    8 Stable tag: 1.1.17
     7Tested up to: 6.3
     8Stable tag: 1.1.18
    99License: GPLv2 or later
    1010License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    6363
    6464== Changelog ==
     65
     66= 1.1.18 = (01/08/2023)
     67* Testée jusqu’à la version 6.3 de WordPress
     68* Testée jusqu’à la version 8.0 de PHP
     69* Fixed: Correctif d'affichage du prix barré trop long (PREMIUM)
     70* Nouveau: Gestion de la langue souhaitée par l'utilisateur (code ISO)
    6571
    6672= 1.1.17 = (27/02/2023)
Note: See TracChangeset for help on using the changeset viewer.