Skip to content
Browse files

Merging master

  • Loading branch information...
2 parents 4f435e7 + 015f34d commit ae4c5e0482e85471971c6bda949ce21b227f5628 @kwight committed
Showing with 1,073 additions and 63 deletions.
  1. +16 −12 content.php
  2. +15 −1 footer.php
  3. +157 −2 functions.php
  4. +16 −11 header.php
  5. +62 −0 js/debut-customizer.js
  6. +301 −0 languages/debut.pot
  7. BIN languages/fr_FR.mo
  8. +410 −0 languages/fr_FR.po
  9. +1 −1 searchform.php
  10. +95 −36 style.css
View
28 content.php
@@ -5,32 +5,36 @@
*/
?>
-<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
+<?php $class = ( has_post_thumbnail() ) ? 'debut-has-thumb' : NULL; ?>
+<article id="post-<?php the_ID(); ?>" <?php post_class( $class ); ?>>
<header class="entry-header">
<?php
- if ( has_post_thumbnail() ) {
- $class = null; ?>
+ if ( has_post_thumbnail() ) { ?>
<a href="<?php the_permalink(); ?>"><?php the_post_thumbnail( 'thumbnail' ); ?></a>
- <?php
-
- } else $class = ' no-thumb'; ?>
-
+ <?php }
+ ?>
- <h1 class="entry-title<?php echo $class; ?>"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'debut' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1>
+ <h1 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'debut' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1>
<?php if ( 'post' == get_post_type() ) : ?>
- <div class="entry-meta<?php echo $class; ?>">
+ <div class="entry-meta">
<?php debut_posted_on(); ?>
</div><!-- .entry-meta -->
<?php endif; ?>
</header><!-- .entry-header -->
- <div class="entry-content<?php echo $class; ?>">
- <?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'debut' ) ); ?>
+ <div class="entry-content">
+ <?php
+ if ( has_excerpt() ) {
+ the_excerpt();
+ } else {
+ the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'debut' ) );
+ }
+ ?>
<?php wp_link_pages( array( 'before' => '<div class="page-links">' . __( 'Pages:', 'debut' ), 'after' => '</div>' ) ); ?>
</div><!-- .entry-content -->
- <footer class="entry-meta<?php echo $class; ?>">
+ <footer class="entry-meta">
<?php if ( 'post' == get_post_type() ) : // Hide category and tag text for pages on Search ?>
<?php
/* translators: used between list items, there is a space after the comma */
View
16 footer.php
@@ -12,7 +12,21 @@
</div><!-- #main -->
<footer id="colophon" class="site-footer" role="contentinfo">
- <?php printf( __( 'Powered by %1$s. %2$s theme by %3$s.', 'debut' ),'<a href="http://wordpress.org/" target="_blank">WordPress</a>', 'Debut', '<a href="http://kwight.ca/" target="_blank">kwight</a>' ); ?>
+ <div class="widget-area footer-left" role="complementary">
+ <?php if ( ! dynamic_sidebar( 'footer-left' ) ) : ?>
+ <?php the_widget( 'WP_Widget_Recent_Posts' ); ?>
+ <?php endif; ?>
+ </div>
+ <div class="widget-area footer-center" role="complementary">
+ <?php if ( ! dynamic_sidebar( 'footer-center' ) ) : ?>
+ <?php the_widget( 'WP_Widget_Recent_Comments' ); ?>
+ <?php endif; ?>
+ </div>
+ <div class="widget-area footer-right" role="complementary">
+ <?php if ( ! dynamic_sidebar( 'footer-right' ) ) : ?>
+ <?php the_widget( 'WP_Widget_Meta' ); ?>
+ <?php endif; ?>
+ </div>
</footer><!-- #colophon .site-footer -->
</div><!-- #page -->
View
159 functions.php
@@ -32,6 +32,9 @@ function debut_setup() {
* to change '_s' to the name of your theme in all the template files
*/
load_theme_textdomain( 'debut', get_template_directory() . '/languages' );
+ $locale = get_locale();
+ $locale_file = get_template_directory() . '/languages/$locale.php';
+ if ( is_readable( $locale_file ) ) require_once( $locale_file );
/**
* Add default posts and comments RSS feed links to head
@@ -44,6 +47,13 @@ function debut_setup() {
add_theme_support( 'post-thumbnails' );
/**
+ * Add support for background color and images
+ */
+ add_theme_support( 'custom-background', array(
+ 'default-color' => 'fff',
+ ) );
+
+ /**
* Add image sizes
*/
add_image_size( 'debut-featured', 646, 363, true ); // 16:9
@@ -80,6 +90,30 @@ function debut_widgets_init() {
'before_title' => '<h1 class="widget-title">',
'after_title' => '</h1>',
) );
+ register_sidebar( array(
+ 'name' => __( 'Footer – Left', 'debut' ),
+ 'id' => 'footer-left',
+ 'before_widget' => '<aside id="%1$s" class="widget %2$s">',
+ 'after_widget' => "</aside>",
+ 'before_title' => '<h1 class="widget-title">',
+ 'after_title' => '</h1>',
+ ) );
+ register_sidebar( array(
+ 'name' => __( 'Footer – Center', 'debut' ),
+ 'id' => 'footer-center',
+ 'before_widget' => '<aside id="%1$s" class="widget %2$s">',
+ 'after_widget' => "</aside>",
+ 'before_title' => '<h1 class="widget-title">',
+ 'after_title' => '</h1>',
+ ) );
+ register_sidebar( array(
+ 'name' => __( 'Footer – Right', 'debut' ),
+ 'id' => 'footer-right',
+ 'before_widget' => '<aside id="%1$s" class="widget %2$s">',
+ 'after_widget' => "</aside>",
+ 'before_title' => '<h1 class="widget-title">',
+ 'after_title' => '</h1>',
+ ) );
}
add_action( 'widgets_init', 'debut_widgets_init' );
@@ -119,6 +153,73 @@ function debut_ie_html5_js() { ?>
/**
+ * Add a menu item for the theme customizer
+ *
+ * @since 2.0
+ */
+function debut_add_customizer_menu_item() {
+ add_theme_page( 'Customize', 'Customize', 'edit_theme_options', 'customize.php' );
+}
+add_action ('admin_menu', 'debut_add_customizer_menu_item');
+
+
+/**
+ * Theme customizer with real-time update
+ * Very helpful: http://ottopress.com/2012/theme-customizer-part-deux-getting-rid-of-options-pages/
+ *
+ * @since 2.0
+ */
+function debut_theme_customizer( $wp_customize ) {
+ $wp_customize->add_setting( 'debut_link_color', array(
+ 'default' => '#ff0000',
+ 'transport' => 'postMessage'
+ ) );
+
+ $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'debut_link_color', array(
+ 'label' => 'Link and Highlight Color',
+ 'section' => 'colors',
+ 'settings' => 'debut_link_color',
+ ) ) );
+
+ // Set site name and description to be previewed in real-time
+ $wp_customize->get_setting('blogname')->transport='postMessage';
+ $wp_customize->get_setting('blogdescription')->transport='postMessage';
+
+ // Enqueue scripts for real-time preview
+ wp_enqueue_script( 'debut-customizer', get_template_directory_uri() . '/js/debut-customizer.js', array( 'jquery' ) );
+
+
+}
+add_action('customize_register', 'debut_theme_customizer');
+
+
+/**
+ * Add CSS in <head> for styles handled by the theme customizer
+ *
+ * @since 1.05
+ */
+function debut_add_customizer_css() { ?>
+ <!-- Debut customizer CSS -->
+ <style>
+ body {
+ border-color: <?php echo get_theme_mod( 'debut_link_color' ); ?>;
+ }
+ a, a:visited {
+ color: <?php echo get_theme_mod( 'debut_link_color' ); ?>;
+ }
+ .main-navigation a:hover,
+ .main-navigation a:focus,
+ .main-navigation a:active,
+ .main-navigation .current-menu-item > a,
+ .debut-lang:hover {
+ background-color: <?php echo get_theme_mod( 'debut_link_color' ); ?>;
+ }
+ </style>
+<?php }
+add_action( 'wp_head', 'debut_add_customizer_css' );
+
+
+/**
* Display navigation to next/previous pages when applicable
*
* @since 1.0
@@ -169,7 +270,7 @@ function debut_posted_on() {
esc_url( get_permalink() ),
esc_attr( get_the_time() ),
esc_attr( get_the_date( 'c' ) ),
- esc_html( get_the_date() ),
+ esc_html( debut_date() ),
esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ),
esc_attr( sprintf( __( 'View all posts by %s', 'debut' ), get_the_author() ) ),
esc_html( get_the_author() )
@@ -249,7 +350,7 @@ function debut_comment( $comment, $args, $depth ) {
if ( $can_edit_post ) { edit_comment_link( __( 'Edit', 'debut' ), '&nbsp;&sdot;&nbsp;' ); } ?>
</div><!-- .perma-reply-edit -->
<h4><?php echo get_comment_author_link(); ?></h4>
- <?php comment_time( 'F j, Y \a\t g:ia' ); ?><br />
+ <?php echo debut_comment_time(); ?><br />
</div><!-- .comment-meta -->
<div id="comment-content-<?php comment_ID(); ?>" class="<?php echo esc_attr( $content_class ); ?>">
<?php if ( $comment->comment_approved == '0' ): ?>
@@ -383,3 +484,57 @@ function debut_enhanced_image_navigation( $url, $id ) {
return $url;
}
add_filter( 'attachment_link', 'debut_enhanced_image_navigation', 10, 2 );
+
+
+/**
+ * WPML language switcher
+ * Called only if WPML plugin is active: http://wpml.org
+ *
+ * @since 1.05
+ */
+function debut_lang_switcher() {
+ define( 'ICL_DONT_LOAD_NAVIGATION_CSS', true );
+ define( 'ICL_DONT_LOAD_LANGUAGE_SELECTOR_CSS', true );
+ define( 'ICL_DONT_LOAD_LANGUAGES_JS', true );
+ $lang = icl_get_languages( 'skip_missing=N' );
+ if ( count( $lang ) > 1 ) {
+ $html = '<div class="debut-lang-switcher">';
+ foreach( $lang as $value ) {
+ if ( 0 == $value[ 'active' ] ) {
+ $html .= '<a class="debut-lang" href="' . $value[ 'url' ] . '">' . $value[ 'language_code' ] . '</a>';
+ }
+ }
+ $html .= '</div><!-- end .debut-lang-switcher -->';
+ return apply_filters( 'debut_lang_switcher_html', $html, $lang );
+ }
+}
+
+
+/**
+ * Output the date with correct formatting per language
+ *
+ * @since 1.05
+ */
+function debut_date() {
+ if ( class_exists( 'Sitepress', false ) && 'fr' == ICL_LANGUAGE_CODE ) {
+ $date = get_the_time( 'j F Y' );
+ } else {
+ $date = get_the_time( 'F j, Y' );
+ }
+ return $date;
+}
+
+
+/**
+ * Output the comment timestamp with correct formatting per language
+ *
+ * @since 1.05
+ */
+function debut_comment_time() {
+ if ( class_exists( 'Sitepress', false ) && 'fr' == ICL_LANGUAGE_CODE ) {
+ $timestamp = comment_time( '\l\e j F Y \à H\hi' );
+ } else {
+ $timestamp = comment_time( 'F j, Y \a\t g:ia' );
+ }
+ return $timestamp;
+}
View
27 header.php
@@ -30,19 +30,23 @@
<body <?php body_class(); ?>>
<div id="page" class="hfeed site">
- <?php
- /**
- * Small width navigation - only on screens 480px wide or smaller
- */
- ?>
- <nav role="navigation" class="site-navigation small-navigation">
- <h1 class="assistive-text"><?php _e( 'Menu', 'debut' ); ?></h1>
- <div class="assistive-text skip-link"><a href="#content" title="<?php esc_attr_e( 'Skip to content', 'debut' ); ?>"><?php _e( 'Skip to content', 'debut' ); ?></a></div>
- <button class="menu-button">Menu</button>
- <?php wp_nav_menu( array( 'theme_location' => 'primary' ) ); ?>
- </nav>
<header id="masthead" class="site-header" role="banner">
+
+ <?php
+ /**
+ * Small width navigation - only on screens 480px wide or smaller
+ */
+ ?>
+ <nav role="navigation" class="site-navigation small-navigation">
+ <h1 class="assistive-text"><?php _e( 'Menu', 'debut' ); ?></h1>
+ <div class="assistive-text skip-link"><a href="#content" title="<?php esc_attr_e( 'Skip to content', 'debut' ); ?>"><?php _e( 'Skip to content', 'debut' ); ?></a></div>
+ <button class="menu-button">Menu</button>
+ <?php wp_nav_menu( array( 'theme_location' => 'primary' ) ); ?>
+ </nav>
+
+ <?php if ( class_exists( 'Sitepress', false ) ) echo debut_lang_switcher(); ?>
+
<hgroup>
<h1 class="site-title"><a href="<?php echo home_url( '/' ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
<h2 class="site-description"><?php bloginfo( 'description' ); ?></h2>
@@ -52,6 +56,7 @@
<?php get_sidebar( 'header' ); ?>
</header><!-- #masthead .site-header -->
+
<nav role="navigation" class="site-navigation main-navigation">
<h1 class="assistive-text"><?php _e( 'Menu', 'debut' ); ?></h1>
<div class="assistive-text skip-link"><a href="#content" title="<?php esc_attr_e( 'Skip to content', 'debut' ); ?>"><?php _e( 'Skip to content', 'debut' ); ?></a></div>
View
62 js/debut-customizer.js
@@ -0,0 +1,62 @@
+jQuery( document ).ready( function( $ ) {
+
+ // Allow real-time updating of the theme customizer
+ wp.customize( 'blogname', function( value ) {
+ value.bind( function( to ) {
+ $( '.site-title a' ).html( to );
+ } );
+ } );
+ wp.customize( 'blogdescription', function( value ) {
+ value.bind( function( to ) {
+ $( '.site-description' ).html( to );
+ } );
+ } );
+ wp.customize( 'debut_link_color', function( value ) {
+ value.bind( function( to ) {
+ $('body').css('border-color', to );
+ $('a').not('.main-navigation .current-menu-item > a').css('color', to );
+ $('.main-navigation .current-menu-item > a').css({
+ 'background-color': to,
+ 'color': '#fff'
+ });
+ $('.menu li > a').hover(
+ function () {
+ $(this).css({
+ 'background-color': to,
+ 'color': '#fff',
+ 'text-shadow': '0 1px 0 rgba(0,0,0,.8)'
+ });
+ },
+ function () {
+ $(this).css({
+ 'background-color': '#efefef',
+ 'color': to,
+ 'text-shadow': 'none'
+ });
+ $('.main-navigation .current-menu-item > a').css({
+ 'background-color': to,
+ 'color': '#fff'
+ });
+ $('.sub-menu li a').css({
+ 'background-color': '#ddd',
+ 'color': to,
+ 'text-shadow': 'none'
+ });
+ }
+ );
+ $('.sub-menu').hover(
+ function () {
+ $(this).prev().css({
+ 'background-color': '#ddd'
+ });
+ },
+ function () {
+ $(this).prev().css({
+ 'background-color': '#efefef'
+ });
+ }
+ );
+ });
+ });
+
+});
View
301 languages/debut.pot
@@ -0,0 +1,301 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: Debut\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2012-10-15 08:36-0500\n"
+"PO-Revision-Date: 2012-10-15 08:36-0500\n"
+"Last-Translator: Kirk Wight <kwight@kwight.ca>\n"
+"Language-Team: <kwight@kwight.ca>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-KeywordsList: __;gettext;gettext_noop;_e;esc_html__;esc_html_e;_n;_x\n"
+"X-Poedit-Basepath: ./\n"
+"X-Poedit-SearchPath-0: ..\n"
+
+#: ../404.php:16
+msgid "Oops! That page can&rsquo;t be found."
+msgstr ""
+
+#: ../404.php:20
+msgid "It looks like nothing was found at this location. Maybe try one of the links below or a search?"
+msgstr ""
+
+#: ../404.php:25
+msgid "Most Used Categories"
+msgstr ""
+
+#: ../404.php:33
+#, php-format
+msgid "Try looking in the monthly archives. %1$s"
+msgstr ""
+
+#: ../archive.php:22
+#, php-format
+msgid "Category Archives: %s"
+msgstr ""
+
+#: ../archive.php:25
+#, php-format
+msgid "Tag Archives: %s"
+msgstr ""
+
+#: ../archive.php:32
+#, php-format
+msgid "Author Archives: %s"
+msgstr ""
+
+#: ../archive.php:40
+#, php-format
+msgid "Daily Archives: %s"
+msgstr ""
+
+#: ../archive.php:43
+#, php-format
+msgid "Monthly Archives: %s"
+msgstr ""
+
+#: ../archive.php:46
+#, php-format
+msgid "Yearly Archives: %s"
+msgstr ""
+
+#: ../archive.php:49
+msgid "Archives"
+msgstr ""
+
+#: ../comments.php:30
+#, php-format
+msgid "One thought on &ldquo;%2$s&rdquo;"
+msgstr ""
+
+#: ../comments.php:49
+msgid "Comment navigation"
+msgstr ""
+
+#: ../comments.php:50
+msgid "&larr; Older Comments"
+msgstr ""
+
+#: ../comments.php:51
+msgid "Newer Comments &rarr;"
+msgstr ""
+
+#: ../comments.php:61
+msgid "Comments are closed."
+msgstr ""
+
+#: ../content-page.php:18
+#: ../content-single.php:20
+#: ../content.php:34
+#: ../image.php:86
+msgid "Pages:"
+msgstr ""
+
+#: ../content-page.php:19
+#: ../content-single.php:58
+#: ../content.php:66
+#: ../functions.php:323
+#: ../image.php:34
+#: ../image.php:100
+msgid "Edit"
+msgstr ""
+
+#: ../content-single.php:26
+#: ../content.php:41
+#: ../content.php:51
+msgid ", "
+msgstr ""
+
+#: ../content-single.php:34
+#, php-format
+msgid "This entry was tagged %2$s. Bookmark the <a href=\"%3$s\" title=\"Permalink to %4$s\" rel=\"bookmark\">permalink</a>."
+msgstr ""
+
+#: ../content-single.php:36
+#, php-format
+msgid "Bookmark the <a href=\"%3$s\" title=\"Permalink to %4$s\" rel=\"bookmark\">permalink</a>."
+msgstr ""
+
+#: ../content-single.php:42
+#, php-format
+msgid "This entry was posted in %1$s and tagged %2$s. Bookmark the <a href=\"%3$s\" title=\"Permalink to %4$s\" rel=\"bookmark\">permalink</a>."
+msgstr ""
+
+#: ../content-single.php:44
+#, php-format
+msgid "This entry was posted in %1$s. Bookmark the <a href=\"%3$s\" title=\"Permalink to %4$s\" rel=\"bookmark\">permalink</a>."
+msgstr ""
+
+#: ../content.php:31
+msgid "Continue reading <span class=\"meta-nav\">&rarr;</span>"
+msgstr ""
+
+#: ../content.php:45
+#, php-format
+msgid "Posted in %1$s"
+msgstr ""
+
+#: ../content.php:56
+#, php-format
+msgid "Tagged %1$s"
+msgstr ""
+
+#: ../content.php:63
+msgid "Leave a comment"
+msgstr ""
+
+#: ../content.php:63
+msgid "1 Comment"
+msgstr ""
+
+#: ../content.php:63
+msgid "% Comments"
+msgstr ""
+
+#: ../footer.php:15
+#, php-format
+msgid "Powered by %1$s. %2$s theme by %3$s."
+msgstr ""
+
+#: ../functions.php:65
+msgid "Primary Menu"
+msgstr ""
+
+#: ../functions.php:78
+msgid "Sidebar"
+msgstr ""
+
+#: ../functions.php:86
+msgid "Header"
+msgstr ""
+
+#: ../functions.php:210
+msgid "Post navigation"
+msgstr ""
+
+#: ../functions.php:214
+msgid "&larr;"
+msgstr ""
+
+#: ../functions.php:215
+msgid "&rarr;"
+msgstr ""
+
+#: ../functions.php:220
+msgid "<span class=\"meta-nav\">&larr;</span> Older posts"
+msgstr ""
+
+#: ../functions.php:224
+msgid "Newer posts <span class=\"meta-nav\">&rarr;</span>"
+msgstr ""
+
+#: ../functions.php:242
+#, php-format
+msgid "Posted on <a href=\"%1$s\" title=\"%2$s\" rel=\"bookmark\"><time class=\"entry-date\" datetime=\"%3$s\" pubdate>%4$s</time></a><span class=\"byline\"> by <span class=\"author vcard\"><a class=\"url fn n\" href=\"%5$s\" title=\"%6$s\" rel=\"author\">%7$s</a></span></span>"
+msgstr ""
+
+#: ../functions.php:248
+#, php-format
+msgid "View all posts by %s"
+msgstr ""
+
+#: ../functions.php:321
+msgid "Permalink"
+msgstr ""
+
+#: ../functions.php:330
+msgid "Your comment is awaiting moderation."
+msgstr ""
+
+#: ../functions.php:347
+msgid "Name"
+msgstr ""
+
+#: ../functions.php:348
+msgid "Email"
+msgstr ""
+
+#: ../functions.php:349
+msgid "Website"
+msgstr ""
+
+#: ../functions.php:351
+msgid "Comment"
+msgstr ""
+
+#: ../functions.php:352
+msgid "Your email will not be published. Name and Email fields are required."
+msgstr ""
+
+#: ../header.php:42
+#: ../header.php:61
+msgid "Menu"
+msgstr ""
+
+#: ../header.php:43
+#: ../header.php:62
+msgid "Skip to content"
+msgstr ""
+
+#: ../image.php:24
+#, php-format
+msgid "Published <span class=\"entry-date\"><time class=\"entry-date\" datetime=\"%1$s\" pubdate>%2$s</time></span> at <a href=\"%3$s\" title=\"Link to full-size image\">%4$s &times; %5$s</a> in <a href=\"%6$s\" title=\"Return to %7$s\" rel=\"gallery\">%7$s</a>"
+msgstr ""
+
+#: ../image.php:38
+msgid "&larr; Previous"
+msgstr ""
+
+#: ../image.php:39
+msgid "Next &rarr;"
+msgstr ""
+
+#: ../image.php:92
+#, php-format
+msgid "<a class=\"comment-link\" href=\"#respond\" title=\"Post a comment\">Post a comment</a> or leave a trackback: <a class=\"trackback-link\" href=\"%s\" title=\"Trackback URL for your post\" rel=\"trackback\">Trackback URL</a>."
+msgstr ""
+
+#: ../image.php:94
+#, php-format
+msgid "Comments are closed, but you can leave a trackback: <a class=\"trackback-link\" href=\"%s\" title=\"Trackback URL for your post\" rel=\"trackback\">Trackback URL</a>."
+msgstr ""
+
+#: ../image.php:96
+msgid "Trackbacks are closed, but you can <a class=\"comment-link\" href=\"#respond\" title=\"Post a comment\">post a comment</a>."
+msgstr ""
+
+#: ../image.php:98
+msgid "Both comments and trackbacks are currently closed."
+msgstr ""
+
+#: ../no-results.php:14
+msgid "Nothing Found"
+msgstr ""
+
+#: ../no-results.php:20
+#, php-format
+msgid "Ready to publish your first post? <a href=\"%1$s\">Get started here</a>."
+msgstr ""
+
+#: ../no-results.php:24
+msgid "Sorry, but nothing matched your search terms. Please try again with some different keywords."
+msgstr ""
+
+#: ../no-results.php:28
+msgid "It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching can help."
+msgstr ""
+
+#: ../search.php:17
+#, php-format
+msgid "Search Results for: %s"
+msgstr ""
+
+#: ../searchform.php:10
+msgid "Search"
+msgstr ""
+
+#: ../sidebar.php:25
+msgid "Meta"
+msgstr ""
+
View
BIN languages/fr_FR.mo
Binary file not shown.
View
410 languages/fr_FR.po
@@ -0,0 +1,410 @@
+# This file was generated by WPML
+# WPML is a WordPress plugin that can turn any WordPress or WordPressMU site into a full featured multilingual content management system.
+# http://wpml.org
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Project-Id-Version: \n"
+"POT-Creation-Date: \n"
+"PO-Revision-Date: \n"
+"Last-Translator: Kirk Wight <kwight@kwight.ca>\n"
+"Language-Team: \n"
+"MIME-Version: 1.0\n"
+
+# <aside id="meta" class="widget">
+# <h1 class="widget-title"><?php _e( 'Meta', 'debut' ); ?></h1>
+# <ul>
+msgid "Meta"
+msgstr "Méta"
+
+# <label for="s" class="assistive-text"><?php _e( 'Search', 'debut' ); ?></label>
+# <input type="text" class="field" name="s" id="s" placeholder="<?php esc_attr_e( 'Search &hellip;', 'debut' ); ?>" />
+# <input type="submit" class="submit searchsubmit" name="submit" value="<?php esc_attr_e( 'Search', 'debut' ); ?>" />
+msgid "Search &hellip;"
+msgstr "Rechercher &hellip;"
+
+# <form method="get" class="searchform" action="<?php echo esc_url( home_url( '/' ) ); ?>" role="search">
+# <label for="s" class="assistive-text"><?php _e( 'Search', 'debut' ); ?></label>
+# <input type="text" class="field" name="s" id="s" placeholder="<?php esc_attr_e( 'Search &hellip;', 'debut' ); ?>" />
+msgid "Search"
+msgstr "Rechercher"
+
+# <header class="page-header">
+# <h1 class="page-title"><?php printf( __( 'Search Results for: %s', 'debut' ), '<span>' . get_search_query() . '</span>' ); ?></h1>
+# </header>
+msgid "Search Results for: %s"
+msgstr "Résultats de recherche pour : %s"
+
+#
+# <p><?php _e( 'It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching can help.', 'debut' ); ?></p>
+#
+msgid "It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching can help."
+msgstr "Il semble que vous ne trouvez ce que vous cherchez. Peut-être qu'une recherche pourra vous aider."
+
+#
+# <p><?php _e( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'debut' ); ?></p>
+#
+msgid "Sorry, but nothing matched your search terms. Please try again with some different keywords."
+msgstr "Désolé, mais rien ne correspond à votre critères de recherche. Veuillez réessayer avec d&rsquo;autres mots-clefs."
+
+# <header class="entry-header">
+# <h1 class="entry-title"><?php _e( 'Nothing Found', 'debut' ); ?></h1>
+# </header><!-- .entry-header -->
+msgid "Nothing Found"
+msgstr "Rien n&rsquo;a été trouvé"
+
+#
+# <p><?php printf( __( 'Ready to publish your first post? <a href="%1$s">Get started here</a>.', 'debut' ), admin_url( 'post-new.php' ) ); ?></p>
+#
+msgid "Ready to publish your first post? <a href=\"%1$s\">Get started here</a>."
+msgstr "Prêt à publier votre premier article ? <a href=\"%1$s\">Commencez ici</a>."
+
+# <?php elseif ( ! comments_open() && ! pings_open() ) : // Comments and trackbacks closed ?>
+# <?php _e( 'Both comments and trackbacks are currently closed.', 'debut' ); ?>
+# <?php endif; ?>
+msgid "Both comments and trackbacks are currently closed."
+msgstr "Les commentaires et les rétroliens sont actuellement fermés."
+
+# <?php elseif ( comments_open() && ! pings_open() ) : // Only comments open ?>
+# <?php _e( 'Trackbacks are closed, but you can <a class="comment-link" href="#respond" title="Post a comment">post a comment</a>.', 'debut' ); ?>
+# <?php elseif ( ! comments_open() && ! pings_open() ) : // Comments and trackbacks closed ?>
+msgid "Trackbacks are closed, but you can <a class=\"comment-link\" href=\"#respond\" title=\"Post a comment\">post a comment</a>."
+msgstr "Les rétroliens sont fermés, mais vous pouvez <a class=\"comment-link\" href=\"#respond\" title=\"Publier un commentaire\"> publier un commentaire </ a>."
+
+# <?php elseif ( ! comments_open() && pings_open() ) : // Only trackbacks open ?>
+# <?php printf( __( 'Comments are closed, but you can leave a trackback: <a class="trackback-link" href="%s" title="Trackback URL for your post" rel="trackback">Trackback URL</a>.', 'debut' ), get_trackback_url() ); ?>
+# <?php elseif ( comments_open() && ! pings_open() ) : // Only comments open ?>
+msgid "Comments are closed, but you can leave a trackback: <a class=\"trackback-link\" href=\"%s\" title=\"Trackback URL for your post\" rel=\"trackback\">Trackback URL</a>."
+msgstr "Les commentaires sont fermés, mais vous pouvez laisser un ping : <a class=\"trackback-link\" href=\"%s\" title=\"Ping URL vers votre article\" rel=\"trackback\"> URL du ping</a>."
+
+# <?php if ( comments_open() && pings_open() ) : // Comments and trackbacks open ?>
+# <?php printf( __( '<a class="comment-link" href="#respond" title="Post a comment">Post a comment</a> or leave a trackback: <a class="trackback-link" href="%s" title="Trackback URL for your post" rel="trackback">Trackback URL</a>.', 'debut' ), get_trackback_url() ); ?>
+# <?php elseif ( ! comments_open() && pings_open() ) : // Only trackbacks open ?>
+msgid "<a class=\"comment-link\" href=\"#respond\" title=\"Post a comment\">Post a comment</a> or leave a trackback: <a class=\"trackback-link\" href=\"%s\" title=\"Trackback URL for your post\" rel=\"trackback\">Trackback URL</a>."
+msgstr "<a class=\"comment-link\" href=\"#respond\" title=\"Publier un commentaire\">Publier un commentaire</a> or laisser un rétrolien <a class=\"trackback-link\" href=\"%s\" title=\"Ping URL vers votre article\" rel=\"trackback\">URL du rétrolien</a>."
+
+# <span class="previous-image"><?php previous_image_link( false, __( '&larr; Previous', 'debut' ) ); ?></span>
+# <span class="next-image"><?php next_image_link( false, __( 'Next &rarr;', 'debut' ) ); ?></span>
+# </nav><!-- #image-navigation -->
+msgid "Next &rarr;"
+msgstr "Suivant &rarr;"
+
+# <nav id="image-navigation">
+# <span class="previous-image"><?php previous_image_link( false, __( '&larr; Previous', 'debut' ) ); ?></span>
+# <span class="next-image"><?php next_image_link( false, __( 'Next &rarr;', 'debut' ) ); ?></span>
+msgid "&larr; Previous"
+msgstr "&larr; Précédent"
+
+# $metadata = wp_get_attachment_metadata();
+# printf( __( 'Published <span class="entry-date"><time class="entry-date" datetime="%1$s" pubdate>%2$s</time></span> at <a href="%3$s" title="Link to full-size image">%4$s &times; %5$s</a> in <a href="%6$s" title="Return to %7$s" rel="gallery">%7$s</a>', 'debut' ),
+# esc_attr( get_the_date( 'c' ) ),
+msgid "Published <span class=\"entry-date\"><time class=\"entry-date\" datetime=\"%1$s\" pubdate>%2$s</time></span> at <a href=\"%3$s\" title=\"Link to full-size image\">%4$s &times; %5$s</a> in <a href=\"%6$s\" title=\"Return to %7$s\" rel=\"gallery\">%7$s</a>"
+msgstr "Publié <span class=\"entry-date\"><time class=\"entry-date\" datetime=\"%1$s\" pubdate>%2$s</time></span> à <a href=\"%3$s\" title=\"Lien vers la grande image\">%4$s &times; %5$s</a> dans <a href=\"%6$s\" title=\"Retour vers %7$s\" rel=\"gallery\">%7$s</a>"
+
+# <h1 class="assistive-text"><?php _e( 'Menu', 'debut' ); ?></h1>
+# <div class="assistive-text skip-link"><a href="#content" title="<?php esc_attr_e( 'Skip to content', 'debut' ); ?>"><?php _e( 'Skip to content', 'debut' ); ?></a></div>
+# <button class="menu-button">Menu</button>
+msgid "Skip to content"
+msgstr "Aller au contenu"
+
+# <nav role="navigation" class="site-navigation small-navigation">
+# <h1 class="assistive-text"><?php _e( 'Menu', 'debut' ); ?></h1>
+# <div class="assistive-text skip-link"><a href="#content" title="<?php esc_attr_e( 'Skip to content', 'debut' ); ?>"><?php _e( 'Skip to content', 'debut' ); ?></a></div>
+msgid "Menu"
+msgstr "Menu"
+
+# <?php previous_post_link( '<div class="nav-previous">%link</div>', '<span class="meta-nav">' . _x( '&larr;', 'Previous post link', 'debut' ) . '</span> %title' ); ?>
+# <?php next_post_link( '<div class="nav-next">%link</div>', '%title <span class="meta-nav">' . _x( '&rarr;', 'Next post link', 'debut' ) . '</span>' ); ?>
+#
+msgid "&rarr;"
+msgstr "&rarr;"
+
+#
+# <?php previous_post_link( '<div class="nav-previous">%link</div>', '<span class="meta-nav">' . _x( '&larr;', 'Previous post link', 'debut' ) . '</span> %title' ); ?>
+# <?php next_post_link( '<div class="nav-next">%link</div>', '%title <span class="meta-nav">' . _x( '&rarr;', 'Next post link', 'debut' ) . '</span>' ); ?>
+msgid "&larr;"
+msgstr "&larr;"
+
+# <?php if ( $comment->comment_approved == '0' ): ?>
+# <p class="comment-awaiting"><?php esc_html_e( 'Your comment is awaiting moderation.', 'debut' ); ?></p>
+# <?php endif; ?>
+msgid "Your comment is awaiting moderation."
+msgstr "Votre commentaire est en attente de modération."
+
+# <div class="perma-reply-edit">
+# <a href="<?php echo esc_url( get_comment_link() ); ?>"><?php _e( 'Permalink', 'debut' ); ?></a>
+# <?php comment_reply_link( array_merge( $args, array( 'depth' => $depth, 'max_depth' => $args['max_depth'], 'before' => '&nbsp;&sdot;&nbsp;' ) ) );
+msgid "Permalink"
+msgstr "Lien permanent"
+
+# <nav role="navigation" id="<?php echo $nav_id; ?>" class="<?php echo $nav_class; ?>">
+# <h1 class="assistive-text"><?php _e( 'Post navigation', 'debut' ); ?></h1>
+#
+msgid "Post navigation"
+msgstr "Navigation des articles"
+
+# $args[ 'comment_field' ] = '<div class="comment-form-comment"><label for="comment">' . esc_html__( 'Comment', 'debut' ) . '</label><textarea id="comment" name="comment" rows="8" aria-required="true" placeholder="' . esc_attr__( 'Comment', 'debut' ) . '"></textarea></div><!-- .comment-form-comment -->';
+# $args[ 'comment_notes_before' ] = '<p class="comment-notes">' . esc_html__( 'Your email will not be published. Name and Email fields are required.', 'debut' ) . '</p>';
+# return $args;
+msgid "Your email will not be published. Name and Email fields are required."
+msgstr "Votre courriel ne sera pas publiée. Les champs Nom et Courriel sont obligatoires."
+
+# );
+# $args[ 'comment_field' ] = '<div class="comment-form-comment"><label for="comment">' . esc_html__( 'Comment', 'debut' ) . '</label><textarea id="comment" name="comment" rows="8" aria-required="true" placeholder="' . esc_attr__( 'Comment', 'debut' ) . '"></textarea></div><!-- .comment-form-comment -->';
+# $args[ 'comment_notes_before' ] = '<p class="comment-notes">' . esc_html__( 'Your email will not be published. Name and Email fields are required.', 'debut' ) . '</p>';
+msgid "Comment"
+msgstr "Commentaire"
+
+# 'email' => '<div class="comment-form-email"><label for="email">' . esc_html__( 'Email', 'debut' ) . '</label><input type="text" class="field" name="email" id="email" aria-required="true" placeholder="' . esc_attr__( 'Email', 'debut' ) . '" /></div><!-- .comment-form-email -->',
+# 'url' => '<div class="comment-form-url"><label for="url">' . esc_html__( 'Website', 'debut' ) . '</label><input type="text" class="field" name="url" id="url" placeholder="' . esc_attr__( 'Website', 'debut' ) . '" /></div><!-- .comment-form-url -->'
+# );
+msgid "Website"
+msgstr "Site web"
+
+# 'author' => '<div class="comment-form-author"><label for="author">' . esc_html__( 'Name', 'debut' ) . '</label><input type="text" class="field" name="author" id="author" aria-required="true" placeholder="' . esc_attr__( 'Name', 'debut' ) . '" /></div><!-- .comment-form-author -->',
+# 'email' => '<div class="comment-form-email"><label for="email">' . esc_html__( 'Email', 'debut' ) . '</label><input type="text" class="field" name="email" id="email" aria-required="true" placeholder="' . esc_attr__( 'Email', 'debut' ) . '" /></div><!-- .comment-form-email -->',
+# 'url' => '<div class="comment-form-url"><label for="url">' . esc_html__( 'Website', 'debut' ) . '</label><input type="text" class="field" name="url" id="url" placeholder="' . esc_attr__( 'Website', 'debut' ) . '" /></div><!-- .comment-form-url -->'
+msgid "Email"
+msgstr "Courriel"
+
+# $args[ 'fields' ] = array(
+# 'author' => '<div class="comment-form-author"><label for="author">' . esc_html__( 'Name', 'debut' ) . '</label><input type="text" class="field" name="author" id="author" aria-required="true" placeholder="' . esc_attr__( 'Name', 'debut' ) . '" /></div><!-- .comment-form-author -->',
+# 'email' => '<div class="comment-form-email"><label for="email">' . esc_html__( 'Email', 'debut' ) . '</label><input type="text" class="field" name="email" id="email" aria-required="true" placeholder="' . esc_attr__( 'Email', 'debut' ) . '" /></div><!-- .comment-form-email -->',
+msgid "Name"
+msgstr "Nom"
+
+# esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ),
+# esc_attr( sprintf( __( 'View all posts by %s', 'debut' ), get_the_author() ) ),
+# esc_html( get_the_author() )
+msgid "View all posts by %s"
+msgstr "Afficher tous les articles de %s"
+
+# function debut_posted_on() {
+# printf( __( 'Posted on <a href="%1$s" title="%2$s" rel="bookmark"><time class="entry-date" datetime="%3$s" pubdate>%4$s</time></a><span class="byline"> by <span class="author vcard"><a class="url fn n" href="%5$s" title="%6$s" rel="author">%7$s</a></span></span>', 'debut' ),
+# esc_url( get_permalink() ),
+msgid "Posted on <a href=\"%1$s\" title=\"%2$s\" rel=\"bookmark\"><time class=\"entry-date\" datetime=\"%3$s\" pubdate>%4$s</time></a><span class=\"byline\"> by <span class=\"author vcard\"><a class=\"url fn n\" href=\"%5$s\" title=\"%6$s\" rel=\"author\">%7$s</a></span></span>"
+msgstr "Publié le <a href=\"%1$s\" title=\"%2$s\" rel=\"bookmark\"><time class=\"entry-date\" datetime=\"%3$s\" pubdate>%4$s</time></a><span class=\"byline\"> par <span class=\"author vcard\"><a class=\"url fn n\" href=\"%5$s\" title=\"%6$s\" rel=\"author\">%7$s</a></span></span>"
+
+# <?php if ( get_previous_posts_link() ) : ?>
+# <div class="nav-next"><?php previous_posts_link( __( 'Newer posts <span class="meta-nav">&rarr;</span>', 'debut' ) ); ?></div>
+# <?php endif; ?>
+msgid "Newer posts <span class=\"meta-nav\">&rarr;</span>"
+msgstr "Articles plus récents <span class=\"meta-nav\">&rarr;</span>"
+
+# <?php if ( get_next_posts_link() ) : ?>
+# <div class="nav-previous"><?php next_posts_link( __( '<span class="meta-nav">&larr;</span> Older posts', 'debut' ) ); ?></div>
+# <?php endif; ?>
+msgid "<span class=\"meta-nav\">&larr;</span> Older posts"
+msgstr "<span class=\"meta-nav\">&larr;</span> Articles plus anciens"
+
+# register_sidebar( array(
+# 'name' => __( 'Header', 'debut' ),
+# 'id' => 'header',
+msgid "Header"
+msgstr "Header"
+
+# register_sidebar( array(
+# 'name' => __( 'Sidebar', 'debut' ),
+# 'id' => 'sidebar',
+msgid "Sidebar"
+msgstr "Colonne latérale"
+
+# register_nav_menus( array(
+# 'primary' => __( 'Primary Menu', 'debut' ),
+# ) );
+msgid "Primary Menu"
+msgstr "Menu principal"
+
+# <footer id="colophon" class="site-footer" role="contentinfo">
+# <?php printf( __( 'Powered by %1$s. %2$s theme by %3$s.', 'debut' ),'<a href="http://wordpress.org/" target="_blank">WordPress</a>', 'Debut', '<a href="http://kwight.ca/" target="_blank">kwight</a>' ); ?>
+# </footer><!-- #colophon .site-footer -->
+msgid "Powered by %1$s. %2$s theme by %3$s."
+msgstr "Propulsé par %1$s. Thème %2$s par %3$s."
+
+#
+# <h1 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'debut' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1>
+#
+msgid "Permalink to %s"
+msgstr "Permalien vers %s"
+
+# <span class="sep">&nbsp;&nbsp;&bull;&nbsp;&nbsp;</span>
+# <span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'debut' ), __( '1 Comment', 'debut' ), __( '% Comments', 'debut' ) ); ?></span>
+# <?php endif; ?>
+msgid "% Comments"
+msgstr "% commentaires"
+
+# <span class="sep">&nbsp;&nbsp;&bull;&nbsp;&nbsp;</span>
+# <span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'debut' ), __( '1 Comment', 'debut' ), __( '% Comments', 'debut' ) ); ?></span>
+# <?php endif; ?>
+msgid "1 Comment"
+msgstr "1 commentaire"
+
+# <span class="sep">&nbsp;&nbsp;&bull;&nbsp;&nbsp;</span>
+# <span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'debut' ), __( '1 Comment', 'debut' ), __( '% Comments', 'debut' ) ); ?></span>
+# <?php endif; ?>
+msgid "Leave a comment"
+msgstr "Laisser un commentaire"
+
+# <span class="tag-links">
+# <?php printf( __( 'Tagged %1$s', 'debut' ), $tags_list ); ?>
+# </span>
+msgid "Tagged %1$s"
+msgstr "Tagué avec %1$s"
+
+# <span class="cat-links">
+# <?php printf( __( 'Posted in %1$s', 'debut' ), $categories_list ); ?>
+# </span>
+msgid "Posted in %1$s"
+msgstr "Publié dans %1$s"
+
+# } else {
+# the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'debut' ) );
+# }
+msgid "Continue reading <span class=\"meta-nav\">&rarr;</span>"
+msgstr "Continuer la lecture <span class=\"meta-nav\">&rarr;</span>"
+
+# } else {
+# $meta_text = __( 'This entry was posted in %1$s. Bookmark the <a href="%3$s" title="Permalink to %4$s" rel="bookmark">permalink</a>.', 'debut' );
+# }
+msgid "This entry was posted in %1$s. Bookmark the <a href=\"%3$s\" title=\"Permalink to %4$s\" rel=\"bookmark\">permalink</a>."
+msgstr "Ce contenu a été publié dans %1$s. Mettez-le en favori avec son <a href=\"%3$s\" title=\"Permalien vers %4$s\" rel=\"bookmark\">permalien</a>."
+
+# if ( '' != $tag_list ) {
+# $meta_text = __( 'This entry was posted in %1$s and tagged %2$s. Bookmark the <a href="%3$s" title="Permalink to %4$s" rel="bookmark">permalink</a>.', 'debut' );
+# } else {
+msgid "This entry was posted in %1$s and tagged %2$s. Bookmark the <a href=\"%3$s\" title=\"Permalink to %4$s\" rel=\"bookmark\">permalink</a>."
+msgstr "Ce contenu a été publié dans %1$s, et marqué avec %2$s. Mettez-le en favori avec son <a href=\"%3$s\" title=\"Permalien vers %4$s\" rel=\"bookmark\">permalien</a>."
+
+# } else {
+# $meta_text = __( 'Bookmark the <a href="%3$s" title="Permalink to %4$s" rel="bookmark">permalink</a>.', 'debut' );
+# }
+msgid "Bookmark the <a href=\"%3$s\" title=\"Permalink to %4$s\" rel=\"bookmark\">permalink</a>."
+msgstr "Vous pouvez la mettre en favoris avec <a href=\"%3$s\" title=\"Permalien pour %4$s\" rel=\"bookmark\">ce permalien</a>."
+
+# if ( '' != $tag_list ) {
+# $meta_text = __( 'This entry was tagged %2$s. Bookmark the <a href="%3$s" title="Permalink to %4$s" rel="bookmark">permalink</a>.', 'debut' );
+# } else {
+msgid "This entry was tagged %2$s. Bookmark the <a href=\"%3$s\" title=\"Permalink to %4$s\" rel=\"bookmark\">permalink</a>."
+msgstr "Ce contenu a été taggué %2$s. Mettre en favoris avec ce<a href=\"%3$s\" title=\"Permalien vers %4$s\" rel=\"bookmark\">permalien</a>."
+
+# /* translators: used between list items, there is a space after the comma */
+# $category_list = get_the_category_list( __( ', ', 'debut' ) );
+#
+msgid ", "
+msgstr ", "
+
+# <?php wp_link_pages( array( 'before' => '<div class="page-links">' . __( 'Pages:', 'debut' ), 'after' => '</div>' ) ); ?>
+# <?php edit_post_link( __( 'Edit', 'debut' ), '<span class="edit-link">', '</span>' ); ?>
+# </div><!-- .entry-content -->
+msgid "Edit"
+msgstr "Modifier"
+
+# <?php the_content(); ?>
+# <?php wp_link_pages( array( 'before' => '<div class="page-links">' . __( 'Pages:', 'debut' ), 'after' => '</div>' ) ); ?>
+# <?php edit_post_link( __( 'Edit', 'debut' ), '<span class="edit-link">', '</span>' ); ?>
+msgid "Pages:"
+msgstr "Pages&nbsp;:"
+
+# <?php
+# printf( _n( 'One thought on &ldquo;%2$s&rdquo;', '%1$s thoughts on &ldquo;%2$s&rdquo;', get_comments_number(), 'debut' ),
+# number_format_i18n( get_comments_number() ), '<span>' . get_the_title() . '</span>' );
+msgid "%1$s thoughts on &ldquo;%2$s&rdquo;"
+msgstr "%1$s réflexions au sujet de &laquo;&nbsp;%2$s&nbsp;&raquo;"
+
+# <?php
+# printf( _n( 'One thought on &ldquo;%2$s&rdquo;', '%1$s thoughts on &ldquo;%2$s&rdquo;', get_comments_number(), 'debut' ),
+# number_format_i18n( get_comments_number() ), '<span>' . get_the_title() . '</span>' );
+msgid "One thought on &ldquo;%2$s&rdquo;"
+msgstr "Une réflexion au sujet de &laquo;&nbsp;%2$s&nbsp;&raquo;"
+
+# ?>
+# <p class="nocomments"><?php _e( 'Comments are closed.', 'debut' ); ?></p>
+# <?php endif; ?>
+msgid "Comments are closed."
+msgstr "Les commentaires sont fermés."
+
+# <nav role="navigation" id="comment-nav-below" class="site-navigation comment-navigation">
+# <h1 class="assistive-text"><?php _e( 'Comment navigation', 'debut' ); ?></h1>
+# <div class="nav-previous"><?php previous_comments_link( __( '&larr; Older Comments', 'debut' ) ); ?></div>
+msgid "Comment navigation"
+msgstr "Navigation des commentaires"
+
+# <div class="nav-previous"><?php previous_comments_link( __( '&larr; Older Comments', 'debut' ) ); ?></div>
+# <div class="nav-next"><?php next_comments_link( __( 'Newer Comments &rarr;', 'debut' ) ); ?></div>
+# </nav>
+msgid "Newer Comments &rarr;"
+msgstr "Commentaires plus récents &rarr;"
+
+# <h1 class="assistive-text"><?php _e( 'Comment navigation', 'debut' ); ?></h1>
+# <div class="nav-previous"><?php previous_comments_link( __( '&larr; Older Comments', 'debut' ) ); ?></div>
+# <div class="nav-next"><?php next_comments_link( __( 'Newer Comments &rarr;', 'debut' ) ); ?></div>
+msgid "&larr; Older Comments"
+msgstr "&larr; Commentaire plus ancien"
+
+# } else {
+# _e( 'Archives', 'debut' );
+#
+msgid "Archives"
+msgstr "Archives"
+
+# } elseif ( is_year() ) {
+# printf( __( 'Yearly Archives: %s', 'debut' ), '<span>' . get_the_date( 'Y' ) . '</span>' );
+#
+msgid "Yearly Archives: %s"
+msgstr "Archives annuelles&nbsp;: %s"
+
+# } elseif ( is_month() ) {
+# printf( __( 'Monthly Archives: %s', 'debut' ), '<span>' . get_the_date( 'F Y' ) . '</span>' );
+#
+msgid "Monthly Archives: %s"
+msgstr "Archives mensuelles&nbsp;: %s"
+
+# } elseif ( is_day() ) {
+# printf( __( 'Daily Archives: %s', 'debut' ), '<span>' . get_the_date() . '</span>' );
+#
+msgid "Daily Archives: %s"
+msgstr "Archives quotidiennes&nbsp;: %s"
+
+# the_post();
+# printf( __( 'Author Archives: %s', 'debut' ), '<span class="vcard"><a class="url fn n" href="' . get_author_posts_url( get_the_author_meta( "ID" ) ) . '" title="' . esc_attr( get_the_author() ) . '" rel="me">' . get_the_author() . '</a></span>' );
+# /* Since we called the_post() above, we need to
+msgid "Author Archives: %s"
+msgstr "Archives de l&rsquo;auteur&nbsp;: %s"
+
+# } elseif ( is_tag() ) {
+# printf( __( 'Tag Archives: %s', 'debut' ), '<span>' . single_tag_title( '', false ) . '</span>' );
+#
+msgid "Tag Archives: %s"
+msgstr "Archives du mot-clef&nbsp;: %s"
+
+# if ( is_category() ) {
+# printf( __( 'Category Archives: %s', 'debut' ), '<span>' . single_cat_title( '', false ) . '</span>' );
+#
+msgid "Category Archives: %s"
+msgstr "Archives pour la catégorie&nbsp;: %s"
+
+# <div class="widget">
+# <h2 class="widgettitle"><?php _e( 'Most Used Categories', 'debut' ); ?></h2>
+# <ul>
+msgid "Most Used Categories"
+msgstr "Catégories les plus utilisées"
+
+# <div class="entry-content">
+# <p><?php _e( 'It looks like nothing was found at this location. Maybe try one of the links below or a search?', 'debut' ); ?></p>
+#
+msgid "It looks like nothing was found at this location. Maybe try one of the links below or a search?"
+msgstr "Il semble que rien n'a été trouvé à cet endroit. Essayer peut-être un des liens ci-dessous ou une recherche ?"
+
+# <header class="entry-header">
+# <h1 class="entry-title"><?php _e( 'Oops! That page can&rsquo;t be found.', 'debut' ); ?></h1>
+# </header>
+msgid "Oops! That page can&rsquo;t be found."
+msgstr "Oups ! Cette page ne peut pas être trouvée."
+
+# /* translators: %1$s: smilie */
+# $archive_content = '<p>' . sprintf( __( 'Try looking in the monthly archives. %1$s', 'debut' ), convert_smilies( ':)' ) ) . '</p>';
+# the_widget( 'WP_Widget_Archives', 'dropdown=1', "after_title=</h2>$archive_content" );
+msgid "Try looking in the monthly archives. %1$s"
+msgstr "Essayez de voir du côté des archives mensuelles. %1$s"
+
View
2 searchform.php
@@ -1,6 +1,6 @@
<?php
/**
- * The template for displaying search forms in Debut
+ * The template for displaying search forms
*
* @package debut
* @since 1.0
View
131 style.css
@@ -148,10 +148,11 @@ Based on a 12-column, fluid grid
/* Containers */
#page {
- width: 94%;
- margin: 2.5em auto;
+ background-color: #fff;
+ margin: 0 auto;
max-width: 1000px;
- position: relative;
+ padding: 0 1%;
+ width: 94%;
}
/* Elements */
#masthead hgroup,
@@ -163,7 +164,7 @@ form.searchform,
.comment-form-url,
#secondary,
#tertiary,
-#colophon {
+.site-footer .widget-area {
display: inline;
float: left;
margin-left: 1%;
@@ -171,8 +172,7 @@ form.searchform,
}
/* 12 columns */
.main-navigation,
-.page-template-full-width-php #primary,
-#colophon {
+.page-template-full-width-php #primary {
width: 98.0%;
}
/* 8 columns */
@@ -180,6 +180,10 @@ form.searchform,
#primary {
width: 64.667%;
}
+/* 4 columns */
+.site-footer .widget-area {
+ width: 31.333%;
+}
/* Vertical spacing */
#masthead,
.main-navigation,
@@ -475,6 +479,10 @@ a:visited {
/* =Header
----------------------------------------------- */
+#masthead {
+ padding-top: 2.5em;
+ position: relative;
+}
.site-title {
font-size: 55px;
font-size: 5.5rem;
@@ -531,7 +539,7 @@ a:visited {
.main-navigation .current-menu-item > a {
background-color: red;
color: #fff;
- text-shadow: 0 1px 0 rgba( 0, 0, 0, 0.8 );
+ text-shadow: 0 -1px 0 rgba( 0, 0, 0, 0.3 );
}
.main-navigation ul ul {
display: none;
@@ -548,6 +556,10 @@ a:visited {
.main-navigation ul li:hover > ul {
display: block;
}
+.sub-menu li {
+ clear: left;
+ width: 100%;
+}
.main-navigation .menu-item-parent > a:after {
color: #bbb;
content: '\a0 \a0 \a0 \25bc';
@@ -585,14 +597,13 @@ a:visited {
clear: none;
font-size: 24px;
font-size: 2.4rem;
- margin: 0 0 .3em 25.774%;
+ margin: 0 0 .3em 0;
}
.single .entry-title,
.page .entry-title,
.not-found .entry-title {
font-size: 28px;
font-size: 2.8rem;
- margin-left: 0;
}
.page-title {
color: #aaa;
@@ -609,20 +620,15 @@ a:visited {
font-size: 12px;
font-size: 1.2rem;
line-height: 1.2;
- margin-left: 25.774%;
text-transform: uppercase;
}
.entry-content {
- margin: 1.5em 0 0 25.774%;
-}
-.no-thumb,
-.single .entry-meta,
-.page .entry-meta,
-.not-found .entry-meta,
-.single .entry-content,
-.page .entry-content,
-.not-found .entry-content {
- margin-left: 0;
+ margin: 1.5em 0 0;
+}
+.debut-has-thumb .entry-title,
+.debut-has-thumb .entry-meta,
+.debut-has-thumb .entry-content {
+ margin-left: 25.774%;
}
.byline {
display: none;
@@ -634,8 +640,6 @@ a:visited {
clear: both;
margin: 0 0 1.5em;
}
-.bypostauthor {
-}
/* =Asides
@@ -782,7 +786,7 @@ object {
margin-left: 80px;
}
.depth-1 {
- padding-top: 1.5em;
+ margin-top: 2.5em;
}
.comment .avatar {
float: left;
@@ -817,6 +821,15 @@ object {
font-weight: 400;
text-align: center;
}
+/* By post author */
+.bypostauthor {
+ background-color: #efefef;
+ border: 1px solid #ddd;
+ padding: 1.5465%;
+}
+.bypostauthor .comment-content p:last-child {
+ margin-bottom: 0;
+}
/* Reply form */
#respond {
margin-bottom: 1em; /* Correction for Jetpack Comments iframe */
@@ -973,13 +986,24 @@ input.searchsubmit {
/* =Footer
----------------------------------------------- */
-#colophon {
+.site-footer .widget-area {
border-top: 1px solid #ddd;
- color: #aaa;
font-size: 14px;
font-size: 1.4rem;
- padding-top: 2.5em;
- text-align: right;
+ padding: 2.5em 0 0;
+}
+.site-footer .widget-area.footer-left {
+ margin-right: 0;
+ padding-right: 1%;
+}
+.site-footer .widget-area.footer-center {
+ margin: 0;
+ padding: 2.5em 1% 0;
+}
+.site-footer .widget-area.footer-right {
+ margin-left: 0;
+ padding-left: 3%;
+ width: 29.333%;
}
@@ -998,6 +1022,33 @@ input.searchsubmit {
font-size: 16px;
font-size: 1.6rem;
}
+/**
+ * WPML
+ * http://wpml.org
+ */
+.debut-lang-switcher {
+ background-color: #efefef;
+ border: 1px solid #ddd;
+ border-top: none;
+ position: absolute;
+ right: 1%;
+ top: 0;
+}
+.debut-lang {
+ display: block;
+ float: left;
+ font-size: 14px;
+ font-size: 1.4rem;
+ font-weight: 700;
+ line-height: 1;
+ padding: .5em;
+ text-transform: uppercase;
+}
+.debut-lang:hover {
+ background-color: red;
+ color: #fff;
+ text-shadow: 0 1px 0 rgba(0,0,0,.8);
+}
/* =IE9 and Unsupported
@@ -1064,11 +1115,15 @@ input.searchsubmit {
}
}
@media screen and ( max-width: 680px ) {
+ html body.custom-background {
+ background-color: #fff;
+ }
#masthead hgroup,
.main-navigation,
#primary,
#secondary,
- #tertiary {
+ #tertiary,
+ #colophon .widget-area {
width: 100%;
}
#masthead,
@@ -1076,7 +1131,8 @@ input.searchsubmit {
.main-navigation,
#primary,
#secondary,
- #tertiary {
+ #tertiary,
+ #colophon .widget-area {
margin: 0;
}
.site-description {
@@ -1085,27 +1141,30 @@ input.searchsubmit {
.main-navigation {
margin-bottom: 2.5em;
}
+ #page,
#secondary,
- #tertiary {
+ #tertiary,
+ #colophon .widget-area {
padding: 0;
}
+ .site-footer .widget-area {
+ border: none;
+ }
.widget_search form.searchform input[type="text"] {
width: 98%;
}
}
@media screen and ( max-width: 480px ) {
- #page {
- margin-top: 1em;
+ #masthead {
+ padding-top: 1.5em;
}
- /* Navigation */
.main-navigation,
.menu {
display: none;
}
.menu-button {
- bottom: -1px;
- float: right;
- position: relative;
+ display: block;
+ margin: 0 auto;
}
.small-navigation,
.widget .main-navigation,

0 comments on commit ae4c5e0

Please sign in to comment.
Something went wrong with that request. Please try again.