fix: moved wpml-string-transation from mu-plugins to plugins

This commit is contained in:
Noah Lancien 2025-04-04 12:47:42 +02:00
parent be445a4321
commit 37532d6d2a
913 changed files with 104 additions and 5 deletions

1
.gitignore vendored
View file

@ -1,6 +1,7 @@
# Application
public/app/plugins/*
!public/app/plugins/.gitkeep
!public/app/plugins/wpml-string-translation/
public/app/mu-plugins/*/
!public/app/mu-plugins/ldc-messages/
public/app/themes/*/

View file

@ -0,0 +1,2 @@
<?php
return ['messages'=>['%%pt_plural%% Archive %%page%% %%sep%% %%sitename%%'=>'%%pt_plural%% Archive %%page%% %%sep%% %%sitename%%','Accueil'=>'Accueil','Archives des %%term_title%% %%page%% %%sep%% %%sitename%%'=>'Archives des %%term_title%% %%page%% %%sep%% %%sitename%%','Archives pour'=>'Archives pour','Erreur 404 : Page introuvable'=>'Erreur 404 : Page introuvable','Page non trouvée %%sep%% %%sitename%%'=>'Page non trouvée %%sep%% %%sitename%%','Vous avez cherché'=>'Vous avez cherché','Vous avez cherché %%searchphrase%% %%page%% %%sep%% %%sitename%%'=>'Vous avez cherché %%searchphrase%% %%page%% %%sep%% %%sitename%%','[wpseo_titles]breadcrumbs-404crumb'=>'Erreur 404 : Page introuvable','[wpseo_titles]breadcrumbs-archiveprefix'=>'Archives pour','[wpseo_titles]breadcrumbs-home'=>'Accueil','[wpseo_titles]breadcrumbs-searchprefix'=>'Vous avez cherché','[wpseo_titles]title-404-wpseo'=>'Page non trouvée %%sep%% %%sitename%%','[wpseo_titles]title-ptarchive-societe'=>'%%pt_plural%% Archive %%page%% %%sep%% %%sitename%%','[wpseo_titles]title-search-wpseo'=>'Vous avez cherché %%searchphrase%% %%page%% %%sep%% %%sitename%%','[wpseo_titles]title-tax-category'=>'Archives des %%term_title%% %%page%% %%sep%% %%sitename%%','[wpseo_titles]title-tax-filieres'=>'Archives des %%term_title%% %%page%% %%sep%% %%sitename%%','[wpseo_titles]title-tax-post_format'=>'Archives des %%term_title%% %%page%% %%sep%% %%sitename%%','[wpseo_titles]title-tax-post_tag'=>'Archives des %%term_title%% %%page%% %%sep%% %%sitename%%','[wpseo_titles]title-tax-type-activite'=>'Archives des %%term_title%% %%page%% %%sep%% %%sitename%%']];

View file

@ -0,0 +1,16 @@
<?php
return ['messages'=>['Button text'=>'J\'accepte','I agree to'=>'J\'accepte','Message in the notice'=>'Le site ldc.fr utilise directement ou indirectement des cookies :
<br>
- Des cookies à des fins de mesure d\'audience, via Google Analytics. Les informations de navigation stockées sont : l’identifiant de session, l’adresse des pages consultées, les dates et heures des visites.<br>
- Un cookie tiers est installé dans le cadre de l’utilisation du ReCaptcha de Google lors de l’envoi des formulaires de contact. Ce cookie sert à vérifier que le formulaire est bien complété par un internaute et non un robot.<br>
- La lecture de vidéo peut provoquer l’installation de cookies provenant de Youtube, service tiers utilisé pour la diffusion des vidéos sur le site. LDC n’est ni dépositaire ni destinataire de ces données.<br>
- Les liens de partage des pages via Linkedin n’engendrent pas l’installation de cookies. Ils provoquent l’ouverture d’une nouvelle fenêtre qui enregistre les données de navigation dont LDC n’est ni dépositaire ni destinataire.<br>','Privacy Policy'=>'Politique de confidentialité','Privacy policy text'=>'Politique de confidentialité','The site ldc.fr uses directly or indirectly cookies: <br>
- Cookies for audience measurement purposes, via Google Analytics. The browsing information stored are: the session identifier, the address of the pages viewed, the dates and times of visits. <br>
- A third party cookie is installed as part of the use of Google\'s ReCaptcha when sending contact forms. This cookie is used to verify that the form is completed by an Internet user and not a robot. <br>
- Video playback may result in the installation of cookies from Youtube, a third party service used to broadcast videos on the site. LDC is neither custodian nor recipient of this data. <br>
- The links for sharing pages via Linkedin do not generate the installation of cookies. They cause a new window to open which saves navigation data for which LDC is neither the custodian nor the recipient. <br>'=>'Le site ldc.fr utilise directement ou indirectement des cookies :
<br>
- Des cookies à des fins de mesure d\'audience, via Google Analytics. Les informations de navigation stockées sont : l’identifiant de session, l’adresse des pages consultées, les dates et heures des visites.<br>
- Un cookie tiers est installé dans le cadre de l’utilisation du ReCaptcha de Google lors de l’envoi des formulaires de contact. Ce cookie sert à vérifier que le formulaire est bien complété par un internaute et non un robot.<br>
- La lecture de vidéo peut provoquer l’installation de cookies provenant de Youtube, service tiers utilisé pour la diffusion des vidéos sur le site. LDC n’est ni dépositaire ni destinataire de ces données.<br>
- Les liens de partage des pages via Linkedin n’engendrent pas l’installation de cookies. Ils provoquent l’ouverture d’une nouvelle fenêtre qui enregistre les données de navigation dont LDC n’est ni dépositaire ni destinataire.<br>']];

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

View file

@ -0,0 +1,2 @@
<?php
return ['messages'=>['77e862b7e513399369b1726880f6bbb8'=>'https://www.capital.fr/entreprises-marches/le-gaulois-maitre-coq-loue-il-est-le-champion-du-poulet-toutes-categories-1352376','https://www.capital.fr/entreprises-marches/le-gaulois-maitre-coq-loue-il-est-le-champion-du-poulet-toutes-categories-1352376'=>'https://www.capital.fr/entreprises-marches/le-gaulois-maitre-coq-loue-il-est-le-champion-du-poulet-toutes-categories-1352376']];

Binary file not shown.

View file

@ -0,0 +1,15 @@
<?php
return ['messages'=>['052c7c369c263e7ad32c308c8f5f7b4d'=>'LDC and the food banks share common values in the fight against poverty and food waste across the country.','195c7ce2253e9c56b80009840f42b144'=>'The LDC Group is a long-standing food bank partner, in particular via its donations of poultry and processed products. The purpose of this agreement is to further develop the Group\'s action to date by suggesting other forms of support that production sites and subsidiaries may be able to provide, in particular technical or logistical sponsorship.','202377ad0c86ee579fd69d1306bdae58'=>'To mark the 35th anniversary of the creation of French food banks and World Food Day on 16 October 2019, the LDC Group and the French Federation of Food Banks (FFBA) signed a national partnership agreement.','3ce45609098396c0497df4a043b32376'=>'An open day was held at the Rennes food bank on Wednesday 16 October. This event was an opportunity to welcome all those who wanted to find out more about how food banks work, to meet volunteers and perhaps to get involved themselves.','A l’occasion des 35 ans de la
création des Banques Alimentaires et de la journée mondiale de l’alimentation
le 16 Octobre 2019 ; le Groupe LDC et la Fédération Française des Banques
Alimentaires (FFBA) ont signé une convention nationale de partenariat.'=>'To mark the 35th anniversary of the creation of French food banks and World Food Day on 16 October 2019, the LDC Group and the French Federation of Food Banks (FFBA) signed a national partnership agreement.','LDC et les Banques
Alimentaires partagent des valeurs communes pour lutter ensemble contre la
précarité et le gaspillage alimentaire dans les territoires.'=>'LDC and the food banks share common values in the fight against poverty and food waste across the country.','Le Groupe LDC est un partenaire
historique des Banques Alimentaires, en particulier via le don de produits
volaille et traiteur. Cette convention a pour but de renforcer l’action
historique du Groupe en prescrivant auprès des sites et filiales d’autres
formes d’accompagnement, en particulier le mécénat technique ou logistique.'=>'The LDC Group is a long-standing food bank partner, in particular via its donations of poultry and processed products. The purpose of this agreement is to further develop the Group\'s action to date by suggesting other forms of support that production sites and subsidiaries may be able to provide, in particular technical or logistical sponsorship.','Le mercredi 16 octobre avait lieu
une journée portes ouvertes de la Banque Alimentaire de Rennes. Cette journée a
été l’occasion d’accueillir celles et ceux qui souhaitaient découvrir le fonctionnement
d’une Banque Alimentaire, rencontrer des bénévoles et pourquoi pas s’investir à
leur tour.'=>'An open day was held at the Rennes food bank on Wednesday 16 October. This event was an opportunity to welcome all those who wanted to find out more about how food banks work, to meet volunteers and perhaps to get involved themselves.']];

Binary file not shown.

View file

@ -0,0 +1,6 @@
<?php
return ['messages'=>['Depuis l’été 2019, le groupe LDC a intégré la société belge Kiplama, importateur et distributeur de spécialités françaises de volaille à destination du Benelux. La plateforme logistique de Kiplama achetait déjà pour 40% au groupe LDC. Le projet du groupe est d’en faire un point central de distribution dans cette zone géographique afin de desservir une partie de l’Europe. '=>'Since the summer of 2019, the LDC group has incorporated Belgian company Kiplama, importer and distributor of French poultry specialities produced for Benelux.
The Kiplama logistics platform already bought 40% of its products from the LDC group.
The group’s project is to use it to create a central distribution point in this geographical area in order to serve part of Europe.','bd07911490ea2f30e79f52900d202aa5'=>'Since the summer of 2019, the LDC group has incorporated Belgian company Kiplama, importer and distributor of French poultry specialities produced for Benelux.
The Kiplama logistics platform already bought 40% of its products from the LDC group.
The group’s project is to use it to create a central distribution point in this geographical area in order to serve part of Europe.']];

Binary file not shown.

View file

@ -0,0 +1,12 @@
<?php
return ['messages'=>['21517eda69e9a6395a928f3496323169'=>'This acquisition is also part of the LDC Group\'s strategy to win back imports.','2be0faa93cb5de02023bc569b5f4ee10'=>'This merger enables both groups to combine their resources to consolidate a high quality French poultry sector, in compliance with the best requirements in terms of animal welfare and supporting the innovation of environmentally-friendly products and packaging. ','Ce rapprochement permet aux 2 groupes d’unir
leurs moyens pour consolider une filière volaille Française de qualité,
respectant les meilleures exigences en matière de bien-être animal et
permettant d’innover avec des produits et des emballages respectueux de
l’environnement.   '=>'This merger enables both groups to combine their resources to consolidate a high quality French poultry sector, in compliance with the best requirements in terms of animal welfare and supporting the innovation of environmentally-friendly products and packaging. ','Cette acquisition s’inscrit également dans le cadre de la stratégie de reconquête des importations, menée par le groupe LDC.'=>'This acquisition is also part of the LDC Group\'s strategy to win back imports.','Fin 2019, le Groupe LDC a intégré une nouvelle
société : Luché Tradition Volailles, située en Sarthe, et appartenant au
Groupe Casino. Le site est spécialisé dans la transformation, le
conditionnement et la commercialisation de produits de volaille pour les rayons
libre-service des enseignes du groupe Casino. L’objectif du groupe LDC est de
faire évoluer progressivement les activités vers la fabrication de produits
élaborés crus de volailles (destinés à la GMS et à la RHD). '=>'At the end of 2019 the LDC Group incorporated a new company: Luché Tradition Volailles, located in Sarthe, and belonging to the Casino Groupe. The site specialises in the processing, packaging and sales of poultry products for the self-service departments of the Casino group\'s brands. The LDC group’s objective is to progressively alter activities and move towards the production of raw poultry products (for supermarkets and hypermarkets and out-of-home catering). ','b6fbbcd53cc22d4acd40c75d5565049c'=>'At the end of 2019 the LDC Group incorporated a new company: Luché Tradition Volailles, located in Sarthe, and belonging to the Casino Groupe. The site specialises in the processing, packaging and sales of poultry products for the self-service departments of the Casino group\'s brands. The LDC group’s objective is to progressively alter activities and move towards the production of raw poultry products (for supermarkets and hypermarkets and out-of-home catering). ']];

Binary file not shown.

View file

@ -0,0 +1,7 @@
<?php
return ['messages'=>['509858d3eb892213b1a3d488f0b5edd6'=>'At this 6<sup>th</sup> edition, the LDC company received an award in the “Company of the year” category.','Au départ, chacune des 10 catégories met en
compétition 4 candidats, soumis aux votes des internautes. '=>'To start with, each of the 10 categories has 4 competing candidates who are voted for by internet users. ','En 2018 a eu lieu la 6<sup>ème</sup> édition
des Talents de la Sarthe, organisée par le Département de la Sarthe et le Maine
Libre. Cette édition a permis de mettre à l’honneur toutes ces personnes qui
font de la Sarthe un département attractif, innovant et accueillant. '=>'The 6<sup>th</sup> edition of Talents de la Sarthe event, organised by the Département de la Sarthe and the Le Maine Libre newspaper, took place in 2018. The event is an opportunity to showcase all those whose endeavours make Sarthe such an attractive, innovative and welcoming area of France.','Pour cette 6<sup>ème</sup> édition, le Groupe
LDC a été récompensé dans la catégorie « Entreprise de l’année ». '=>'At this 6<sup>th</sup> edition, the LDC company received an award in the “Company of the year” category.','aefda382c964a6d1a30f6603ec6fadc7'=>'To start with, each of the 10 categories has 4 competing candidates who are voted for by internet users. ','af970a260125f5a3d02141cbd233e14d'=>'The 6<sup>th</sup> edition of Talents de la Sarthe event, organised by the Département de la Sarthe and the Le Maine Libre newspaper, took place in 2018. The event is an opportunity to showcase all those whose endeavours make Sarthe such an attractive, innovative and welcoming area of France.']];

Binary file not shown.

View file

@ -0,0 +1,13 @@
<?php
return ['messages'=>['3acddd193bc7d34d8ce1e73186d1ee43'=>'<p>To start with, each of the 10 categories has 4 competing candidates who are voted for by internet users.</p><p>At this 7<sup>th</sup> edition, the MARIE company received an award in the “Company of the year” category.</p>','Au départ, chacune des 10 catégories met en
compétition 4 candidats, soumis aux votes des internautes.
Pour cette 7<sup>ème</sup> édition, a l’entreprise
MARIE a été récompensée dans la catégorie « Entreprise de l’année ».
'=>'<p>To start with, each of the 10 categories has 4 competing candidates who are voted for by internet users.</p><p>At this 7<sup>th</sup> edition, the MARIE company received an award in the “Company of the year” category.</p>','En 2019 a eu lieu la 7<sup>ème</sup> édition
des Talents de la Sarthe, organisée par le Département de la Sarthe et le Maine
Libre. Cette édition a permis de mettre à l’honneur toutes ces personnes qui
font de la Sarthe un département attractif, innovant et accueillant. '=>'<p>The 7<sup>th</sup> edition of Talents de la Sarthe event, organised by the Département de la Sarthe and the Le Maine Libre newspaper, took place in 2019. The event is an opportunity to showcase all those whose endeavours make Sarthe such an attractive, innovative and welcoming area of France.</p>','f9a44a501f6ef1ee3310b6fc5db607f8'=>'<p>The 7<sup>th</sup> edition of Talents de la Sarthe event, organised by the Département de la Sarthe and the Le Maine Libre newspaper, took place in 2019. The event is an opportunity to showcase all those whose endeavours make Sarthe such an attractive, innovative and welcoming area of France.</p>']];

Binary file not shown.

View file

@ -0,0 +1,17 @@
<?php
return ['messages'=>['3acddd193bc7d34d8ce1e73186d1ee43'=>'To start with, each of the 10 categories has 4 competing candidates who are voted for by internet users.
At this 7<sup>th</sup> edition, the MARIE company received an award in the “Company of the year” category.','Au départ, chacune des 10 catégories met en
compétition 4 candidats, soumis aux votes des internautes.
Pour cette 7<sup>ème</sup> édition, a l’entreprise
MARIE a été récompensée dans la catégorie « Entreprise de l’année ».
'=>'To start with, each of the 10 categories has 4 competing candidates who are voted for by internet users.
At this 7<sup>th</sup> edition, the MARIE company received an award in the “Company of the year” category.','En 2019 a eu lieu la 7<sup>ème</sup> édition
des Talents de la Sarthe, organisée par le Département de la Sarthe et le Maine
Libre. Cette édition a permis de mettre à l’honneur toutes ces personnes qui
font de la Sarthe un département attractif, innovant et accueillant. '=>'The 7<sup>th</sup> edition of Talents de la Sarthe event, organised by the Département de la Sarthe and the Le Maine Libre newspaper, took place in 2019. The event is an opportunity to showcase all those whose endeavours make Sarthe such an attractive, innovative and welcoming area of France.','f9a44a501f6ef1ee3310b6fc5db607f8'=>'The 7<sup>th</sup> edition of Talents de la Sarthe event, organised by the Département de la Sarthe and the Le Maine Libre newspaper, took place in 2019. The event is an opportunity to showcase all those whose endeavours make Sarthe such an attractive, innovative and welcoming area of France.']];

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

View file

@ -0,0 +1,2 @@
<?php
return ['messages'=>['Please verify that you are not a robot.'=>'Veuillez vérifier que vous n\'êtes pas un robot.']];

Binary file not shown.

View file

@ -499,15 +499,16 @@ function init()
$page = '<div class="wrap">';
$page .= "<h1 class=\"wp-heading-inline\">Gestion des messages - LDC - {$statusLabel} {$searchLabel}</h1>";
$page .= "<form class='ldc_messages_search' method='POST' action='/wp-admin/admin.php?page=ldc-messages&s={$status}'>";
$adminUrl = get_admin_url();
$page .= "<form class='ldc_messages_search' method='POST' action='{$adminUrl}admin.php?page=ldc-messages&s={$status}'>";
$page .= "<div>";
$page .= "<a href='/wp-admin/admin.php?page=ldc-messages' class='ldc_messages_btn'>Tout</a>";
$page .= "<a href='/wp-admin/admin.php?page=ldc-messages&s=0' class='ldc_messages_btn ldc_messages_bg_red'>À traiter</a>";
$page .= "<a href='/wp-admin/admin.php?page=ldc-messages&s=1' class='ldc_messages_btn ldc_messages_bg_green'>Traité</a>";
$page .= "<a href='{$adminUrl}admin.php?page=ldc-messages' class='ldc_messages_btn'>Tout</a>";
$page .= "<a href='{$adminUrl}admin.php?page=ldc-messages&s=0' class='ldc_messages_btn ldc_messages_bg_red'>À traiter</a>";
$page .= "<a href='{$adminUrl}admin.php?page=ldc-messages&s=1' class='ldc_messages_btn ldc_messages_bg_green'>Traité</a>";
$page .= "</div>";
$page .= "<input type=\"text\" name=\"search\" style=\"min-width: 28rem;\" placeholder=\"Recherche selon de multiples critères\" value=\"{$search}\" required/>";
if (!empty($searchLabel)) {
$page .= "&nbsp;<a href=\"/wp-admin/admin.php?page=ldc-messages&s={$status}&search\">Effacer</a>&nbsp;";
$page .= "&nbsp;<a href=\"{$adminUrl}admin.php?page=ldc-messages&s={$status}&search\">Effacer</a>&nbsp;";
}
$page .= "<button type='submit'>Rechercher</button>";
$page .= "</form>";

Some files were not shown because too many files have changed in this diff Show more