<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[1530] sites/trunk/translate.wordpress.org: Translate: Refresh design of "Locales & Languages" page.</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta" style="font-size: 105%">
<dt style="float: left; width: 6em; font-weight: bold">Revision</dt> <dd><a style="font-weight: bold" href="http://meta.trac.wordpress.org/changeset/1530">1530</a><script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","description":"Review this Commit","action":{"@type":"ViewAction","url":"http://meta.trac.wordpress.org/changeset/1530","name":"Review Commit"}}</script></dd>
<dt style="float: left; width: 6em; font-weight: bold">Author</dt> <dd>ocean90</dd>
<dt style="float: left; width: 6em; font-weight: bold">Date</dt> <dd>2015-05-01 13:00:33 +0000 (Fri, 01 May 2015)</dd>
</dl>

<pre style='padding-left: 1em; margin: 2em 0; border-left: 2px solid #ccc; line-height: 1.25; font-size: 105%; font-family: sans-serif'>Translate: Refresh design of "Locales & Languages" page.

props samuelsidler, ocean90.
see <a href="http://meta.trac.wordpress.org/ticket/994">#994</a>.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#sitestrunktranslatewordpressorgpublic_htmlgptemplateshelperfunctionsphp">sites/trunk/translate.wordpress.org/public_html/gp-templates/helper-functions.php</a></li>
<li><a href="#sitestrunktranslatewordpressorgpublic_htmlgptemplatesstylecss">sites/trunk/translate.wordpress.org/public_html/gp-templates/style.css</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li>sites/trunk/translate.wordpress.org/includes/gp-plugins/wporg-routes/</li>
<li>sites/trunk/translate.wordpress.org/includes/gp-plugins/wporg-routes/cli/</li>
<li><a href="#sitestrunktranslatewordpressorgincludesgppluginswporgroutescliwporgupdatecacheddataphp">sites/trunk/translate.wordpress.org/includes/gp-plugins/wporg-routes/cli/wporg-update-cached-data.php</a></li>
<li><a href="#sitestrunktranslatewordpressorgincludesgppluginswporgrouteswporgroutesphp">sites/trunk/translate.wordpress.org/includes/gp-plugins/wporg-routes/wporg-routes.php</a></li>
<li><a href="#sitestrunktranslatewordpressorgpublic_htmlgptemplateslocalesphp">sites/trunk/translate.wordpress.org/public_html/gp-templates/locales.php</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="sitestrunktranslatewordpressorgincludesgppluginswporgroutescliwporgupdatecacheddataphp"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/translate.wordpress.org/includes/gp-plugins/wporg-routes/cli/wporg-update-cached-data.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/translate.wordpress.org/includes/gp-plugins/wporg-routes/cli/wporg-update-cached-data.php                             (rev 0)
+++ sites/trunk/translate.wordpress.org/includes/gp-plugins/wporg-routes/cli/wporg-update-cached-data.php       2015-05-01 13:00:33 UTC (rev 1530)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,91 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php
+/**
+ * This script updates cached data for some heavy queries.
+ */
+require_once dirname( dirname( dirname( __DIR__ ) ) ) . '/glotpress/gp-load.php';
+
+class WPorg_Update_Cached_Data extends GP_CLI {
+
+       public $cache_group = 'wporg-translate';
+
+       public function run() {
+               $this->update_contributors_count();
+               $this->update_translation_status();
+       }
+
+       /**
+        * Fetches contributors per locale.
+        */
+       private function update_contributors_count() {
+               global $gpdb;
+
+               $results = $gpdb->get_results( "
+                       SELECT ts.locale, COUNT( DISTINCT( t.user_id ) ) AS count
+                       FROM $gpdb->translations t
+                               INNER JOIN $gpdb->translation_sets AS ts
+                                       ON ts.id = t.translation_set_id
+                       WHERE
+                               ( t.status = 'current' || t.status = 'old' )
+                               AND t.user_id IS NOT NULL
+                               AND t.user_id <> '0'
+                       GROUP BY ts.locale
+               " );
+
+               $counts = array();
+               if ( $results ) {
+                       foreach ( $results as $result ) {
+                               $counts[ $result->locale ] = $result->count;
+                       }
+               }
+
+               wp_cache_set( 'contributors-count', $counts, $this->cache_group );
+       }
+
+       /**
+        * Calculates the translation status of the WordPress project per locale.
+        */
+       private function update_translation_status() {
+               global $gpdb;
+
+               $locales = GP::$translation_set->existing_locales();
+               $projects = GP::$project->many( "
+                       SELECT *
+                       FROM $gpdb->projects
+                       WHERE
+                               path LIKE 'wp/dev%'
+                               AND active = '1'
+               " );
+               $translation_status = array();
+               foreach ( $projects as $project ) {
+                       foreach ( $locales as $locale ) {
+                               $set = GP::$translation_set->by_project_id_slug_and_locale(
+                                       $project->id,
+                                       'default',
+                                       $locale
+                               );
+
+                               if ( ! $set ) {
+                                       continue;
+                               }
+
+                               if ( ! isset( $translation_status[ $locale ] ) ) {
+                                       $translation_status[ $locale ] = new StdClass;
+                                       $translation_status[ $locale ]->waiting_count = $set->waiting_count();
+                                       $translation_status[ $locale ]->current_count = $set->current_count();
+                                       $translation_status[ $locale ]->fuzzy_count   = $set->fuzzy_count();
+                                       $translation_status[ $locale ]->all_count     = $set->all_count();
+                               } else {
+                                       $translation_status[ $locale ]->waiting_count += $set->waiting_count();
+                                       $translation_status[ $locale ]->current_count += $set->current_count();
+                                       $translation_status[ $locale ]->fuzzy_count   += $set->fuzzy_count();
+                                       $translation_status[ $locale ]->all_count     += $set->all_count();
+                               }
+                       }
+               }
+
+               wp_cache_set( 'translation-status', $translation_status, $this->cache_group );
+       }
+}
+
+$wporg_update_cached_data = new WPorg_Update_Cached_Data;
+$wporg_update_cached_data->run();
</ins></span></pre></div>
<a id="sitestrunktranslatewordpressorgincludesgppluginswporgrouteswporgroutesphp"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/translate.wordpress.org/includes/gp-plugins/wporg-routes/wporg-routes.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/translate.wordpress.org/includes/gp-plugins/wporg-routes/wporg-routes.php                             (rev 0)
+++ sites/trunk/translate.wordpress.org/includes/gp-plugins/wporg-routes/wporg-routes.php       2015-05-01 13:00:33 UTC (rev 1530)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,64 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php
+/**
+ * This plugins overrides some of the default routes of GlotPress.
+ *
+ * @author ocean90
+ */
+class GP_WPorg_Routes extends GP_Plugin {
+       public $id = 'wporg-routes';
+
+       public function __construct() {
+               parent::__construct();
+               $this->add_action( 'init' );
+       }
+
+       public function init() {
+               /*
+                * Unset default routes.
+                * The `routes` filter can't be used, see https://glotpress.trac.wordpress.org/ticket/249.
+                */
+               unset( GP::$router->urls['/'] );
+               unset( GP::$router->urls['get:/languages'] );
+
+               GP::$router->add( '/', array( 'GP_WPorg_Route_Index', 'index' ) );
+               GP::$router->add( '/languages', array( 'GP_WPorg_Route_Locale', 'locales_get' ) );
+       }
+}
+
+class GP_WPorg_Route_Locale extends GP_Route {
+
+       public function locales_get() {
+               $locales = array();
+               $existing_locales = GP::$translation_set->existing_locales();
+               foreach ( $existing_locales as $locale ) {
+                       $locales[] = GP_Locales::by_slug( $locale );
+               }
+               usort( $locales, array( $this, 'sort_locales') );
+               unset( $existing_locales );
+
+               $contributors_count = wp_cache_get( 'contributors-count', 'wporg-translate' );
+               if ( false === $contributors_count ) {
+                       $contributors_count = array();
+               }
+
+               $translation_status = wp_cache_get( 'translation-status', 'wporg-translate' );
+               if ( false === $translation_status ) {
+                       $translation_status = array();
+               }
+
+               $this->tmpl( 'locales', get_defined_vars() );
+       }
+
+       private function sort_locales( $a, $b ) {
+               return $a->english_name > $b->english_name;
+       }
+}
+
+class GP_WPorg_Route_Index extends GP_Route {
+
+       public function index() {
+               $this->redirect( gp_url( '/languages' ) );
+       }
+}
+
+GP::$plugins->wporg_routes = new GP_WPorg_Routes;
</ins></span></pre></div>
<a id="sitestrunktranslatewordpressorgpublic_htmlgptemplateshelperfunctionsphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/translate.wordpress.org/public_html/gp-templates/helper-functions.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/translate.wordpress.org/public_html/gp-templates/helper-functions.php 2015-04-30 23:36:40 UTC (rev 1529)
+++ sites/trunk/translate.wordpress.org/public_html/gp-templates/helper-functions.php   2015-05-01 13:00:33 UTC (rev 1530)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,6 +1,6 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <?php
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-wp_enqueue_style( 'wporg', ( is_ssl() ? gp_url_ssl( gp_url_public_root() ) : gp_url_public_root() ) . 'gp-templates/style.css', array( 'base' ), '20150418' );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+wp_enqueue_style( 'wporg', ( is_ssl() ? gp_url_ssl( gp_url_public_root() ) : gp_url_public_root() ) . 'gp-templates/style.css', array( 'base' ), '20150501' );
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> add_action( 'tmpl_load_locations', function( $locations, $template, $args, $template_path ) {
</span><span class="cx" style="display: block; padding: 0 10px">        $core_templates = GP_PATH . 'gp-templates/';
</span></span></pre></div>
<a id="sitestrunktranslatewordpressorgpublic_htmlgptemplateslocalesphp"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/translate.wordpress.org/public_html/gp-templates/locales.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/translate.wordpress.org/public_html/gp-templates/locales.php                          (rev 0)
+++ sites/trunk/translate.wordpress.org/public_html/gp-templates/locales.php    2015-05-01 13:00:33 UTC (rev 1530)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,77 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php
+gp_title( __('Locales &lt; GlotPress') );
+wp_enqueue_script('common');
+gp_tmpl_header();
+?>
+
+       <p class="intro"><?php _e('Contribute to WordPress core, themes, and plugins by translating them into your language. Select your locale below to get started.'); ?></p>
+       <p class="intro">If your locale isn’t below, follow the steps in the <a href="https://make.wordpress.org/polyglots/handbook/translating/requesting-a-new-locale/">Translator Handbook</a> to contribute a new locale.</p>
+
+       <div class="filter-header">
+               <ul class="filter-header-links">
+                       <li><?php _e( 'Find your locale' ); ?></li>
+               </ul>
+               <div class="search-form">
+                       <label class="screen-reader-text" for="locales-filter"><?php esc_attr_e( 'Search locales...' ); ?></label>
+                       <input placeholder="<?php esc_attr_e( 'Search locales...' ); ?>" type="search" id="locales-filter" class="wp-filter-search">
+               </div>
+       </div>
+
+       <div id="locales" class="locales">
+               <?php foreach ( $locales as $locale ) :
+                       $percent_complete = 0;
+                       if ( isset( $translation_status[ $locale->slug ] ) ) {
+                               $status = $translation_status[ $locale->slug ];
+                               $percent_complete = floor( $status->current_count / $status->all_count * 100 );
+                       }
+                       ?>
+                       <div class="locale <?php echo 'percent-' . $percent_complete; ?>">
+                               <ul class="name">
+                                       <li class="english"><?php echo gp_link_get( gp_url_join( gp_url_current(), $locale->slug ), $locale->english_name ) ?></li>
+                                       <li class="native"><?php echo gp_link_get( gp_url_join( gp_url_current(), $locale->slug ), $locale->native_name ) ?></li>
+                                       <li class="code"><?php echo gp_link_get( gp_url_join( gp_url_current(), $locale->slug ), $locale->slug ) ?></li>
+                               </ul>
+                               <div class="contributors">
+                                       <span class="dashicons dashicons-admin-users"></span><br />
+                                       <?php
+                                       $contributors = isset( $contributors_count[ $locale->slug ] ) ? $contributors_count[ $locale->slug ] : 0;
+                                       echo $contributors;
+                                       ?>
+                               </div>
+                               <div class="percent">
+                                       <div class="percent-complete" style="width:<?php echo $percent_complete; ?>%;"></div>
+                               </div>
+                               <div class="locale-button">
+                                       <div class="button">
+                                               <?php echo gp_link_get( gp_url_join( gp_url_current(), $locale->slug ), "Contribute Translation" ) ?>
+                                       </div>
+                               </div>
+                       </div>
+               <?php endforeach; ?>
+       </div>
+
+       <script>
+               jQuery( document ).ready( function( $ ) {
+                       $rows = $( '#locales' ).find( '.locale' );
+                       $( '#locales-filter' ).bind( 'change keyup input',function() {
+                               var words = this.value.toLowerCase().split(' ');
+
+                               if ( '' === this.value.trim() ) {
+                                       $rows.show();
+                               } else {
+                                       $rows.hide();
+                                       $rows.filter( function( i, v ) {
+                                               var $t = $(this);
+                                               for ( var d = 0; d < words.length; ++d ) {
+                                                       if ( $t.text().toLowerCase().indexOf( words[d] ) != -1 ) {
+                                                               return true;
+                                                       }
+                                               }
+                                               return false;
+                                       }).show();
+                               }
+                       });
+               });
+       </script>
+
+<?php gp_tmpl_footer();
</ins></span></pre></div>
<a id="sitestrunktranslatewordpressorgpublic_htmlgptemplatesstylecss"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/translate.wordpress.org/public_html/gp-templates/style.css</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/translate.wordpress.org/public_html/gp-templates/style.css    2015-04-30 23:36:40 UTC (rev 1529)
+++ sites/trunk/translate.wordpress.org/public_html/gp-templates/style.css      2015-05-01 13:00:33 UTC (rev 1530)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,36 +1,74 @@
</span><span class="cx" style="display: block; padding: 0 10px"> html, body {
</span><span class="cx" style="display: block; padding: 0 10px">        margin: 0;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
</ins><span class="cx" style="display: block; padding: 0 10px"> .gp-content {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        margin: 10px auto;
-       width: 940px;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ font-family: 'Open Sans' !important;
+       margin: 20px auto;
+       max-width: 940px;
+       padding: 0 10px;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
</ins><span class="cx" style="display: block; padding: 0 10px"> .gp-content span.breadcrumb {
</span><span class="cx" style="display: block; padding: 0 10px">        margin: .5em 0;
</span><span class="cx" style="display: block; padding: 0 10px">        display: block;
</span><span class="cx" style="display: block; padding: 0 10px">        float: none;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
</ins><span class="cx" style="display: block; padding: 0 10px"> .gp-content h2 {
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+        font-family: 'Open Sans' !important;
</ins><span class="cx" style="display: block; padding: 0 10px">         margin: 2px 0 .6em;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
+.actionlist a,
+.actionlist a:link,
+.actionlist a:visited,
+.gp-content a {
+       color: #0074a2;
+}
+
+.gp-content a:hover {
+       color: #2ea2cc;
+       text-decoration: none;
+}
+
+ul a.edit,
+dt a.edit,
+ul a.edit:hover,
+dt a.edit:hover {
+       color: #fff;
+}
+
</ins><span class="cx" style="display: block; padding: 0 10px"> #hello {
</span><span class="cx" style="display: block; padding: 0 10px">        margin-top: 22px;
</span><span class="cx" style="display: block; padding: 0 10px">        font-size: 1em;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
</ins><span class="cx" style="display: block; padding: 0 10px"> p.description {
</span><span class="cx" style="display: block; padding: 0 10px">        margin: 1em;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
</ins><span class="cx" style="display: block; padding: 0 10px"> p.actionlist {
</span><span class="cx" style="display: block; padding: 0 10px">        margin-top: 1em;
</span><span class="cx" style="display: block; padding: 0 10px">        margin-bottom: 1em;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
</ins><span class="cx" style="display: block; padding: 0 10px"> #gp-footer {
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+        clear: both;
+       font-family: 'Open Sans' !important;
</ins><span class="cx" style="display: block; padding: 0 10px">         background: none;
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+        color: #a0a5aa;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
+#gp-footer a {
+       color: #0073aa;
+}
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /* custom markup */
</span><span class="cx" style="display: block; padding: 0 10px"> #headline .menu-link {
</span><span class="cx" style="display: block; padding: 0 10px">        padding-right: 20px;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
</ins><span class="cx" style="display: block; padding: 0 10px"> /* overrides the global stylesheet: */
</span><span class="cx" style="display: block; padding: 0 10px"> .gp-content blockquote {
</span><span class="cx" style="display: block; padding: 0 10px">        border: 0;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -38,16 +76,222 @@
</span><span class="cx" style="display: block; padding: 0 10px">        padding: 0;
</span><span class="cx" style="display: block; padding: 0 10px">        margin: 0;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
</ins><span class="cx" style="display: block; padding: 0 10px"> .gp-content ul {
</span><span class="cx" style="display: block; padding: 0 10px">        padding-left: 20px;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
</ins><span class="cx" style="display: block; padding: 0 10px"> .gp-content #submit {
</span><span class="cx" style="display: block; padding: 0 10px">        font-size: 1em;
</span><span class="cx" style="display: block; padding: 0 10px">        margin: 0.4em 0.1em 0 0;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
</ins><span class="cx" style="display: block; padding: 0 10px"> .notice {
</span><span class="cx" style="display: block; padding: 0 10px">        background: #99d9ed;
</span><span class="cx" style="display: block; padding: 0 10px">        border-left: 3px solid #00a0d2;
</span><span class="cx" style="display: block; padding: 0 10px">        margin-bottom: 10px;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.notice a {
+       color: #006799;
+}
+
+.intro {
+       width: 75%;
+       margin-bottom: 20px;
+       font-size: 1.1em;
+       line-height: 1.5em;
+}
+
+.filter-header {
+       font-family: 'Open Sans' !important;
+       display: inline-block;
+       position: relative;
+       box-sizing: border-box;
+       margin: 0 0 25px 0;
+       padding: 0 40px 0 10px;
+       width: 100%;
+       box-shadow: 0 1px 1px rgba(0,0,0,0.04);
+       border: 1px solid #dfdfdf;
+       background: #efefef;
+       color: #555;
+       font-size: 13px;
+}
+
+.filter-header-links {
+       display: inline-block;
+       margin: 0;
+}
+
+.filter-header-links li {
+       display: inline-block;
+       margin: 0 10px;
+       padding: 15px 0;
+       color: #666;
+       cursor: pointer;
+}
+
+.filter-header-links .current {
+       -webkit-box-shadow: none;
+       box-shadow: none;
+       border-bottom: 4px solid #666;
+       color: #222;
+}
+
+.filter-header .search-form {
+       float: right;
+       margin: 15px 0;
+       display: inline-block;
+}
+
+.filter-header .filter-search {
+       margin: 0;
+       padding: 3px 5px;
+       width: 280px;
+       font-size: 16px;
+       font-weight: 300;
+       line-height: 1.5;
+}
+
+.filter-search {
+       border: 1px solid #ddd;
+       box-shadow: inset 0 1px 2px rgba( 0, 0, 0, 0.07 );
+       background-color: #fff;
+       color: #333;
+       outline: none;
+       transition: 0.05s border-color ease-in-out;
+       border-radius: 0;
+}
+
+.locale {
+       float: left;
+       margin: 0 0 2.083% 2.083%;
+       width: 31.25%;
+       border: 1px solid #ccc;
+       box-shadow: 0 1px 1px -1px rgba(0,0,0,0.1);
+       background: #fff;
+       box-sizing: border-box;
+}
+
+.locales {
+       margin-left: -2.083%;
+}
+
+.locales:before,
+.locales:after {
+       content: "";
+       display: table;
+}
+
+.locales:after {
+       clear: both;
+}
+
+.locale.percent-100 {
+       border-color: #509040;
+}
+
+.locale-button .button {
+       height: 26px;
+}
+
+.locale-button .button a {
+       vertical-align: baseline;
+       color: #555;
+       line-height: 26px;
+       padding: 0 10px 5px;
+       -webkit-appearance: none;
+       border-radius: 3px;
+       white-space: nowrap;
+}
+
+.locale-button .button a:hover {
+       color: #333;
+}
+
+.locale-button {
+       background: #f9f9f9;
+       text-align: center;
+       padding: 13px 0;
+}
+
+.locale-button a {
+       color: #555;
+       padding: 8px;
+}
+
+.locale .name {
+       display: inline-block;
+       margin: 0;
+       padding: 20px;
+}
+
+.locale .name li {
+       display: block;
+}
+
+.locale .name li.english a {
+       font-weight: bold;
+}
+
+.locale .name li.code a {
+       color: #999;
+}
+
+.locale .contributors {
+       float: right;
+       margin-top: 20px;
+       padding: 10px 20px;
+       color: #006799;
+       border-left: 1px solid #eee;
+       text-align: center;
+}
+
+.locale .contributors .dashicons {
+       margin-left: -7px;
+       font-size: 2em;
+       padding-bottom: 10px;
+}
+
+.locale .percent {
+       width: 100%;
+       height: 4px;
+       background-color: #d6d6d6;
+}
+
+.locale .percent-complete {
+       height: 4px;
+       background-color: #509040;
+}
+
+.screen-reader-text {
+       clip: rect(1px, 1px, 1px, 1px);
+       height: 1px;
+       overflow: hidden;
+       position: absolute !important;
+       width: 1px;
+}
+
+/* Responsive styles */
+@media (max-width: 700px) {
+       .intro {
+               width: 100%;
+       }
+}
+
+@media only screen and (max-width: 1120px) {
+       .locales .locale {
+               width: 47.917%;
+       }
+}
+
+@media only screen and (max-width: 480px) {
+       .locales {
+               margin-left: 0;
+       }
+
+       .locales .locale {
+               width: 100%;
+               margin-left: 0;
+       }
+}
</ins></span></pre>
</div>
</div>

</body>
</html>