Code

Synced true/false -> on/off with translations
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 29 Nov 2010 08:49:18 +0000 (08:49 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 29 Nov 2010 08:49:18 +0000 (08:49 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20399 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/addons/propertyEditor/class_propertyEditor.inc

index 485f28609cc855509d44e6b0f7292107068f44da..cba453763cfbbf45b54746bda336a9a49a741b77 100644 (file)
@@ -227,8 +227,8 @@ class propertyEditor extends management
                 $res = "<select size=1 name=\"{$name}\" style='width:{$ssize}'>";
                 $false = (preg_match('/true/i', $value)) ? '' : "selected";
                 $true  = (preg_match('/true/i', $value)) ? "selected" : '';
-                $res.= "<option {$false} value='false'>"._("FALSE")."</option>";
-                $res.= "<option {$true} value='true'>"._("TRUE")."</option>";
+                $res.= "<option {$false} value='false'>"._("Off")."</option>";
+                $res.= "<option {$true} value='true'>"._("On")."</option>";
                 $res.= "</select>";
             case 'switch':
                 if(!empty($defaults[0])){