Skip to content

Commit

Permalink
Bumps version to 1.3.4.
Browse files Browse the repository at this point in the history
  • Loading branch information
Connor Bär committed Sep 17, 2016
1 parent 67ca973 commit b4e1b17
Show file tree
Hide file tree
Showing 11 changed files with 104 additions and 86 deletions.
15 changes: 5 additions & 10 deletions 404.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,24 +13,19 @@
<main id="main" class="site-main" role="main">

<section class="error-404 not-found">
<header class="entry-header">
<header class="header -entry -no-featured">
<div class="header-outer">
<h1 class="entry-title"><?php esc_html_e( '404 Oh crumbs.', 'uwc-website' ); ?></h1>
<h1 class="header-title"><?php esc_html_e( '404: Page not found.', 'uwc-website' ); ?></h1>
<h2 class="header-summary"><p><?php
echo esc_html_e( 'Sorry, the page you’re looking for doesn’t exist. Check the URL for errors or try searching for it below.', 'uwc-website' );
?></p></h2>
</div>

</header>

<div class="entry-content">
<p><?php
$url = 'http://www.ibo.org/en/programmes/diploma-programme/curriculum/theory-of-knowledge/what-is-tok/';
$link = sprintf( wp_kses( __( 'Looks like something has gone terribly wrong somewhere in the Internet. As a result, the page you requested isn&rsquo;t available. Or maybe it doesn&rsquo;t exist. Maybe it never existed. Maybe this page is a figment of your imagination. Maybe you are a figment of your own imagination. Did we just blow your mind? Find out more about the <a href="%s">theory of knowledge course</a> at UWC or simply use the search bar below to find what you are looking for.', 'uwc-website' ), array( 'a' => array( 'href' => array() ) ) ), esc_url( $url ) );
echo $link; // WPCS: XSS ok.
?></p>

<?php get_search_form(); ?>

</div>

