mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-12 23:14:18 +01:00
N°6759 - Fix shortcut & dictionary entry name
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
*/
|
||||
Dict::Add('CS CZ', 'Czech', 'Čeština', array(
|
||||
'Menu:ConfigFileEditor' => 'Plain text editor~~',
|
||||
'config-edit-title' => 'Editor konfiguračního souboru',
|
||||
'itop-config/Operation: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_APPLICATION_SHORT, 'Menu:ConfigEditor' => 'Konfigurace',
|
||||
'config-apply' => 'Použít',
|
||||
'config-apply-title' => 'Použít (Ctrl+S)',
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
*/
|
||||
Dict::Add('DA DA', 'Danish', 'Dansk', array(
|
||||
'Menu:ConfigFileEditor' => 'Plain text editor~~',
|
||||
'config-edit-title' => 'Configuration File Editor~~',
|
||||
'itop-config/Operation:Edit/Title' => 'Configuration File Editor~~',
|
||||
'config-edit-intro' => 'Be very cautious when editing the configuration file.~~',
|
||||
'Menu:ConfigEditor' => 'General configuration~~',
|
||||
'config-apply' => 'Apply~~',
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
Dict::Add('DE DE', 'German', 'Deutsch', array(
|
||||
'Menu:ConfigFileEditor' => 'Plain text editor~~',
|
||||
'config-edit-title' => 'Konfigurations-Editor',
|
||||
'itop-config/Operation:Edit/Title' => 'Konfigurations-Editor',
|
||||
'config-edit-intro' => 'Achtung: Eine falsche Konfiguration kann dazu führen, dass '.ITOP_APPLICATION_SHORT.' für alle Benutzer unbenutzbar ist!',
|
||||
'Menu:ConfigEditor' => 'Konfiguration',
|
||||
'config-apply' => 'Anwenden (Ctrl+S)',
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
Dict::Add('EN US', 'English', 'English', array(
|
||||
|
||||
'Menu:ConfigFileEditor' => 'Plain text editor',
|
||||
'config-edit-title' => 'Configuration File Editor',
|
||||
'itop-config/Operation:Edit/Title' => 'Configuration File Editor',
|
||||
'config-edit-intro' => 'Be very cautious when editing the configuration file.',
|
||||
'config-apply' => 'Apply',
|
||||
'config-apply-title' => 'Apply (Ctrl+S)',
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
Dict::Add('EN GB', 'British English', 'British English', array(
|
||||
|
||||
'Menu:ConfigFileEditor' => 'Plain text editor',
|
||||
'config-edit-title' => 'Configuration File Editor',
|
||||
'itop-config/Operation:Edit/Title' => 'Configuration File Editor',
|
||||
'config-edit-intro' => 'Be very cautious when editing the configuration file.',
|
||||
'config-apply' => 'Apply',
|
||||
'config-apply-title' => 'Apply (Ctrl+S)',
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
*/
|
||||
Dict::Add('ES CR', 'Spanish', 'Español, Castellano', array(
|
||||
'Menu:ConfigFileEditor' => 'Plain text editor~~',
|
||||
'config-edit-title' => 'Editor de Archivo de Configuración',
|
||||
'itop-config/Operation:Edit/Title' => 'Editor de Archivo de Configuración',
|
||||
'config-edit-intro' => 'Sea muy cuidadoso cuando edite el archivo de configuración. En particular, sólo los elementos superiores (ejem.: the global configuration y modules settings) deberian ser editados.',
|
||||
'Menu:ConfigEditor' => 'Configuración',
|
||||
'config-apply' => 'Aplicar',
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
*/
|
||||
Dict::Add('FR FR', 'French', 'Français', array(
|
||||
'Menu:ConfigFileEditor' => 'Éditeur de texte brut',
|
||||
'config-edit-title' => 'Éditeur du Fichier de Configuration',
|
||||
'itop-config/Operation:Edit/Title' => 'Éditeur du Fichier de Configuration',
|
||||
'config-edit-intro' => 'Attention: une configuration incorrecte peut rendre '.ITOP_APPLICATION_SHORT.' inopérant pour tous les utilisateurs!',
|
||||
'config-apply' => 'Enregistrer',
|
||||
'config-apply-title' => 'Enregistrer (Ctrl+S)',
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
*/
|
||||
Dict::Add('HU HU', 'Hungarian', 'Magyar', array(
|
||||
'Menu:ConfigFileEditor' => 'Plain text editor~~',
|
||||
'config-edit-title' => 'Konfigurációs fájl szerkesztő',
|
||||
'itop-config/Operation:Edit/Title' => 'Konfigurációs fájl szerkesztő',
|
||||
'config-edit-intro' => 'Legyen nagyon óvatos a konfiguráció szerkesztésénél!',
|
||||
'Menu:ConfigEditor' => 'Konfiguráció szerkesztő',
|
||||
'config-apply' => 'Alkalmaz',
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
*
|
||||
*/
|
||||
Dict::Add('IT IT', 'Italian', 'Italiano', array(
|
||||
'config-edit-title' => 'Modifica file di configurazione',
|
||||
'itop-config/Operation:Edit/Title' => 'Modifica file di configurazione',
|
||||
'config-edit-intro' => 'Prestare molta attenzione durante la modifica del file di configurazione.',
|
||||
'Menu:ConfigEditor' => 'Configurazione',
|
||||
'config-apply' => 'Applica',
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
*/
|
||||
Dict::Add('JA JP', 'Japanese', '日本語', array(
|
||||
'Menu:ConfigFileEditor' => 'Plain text editor~~',
|
||||
'config-edit-title' => 'Configuration File Editor~~',
|
||||
'itop-config/Operation:Edit/Title' => 'Configuration File Editor~~',
|
||||
'config-edit-intro' => 'Be very cautious when editing the configuration file.~~',
|
||||
'Menu:ConfigEditor' => 'General configuration~~',
|
||||
'config-apply' => 'Apply~~',
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
Dict::Add('NL NL', 'Dutch', 'Nederlands', array(
|
||||
'Menu:ConfigFileEditor' => 'Plain text editor~~',
|
||||
'config-edit-title' => 'Aanpassen configuratie',
|
||||
'itop-config/Operation:Edit/Title' => 'Aanpassen configuratie',
|
||||
'config-edit-intro' => 'Wees uiterst voorzichtig bij het aanpassen van de configuratie.',
|
||||
'Menu:ConfigEditor' => 'Configuratie',
|
||||
'config-apply' => 'Opslaan',
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
*/
|
||||
Dict::Add('PL PL', 'Polish', 'Polski', array(
|
||||
'Menu:ConfigFileEditor' => 'Plain text editor~~',
|
||||
'config-edit-title' => 'Edycja pliku konfiguracyjnego',
|
||||
'itop-config/Operation:Edit/Title' => 'Edycja pliku konfiguracyjnego',
|
||||
'config-edit-intro' => 'Zachowaj ostrożność podczas edycji pliku konfiguracyjnego.',
|
||||
'Menu:ConfigEditor' => 'Konfiguracja ogólna',
|
||||
'config-apply' => 'Zastosuj',
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
*/
|
||||
Dict::Add('PT BR', 'Brazilian', 'Brazilian', array(
|
||||
'Menu:ConfigFileEditor' => 'Configurações',
|
||||
'config-edit-title' => 'Editor do arquivo de configuração',
|
||||
'itop-config/Operation:Edit/Title' => 'Editor do arquivo de configuração',
|
||||
'config-edit-intro' => 'Tenha cuidado ao editar o arquivo de configuração',
|
||||
'Menu:ConfigEditor' => 'Configurações',
|
||||
'config-apply' => 'Aplicar',
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
Dict::Add('RU RU', 'Russian', 'Русский', array(
|
||||
'Menu:ConfigFileEditor' => 'Plain text editor~~',
|
||||
'config-edit-title' => 'Редактор файла конфигурации',
|
||||
'itop-config/Operation:Edit/Title' => 'Редактор файла конфигурации',
|
||||
'config-edit-intro' => 'Будьте очень осторожны при редактировании файла конфигурации. В частности, отредактированы могут быть только глобальная конфигурация и настройки модулей.',
|
||||
'Menu:ConfigEditor' => 'Основные настройки',
|
||||
'config-apply' => 'Применить',
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
*/
|
||||
Dict::Add('SK SK', 'Slovak', 'Slovenčina', array(
|
||||
'Menu:ConfigFileEditor' => 'Plain text editor~~',
|
||||
'config-edit-title' => 'Configuration File Editor~~',
|
||||
'itop-config/Operation:Edit/Title' => 'Configuration File Editor~~',
|
||||
'config-edit-intro' => 'Be very cautious when editing the configuration file.~~',
|
||||
'Menu:ConfigEditor' => 'General configuration~~',
|
||||
'config-apply' => 'Apply~~',
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
*/
|
||||
Dict::Add('TR TR', 'Turkish', 'Türkçe', array(
|
||||
'Menu:ConfigFileEditor' => 'Plain text editor~~',
|
||||
'config-edit-title' => 'Configuration File Editor~~',
|
||||
'itop-config/Operation:Edit/Title' => 'Configuration File Editor~~',
|
||||
'config-edit-intro' => 'Be very cautious when editing the configuration file.~~',
|
||||
'Menu:ConfigEditor' => 'General configuration~~',
|
||||
'config-apply' => 'Apply~~',
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
Dict::Add('ZH CN', 'Chinese', '简体中文', array(
|
||||
'Menu:ConfigFileEditor' => 'Plain text editor~~',
|
||||
'Menu:ConfigEditor' => '编辑配置文件',
|
||||
'config-edit-title' => '配置文件编辑器',
|
||||
'itop-config/Operation:Edit/Title' => '配置文件编辑器',
|
||||
'config-edit-intro' => '编辑配置文件时请务必格外小心.',
|
||||
'config-apply' => '应用',
|
||||
'config-apply-title' => '应用 (Ctrl+S)',
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
{% UIAlert ForSuccess{sContent: sSuccess} %}{% EndUIAlert %}
|
||||
{% endfor %}
|
||||
|
||||
{% UITitle ForPage {'sTitle':'config-edit-title'|dict_s} %}{% EndUITitle %}
|
||||
{% UITitle ForPage {'sTitle':'itop-config/Operation:Edit/Title'|dict_s} %}{% EndUITitle %}
|
||||
|
||||
{% if bShowEditor %}
|
||||
<p>{{ 'config-edit-intro'|dict_s }}</p>
|
||||
|
||||
@@ -91,11 +91,10 @@ editor.commands.addCommand({
|
||||
name: 'save',
|
||||
bindKey: {win: "Ctrl-S", "mac": "Cmd-S"},
|
||||
exec: function(editor) {
|
||||
var editorForm = EditorUtils.getEditorForm(editor);
|
||||
var submitButton = document.getElementById('submit_button');
|
||||
let submitButton = document.getElementById('submit_button');
|
||||
|
||||
if (submitButton.is(":enabled")) {
|
||||
editorForm.trigger('submit');
|
||||
if (!submitButton.disabled) {
|
||||
submitButton.click();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user