Add an error message if plugin option is not valid
This commit is contained in:
parent
0241f844d2
commit
2b770b2f58
|
@ -227,6 +227,7 @@ $SLANG = array(
|
||||||
'Command' => 'Command',
|
'Command' => 'Command',
|
||||||
'Component' => 'Component', // Added - 2011-06-16
|
'Component' => 'Component', // Added - 2011-06-16
|
||||||
'Config' => 'Config',
|
'Config' => 'Config',
|
||||||
|
'ConfigError' => 'Config Error', // Added - 2015-05-16
|
||||||
'ConfiguredFor' => '配置為',
|
'ConfiguredFor' => '配置為',
|
||||||
'ConfirmDeleteEvents' => 'Are you sure you wish to delete the selected events?',
|
'ConfirmDeleteEvents' => 'Are you sure you wish to delete the selected events?',
|
||||||
'ConfirmPassword' => '確認密碼',
|
'ConfirmPassword' => '確認密碼',
|
||||||
|
@ -390,6 +391,7 @@ $SLANG = array(
|
||||||
'IncludeNatDet' => 'Include Native Detection', // Added - 2015-05-06
|
'IncludeNatDet' => 'Include Native Detection', // Added - 2015-05-06
|
||||||
'Inverted' => '反轉',
|
'Inverted' => '反轉',
|
||||||
'Iris' => 'Iris',
|
'Iris' => 'Iris',
|
||||||
|
'IsNotAValidOption' => 'is not a valid option', // Added - 2015-05-16
|
||||||
'KeyString' => 'Key String',
|
'KeyString' => 'Key String',
|
||||||
'Label' => 'Label',
|
'Label' => 'Label',
|
||||||
'Language' => '語言',
|
'Language' => '語言',
|
||||||
|
|
|
@ -223,6 +223,7 @@ $SLANG = array(
|
||||||
'Command' => '命令',
|
'Command' => '命令',
|
||||||
'Component' => 'Component', // Added - 2011-06-16
|
'Component' => 'Component', // Added - 2011-06-16
|
||||||
'Config' => '配置',
|
'Config' => '配置',
|
||||||
|
'ConfigError' => 'Config Error', // Added - 2015-05-16
|
||||||
'ConfiguredFor' => '配置标的',
|
'ConfiguredFor' => '配置标的',
|
||||||
'ConfirmDeleteEvents' => '确认希望删除所选事件?',
|
'ConfirmDeleteEvents' => '确认希望删除所选事件?',
|
||||||
'ConfirmPassword' => '密码确认',
|
'ConfirmPassword' => '密码确认',
|
||||||
|
@ -386,6 +387,7 @@ $SLANG = array(
|
||||||
'IncludeNatDet' => 'Include Native Detection', // Added - 2015-05-06
|
'IncludeNatDet' => 'Include Native Detection', // Added - 2015-05-06
|
||||||
'Inverted' => '反向',
|
'Inverted' => '反向',
|
||||||
'Iris' => '光圈',
|
'Iris' => '光圈',
|
||||||
|
'IsNotAValidOption' => 'is not a valid option', // Added - 2015-05-16
|
||||||
'KeyString' => '密钥字符',
|
'KeyString' => '密钥字符',
|
||||||
'Label' => '标签',
|
'Label' => '标签',
|
||||||
'Language' => '语言',
|
'Language' => '语言',
|
||||||
|
|
|
@ -223,6 +223,7 @@ $SLANG = array(
|
||||||
'Command' => 'Pøíkaz',
|
'Command' => 'Pøíkaz',
|
||||||
'Component' => 'Component', // Added - 2011-06-16
|
'Component' => 'Component', // Added - 2011-06-16
|
||||||
'Config' => 'Nastavení',
|
'Config' => 'Nastavení',
|
||||||
|
'ConfigError' => 'Config Error', // Added - 2015-05-16
|
||||||
'ConfiguredFor' => 'Nastaveno pro',
|
'ConfiguredFor' => 'Nastaveno pro',
|
||||||
'ConfirmDeleteEvents' => 'Are you sure you wish to delete the selected events?',
|
'ConfirmDeleteEvents' => 'Are you sure you wish to delete the selected events?',
|
||||||
'ConfirmPassword' => 'Potvrdit heslo',
|
'ConfirmPassword' => 'Potvrdit heslo',
|
||||||
|
@ -386,6 +387,7 @@ $SLANG = array(
|
||||||
'IncludeNatDet' => 'Include Native Detection', // Added - 2015-05-06
|
'IncludeNatDet' => 'Include Native Detection', // Added - 2015-05-06
|
||||||
'Inverted' => 'Pøevrácenì',
|
'Inverted' => 'Pøevrácenì',
|
||||||
'Iris' => 'Iris',
|
'Iris' => 'Iris',
|
||||||
|
'IsNotAValidOption' => 'is not a valid option', // Added - 2015-05-16
|
||||||
'KeyString' => 'Key String',
|
'KeyString' => 'Key String',
|
||||||
'Label' => 'Label',
|
'Label' => 'Label',
|
||||||
'Language' => 'Jazyk',
|
'Language' => 'Jazyk',
|
||||||
|
|
|
@ -223,6 +223,7 @@ $SLANG = array(
|
||||||
'Command' => 'Kommando',
|
'Command' => 'Kommando',
|
||||||
'Component' => 'Component', // Added - 2011-06-16
|
'Component' => 'Component', // Added - 2011-06-16
|
||||||
'Config' => 'Konfig.',
|
'Config' => 'Konfig.',
|
||||||
|
'ConfigError' => 'Config Error', // Added - 2015-05-16
|
||||||
'ConfiguredFor' => 'Konfiguriert für',
|
'ConfiguredFor' => 'Konfiguriert für',
|
||||||
'ConfirmDeleteEvents' => 'Sind Sie sicher, dass Sie die ausgewählten Ereignisse löschen wollen?',
|
'ConfirmDeleteEvents' => 'Sind Sie sicher, dass Sie die ausgewählten Ereignisse löschen wollen?',
|
||||||
'ConfirmPassword' => 'Passwortbestätigung',
|
'ConfirmPassword' => 'Passwortbestätigung',
|
||||||
|
@ -386,6 +387,7 @@ $SLANG = array(
|
||||||
'IncludeNatDet' => 'Include Native Detection', // Added - 2015-05-06
|
'IncludeNatDet' => 'Include Native Detection', // Added - 2015-05-06
|
||||||
'Inverted' => 'Invertiert',
|
'Inverted' => 'Invertiert',
|
||||||
'Iris' => 'Iris',
|
'Iris' => 'Iris',
|
||||||
|
'IsNotAValidOption' => 'is not a valid option', // Added - 2015-05-16
|
||||||
'KeyString' => 'Schlüsselwort',
|
'KeyString' => 'Schlüsselwort',
|
||||||
'Label' => 'Bezeichnung',
|
'Label' => 'Bezeichnung',
|
||||||
'Language' => 'Sprache',
|
'Language' => 'Sprache',
|
||||||
|
|
|
@ -224,6 +224,7 @@ $SLANG = array(
|
||||||
'Command' => 'Kommando',
|
'Command' => 'Kommando',
|
||||||
'Component' => 'Component', // Added - 2011-06-16
|
'Component' => 'Component', // Added - 2011-06-16
|
||||||
'Config' => 'konfig',
|
'Config' => 'konfig',
|
||||||
|
'ConfigError' => 'Config Error', // Added - 2015-05-16
|
||||||
'ConfiguredFor' => 'Konfigureret for',
|
'ConfiguredFor' => 'Konfigureret for',
|
||||||
'ConfirmDeleteEvents' => 'Are you sure you wish to delete the selected events?',
|
'ConfirmDeleteEvents' => 'Are you sure you wish to delete the selected events?',
|
||||||
'ConfirmPassword' => 'Verifiser Password',
|
'ConfirmPassword' => 'Verifiser Password',
|
||||||
|
@ -387,6 +388,7 @@ $SLANG = array(
|
||||||
'IncludeNatDet' => 'Include Native Detection', // Added - 2015-05-06
|
'IncludeNatDet' => 'Include Native Detection', // Added - 2015-05-06
|
||||||
'Inverted' => 'Inverteret',
|
'Inverted' => 'Inverteret',
|
||||||
'Iris' => 'Iris',
|
'Iris' => 'Iris',
|
||||||
|
'IsNotAValidOption' => 'is not a valid option', // Added - 2015-05-16
|
||||||
'KeyString' => 'Key String',
|
'KeyString' => 'Key String',
|
||||||
'Label' => 'Label',
|
'Label' => 'Label',
|
||||||
'Language' => 'Sprog',
|
'Language' => 'Sprog',
|
||||||
|
|
|
@ -230,6 +230,7 @@ $SLANG = array(
|
||||||
'Colour' => 'Colour',
|
'Colour' => 'Colour',
|
||||||
'Command' => 'Command',
|
'Command' => 'Command',
|
||||||
'Config' => 'Config',
|
'Config' => 'Config',
|
||||||
|
'ConfigError' => 'Config Error',
|
||||||
'ConfiguredFor' => 'Configured for',
|
'ConfiguredFor' => 'Configured for',
|
||||||
'ConfirmDeleteEvents' => 'Are you sure you wish to delete the selected events?',
|
'ConfirmDeleteEvents' => 'Are you sure you wish to delete the selected events?',
|
||||||
'ConfirmPassword' => 'Confirm Password',
|
'ConfirmPassword' => 'Confirm Password',
|
||||||
|
@ -393,6 +394,7 @@ $SLANG = array(
|
||||||
'In' => 'In',
|
'In' => 'In',
|
||||||
'Inverted' => 'Inverted',
|
'Inverted' => 'Inverted',
|
||||||
'Iris' => 'Iris',
|
'Iris' => 'Iris',
|
||||||
|
'IsNotAValidOption' => 'is not a valid option',
|
||||||
'KeyString' => 'Key String',
|
'KeyString' => 'Key String',
|
||||||
'Label' => 'Label',
|
'Label' => 'Label',
|
||||||
'Language' => 'Language',
|
'Language' => 'Language',
|
||||||
|
|
|
@ -174,6 +174,7 @@ $SLANG = array(
|
||||||
'Command' => 'Command',
|
'Command' => 'Command',
|
||||||
'Component' => 'Component', // Added - 2011-06-16
|
'Component' => 'Component', // Added - 2011-06-16
|
||||||
'Config' => 'Config.',
|
'Config' => 'Config.',
|
||||||
|
'ConfigError' => 'Config Error', // Added - 2015-05-16
|
||||||
'ConfiguredFor' => 'Configurado Para',
|
'ConfiguredFor' => 'Configurado Para',
|
||||||
'ConfirmDeleteEvents' => 'Are you sure you wish to delete the selected events?',
|
'ConfirmDeleteEvents' => 'Are you sure you wish to delete the selected events?',
|
||||||
'ConfirmPassword' => 'Confirmar Contraseña',
|
'ConfirmPassword' => 'Confirmar Contraseña',
|
||||||
|
@ -337,6 +338,7 @@ $SLANG = array(
|
||||||
'IncludeNatDet' => 'Include Native Detection', // Added - 2015-05-06
|
'IncludeNatDet' => 'Include Native Detection', // Added - 2015-05-06
|
||||||
'Inverted' => 'Invertido',
|
'Inverted' => 'Invertido',
|
||||||
'Iris' => 'Iris',
|
'Iris' => 'Iris',
|
||||||
|
'IsNotAValidOption' => 'is not a valid option', // Added - 2015-05-16
|
||||||
'KeyString' => 'Key String',
|
'KeyString' => 'Key String',
|
||||||
'Label' => 'Label',
|
'Label' => 'Label',
|
||||||
'Language' => 'Lenguaje',
|
'Language' => 'Lenguaje',
|
||||||
|
|
|
@ -223,6 +223,7 @@ $SLANG = array(
|
||||||
'Command' => 'Comando',
|
'Command' => 'Comando',
|
||||||
'Component' => 'Componente',
|
'Component' => 'Componente',
|
||||||
'Config' => 'Config',
|
'Config' => 'Config',
|
||||||
|
'ConfigError' => 'Config Error', // Added - 2015-05-16
|
||||||
'ConfiguredFor' => 'Configurado para',
|
'ConfiguredFor' => 'Configurado para',
|
||||||
'ConfirmDeleteEvents' => '¿Seguro que desea borrar los eventos seleccionados?',
|
'ConfirmDeleteEvents' => '¿Seguro que desea borrar los eventos seleccionados?',
|
||||||
'ConfirmPassword' => 'Confirmar contraseña',
|
'ConfirmPassword' => 'Confirmar contraseña',
|
||||||
|
@ -386,6 +387,7 @@ $SLANG = array(
|
||||||
'IncludeNatDet' => 'Include Native Detection', // Added - 2015-05-06
|
'IncludeNatDet' => 'Include Native Detection', // Added - 2015-05-06
|
||||||
'Inverted' => 'Invertido',
|
'Inverted' => 'Invertido',
|
||||||
'Iris' => 'Iris',
|
'Iris' => 'Iris',
|
||||||
|
'IsNotAValidOption' => 'is not a valid option', // Added - 2015-05-16
|
||||||
'KeyString' => 'Cadena clave',
|
'KeyString' => 'Cadena clave',
|
||||||
'Label' => 'Etiqueta',
|
'Label' => 'Etiqueta',
|
||||||
'Language' => 'Idioma',
|
'Language' => 'Idioma',
|
||||||
|
|
|
@ -224,6 +224,7 @@ $SLANG = array(
|
||||||
'Command' => 'Käsk',
|
'Command' => 'Käsk',
|
||||||
'Component' => 'Komponent', // Added - 2011-06-16
|
'Component' => 'Komponent', // Added - 2011-06-16
|
||||||
'Config' => 'Seadistus',
|
'Config' => 'Seadistus',
|
||||||
|
'ConfigError' => 'Config Error', // Added - 2015-05-16
|
||||||
'ConfiguredFor' => 'Seadistatud',
|
'ConfiguredFor' => 'Seadistatud',
|
||||||
'ConfirmDeleteEvents' => 'Oled sa kindel kustamaks valitud sündmused?',
|
'ConfirmDeleteEvents' => 'Oled sa kindel kustamaks valitud sündmused?',
|
||||||
'ConfirmPassword' => 'Kinnita salasõna',
|
'ConfirmPassword' => 'Kinnita salasõna',
|
||||||
|
@ -387,6 +388,7 @@ $SLANG = array(
|
||||||
'IncludeNatDet' => 'Include Native Detection', // Added - 2015-05-06
|
'IncludeNatDet' => 'Include Native Detection', // Added - 2015-05-06
|
||||||
'Inverted' => 'Inverted',
|
'Inverted' => 'Inverted',
|
||||||
'Iris' => 'Iris',
|
'Iris' => 'Iris',
|
||||||
|
'IsNotAValidOption' => 'is not a valid option', // Added - 2015-05-16
|
||||||
'KeyString' => 'Key String',
|
'KeyString' => 'Key String',
|
||||||
'Label' => 'Label',
|
'Label' => 'Label',
|
||||||
'Language' => 'Keel',
|
'Language' => 'Keel',
|
||||||
|
|
|
@ -229,6 +229,7 @@ $SLANG = array(
|
||||||
'Command' => 'Commande',
|
'Command' => 'Commande',
|
||||||
'Component' => 'Composant', // Added - 2011-06-16
|
'Component' => 'Composant', // Added - 2011-06-16
|
||||||
'Config' => 'Config',
|
'Config' => 'Config',
|
||||||
|
'ConfigError' => 'Erreur de configuration', // Added - 2015-05-16
|
||||||
'ConfiguredFor' => 'Configuré pour',
|
'ConfiguredFor' => 'Configuré pour',
|
||||||
'ConfirmDeleteEvents' => 'Etes-vous sûr de vouloir effacer le(s) événement(s) sélectionné(s)?',
|
'ConfirmDeleteEvents' => 'Etes-vous sûr de vouloir effacer le(s) événement(s) sélectionné(s)?',
|
||||||
'ConfirmPassword' => 'Répéter mot de passe',
|
'ConfirmPassword' => 'Répéter mot de passe',
|
||||||
|
@ -392,6 +393,7 @@ $SLANG = array(
|
||||||
'IncludeNatDet' => 'Inclure détection native', // Added - 2015-05-06
|
'IncludeNatDet' => 'Inclure détection native', // Added - 2015-05-06
|
||||||
'Inverted' => 'Inversé',
|
'Inverted' => 'Inversé',
|
||||||
'Iris' => 'Iris',
|
'Iris' => 'Iris',
|
||||||
|
'IsNotAValidOption' => 'n\'est pas une option valide', // Added - 2015-05-16
|
||||||
'KeyString' => 'Chaîne clé',
|
'KeyString' => 'Chaîne clé',
|
||||||
'Label' => 'Etiquette',
|
'Label' => 'Etiquette',
|
||||||
'Language' => 'Langue',
|
'Language' => 'Langue',
|
||||||
|
|
|
@ -223,6 +223,7 @@ $SLANG = array(
|
||||||
'Command' => 'ô÷åãä',
|
'Command' => 'ô÷åãä',
|
||||||
'Component' => 'Component', // Added - 2011-06-16
|
'Component' => 'Component', // Added - 2011-06-16
|
||||||
'Config' => 'úöåøä',
|
'Config' => 'úöåøä',
|
||||||
|
'ConfigError' => 'Config Error', // Added - 2015-05-16
|
||||||
'ConfiguredFor' => 'úöåøä òáåø',
|
'ConfiguredFor' => 'úöåøä òáåø',
|
||||||
'ConfirmDeleteEvents' => 'Are you sure you wish to delete the selected events?',
|
'ConfirmDeleteEvents' => 'Are you sure you wish to delete the selected events?',
|
||||||
'ConfirmPassword' => 'àùø ñéñîà',
|
'ConfirmPassword' => 'àùø ñéñîà',
|
||||||
|
@ -386,6 +387,7 @@ $SLANG = array(
|
||||||
'IncludeNatDet' => 'Include Native Detection', // Added - 2015-05-06
|
'IncludeNatDet' => 'Include Native Detection', // Added - 2015-05-06
|
||||||
'Inverted' => 'äôåê',
|
'Inverted' => 'äôåê',
|
||||||
'Iris' => 'Iris',
|
'Iris' => 'Iris',
|
||||||
|
'IsNotAValidOption' => 'is not a valid option', // Added - 2015-05-16
|
||||||
'KeyString' => 'îçøåæú úåéí',
|
'KeyString' => 'îçøåæú úåéí',
|
||||||
'Label' => 'úååéú',
|
'Label' => 'úååéú',
|
||||||
'Language' => 'ùôä',
|
'Language' => 'ùôä',
|
||||||
|
|
|
@ -266,6 +266,7 @@ $SLANG = array(
|
||||||
'Command' => 'Parancs',
|
'Command' => 'Parancs',
|
||||||
'Component' => 'Komponens',
|
'Component' => 'Komponens',
|
||||||
'Config' => 'Beállítás',
|
'Config' => 'Beállítás',
|
||||||
|
'ConfigError' => 'Config Error', // Added - 2015-05-16
|
||||||
'ConfiguredFor' => 'Beállítva',
|
'ConfiguredFor' => 'Beállítva',
|
||||||
'ConfirmDeleteEvents' => 'Biztos benne, hogy törli a kiválasztott eseményeket?',
|
'ConfirmDeleteEvents' => 'Biztos benne, hogy törli a kiválasztott eseményeket?',
|
||||||
'ConfirmPassword' => 'Jelszó megerősítés',
|
'ConfirmPassword' => 'Jelszó megerősítés',
|
||||||
|
@ -429,6 +430,7 @@ $SLANG = array(
|
||||||
'IncludeNatDet' => 'Include Native Detection', // Added - 2015-05-06
|
'IncludeNatDet' => 'Include Native Detection', // Added - 2015-05-06
|
||||||
'Inverted' => 'Invertálva',
|
'Inverted' => 'Invertálva',
|
||||||
'Iris' => 'Írisz',
|
'Iris' => 'Írisz',
|
||||||
|
'IsNotAValidOption' => 'is not a valid option', // Added - 2015-05-16
|
||||||
'KeyString' => 'Kulcs karaktersor',
|
'KeyString' => 'Kulcs karaktersor',
|
||||||
'Label' => 'Cimke',
|
'Label' => 'Cimke',
|
||||||
'Language' => 'Nyelv',
|
'Language' => 'Nyelv',
|
||||||
|
|
|
@ -228,6 +228,7 @@ $SLANG = array(
|
||||||
'Command' => 'Comando',
|
'Command' => 'Comando',
|
||||||
'Component' => 'Component', // Added - 2011-06-16
|
'Component' => 'Component', // Added - 2011-06-16
|
||||||
'Config' => 'Configura',
|
'Config' => 'Configura',
|
||||||
|
'ConfigError' => 'Config Error', // Added - 2015-05-16
|
||||||
'ConfiguredFor' => 'Configurato per',
|
'ConfiguredFor' => 'Configurato per',
|
||||||
'ConfirmDeleteEvents' => 'Sei sicuro di voler cancellare gli eventi selezionati',
|
'ConfirmDeleteEvents' => 'Sei sicuro di voler cancellare gli eventi selezionati',
|
||||||
'ConfirmPassword' => 'Conferma Password',
|
'ConfirmPassword' => 'Conferma Password',
|
||||||
|
@ -391,6 +392,7 @@ $SLANG = array(
|
||||||
'IncludeNatDet' => 'Include Native Detection', // Added - 2015-05-06
|
'IncludeNatDet' => 'Include Native Detection', // Added - 2015-05-06
|
||||||
'Inverted' => 'Invertito',
|
'Inverted' => 'Invertito',
|
||||||
'Iris' => 'Iris',
|
'Iris' => 'Iris',
|
||||||
|
'IsNotAValidOption' => 'is not a valid option', // Added - 2015-05-16
|
||||||
'KeyString' => 'Stringa Chiave',
|
'KeyString' => 'Stringa Chiave',
|
||||||
'Label' => 'Etichetta',
|
'Label' => 'Etichetta',
|
||||||
'Language' => 'Linguaggio',
|
'Language' => 'Linguaggio',
|
||||||
|
|
|
@ -223,6 +223,7 @@ $SLANG = array(
|
||||||
'Command' => 'Command',
|
'Command' => 'Command',
|
||||||
'Component' => 'Component', // Added - 2011-06-16
|
'Component' => 'Component', // Added - 2011-06-16
|
||||||
'Config' => 'Config',
|
'Config' => 'Config',
|
||||||
|
'ConfigError' => 'Config Error', // Added - 2015-05-16
|
||||||
'ConfiguredFor' => '<27>Ý’è:',
|
'ConfiguredFor' => '<27>Ý’è:',
|
||||||
'ConfirmDeleteEvents' => 'Are you sure you wish to delete the selected events?',
|
'ConfirmDeleteEvents' => 'Are you sure you wish to delete the selected events?',
|
||||||
'ConfirmPassword' => 'Ê߽ܰÄÞ‚ÌŠm”F',
|
'ConfirmPassword' => 'Ê߽ܰÄÞ‚ÌŠm”F',
|
||||||
|
@ -386,6 +387,7 @@ $SLANG = array(
|
||||||
'IncludeNatDet' => 'Include Native Detection', // Added - 2015-05-06
|
'IncludeNatDet' => 'Include Native Detection', // Added - 2015-05-06
|
||||||
'Inverted' => '”½“]',
|
'Inverted' => '”½“]',
|
||||||
'Iris' => 'Iris',
|
'Iris' => 'Iris',
|
||||||
|
'IsNotAValidOption' => 'is not a valid option', // Added - 2015-05-16
|
||||||
'KeyString' => 'Key String',
|
'KeyString' => 'Key String',
|
||||||
'Label' => 'Label',
|
'Label' => 'Label',
|
||||||
'Language' => 'Œ¾Œê',
|
'Language' => 'Œ¾Œê',
|
||||||
|
|
|
@ -223,6 +223,7 @@ $SLANG = array(
|
||||||
'Command' => 'Commando',
|
'Command' => 'Commando',
|
||||||
'Component' => 'Component', // Added - 2011-06-16
|
'Component' => 'Component', // Added - 2011-06-16
|
||||||
'Config' => 'Configuratie',
|
'Config' => 'Configuratie',
|
||||||
|
'ConfigError' => 'Config Error', // Added - 2015-05-16
|
||||||
'ConfiguredFor' => 'Geconfigureerd voor',
|
'ConfiguredFor' => 'Geconfigureerd voor',
|
||||||
'ConfirmDeleteEvents' => 'Weet uw zeker dat uw deze gebeurtenissen wil verwijderen?',
|
'ConfirmDeleteEvents' => 'Weet uw zeker dat uw deze gebeurtenissen wil verwijderen?',
|
||||||
'ConfirmPassword' => 'Bevestig wachtwoord',
|
'ConfirmPassword' => 'Bevestig wachtwoord',
|
||||||
|
@ -386,6 +387,7 @@ $SLANG = array(
|
||||||
'IncludeNatDet' => 'Include Native Detection', // Added - 2015-05-06
|
'IncludeNatDet' => 'Include Native Detection', // Added - 2015-05-06
|
||||||
'Inverted' => 'Omgedraaid',
|
'Inverted' => 'Omgedraaid',
|
||||||
'Iris' => 'Iris',
|
'Iris' => 'Iris',
|
||||||
|
'IsNotAValidOption' => 'is not a valid option', // Added - 2015-05-16
|
||||||
'KeyString' => 'Sleutel waarde',
|
'KeyString' => 'Sleutel waarde',
|
||||||
'Label' => 'Label',
|
'Label' => 'Label',
|
||||||
'Language' => 'Taal',
|
'Language' => 'Taal',
|
||||||
|
|
|
@ -223,6 +223,7 @@ $SLANG = array(
|
||||||
'Command' => 'Command',
|
'Command' => 'Command',
|
||||||
'Component' => 'Component', // Added - 2011-06-16
|
'Component' => 'Component', // Added - 2011-06-16
|
||||||
'Config' => 'Konfiguracja',
|
'Config' => 'Konfiguracja',
|
||||||
|
'ConfigError' => 'Config Error', // Added - 2015-05-16
|
||||||
'ConfiguredFor' => 'Ustawiona',
|
'ConfiguredFor' => 'Ustawiona',
|
||||||
'ConfirmDeleteEvents' => 'Are you sure you wish to delete the selected events?',
|
'ConfirmDeleteEvents' => 'Are you sure you wish to delete the selected events?',
|
||||||
'ConfirmPassword' => 'Potwierd¼ has³o',
|
'ConfirmPassword' => 'Potwierd¼ has³o',
|
||||||
|
@ -386,6 +387,7 @@ $SLANG = array(
|
||||||
'IncludeNatDet' => 'Include Native Detection', // Added - 2015-05-06
|
'IncludeNatDet' => 'Include Native Detection', // Added - 2015-05-06
|
||||||
'Inverted' => 'Odwrócony',
|
'Inverted' => 'Odwrócony',
|
||||||
'Iris' => 'Iris',
|
'Iris' => 'Iris',
|
||||||
|
'IsNotAValidOption' => 'is not a valid option', // Added - 2015-05-16
|
||||||
'KeyString' => 'Key String',
|
'KeyString' => 'Key String',
|
||||||
'Label' => 'Label',
|
'Label' => 'Label',
|
||||||
'Language' => 'Jêzyk',
|
'Language' => 'Jêzyk',
|
||||||
|
|
|
@ -163,6 +163,7 @@ $SLANG = array(
|
||||||
'Command' => 'Command',
|
'Command' => 'Command',
|
||||||
'Component' => 'Component', // Added - 2011-06-16
|
'Component' => 'Component', // Added - 2011-06-16
|
||||||
'Config' => 'Config',
|
'Config' => 'Config',
|
||||||
|
'ConfigError' => 'Config Error', // Added - 2015-05-16
|
||||||
'ConfiguredFor' => 'Configurado para',
|
'ConfiguredFor' => 'Configurado para',
|
||||||
'ConfirmDeleteEvents' => 'Are you sure you wish to delete the selected events?',
|
'ConfirmDeleteEvents' => 'Are you sure you wish to delete the selected events?',
|
||||||
'ConfirmPassword' => 'Confirmar Senha',
|
'ConfirmPassword' => 'Confirmar Senha',
|
||||||
|
@ -326,6 +327,7 @@ $SLANG = array(
|
||||||
'IncludeNatDet' => 'Include Native Detection', // Added - 2015-05-06
|
'IncludeNatDet' => 'Include Native Detection', // Added - 2015-05-06
|
||||||
'Inverted' => 'Invertido',
|
'Inverted' => 'Invertido',
|
||||||
'Iris' => 'Iris',
|
'Iris' => 'Iris',
|
||||||
|
'IsNotAValidOption' => 'is not a valid option', // Added - 2015-05-16
|
||||||
'KeyString' => 'Key String',
|
'KeyString' => 'Key String',
|
||||||
'Label' => 'Label',
|
'Label' => 'Label',
|
||||||
'Language' => 'Linguagem',
|
'Language' => 'Linguagem',
|
||||||
|
|
|
@ -194,6 +194,7 @@ $SLANG = array(
|
||||||
'Command' => 'Comanda',
|
'Command' => 'Comanda',
|
||||||
'Component' => 'Component', // Added - 2011-06-16
|
'Component' => 'Component', // Added - 2011-06-16
|
||||||
'Config' => 'Config',
|
'Config' => 'Config',
|
||||||
|
'ConfigError' => 'Config Error', // Added - 2015-05-16
|
||||||
'ConfiguredFor' => 'Configurat pentru',
|
'ConfiguredFor' => 'Configurat pentru',
|
||||||
'ConfirmDeleteEvents' => 'Are you sure you wish to delete the selected events?',
|
'ConfirmDeleteEvents' => 'Are you sure you wish to delete the selected events?',
|
||||||
'ConfirmPassword' => 'Confirm parola',
|
'ConfirmPassword' => 'Confirm parola',
|
||||||
|
@ -357,6 +358,7 @@ $SLANG = array(
|
||||||
'IncludeNatDet' => 'Include Native Detection', // Added - 2015-05-06
|
'IncludeNatDet' => 'Include Native Detection', // Added - 2015-05-06
|
||||||
'Inverted' => 'Inversă',
|
'Inverted' => 'Inversă',
|
||||||
'Iris' => 'Iris',
|
'Iris' => 'Iris',
|
||||||
|
'IsNotAValidOption' => 'is not a valid option', // Added - 2015-05-16
|
||||||
'KeyString' => 'Key String',
|
'KeyString' => 'Key String',
|
||||||
'Label' => 'Label',
|
'Label' => 'Label',
|
||||||
'Language' => 'Limbă',
|
'Language' => 'Limbă',
|
||||||
|
|
|
@ -223,6 +223,7 @@ $SLANG = array(
|
||||||
'Command' => 'Command',
|
'Command' => 'Command',
|
||||||
'Component' => 'Component', // Added - 2011-06-16
|
'Component' => 'Component', // Added - 2011-06-16
|
||||||
'Config' => 'Config',
|
'Config' => 'Config',
|
||||||
|
'ConfigError' => 'Config Error', // Added - 2015-05-16
|
||||||
'ConfiguredFor' => 'îÁÓÔÒÏÅÎ ÎÁ',
|
'ConfiguredFor' => 'îÁÓÔÒÏÅÎ ÎÁ',
|
||||||
'ConfirmDeleteEvents' => 'Are you sure you wish to delete the selected events?',
|
'ConfirmDeleteEvents' => 'Are you sure you wish to delete the selected events?',
|
||||||
'ConfirmPassword' => 'ðÏÄÔ×ÅÒÄÉÔÅ ÐÁÒÏÌØ',
|
'ConfirmPassword' => 'ðÏÄÔ×ÅÒÄÉÔÅ ÐÁÒÏÌØ',
|
||||||
|
@ -386,6 +387,7 @@ $SLANG = array(
|
||||||
'IncludeNatDet' => 'Include Native Detection', // Added - 2015-05-06
|
'IncludeNatDet' => 'Include Native Detection', // Added - 2015-05-06
|
||||||
'Inverted' => 'éÎ×ÅÒÔÉÒÏ×ÁÔØ',
|
'Inverted' => 'éÎ×ÅÒÔÉÒÏ×ÁÔØ',
|
||||||
'Iris' => 'Iris',
|
'Iris' => 'Iris',
|
||||||
|
'IsNotAValidOption' => 'is not a valid option', // Added - 2015-05-16
|
||||||
'KeyString' => 'Key String',
|
'KeyString' => 'Key String',
|
||||||
'Label' => 'Label',
|
'Label' => 'Label',
|
||||||
'Language' => 'ñÚÙË',
|
'Language' => 'ñÚÙË',
|
||||||
|
|
|
@ -224,6 +224,7 @@ $SLANG = array(
|
||||||
'Command' => 'Kommando',
|
'Command' => 'Kommando',
|
||||||
'Component' => 'Component', // Added - 2011-06-16
|
'Component' => 'Component', // Added - 2011-06-16
|
||||||
'Config' => 'Konfigurera',
|
'Config' => 'Konfigurera',
|
||||||
|
'ConfigError' => 'Config Error', // Added - 2015-05-16
|
||||||
'ConfiguredFor' => 'Konfigurerad för',
|
'ConfiguredFor' => 'Konfigurerad för',
|
||||||
'ConfirmDeleteEvents' => 'Är du säker på att du vill ta bort dom valda händelserna?',
|
'ConfirmDeleteEvents' => 'Är du säker på att du vill ta bort dom valda händelserna?',
|
||||||
'ConfirmPassword' => 'Bekräfta lösenord',
|
'ConfirmPassword' => 'Bekräfta lösenord',
|
||||||
|
@ -387,6 +388,7 @@ $SLANG = array(
|
||||||
'IncludeNatDet' => 'Include Native Detection', // Added - 2015-05-06
|
'IncludeNatDet' => 'Include Native Detection', // Added - 2015-05-06
|
||||||
'Inverted' => 'Inverterad',
|
'Inverted' => 'Inverterad',
|
||||||
'Iris' => 'Iris',
|
'Iris' => 'Iris',
|
||||||
|
'IsNotAValidOption' => 'is not a valid option', // Added - 2015-05-16
|
||||||
'KeyString' => 'Nyckelsträng',
|
'KeyString' => 'Nyckelsträng',
|
||||||
'Label' => 'Etikett',
|
'Label' => 'Etikett',
|
||||||
'Language' => 'Språk',
|
'Language' => 'Språk',
|
||||||
|
|
|
@ -9,9 +9,9 @@ function addOption( name )
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// Raise an error and exit of non alphanumeric characters in string
|
// Raise an error and exit of non alphanumeric characters in string
|
||||||
if ( !str.match(/^[0-9a-zA-Z]+$/) )
|
if ( !str.match( /^[0-9a-zA-Z]+$/ ) )
|
||||||
{
|
{
|
||||||
alert(onlyAlphaCharString);
|
alert( onlyAlphaCharString );
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
var hidden = form.elements['pluginOpt[' + name + ']'];
|
var hidden = form.elements['pluginOpt[' + name + ']'];
|
||||||
|
@ -19,11 +19,11 @@ function addOption( name )
|
||||||
var list = hidden.value.split( "," );
|
var list = hidden.value.split( "," );
|
||||||
if ( list.indexOf( str ) != -1 )
|
if ( list.indexOf( str ) != -1 )
|
||||||
{
|
{
|
||||||
alert(alreadyInList);
|
alert( alreadyInList );
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// Add option to the list
|
// Add option to the list
|
||||||
select.options[select.options.length] = new Option(str, str);
|
select.options[select.options.length] = new Option( str, str );
|
||||||
// Synchronize hidden field
|
// Synchronize hidden field
|
||||||
if ( hidden.value.length > 0 )
|
if ( hidden.value.length > 0 )
|
||||||
{
|
{
|
||||||
|
@ -43,7 +43,7 @@ function removeOptionSelected( name )
|
||||||
{
|
{
|
||||||
if ( select.options[i].selected )
|
if ( select.options[i].selected )
|
||||||
{
|
{
|
||||||
select.remove(i);
|
select.remove( i );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Synchronize hidden field
|
// Synchronize hidden field
|
||||||
|
@ -68,7 +68,7 @@ function updateAddBtn( name )
|
||||||
{
|
{
|
||||||
var form = document.pluginForm;
|
var form = document.pluginForm;
|
||||||
// Disable add button if the text input is empty
|
// Disable add button if the text input is empty
|
||||||
if ( form.elements['dsp_input_pluginOpt[' + name + ']'].value === "")
|
if ( form.elements['dsp_input_pluginOpt[' + name + ']'].value === "" )
|
||||||
{
|
{
|
||||||
form.elements['addBtn[' + name + ']'].disabled = true;
|
form.elements['addBtn[' + name + ']'].disabled = true;
|
||||||
}
|
}
|
||||||
|
@ -102,6 +102,7 @@ function saveChanges( element )
|
||||||
function applyChanges()
|
function applyChanges()
|
||||||
{
|
{
|
||||||
var form = document.pluginForm;
|
var form = document.pluginForm;
|
||||||
|
var errorMsg = "";
|
||||||
// Synchronize hidden fields
|
// Synchronize hidden fields
|
||||||
for ( var option in pluginOptionList )
|
for ( var option in pluginOptionList )
|
||||||
{
|
{
|
||||||
|
@ -131,23 +132,30 @@ function applyChanges()
|
||||||
for ( var name in pluginOptionList[option] )
|
for ( var name in pluginOptionList[option] )
|
||||||
{
|
{
|
||||||
//console.log("form.elements['pluginOpt[" + name + "]'].value=" + form.elements['pluginOpt[' + name + ']'].value + " pluginOptionList[" + option + "][" + name + "]=" + pluginOptionList[option][name]);
|
//console.log("form.elements['pluginOpt[" + name + "]'].value=" + form.elements['pluginOpt[' + name + ']'].value + " pluginOptionList[" + option + "][" + name + "]=" + pluginOptionList[option][name]);
|
||||||
if (form.elements['pluginOpt[' + name + ']'].value != pluginOptionList[option][name])
|
if ( typeof form.elements['pluginOpt[' + name + ']'] !== "undefined" )
|
||||||
{
|
{
|
||||||
form.elements['dsp_pluginOpt[' + option + ']'].disabled = true;
|
if ( form.elements['pluginOpt[' + name + ']'].value != pluginOptionList[option][name] )
|
||||||
// Handle additionnal controls for list option
|
|
||||||
if ( typeof form.elements['dsp_input_pluginOpt[' + option + ']'] !== "undefined" )
|
|
||||||
{
|
{
|
||||||
form.elements['dsp_input_pluginOpt[' + option + ']'].disabled = true;
|
form.elements['dsp_pluginOpt[' + option + ']'].disabled = true;
|
||||||
form.elements['dsp_input_pluginOpt[' + option + ']'].value = "";
|
// Handle additionnal controls for list option
|
||||||
form.elements['addBtn[' + option + ']'].disabled = true;
|
if ( typeof form.elements['dsp_input_pluginOpt[' + option + ']'] !== "undefined" )
|
||||||
form.elements['removeBtn[' + option + ']'].disabled = true;
|
{
|
||||||
|
form.elements['dsp_input_pluginOpt[' + option + ']'].disabled = true;
|
||||||
|
form.elements['dsp_input_pluginOpt[' + option + ']'].value = "";
|
||||||
|
form.elements['addBtn[' + option + ']'].disabled = true;
|
||||||
|
form.elements['removeBtn[' + option + ']'].disabled = true;
|
||||||
|
}
|
||||||
|
enabled = false;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
enabled = false;
|
}
|
||||||
break;
|
else
|
||||||
|
{
|
||||||
|
errorMsg += "'" + name + "' " + isNotAValidOption + "\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Enable visible field if all dependencies are ok
|
// Enable visible field if all dependencies are ok
|
||||||
if (enabled)
|
if ( enabled )
|
||||||
{
|
{
|
||||||
form.elements['dsp_pluginOpt[' + option + ']'].disabled = false;
|
form.elements['dsp_pluginOpt[' + option + ']'].disabled = false;
|
||||||
// Handle additionnal controls for list option
|
// Handle additionnal controls for list option
|
||||||
|
@ -161,26 +169,30 @@ function applyChanges()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if ( errorMsg.length !== 0 )
|
||||||
|
{
|
||||||
|
alert( configError + "\n" + errorMsg );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function limitRange( field, minValue, maxValue )
|
function limitRange( field, minValue, maxValue )
|
||||||
{
|
{
|
||||||
var intval;
|
var intval;
|
||||||
if ( +field.value === parseInt(field.value) )
|
if ( +field.value === parseInt( field.value ) )
|
||||||
{
|
{
|
||||||
intval = parseInt(field.value);
|
intval = parseInt( field.value );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
alert(onlyIntegerString);
|
alert( onlyIntegerString );
|
||||||
field.value = field.defaultValue;
|
field.value = field.defaultValue;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if ( intval < parseInt(minValue) )
|
if ( intval < parseInt( minValue ) )
|
||||||
{
|
{
|
||||||
field.value = minValue;
|
field.value = minValue;
|
||||||
}
|
}
|
||||||
else if ( intval > parseInt(maxValue) )
|
else if ( intval > parseInt( maxValue ) )
|
||||||
{
|
{
|
||||||
field.value = maxValue;
|
field.value = maxValue;
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,4 +18,6 @@ pluginOptionList['<?php echo $key; ?>']['<?php echo $req_couple['Name']; ?>'] =
|
||||||
|
|
||||||
var onlyAlphaCharString = '<?php echo addslashes($SLANG['OnlyAlphaChars']) ?>';
|
var onlyAlphaCharString = '<?php echo addslashes($SLANG['OnlyAlphaChars']) ?>';
|
||||||
var alreadyInList = '<?php echo addslashes($SLANG['AlreadyInList']) ?>';
|
var alreadyInList = '<?php echo addslashes($SLANG['AlreadyInList']) ?>';
|
||||||
|
var configError = '<?php echo addslashes($SLANG['ConfigError']) ?>';
|
||||||
|
var isNotAValidOption = '<?php echo addslashes($SLANG['IsNotAValidOption']) ?>';
|
||||||
var onlyIntegerString = '<?php echo addslashes($SLANG['OnlyIntegers']) ?>';
|
var onlyIntegerString = '<?php echo addslashes($SLANG['OnlyIntegers']) ?>';
|
||||||
|
|
Loading…
Reference in New Issue