[PATCH] Don't offer to compare English(US) with English(US)
Paul Vriens
Paul.Vriens.Wine at gmail.com
Fri Jul 17 04:33:48 CDT 2009
---
transl/php/resource.php | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/transl/php/resource.php b/transl/php/resource.php
index 877c363..e86fe8c 100644
--- a/transl/php/resource.php
+++ b/transl/php/resource.php
@@ -68,10 +68,13 @@ if ($compare)
if (!$compare)
{
- echo "<tr class=\"subheader\"><td colspan=\"3\" style=\"text-align: right\">";
- echo "<small>".gen_resource_a($lang, $resfile, $type, $id, TRUE);
- echo "Compare with ".$MASTER_LANGUAGE_NAME." >></a></small>";
- echo "</td></tr>";
+ if ($lang != $MASTER_LANGUAGE)
+ {
+ echo "<tr class=\"subheader\"><td colspan=\"3\" style=\"text-align: right\">";
+ echo "<small>".gen_resource_a($lang, $resfile, $type, $id, TRUE);
+ echo "Compare with ".$MASTER_LANGUAGE_NAME." >></a></small>";
+ echo "</td></tr>";
+ }
}
else
{
--
1.6.0.6
--------------060307090100080907030507--
More information about the wine-patches
mailing list