From 2ebbc79e7a62f85bfa82dea4dc72d060aeef4cca Mon Sep 17 00:00:00 2001 From: cajus Date: Mon, 6 Oct 2008 11:48:45 +0000 Subject: [PATCH] Updated texts git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12608 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/opsi/admin/opsi/class_opsigeneric.inc | 14 +++++++------- gosa-plugins/opsi/admin/opsi/generic.tpl | 8 ++++---- gosa-plugins/opsi/admin/opsi/properties.tpl | 2 +- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/gosa-plugins/opsi/admin/opsi/class_opsigeneric.inc b/gosa-plugins/opsi/admin/opsi/class_opsigeneric.inc index e69202753..5d37531e7 100644 --- a/gosa-plugins/opsi/admin/opsi/class_opsigeneric.inc +++ b/gosa-plugins/opsi/admin/opsi/class_opsigeneric.inc @@ -207,7 +207,7 @@ class opsiGeneric extends plugin /* The hostId must contain a domain part */ $messages[] = msgPool::invalid(_("Name"),$this->hostId,"", - _("The client name must contain a domain part (e.g. '.company.de').")); + _("The field 'Name' must contain a domain part!")); }elseif(preg_match("/[^a-z0-9\.\-_]/",$this->hostId)){ $messages[] = msgPool::invalid(_("Name"),$this->hostId,"/[a-z0-9\.\-_]/"); } @@ -251,11 +251,11 @@ class opsiGeneric extends plugin } } if($this->is_account){ - $display = $this->show_disable_header(msgPool::removeFeaturesButton(_("Opsi")), - msgPool::featuresEnabled(_("Opsi"))); + $display = $this->show_disable_header(msgPool::removeFeaturesButton(_("OPSI")), + msgPool::featuresEnabled(_("OPSI"))); }else{ - $display = $this->show_enable_header(msgPool::addFeaturesButton(_("Opsi")), - msgPool::featuresDisabled(_("Opsi"))); + $display = $this->show_enable_header(msgPool::addFeaturesButton(_("OPSI")), + msgPool::featuresDisabled(_("OPSI"))); return($display); } } @@ -645,12 +645,12 @@ class opsiGeneric extends plugin { return (array( "plShortName" => _("Generic"), - "plDescription" => _("Opsi generic"), + "plDescription" => _("OPSI generic"), "plSelfModify" => FALSE, "plDepends" => array(), "plPriority" => 1, "plSection" => array("administration"), - "plCategory" => array("opsi" => array("description" => _("Opsi client"), + "plCategory" => array("opsi" => array("description" => _("OPSI client"), "objectClass" => "dummy_class_opsi")), "plProvidedAcls"=> array() )); diff --git a/gosa-plugins/opsi/admin/opsi/generic.tpl b/gosa-plugins/opsi/admin/opsi/generic.tpl index 79ef9b7d1..aa67b431d 100644 --- a/gosa-plugins/opsi/admin/opsi/generic.tpl +++ b/gosa-plugins/opsi/admin/opsi/generic.tpl @@ -1,5 +1,5 @@ -

  {t}Opsi host{/t}

+

  {t}OPSI host{/t}

{if $init_failed} @@ -33,7 +33,7 @@ {/if} - {t}Boot product{/t} + {t}Netboot product{/t} + title='{t}Configure product{/t}' class='center'> {else} + title='{t}Configure product{/t}' class='center'>--> {/if} diff --git a/gosa-plugins/opsi/admin/opsi/properties.tpl b/gosa-plugins/opsi/admin/opsi/properties.tpl index 79d12c642..be54a4a01 100644 --- a/gosa-plugins/opsi/admin/opsi/properties.tpl +++ b/gosa-plugins/opsi/admin/opsi/properties.tpl @@ -1,4 +1,4 @@ -

{t}Opsi product properties{/t}

+

{t}OPSI product properties{/t}

{if $cfg_count == 0} -- 2.30.2