<!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>[36563] trunk/tests/phpunit: Tests: Add test for `wp_get_installed_translations()`.</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="https://core.trac.wordpress.org/changeset/36563">36563</a><script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","description":"Review this Commit","action":{"@type":"ViewAction","url":"https://core.trac.wordpress.org/changeset/36563","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-02-17 22:01:11 +0000 (Wed, 17 Feb 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'>Tests: Add test for `wp_get_installed_translations()`.
Introduces language files in /tests/phpunit/data/language. Each file includes the header and 5 translations.
Props realloc for initial patch.
Fixes <a href="https://core.trac.wordpress.org/ticket/35284">#35284</a>.</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunktestsphpunitincludesbootstrapphp">trunk/tests/phpunit/includes/bootstrap.php</a></li>
<li><a href="#trunktestsphpunittestsl10nphp">trunk/tests/phpunit/tests/l10n.php</a></li>
</ul>
<h3>Added Paths</h3>
<ul>
<li>trunk/tests/phpunit/data/languages/</li>
<li><a href="#trunktestsphpunitdatalanguagesadminen_GBmo">trunk/tests/phpunit/data/languages/admin-en_GB.mo</a></li>
<li><a href="#trunktestsphpunitdatalanguagesadminen_GBpo">trunk/tests/phpunit/data/languages/admin-en_GB.po</a></li>
<li><a href="#trunktestsphpunitdatalanguagesadmines_ESmo">trunk/tests/phpunit/data/languages/admin-es_ES.mo</a></li>
<li><a href="#trunktestsphpunitdatalanguagesadmines_ESpo">trunk/tests/phpunit/data/languages/admin-es_ES.po</a></li>
<li><a href="#trunktestsphpunitdatalanguagesadminnetworken_GBmo">trunk/tests/phpunit/data/languages/admin-network-en_GB.mo</a></li>
<li><a href="#trunktestsphpunitdatalanguagesadminnetworken_GBpo">trunk/tests/phpunit/data/languages/admin-network-en_GB.po</a></li>
<li><a href="#trunktestsphpunitdatalanguagesadminnetworkes_ESmo">trunk/tests/phpunit/data/languages/admin-network-es_ES.mo</a></li>
<li><a href="#trunktestsphpunitdatalanguagesadminnetworkes_ESpo">trunk/tests/phpunit/data/languages/admin-network-es_ES.po</a></li>
<li><a href="#trunktestsphpunitdatalanguagescontinentscitieses_ESmo">trunk/tests/phpunit/data/languages/continents-cities-es_ES.mo</a></li>
<li><a href="#trunktestsphpunitdatalanguagescontinentscitieses_ESpo">trunk/tests/phpunit/data/languages/continents-cities-es_ES.po</a></li>
<li><a href="#trunktestsphpunitdatalanguagesen_GBmo">trunk/tests/phpunit/data/languages/en_GB.mo</a></li>
<li><a href="#trunktestsphpunitdatalanguagesen_GBpo">trunk/tests/phpunit/data/languages/en_GB.po</a></li>
<li><a href="#trunktestsphpunitdatalanguageses_ESmo">trunk/tests/phpunit/data/languages/es_ES.mo</a></li>
<li><a href="#trunktestsphpunitdatalanguageses_ESpo">trunk/tests/phpunit/data/languages/es_ES.po</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunktestsphpunitdatalanguagesadminen_GBmo"></a>
<div class="binary"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: trunk/tests/phpunit/data/languages/admin-en_GB.mo</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<span class="cx" style="display: block; padding: 0 10px">Index: trunk/tests/phpunit/data/languages/admin-en_GB.mo
</span><span class="cx" style="display: block; padding: 0 10px">===================================================================
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">--- trunk/tests/phpunit/data/languages/admin-en_GB.mo 2016-02-17 21:59:51 UTC (rev 36562)
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+++ trunk/tests/phpunit/data/languages/admin-en_GB.mo 2016-02-17 22:01:11 UTC (rev 36563)
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: trunk/tests/phpunit/data/languages/admin-en_GB.mo
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span><a id="svnmimetype"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:mime-type</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+application/octet-stream
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="trunktestsphpunitdatalanguagesadminen_GBpo"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: trunk/tests/phpunit/data/languages/admin-en_GB.po</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/data/languages/admin-en_GB.po (rev 0)
+++ trunk/tests/phpunit/data/languages/admin-en_GB.po 2016-02-17 22:01:11 UTC (rev 36563)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,34 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+# Translation of Administration in English (UK)
+# This file is distributed under the same license as the Administration package.
+msgid ""
+msgstr ""
+"PO-Revision-Date: 2015-12-07 10:23:11+0000\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=n != 1;\n"
+"X-Generator: GlotPress/1.0-alpha-1100\n"
+"Project-Id-Version: Administration\n"
+
+#: wp-admin/about.php:42 wp-admin/credits.php:23 wp-admin/freedoms.php:22
+msgid "Thank you for updating! WordPress %s makes your site more connected and responsive."
+msgstr "Thank you for updating! WordPress %s makes your site more connected and responsive."
+
+#. translators: 1: WP_Term class name, WP_Comment class name, WP_Network class
+#. name
+#: wp-admin/about.php:185
+msgid "New %1$s, %2$s, and %3$s objects make interacting with terms, comments, and networks more predictable and intuitive in code."
+msgstr "New %1$s, %2$s, and %3$s objects make interacting with terms, comments, and networks more predictable and intuitive in code."
+
+#. translators: WP_Comment_Query class name
+#: wp-admin/about.php:178
+msgid "Comment queries now have cache handling to improve performance. New arguments in %s make crafting robust comment queries simpler."
+msgstr "Comment queries now have cache handling to improve performance. New arguments in %s make crafting robust comment queries simpler."
+
+#: wp-admin/about.php:182
+msgid "Term, comment, and network objects"
+msgstr "Term, comment, and network objects"
+
+#: wp-admin/about.php:175
+msgid "Comment query improvements"
+msgstr "Comment query improvements"
</ins></span></pre></div>
<a id="trunktestsphpunitdatalanguagesadmines_ESmo"></a>
<div class="binary"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: trunk/tests/phpunit/data/languages/admin-es_ES.mo</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<span class="cx" style="display: block; padding: 0 10px">Index: trunk/tests/phpunit/data/languages/admin-es_ES.mo
</span><span class="cx" style="display: block; padding: 0 10px">===================================================================
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">--- trunk/tests/phpunit/data/languages/admin-es_ES.mo 2016-02-17 21:59:51 UTC (rev 36562)
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+++ trunk/tests/phpunit/data/languages/admin-es_ES.mo 2016-02-17 22:01:11 UTC (rev 36563)
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: trunk/tests/phpunit/data/languages/admin-es_ES.mo
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span><a id="svnmimetype"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:mime-type</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+application/octet-stream
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="trunktestsphpunitdatalanguagesadmines_ESpo"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: trunk/tests/phpunit/data/languages/admin-es_ES.po</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/data/languages/admin-es_ES.po (rev 0)
+++ trunk/tests/phpunit/data/languages/admin-es_ES.po 2016-02-17 22:01:11 UTC (rev 36563)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,34 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+# Translation of Administration in Spanish (Spain)
+# This file is distributed under the same license as the Administration package.
+msgid ""
+msgstr ""
+"PO-Revision-Date: 2015-12-22 20:26:46+0000\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=n != 1;\n"
+"X-Generator: GlotPress/1.0-alpha-1100\n"
+"Project-Id-Version: Administration\n"
+
+#: wp-admin/about.php:42 wp-admin/credits.php:23 wp-admin/freedoms.php:22
+msgid "Thank you for updating! WordPress %s makes your site more connected and responsive."
+msgstr "¡Gracias por actualizar! WordPress %s hace que tu sitio esté más conectado y sea más adaptable."
+
+#. translators: 1: WP_Term class name, WP_Comment class name, WP_Network class
+#. name
+#: wp-admin/about.php:185
+msgid "New %1$s, %2$s, and %3$s objects make interacting with terms, comments, and networks more predictable and intuitive in code."
+msgstr "Ahora los objetos %1$s, %2$s y %3$s hacen que interactuar con términos, comentarios y redes sea más predecible y que el código sea más intuitivo."
+
+#. translators: WP_Comment_Query class name
+#: wp-admin/about.php:178
+msgid "Comment queries now have cache handling to improve performance. New arguments in %s make crafting robust comment queries simpler."
+msgstr "Las consultas de comentarios ahora tiene una caché que mejora el rendimiento. Nuevos argumentos en %s hacen que sea más fácil crear consultas robustas."
+
+#: wp-admin/about.php:182
+msgid "Term, comment, and network objects"
+msgstr "Objetos de término, comentario y red"
+
+#: wp-admin/about.php:175
+msgid "Comment query improvements"
+msgstr "Mejoras en las consultas de comentarios"
</ins></span></pre></div>
<a id="trunktestsphpunitdatalanguagesadminnetworken_GBmo"></a>
<div class="binary"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: trunk/tests/phpunit/data/languages/admin-network-en_GB.mo</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<span class="cx" style="display: block; padding: 0 10px">Index: trunk/tests/phpunit/data/languages/admin-network-en_GB.mo
</span><span class="cx" style="display: block; padding: 0 10px">===================================================================
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">--- trunk/tests/phpunit/data/languages/admin-network-en_GB.mo 2016-02-17 21:59:51 UTC (rev 36562)
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+++ trunk/tests/phpunit/data/languages/admin-network-en_GB.mo 2016-02-17 22:01:11 UTC (rev 36563)
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: trunk/tests/phpunit/data/languages/admin-network-en_GB.mo
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span><a id="svnmimetype"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:mime-type</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+application/octet-stream
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="trunktestsphpunitdatalanguagesadminnetworken_GBpo"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: trunk/tests/phpunit/data/languages/admin-network-en_GB.po</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/data/languages/admin-network-en_GB.po (rev 0)
+++ trunk/tests/phpunit/data/languages/admin-network-en_GB.po 2016-02-17 22:01:11 UTC (rev 36563)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,32 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+# Translation of Network Admin in English (UK)
+# This file is distributed under the same license as the Network Admin package.
+msgid ""
+msgstr ""
+"PO-Revision-Date: 2015-11-26 00:00:19+0000\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=n != 1;\n"
+"X-Generator: GlotPress/1.0-alpha-1100\n"
+"Project-Id-Version: Network Admin\n"
+
+#: wp-admin/network/site-users.php:329 wp-admin/network/user-new.php:106
+msgid "A password reset link will be sent to the user via email."
+msgstr "A password reset link will be sent to the user via email."
+
+#. translators: 1: NOBLOGREDIRECT 2: wp-config.php
+#: wp-admin/network/settings.php:142
+msgid "If registration is disabled, please set %1$s in %2$s to a URL you will redirect visitors to if they visit a non-existent site."
+msgstr "If registration is disabled, please set %1$s in %2$s to a URL you will redirect visitors to if they visit a non-existent site."
+
+#: wp-admin/network/site-users.php:42
+msgid "Site users list"
+msgstr "Site users list"
+
+#: wp-admin/network/site-users.php:41
+msgid "Site users list navigation"
+msgstr "Site users list navigation"
+
+#: wp-admin/network/sites.php:51
+msgid "Sites list"
+msgstr "Sites list"
</ins></span></pre></div>
<a id="trunktestsphpunitdatalanguagesadminnetworkes_ESmo"></a>
<div class="binary"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: trunk/tests/phpunit/data/languages/admin-network-es_ES.mo</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<span class="cx" style="display: block; padding: 0 10px">Index: trunk/tests/phpunit/data/languages/admin-network-es_ES.mo
</span><span class="cx" style="display: block; padding: 0 10px">===================================================================
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">--- trunk/tests/phpunit/data/languages/admin-network-es_ES.mo 2016-02-17 21:59:51 UTC (rev 36562)
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+++ trunk/tests/phpunit/data/languages/admin-network-es_ES.mo 2016-02-17 22:01:11 UTC (rev 36563)
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: trunk/tests/phpunit/data/languages/admin-network-es_ES.mo
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span><a id="svnmimetype"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:mime-type</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+application/octet-stream
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="trunktestsphpunitdatalanguagesadminnetworkes_ESpo"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: trunk/tests/phpunit/data/languages/admin-network-es_ES.po</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/data/languages/admin-network-es_ES.po (rev 0)
+++ trunk/tests/phpunit/data/languages/admin-network-es_ES.po 2016-02-17 22:01:11 UTC (rev 36563)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,32 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+# Translation of Network Admin in Spanish (Spain)
+# This file is distributed under the same license as the Network Admin package.
+msgid ""
+msgstr ""
+"PO-Revision-Date: 2015-11-26 00:00:19+0000\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=n != 1;\n"
+"X-Generator: GlotPress/1.0-alpha-1100\n"
+"Project-Id-Version: Network Admin\n"
+
+#: wp-admin/network/site-users.php:329 wp-admin/network/user-new.php:106
+msgid "A password reset link will be sent to the user via email."
+msgstr "Se te enviará un enlace por email para que puedas cambiar la contraseña."
+
+#. translators: 1: NOBLOGREDIRECT 2: wp-config.php
+#: wp-admin/network/settings.php:142
+msgid "If registration is disabled, please set %1$s in %2$s to a URL you will redirect visitors to if they visit a non-existent site."
+msgstr "Si el registro de usuarios está desactivado , establece como valor de %1$s en %2$s una URL donde redirigir a los visitantes que accedan a un sitio inexistente."
+
+#: wp-admin/network/site-users.php:41
+msgid "Site users list navigation"
+msgstr "Navegación por la lista de usuarios del sitio"
+
+#: wp-admin/network/site-users.php:42
+msgid "Site users list"
+msgstr "Lista de usuarios del sitio"
+
+#: wp-admin/network/sites.php:50
+msgid "Sites list navigation"
+msgstr "Navegación por la lista de sitios"
</ins></span></pre></div>
<a id="trunktestsphpunitdatalanguagescontinentscitieses_ESmo"></a>
<div class="binary"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: trunk/tests/phpunit/data/languages/continents-cities-es_ES.mo</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<span class="cx" style="display: block; padding: 0 10px">Index: trunk/tests/phpunit/data/languages/continents-cities-es_ES.mo
</span><span class="cx" style="display: block; padding: 0 10px">===================================================================
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">--- trunk/tests/phpunit/data/languages/continents-cities-es_ES.mo 2016-02-17 21:59:51 UTC (rev 36562)
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+++ trunk/tests/phpunit/data/languages/continents-cities-es_ES.mo 2016-02-17 22:01:11 UTC (rev 36563)
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: trunk/tests/phpunit/data/languages/continents-cities-es_ES.mo
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span><a id="svnmimetype"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:mime-type</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+application/octet-stream
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="trunktestsphpunitdatalanguagescontinentscitieses_ESpo"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: trunk/tests/phpunit/data/languages/continents-cities-es_ES.po</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/data/languages/continents-cities-es_ES.po (rev 0)
+++ trunk/tests/phpunit/data/languages/continents-cities-es_ES.po 2016-02-17 22:01:11 UTC (rev 36563)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,31 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+# Translation of Continents & Cities in Spanish (Spain)
+# This file is distributed under the same license as the Continents & Cities package.
+msgid ""
+msgstr ""
+"PO-Revision-Date: 2015-12-29 10:06:29+0000\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=n != 1;\n"
+"X-Generator: GlotPress/1.0-alpha-1100\n"
+"Project-Id-Version: Continents & Cities\n"
+
+#: wp-admin/includes/continents-cities.php:140
+msgid "Vincennes"
+msgstr "Vincennes"
+
+#: wp-admin/includes/continents-cities.php:141
+msgid "Winamac"
+msgstr "Winamac"
+
+#: wp-admin/includes/continents-cities.php:142
+msgid "Inuvik"
+msgstr "Inuvik"
+
+#: wp-admin/includes/continents-cities.php:143
+msgid "Iqaluit"
+msgstr "Iqaluit"
+
+#: wp-admin/includes/continents-cities.php:144
+msgid "Jamaica"
+msgstr "Jamaica"
</ins></span></pre></div>
<a id="trunktestsphpunitdatalanguagesen_GBmo"></a>
<div class="binary"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: trunk/tests/phpunit/data/languages/en_GB.mo</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<span class="cx" style="display: block; padding: 0 10px">Index: trunk/tests/phpunit/data/languages/en_GB.mo
</span><span class="cx" style="display: block; padding: 0 10px">===================================================================
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">--- trunk/tests/phpunit/data/languages/en_GB.mo 2016-02-17 21:59:51 UTC (rev 36562)
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+++ trunk/tests/phpunit/data/languages/en_GB.mo 2016-02-17 22:01:11 UTC (rev 36563)
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: trunk/tests/phpunit/data/languages/en_GB.mo
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span><a id="svnmimetype"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:mime-type</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+application/octet-stream
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="trunktestsphpunitdatalanguagesen_GBpo"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: trunk/tests/phpunit/data/languages/en_GB.po</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/data/languages/en_GB.po (rev 0)
+++ trunk/tests/phpunit/data/languages/en_GB.po 2016-02-17 22:01:11 UTC (rev 36563)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,37 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+# Translation of Development (4.4.x) in English (UK)
+# This file is distributed under the same license as the Development (4.4.x) package.
+msgid ""
+msgstr ""
+"PO-Revision-Date: 2016-01-14 21:14:29+0000\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=n != 1;\n"
+"X-Generator: GlotPress/1.0-alpha-1100\n"
+"Project-Id-Version: Development (4.4.x)\n"
+
+#. translators: 'rtl' or 'ltr'. This sets the text direction for WordPress.
+#: wp-includes/locale.php:201
+msgctxt "text direction"
+msgid "ltr"
+msgstr "ltr"
+
+#: wp-includes/user.php:2132
+msgid "<strong>ERROR</strong>: Sorry, that username is not allowed."
+msgstr "<strong>ERROR</strong>: Sorry, that username is not allowed."
+
+#: wp-includes/rest-api/class-wp-rest-request.php:850
+msgid "Invalid parameter."
+msgstr "Invalid parameter."
+
+#. translators: %s: menu name
+#: wp-includes/customize/class-wp-customize-nav-menu-control.php:76
+msgctxt "menu location"
+msgid "(Current: %s)"
+msgstr "(Current: %s)"
+
+#. translators: %s: menu location slug
+#: wp-includes/class-wp-customize-nav-menus.php:340
+msgctxt "menu"
+msgid "(Currently set to: %s)"
+msgstr "(Currently set to: %s)"
</ins></span></pre></div>
<a id="trunktestsphpunitdatalanguageses_ESmo"></a>
<div class="binary"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: trunk/tests/phpunit/data/languages/es_ES.mo</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<span class="cx" style="display: block; padding: 0 10px">Index: trunk/tests/phpunit/data/languages/es_ES.mo
</span><span class="cx" style="display: block; padding: 0 10px">===================================================================
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">--- trunk/tests/phpunit/data/languages/es_ES.mo 2016-02-17 21:59:51 UTC (rev 36562)
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+++ trunk/tests/phpunit/data/languages/es_ES.mo 2016-02-17 22:01:11 UTC (rev 36563)
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: trunk/tests/phpunit/data/languages/es_ES.mo
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span><a id="svnmimetype"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:mime-type</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+application/octet-stream
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="trunktestsphpunitdatalanguageses_ESpo"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: trunk/tests/phpunit/data/languages/es_ES.po</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/data/languages/es_ES.po (rev 0)
+++ trunk/tests/phpunit/data/languages/es_ES.po 2016-02-17 22:01:11 UTC (rev 36563)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,37 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+# Translation of Development (4.4.x) in Spanish (Spain)
+# This file is distributed under the same license as the Development (4.4.x) package.
+msgid ""
+msgstr ""
+"PO-Revision-Date: 2016-01-07 18:35:45+0000\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=n != 1;\n"
+"X-Generator: GlotPress/1.0-alpha-1100\n"
+"Project-Id-Version: Development (4.4.x)\n"
+
+#. translators: 'rtl' or 'ltr'. This sets the text direction for WordPress.
+#: wp-includes/locale.php:201
+msgctxt "text direction"
+msgid "ltr"
+msgstr "ltr"
+
+#: wp-includes/user.php:2132
+msgid "<strong>ERROR</strong>: Sorry, that username is not allowed."
+msgstr "<strong>ERROR</strong>: Lo siento, ese nombre de usuario no está permitido."
+
+#: wp-includes/rest-api/class-wp-rest-request.php:850
+msgid "Invalid parameter."
+msgstr "Parámetro no válido. "
+
+#. translators: %s: menu name
+#: wp-includes/customize/class-wp-customize-nav-menu-control.php:76
+msgctxt "menu location"
+msgid "(Current: %s)"
+msgstr "(Actual: %s)"
+
+#. translators: %s: menu location slug
+#: wp-includes/class-wp-customize-nav-menus.php:340
+msgctxt "menu"
+msgid "(Currently set to: %s)"
+msgstr "(Actualmente fijado en: %s)"
</ins></span></pre></div>
<a id="trunktestsphpunitincludesbootstrapphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/includes/bootstrap.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/includes/bootstrap.php 2016-02-17 21:59:51 UTC (rev 36562)
+++ trunk/tests/phpunit/includes/bootstrap.php 2016-02-17 22:01:11 UTC (rev 36563)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -26,6 +26,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> define( 'WP_TESTS_TABLE_PREFIX', $table_prefix );
</span><span class="cx" style="display: block; padding: 0 10px"> define( 'DIR_TESTDATA', dirname( __FILE__ ) . '/../data' );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+define( 'WP_LANG_DIR', DIR_TESTDATA . '/languages' );
+
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( ! defined( 'WP_TESTS_FORCE_KNOWN_BUGS' ) )
</span><span class="cx" style="display: block; padding: 0 10px"> define( 'WP_TESTS_FORCE_KNOWN_BUGS', false );
</span><span class="cx" style="display: block; padding: 0 10px">
</span></span></pre></div>
<a id="trunktestsphpunittestsl10nphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/l10n.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/l10n.php 2016-02-17 21:59:51 UTC (rev 36562)
+++ trunk/tests/phpunit/tests/l10n.php 2016-02-17 22:01:11 UTC (rev 36563)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -46,4 +46,26 @@
</span><span class="cx" style="display: block; padding: 0 10px"> __( 'just some string', 'wp-tests-domain' );
</span><span class="cx" style="display: block; padding: 0 10px"> $this->assertFalse( is_textdomain_loaded( 'wp-tests-domain' ) );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
+ /**
+ * @ticket 35284
+ */
+ function test_wp_get_installed_translations_for_core() {
+ $installed_translations = wp_get_installed_translations( 'core' );
+ $this->assertInternalType( 'array', $installed_translations );
+ $textdomains_expected = array( 'admin', 'admin-network', 'continents-cities', 'default' );
+ $this->assertEqualSets( $textdomains_expected, array_keys( $installed_translations ) );
+
+ $this->assertNotEmpty( $installed_translations['default']['en_GB'] );
+ $data_en_GB = $installed_translations['default']['en_GB'];
+ $this->assertEquals( '2016-01-14 21:14:29+0000', $data_en_GB['PO-Revision-Date'] );
+ $this->assertEquals( 'Development (4.4.x)', $data_en_GB['Project-Id-Version'] );
+ $this->assertEquals( 'GlotPress/1.0-alpha-1100', $data_en_GB['X-Generator'] );
+
+ $this->assertNotEmpty( $installed_translations['admin']['es_ES'] );
+ $data_es_ES = $installed_translations['admin']['es_ES'];
+ $this->assertEquals( '2015-12-22 20:26:46+0000', $data_es_ES['PO-Revision-Date'] );
+ $this->assertEquals( 'Administration', $data_es_ES['Project-Id-Version'] );
+ $this->assertEquals( 'GlotPress/1.0-alpha-1100', $data_es_ES['X-Generator'] );
+ }
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span></span></pre>
</div>
</div>
</body>
</html>