mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-19 15:22:17 +02:00
N°1041 add shortcut in submit button title
SVN:trunk[5567]
This commit is contained in:
@@ -180,7 +180,7 @@ try
|
|||||||
$oP->add("<form method=\"POST\">");
|
$oP->add("<form method=\"POST\">");
|
||||||
$oP->add("<input id=\"operation\" type=\"hidden\" name=\"operation\" value=\"save\">");
|
$oP->add("<input id=\"operation\" type=\"hidden\" name=\"operation\" value=\"save\">");
|
||||||
$oP->add("<input type=\"hidden\" name=\"transaction_id\" value=\"".utils::GetNewTransactionId()."\">");
|
$oP->add("<input type=\"hidden\" name=\"transaction_id\" value=\"".utils::GetNewTransactionId()."\">");
|
||||||
$oP->add("<input id=\"submit_button\" type=\"submit\" value=\"".Dict::S('config-apply')."\"><button id=\"cancel_button\" disabled=\"disabled\" onclick=\"return ResetConfig();\">".Dict::S('config-cancel')."</button>");
|
$oP->add("<input id=\"submit_button\" type=\"submit\" value=\"".Dict::S('config-apply')."\" title=\"".Dict::S('config-apply-title')."\"><button id=\"cancel_button\" disabled=\"disabled\" onclick=\"return ResetConfig();\">".Dict::S('config-cancel')."</button>");
|
||||||
$oP->add("<input type=\"hidden\" id=\"prev_config\" name=\"prev_config\" value=\"$sOriginalConfigEscaped\">");
|
$oP->add("<input type=\"hidden\" id=\"prev_config\" name=\"prev_config\" value=\"$sOriginalConfigEscaped\">");
|
||||||
$oP->add("<input type=\"hidden\" name=\"new_config\" value=\"$sConfigEscaped\">");
|
$oP->add("<input type=\"hidden\" name=\"new_config\" value=\"$sConfigEscaped\">");
|
||||||
$oP->add("<div id =\"new_config\" style=\"position: absolute; top: ".$iEditorTopMargin."em; bottom: 0; left: 5px; right: 5px;\"></div>");
|
$oP->add("<div id =\"new_config\" style=\"position: absolute; top: ".$iEditorTopMargin."em; bottom: 0; left: 5px; right: 5px;\"></div>");
|
||||||
|
|||||||
@@ -9,15 +9,17 @@
|
|||||||
* @license http://opensource.org/licenses/AGPL-3.0
|
* @license http://opensource.org/licenses/AGPL-3.0
|
||||||
*/
|
*/
|
||||||
Dict::Add('CS CZ', 'Czech', 'Čeština', array(
|
Dict::Add('CS CZ', 'Czech', 'Čeština', array(
|
||||||
'Menu:ConfigEditor' => 'Konfigurace',
|
'Menu:ConfigEditor' => 'Konfigurace',
|
||||||
'config-edit-title' => 'Editor konfiguračního souboru',
|
'config-edit-title' => 'Editor konfiguračního souboru',
|
||||||
'config-edit-intro' => 'Při úpravách konfiguračního souboru buďte velice opatrní. Nesprávné nastavení může vést k nedostupnosti iTop', //In particular, only the upper items (i.e. the global configuration and modules settings) should be edited.
|
'config-edit-intro' => 'Při úpravách konfiguračního souboru buďte velice opatrní. Nesprávné nastavení může vést k nedostupnosti iTop',
|
||||||
'config-apply' => 'Použít',
|
//In particular, only the upper items (i.e. the global configuration and modules settings) should be edited.
|
||||||
'config-cancel' => 'Zrušit',
|
'config-apply' => 'Použít',
|
||||||
'config-saved' => 'Successfully recorded.~~',
|
'config-apply-title' => 'Použít (Ctrl+S)',
|
||||||
'config-confirm-cancel' => 'Vaše úpravy nebudou uloženy.',
|
'config-cancel' => 'Zrušit',
|
||||||
'config-no-change' => 'Soubor nebyl změněn.',
|
'config-saved' => 'Successfully recorded.~~',
|
||||||
'config-reverted' => 'The configuration has been reverted.~~',
|
'config-confirm-cancel' => 'Vaše úpravy nebudou uloženy.',
|
||||||
'config-parse-error' => 'Řádek %2$d: %1$s.<br/>Soubor nebyl uložen.',
|
'config-no-change' => 'Soubor nebyl změněn.',
|
||||||
'config-current-line' => 'Řádek: %1$s',
|
'config-reverted' => 'The configuration has been reverted.~~',
|
||||||
|
'config-parse-error' => 'Řádek %2$d: %1$s.<br/>Soubor nebyl uložen.',
|
||||||
|
'config-current-line' => 'Řádek: %1$s',
|
||||||
));
|
));
|
||||||
|
|||||||
@@ -29,6 +29,7 @@ Dict::Add('DE DE', 'German', 'Deutsch', array(
|
|||||||
'config-edit-title' => 'Konfigurations-Editor',
|
'config-edit-title' => 'Konfigurations-Editor',
|
||||||
'config-edit-intro' => 'Seien sie bei der Bearbeitung der Konfigurationsdatei sehr vorsichtig.',
|
'config-edit-intro' => 'Seien sie bei der Bearbeitung der Konfigurationsdatei sehr vorsichtig.',
|
||||||
'config-apply' => 'Anwenden',
|
'config-apply' => 'Anwenden',
|
||||||
|
'config-apply' => 'Anwenden (Ctrl+S)',
|
||||||
'config-cancel' => 'Zurücksetzen',
|
'config-cancel' => 'Zurücksetzen',
|
||||||
'config-saved' => 'Successfully recorded.~~',
|
'config-saved' => 'Successfully recorded.~~',
|
||||||
'config-confirm-cancel' => 'Ihre Änderungen werden nicht gespeichert.',
|
'config-confirm-cancel' => 'Ihre Änderungen werden nicht gespeichert.',
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ Dict::Add('EN US', 'English', 'English', array(
|
|||||||
'config-edit-title' => 'Configuration File Editor',
|
'config-edit-title' => 'Configuration File Editor',
|
||||||
'config-edit-intro' => 'Be very cautious when editing the configuration file.',
|
'config-edit-intro' => 'Be very cautious when editing the configuration file.',
|
||||||
'config-apply' => 'Apply',
|
'config-apply' => 'Apply',
|
||||||
|
'config-apply-title' => 'Apply (Ctrl+S)',
|
||||||
'config-cancel' => 'Reset',
|
'config-cancel' => 'Reset',
|
||||||
'config-saved' => 'Successfully recorded.',
|
'config-saved' => 'Successfully recorded.',
|
||||||
'config-confirm-cancel' => 'Your changes will be lost.',
|
'config-confirm-cancel' => 'Your changes will be lost.',
|
||||||
|
|||||||
@@ -20,6 +20,7 @@ Dict::Add('FR FR', 'French', 'Français', array(
|
|||||||
'config-parse-error' => 'Ligne %2$d: %1$s.<br/>Le fichier n\'a PAS été modifié.',
|
'config-parse-error' => 'Ligne %2$d: %1$s.<br/>Le fichier n\'a PAS été modifié.',
|
||||||
'config-current-line' => 'Ligne en édition : %1$s',
|
'config-current-line' => 'Ligne en édition : %1$s',
|
||||||
'config-apply' => 'Enregistrer',
|
'config-apply' => 'Enregistrer',
|
||||||
|
'config-apply-title' => 'Enregistrer (Ctrl+S)',
|
||||||
'config-cancel' => 'Annuler (restaurer)',
|
'config-cancel' => 'Annuler (restaurer)',
|
||||||
));
|
));
|
||||||
?>
|
?>
|
||||||
|
|||||||
@@ -16,6 +16,7 @@ Dict::Add('RU RU', 'Russian', 'Русский', array(
|
|||||||
'config-edit-title' => 'Редактор файла конфигурации',
|
'config-edit-title' => 'Редактор файла конфигурации',
|
||||||
'config-edit-intro' => 'Будьте очень осторожны при редактировании файла конфигурации. В частности, могут быть отредактированы только верхние элементы (т.е. глобальная конфигурация и настройки модулей).',
|
'config-edit-intro' => 'Будьте очень осторожны при редактировании файла конфигурации. В частности, могут быть отредактированы только верхние элементы (т.е. глобальная конфигурация и настройки модулей).',
|
||||||
'config-apply' => 'Применить',
|
'config-apply' => 'Применить',
|
||||||
|
'config-apply-title' => 'Применить (Ctrl+S)',
|
||||||
'config-cancel' => 'Сбросить',
|
'config-cancel' => 'Сбросить',
|
||||||
'config-saved' => 'Successfully recorded.~~',
|
'config-saved' => 'Successfully recorded.~~',
|
||||||
'config-confirm-cancel' => 'Ваши изменения будут утеряны.',
|
'config-confirm-cancel' => 'Ваши изменения будут утеряны.',
|
||||||
|
|||||||
Reference in New Issue
Block a user