<!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>[4430] sites/trunk/wordpress.org/public_html/wp-content/plugins/wp-i18n-teams: WP i18n teams: Update styles for overview and team pages to play nice with o2.</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/4430">4430</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/4430","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>2016-11-27 22:57:20 +0000 (Sun, 27 Nov 2016)</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'>WP i18n teams: Update styles for overview and team pages to play nice with o2.
Fixes <a href="http://meta.trac.wordpress.org/ticket/2154">#2154</a>.</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentpluginswpi18nteamscssi18nteamscss">sites/trunk/wordpress.org/public_html/wp-content/plugins/wp-i18n-teams/css/i18n-teams.css</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentpluginswpi18nteamsjsi18nteamsjs">sites/trunk/wordpress.org/public_html/wp-content/plugins/wp-i18n-teams/js/i18n-teams.js</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentpluginswpi18nteamsviewsalllocalesphp">sites/trunk/wordpress.org/public_html/wp-content/plugins/wp-i18n-teams/views/all-locales.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentpluginswpi18nteamsviewslocaledetailsphp">sites/trunk/wordpress.org/public_html/wp-content/plugins/wp-i18n-teams/views/locale-details.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentpluginswpi18nteamswpi18nteamsphp">sites/trunk/wordpress.org/public_html/wp-content/plugins/wp-i18n-teams/wp-i18n-teams.php</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentpluginswpi18nteamscssi18nteamscss"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/plugins/wp-i18n-teams/css/i18n-teams.css</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/plugins/wp-i18n-teams/css/i18n-teams.css 2016-11-27 20:22:05 UTC (rev 4429)
+++ sites/trunk/wordpress.org/public_html/wp-content/plugins/wp-i18n-teams/css/i18n-teams.css 2016-11-27 22:57:20 UTC (rev 4430)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3,77 +3,88 @@
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> .i18n-label.latest {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- color: #468847;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ color: #46b450;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> .i18n-label.minor-behind {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- color: #F7D708;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ color: #ffb900;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> .i18n-label.major-behind-one {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- color: #E6A45A;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ color: #f56e28;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> .i18n-label.major-behind-many {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- color: #e38587;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ color: #dc3232;
</ins><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">+.i18n-filter {
+ line-height: 2;
+ padding: 0 .25em;
+}
+
</ins><span class="cx" style="display: block; padding: 0 10px"> .i18n-filter.current-filter {
</span><span class="cx" style="display: block; padding: 0 10px"> color: #555;
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- border-bottom: 1px solid #555;
</del><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.translators-info thead th {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.translators-info table thead th {
</ins><span class="cx" style="display: block; padding: 0 10px"> vertical-align: top;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.translators-info thead small {
- font-size: 9px;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.translators-info table thead small {
</ins><span class="cx" style="display: block; padding: 0 10px"> font-weight: normal;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.translators-info tbody tr {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.translators-info table tbody tr {
</ins><span class="cx" style="display: block; padding: 0 10px"> display: none;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.show-all tbody tr,
-.translators-info.show-latest tbody tr.latest,
-.translators-info.show-minor-behind tbody tr.minor-behind,
-.translators-info.show-major-behind-one tbody tr.major-behind-one,
-.translators-info.show-major-behind-many tbody tr.major-behind-many,
-.translators-info.show-no-releases tbody tr.no-releases,
-.translators-info.show-no-site tbody tr.no-site,
-.translators-info.show-no-wp-project tbody tr.no-wp-project,
-.translators-info.show-has-language-pack tbody tr.has-language-pack,
-.translators-info.show-no-language-pack tbody tr.no-language-pack,
-.translators-info.show-translated-100 tbody tr.translated-100,
-.translators-info.show-translated-95 tbody tr.translated-95,
-.translators-info.show-translated-90 tbody tr.translated-90,
-.translators-info.show-translated-50-less tbody tr.translated-50-less,
-.translators-info.show-translated-50 tbody tr.translated-50 {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.show-all table tbody tr,
+.translators-info.show-latest table tbody tr.latest,
+.translators-info.show-minor-behind table tbody tr.minor-behind,
+.translators-info.show-major-behind-one table tbody tr.major-behind-one,
+.translators-info.show-major-behind-many table tbody tr.major-behind-many,
+.translators-info.show-no-releases table tbody tr.no-releases,
+.translators-info.show-no-site table tbody tr.no-site,
+.translators-info.show-no-wp-project table tbody tr.no-wp-project,
+.translators-info.show-has-language-pack table tbody tr.has-language-pack,
+.translators-info.show-no-language-pack table tbody tr.no-language-pack,
+.translators-info.show-translated-100 table tbody tr.translated-100,
+.translators-info.show-translated-95 table tbody tr.translated-95,
+.translators-info.show-translated-90 table tbody tr.translated-90,
+.translators-info.show-translated-50-less table tbody tr.translated-50-less,
+.translators-info.show-translated-50 table tbody tr.translated-50 {
</ins><span class="cx" style="display: block; padding: 0 10px"> display: table-row;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> .locale-version.latest {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- background: #d2e7ca;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ background: #c7e8ca;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> .locale-version.minor-behind {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- background: #fef0c1;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ background: #ffe399;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> .locale-version.major-behind-one {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- background: #E6A45A;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ background: #fbc5a9;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> .locale-version.major-behind-many {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- background: #e38587;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ background: #f1adad;
</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"> td.right {
</span><span class="cx" style="display: block; padding: 0 10px"> text-align: right;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
+td.center {
+ text-align: center;
+}
+
</ins><span class="cx" style="display: block; padding: 0 10px"> td.no-left-border {
</span><span class="cx" style="display: block; padding: 0 10px"> border-left: 0 !important;
</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"> td.no-right-border {
</span><span class="cx" style="display: block; padding: 0 10px"> border-right: 0 !important;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.translators-info th,
-.translators-info td.nowrap {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
+.translators-info table th,
+.translators-info table td.nowrap {
</ins><span class="cx" style="display: block; padding: 0 10px"> white-space: nowrap;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -112,6 +123,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> #locale-header ul li.download-button a {
</span><span class="cx" style="display: block; padding: 0 10px"> font-size: 1.1em;
</span><span class="cx" style="display: block; padding: 0 10px"> color: white;
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ text-decoration: none;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> #locale-details,
</span><span class="cx" style="display: block; padding: 0 10px"> #main ul#locale-details {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -141,11 +153,46 @@
</span><span class="cx" style="display: block; padding: 0 10px"> width: 33%;
</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">+.validators li .profile {
+ margin: 6px 0 2px;
+ font-size: 16px;
+ font-weight: 400;
+ line-height: 2em;
+ text-decoration: none;
+}
+
+.validators li .avatar {
+ float: left;
+ margin: 0 10px 10px 0;
+ padding: 1px;
+ width: 60px;
+ height: 60px;
+}
+
+.validators .user-slack {
+ display: block;
+}
+
</ins><span class="cx" style="display: block; padding: 0 10px"> .validators.project-validators li {
</span><span class="cx" style="display: block; padding: 0 10px"> width: 25%;
</span><span class="cx" style="display: block; padding: 0 10px"> margin-bottom: 5px;
</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">+.validators.project-validators li .profile {
+ font-size: 13px;
+ line-height: 1.5em;
+}
+
+.validators.project-validators li .avatar {
+ float: left;
+ width: 40px;
+ height: 40px;
+}
+
+.validators.project-validators li .user-slack {
+ font-size: 10px;
+}
+
</ins><span class="cx" style="display: block; padding: 0 10px"> @media only screen and (max-width: 850px) {
</span><span class="cx" style="display: block; padding: 0 10px"> .validators li {
</span><span class="cx" style="display: block; padding: 0 10px"> width: 50%;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -156,7 +203,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-@media only screen and (max-width: 470px) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+@media only screen and (max-width: 600px) {
</ins><span class="cx" style="display: block; padding: 0 10px"> .validators li {
</span><span class="cx" style="display: block; padding: 0 10px"> width: 100%;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -165,66 +212,55 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.validators.project-validators img.avatar {
- margin-right: 5px !important;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+@media only screen and (max-width: 400px) {
+ .validators.project-validators li {
+ width: 100%;
+ }
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.validators a {
- text-decoration: none;
-}
-.validators .user-name {
- font-size: 16px;
- position: relative;
- top: .2em;
-}
-.validators.project-validators .user-name {
- font-size: 13px;
-}
</del><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.validators .user-slack {
- display: block;
- margin-top: .2em;
-}
-
-.translators-info table {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+article.page .translators-info table {
</ins><span class="cx" style="display: block; padding: 0 10px"> width: 100%;
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- margin: .7em 0 1.5em;
- border: 1px solid #ccc;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ border: 1px solid #f1f1f1;
</ins><span class="cx" style="display: block; padding: 0 10px"> border-width: 1px 1px 1px 0;
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- border-spacing: 0;
</del><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.translators-info th {
- background: #ccc;
- border: 1px solid #ccc;
- border-width: 1px 0 0 1px;
- padding: 6px 15px;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
+article.page .translators-info table tr th {
+ background: #f7f7f7;
+ border: 1px solid #f1f1f1;
+ border-width: 0 0 0 1px;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.translators-info td {
- border: 1px solid #ccc;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
+article.page .translators-info table tr td {
+ border: 1px solid #f1f1f1;
</ins><span class="cx" style="display: block; padding: 0 10px"> border-width: 1px 0 0 1px;
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- padding: 6px 15px;
</del><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">+article.page .translators-info table tr th:first-child,
+article.page .translators-info table tr td:first-child {
+ padding-left: 1em;
+}
+
+article.page .translators-info table tr th:last-child,
+article.page .translators-info table tr td:last-child {
+ padding-right: 1em;
+}
+
</ins><span class="cx" style="display: block; padding: 0 10px"> @media (max-width: 768px) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- .i18n-filter {
- line-height: 2;
- padding: 0 3px;
- }
-
- .show-all tbody tr,
- .translators-info.show-latest tbody tr.latest,
- .translators-info.show-minor-behind tbody tr.minor-behind,
- .translators-info.show-major-behind-one tbody tr.major-behind-one,
- .translators-info.show-major-behind-many tbody tr.major-behind-many,
- .translators-info.show-no-releases tbody tr.no-releases,
- .translators-info.show-no-site tbody tr.no-site,
- .translators-info.show-no-wp-project tbody tr.no-wp-project,
- .translators-info.show-has-language-pack tbody tr.has-language-pack,
- .translators-info.show-no-language-pack tbody tr.no-language-pack,
- .translators-info.show-translated-100 tbody tr.translated-100,
- .translators-info.show-translated-95 tbody tr.translated-95,
- .translators-info.show-translated-90 tbody tr.translated-90,
- .translators-info.show-translated-50-less tbody tr.translated-50-less,
- .translators-info.show-translated-50 tbody tr.translated-50 {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ .show-all table tbody tr,
+ .translators-info.show-latest table tbody tr.latest,
+ .translators-info.show-minor-behind table tbody tr.minor-behind,
+ .translators-info.show-major-behind-one table tbody tr.major-behind-one,
+ .translators-info.show-major-behind-many table tbody tr.major-behind-many,
+ .translators-info.show-no-releases table tbody tr.no-releases,
+ .translators-info.show-no-site table tbody tr.no-site,
+ .translators-info.show-no-wp-project table tbody tr.no-wp-project,
+ .translators-info.show-has-language-pack table tbody tr.has-language-pack,
+ .translators-info.show-no-language-pack table tbody tr.no-language-pack,
+ .translators-info.show-translated-100 table tbody tr.translated-100,
+ .translators-info.show-translated-95 table tbody tr.translated-95,
+ .translators-info.show-translated-90 table tbody tr.translated-90,
+ .translators-info.show-translated-50-less table tbody tr.translated-50-less,
+ .translators-info.show-translated-50 table tbody tr.translated-50 {
</ins><span class="cx" style="display: block; padding: 0 10px"> display: block;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -241,26 +277,26 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> .translators-info table tr {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- border: 1px solid #ccc !important;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ border: 1px solid #f1f1f1 !important;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- .translators-info table tbody th,
- .translators-info table tbody td {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ article.page .translators-info table tbody th,
+ article.page .translators-info table tbody td {
</ins><span class="cx" style="display: block; padding: 0 10px"> display: block;
</span><span class="cx" style="display: block; padding: 0 10px"> text-align: left;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- .translators-info table tbody tr {
- margin-top: 20px;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ article.page .translators-info table tbody tr {
+ margin-top: 2em;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- .translators-info table tbody td {
- padding: 6px 10px;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ article.page .translators-info table tbody td {
</ins><span class="cx" style="display: block; padding: 0 10px"> position: relative;
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- padding-left: 40%;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ padding: .5em .5em .5em 40%;
+ vertical-align: top;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- .translators-info table tbody td[data-column-title]:before {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ article.page .translators-info table tbody td[data-column-title]:before {
</ins><span class="cx" style="display: block; padding: 0 10px"> content: attr(data-column-title);
</span><span class="cx" style="display: block; padding: 0 10px"> position: absolute;
</span><span class="cx" style="display: block; padding: 0 10px"> left: 10px;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -268,7 +304,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> font-weight: bold;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- .translators-info table tbody td:nth-of-type(1) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ article.page .translators-info table tbody td:nth-of-type(1) {
</ins><span class="cx" style="display: block; padding: 0 10px"> display: inline-block;
</span><span class="cx" style="display: block; padding: 0 10px"> padding-left: 40%;
</span><span class="cx" style="display: block; padding: 0 10px"> padding-right: 5px;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -276,18 +312,18 @@
</span><span class="cx" style="display: block; padding: 0 10px"> border-bottom: none !important;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- .translators-info table tbody td:nth-of-type(2) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ article.page .translators-info table tbody td:nth-of-type(2) {
</ins><span class="cx" style="display: block; padding: 0 10px"> display: inline-block;
</span><span class="cx" style="display: block; padding: 0 10px"> padding-left: 0;
</span><span class="cx" style="display: block; padding: 0 10px"> width: 23%;
</span><span class="cx" style="display: block; padding: 0 10px"> border-bottom: none !important;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- .translators-info table tbody td:nth-of-type(3) {
- border-top: 1px solid #ccc !important;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ article.page .translators-info table tbody td:nth-of-type(3) {
+ border-top: 1px solid #f1f1f1 !important;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- .translators-info table tbody td:nth-of-type(4) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ article.page .translators-info table tbody td:nth-of-type(4) {
</ins><span class="cx" style="display: block; padding: 0 10px"> display: inline-block;
</span><span class="cx" style="display: block; padding: 0 10px"> padding-left: 40%;
</span><span class="cx" style="display: block; padding: 0 10px"> padding-right: 5px;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -295,31 +331,31 @@
</span><span class="cx" style="display: block; padding: 0 10px"> border-bottom: none !important;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- .translators-info table tbody td:nth-of-type(5) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ article.page .translators-info table tbody td:nth-of-type(5) {
</ins><span class="cx" style="display: block; padding: 0 10px"> display: inline-block;
</span><span class="cx" style="display: block; padding: 0 10px"> padding-left: 0;
</span><span class="cx" style="display: block; padding: 0 10px"> width: 23%;
</span><span class="cx" style="display: block; padding: 0 10px"> border-bottom: none !important;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- .translators-info table tbody td:nth-of-type(6) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ article.page .translators-info table tbody td:nth-of-type(6) {
</ins><span class="cx" style="display: block; padding: 0 10px"> display: inline-block;
</span><span class="cx" style="display: block; padding: 0 10px"> padding-left: 40%;
</span><span class="cx" style="display: block; padding: 0 10px"> width: 30%;
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- border-top: 1px solid #ccc !important;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ border-top: 1px solid #f1f1f1 !important;
</ins><span class="cx" style="display: block; padding: 0 10px"> border-bottom: none !important;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- .translators-info table tbody td:nth-of-type(7) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ article.page .translators-info table tbody td:nth-of-type(7) {
</ins><span class="cx" style="display: block; padding: 0 10px"> display: inline-block;
</span><span class="cx" style="display: block; padding: 0 10px"> padding-left: 0;
</span><span class="cx" style="display: block; padding: 0 10px"> width: 23%;
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- border-top: 1px solid #ccc !important;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ border-top: 1px solid #f1f1f1 !important;
</ins><span class="cx" style="display: block; padding: 0 10px"> border-bottom: none !important;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- .translators-info table tbody td:nth-of-type(8) {
- border-top: 1px solid #ccc !important;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ article.page .translators-info table tbody td:nth-of-type(8) {
+ border-top: 1px solid #f1f1f1 !important;
</ins><span class="cx" style="display: block; padding: 0 10px"> border-bottom: none !important;
</span><span class="cx" style="display: block; padding: 0 10px"> padding-right: 0;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentpluginswpi18nteamsjsi18nteamsjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/plugins/wp-i18n-teams/js/i18n-teams.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/plugins/wp-i18n-teams/js/i18n-teams.js 2016-11-27 20:22:05 UTC (rev 4429)
+++ sites/trunk/wordpress.org/public_html/wp-content/plugins/wp-i18n-teams/js/i18n-teams.js 2016-11-27 22:57:20 UTC (rev 4430)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2,7 +2,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> var currentHash = window.location.hash.replace( /[^a-z0-9-#]/gi, '' );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> $( function() {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $( '.locale-filters' ).on( 'click', '.i18n-filter', function() {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ $( document.body ).on( 'click', '.i18n-filter', function( event ) {
+ event.preventDefault();
</ins><span class="cx" style="display: block; padding: 0 10px"> $( '.current-filter' ).removeClass( 'current-filter' );
</span><span class="cx" style="display: block; padding: 0 10px"> $( '.translators-info' )[0].className = 'translators-info show-' + $( this ).data( 'filter' );
</span><span class="cx" style="display: block; padding: 0 10px"> $( this ).addClass( 'current-filter' );
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentpluginswpi18nteamsviewsalllocalesphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/plugins/wp-i18n-teams/views/all-locales.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/plugins/wp-i18n-teams/views/all-locales.php 2016-11-27 20:22:05 UTC (rev 4429)
+++ sites/trunk/wordpress.org/public_html/wp-content/plugins/wp-i18n-teams/views/all-locales.php 2016-11-27 22:57:20 UTC (rev 4430)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -87,7 +87,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> <td data-column-title="<?php esc_attr_e( 'WP Locale', 'wporg' ); ?>"><?php echo esc_html( $locale->wp_locale ); ?></td>
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <td data-column-title="<?php esc_attr_e( 'Version', 'wporg' ); ?>" class="right no-right-border">
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <td data-column-title="<?php esc_attr_e( 'Version', 'wporg' ); ?>" class="center no-right-border">
</ins><span class="cx" style="display: block; padding: 0 10px"> <?php
</span><span class="cx" style="display: block; padding: 0 10px"> if ( $locale_data[ $locale->wp_locale ]['rosetta_site_url'] ) {
</span><span class="cx" style="display: block; padding: 0 10px"> if ( $locale_data[ $locale->wp_locale ]['latest_release'] ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -100,7 +100,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> ?>
</span><span class="cx" style="display: block; padding: 0 10px"> </td>
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <td class="no-left-border nowrap">
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <td class="center no-left-border nowrap">
</ins><span class="cx" style="display: block; padding: 0 10px"> <?php
</span><span class="cx" style="display: block; padding: 0 10px"> if ( isset( $language_packs_data[ $locale->wp_locale ] ) ) {
</span><span class="cx" style="display: block; padding: 0 10px"> echo max( $language_packs_data[ $locale->wp_locale ] );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -112,7 +112,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ?>
</span><span class="cx" style="display: block; padding: 0 10px"> </td>
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <td data-column-title="<?php esc_attr_e( 'GlotPress', 'wporg' ); ?>" class="right no-right-border">
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <td data-column-title="<?php esc_attr_e( 'GlotPress', 'wporg' ); ?>" class="center no-right-border">
</ins><span class="cx" style="display: block; padding: 0 10px"> <?php if ( isset( $percentages[ $locale->wp_locale ] ) ) : ?>
</span><span class="cx" style="display: block; padding: 0 10px"> <a href="https://translate.wordpress.org/locale/<?php echo $locale->slug; ?>/default/wp/dev">
</span><span class="cx" style="display: block; padding: 0 10px"> <?php echo $percentages[ $locale->wp_locale ] . '%'; ?>
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -121,7 +121,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> —
</span><span class="cx" style="display: block; padding: 0 10px"> <?php endif; ?>
</span><span class="cx" style="display: block; padding: 0 10px"> </td>
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <td class="no-left-border nowrap">
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <td class="center no-left-border nowrap">
</ins><span class="cx" style="display: block; padding: 0 10px"> <a href="https://translate.wordpress.org/locale/<?php echo $locale->slug; ?>">
</span><span class="cx" style="display: block; padding: 0 10px"> <?php echo $locale->slug; ?>
</span><span class="cx" style="display: block; padding: 0 10px"> </a>
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -129,7 +129,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> <td>
</span><span class="cx" style="display: block; padding: 0 10px"> <a href="<?php echo esc_url( add_query_arg( 'locale', $locale->wp_locale ) ); ?>">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <?php _e( 'Team', 'wporg' ); ?>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <?php _e( 'View Team Page', 'wporg' ); ?>
</ins><span class="cx" style="display: block; padding: 0 10px"> </a>
</span><span class="cx" style="display: block; padding: 0 10px"> </td>
</span><span class="cx" style="display: block; padding: 0 10px"> </tr>
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentpluginswpi18nteamsviewslocaledetailsphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/plugins/wp-i18n-teams/views/locale-details.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/plugins/wp-i18n-teams/views/locale-details.php 2016-11-27 20:22:05 UTC (rev 4429)
+++ sites/trunk/wordpress.org/public_html/wp-content/plugins/wp-i18n-teams/views/locale-details.php 2016-11-27 22:57:20 UTC (rev 4430)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -18,6 +18,28 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <?php endif; ?>
</span><span class="cx" style="display: block; padding: 0 10px"> </li>
</span><span class="cx" style="display: block; padding: 0 10px"> <li>
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <strong><?php _e( 'Team site:', 'wporg' ); ?></strong>
+ <?php if ( $locale_data['team_url'] ) : ?>
+ <a href="<?php echo esc_url( $locale_data['team_url'] ); ?>"><?php
+ $url = parse_url( $locale_data['team_url'] );
+ printf( '%s%s', $url['host'], $url['path'] );
+ ?></a>
+ <?php else : ?>
+ —
+ <?php endif; ?>
+ </li>
+ <li>
+ <strong><?php _e( 'Forums:', 'wporg' ); ?></strong>
+ <?php if ( $locale_data['forums_url'] ) : ?>
+ <a href="<?php echo esc_url( $locale_data['forums_url'] ); ?>"><?php
+ $url = parse_url( $locale_data['forums_url'] );
+ printf( '%s%s', $url['host'], $url['path'] );
+ ?></a>
+ <?php else : ?>
+ —
+ <?php endif; ?>
+ </li>
+ <li>
</ins><span class="cx" style="display: block; padding: 0 10px"> <strong><?php _e( 'Latest release:', 'wporg' ); ?></strong>
</span><span class="cx" style="display: block; padding: 0 10px"> <?php echo $locale_data['latest_release'] ? $locale_data['latest_release'] : '—'; ?>
</span><span class="cx" style="display: block; padding: 0 10px"> </li>
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -29,6 +51,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <strong><?php _e( 'GlotPress Locale Code:', 'wporg' ); ?></strong>
</span><span class="cx" style="display: block; padding: 0 10px"> <?php echo esc_html( $locale->slug ); ?>
</span><span class="cx" style="display: block; padding: 0 10px"> </li>
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <li>
+ <strong><?php _e( 'Translation Projects:', 'wporg' ); ?></strong>
+ <a href="https://translate.wordpress.org/locale/<?php echo $locale->slug; ?>">translate.wordpress.org/locale/<?php echo $locale->slug; ?></a>
+ </li>
</ins><span class="cx" style="display: block; padding: 0 10px"> </ul>
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> <?php if ( $locale_data['localized_core_url'] ) : ?>
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -54,7 +80,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> </div>
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-<h2><?php _e( 'General Translation Editors', 'wporg' ); ?></h2>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<h2><?php printf( __( 'General Translation Editors (%s)', 'wporg' ), number_format_i18n( count( $locale_data['validators'] ) ) ); ?></h2>
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> <?php if ( empty( $locale_data['validators'] ) ) : ?>
</span><span class="cx" style="display: block; padding: 0 10px"> <p><?php printf( __( '%s does not have any validators yet.', 'wporg' ), $locale->english_name ); ?></p>
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -63,10 +89,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <?php foreach ( $locale_data['validators'] as $validator ) :
</span><span class="cx" style="display: block; padding: 0 10px"> ?>
</span><span class="cx" style="display: block; padding: 0 10px"> <li>
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <a class="user-avatar" href="https://profiles.wordpress.org/<?php echo esc_attr( $validator['nice_name'] ); ?>"><?php
- echo get_avatar( $validator['email'], 50 );
- ?></a>
- <a class="user-name" href="https://profiles.wordpress.org/<?php echo esc_attr( $validator['nice_name'] ); ?>"><?php
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <a class="profile" href="https://profiles.wordpress.org/<?php echo esc_attr( $validator['nice_name'] ); ?>"><?php
+ echo get_avatar( $validator['email'], 60 );
</ins><span class="cx" style="display: block; padding: 0 10px"> echo esc_html( $validator['display_name'] );
</span><span class="cx" style="display: block; padding: 0 10px"> ?></a>
</span><span class="cx" style="display: block; padding: 0 10px"> <?php
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -81,26 +105,28 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> <?php if ( ! empty( $locale_data['project_validators'] ) ) : ?>
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <h2><?php _e( 'Project Translation Editors', 'wporg' ); ?></h2>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <h2><?php printf( __( 'Project Translation Editors (%s)', 'wporg' ), number_format_i18n( count( $locale_data['project_validators'] ) ) ); ?></h2>
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> <ul class="validators project-validators">
</span><span class="cx" style="display: block; padding: 0 10px"> <?php foreach ( $locale_data['project_validators'] as $validator ) :
</span><span class="cx" style="display: block; padding: 0 10px"> ?>
</span><span class="cx" style="display: block; padding: 0 10px"> <li>
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <a class="user-avatar" href="https://profiles.wordpress.org/<?php echo esc_attr( $validator['nice_name'] ); ?>"><?php
- echo get_avatar( $validator['email'], 25 );
- ?></a>
- <a class="user-name" href="https://profiles.wordpress.org/<?php echo esc_attr( $validator['nice_name'] ); ?>"><?php
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <a class="profile" href="https://profiles.wordpress.org/<?php echo esc_attr( $validator['nice_name'] ); ?>"><?php
+ echo get_avatar( $validator['email'], 40 );
</ins><span class="cx" style="display: block; padding: 0 10px"> echo esc_html( $validator['display_name'] );
</span><span class="cx" style="display: block; padding: 0 10px"> ?></a>
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <?php
+ if ( $validator['slack'] ) {
+ printf( '<span class="user-slack">@%s on <a href="%s">Slack</a></span>', $validator['slack'], 'https://make.wordpress.org/chat/' );
+ }
+ ?>
</ins><span class="cx" style="display: block; padding: 0 10px"> </li>
</span><span class="cx" style="display: block; padding: 0 10px"> <?php endforeach; ?>
</span><span class="cx" style="display: block; padding: 0 10px"> </ul>
</span><span class="cx" style="display: block; padding: 0 10px"> <?php endif; ?>
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<h2><?php printf( __( 'All Translation Contributors (%s)', 'wporg' ), number_format_i18n( count( $locale_data['translators'] ) ) ); ?></h2>
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-<h2><?php _e( 'Translation Contributors', 'wporg' ); ?></h2>
-
</del><span class="cx" style="display: block; padding: 0 10px"> <?php if ( empty( $locale_data['translators'] ) ) : ?>
</span><span class="cx" style="display: block; padding: 0 10px"> <p><?php printf( __( '%s does not have any translators yet.', 'wporg' ), $locale->english_name ); ?></p>
</span><span class="cx" style="display: block; padding: 0 10px"> <?php else :?>
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentpluginswpi18nteamswpi18nteamsphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/plugins/wp-i18n-teams/wp-i18n-teams.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/plugins/wp-i18n-teams/wp-i18n-teams.php 2016-11-27 20:22:05 UTC (rev 4429)
+++ sites/trunk/wordpress.org/public_html/wp-content/plugins/wp-i18n-teams/wp-i18n-teams.php 2016-11-27 22:57:20 UTC (rev 4430)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -189,11 +189,36 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> $statuses[ $language_pack_status ]++;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ $forums_url = $team_url = '';
+ if ( $subdomain ) {
+ $result = get_sites( array(
+ 'domain' => $subdomain . '.wordpress.org',
+ 'path__in' => array( '/support/', '/forums/' ),
+ 'number' => 1,
+ ) );
+ $site = array_shift( $result );
+ if ( $site ) {
+ $forums_url = get_home_url( $site->id, '/' );
+ }
+
+ $result = get_sites( array(
+ 'domain' => $subdomain . '.wordpress.org',
+ 'path__in' => array( '/team/' ),
+ 'number' => 1,
+ ) );
+ $site = array_shift( $result );
+ if ( $site ) {
+ $team_url = get_home_url( $site->id, '/' );
+ }
+ }
+
</ins><span class="cx" style="display: block; padding: 0 10px"> $locale_data[ $locale->wp_locale ] = array(
</span><span class="cx" style="display: block; padding: 0 10px"> 'release_status' => $release_status,
</span><span class="cx" style="display: block; padding: 0 10px"> 'translation_status' => $translation_status,
</span><span class="cx" style="display: block; padding: 0 10px"> 'language_pack_status' => $language_pack_status,
</span><span class="cx" style="display: block; padding: 0 10px"> 'rosetta_site_url' => $subdomain ? 'https://' . $subdomain . '.wordpress.org' : false,
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ 'forums_url' => $forums_url ? $forums_url : false,
+ 'team_url' => $team_url ? $team_url : false,
</ins><span class="cx" style="display: block; padding: 0 10px"> 'latest_release' => $latest_release ? $latest_release : false,
</span><span class="cx" style="display: block; padding: 0 10px"> );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -387,12 +412,14 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 'display_name' => $user->display_name,
</span><span class="cx" style="display: block; padding: 0 10px"> 'email' => $user->user_email,
</span><span class="cx" style="display: block; padding: 0 10px"> 'nice_name' => $user->user_nicename,
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ 'slack' => self::get_slack_username( $user->ID ),
</ins><span class="cx" style="display: block; padding: 0 10px"> );
</span><span class="cx" style="display: block; padding: 0 10px"> } else {
</span><span class="cx" style="display: block; padding: 0 10px"> $editors[ $user->user_nicename ] = array(
</span><span class="cx" style="display: block; padding: 0 10px"> 'display_name' => $user->user_nicename,
</span><span class="cx" style="display: block; padding: 0 10px"> 'email' => $user->user_email,
</span><span class="cx" style="display: block; padding: 0 10px"> 'nice_name' => $user->user_nicename,
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ 'slack' => self::get_slack_username( $user->ID ),
</ins><span class="cx" style="display: block; padding: 0 10px"> );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span></span></pre>
</div>
</div>
</body>
</html>