Actions

Special

All translations

Enter a message name below to show all available translations.

Message

Found 14 translations.

NameCurrent message text
 h Bulgarian (bg)// В init()
Yii::app()->formExtensionService->add(
 'globalsettings.general',
 new TextInput([
 'name' => 'myinput', 
 'label' => 'Етикет',
 'disabled' => true,
 'tooltip' => 'Moo moo moo',
 'help' => 'Мало помощен текст', 
 'save' => function($request, $connection) {
 $value = $request->getPost('myinput');
 if ($value === 'някоя невалидна стойност') {
 throw new SaveFailedException("Could not save custom input 'myinput'");
 } else {
 SettingGlobal::setSetting('myinput', $value);
 }
 } ,
 'load' => function () {
 return getGlobalSetting('myinput');
 }
 ])
);
</syntaxhighlight>
 h Danish (da)// Inside init()
Yii::app()->formExtensionService->add(
 'globalsettings.general',
 new TextInput([
 'name' => 'myinput', 
 'label' => 'Etiket',
 'disabled' => sand,
 'tooltip' => 'Moo moo moo',
 'help' => 'Noget hjælpetekst', 
 'save' => funktion($request, $connection) {
 $value = $request->getPost('myinput');
 if ($value === 'en eller anden ugyldig værdi') {
 throw new SaveFailedException("Kunne ikke gemme brugerdefineret input 'myinput'");
 } ellers {
 SettingGlobal::setSetting('myinput', $value);
 }
 } ,
 'load' => funktion () {
 return getGlobalSetting('myinput');
 }
 ])
);
</syntaxhighlight>
 h German (de)// Inside init()
Yii::app()->formExtensionService->add(
 'globalsettings.general',
 new TextInput([
 'name' => 'myinput', 
 'label' => 'Label',
 'disabled' => true,
 'tooltip' => 'Moo muh muh',
 'help' => 'Einige Hilfetexte', 
 'save' => function($request, $connection) {
 $value = $request->getPost('myinput');
 if ($value === 'irgendein ungültiger Wert') {
 throw new SaveFailedException("Die benutzerdefinierte Eingabe 'myinput' konnte nicht gespeichert werden");
 } else {
 SettingGlobal::setSetting('myinput', $value);
 }
 } ,
 'load' => function () {
 return getGlobalSetting('myinput');
 }
 ])
);
</syntaxhighlight>
 h English (en)// Inside init()
Yii::app()->formExtensionService->add(
   'globalsettings.general',
   new TextInput([
       'name' => 'myinput',
       'label' => 'Label',
       'disabled' => true,
       'tooltip' => 'Moo moo moo',
       'help' => 'Some help text',
       'save' => function($request, $connection) {
           $value = $request->getPost('myinput');
           if ($value === 'some invalid value') {
               throw new SaveFailedException("Could not save custom input 'myinput'");
           } else {
               SettingGlobal::setSetting('myinput', $value);
           }
       },
       'load' => function () {
           return getGlobalSetting('myinput');
       }
   ])
);
</syntaxhighlight>
 h Spanish (es)// Dentro de init()
Yii::app()->formExtensionService->add(
 'globalsettings.general',
 new TextInput([
 'name' => 'myinput', 
 'label' => 'Etiqueta',
 'disabled' => true,
 'tooltip' => 'Moo moo moo',
 'help' => 'Algún texto de ayuda', 
 'save' => function($solicitud, $conexión) {
 $valor = $solicitud->getPost('myinput');
 if ($value === 'algún valor no válido') {
 throw new SaveFailedException("No se pudo guardar la entrada personalizada 'myinput'");
 } else {
 ConfiguraciónGlobal::setSetting('myinput', $value);
 }
 } ,
 'load' => function () {
 return getGlobalSetting('myinput');
 }
 ])
);
</syntaxhighlight>
 h French (fr)// À l'intérieur de init()
Yii::app()->formExtensionService->add(
 'globalsettings.general',
 new TextInput([
 'name' => 'myinput', 
 'label' => 'Label',
 'disabled' => true,
 'tooltip' => 'Moo moo moo',
 'help' => 'Un texte d'aide', 
 'save' => function($request, $connection) {
 $value = $request->getPost('myinput');
 if ($value === 'une valeur invalide') {
 throw new SaveFailedException("Impossible d'enregistrer l'entrée personnalisée 'myinput'");
 } else {
 SettingGlobal::setSetting('myinput', $value);
 }
 } ,
 'load' => function () {
 return getGlobalSetting('myinput');
 }
 ])
);
</syntaxhighlight>
 h Hungarian (hu)// Inside init()
Yii::app()->formExtensionService->add(
 'globalsettings.general',
 new TextInput([
 'name' => 'saját bemenet', 
 'label' => 'Címke',
 'disabled' => true,
 'tooltip' => 'Moo mú mú',
 'help' => 'Néhány súgószöveg', 
 'mentés' => function($request, $connection) {
 $value = $request->getPost('saját bemenet');
 if ($value === 'valamilyen érvénytelen érték') {
 throw new SaveFailedException("Nem sikerült elmenteni a 'myinput' egyéni bevitelt");
 } else {
 SettingGlobal::setSetting('myinput', $value);
 }
 } ,
 'load' => function () {
 return getGlobalSetting('myinput');
 }
 ])
);
</syntaxhighlight>
 h Italian (it)// Dentro init()
