From 804c28b388b04db629676038b198852697de721e Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 23 Mar 2004 17:02:34 +0000 Subject: [PATCH] some fixes in the translation for check_install --- setup/check_install.php | 17 +++++++++-------- setup/lang/phpgw_de.lang | 5 ++--- setup/lang/phpgw_en.lang | 3 +-- 3 files changed, 12 insertions(+), 13 deletions(-) diff --git a/setup/check_install.php b/setup/check_install.php index 7b8d1ff533..f41d59b707 100644 --- a/setup/check_install.php +++ b/setup/check_install.php @@ -253,15 +253,16 @@ { $owner = function_exists('posix_getpwuid') ? posix_getpwuid(@fileowner($name)) : array('name' => 'nn'); $group = function_exists('posix_getgrgid') ? posix_getgrgid(@filegroup($name)) : array('name' => 'nn'); - - $checks = array(); - if (isset($args['is_writable'])) $checks[] = (!$args['is_writable']?'not ':'').lang('writable by webserver'); - if (isset($args['is_world_readable'])) $checks[] = (!$args['is_world_readable']?lang('not').' ':'').lang('world readable'); - if (isset($args['is_world_writable'])) $checks[] = (!$args['is_world_writable']?lang('not').' ':'').lang('world writable'); - $checks = implode(', ',$checks); - $perms = "$owner[name]/$group[name] ".verbosePerms(@fileperms($name)); } + + $checks = array(); + if (isset($args['is_readable'])) $checks[] = (!$args['is_readable']?'not ':'').lang('readable by the webserver'); + if (isset($args['is_writable'])) $checks[] = (!$args['is_writable']?'not ':'').lang('writable by the webserver'); + if (isset($args['is_world_readable'])) $checks[] = (!$args['is_world_readable']?lang('not').' ':'').lang('world readable'); + if (isset($args['is_world_writable'])) $checks[] = (!$args['is_world_writable']?lang('not').' ':'').lang('world writable'); + $checks = implode(', ',$checks); + $icon = $passed_icon; $msg = lang('Checking file-permissions of %1 for %2: %3',$rel_name,$checks,$perms)."\n"; @@ -281,7 +282,7 @@ $Ok = True; if (isset($args['is_writable']) && is_writable($name) != $args['is_writable']) { - echo "$error_icon $msg ".lang('%1 is %2%3 !!!',$rel_name,$args['is_writable']?lang('not').' ':'',lang('writeable by the webserver'))."\n"; + echo "$error_icon $msg ".lang('%1 is %2%3 !!!',$rel_name,$args['is_writable']?lang('not').' ':'',lang('writable by the webserver'))."\n"; $Ok = False; } if (isset($args['is_readable']) && is_readable($name) != $args['is_readable']) diff --git a/setup/lang/phpgw_de.lang b/setup/lang/phpgw_de.lang index bfdd342ae8..59857c6d84 100644 --- a/setup/lang/phpgw_de.lang +++ b/setup/lang/phpgw_de.lang @@ -291,7 +291,7 @@ re-check my database setup de Datenbank erneut re-check my installation setup de Installation erneut überprüfen re-enter password setup de Passworteingabe wiederholen read translations from setup de Lese Übersetzungen von -readable by the webserver setup de lesebar bei dem Webserver +readable by the webserver setup de lesebar durch den Webserver really uninstall all applications setup de WIRKLICH alle Anwendungen deinstallieren recommended: filesystem setup de Empfohlen: Dateisystem register_globals is turned on, egroupware does not require it and it's generaly more secure to have it turned off setup de register_globals ist eingeschaltet (On), eGroupWare benötigt das NICHT und es ist generell sicherer es auszuschalten (Off) @@ -406,9 +406,8 @@ world writable setup de schreibbar von jedem (world writeable) would you like egroupware to cache the phpgw info array ? setup de Soll eGroupWare das phpgw info Array cachen ? would you like egroupware to check for a new version
when admins login ? setup de Soll eGroupWare nach neuen Versionen suchen,
wenn sich ein Administrator anmeldet ? would you like to show each application's upgrade status ? setup de Soll der Upgrade-Status aller Anwendungen angezeigt werden ? -writable by webserver setup de schreibbar durch den Webserver +writable by the webserver setup de schreibar durch den Webserver write config setup de Konfiguration schreiben -writeable by the webserver setup de lesbar durch den Webserver yes setup de Ja you appear to be running a pre-beta version of egroupware.
these versions are no longer supported, and there is no upgrade path for them in setup.
you may wish to first upgrade to 0.9.10 (the last version to support pre-beta upgrades)
and then upgrade from there with the current version. setup de Es sieht so aus, als ob Sie eine vor-beta Version von eGroupWare benutzen.
Diese Versionen werden nicht länger unterstützt, und es gibt keinen Aktualisierungs-Pfad für sie im Einrichtung-Programm.
Sie möchten vieleicht erst auf you appear to be running an old version of php
it its recommend that you upgrade to a new version.
older version of php might not run egroupware correctly, if at all.

please upgrade to at least version %1 setup de Es sieht so aus als ob Sie eine alte PHP-Version benutzen
Es ist notwendig auf eine neue Version zu aktualisieren.
Ältere PHP-Versionen könnten eGroupWare (wenn überhaupt) nicht korrekt ausführen.

Biite aktualisieren Sie mindestens auf Version %1 diff --git a/setup/lang/phpgw_en.lang b/setup/lang/phpgw_en.lang index c6d2a76186..47110fe793 100644 --- a/setup/lang/phpgw_en.lang +++ b/setup/lang/phpgw_en.lang @@ -403,9 +403,8 @@ world writable setup en world writable would you like egroupware to cache the phpgw info array ? setup en Would you like eGroupWare to cache the phpgw info array ? would you like egroupware to check for a new version
when admins login ? setup en Would you like eGroupWare to check for a new version
when admins login ? would you like to show each application's upgrade status ? setup en Would you like to show each application's upgrade status ? -writable by webserver setup en writable by webserver +writable by the webserver setup en writable by the webserver write config setup en Write config -writeable by the webserver setup en writeable by the webserver yes setup en Yes you appear to be running a pre-beta version of egroupware.
these versions are no longer supported, and there is no upgrade path for them in setup.
you may wish to first upgrade to 0.9.10 (the last version to support pre-beta upgrades)
and then upgrade from there with the current version. setup en You appear to be running a pre-beta version of eGroupWare.
These versions are no longer supported, and there is no upgrade path for them in setup.
You may wish to first upgrade to 0.9.10 (the last version to support pre-beta upgrades)
and then upgrade from there with the current version. you appear to be running an old version of php
it its recommend that you upgrade to a new version.
older version of php might not run egroupware correctly, if at all.

please upgrade to at least version %1 setup en You appear to be running an old version of PHP
It its recommend that you upgrade to a new version.
Older version of PHP might not run eGroupWare correctly, if at all.

Please upgrade to at least version %1