<!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>[GlotPress][696] trunk/locales/locales.php: Remove trailing whitespace</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, #logmsg > ol { margin-left: 0; 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">
<dt>Revision</dt> <dd><a href="https://glotpress.trac.wordpress.org/changeset/696">696</a></dd>
<dt>Author</dt> <dd>nbachiyski</dd>
<dt>Date</dt> <dd>2012-06-18 17:27:08 +0000 (Mon, 18 Jun 2012)</dd>
</dl>
<h3>Log Message</h3>
<pre>Remove trailing whitespace</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunklocaleslocalesphp">trunk/locales/locales.php</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunklocaleslocalesphp"></a>
<div class="modfile"><h4>Modified: trunk/locales/locales.php (695 => 696)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/locales/locales.php        2012-06-05 11:25:42 UTC (rev 695)
+++ trunk/locales/locales.php        2012-06-18 17:27:08 UTC (rev 696)
</span><span class="lines">@@ -13,22 +13,22 @@
</span><span class="cx">         var $preferred_sans_serif_font_family = null;
</span><span class="cx">         var $facebook_locale = null;
</span><span class="cx">         // TODO: days, months, decimals, quotes
</span><del>-        
</del><ins>+
</ins><span class="cx">         function GP_Locale( $args = array() ) {
</span><span class="cx">                 foreach( $args as $key => $value ) {
</span><span class="cx">                         $this->$key = $value;
</span><span class="cx">                 }
</span><span class="cx">         }
</span><del>-        
</del><ins>+
</ins><span class="cx">         static function __set_state( $state ) {
</span><span class="cx">                 return new GP_Locale( $state );
</span><span class="cx">         }
</span><del>-        
</del><ins>+
</ins><span class="cx">         function combined_name() {
</span><span class="cx">                 /* translators: combined name for locales: 1: name in English, 2: native name */
</span><span class="cx">                 return sprintf( _x( '%1$s/%2$s', 'locales' ), $this->english_name, $this->native_name );
</span><span class="cx">         }
</span><del>-        
</del><ins>+
</ins><span class="cx">         function numbers_for_index( $index, $how_many = 3, $test_up_to = 1000 ) {
</span><span class="cx">                 $numbers = array();
</span><span class="cx">                 for( $number = 0; $number < $test_up_to; ++$number ) {
</span><span class="lines">@@ -39,7 +39,7 @@
</span><span class="cx">                 }
</span><span class="cx">                 return $numbers;
</span><span class="cx">         }
</span><del>-        
</del><ins>+
</ins><span class="cx">         function index_for_number( $number ) {
</span><span class="cx">                 if ( !isset( $this->_index_for_number ) ) {
</span><span class="cx">                         $expression = Gettext_Translations::parenthesize_plural_exression( $this->plural_expression );
</span><span class="lines">@@ -51,9 +51,9 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> class GP_Locales {
</span><del>-        
</del><ins>+
</ins><span class="cx">         var $locales = array();
</span><del>-        
</del><ins>+
</ins><span class="cx">         function GP_Locales() {
</span><span class="cx">                 $aa = new GP_Locale();
</span><span class="cx">                 $aa->english_name = 'Afar';
</span><span class="lines">@@ -144,7 +144,7 @@
</span><span class="cx">                 $av->native_name = 'авар мацӀ';
</span><span class="cx">                 $av->lang_code_iso_639_1 = 'av';
</span><span class="cx">                 $av->lang_code_iso_639_2 = 'ava';
</span><del>-                $av->country_code = '';                
</del><ins>+                $av->country_code = '';
</ins><span class="cx">                 $av->slug = 'av';
</span><span class="cx">
</span><span class="cx">                 $ay = new GP_Locale();
</span><span class="lines">@@ -167,7 +167,7 @@
</span><span class="cx">                 $az->slug = 'az';
</span><span class="cx">                 $az->google_code = 'az';
</span><span class="cx">                 $az->facebook_locale = 'az_AZ';
</span><del>-                
</del><ins>+
</ins><span class="cx">                 $az_tr = new GP_Locale();
</span><span class="cx">                 $az_tr->english_name = 'Azerbaijani (Turkey)';
</span><span class="cx">                 $az_tr->native_name = 'Azərbaycan Türkcəsi';
</span><span class="lines">@@ -398,7 +398,7 @@
</span><span class="cx">                 $da->slug = 'da';
</span><span class="cx">                 $da->google_code = 'da';
</span><span class="cx">                 $da->facebook_locale = 'da_DK';
</span><del>-                
</del><ins>+
</ins><span class="cx">                 $de = new GP_Locale();
</span><span class="cx">                 $de->english_name = 'German';
</span><span class="cx">                 $de->native_name = 'Deutsch';
</span><span class="lines">@@ -408,7 +408,7 @@
</span><span class="cx">                 $de->slug = 'de';
</span><span class="cx">                 $de->google_code = 'de';
</span><span class="cx">                 $de->facebook_locale = 'de_DE';
</span><del>-                
</del><ins>+
</ins><span class="cx">                 $dv = new GP_Locale();
</span><span class="cx">                 $dv->english_name = 'Divehi';
</span><span class="cx">                 $dv->native_name = 'ދިވެހި';
</span><span class="lines">@@ -419,7 +419,7 @@
</span><span class="cx">                 $dv->slug = 'dv';
</span><span class="cx">                 $dv->google_code = 'dv';
</span><span class="cx">                 $dv->rtl = true;
</span><del>-                
</del><ins>+
</ins><span class="cx">                 $dz = new GP_Locale();
</span><span class="cx">                 $dz->english_name = 'Dzongkha';
</span><span class="cx">                 $dz->native_name = 'རྫོང་ཁ';
</span><span class="lines">@@ -429,7 +429,7 @@
</span><span class="cx">                 $dz->slug = 'dz';
</span><span class="cx">                 $dz->nplurals = 1;
</span><span class="cx">                 $dz->plural_expression = '0';
</span><del>-                
</del><ins>+
</ins><span class="cx">                 $ee = new GP_Locale();
</span><span class="cx">                 $ee->english_name = 'Ewe';
</span><span class="cx">                 $ee->native_name = 'Eʋegbe';
</span><span class="lines">@@ -456,7 +456,7 @@
</span><span class="cx">                 $el->slug = 'el';
</span><span class="cx">                 $el->google_code = 'el';
</span><span class="cx">                 $el->facebook_locale = 'el_GR';
</span><del>-                
</del><ins>+
</ins><span class="cx">                 $en = new GP_Locale();
</span><span class="cx">                 $en->english_name = 'English';
</span><span class="cx">                 $en->native_name = 'English';
</span><span class="lines">@@ -466,28 +466,28 @@
</span><span class="cx">                 $en->slug = 'en';
</span><span class="cx">                 $en->google_code = 'en';
</span><span class="cx">                 $en->facebook_locale = 'en_US';
</span><del>-                
</del><ins>+
</ins><span class="cx">                 $en_ca = new GP_Locale();
</span><span class="cx">                 $en_ca->english_name = 'English (Canada)';
</span><span class="cx">                 $en_ca->native_name = 'English (Canada)';
</span><span class="cx">                 $en_ca->lang_code_iso_639_1 = 'en';
</span><del>-                $en_ca->lang_code_iso_639_2 = 'eng';                
</del><ins>+                $en_ca->lang_code_iso_639_2 = 'eng';
</ins><span class="cx">                 $en_ca->lang_code_iso_639_3 = 'eng';
</span><span class="cx">                 $en_ca->country_code = 'ca';
</span><span class="cx">                 $en_ca->wp_locale = 'en_CA';
</span><span class="cx">                 $en_ca->slug = 'en-ca';
</span><span class="cx">                 $en_ca->google_code = 'en';
</span><del>-                                
</del><ins>+
</ins><span class="cx">                 $en_gb = new GP_Locale();
</span><span class="cx">                 $en_gb->english_name = 'English (UK)';
</span><span class="cx">                 $en_gb->native_name = 'English (UK)';
</span><span class="cx">                 $en_gb->lang_code_iso_639_1 = 'en';
</span><del>-                $en_gb->lang_code_iso_639_2 = 'eng';                
</del><ins>+                $en_gb->lang_code_iso_639_2 = 'eng';
</ins><span class="cx">                 $en_gb->lang_code_iso_639_3 = 'eng';
</span><span class="cx">                 $en_gb->country_code = 'gb';
</span><span class="cx">                 $en_gb->wp_locale = 'en_GB';
</span><span class="cx">                 $en_gb->slug = 'en-gb';
</span><del>-                $en_gb->google_code = 'en';                
</del><ins>+                $en_gb->google_code = 'en';
</ins><span class="cx">                 $en_gb->facebook_locale = 'en_GB';
</span><span class="cx">
</span><span class="cx">                 $eo = new GP_Locale();
</span><span class="lines">@@ -533,7 +533,7 @@
</span><span class="cx">                 $es_pr->slug = 'es-pr';
</span><span class="cx">                 $es_pr->google_code = 'es';
</span><span class="cx">                 $es_pr->facebook_locale = 'es_LA';
</span><del>-                
</del><ins>+
</ins><span class="cx">                 $es_ve = new GP_Locale();
</span><span class="cx">                 $es_ve->english_name = 'Spanish (Venezuela)';
</span><span class="cx">                 $es_ve->native_name = 'Español de Venezuela';
</span><span class="lines">@@ -565,7 +565,7 @@
</span><span class="cx">                 $es->slug = 'es';
</span><span class="cx">                 $es->google_code = 'es';
</span><span class="cx">                 $es->facebook_locale = 'es_ES';
</span><del>-                
</del><ins>+
</ins><span class="cx">                 $et = new GP_Locale();
</span><span class="cx">                 $et->english_name = 'Estonian';
</span><span class="cx">                 $et->native_name = 'Eesti';
</span><span class="lines">@@ -601,7 +601,7 @@
</span><span class="cx">                 $fa->nplurals = 1;
</span><span class="cx">                 $fa->plural_expression = '0';
</span><span class="cx">                 $fa->rtl = true;
</span><del>-                
</del><ins>+
</ins><span class="cx">                 $fa_af = new GP_Locale();
</span><span class="cx">                 $fa_af->english_name = 'Persian (Afghanistan)';
</span><span class="cx">                 $fa_af->native_name = '(فارسی (افغانستان';
</span><span class="lines">@@ -614,7 +614,7 @@
</span><span class="cx">                 $fa_af->nplurals = 1;
</span><span class="cx">                 $fa_af->plural_expression = '0';
</span><span class="cx">                 $fa_af->rtl = true;
</span><del>-                
</del><ins>+
</ins><span class="cx">                 $fi = new GP_Locale();
</span><span class="cx">                 $fi->english_name = 'Finnish';
</span><span class="cx">                 $fi->native_name = 'Suomi';
</span><span class="lines">@@ -643,7 +643,7 @@
</span><span class="cx">                 $fo->wp_locale = 'fo';
</span><span class="cx">                 $fo->slug = 'fo';
</span><span class="cx">                 $fo->facebook_locale = 'fo_FO';
</span><del>-                
</del><ins>+
</ins><span class="cx">                 $fr = new GP_Locale();
</span><span class="cx">                 $fr->english_name = 'French (France)';
</span><span class="cx">                 $fr->native_name = 'Français';
</span><span class="lines">@@ -691,7 +691,7 @@
</span><span class="cx">                  $fy->facebook_locale = 'fy_NL';
</span><span class="cx">                  $fy->slug = 'fy';
</span><span class="cx">                  $fy->wp_locale = 'fy';
</span><del>-
</del><ins>+
</ins><span class="cx">                 $ga = new GP_Locale();
</span><span class="cx">                 $ga->english_name = 'Irish';
</span><span class="cx">                 $ga->native_name = 'Gaelige';
</span><span class="lines">@@ -703,7 +703,7 @@
</span><span class="cx">                 $ga->facebook_locale = 'ga_IE';
</span><span class="cx">                 $ga->nplurals = 5;
</span><span class="cx">                 $ga->plural_expression = 'n==1 ? 0 : n==2 ? 1 : n<7 ? 2 : n<11 ? 3 : 4';
</span><del>-                
</del><ins>+
</ins><span class="cx">                 $gd = new GP_Locale();
</span><span class="cx">                 $gd->english_name = 'Scottish Gaelic';
</span><span class="cx">                 $gd->native_name = 'Gàidhlig';
</span><span class="lines">@@ -715,7 +715,7 @@
</span><span class="cx">                 $gd->slug = 'gd';
</span><span class="cx">                 $gd->google_code = 'gd';
</span><span class="cx">                 $gd->nplurals = 4;
</span><del>-                $gd->plural_expression = '(n==1 || n==11) ? 0 : (n==2 || n==12) ? 1 : (n > 2 && n < 20) ? 2 : 3';                
</del><ins>+                $gd->plural_expression = '(n==1 || n==11) ? 0 : (n==2 || n==12) ? 1 : (n > 2 && n < 20) ? 2 : 3';
</ins><span class="cx">
</span><span class="cx">                 $gl = new GP_Locale();
</span><span class="cx">                 $gl->english_name = 'Galician';
</span><span class="lines">@@ -755,7 +755,7 @@
</span><span class="cx">                 $ha->country_code = '';
</span><span class="cx">                 $ha->slug = 'ha';
</span><span class="cx">                 $ha->rtl = true;
</span><del>-                
</del><ins>+
</ins><span class="cx">                 $haw = new GP_Locale();
</span><span class="cx">                 $haw->english_name = 'Hawaiian';
</span><span class="cx">                 $haw->native_name = 'Ōlelo Hawaiʻi';
</span><span class="lines">@@ -1007,18 +1007,18 @@
</span><span class="cx">                 $lb->country_code = 'lu';
</span><span class="cx">                 $lb->wp_locale = 'lb_LU';
</span><span class="cx">                 $lb->slug = 'lb';
</span><del>-                
</del><ins>+
</ins><span class="cx">                 $li = new GP_Locale();
</span><span class="cx">                 $li->english_name = 'Limburgish';
</span><span class="cx">                 $li->native_name = 'Limburgs';
</span><span class="cx">                 $li->lang_code_iso_639_1 = 'li';
</span><span class="cx">                 $li->lang_code_iso_639_2 = 'lim';
</span><del>-                $li->lang_code_iso_639_3 = 'lim';                
</del><ins>+                $li->lang_code_iso_639_3 = 'lim';
</ins><span class="cx">                 $li->country_code = 'nl';
</span><span class="cx">                 $li->wp_locale = 'li';
</span><span class="cx">                 $li->slug = 'li';
</span><span class="cx">                 $li->google_code = 'li';
</span><del>-                
</del><ins>+
</ins><span class="cx">                 $lo = new GP_Locale();
</span><span class="cx">                 $lo->english_name = 'Lao';
</span><span class="cx">                 $lo->native_name = 'ພາສາລາວ';
</span><span class="lines">@@ -1055,7 +1055,7 @@
</span><span class="cx">                 $lv->facebook_locale = 'lv_LV';
</span><span class="cx">                 $lv->nplurals = 3;
</span><span class="cx">                 $lv->plural_expression = '(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2)';
</span><del>-                
</del><ins>+
</ins><span class="cx">                 $me = new GP_Locale();
</span><span class="cx">                 $me->english_name = 'Montenegrin';
</span><span class="cx">                 $me->native_name = 'Crnogorski jezik';
</span><span class="lines">@@ -1064,7 +1064,7 @@
</span><span class="cx">                 $me->wp_locale = 'me_ME';
</span><span class="cx">                 $me->google_code = 'srp';
</span><span class="cx">                 $me->slug = 'me';
</span><del>-                
</del><ins>+
</ins><span class="cx">                 $mg = new GP_Locale();
</span><span class="cx">                 $mg->english_name = 'Malagasy';
</span><span class="cx">                 $mg->native_name = 'Malagasy';
</span><span class="lines">@@ -1073,7 +1073,7 @@
</span><span class="cx">                 $mg->country_code = 'mg';
</span><span class="cx">                 $mg->wp_locale = 'mg_MG';
</span><span class="cx">                 $mg->slug = 'mg';
</span><del>-                
</del><ins>+
</ins><span class="cx">                 $mhr = new GP_Locale();
</span><span class="cx">                 $mhr->english_name = 'Mari (Meadow)';
</span><span class="cx">                 $mhr->native_name = 'олык марий';
</span><span class="lines">@@ -1082,8 +1082,8 @@
</span><span class="cx">                 $mhr->lang_code_iso_639_3 = 'mhr';
</span><span class="cx">                 $mhr->country_code = 'ru';
</span><span class="cx">                 $mhr->slug = 'mhr';
</span><del>-                $mhr->google_code = 'chm';        
-                                
</del><ins>+                $mhr->google_code = 'chm';
+
</ins><span class="cx">                 $mk = new GP_Locale();
</span><span class="cx">                 $mk->english_name = 'Macedonian';
</span><span class="cx">                 $mk->native_name = 'македонски јазик';
</span><span class="lines">@@ -1125,7 +1125,7 @@
</span><span class="cx">                 $mr->country_code = '';
</span><span class="cx">                 $mr->slug = 'mr';
</span><span class="cx">                 $mr->google_code = 'mr';
</span><del>-                
</del><ins>+
</ins><span class="cx">                 $mrj = new GP_Locale();
</span><span class="cx">                 $mrj->english_name = 'Mari (Hill)';
</span><span class="cx">                 $mrj->native_name = 'кырык мары';
</span><span class="lines">@@ -1134,7 +1134,7 @@
</span><span class="cx">                 $mrj->lang_code_iso_639_3 = 'mrj';
</span><span class="cx">                 $mrj->country_code = 'ru';
</span><span class="cx">                 $mrj->slug = 'mrj';
</span><del>-                $mrj->google_code = 'chm';                
</del><ins>+                $mrj->google_code = 'chm';
</ins><span class="cx">
</span><span class="cx">                 $ms = new GP_Locale();
</span><span class="cx">                 $ms->english_name = 'Malay';
</span><span class="lines">@@ -1208,7 +1208,7 @@
</span><span class="cx">                 $nl_be->wp_locale = 'nl_BE';
</span><span class="cx">                 $nl_be->slug = 'nl-be';
</span><span class="cx">                 $nl_be->google_code = 'nl';
</span><del>-                
</del><ins>+
</ins><span class="cx">                 $nn = new GP_Locale();
</span><span class="cx">                 $nn->english_name = 'Norwegian (Nynorsk)';
</span><span class="cx">                 $nn->native_name = 'Norsk nynorsk';
</span><span class="lines">@@ -1244,7 +1244,7 @@
</span><span class="cx">                 $os->wp_locale = 'os';
</span><span class="cx">                 $os->country_code = '';
</span><span class="cx">                 $os->slug = 'os';
</span><del>-                
</del><ins>+
</ins><span class="cx">                 $pa = new GP_Locale();
</span><span class="cx">                 $pa->english_name = 'Punjabi';
</span><span class="cx">                 $pa->native_name = 'ਪੰਜਾਬੀ';
</span><span class="lines">@@ -1281,7 +1281,7 @@
</span><span class="cx">                 $pt_br->facebook_locale = 'pt_BR';
</span><span class="cx">                 $pt_br->nplurals = 2;
</span><span class="cx">                 $pt_br->plural_expression = '(n > 1)';
</span><del>-                
</del><ins>+
</ins><span class="cx">                 $pt = new GP_Locale();
</span><span class="cx">                 $pt->english_name = 'Portuguese (Portugal)';
</span><span class="cx">                 $pt->native_name = 'Português';
</span><span class="lines">@@ -1291,7 +1291,7 @@
</span><span class="cx">                 $pt->slug = 'pt';
</span><span class="cx">                 $pt->google_code = 'pt-PT';
</span><span class="cx">                 $pt->facebook_locale = 'pt_PT';
</span><del>-                
</del><ins>+
</ins><span class="cx">                 $ps = new GP_Locale();
</span><span class="cx">                 $ps->english_name = 'Pashto';
</span><span class="cx">                 $ps->native_name = 'پښتو';
</span><span class="lines">@@ -1301,7 +1301,7 @@
</span><span class="cx">                 $ps->slug = 'ps';
</span><span class="cx">                 $ps->google_code = 'ps';
</span><span class="cx">                 $ps->facebook_locale = 'ps_AF';
</span><del>-                $ps->rtl = true;                
</del><ins>+                $ps->rtl = true;
</ins><span class="cx">
</span><span class="cx">                 $ro = new GP_Locale();
</span><span class="cx">                 $ro->english_name = 'Romanian';
</span><span class="lines">@@ -1340,7 +1340,7 @@
</span><span class="cx">                 $ru_ua->google_code = 'ru';
</span><span class="cx">                 $ru_ua->nplurals = 3;
</span><span class="cx">                 $ru_ua->plural_expression = '(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)';
</span><del>-        
</del><ins>+
</ins><span class="cx">                 $rue = new GP_Locale();
</span><span class="cx">                 $rue->english_name = 'Rusyn';
</span><span class="cx">                 $rue->native_name = 'Русиньскый';
</span><span class="lines">@@ -1351,8 +1351,8 @@
</span><span class="cx">                 $rue->wp_locale = 'rue';
</span><span class="cx">                 $rue->slug = 'rue';
</span><span class="cx">                 $rue->nplurals = 3;
</span><del>-                $rue->plural_expression = '(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)';                
-                
</del><ins>+                $rue->plural_expression = '(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)';
+
</ins><span class="cx">                 $rup = new GP_Locale();
</span><span class="cx">                 $rup->english_name = 'Aromanian';
</span><span class="cx">                 $rup->native_name = 'Armãneashce';
</span><span class="lines">@@ -1427,18 +1427,18 @@
</span><span class="cx">                 $sl->facebook_locale = 'sl_SI';
</span><span class="cx">                 $sl->nplurals = 4;
</span><span class="cx">                 $sl->plural_expression = '(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3)';
</span><del>-                
</del><ins>+
</ins><span class="cx">                 $so = new GP_Locale();
</span><span class="cx">                 $so->english_name = 'Somali';
</span><span class="cx">                 $so->native_name = 'Afsoomaali';
</span><span class="cx">                 $so->lang_code_iso_639_1 = 'so';
</span><span class="cx">                 $so->lang_code_iso_639_2 = 'som';
</span><del>-                $so->lang_code_iso_639_3 = 'som';                
</del><ins>+                $so->lang_code_iso_639_3 = 'som';
</ins><span class="cx">                 $so->country_code = 'so';
</span><span class="cx">                 $so->wp_locale = 'so_SO';
</span><span class="cx">                 $so->slug = 'so';
</span><span class="cx">                 $so->google_code = 'so';
</span><del>-                
</del><ins>+
</ins><span class="cx">                 $sq = new GP_Locale();
</span><span class="cx">                 $sq->english_name = 'Albanian';
</span><span class="cx">                 $sq->native_name = 'Shqip';
</span><span class="lines">@@ -1515,7 +1515,7 @@
</span><span class="cx">                 $ta->slug = 'ta';
</span><span class="cx">                 $ta->google_code = 'ta';
</span><span class="cx">                 $ta->facebook_locale = 'ta_IN';
</span><del>-                
</del><ins>+
</ins><span class="cx">                 $ta_lk = new GP_Locale();
</span><span class="cx">                 $ta_lk->english_name = 'Tamil (Sri Lanka)';
</span><span class="cx">                 $ta_lk->native_name = 'தமிழ்';
</span><span class="lines">@@ -1549,7 +1549,7 @@
</span><span class="cx">                 $th->facebook_locale = 'th_TH';
</span><span class="cx">                 $th->nplurals = 1;
</span><span class="cx">                 $th->plural_expression = '0';
</span><del>-                
</del><ins>+
</ins><span class="cx">                 $tlh = new GP_Locale();
</span><span class="cx">                 $tlh->english_name = 'Klingon';
</span><span class="cx">                 $tlh->native_name = 'TlhIngan';
</span><span class="lines">@@ -1744,28 +1744,28 @@
</span><span class="cx">                 $zh->slug = 'zh';
</span><span class="cx">                 $zh->nplurals = 1;
</span><span class="cx">                 $zh->plural_expression = '0';
</span><del>-                
</del><ins>+
</ins><span class="cx">                 foreach( get_defined_vars() as $locale ) {
</span><span class="cx">                         $this->locales[$locale->slug] = $locale;
</span><span class="cx">                 }
</span><span class="cx">         }
</span><del>-        
</del><ins>+
</ins><span class="cx">         function &instance() {
</span><span class="cx">                 if ( !isset( $GLOBALS['gp_locales'] ) )
</span><span class="cx">                         $GLOBALS['gp_locales'] = new GP_Locales;
</span><span class="cx">                 return $GLOBALS['gp_locales'];
</span><span class="cx">         }
</span><del>-        
</del><ins>+
</ins><span class="cx">         function locales() {
</span><span class="cx">                 $instance = GP_Locales::instance();
</span><span class="cx">                 return $instance->locales;
</span><span class="cx">         }
</span><del>-        
</del><ins>+
</ins><span class="cx">         function exists( $slug ) {
</span><span class="cx">                 $instance = GP_Locales::instance();
</span><span class="cx">                 return isset( $instance->locales[$slug] );
</span><span class="cx">         }
</span><del>-        
</del><ins>+
</ins><span class="cx">         function by_slug( $slug ) {
</span><span class="cx">                 $instance = GP_Locales::instance();
</span><span class="cx">                 return isset( $instance->locales[$slug] )? $instance->locales[$slug] : null;
</span></span></pre>
</div>
</div>
</body>
</html>