From fc06acd8d0debf34db2dae97ae65ac2ae8989479 Mon Sep 17 00:00:00 2001 From: psc Date: Fri, 12 Jun 2009 13:24:30 +0000 Subject: [PATCH] Followup patch for #2634 - Add localisation for de - Fix "Address is not a valid IPv4 or IPv6 address" error git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13714 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../goto/admin/systems/goto/class_printGeneric.inc | 2 +- trunk/gosa-plugins/goto/locale/de/LC_MESSAGES/messages.po | 4 ++++ trunk/gosa-plugins/goto/locale/messages.po | 4 ++++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/trunk/gosa-plugins/goto/admin/systems/goto/class_printGeneric.inc b/trunk/gosa-plugins/goto/admin/systems/goto/class_printGeneric.inc index dabefb6f7..fb04c5772 100644 --- a/trunk/gosa-plugins/goto/admin/systems/goto/class_printGeneric.inc +++ b/trunk/gosa-plugins/goto/admin/systems/goto/class_printGeneric.inc @@ -516,7 +516,7 @@ class printgeneric extends plugin if(tests::is_ip($ppd_server)){ $orig_server_name = gethostbyaddr($ppd_server); }else{ - $orig_server_name = gethostbyaddr(gethostbyname($ppd_server)); + $orig_server_name = $ppd_server; } } diff --git a/trunk/gosa-plugins/goto/locale/de/LC_MESSAGES/messages.po b/trunk/gosa-plugins/goto/locale/de/LC_MESSAGES/messages.po index 83d3a6f93..fab75ac96 100644 --- a/trunk/gosa-plugins/goto/locale/de/LC_MESSAGES/messages.po +++ b/trunk/gosa-plugins/goto/locale/de/LC_MESSAGES/messages.po @@ -1695,6 +1695,10 @@ msgstr "" msgid "Remove printer extension" msgstr "Drucker-Erweiterung entfernen" +#: admin/systems/goto/class_printGeneric.inc:534 +msgid "Printer got configured on remote server '%s', Editing Driver will overwrite settings." +msgstr "Der Drucker wurde auf dem Server '%s' eingerichtet; das Bearbeiten des Treiber wird die Einstellungen überschreiben" + #: admin/systems/goto/class_printGeneric.inc:513 #, php-format msgid "Your currently selected PPD file '%s' doesn't exist." diff --git a/trunk/gosa-plugins/goto/locale/messages.po b/trunk/gosa-plugins/goto/locale/messages.po index 7fd039d1d..8c0c298b3 100644 --- a/trunk/gosa-plugins/goto/locale/messages.po +++ b/trunk/gosa-plugins/goto/locale/messages.po @@ -1661,6 +1661,10 @@ msgstr "" msgid "Remove printer extension" msgstr "" +#: admin/systems/goto/class_printGeneric.inc:534 +msgid "Printer got configured on remote server '%s', Editing Driver will overwrite settings." +msgstr "" + #: admin/systems/goto/class_printGeneric.inc:513 #, php-format msgid "Your currently selected PPD file '%s' doesn't exist." -- 2.30.2