From 4fbd58199e675be1c976688617c552e00c1d6bd6 Mon Sep 17 00:00:00 2001 From: cajus Date: Wed, 1 Dec 2010 11:05:15 +0000 Subject: [PATCH] Updated strings git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20482 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/goto/admin/ConfigManagement/AddItemDialog.tpl | 2 +- .../admin/ConfigManagement/TemplateWidget_textEditor.tpl | 2 +- .../goto/admin/ConfigManagement/class_ConfigManagement.inc | 6 +++--- .../ConfigManagement/class_TemplateWidget_textEditor.inc | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/gosa-plugins/goto/admin/ConfigManagement/AddItemDialog.tpl b/gosa-plugins/goto/admin/ConfigManagement/AddItemDialog.tpl index 2d9823c07..859ce16e7 100644 --- a/gosa-plugins/goto/admin/ConfigManagement/AddItemDialog.tpl +++ b/gosa-plugins/goto/admin/ConfigManagement/AddItemDialog.tpl @@ -1,7 +1,7 @@

{t}Add item{/t}

-{t}Please specify a name for the item to add, this name has to be uniq within the item configuration.{/t} +{t}Please specify a name for the item to add. This name has to be unique within the item configuration.{/t}

diff --git a/gosa-plugins/goto/admin/ConfigManagement/TemplateWidget_textEditor.tpl b/gosa-plugins/goto/admin/ConfigManagement/TemplateWidget_textEditor.tpl index 4f2ae450e..4427b4a4e 100644 --- a/gosa-plugins/goto/admin/ConfigManagement/TemplateWidget_textEditor.tpl +++ b/gosa-plugins/goto/admin/ConfigManagement/TemplateWidget_textEditor.tpl @@ -1,5 +1,5 @@ {if $write_protect} - {t}The text is write protected, due to its encoding. Editing may break it!{/t} + {t}The text is write protected due to its encoding. Editing may break it!{/t}
{/if} diff --git a/gosa-plugins/goto/admin/ConfigManagement/class_ConfigManagement.inc b/gosa-plugins/goto/admin/ConfigManagement/class_ConfigManagement.inc index f9bc5be7f..5f0c18ca7 100644 --- a/gosa-plugins/goto/admin/ConfigManagement/class_ConfigManagement.inc +++ b/gosa-plugins/goto/admin/ConfigManagement/class_ConfigManagement.inc @@ -80,7 +80,7 @@ class ConfigManagement extends management if(!isset($this->allItemConfigurations[$str])){ $this->itemConfig = array(); $this->invalidInstallMethod =TRUE; - $this->errorMessage = sprintf(_("Invalid installation method selected '%s'!"), $str); + $this->errorMessage = sprintf(_("Invalid installation method %s selected!"), bold($str)); msg_dialog::display(_("Setup"), $this->errorMessage, ERROR_DIALOG); return(FALSE); }else{ @@ -98,7 +98,7 @@ class ConfigManagement extends management } } if(!$root){ - $this->errorMessage = sprintf(_("Installation method '%s' is invalid, no root object found!"), $str); + $this->errorMessage = sprintf(_("Installation method %s is invalid: no root object found!"), bold($str)); msg_dialog::display(_("Setup"), $this->errorMessage , ERROR_DIALOG); $this->initFailed = TRUE; $this->itemConfig = array(); @@ -137,7 +137,7 @@ class ConfigManagement extends management } $this->allItemConfigurations = $res; if(!count($this->allItemConfigurations)){ - $this->errorMessage = _("No selectable install methods returned!"); + $this->errorMessage = _("No selectable install methods available!"); msg_dialog::display(_("Setup"), $this->errorMessage , ERROR_DIALOG); $this->initFailed = TRUE; return; diff --git a/gosa-plugins/goto/admin/ConfigManagement/class_TemplateWidget_textEditor.inc b/gosa-plugins/goto/admin/ConfigManagement/class_TemplateWidget_textEditor.inc index 4fc28545c..d3bc4fb43 100644 --- a/gosa-plugins/goto/admin/ConfigManagement/class_TemplateWidget_textEditor.inc +++ b/gosa-plugins/goto/admin/ConfigManagement/class_TemplateWidget_textEditor.inc @@ -64,8 +64,8 @@ class TemplateWidget_textEditor extends TemplateWidget { $msgs = TemplateWidget::check(); if($this->mb_extension && !$this->write_protect && $this->enc_after_edit !== $this->enc_before_edit ){ - $msg = sprintf(_("The text encodig has changed from '%s' to '%s'. Do you really want to save?"), - "".$this->enc_before_edit."","".$this->enc_after_edit.""); + $msg = sprintf(_("The text encodig has changed from %s to %s. Do you really want to save?"), + bold($this->enc_before_edit),bold($this->enc_after_edit)); $msgs[] = $msg; $this->enc_before_edit = $this->enc_after_edit; } -- 2.30.2