Commit 11b3daff authored by tbrehm's avatar tbrehm

Fixed: FS#822 - Main tabs at top not applying translations.

parent 94ffe9d0
......@@ -143,7 +143,7 @@ class listform_actions {
include($lng_file);
$app->tpl->setVar($wb);
$app->tpl->setVar('toolsarea_head_txt',$app->lng('toolsarea_head_txt'));
$app->tpl->setVar($app->listform->wordbook);
$app->tpl->setVar('form_action', $app->listform->listDef['file']);
......
......@@ -1232,6 +1232,30 @@ class tform {
return $check_passed;
}
//* get the difference record of two arrays
function getDiffRecord($record_old,$record_new) {
if(is_array($record_new) && count($record_new) > 0) {
foreach($record_new as $key => $val) {
if(@$record_old[$key] != $val) {
// Record has changed
$diffrec[$key] = array( 'old' => @$record_old[$key],
'new' => $val);
}
}
} elseif(is_array($record_old)) {
foreach($record_old as $key => $val) {
if($record_new[$key] != $val) {
// Record has changed
$diffrec[$key] = array( 'new' => $record_new[$key],
'old' => $val);
}
}
}
return $diffrec;
}
}
......
......@@ -21,4 +21,13 @@ $wb['filter_txt'] = 'Filter';
$wb['add_new_record_txt'] = 'Add new record';
$wb['btn_save_txt'] = 'Save';
$wb['btn_cancel_txt'] = 'Cancel';
$wb['System'] = 'System';
$wb['Client'] = 'Client';
$wb['Email'] = 'Email';
$wb['Monitor'] = 'Monitor';
$wb['Sites'] = 'Sites';
$wb['DNS'] = 'DNS';
$wb['Tools'] = 'Tools';
$wb['Help'] = 'Help';
$wb['toolsarea_head_txt'] = 'Tools';
?>
......@@ -21,5 +21,13 @@ $wb['filter_txt'] = 'Filtrar';
$wb['add_new_record_txt'] = 'Adcionar novo registro';
$wb['btn_save_txt'] = 'Salvar';
$wb['btn_cancel_txt'] = 'Voltar';
$wb['System'] = 'System';
$wb['Client'] = 'Client';
$wb['Email'] = 'Email';
$wb['Monitor'] = 'Monitor';
$wb['Sites'] = 'Sites';
$wb['DNS'] = 'DNS';
$wb['Tools'] = 'Tools';
$wb['Help'] = 'Help';
$wb['toolsarea_head_txt'] = 'Tools';
?>
<?php
$wb['conf_format_dateshort'] = 'd.m.Y';
$wb['conf_format_datelong'] = 'l, d. F Y';
$wb['conf_format_timeshort'] = 'H:i';
$wb['conf_format_timelong'] = 'H:i:s';
$wb['conf_format_datetime'] = 'd.m.Y H:i';
$wb['301'] = 'Modul für Benutzer nicht erlaubt.';
$wb['302'] = 'Modul ungültig.';
$wb['1001'] = 'Der Benutzername und das Passwort dürfen nicht leer sein!';
$wb['1002'] = 'Der Benutzername und/oder das Passwort sind nicht korrekt!';
$wb['1003'] = 'Der Benutzername ist deaktiviert!';
$wb['delete_confirmation'] = 'Wollen Sie den Datensatz wirklich löschen?';
$wb['error_no_view_permission'] = 'Sie haben nicht die Berechtigung, den Datensatz zu lesen, oder der Datensatz existiert nicht!';
$wb['error_no_delete_permission'] = 'Sie haben nicht die Berechtigung, den Datensatz zu löschen!';
$wb['page_txt'] = 'Seite';
$wb['page_of_txt'] = 'von';
$wb['page_next_txt'] = 'Weiter';
$wb['page_back_txt'] = 'Zurück';
$wb['delete_txt'] = 'Löschen';
$wb['filter_txt'] = 'Filter';
$wb['add_new_record_txt'] = 'Neuen Datensatz hinzufügen';
$wb['btn_save_txt'] = 'Speichern';
$wb['btn_cancel_txt'] = 'Abbrechen';
?>
<?php
$wb['conf_format_dateshort'] = 'd.m.Y';
$wb['conf_format_datelong'] = 'l, d. F Y';
$wb['conf_format_timeshort'] = 'H:i';
$wb['conf_format_timelong'] = 'H:i:s';
$wb['conf_format_datetime'] = 'd.m.Y H:i';
$wb['301'] = 'Modul für Benutzer nicht erlaubt.';
$wb['302'] = 'Modul ungültig.';
$wb['1001'] = 'Der Benutzername und das Passwort dürfen nicht leer sein!';
$wb['1002'] = 'Der Benutzername und/oder das Passwort sind nicht korrekt!';
$wb['1003'] = 'Der Benutzername ist deaktiviert!';
$wb['delete_confirmation'] = 'Wollen Sie den Datensatz wirklich löschen?';
$wb['error_no_view_permission'] = 'Sie haben nicht die Berechtigung, den Datensatz zu lesen, oder der Datensatz existiert nicht!';
$wb['error_no_delete_permission'] = 'Sie haben nicht die Berechtigung, den Datensatz zu löschen!';
$wb['page_txt'] = 'Seite';
$wb['page_of_txt'] = 'von';
$wb['page_next_txt'] = 'Weiter';
$wb['page_back_txt'] = 'Zurück';
$wb['delete_txt'] = 'Löschen';
$wb['filter_txt'] = 'Filter';
$wb['add_new_record_txt'] = 'Neuen Datensatz hinzufügen';
$wb['btn_save_txt'] = 'Speichern';
$wb['btn_cancel_txt'] = 'Abbrechen';
$wb['System'] = 'System';
$wb['Client'] = 'Client';
$wb['Email'] = 'Email';
$wb['Monitor'] = 'Monitor';
$wb['Sites'] = 'Sites';
$wb['DNS'] = 'DNS';
$wb['Tools'] = 'Tools';
$wb['Help'] = 'Help';
$wb['toolsarea_head_txt'] = 'Tools';
?>
......@@ -22,4 +22,13 @@ $wb["filter_txt"] = 'Filter';
$wb["add_new_record_txt"] = 'Add new record';
$wb['btn_save_txt'] = "Save";
$wb['btn_cancel_txt'] = "Back";
$wb['System'] = 'System';
$wb['Client'] = 'Client';
$wb['Email'] = 'Email';
$wb['Monitor'] = 'Monitor';
$wb['Sites'] = 'Sites';
$wb['DNS'] = 'DNS';
$wb['Tools'] = 'Tools';
$wb['Help'] = 'Help';
$wb['toolsarea_head_txt'] = 'Tools';
?>
......@@ -21,4 +21,13 @@ $wb['filter_txt'] = 'Filter';
$wb['add_new_record_txt'] = 'Add new record';
$wb['btn_save_txt'] = 'Save';
$wb['btn_cancel_txt'] = 'Cancel';
$wb['System'] = 'System';
$wb['Client'] = 'Client';
$wb['Email'] = 'Email';
$wb['Monitor'] = 'Monitor';
$wb['Sites'] = 'Sites';
$wb['DNS'] = 'DNS';
$wb['Tools'] = 'Tools';
$wb['Help'] = 'Help';
$wb['toolsarea_head_txt'] = 'Tools';
?>
......@@ -21,4 +21,13 @@ $wb['filter_txt'] = 'Suodatin';
$wb['add_new_record_txt'] = 'Lisää uusi tietue';
$wb['btn_save_txt'] = 'Tallenna';
$wb['btn_cancel_txt'] = 'Keskeytä';
$wb['System'] = 'System';
$wb['Client'] = 'Client';
$wb['Email'] = 'Email';
$wb['Monitor'] = 'Monitor';
$wb['Sites'] = 'Sites';
$wb['DNS'] = 'DNS';
$wb['Tools'] = 'Tools';
$wb['Help'] = 'Help';
$wb['toolsarea_head_txt'] = 'Tools';
?>
......@@ -21,4 +21,13 @@ $wb['filter_txt'] = 'Filter';
$wb['add_new_record_txt'] = 'Add new record';
$wb['btn_save_txt'] = 'Save';
$wb['btn_cancel_txt'] = 'Cancel';
$wb['System'] = 'System';
$wb['Client'] = 'Client';
$wb['Email'] = 'Email';
$wb['Monitor'] = 'Monitor';
$wb['Sites'] = 'Sites';
$wb['DNS'] = 'DNS';
$wb['Tools'] = 'Tools';
$wb['Help'] = 'Help';
$wb['toolsarea_head_txt'] = 'Tools';
?>
......@@ -21,4 +21,13 @@ $wb['filter_txt'] = 'Filtro';
$wb['add_new_record_txt'] = 'Aggiungi nuovo record';
$wb['btn_save_txt'] = 'Salva';
$wb['btn_cancel_txt'] = 'Indietro';
$wb['System'] = 'System';
$wb['Client'] = 'Client';
$wb['Email'] = 'Email';
$wb['Monitor'] = 'Monitor';
$wb['Sites'] = 'Sites';
$wb['DNS'] = 'DNS';
$wb['Tools'] = 'Tools';
$wb['Help'] = 'Help';
$wb['toolsarea_head_txt'] = 'Tools';
?>
......@@ -21,4 +21,13 @@ $wb['filter_txt'] = 'Filter';
$wb['add_new_record_txt'] = 'Add new record';
$wb['btn_save_txt'] = 'Save';
$wb['btn_cancel_txt'] = 'Cancel';
$wb['System'] = 'System';
$wb['Client'] = 'Client';
$wb['Email'] = 'Email';
$wb['Monitor'] = 'Monitor';
$wb['Sites'] = 'Sites';
$wb['DNS'] = 'DNS';
$wb['Tools'] = 'Tools';
$wb['Help'] = 'Help';
$wb['toolsarea_head_txt'] = 'Tools';
?>
<?php
$wb['conf_format_dateshort'] = 'Y-m-d';
$wb['conf_format_datelong'] = 'l dS of F Y';
$wb['conf_format_timeshort'] = 'H:i';
$wb['conf_format_timelong'] = 'H:i:s';
$wb['conf_format_datetime'] = 'Y-m-d H:i';
$wb['301'] = 'Moduł nie jest dostępny dla aktualnego uzytkownika.';
$wb['302'] = 'Moduł jest niepoprawny.';
$wb['1001'] = 'Nazwa użytkownika i hasło nie może być puste !';
$wb['1002'] = 'Nazwa użytkownika i/lub hasło nie są poprawne !';
$wb['1003'] = 'Nazwa użytkownika nie jest aktywna!';
$wb['delete_confirmation'] = 'Jesteś pewny, że chcesz usunąć ten wpis?';
$wb['error_no_view_permission'] = 'Nie masz uprawnień do podglądu tego wpisu lub taki wpis nie istnieje!';
$wb['error_no_delete_permission'] = 'Nie masz uprawnień do usunięcia tego wpisu!';
$wb["page_txt"] = 'Strona';
$wb["page_of_txt"] = 'z';
$wb["page_next_txt"] = 'Następna';
$wb["page_back_txt"] = 'Wróć';
$wb["delete_txt"] = 'Usuń';
$wb["filter_txt"] = 'Filtr';
$wb["add_new_record_txt"] = 'Dodaj nowy wpis';
$wb['btn_save_txt'] = "Zapisz";
$wb['btn_cancel_txt'] = "Wróć";
?>
<?php
$wb['conf_format_dateshort'] = 'Y-m-d';
$wb['conf_format_datelong'] = 'l dS of F Y';
$wb['conf_format_timeshort'] = 'H:i';
$wb['conf_format_timelong'] = 'H:i:s';
$wb['conf_format_datetime'] = 'Y-m-d H:i';
$wb['301'] = 'Moduł nie jest dostępny dla aktualnego uzytkownika.';
$wb['302'] = 'Moduł jest niepoprawny.';
$wb['1001'] = 'Nazwa użytkownika i hasło nie może być puste !';
$wb['1002'] = 'Nazwa użytkownika i/lub hasło nie są poprawne !';
$wb['1003'] = 'Nazwa użytkownika nie jest aktywna!';
$wb['delete_confirmation'] = 'Jesteś pewny, że chcesz usunąć ten wpis?';
$wb['error_no_view_permission'] = 'Nie masz uprawnień do podglądu tego wpisu lub taki wpis nie istnieje!';
$wb['error_no_delete_permission'] = 'Nie masz uprawnień do usunięcia tego wpisu!';
$wb['page_txt'] = 'Strona';
$wb['page_of_txt'] = 'z';
$wb['page_next_txt'] = 'Następna';
$wb['page_back_txt'] = 'Wróć';
$wb['delete_txt'] = 'Usuń';
$wb['filter_txt'] = 'Filtr';
$wb['add_new_record_txt'] = 'Dodaj nowy wpis';
$wb['btn_save_txt'] = 'Zapisz';
$wb['btn_cancel_txt'] = 'Wróć';
$wb['System'] = 'System';
$wb['Client'] = 'Client';
$wb['Email'] = 'Email';
$wb['Monitor'] = 'Monitor';
$wb['Sites'] = 'Sites';
$wb['DNS'] = 'DNS';
$wb['Tools'] = 'Tools';
$wb['Help'] = 'Help';
$wb['toolsarea_head_txt'] = 'Tools';
?>
......@@ -21,4 +21,13 @@ $wb['filter_txt'] = 'Filter';
$wb['add_new_record_txt'] = 'Add new record';
$wb['btn_save_txt'] = 'Save';
$wb['btn_cancel_txt'] = 'Cancel';
$wb['System'] = 'System';
$wb['Client'] = 'Client';
$wb['Email'] = 'Email';
$wb['Monitor'] = 'Monitor';
$wb['Sites'] = 'Sites';
$wb['DNS'] = 'DNS';
$wb['Tools'] = 'Tools';
$wb['Help'] = 'Help';
$wb['toolsarea_head_txt'] = 'Tools';
?>
......@@ -21,4 +21,13 @@ $wb['filter_txt'] = 'Filter';
$wb['add_new_record_txt'] = 'Add new record';
$wb['btn_save_txt'] = 'Save';
$wb['btn_cancel_txt'] = 'Cancel';
$wb['System'] = 'System';
$wb['Client'] = 'Client';
$wb['Email'] = 'Email';
$wb['Monitor'] = 'Monitor';
$wb['Sites'] = 'Sites';
$wb['DNS'] = 'DNS';
$wb['Tools'] = 'Tools';
$wb['Help'] = 'Help';
$wb['toolsarea_head_txt'] = 'Tools';
?>
......@@ -6,4 +6,6 @@ $wb['tcp_port_help_txt'] = 'Separated by comma';
$wb['udp_port_help_txt'] = 'Separated by comma';
$wb['active_txt'] = 'Active';
$wb['firewall_error_unique'] = 'There is already a firewall record for this server.';
$wb['tcp_ports_error_regex'] = 'Character not allowed in tcp port definition. Allowed characters are numbers, : and ,.';
$wb['udp_ports_error_regex'] = 'Character not allowed in udp port definition. Allowed characters are numbers, : and ,.';
?>
......@@ -44,4 +44,6 @@ $wb['init_script_txt'] = 'Cron init script name';
$wb['crontab_dir_txt'] = 'Path for individual crontabs';
$wb['wget_txt'] = 'Path to wget program';
$wb['security_level_txt'] = 'Security level';
$wb['web_user_txt'] = 'Apache user';
$wb['web_group_txt'] = 'Apache group';
?>
......@@ -32,4 +32,3 @@ $wb['Language Editor'] = 'Editor de Idiomas';
$wb['Software'] = 'Software';
$wb['Repositories'] = 'Repositórios';
?>
......@@ -9,4 +9,3 @@ $wb['firewall_error_unique'] = 'Já existe uma regra de firewall para este servi
$wb['tcp_ports_error_regex'] = 'Caratere não permitido para definição de porta tcp. São permitidos somente números, : e ,.';
$wb['udp_ports_error_regex'] = 'Caratere não permitido para definição de porta udp. São permitidos somente números, : e ,.';
?>
......@@ -6,4 +6,3 @@ $wb['tcp_port_txt'] = 'Portas TCP abertas';
$wb['udp_port_txt'] = 'Portas UDP abertas';
$wb['add_new_record_txt'] = 'Adcionar registro de firewall';
?>
......@@ -3,4 +3,3 @@ $wb['description_txt'] = 'Descrição';
$wb['name_txt'] = 'Grupo';
$wb['name_err'] = 'O Nome do Grupo deve conter de 1 a 30 caracteres!';
?>
......@@ -4,4 +4,3 @@ $wb['description_txt'] = 'Descrição';
$wb['name_txt'] = 'Grupo';
$wb['add_new_record_txt'] = 'Adicionar novo Grupo';
?>
......@@ -6,4 +6,3 @@ $wb['language_new_hint_txt'] = '2 letras código ISO 639-1 (Veja http://en.wikip
$wb['btn_save_txt'] = 'Criar um novo conjunto de idioma';
$wb['btn_cancel_txt'] = 'Voltar';
?>
......@@ -5,4 +5,3 @@ $wb['language_select_txt'] = 'Selecionar Idioma';
$wb['btn_save_txt'] = 'Mesclar arquivos agora';
$wb['btn_cancel_txt'] = 'Voltar';
?>
......@@ -6,4 +6,3 @@ $wb['lang_file_txt'] = 'Arquivo de Idioma';
$wb['btn_save_txt'] = 'Salvar';
$wb['btn_cancel_txt'] = 'Voltar';
?>
......@@ -4,4 +4,3 @@ $wb['language_select_txt'] = 'Selecione o idioma';
$wb['btn_save_txt'] = 'Exportar idioma selecionado para um arquivo';
$wb['btn_cancel_txt'] = 'Voltar';
?>
......@@ -5,4 +5,3 @@ $wb['btn_save_txt'] = 'Importar Arquivo de Idioma Selecionado';
$wb['language_overwrite_txt'] = 'Sobre escrever o arquivo se existir.';
$wb['btn_cancel_txt'] = 'Voltar';
?>
......@@ -5,4 +5,3 @@ $wb['module_txt'] = 'Módulo';
$wb['lang_file_txt'] = 'Arquido de Idioma';
$wb['lang_file_date_txt'] = 'Ultima Modificação';
?>
......@@ -9,4 +9,3 @@ $wb['db_server_txt'] = 'Servidor de Banco de Dados';
$wb['vserver_server_txt'] = 'Servidor VServer';
$wb['active_txt'] = 'Ativado';
?>
......@@ -45,6 +45,5 @@ $wb['crontab_dir_txt'] = 'Caminho para crontabs individuais';
$wb['wget_txt'] = 'Caminho para o wget';
$wb['web_user_txt'] = 'Usuário Apache';
$wb['web_group_txt'] = 'Grupo Apache';
$wb['security_level'] = 'Nível de segurança';
$wb['security_level_txt'] = 'Security level';
?>
......@@ -2,4 +2,3 @@
$wb['list_head_txt'] = 'Configuração do Servidor';
$wb['server_name_txt'] = 'Servidor';
?>
......@@ -4,4 +4,3 @@ $wb['ip_address_txt'] = 'Endereço IP';
$wb['virtualhost_txt'] = 'Nome VirtualHost HTTP';
$wb['ip_err'] = 'Endereço IP inválido!';
?>
......@@ -4,4 +4,3 @@ $wb['server_id_txt'] = 'Servidor';
$wb['ip_address_txt'] = 'Endereço IP';
$wb['add_new_record_txt'] = 'Adicionar novo Endereço IP';
?>
......@@ -9,4 +9,3 @@ $wb['db_server_txt'] = 'Banco de Dados';
$wb['vserver_server_txt'] = 'VServer';
$wb['add_new_record_txt'] = 'Adicionar novo Servidor';
?>
......@@ -5,4 +5,3 @@ $wb['package_title_txt'] = 'Pacote';
$wb['package_description_txt'] = 'Descrição';
$wb['action_txt'] = 'Acão';
?>
......@@ -5,4 +5,3 @@ $wb['repo_username_txt'] = 'Usuário (opcional)';
$wb['repo_password_txt'] = 'Senha (opcional)';
$wb['active_txt'] = 'Ativo';
?>
......@@ -4,4 +4,3 @@ $wb['active_txt'] = 'Ativo';
$wb['repo_name_txt'] = 'Repositório';
$wb['repo_url_txt'] = 'URL';
?>
......@@ -6,4 +6,3 @@ $wb['update_title_txt'] = 'Atualizar';
$wb['version_txt'] = 'Versão';
$wb['action_txt'] = 'Ação';
?>
......@@ -11,4 +11,3 @@ $wb['shelluser_prefix_error_regex'] = 'Caractere não permitido para o prefixo d
$wb['dblist_phpmyadmin_link_txt'] = 'Link para phpmyadmin';
$wb['mailboxlist_webmail_link_txt'] = 'Link para o webmail';
?>
......@@ -26,4 +26,3 @@ $wb['groups_txt'] = 'Grupos';
$wb['default_group_txt'] = 'Grupo Padrão';
$wb['startmodule_err'] = 'O módulo inicial não está contido nos módulos.';
?>
......@@ -6,4 +6,3 @@ $wb['vorname_txt'] = 'Sobrenome';
$wb['ort_txt'] = 'cidade';
$wb['add_new_record_txt'] = 'Adcionar novo usuário';
?>
<?php
$wb['1001'] = 'Benutzername oder Passwort ist leer.';
$wb['1002'] = 'Benutzername oder Passwort ist falsch.';
$wb['Firewall'] = 'Firewall';
$wb['Groups'] = 'Gruppen';
$wb['groups_description'] = 'Formular zur Bearbeitung von Systembenutzer Gruppen.';
$wb['Server'] = 'Server';
$wb['Services'] = 'Dienste';