From c9ef996e8b711174b73a31baab690c1985e64d70 Mon Sep 17 00:00:00 2001 From: Stephen Cameron Date: Thu, 6 May 2021 16:09:35 +0200 Subject: [PATCH] Updates for multilingual versions + compatibility with Loco Translate. WIP #4395 @10 --- wp-content/mu-plugins/cube-loader.php | 2 + wp-content/mu-plugins/cube/languages/cube.pot | 519 +++++++++++++ .../mu-plugins/cube/src/Common/Setup.php | 7 + .../src/Elementor/Widgets/BackgroundImage.php | 2 +- .../cube/src/Forms/Builder/Fields/Binary.php | 4 +- .../cube/src/Forms/Builder/Fields/File.php | 2 +- .../mu-plugins/cube/src/Forms/Training.php | 2 +- .../themes/CCV/app/View/Composers/Title.php | 6 +- wp-content/themes/CCV/app/setup.php | 10 +- wp-content/themes/CCV/functions.php | 14 +- wp-content/themes/CCV/loco.xml | 64 ++ wp-content/themes/CCV/package.json | 11 +- .../themes/CCV/resources/languages/ccv.pot | 707 ++++++++++++++++++ .../views/archive-scientific_news.blade.php | 4 +- .../resources/views/forms/search.blade.php | 6 +- .../CCV/resources/views/index.blade.php | 2 +- .../views/partials/comments.blade.php | 8 +- .../views/partials/content-page.blade.php | 2 +- .../content-scientific_news.blade.php | 2 +- .../content-single-scientific_news.blade.php | 6 +- .../views/partials/content-single.blade.php | 4 +- .../views/partials/content.blade.php | 2 +- .../views/partials/entry-meta.blade.php | 2 +- .../resources/views/partials/header.blade.php | 2 +- .../CCV/resources/views/search.blade.php | 2 +- wp-content/themes/CCV/style.css | 3 +- 26 files changed, 1353 insertions(+), 42 deletions(-) create mode 100644 wp-content/mu-plugins/cube/languages/cube.pot create mode 100644 wp-content/themes/CCV/loco.xml create mode 100644 wp-content/themes/CCV/resources/languages/ccv.pot diff --git a/wp-content/mu-plugins/cube-loader.php b/wp-content/mu-plugins/cube-loader.php index ede46dd..de6393e 100644 --- a/wp-content/mu-plugins/cube-loader.php +++ b/wp-content/mu-plugins/cube-loader.php @@ -5,6 +5,8 @@ * Version: 1.0 * Author: Cubedesigners * Author URI: https://www.cubedesigners.com + * Text Domain: cube + * Domain Path: cube/languages */ namespace Cube; diff --git a/wp-content/mu-plugins/cube/languages/cube.pot b/wp-content/mu-plugins/cube/languages/cube.pot new file mode 100644 index 0000000..f31abcf --- /dev/null +++ b/wp-content/mu-plugins/cube/languages/cube.pot @@ -0,0 +1,519 @@ +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: Custom theme features\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2021-05-05 17:43+0000\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: \n" +"Language: \n" +"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Loco https://localise.biz/\n" +"X-Loco-Version: 2.5.2; wp-5.6\n" +"X-Domain: cube" + +#: cube/src/Elementor/Widgets/DynamicTable.php:105 +msgid "Alignement du texte" +msgstr "" + +#: cube/src/Elementor/Setup.php:107 cube/src/Elementor/Setup.php:124 +msgid "Aucun (défaut)" +msgstr "" + +#: cube/src/Elementor/Widgets/Timeline.php:59 +msgid "Background Colour" +msgstr "" + +#: cube/src/Elementor/Widgets/BackgroundImage.php:70 +msgid "Background Position" +msgstr "" + +#: cube/src/Elementor/Widgets/TextBlock.php:64 +msgid "Balise de titre (SEO)" +msgstr "" + +#: cube/src/Elementor/Widgets/DynamicTable.php:90 +#: cube/src/Elementor/Widgets/JustifiedList.php:86 +msgid "Blanc" +msgstr "" + +#: cube/src/Elementor/Widgets/HeaderSlideshow.php:79 +#: cube/src/Elementor/Widgets/TextBlock.php:78 +msgid "Body" +msgstr "" + +#: cube/src/Elementor/Widgets/TextBlock.php:157 +msgid "Body Colour" +msgstr "" + +#: cube/src/Elementor/Setup.php:191 +msgid "Bottom" +msgstr "" + +#: cube/src/Elementor/Widgets/BackgroundImage.php:79 +msgid "Bottom Center" +msgstr "" + +#: cube/src/Elementor/Widgets/BackgroundImage.php:78 +msgid "Bottom Left" +msgstr "" + +#: cube/src/Elementor/Setup.php:121 cube/src/Elementor/Widgets/_Base.php:78 +msgid "Bottom Padding" +msgstr "" + +#: cube/src/Elementor/Widgets/BackgroundImage.php:80 +msgid "Bottom Right" +msgstr "" + +#: cube/src/Elementor/Widgets/TextBlock.php:96 +#: cube/src/Elementor/Widgets/Timeline.php:118 +msgid "Call to Action link" +msgstr "" + +#: cube/src/Elementor/Widgets/TextBlock.php:87 +#: cube/src/Elementor/Widgets/Timeline.php:112 +msgid "Call to Action text" +msgstr "" + +#: cube/src/Elementor/Widgets/PhotoGrid.php:72 +msgid "Caption" +msgstr "" + +#: cube/src/Elementor/Widgets/DynamicTable.php:78 +msgid "Cellules du tableau (une valeur par ligne)" +msgstr "" + +#: cube/src/Elementor/Setup.php:190 +#: cube/src/Elementor/Widgets/BackgroundImage.php:77 +msgid "Center" +msgstr "" + +#: cube/src/Elementor/Widgets/DynamicTable.php:110 +#: cube/src/Elementor/Widgets/TextBlock.php:229 +msgid "Centré" +msgstr "" + +#: cube/src/Elementor/Widgets/Timeline.php:20 +msgid "Chronologie" +msgstr "" + +#: cube/src/Elementor/Widgets/TimelineHorizontal.php:21 +msgid "Chronologie Horizontale" +msgstr "" + +#: cube/src/Elementor/Setup.php:78 +msgid "Colonnes inversées" +msgstr "" + +#: cube/src/Elementor/Widgets/TextBlock.php:111 +msgid "Colours & Formatting" +msgstr "" + +#: cube/src/Elementor/Widgets/TextBlock.php:47 +#: cube/src/Elementor/Widgets/Timeline.php:52 +#: cube/src/Elementor/Widgets/TimelineHorizontal.php:64 +msgid "Content" +msgstr "" + +#: cube/src/Elementor/Widgets/TimelineHorizontal.php:91 +msgid "Contenu" +msgstr "" + +#: cube/src/Elementor/Widgets/FancyList.php:79 +msgid "Contenus" +msgstr "" + +#: cube/src/Elementor/Setup.php:89 +#: cube/src/Elementor/Widgets/DynamicTable.php:86 +#: cube/src/Elementor/Widgets/FancyList.php:101 +#: cube/src/Elementor/Widgets/JustifiedList.php:82 +msgid "Couleur de fond" +msgstr "" + +#: cube/src/Elementor/Widgets/FancyList.php:117 +msgid "Couleur de texte" +msgstr "" + +#. Author of the plugin +msgid "Cubedesigners" +msgstr "" + +#. Name of the plugin +msgid "Custom theme features" +msgstr "" + +#: cube/src/Elementor/Widgets/PictoGrid.php:79 +#: cube/src/Elementor/Widgets/Timeline.php:106 +msgid "Description" +msgstr "" + +#: cube/src/Elementor/Widgets/HeaderSlideshow.php:88 +msgid "Desktop Images (1920px × 912px)" +msgstr "" + +#: cube/src/Elementor/Widgets/_Base.php:48 +msgid "Disable margin bottom" +msgstr "" + +#: cube/src/Elementor/Widgets/_Base.php:37 +msgid "Disable margin top" +msgstr "" + +#: cube/src/Elementor/Widgets/JustifiedList.php:20 +#: cube/src/Elementor/Widgets/JustifiedList.php:56 +msgid "Données Justifiées" +msgstr "" + +#: cube/src/Elementor/Widgets/DynamicTable.php:111 +msgid "Droit" +msgstr "" + +#: cube/src/Elementor/Widgets/TextBlock.php:231 +msgid "Droite" +msgstr "" + +#: cube/src/Elementor/Widgets/_Base.php:62 +#: cube/src/Elementor/Widgets/_Base.php:81 +#: cube/src/Elementor/Widgets/DynamicTable.php:89 +#: cube/src/Elementor/Widgets/DynamicTable.php:99 +#: cube/src/Elementor/Widgets/DynamicTable.php:108 +#: cube/src/Elementor/Widgets/JustifiedList.php:85 +#: cube/src/Elementor/Widgets/TextBlock.php:228 +msgid "Défaut" +msgstr "" + +#: cube/src/Elementor/Setup.php:92 +msgid "Défaut (blanc)" +msgstr "" + +#: cube/src/Elementor/Widgets/PeopleGrid.php:79 +msgid "Détails" +msgstr "" + +#: cube/src/Elementor/Widgets/DynamicTable.php:63 +msgid "En-têtes de colonne (un par ligne)" +msgstr "" + +#: cube/src/Elementor/Widgets/BackgroundImage.php:52 +msgid "Flexible Background Image" +msgstr "" + +#: cube/src/Elementor/Widgets/BackgroundImage.php:21 +msgid "Flexible Image" +msgstr "" + +#: cube/src/Elementor/Widgets/TextBlock.php:16 +msgid "Formatted Text" +msgstr "" + +#: cube/src/Elementor/Widgets/Form.php:21 +#: cube/src/Elementor/Widgets/Form.php:55 +#: cube/src/Elementor/Widgets/Form.php:63 +msgid "Formulaire" +msgstr "" + +#: cube/src/Elementor/Widgets/DynamicTable.php:109 +#: cube/src/Elementor/Widgets/TextBlock.php:230 +msgid "Gauche" +msgstr "" + +#: cube/src/Elementor/Widgets/DynamicTable.php:100 +msgid "Gras" +msgstr "" + +#: cube/src/Elementor/Setup.php:93 +#: cube/src/Elementor/Widgets/DynamicTable.php:91 +#: cube/src/Elementor/Widgets/JustifiedList.php:87 +msgid "Gris clair" +msgstr "" + +#: cube/src/Elementor/Widgets/TextBlock.php:67 +msgid "H1" +msgstr "" + +#: cube/src/Elementor/Widgets/TextBlock.php:68 +msgid "H2 (Défaut)" +msgstr "" + +#: cube/src/Elementor/Widgets/TextBlock.php:69 +msgid "H3" +msgstr "" + +#: cube/src/Elementor/Widgets/HeaderSlideshow.php:22 +#: cube/src/Elementor/Widgets/HeaderSlideshow.php:62 +msgid "Header Slideshow" +msgstr "" + +#: cube/src/Elementor/Widgets/TextBlock.php:133 +msgid "Hide title decoration" +msgstr "" + +#: cube/src/Elementor/Widgets/Timeline.php:76 +msgid "Highlight" +msgstr "" + +#. Author URI of the plugin +msgid "https://www.cubedesigners.com" +msgstr "" + +#: cube/src/Elementor/Widgets/LinkCarousel.php:88 +#: cube/src/Elementor/Widgets/Timeline.php:83 +#: cube/src/Elementor/Widgets/TimelineHorizontal.php:76 +msgid "Image" +msgstr "" + +#: cube/src/Elementor/Widgets/Timeline.php:71 +#: cube/src/Elementor/Widgets/TimelineHorizontal.php:71 +msgid "Items" +msgstr "" + +#: cube/src/Elementor/Widgets/Form.php:75 +msgid "L'adresse e-mail de destination" +msgstr "" + +#: cube/src/Elementor/Widgets/NewsBanner.php:50 +msgid "Latest News Banner" +msgstr "" + +#: cube/src/Elementor/Widgets/BackgroundImage.php:88 +msgid "Lien" +msgstr "" + +#: cube/src/Elementor/Widgets/DynamicTable.php:73 +msgid "Lignes du tableau" +msgstr "" + +#: cube/src/Elementor/Widgets/LinkCarousel.php:21 +#: cube/src/Elementor/Widgets/LinkCarousel.php:63 +msgid "Link Carousel" +msgstr "" + +#: cube/src/Elementor/Widgets/LinkCarousel.php:82 +msgid "Link URL" +msgstr "" + +#: cube/src/Elementor/Widgets/LinkCarousel.php:70 +msgid "Links" +msgstr "" + +#: cube/src/Elementor/Widgets/FancyList.php:20 +msgid "Liste Formatée" +msgstr "" + +#: cube/src/Elementor/Widgets/FancyList.php:56 +#: cube/src/Elementor/Widgets/FancyList.php:93 +msgid "Liste formatée" +msgstr "" + +#. Description of the plugin +msgid "Loads all custom functionality such as new post types and taxonomies." +msgstr "" + +#: cube/src/Elementor/Widgets/TextBlock.php:200 +msgid "Maximum Width" +msgstr "" + +#: cube/src/Elementor/Widgets/Form.php:86 +msgid "Message après la soumission réussie" +msgstr "" + +#: cube/src/Elementor/Widgets/HeaderSlideshow.php:98 +msgid "Mobile Images (portrait orientation)" +msgstr "" + +#: cube/src/Elementor/Widgets/TestimonialCarousel.php:74 +msgid "Name" +msgstr "" + +#: cube/src/Elementor/Widgets/NewsBanner.php:19 +msgid "News Banner" +msgstr "" + +#: cube/src/Elementor/Widgets/PeopleGrid.php:72 +msgid "Nom" +msgstr "" + +#: cube/src/Elementor/Widgets/TestimonialCarousel.php:87 +msgid "Notes" +msgstr "" + +#: cube/src/Elementor/Widgets/Form.php:88 +msgid "Nous vous remercions pour votre demande." +msgstr "" + +#: cube/src/Elementor/Widgets/ScientificNews.php:68 +msgid "Number of posts to display" +msgstr "" + +#: cube/src/Elementor/Widgets/PeopleGrid.php:58 +msgid "People" +msgstr "" + +#: cube/src/Elementor/Widgets/PeopleGrid.php:20 +#: cube/src/Elementor/Widgets/PeopleGrid.php:51 +msgid "People Grid" +msgstr "" + +#: cube/src/Elementor/Widgets/PeopleGrid.php:63 +#: cube/src/Elementor/Widgets/PhotoGrid.php:63 +msgid "Photo" +msgstr "" + +#: cube/src/Elementor/Widgets/PhotoGrid.php:20 +#: cube/src/Elementor/Widgets/PhotoGrid.php:51 +msgid "Photo Grid" +msgstr "" + +#: cube/src/Elementor/Widgets/PhotoGrid.php:58 +msgid "Photos" +msgstr "" + +#: cube/src/Elementor/Widgets/PictoGrid.php:20 +#: cube/src/Elementor/Widgets/PictoGrid.php:51 +msgid "Picto Grid" +msgstr "" + +#: cube/src/Elementor/Widgets/PictoGrid.php:63 +msgid "Pictogramme" +msgstr "" + +#: cube/src/Elementor/Widgets/PictoGrid.php:58 +msgid "Pictogrammes" +msgstr "" + +#: cube/src/Elementor/Widgets/TextBlock.php:225 +msgid "Positionnement de bloc" +msgstr "" + +#: cube/src/Elementor/Widgets/ScientificNews.php:21 +msgid "Scientific News" +msgstr "" + +#: cube/src/Elementor/Widgets/ScientificNews.php:52 +msgid "Scientific News Posts" +msgstr "" + +#: cube/src/Elementor/Widgets/_Base.php:30 +msgid "Spacing" +msgstr "" + +#: cube/src/Elementor/Widgets/DynamicTable.php:96 +msgid "Style de police" +msgstr "" + +#: cube/src/Elementor/Widgets/Form.php:66 +msgid "Sélectionner" +msgstr "" + +#: cube/src/Elementor/Widgets/DynamicTable.php:20 +#: cube/src/Elementor/Widgets/DynamicTable.php:56 +msgid "Tableau de comparison" +msgstr "" + +#: cube/src/Elementor/Widgets/TestimonialCarousel.php:81 +msgid "Testimonial" +msgstr "" + +#: cube/src/Elementor/Widgets/TestimonialCarousel.php:20 +#: cube/src/Elementor/Widgets/TestimonialCarousel.php:62 +msgid "Testimonial Carousel" +msgstr "" + +#: cube/src/Elementor/Widgets/TestimonialCarousel.php:69 +msgid "Testimonials" +msgstr "" + +#: cube/src/Elementor/Widgets/NewsBanner.php:57 +msgid "" +"This widget will display the most recent news post. If no published news " +"posts are available, nothing will be shown." +msgstr "" + +#: cube/src/Elementor/Widgets/ScientificNews.php:59 +msgid "This widget will display the most recent scientific news posts." +msgstr "" + +#: cube/src/Elementor/Widgets/LinkCarousel.php:75 +#: cube/src/Elementor/Widgets/Timeline.php:99 +#: cube/src/Elementor/Widgets/TimelineHorizontal.php:84 +msgid "Title" +msgstr "" + +#: cube/src/Elementor/Widgets/TextBlock.php:144 +msgid "Title Colour" +msgstr "" + +#: cube/src/Elementor/Widgets/JustifiedList.php:68 +#: cube/src/Elementor/Widgets/PictoGrid.php:72 +msgid "Titre" +msgstr "" + +#: cube/src/Elementor/Widgets/DynamicTable.php:66 +msgid "" +"Titre 1\n" +"Titre 2\n" +"Titre 3\n" +"..." +msgstr "" + +#: cube/src/Elementor/Widgets/FancyList.php:64 +msgid "Titre de liste" +msgstr "" + +#: cube/src/Elementor/Setup.php:189 +msgid "Top" +msgstr "" + +#: cube/src/Elementor/Widgets/BackgroundImage.php:75 +msgid "Top Center" +msgstr "" + +#: cube/src/Elementor/Widgets/BackgroundImage.php:74 +msgid "Top Left" +msgstr "" + +#: cube/src/Elementor/Setup.php:104 cube/src/Elementor/Widgets/_Base.php:59 +msgid "Top Padding" +msgstr "" + +#: cube/src/Elementor/Widgets/BackgroundImage.php:76 +msgid "Top Right" +msgstr "" + +#: cube/src/Elementor/Widgets/JustifiedList.php:75 +msgid "Valeur" +msgstr "" + +#: cube/src/Elementor/Widgets/DynamicTable.php:79 +msgid "" +"Valeur 1\n" +"Valeur 2\n" +"Valeur 3\n" +"..." +msgstr "" + +#: cube/src/Elementor/Setup.php:186 +msgid "Vertical Alignment" +msgstr "" + +#: cube/src/Elementor/Setup.php:94 +msgid "Violet foncé" +msgstr "" + +#: cube/src/Elementor/Widgets/NewsBanner.php:89 +msgid "Voir toute l'actualité" +msgstr "" + +#: cube/src/Elementor/Widgets/Timeline.php:92 +msgid "Year" +msgstr "" + +#: cube/src/Elementor/Widgets/FancyList.php:73 +#: cube/src/Elementor/Widgets/JustifiedList.php:63 +msgid "Éléments" +msgstr "" diff --git a/wp-content/mu-plugins/cube/src/Common/Setup.php b/wp-content/mu-plugins/cube/src/Common/Setup.php index 155790d..14a09b9 100644 --- a/wp-content/mu-plugins/cube/src/Common/Setup.php +++ b/wp-content/mu-plugins/cube/src/Common/Setup.php @@ -9,6 +9,13 @@ class Setup { */ public function register() { + add_action('init', function() { + // Load translations for the 'cube' textdomain + // Note: this mu-plugin also contains translations from the 'ccv' textdomain but these are + // managed from the CCV Theme bundle in Loco Translate. See the loco.xml in the theme directory + load_muplugin_textdomain('cube', 'cube/languages'); + }); + } } diff --git a/wp-content/mu-plugins/cube/src/Elementor/Widgets/BackgroundImage.php b/wp-content/mu-plugins/cube/src/Elementor/Widgets/BackgroundImage.php index a46dc85..73280f2 100644 --- a/wp-content/mu-plugins/cube/src/Elementor/Widgets/BackgroundImage.php +++ b/wp-content/mu-plugins/cube/src/Elementor/Widgets/BackgroundImage.php @@ -117,7 +117,7 @@ class BackgroundImage extends _Base { if (is_numeric($image['id'])) { $meta = wp_get_attachment_metadata($image['id']); - $ratio = $meta['height'] / $meta['width'] * 100 . '%'; + $ratio = $meta['width'] > 0 ? $meta['height'] / $meta['width'] * 100 . '%' : '80%'; } else { // No image set, use fallback $image['url'] = Utils::get_placeholder_image_src(); diff --git a/wp-content/mu-plugins/cube/src/Forms/Builder/Fields/Binary.php b/wp-content/mu-plugins/cube/src/Forms/Builder/Fields/Binary.php index 3cfc603..a3a2874 100644 --- a/wp-content/mu-plugins/cube/src/Forms/Builder/Fields/Binary.php +++ b/wp-content/mu-plugins/cube/src/Forms/Builder/Fields/Binary.php @@ -8,8 +8,8 @@ class Binary extends Radio public function render($settings) { $settings['options'] = [ - __('Oui', 'cube'), - __('Non', 'cube'), + __('Oui', 'ccv'), + __('Non', 'ccv'), ]; return parent::render($settings); diff --git a/wp-content/mu-plugins/cube/src/Forms/Builder/Fields/File.php b/wp-content/mu-plugins/cube/src/Forms/Builder/Fields/File.php index f5d03f4..89f089e 100644 --- a/wp-content/mu-plugins/cube/src/Forms/Builder/Fields/File.php +++ b/wp-content/mu-plugins/cube/src/Forms/Builder/Fields/File.php @@ -26,7 +26,7 @@ class File extends Field $res = 'get_name() .'">'. $this->get_title() .''; diff --git a/wp-content/mu-plugins/cube/src/Forms/Training.php b/wp-content/mu-plugins/cube/src/Forms/Training.php index 9756be1..ddbea4d 100644 --- a/wp-content/mu-plugins/cube/src/Forms/Training.php +++ b/wp-content/mu-plugins/cube/src/Forms/Training.php @@ -23,7 +23,7 @@ class Training extends Base Text::field('first-name', __('Prénom', 'ccv')), Date::field('birth-date', __('Date de naissance', 'ccv')), Text::field('phone', __('Tel', 'ccv')), - Email::field('email', __('Mail', 'ccv')), + Email::field('email', __('Email', 'ccv')), Text::field('country-residence', __('Pays de résidence', 'ccv')), Text::field('country-training', __('Pays de formation chirurgicale', 'ccv')), Radio::field('speciality', __('Spécialité chirurgicale', 'ccv')) diff --git a/wp-content/themes/CCV/app/View/Composers/Title.php b/wp-content/themes/CCV/app/View/Composers/Title.php index d31cbcb..ac2e3c2 100644 --- a/wp-content/themes/CCV/app/View/Composers/Title.php +++ b/wp-content/themes/CCV/app/View/Composers/Title.php @@ -45,7 +45,7 @@ class Title extends Composer return get_the_title($home); } - return __('Latest Posts', 'sage'); + return __('Articles récents', 'ccv'); } if (is_archive()) { @@ -55,13 +55,13 @@ class Title extends Composer if (is_search()) { /* translators: %s is replaced with the search query */ return sprintf( - __('Search Results for %s', 'sage'), + __('Résultats de recherche pour « %s »', 'ccv'), get_search_query() ); } if (is_404()) { - return __('Not Found', 'sage'); + return __('Page non trouvée', 'ccv'); } return get_the_title(); diff --git a/wp-content/themes/CCV/app/setup.php b/wp-content/themes/CCV/app/setup.php index 05ff883..c5e575d 100755 --- a/wp-content/themes/CCV/app/setup.php +++ b/wp-content/themes/CCV/app/setup.php @@ -80,6 +80,12 @@ add_action('wp_enqueue_scripts', function () { * Theme setup */ add_action('after_setup_theme', function () { + + /** + * Enable translations + */ + load_theme_textdomain('ccv', get_stylesheet_directory() . '/resources/languages'); + /** * Enable features from Soil when plugin is activated * @link https://roots.io/plugins/soil/ @@ -101,8 +107,8 @@ add_action('after_setup_theme', function () { * @link https://developer.wordpress.org/reference/functions/register_nav_menus/ */ register_nav_menus([ - 'primary_navigation' => __('Primary Navigation', 'sage'), - 'cta_navigation' => __('Header Buttons (2 items max)', 'cube') + 'primary_navigation' => __('Navigation primaire', 'ccv'), + 'cta_navigation' => __("Boutons d'en-tête (maximum de 2)", 'ccv') ]); /** diff --git a/wp-content/themes/CCV/functions.php b/wp-content/themes/CCV/functions.php index e2204d9..eb365a4 100644 --- a/wp-content/themes/CCV/functions.php +++ b/wp-content/themes/CCV/functions.php @@ -12,7 +12,7 @@ * @param string $title */ $sage_error = function ($message, $subtitle = '', $title = '') { - $title = $title ?: __('Sage › Error', 'sage'); + $title = $title ?: 'Sage › Error'; $footer = 'roots.io/sage/docs/'; $message = "

