[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: www/media/includes
From: Albert Astals Cid <tsdgeos () terra ! es>
Date: 2011-07-26 14:06:55
Message-ID: 20110726140655.C4834AC86A () svn ! kde ! org
[Download RAW message or body]
SVN commit 1243280 by aacid:
switch around the xtest compare order
M +8 -8 functions.inc
--- trunk/www/media/includes/functions.inc #1243279:1243280
@@ -221,15 +221,15 @@
}
else
{
- if (array_key_exists($translate, $text))
+ if ($enable_xtest and $site_locale == "x-test")
{
- $result = $text[$translate];
+ $result = "x".$translate."x";
}
else
{
- if ($enable_xtest and $site_locale == "x-test")
+ if (array_key_exists($translate, $text))
{
- $result = "x".$translate."x";
+ $result = $text[$translate];
}
else
{
@@ -256,15 +256,15 @@
}
else
{
- if (array_key_exists($translate, $text))
+ if ($enable_xtest and $site_locale == "x-test")
{
- print $text[$translate];
+ print "x".$translate."x";
}
else
{
- if ($enable_xtest and $site_locale == "x-test")
+ if (array_key_exists($translate, $text))
{
- print "x".$translate."x";
+ print $text[$translate];
}
else
{
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic