Creation de la traduction

.pot/.mo/.po
404.php
This commit is contained in:
2020-04-21 20:35:01 +02:00
parent d94c985d0e
commit 8e3a14ff97
5 changed files with 242 additions and 0 deletions

37
404.php Normal file
View File

@@ -0,0 +1,37 @@
<?php
/**
* The template for displaying 404 pages (not found)
*
* @link https://codex.wordpress.org/Creating_an_Error_404_Page
*
* @package Yuzu
*/
get_header();
?>
<div id="primary" class="content-area">
<main id="main" class="site-main">
<div class="single-page">
<section class="error-404 not-found">
<header class="page-header">
<h1 class="page-title"><?php esc_html_e( 'Oops! That page can&rsquo;t be found.', 'yuzu-child' ); ?></h1>
</header><!-- .page-header -->
<div class="entry-content fullwidth-container">
<p><?php esc_html_e( 'It looks like nothing was found at this location. Maybe try one of the links below or a search?', 'yuzu-child' ); ?></p>
<?php
get_search_form();
?>
</div><!-- .entry-content -->
</section><!-- .error-404 -->
</div>
</main><!-- #main -->
</div><!-- #primary -->
<?php
get_footer();

View File

@@ -1,4 +1,6 @@
<?php
load_theme_textdomain( 'yuzu-child', get_template_directory() . '-child/languages' );
/* enqueue scripts and style from parent theme */
function yuzu_styles() {
//wp_enqueue_style( 'parent', get_template_directory_uri() . '/style.css' );

BIN
languages/fr_FR.mo Normal file

Binary file not shown.

103
languages/fr_FR.po Normal file
View File

@@ -0,0 +1,103 @@
msgid ""
msgstr ""
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"Project-Id-Version: Yuzu Child Theme\n"
"POT-Creation-Date: 2020-04-21 20:14+0200\n"
"PO-Revision-Date: 2020-04-21 20:18+0200\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 2.3\n"
"X-Poedit-Basepath: ../..\n"
"X-Poedit-Flags-xgettext: --add-comments=translators:\n"
"X-Poedit-WPHeader: style.css\n"
"X-Poedit-SourceCharset: UTF-8\n"
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
"_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
"Last-Translator: \n"
"Language: fr_FR\n"
"X-Poedit-SearchPath-0: .\n"
"X-Poedit-SearchPathExcluded-0: *.min.js\n"
#: 404.php:19
msgid "Oops! That page can&rsquo;t be found."
msgstr "Oups ! Cette page est introuvable."
#: 404.php:23
msgid ""
"It looks like nothing was found at this location. Maybe try one of the links "
"below or a search?"
msgstr ""
"Il semble qu'il n'y ait rien par ici, essayez peut-être un des liens ci-"
"dessous ou une recherche ?"
#: header.php:30 header.php:32 header.php:37 single.php:120
msgid "Display"
msgstr "Afficher"
#: header.php:32 header.php:35 header.php:37
msgid "Hide"
msgstr "Cacher"
#: header.php:41
msgid "Display comments"
msgstr "Afficher les commentaires"
#: header.php:41
msgid "Hide comments"
msgstr "Cacher les commentaires"
#: header.php:51
msgid "Skip to content"
msgstr "Aller au contenu"
#: header.php:57
msgid "What are you looking for ... ?"
msgstr "Que cherchez-vous… ?"
#: single.php:86
msgid "Previous Post"
msgstr "Article précédent"
#: single.php:101
msgid "Next Post"
msgstr "Article suivant"
#: single.php:121
msgid " 0 comment"
msgstr " 0 commentaire"
#: single.php:121
msgid " 1 comment"
msgstr " 1 commentaire"
#: single.php:121
msgid " comments"
msgstr " commentaires"
#. Theme Name of the plugin/theme
msgid "Yuzu Child Theme"
msgstr "Thème enfant de Yuzu"
#. Theme URI of the plugin/theme
msgid "https://example.com"
msgstr "https://exemple.com"
#. Description of the plugin/theme
msgid "A child theme for Yuzu."
msgstr "Un thème enfant pour Yuzu."
#. Author of the plugin/theme
#, fuzzy
msgid "Bruno Pesenti"
msgstr "Bruno Pesenti"
#. Author URI of the plugin/theme
msgid "https://example.com/"
msgstr "https://exemple.com/"
#. Template Name of the plugin/theme
msgid "Footer Without Widgets"
msgstr "Footer Sans Widgets"

100
languages/yuzu-child.pot Normal file
View File

@@ -0,0 +1,100 @@
#, fuzzy
msgid ""
msgstr ""
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
"Project-Id-Version: Yuzu Child Theme\n"
"POT-Creation-Date: 2020-04-21 20:14+0200\n"
"PO-Revision-Date: 2020-04-21 20:13+0200\n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 2.3\n"
"X-Poedit-Basepath: ../..\n"
"X-Poedit-Flags-xgettext: --add-comments=translators:\n"
"X-Poedit-WPHeader: style.css\n"
"X-Poedit-SourceCharset: UTF-8\n"
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
"_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
"X-Poedit-SearchPath-0: .\n"
"X-Poedit-SearchPathExcluded-0: *.min.js\n"
#: 404.php:19
msgid "Oops! That page can&rsquo;t be found."
msgstr ""
#: 404.php:23
msgid ""
"It looks like nothing was found at this location. Maybe try one of the links "
"below or a search?"
msgstr ""
#: header.php:30 header.php:32 header.php:37 single.php:120
msgid "Display"
msgstr ""
#: header.php:32 header.php:35 header.php:37
msgid "Hide"
msgstr ""
#: header.php:41
msgid "Display comments"
msgstr ""
#: header.php:41
msgid "Hide comments"
msgstr ""
#: header.php:51
msgid "Skip to content"
msgstr ""
#: header.php:57
msgid "What are you looking for ... ?"
msgstr ""
#: single.php:86
msgid "Previous Post"
msgstr ""
#: single.php:101
msgid "Next Post"
msgstr ""
#: single.php:121
msgid " 0 comment"
msgstr ""
#: single.php:121
msgid " 1 comment"
msgstr ""
#: single.php:121
msgid " comments"
msgstr ""
#. Theme Name of the plugin/theme
msgid "Yuzu Child Theme"
msgstr ""
#. Theme URI of the plugin/theme
msgid "https://example.com"
msgstr ""
#. Description of the plugin/theme
msgid "A child theme for Yuzu."
msgstr ""
#. Author of the plugin/theme
msgid "Bruno Pesenti"
msgstr ""
#. Author URI of the plugin/theme
msgid "https://example.com/"
msgstr ""
#. Template Name of the plugin/theme
msgid "Footer Without Widgets"
msgstr ""