{$title}
{$subtitle}

{$message}

{$footer}

"; wp_die($message, $title); @@ -22,14 +22,14 @@ $sage_error = function ($message, $subtitle = '', $title = '') { * Ensure compatible version of PHP is used */ if (version_compare('7.1.3', phpversion(), '>')) { - $sage_error(__('You must be using PHP 7.1.3 or greater.', 'sage'), __('Invalid PHP version', 'sage')); + $sage_error('You must be using PHP 7.1.3 or greater.', 'Invalid PHP version'); } /** * Ensure compatible version of WordPress is used */ if (version_compare('5.2', get_bloginfo('version'), '>')) { - $sage_error(__('You must be using WordPress 5.2 or greater.', 'sage'), __('Invalid WordPress version', 'sage')); + $sage_error('You must be using WordPress 5.2 or greater.', 'Invalid WordPress version'); } /** @@ -37,8 +37,8 @@ if (version_compare('5.2', get_bloginfo('version'), '>')) { */ if (! file_exists($composer = __DIR__ . '/vendor/autoload.php')) { $sage_error( - __('You must run composer install from the Sage directory.', 'sage'), - __('Autoloader not found.', 'sage') + 'You must run composer install from the Sage directory.', + 'Autoloader not found.' ); } require_once $composer; @@ -53,8 +53,8 @@ array_map(function ($file) use ($sage_error) { $file = "app/{$file}.php"; if (! locate_template($file, true, true)) { $sage_error( - sprintf(__('Error locating %s for inclusion.', 'sage'), $file), - __('File not found', 'sage') + sprintf('Error locating %s for inclusion.', $file), + 'File not found' ); } }, ['helpers', 'setup', 'filters', 'admin']); diff --git a/wp-content/themes/CCV/loco.xml b/wp-content/themes/CCV/loco.xml new file mode 100644 index 0000000..092ece1 --- /dev/null +++ b/wp-content/themes/CCV/loco.xml @@ -0,0 +1,64 @@ + + + + + + + + . + cube/src + + + resources/languages + + + + + + node_modules + vendor + cube/vendor + + diff --git a/wp-content/themes/CCV/package.json b/wp-content/themes/CCV/package.json index e7a5f24..19bc0f4 100644 --- a/wp-content/themes/CCV/package.json +++ b/wp-content/themes/CCV/package.json @@ -3,17 +3,22 @@ "scripts": { "build": "cross-env NODE_ENV=development run-s mix", "build:production": "cross-env NODE_ENV=production run-s clean mix", - "start": "cross-env NODE_ENV=development run-s \"mix --watch\"", + "start": "cross-env NODE_ENV=development run-s \"mix -- --watch\"", "hot": "cross-env NODE_ENV=development run-s build mix:hot", "mix": "webpack --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js", "mix:hot": "webpack-dev-server --inline --hot --config=node_modules/laravel-mix/setup/webpack.config.js", "clean": "run-p clean:*", "clean:dist": "rimraf dist", + "clean:cache": "rimraf storage/framework/cache/*.php storage/framework/cache/data/*.php", "clean:views": "rimraf storage/framework/views/*.php", "lint": "run-s -c lint:*", "lint:scripts": "eslint resources/assets/scripts", - "lint:styles": "stylelint \"resources/assets/**/*.{vue,css,sass,scss,sss,less}\"", - "test": "run-s -c lint" + "lint:styles": "stylelint \"resources/assets/**/*.{vue,css,styl,sass,scss,less}\"", + "test": "run-s -c lint", + "translate": "run-s -c translate:*", + "translate:pot": "wp i18n make-pot . ./resources/languages/ccv.pot --ignore-domain --include=\"app,resources/assets,resources/views\"", + "translate:mu": "wp i18n make-pot ../../mu-plugins/cube ../../mu-plugins/cube/languages/cube.pot --ignore-domain --include=\"src\"", + "translate:js": "wp i18n make-json ./resources/languages --no-purge --pretty-print" }, "devDependencies": { "@babel/plugin-syntax-dynamic-import": "^7.2", diff --git a/wp-content/themes/CCV/resources/languages/ccv.pot b/wp-content/themes/CCV/resources/languages/ccv.pot new file mode 100644 index 0000000..63f1848 --- /dev/null +++ b/wp-content/themes/CCV/resources/languages/ccv.pot @@ -0,0 +1,707 @@ +# Copyright (C) 2021 Cubedesigners +# This file is distributed under the . +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: CCV Theme 1.0\n" +"Report-Msgid-Bugs-To: https://wordpress.org/support/theme/CCV\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"POT-Creation-Date: 2021-05-06 13:58+0000\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"X-Generator: Loco https://localise.biz/\n" +"Language: \n" +"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;" + +#: storage/framework/views/e0697311831d1d0957c8ce423efdef4c1be43b78.php:19 +msgid "← Commentaires plus anciens" +msgstr "" + +#: storage/framework/views/23ae7e77232b4a4a1596204d2b2a7fcd3757dfdd.php:162 +msgid "" +"1. Munissez-vous du CD de votre examen (scanner, IRM, etc) et copiez-le sur " +"votre ordinateur. Un dossier avec le nom du CD va être automatiquement " +"généré." +msgstr "" + +#: storage/framework/views/23ae7e77232b4a4a1596204d2b2a7fcd3757dfdd.php:6 +msgid "1. Vos symptômes" +msgstr "" + +#: storage/framework/views/95d1d80ab69dd8a46e69b9d010541f84f22497f3.php:6 +msgid "1. Votre identité" +msgstr "" + +#: storage/framework/views/95d1d80ab69dd8a46e69b9d010541f84f22497f3.php:55 +msgid "2. Domaine d’intervention" +msgstr "" + +#: storage/framework/views/23ae7e77232b4a4a1596204d2b2a7fcd3757dfdd.php:167 +msgid "" +"2. Glissez ce dossier dans la zone ci-dessous. Ou cliquez sur le bouton « " +"Folders and Disks » et sélectionnez le dossier entier correspondant à votre " +"CD." +msgstr "" + +#: storage/framework/views/23ae7e77232b4a4a1596204d2b2a7fcd3757dfdd.php:102 +msgid "2. Vos traitements réalisés" +msgstr "" + +#: storage/framework/views/95d1d80ab69dd8a46e69b9d010541f84f22497f3.php:81 +msgid "3. Type de formation" +msgstr "" + +#: storage/framework/views/23ae7e77232b4a4a1596204d2b2a7fcd3757dfdd.php:184 +msgid "" +"3. Une fois vos images envoyées, la barre de chargement disparait et le " +"descriptif des images apparaît. Le CCV Montpellier aura accès de son côté à " +"vos images." +msgstr "" + +#: storage/framework/views/23ae7e77232b4a4a1596204d2b2a7fcd3757dfdd.php:127 +msgid "3. Votre imagerie" +msgstr "" + +#: storage/framework/views/23ae7e77232b4a4a1596204d2b2a7fcd3757dfdd.php:283 +msgid "4. Vos informations" +msgstr "" + +#: storage/framework/views/23ae7e77232b4a4a1596204d2b2a7fcd3757dfdd.php:189 +msgid "" +"4. Vous pouvez fermer cette fenêtre et terminer de compléter le formulaire " +"de demande d’avis médical." +msgstr "" + +#: storage/framework/views/1165902ef603b384094231fe9f23607049374cb2.php:6 +msgid "Actualité Scientifique" +msgstr "" + +#: resources/views/partials/header.blade.php:6 +#: storage/framework/views/aa8d74b87c3c466ea72288001f5b7d69e3a8097a.php:6 +msgid "Aller à la page d'accueil" +msgstr "" + +#: storage/framework/views/23ae7e77232b4a4a1596204d2b2a7fcd3757dfdd.php:312 +msgid "ans" +msgstr "" + +#: app/View/Composers/Title.php:48 +msgid "Articles récents" +msgstr "" + +#: storage/framework/views/23ae7e77232b4a4a1596204d2b2a7fcd3757dfdd.php:275 +msgid "" +"Aucune demande d’avis ne pourra être étudiée sans imagerie médicale associée." +msgstr "" + +#: ../../mu-plugins/cube/src/Forms/Consultation.php:133 +msgid "Aucune image envoyée" +msgstr "" + +#: ../../mu-plugins/cube/src/Forms/Consultation.php:92 +msgid "Avant-bras droit" +msgstr "" + +#: ../../mu-plugins/cube/src/Forms/Consultation.php:93 +msgid "Avant-bras gauche" +msgstr "" + +#: ../../mu-plugins/cube/src/Forms/Consultation.php:51 +msgid "Avez vous un message (ou une demande) spécifique à nous formuler ?" +msgstr "" + +#: ../../mu-plugins/cube/src/Forms/Consultation.php:85 +msgid "" +"Avez-vous des douleurs dans les bras ou les jambes (sciatiques, cruralgies, " +"névralgies) ?" +msgstr "" + +#: ../../mu-plugins/cube/src/Forms/Consultation.php:107 +msgid "" +"Avez-vous des fourmillements ou une sensation d’engourdissement dans un des " +"membres ? " +msgstr "" + +#: ../../mu-plugins/cube/src/Forms/Consultation.php:110 +msgid "Avez-vous une perte de force importante dans un des membres ?" +msgstr "" + +#: ../../mu-plugins/cube/src/Forms/Consultation.php:96 +msgid "Bas de la jambe droite" +msgstr "" + +#: ../../mu-plugins/cube/src/Forms/Consultation.php:97 +msgid "Bas de la jambe gauche" +msgstr "" + +#: app/setup.php:111 +msgid "Boutons d'en-tête (maximum de 2)" +msgstr "" + +#. Name of the theme +msgid "CCV Theme" +msgstr "" + +#: ../../mu-plugins/cube/src/Forms/Consultation.php:76 +msgid "Cervicales" +msgstr "" + +#: storage/framework/views/95c11b34260f062782e05cb6edb308468a24dcfd.php:6 +msgid "" +"Cette demande nécessite l'emploi de JavaScript qui, soit a été désactivé, " +"soit n'est pas reconnu par votre fureteur." +msgstr "" + +#: storage/framework/views/23ae7e77232b4a4a1596204d2b2a7fcd3757dfdd.php:384 +msgid "Chargement des fichiers" +msgstr "" + +#: storage/framework/views/23ae7e77232b4a4a1596204d2b2a7fcd3757dfdd.php:410 +msgid "Chargement terminé" +msgstr "" + +#: ../../mu-plugins/cube/src/Forms/Training.php:38 +msgid "Chirurgien en activité" +msgstr "" + +#: ../../mu-plugins/cube/src/Forms/Training.php:32 +msgid "Chirurgien orthopédiste avec chirurgie du rachis exclusif" +msgstr "" + +#: ../../mu-plugins/cube/src/Forms/Training.php:33 +msgid "Chirurgien orthopédiste généraliste" +msgstr "" + +#: ../../mu-plugins/cube/src/Forms/Consultation.php:54 +msgid "Chirurgien spécifique" +msgstr "" + +#: storage/framework/views/95d1d80ab69dd8a46e69b9d010541f84f22497f3.php:129 +msgid "" +"Choix des interventions chaque jour parmi les 5 à 12 chirurgies quotidiennes " +"du CCV. Formation théorique plus structurée sur les abords, les indications, " +"la gestion des complications & discussion de dossiers." +msgstr "" + +#: storage/framework/views/23ae7e77232b4a4a1596204d2b2a7fcd3757dfdd.php:267 +msgid "Cochez cette case si vous envoyez vos images par courrier" +msgstr "" + +#: storage/framework/views/23ae7e77232b4a4a1596204d2b2a7fcd3757dfdd.php:207 +msgid "" +"Collez votre lien ci-dessous ainsi que vos identifiant et mot de passe :" +msgstr "" + +#: storage/framework/views/e0697311831d1d0957c8ce423efdef4c1be43b78.php:26 +msgid "Commentaires plus récents →" +msgstr "" + +#: storage/framework/views/e0697311831d1d0957c8ce423efdef4c1be43b78.php:37 +msgid "Comments are closed." +msgstr "" + +#: storage/framework/views/e0697311831d1d0957c8ce423efdef4c1be43b78.php:5 +#, php-format +msgctxt "comments title" +msgid "Une réponse à “%2$s”" +msgid_plural "%1$s réponses à “%2$s”" +msgstr[0] "" +msgstr[1] "" + +#: storage/framework/views/d2dc1b7b2b7a2da728e771a013e823f7ef732306.php:11 +msgid "Contactez-moi" +msgstr "" + +#: ../../mu-plugins/cube/src/Forms/Consultation.php:116 +msgid "Corset ou ceinture lombaire" +msgstr "" + +#. Author of the theme +msgid "Cubedesigners" +msgstr "" + +#. Description of the theme +msgid "Custom theme for the CCV website." +msgstr "" + +#: storage/framework/views/95d1d80ab69dd8a46e69b9d010541f84f22497f3.php:146 +msgid "CV et lettre de motivation exigés." +msgstr "" + +#: ../../mu-plugins/cube/src/Forms/Consultation.php:102 +msgid "Dans la colonne" +msgstr "" + +#: ../../mu-plugins/cube/src/Forms/Consultation.php:103 +msgid "Dans les membres" +msgstr "" + +#: ../../mu-plugins/cube/src/Forms/Training.php:24 +msgid "Date de naissance" +msgstr "" + +#: storage/framework/views/95d1d80ab69dd8a46e69b9d010541f84f22497f3.php:20 +msgid "Date de naissance (JJ/MM/AAAA)" +msgstr "" + +#: ../../mu-plugins/cube/src/Forms/Consultation.php:81 +msgid "Date des premiers symptômes :" +msgstr "" + +#: ../../mu-plugins/cube/src/Forms/Training.php:14 +msgid "Demande de formation" +msgstr "" + +#: ../../mu-plugins/cube/src/Forms/Consultation.php:83 +msgid "Douleurs permanentes depuis (le cas échéant) :" +msgstr "" + +#: storage/framework/views/23ae7e77232b4a4a1596204d2b2a7fcd3757dfdd.php:49 +msgid "Droite" +msgstr "" + +#: storage/framework/views/1165902ef603b384094231fe9f23607049374cb2.php:12 +#: storage/framework/views/30f51a2a665511403a467eaa692091e23b92d865.php:23 +#: storage/framework/views/9da2f20b584252b99268575e2a54276488977177.php:9 +msgid "Désolé, aucun résultat n'a été trouvé" +msgstr "" + +#: ../../mu-plugins/cube/src/Forms/Consultation.php:20 +msgid "E-diagnostic" +msgstr "" + +#: ../../mu-plugins/cube/src/Forms/Consultation.php:44 +#: ../../mu-plugins/cube/src/Forms/Training.php:26 +msgid "Email" +msgstr "" + +#: ../../mu-plugins/cube/src/Forms/Training.php:47 +#: ../../mu-plugins/cube/src/Forms/Training.php:54 +msgid "Entre 20 et 100" +msgstr "" + +#: storage/framework/views/23ae7e77232b4a4a1596204d2b2a7fcd3757dfdd.php:351 +#: storage/framework/views/95d1d80ab69dd8a46e69b9d010541f84f22497f3.php:162 +msgid "Envoi en cours..." +msgstr "" + +#: storage/framework/views/23ae7e77232b4a4a1596204d2b2a7fcd3757dfdd.php:349 +#: storage/framework/views/95d1d80ab69dd8a46e69b9d010541f84f22497f3.php:160 +msgid "Envoyer votre demande" +msgstr "" + +#: storage/framework/views/23ae7e77232b4a4a1596204d2b2a7fcd3757dfdd.php:157 +msgid "Envoyez vos images au CCV Montpellier en vue d’une téléconsultation" +msgstr "" + +#: storage/framework/views/23ae7e77232b4a4a1596204d2b2a7fcd3757dfdd.php:146 +msgid "Envoyez-nous l'ensemble des fichiers contenus sur votre CD :" +msgstr "" + +#: ../../mu-plugins/cube/src/Forms/Base.php:273 +msgid "Erreur d'envoi du message. Veuillez réessayer." +msgstr "" + +#: ../../mu-plugins/cube/src/Forms/Training.php:37 +msgid "Etudiant (interne, fellow)" +msgstr "" + +#: storage/framework/views/95d1d80ab69dd8a46e69b9d010541f84f22497f3.php:88 +msgid "Fellowship au CCV pour une durée variable" +msgstr "" + +#: app/setup.php:152 +msgid "Footer Column 1" +msgstr "" + +#: app/setup.php:156 +msgid "Footer Column 2" +msgstr "" + +#: app/setup.php:160 +msgid "Footer Column 3" +msgstr "" + +#: app/setup.php:164 +msgid "Footer Copyright" +msgstr "" + +#: storage/framework/views/95d1d80ab69dd8a46e69b9d010541f84f22497f3.php:87 +msgid "Formation sur 3 à 5 jours aux côtés des différents chirurgiens du CCV" +msgstr "" + +#: ../../mu-plugins/cube/src/Forms/Contact.php:10 +msgid "Formulaire de contact" +msgstr "" + +#: storage/framework/views/23ae7e77232b4a4a1596204d2b2a7fcd3757dfdd.php:50 +msgid "Gauche" +msgstr "" + +#: ../../mu-plugins/cube/src/Forms/Consultation.php:94 +msgid "Haut de la jambe droite" +msgstr "" + +#: ../../mu-plugins/cube/src/Forms/Consultation.php:95 +msgid "Haut de la jambe gauche" +msgstr "" + +#: ../../mu-plugins/cube/src/Forms/Consultation.php:90 +msgid "Haut du bras droit" +msgstr "" + +#: ../../mu-plugins/cube/src/Forms/Consultation.php:91 +msgid "Haut du bras gauche" +msgstr "" + +#. Author URI of the theme +msgid "https://www.cubedesigners.com/" +msgstr "" + +#: ../../mu-plugins/cube/src/Forms/Consultation.php:71 +msgid "ID sur le NAS" +msgstr "" + +#: ../../mu-plugins/cube/src/Forms/Consultation.php:65 +msgid "Imagerie" +msgstr "" + +#: ../../mu-plugins/cube/src/Forms/Consultation.php:66 +#: storage/framework/views/23ae7e77232b4a4a1596204d2b2a7fcd3757dfdd.php:199 +msgid "Images en ligne" +msgstr "" + +#: ../../mu-plugins/cube/src/Forms/Consultation.php:67 +msgid "Images envoyé par courrier" +msgstr "" + +#: storage/framework/views/23ae7e77232b4a4a1596204d2b2a7fcd3757dfdd.php:249 +msgid "Images envoyées par courrier" +msgstr "" + +#: storage/framework/views/23ae7e77232b4a4a1596204d2b2a7fcd3757dfdd.php:138 +msgid "Images sur CD (Purview)" +msgstr "" + +#: storage/framework/views/23ae7e77232b4a4a1596204d2b2a7fcd3757dfdd.php:235 +msgid "Images téléchargées :" +msgstr "" + +#: ../../mu-plugins/cube/src/Forms/Consultation.php:138 +#: storage/framework/views/23ae7e77232b4a4a1596204d2b2a7fcd3757dfdd.php:220 +msgid "Images téléversées depuis portable" +msgstr "" + +#: ../../mu-plugins/cube/src/Forms/Consultation.php:114 +msgid "" +"Indiquez ici les médicaments que vous avez pris pour vos douleurs (le cas " +"échéant)" +msgstr "" + +#: ../../mu-plugins/cube/src/Forms/Consultation.php:119 +msgid "" +"Indiquez ici vos précédentes chirurgies de la colonne et leurs dates (le cas " +"échéant)" +msgstr "" + +#: ../../mu-plugins/cube/src/Forms/Consultation.php:118 +msgid "Infiltration ou thermocoagulation" +msgstr "" + +#: storage/framework/views/95d1d80ab69dd8a46e69b9d010541f84f22497f3.php:112 +msgid "" +"Interventions aux côtés du chirurgien et discussion technique de dossier, " +"indications, trucs et astuces opératoires entre les interventions." +msgstr "" + +#: storage/framework/views/23ae7e77232b4a4a1596204d2b2a7fcd3757dfdd.php:130 +msgid "" +"IRM, Scanner, Radiographies, faites-nous parvenir vos imageries les plus " +"récentes en utilisant l'une des méthodes suivantes :" +msgstr "" + +#: storage/framework/views/23ae7e77232b4a4a1596204d2b2a7fcd3757dfdd.php:322 +msgid "J'envoie ma demande à l'équipe du CCV" +msgstr "" + +#: storage/framework/views/23ae7e77232b4a4a1596204d2b2a7fcd3757dfdd.php:8 +msgid "JJ/MM/AAAA" +msgstr "" + +#: ../../mu-plugins/cube/src/Forms/Training.php:62 +msgid "Joindre vos documents" +msgstr "" + +#: ../../mu-plugins/cube/src/Forms/Consultation.php:115 +msgid "Kinésithérapie ou ostéopathie" +msgstr "" + +#: ../../mu-plugins/cube/src/Forms/Consultation.php:100 +msgid "La douleur principale est-elle ?" +msgstr "" + +#: storage/framework/views/31c60973002de04923364eaf7e072a3616cf3fd5.php:3 +msgctxt "label" +msgid "Rechercher :" +msgstr "" + +#: storage/framework/views/23ae7e77232b4a4a1596204d2b2a7fcd3757dfdd.php:170 +msgid "Le téléchargement des images se fait automatiquement." +msgstr "" + +#: ../../mu-plugins/cube/src/Forms/Consultation.php:104 +msgid "Les deux" +msgstr "" + +#: storage/framework/views/23ae7e77232b4a4a1596204d2b2a7fcd3757dfdd.php:175 +msgid "" +"Les fichiers de scanner et IRM comportent souvent de nombreuses images et le " +"téléchargement peut prendre plusieurs minutes, c’est normal." +msgstr "" + +#: resources/views/partials/content-scientific_news.blade.php:34 +#: resources/views/partials/content.blade.php:25 +#: storage/framework/views/573ed32df26692b4935ea34b0130904032d35d61.php:26 +#: storage/framework/views/c3c7ccd2f03fbe80640cee086051311d979dda72.php:35 +msgid "Lire la suite" +msgstr "" + +#: ../../mu-plugins/cube/src/Forms/Consultation.php:77 +msgid "Lombaires" +msgstr "" + +#: ../../mu-plugins/cube/src/Forms/Training.php:46 +#: ../../mu-plugins/cube/src/Forms/Training.php:53 +msgid "Moins de 20 chirurgies" +msgstr "" + +#: app/setup.php:110 +msgid "Navigation primaire" +msgstr "" + +#: ../../mu-plugins/cube/src/Forms/Training.php:31 +msgid "Neurochirurgien" +msgstr "" + +#: ../../mu-plugins/cube/src/Forms/Consultation.php:38 +#: ../../mu-plugins/cube/src/Forms/Contact.php:16 +#: ../../mu-plugins/cube/src/Forms/Training.php:22 +msgctxt "Nom de famille" +msgid "Nom" +msgstr "" + +#: ../../mu-plugins/cube/src/Forms/Builder/Fields/Binary.php:12 +msgid "Non" +msgstr "" + +#: storage/framework/views/23ae7e77232b4a4a1596204d2b2a7fcd3757dfdd.php:325 +msgid "ou je souhaite l'envoyer à un chirurgien spécifique :" +msgstr "" + +#: storage/framework/views/23ae7e77232b4a4a1596204d2b2a7fcd3757dfdd.php:321 +#: ../../mu-plugins/cube/src/Forms/Builder/Fields/Binary.php:11 +msgid "Oui" +msgstr "" + +#: app/View/Composers/Title.php:64 +msgid "Page non trouvée" +msgstr "" + +#: storage/framework/views/3cb18037d9ec3579525d2aa4a19348b02b80d433.php:2 +msgid "Pages :" +msgstr "" + +#: ../../mu-plugins/cube/src/Forms/Training.php:61 +msgid "Par quel type de formation au CCV Montpellier êtes-vous intéressé ?" +msgstr "" + +#: storage/framework/views/23ae7e77232b4a4a1596204d2b2a7fcd3757dfdd.php:151 +#: storage/framework/views/23ae7e77232b4a4a1596204d2b2a7fcd3757dfdd.php:243 +#: storage/framework/views/23ae7e77232b4a4a1596204d2b2a7fcd3757dfdd.php:408 +msgid "Parcourir" +msgstr "" + +#: ../../mu-plugins/cube/src/Forms/Training.php:45 +#: ../../mu-plugins/cube/src/Forms/Training.php:52 +msgid "Pas d'expérience" +msgstr "" + +#: ../../mu-plugins/cube/src/Forms/Consultation.php:42 +msgid "Pays" +msgstr "" + +#: ../../mu-plugins/cube/src/Forms/Training.php:28 +msgid "Pays de formation chirurgicale" +msgstr "" + +#: ../../mu-plugins/cube/src/Forms/Training.php:27 +msgid "Pays de résidence" +msgstr "" + +#: storage/framework/views/31c60973002de04923364eaf7e072a3616cf3fd5.php:4 +msgctxt "placeholder" +msgid "Rechercher …" +msgstr "" + +#: ../../mu-plugins/cube/src/Forms/Training.php:48 +#: ../../mu-plugins/cube/src/Forms/Training.php:55 +msgid "Plus de 100 chirurgies" +msgstr "" + +#: storage/framework/views/23ae7e77232b4a4a1596204d2b2a7fcd3757dfdd.php:228 +msgid "" +"Prenez vos images en photo et envoyez-les directement depuis votre téléphone " +":" +msgstr "" + +#: ../../mu-plugins/cube/src/Forms/Consultation.php:74 +msgid "Problème principal" +msgstr "" + +#: ../../mu-plugins/cube/src/Forms/Consultation.php:40 +msgid "Profession" +msgstr "" + +#: ../../mu-plugins/cube/src/Forms/Consultation.php:39 +#: ../../mu-plugins/cube/src/Forms/Contact.php:17 +#: ../../mu-plugins/cube/src/Forms/Training.php:23 +msgid "Prénom" +msgstr "" + +#: storage/framework/views/aed6d38ed8fbe9d9ba614666106bb65370261571.php:12 +msgid "Publié par" +msgstr "" + +#: ../../mu-plugins/cube/src/Forms/Training.php:43 +msgid "Quel niveau d'expertise avez-vous dans ce domaine ?" +msgstr "" + +#: ../../mu-plugins/cube/src/Forms/Training.php:50 +msgid "Quel niveau d’expertise avez-vous dans la chirurgie de la scoliose ?" +msgstr "" + +#: resources/views/partials/content-single-scientific_news.blade.php:34 +#: storage/framework/views/aed6d38ed8fbe9d9ba614666106bb65370261571.php:36 +msgid "Retour" +msgstr "" + +#: resources/views/partials/content-single.blade.php:18 +#: storage/framework/views/dfbbe2e2c43588ed8148e5eb78b257f2c06d2b02.php:19 +msgid "Retour aux actualités" +msgstr "" + +#. %s is replaced with the search query +#: app/View/Composers/Title.php:58 +#, php-format +msgid "Résultats de recherche pour « %s »" +msgstr "" + +#: ../../mu-plugins/cube/src/Forms/Consultation.php:78 +msgid "Scoliose" +msgstr "" + +#: ../../mu-plugins/cube/src/Forms/Consultation.php:45 +msgid "Sexe" +msgstr "" + +#: ../../mu-plugins/cube/src/Forms/Consultation.php:48 +msgctxt "Sexe (F)" +msgid "F" +msgstr "" + +#: ../../mu-plugins/cube/src/Forms/Consultation.php:47 +msgctxt "Sexe (M)" +msgid "M" +msgstr "" + +#: ../../mu-plugins/cube/src/Forms/Consultation.php:108 +#: ../../mu-plugins/cube/src/Forms/Consultation.php:111 +msgid "Si oui depuis quand ?" +msgstr "" + +#: ../../mu-plugins/cube/src/Forms/Consultation.php:87 +msgid "Si oui, cochez les membres concernés :" +msgstr "" + +#: ../../mu-plugins/cube/src/Forms/Training.php:29 +msgid "Spécialité chirurgicale" +msgstr "" + +#: ../../mu-plugins/cube/src/Forms/Training.php:35 +msgid "Statut" +msgstr "" + +#: storage/framework/views/31c60973002de04923364eaf7e072a3616cf3fd5.php:7 +msgctxt "submit button" +msgid "Rechercher" +msgstr "" + +#: ../../mu-plugins/cube/src/Forms/Consultation.php:117 +msgid "Séjour en hospitalisation" +msgstr "" + +#: storage/framework/views/23ae7e77232b4a4a1596204d2b2a7fcd3757dfdd.php:340 +msgid "Sélectionner" +msgstr "" + +#: ../../mu-plugins/cube/src/Forms/Consultation.php:43 +#: ../../mu-plugins/cube/src/Forms/Training.php:25 +msgid "Tel" +msgstr "" + +#: ../../mu-plugins/cube/src/Forms/Contact.php:18 +msgid "Téléphone" +msgstr "" + +#: ../../mu-plugins/cube/src/Forms/Base.php:197 +#: ../../mu-plugins/cube/src/Forms/Base.php:213 +msgid "Une erreur est survenue. Veuillez réessayer." +msgstr "" + +#: ../../mu-plugins/cube/src/Forms/Consultation.php:41 +msgid "Ville (département)" +msgstr "" + +#. Text used for radio values and labels +#: storage/framework/views/95d1d80ab69dd8a46e69b9d010541f84f22497f3.php:86 +msgid "Visite ponctuelle sur 1 journée avec 2 à 5 interventions" +msgstr "" + +#: storage/framework/views/23ae7e77232b4a4a1596204d2b2a7fcd3757dfdd.php:142 +msgid "Vos images sont sur un CD ?" +msgstr "" + +#: storage/framework/views/23ae7e77232b4a4a1596204d2b2a7fcd3757dfdd.php:203 +msgid "Vous avez reçu un lien pour consulter vos images en ligne ?" +msgstr "" + +#: storage/framework/views/23ae7e77232b4a4a1596204d2b2a7fcd3757dfdd.php:253 +msgid "Vous pouvez aussi nous envoyer vos images par courrier :" +msgstr "" + +#: storage/framework/views/23ae7e77232b4a4a1596204d2b2a7fcd3757dfdd.php:224 +msgid "Vous remplissez cette demande depuis votre téléphone ?" +msgstr "" + +#: ../../mu-plugins/cube/src/Forms/Builder/Fields/File.php:29 +msgid "{count} fichiers sélectionnés" +msgstr "" + +#: ../../mu-plugins/cube/src/Forms/Consultation.php:50 +msgid "Âge :" +msgstr "" + +#: storage/framework/views/95d1d80ab69dd8a46e69b9d010541f84f22497f3.php:60 +msgid "" +"Êtes-vous intéressé principalement par la chirurgie lombaire par voie " +"antérieure (TDR & ALIF) ?" +msgstr "" + +#: storage/framework/views/95d1d80ab69dd8a46e69b9d010541f84f22497f3.php:68 +msgid "" +"Êtes-vous intéressé principalement par la chirurgie percutanée de la " +"scoliose avec pré-implantation scanner ?" +msgstr "" diff --git a/wp-content/themes/CCV/resources/views/archive-scientific_news.blade.php b/wp-content/themes/CCV/resources/views/archive-scientific_news.blade.php index a8f71e1..c31b25b 100644 --- a/wp-content/themes/CCV/resources/views/archive-scientific_news.blade.php +++ b/wp-content/themes/CCV/resources/views/archive-scientific_news.blade.php @@ -5,13 +5,13 @@
-

{{ __('Actualité Scientifique') }}

+

{{ __('Actualité Scientifique', 'ccv') }}

@if (! have_posts()) @alert(['type' => 'warning']) - {{ __('Sorry, no results were found.', 'sage') }} + {{ __("Désolé, aucun résultat n'a été trouvé", 'ccv') }} @endalert {!! get_search_form(false) !!} diff --git a/wp-content/themes/CCV/resources/views/forms/search.blade.php b/wp-content/themes/CCV/resources/views/forms/search.blade.php index b4ab242..bd2e7dc 100644 --- a/wp-content/themes/CCV/resources/views/forms/search.blade.php +++ b/wp-content/themes/CCV/resources/views/forms/search.blade.php @@ -1,8 +1,8 @@ diff --git a/wp-content/themes/CCV/resources/views/index.blade.php b/wp-content/themes/CCV/resources/views/index.blade.php index 25b6a53..59003cd 100644 --- a/wp-content/themes/CCV/resources/views/index.blade.php +++ b/wp-content/themes/CCV/resources/views/index.blade.php @@ -22,7 +22,7 @@ @if (! have_posts()) @alert(['type' => 'warning']) - {{ __('Sorry, no results were found.', 'sage') }} + {{ __("Désolé, aucun résultat n'a été trouvé", 'ccv') }} @endalert {!! get_search_form(false) !!} diff --git a/wp-content/themes/CCV/resources/views/partials/comments.blade.php b/wp-content/themes/CCV/resources/views/partials/comments.blade.php index e458975..ebc2080 100644 --- a/wp-content/themes/CCV/resources/views/partials/comments.blade.php +++ b/wp-content/themes/CCV/resources/views/partials/comments.blade.php @@ -2,7 +2,7 @@
@if (have_comments())

- {!! sprintf(_nx('One response to “%2$s”', '%1$s responses to “%2$s”', get_comments_number(), 'comments title', 'sage'), number_format_i18n(get_comments_number()), '' . get_the_title() . '') !!} + {!! sprintf(_nx('Une réponse à “%2$s”', '%1$s réponses à “%2$s”', get_comments_number(), 'comments title', 'ccv'), number_format_i18n(get_comments_number()), '' . get_the_title() . '') !!}

    @@ -14,13 +14,13 @@
      @if (get_previous_comments_link()) @endif @if (get_next_comments_link()) @endif
    @@ -30,7 +30,7 @@ @if (! comments_open() && get_comments_number() != '0' && post_type_supports(get_post_type(), 'comments')) @alert - {{ __('Comments are closed.', 'sage') }} + {{ __('Comments are closed.', 'ccv') }} @endalert @endif diff --git a/wp-content/themes/CCV/resources/views/partials/content-page.blade.php b/wp-content/themes/CCV/resources/views/partials/content-page.blade.php index 41e050a..869d24d 100644 --- a/wp-content/themes/CCV/resources/views/partials/content-page.blade.php +++ b/wp-content/themes/CCV/resources/views/partials/content-page.blade.php @@ -1,2 +1,2 @@ @php(the_content()) -{!! wp_link_pages(['echo' => 0, 'before' => '']) !!} +{!! wp_link_pages(['echo' => 0, 'before' => '']) !!} diff --git a/wp-content/themes/CCV/resources/views/partials/content-scientific_news.blade.php b/wp-content/themes/CCV/resources/views/partials/content-scientific_news.blade.php index bb365a4..380760b 100644 --- a/wp-content/themes/CCV/resources/views/partials/content-scientific_news.blade.php +++ b/wp-content/themes/CCV/resources/views/partials/content-scientific_news.blade.php @@ -31,7 +31,7 @@

    @svg('arrow', 'h-3 mr-2 fill-current') - +

    diff --git a/wp-content/themes/CCV/resources/views/partials/content-single-scientific_news.blade.php b/wp-content/themes/CCV/resources/views/partials/content-single-scientific_news.blade.php index 9b85275..65f6602 100644 --- a/wp-content/themes/CCV/resources/views/partials/content-single-scientific_news.blade.php +++ b/wp-content/themes/CCV/resources/views/partials/content-single-scientific_news.blade.php @@ -9,7 +9,7 @@ style="background-image: url({{ wp_get_attachment_image_url($published_by['photo'], 'medium') }}); max-width: 135px">
    {{-- Image sizer to make square --}}
- {{ __('Publié par') }} + {{ __('Publié par', 'ccv') }}
{{ $published_by['name'] }}
@@ -31,14 +31,14 @@

@svg('arrow', 'h-3 mr-2 fill-current') - +

{{--
- {!! wp_link_pages(['echo' => 0, 'before' => '']) !!} + {!! wp_link_pages(['echo' => 0, 'before' => '']) !!}
--}} diff --git a/wp-content/themes/CCV/resources/views/partials/content-single.blade.php b/wp-content/themes/CCV/resources/views/partials/content-single.blade.php index 71a4e7c..aed3236 100644 --- a/wp-content/themes/CCV/resources/views/partials/content-single.blade.php +++ b/wp-content/themes/CCV/resources/views/partials/content-single.blade.php @@ -15,14 +15,14 @@

@svg('arrow', 'h-3 mr-2 fill-current') - +

{{--
- {!! wp_link_pages(['echo' => 0, 'before' => '']) !!} + {!! wp_link_pages(['echo' => 0, 'before' => '']) !!}
--}} diff --git a/wp-content/themes/CCV/resources/views/partials/content.blade.php b/wp-content/themes/CCV/resources/views/partials/content.blade.php index bfe141f..f97b3bc 100644 --- a/wp-content/themes/CCV/resources/views/partials/content.blade.php +++ b/wp-content/themes/CCV/resources/views/partials/content.blade.php @@ -22,7 +22,7 @@

@svg('arrow', 'h-3 mr-2 fill-current') - +

diff --git a/wp-content/themes/CCV/resources/views/partials/entry-meta.blade.php b/wp-content/themes/CCV/resources/views/partials/entry-meta.blade.php index aeb8de2..76efdcb 100644 --- a/wp-content/themes/CCV/resources/views/partials/entry-meta.blade.php +++ b/wp-content/themes/CCV/resources/views/partials/entry-meta.blade.php @@ -4,7 +4,7 @@ {{--