Yii::app()->formExtensionService->add(
 'globalsettings.general',
 new TextInput([
 'name' => 'myinput', 
 'label' => 'Etichetta',
 'disabled' => true,
 'tooltip' => 'Moo moo moo',
 'help' => 'Alcuni testi di aiuto', 
 'save' => function($request, $connection) {
 $value = $request->getPost('myinput');
 if ($value === 'qualche valore non valido') {
 throw new SaveFailedException("Impossibile salvare l'input personalizzato 'myinput'");
 } else {
 SettingGlobal::setSetting('myinput', $value);
 }
 } ,
 'load' => function () {
 return getGlobalSetting('myinput');
 }
 ])
);
</syntaxhighlight>
 h Japanese (ja)// init()の内部
Yii::app()->formExtensionService->add(
   'globalsettings.general',
   new TextInput([
       'name' => 'myinput',
       'label' => 'Label',
       'disabled' => true,
       'tooltip' => 'Moo moo moo',
       'help' => 'Some help text',
       'save' => function($request, $connection) {
           $value = $request->getPost('myinput');
           if ($value === 'some invalid value') {
               throw new SaveFailedException("Could not save custom input 'myinput'");
           } else {
               SettingGlobal::setSetting('myinput', $value);
           }
       },
       'load' => function () {
           return getGlobalSetting('myinput');
       }
   ])
);
</syntaxhighlight>
 h Dutch (nl)// Inside init()
Yii::app()->formExtensionService->add(
 'globalsettings.general',
 new TextInput([
 'name' => 'myinput', 
 'label' => 'Label',
 'disabled' => true,
 'tooltip' => 'Moo moo moo',
 'help' => 'Enige helptekst', 
 'save' => function($request, $connection) {
 $value = $request->getPost('myinput');
 if ($value === 'een ongeldige waarde') {
 throw new SaveFailedException("Kon aangepaste invoer 'myinput'" niet opslaan);
 } else {
 SettingGlobal::setSetting('myinput', $value);
 }
 } ,
 'load' => function () {
 return getGlobalSetting('myinput');
 }
 ])
);
</syntaxhighlight>
 h Polish (pl)// Wewnątrz init()
Yii::app()->formExtensionService->add(
 'globalsettings.general',
 new TextInput([
 'name' => 'moje wejście', 
 'label' => 'Etykieta',
 'disabled' => true,
 'tooltip' => 'Muu moo moo',
 'help' => 'Tekst pomocy', 
 'save' => funkcja($żądanie, $połączenie) {
 $wartość = $żądanie->getPost('moje wejście');
 if ($wartość === 'jakaś niepoprawna wartość') {
 rzucaj nowy SaveFailedException("Nie można zapisać niestandardowego wejścia 'moje wejście'");
 } else {
 SettingGlobal::setSetting('moje wejście', $wartość);
 }
 } ,
 'load' => funkcja () {
 return getGlobalSetting('myinput');
 }
 ])
);
</syntaxhighlight>
 h Romanian (ro)// În interiorul init()
Yii::app()->formExtensionService->add(
 'globalsettings.general',
 new TextInput([
 'name' => 'myinput', 
 'label' => 'Etichetă',
 'disabled' => adevărat,
 'tooltip' => 'Moo moo moo',
 'help' => 'Un text de ajutor', 
 „salvare” => funcție($cerere, $conexiune) {
 $valoare = $cerere->getPost('inputul meu');
 dacă ($valoare === 'o valoare nevalidă') {
 throw new SaveFailedException("Nu s-a putut salva intrarea personalizată 'myinput'");
 } altfel {
 SettingGlobal::setSetting('myinput', $value);
 }
 } ,
 'încărcare' => funcție () {
 return getGlobalSetting('myinput');
 }
 ])
);
</syntaxhighlight>
 h Slovenian (sl)// Znotraj init()
Yii::app()->formExtensionService->add(
 'globalsettings.general',
 new TextInput([
 'name' => 'myinput', 
 'label' => 'Oznaka',
 'disabled' => res,
 'tooltip' => 'Moo moo moo',
 'help' => 'Nekaj besedila pomoči', 
 'save' => function($request, $connection) {
 $value = $request->getPost('myinput');
 if ($value === 'nekatera neveljavna vrednost') {
 throw new SaveFailedException("Ni bilo mogoče shraniti vnosa po meri 'myinput'");
 } else {
 SettingGlobal::setSetting('myinput', $value);
 }
 } ,
 'load' => function () {
 return getGlobalSetting('myinput');
 }
 ])
);
</syntaxhighlight>
 h Vietnamese (vi)// Bên trong init()
Yii::app()->formExtensionService->add(
 'globalsettings.general',
 new TextInput([
 'name' => 'myinput', 
 'label' => 'Label',
 'disabled' => true,
 'tooltip' => 'Moo moo moo',
 'help' => 'Một số văn bản trợ giúp', 
 'save' => function($request, $connection) {
 $value = $request->getPost('myinput');
 if ($value === 'một số giá trị không hợp lệ') {
 Throw new SaveFailedException("Không thể lưu thông tin nhập tùy chỉnh 'myinput'");
 } else {
 SettingGlobal::setSetting('myinput', $value);
 }
 } ,
 'load' => function () {
 return getGlobalSetting('myinput');
 }
 ])
);
</syntaxhighlight>