</div>
</section>
</main>
Expand Down
4 changes: 2 additions & 2 deletions components/site-logo.php

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion editor-style.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ function uwc_website_fonts_url() {
$subsets = 'latin,latin-ext';
/* translators: If there are characters in your language that are not supported by Merriweather, translate this to 'off'. Do not translate into your own language. */
if ( 'off' !== _x( 'on', 'Source Sans Pro font: on or off', 'uwc-website' ) ) {
$fonts[] = 'Source+Sans+Pro:300,400,600';
$fonts[] = 'Source+Sans+Pro:400,500,700';
}
if ( $fonts ) {
$fonts_url = add_query_arg( array(
Expand Down
90 changes: 50 additions & 40 deletions header.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,57 +35,67 @@
</head>

<body id="js-body" <?php body_class(); ?>>
<div id="site">
<a class="skip-link screen-reader-text" href="#content"><?php esc_html_e( 'Skip to content', 'uwc-website' ); ?></a>

<div class="turbolinks-bar"></div>
<header id="js-navigation" class="site-navigation -loaded" role="banner">
<div class="navigation-upper">
<div id="site">

<div class="navigation-center">
<?php get_template_part( 'components/site', 'logo' ); ?>
</div>
<a class="skip-link screen-reader-text" href="#content"><?php esc_html_e( 'Skip to content', 'uwc-website' ); ?></a>

<div class="turbolinks-bar"></div>

<header id="js-navigation" class="site-navigation -loaded" role="banner">

<div class="navigation-upper">

<?php if ( has_nav_menu( 'social' ) ) {
wp_nav_menu( array(
'theme_location' => 'social',
'container_class' => 'navigation-left',
'menu_id' => 'menu-social',
'depth' => 1,
'link_before' => '<span class="screen-reader-text">',
'link_after' => '</span>',
'fallback_cb' => 'false',
) );
<div class="navigation-center">
<?php get_template_part( 'components/site', 'logo' ); ?>
</div>

<?php if ( has_nav_menu( 'social' ) ) {
wp_nav_menu( array(
'theme_location' => 'social',
'container_class' => 'navigation-left',
'menu_id' => 'menu-social',
'depth' => 1,
'link_before' => '<span class="screen-reader-text">',
'link_after' => '</span>',
'fallback_cb' => 'false',
) );
} ?>

<div class="navigation-right">
<button id="js-search" class="navigation-search"><span class="screen-reader-text"><?php esc_attr_e( 'Search', 'uwc-website' ) ?></span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path class="search-open" d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"/><path class="search-close" d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/></svg></button>
<button id="js-menu" class="navigation-button"><?php esc_html_e( 'Menu', 'uwc-website' ); ?></button>
<div class="navigation-right">

<button id="js-search" class="navigation-search"><span class="screen-reader-text"><?php esc_attr_e( 'Search', 'uwc-website' ) ?></span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path class="search-open" d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"/><path class="search-close" d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/></svg></button>
<button id="js-menu" class="navigation-button"><?php esc_html_e( 'Menu', 'uwc-website' ); ?></button>

</div>

</div>

</div>
<div class="navigation-lower" role="navigation">

<div class="navigation-lower" role="navigation">

<?php if ( has_nav_menu( 'primary' ) ) {
wp_nav_menu( array(
'theme_location' => 'primary',
'depth' => '2',
'container' => 'nav',
'container_class' => 'nav-collapse closed',
'menu_id' => 'menu-primary',
'fallback_cb' => 'false',
) );
<?php if ( has_nav_menu( 'primary' ) ) {
wp_nav_menu( array(
'theme_location' => 'primary',
'depth' => '2',
'container' => 'nav',
'container_class' => 'navigation-links closed',
'menu_id' => 'menu-primary',
'fallback_cb' => 'false',
) );
} ?>

</div>
</div>

</header>

</header>
<div class="site-search">

<div class="search-field">

<?php get_search_form(); ?>

</div>

<div class="site-search">
<div class="search-field">
<?php get_search_form(); ?>
</div>
</div>

<div id="content" class="site-content">
<div id="content" class="site-content">
2 changes: 1 addition & 1 deletion js/scripts.js

Large diffs are not rendered by default.

Binary file modified languages/de_DE.mo
Binary file not shown.
55 changes: 33 additions & 22 deletions languages/de_DE.po
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ msgstr ""
"Project-Id-Version: UWC Website\n"
"Report-Msgid-Bugs-To: https://github.com/uwc/uwc-website/issues\n"
"POT-Creation-Date: \n"
"PO-Revision-Date: 2016-09-16 00:28+0200\n"
"PO-Revision-Date: 2016-09-16 16:12+0200\n"
"Last-Translator: Connor Bär <[email protected]>\n"
"Language-Team: Made by Connor. <[email protected]>\n"
"Language: de_DE\n"
Expand All @@ -22,26 +22,16 @@ msgstr ""
"X-Poedit-SearchPathExcluded-0: *.js\n"

#: src/404.php:18
msgid "404 Oh crumbs."
msgstr "404 Oh Krümel."
msgid "404: Page not found."
msgstr "404: Seite nicht gefunden."

#: src/404.php:26
#: src/404.php:20
msgid ""
"Looks like something has gone terribly wrong somewhere in the Internet. As a "
"result, the page you requested isn&rsquo;t available. Or maybe it "
"doesn&rsquo;t exist. Maybe it never existed. Maybe this page is a figment of "
"your imagination. Maybe you are a figment of your own imagination. Did we "
"just blow your mind? Find out more about the <a href=\"%s\">theory of "
"knowledge course</a> at UWC or simply use the search bar below to find what "
"you are looking for."
"Sorry, the page you’re looking for doesn’t exist. Check the URL for errors "
"or try searching for it below."
msgstr ""
"Sieht aus wie etwas schrecklich falsch irgendwo im Internet gegangen ist. "
"Als Ergebnis ist die von Ihnen angeforderte Seite nicht zur Verfügung. Oder "
"vielleicht existiert es nicht. Vielleicht gab es nie. Vielleicht ist diese "
"Seite eine Ausgeburt der Phantasie. Vielleicht sind Sie eine Ausgeburt der "
"eigenen Phantasie. Haben wir blasen einfach nur die Seele? Erfahren Sie mehr "
"über die <a href=\"%s\">Theorie des Wissens natürlich</a> bei UWC oder "
"verwenden Sie einfach die Suchleiste unten zu finden , was Sie suchen."
"Es tut uns leid, die von Ihnen gesuchte Seite scheint nicht zu existieren. "
"Überprüfen Sie die URL auf Fehler oder benutzen Sie das Suchfeld unten."

#: src/components/contact-button.php:23
msgid "Contact us"
Expand Down Expand Up @@ -131,11 +121,11 @@ msgstr "on"
msgid "Skip to content"
msgstr "Zum Inhalt springen"

#: src/header.php:61
#: src/header.php:62
msgid "Search"
msgstr "Suchen"
msgstr "Suche"

#: src/header.php:62
#: src/header.php:63
msgid "Menu"
msgstr "Menü"

Expand Down Expand Up @@ -221,7 +211,28 @@ msgstr "Suche nach:"
#: src/searchform.php:10
msgctxt "placeholder"
msgid "Search..."
msgstr "Suche..."
msgstr "Suchen…"

#~ msgid "404 Oh crumbs."
#~ msgstr "404 Oh Krümel."

#~ msgid ""
#~ "Looks like something has gone terribly wrong somewhere in the Internet. "
#~ "As a result, the page you requested isn&rsquo;t available. Or maybe it "
#~ "doesn&rsquo;t exist. Maybe it never existed. Maybe this page is a figment "
#~ "of your imagination. Maybe you are a figment of your own imagination. Did "
#~ "we just blow your mind? Find out more about the <a href=\"%s\">theory of "
#~ "knowledge course</a> at UWC or simply use the search bar below to find "
#~ "what you are looking for."
#~ msgstr ""
#~ "Sieht aus wie etwas schrecklich falsch irgendwo im Internet gegangen ist. "
#~ "Als Ergebnis ist die von Ihnen angeforderte Seite nicht zur Verfügung. "
#~ "Oder vielleicht existiert es nicht. Vielleicht gab es nie. Vielleicht ist "
#~ "diese Seite eine Ausgeburt der Phantasie. Vielleicht sind Sie eine "
#~ "Ausgeburt der eigenen Phantasie. Haben wir blasen einfach nur die Seele? "
#~ "Erfahren Sie mehr über die <a href=\"%s\">Theorie des Wissens natürlich</"
#~ "a> bei UWC oder verwenden Sie einfach die Suchleiste unten zu finden , "
#~ "was Sie suchen."

#~ msgid ""
#~ "The parent of <strong>%1$1s</strong> is <strong>%2$2s</strong>, which is "
Expand Down
12 changes: 6 additions & 6 deletions languages/uwc-website.pot
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ msgstr ""
"X-Poedit-SearchPathExcluded-0: *.js\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: src/404.php:18
msgid "404 Oh crumbs."
msgid "404: Page not found."
msgstr ""

#: src/404.php:26
msgid "Looks like something has gone terribly wrong somewhere in the Internet. As a result, the page you requested isn&rsquo;t available. Or maybe it doesn&rsquo;t exist. Maybe it never existed. Maybe this page is a figment of your imagination. Maybe you are a figment of your own imagination. Did we just blow your mind? Find out more about the <a href=\"%s\">theory of knowledge course</a> at UWC or simply use the search bar below to find what you are looking for."
#: src/404.php:20
msgid "Sorry, the page you’re looking for doesnt exist. Check the URL for errors or try searching for it below."
msgstr ""

#: src/components/contact-button.php:23
Expand Down Expand Up @@ -101,15 +101,15 @@ msgctxt "Source Sans Pro font: on or off"
msgid "on"
msgstr ""

#: src/header.php:39
#: src/header.php:41
msgid "Skip to content"
msgstr ""

#: src/header.php:62
#: src/header.php:67
msgid "Search"
msgstr ""

#: src/header.php:63
#: src/header.php:68
msgid "Menu"
msgstr ""

Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Requires at least: WordPress 4.5

Tested up to: WordPress 4.6.1

Version: 1.3.2
Version: 1.3.4

License: [MIT](#copyright)

Expand Down
6 changes: 4 additions & 2 deletions style.css

Large diffs are not rendered by default.

0 comments on commit b4e1b17

Please sign in to comment.