Added a option to debug the language files (show strings that are not contained in the lang file surrounded by #....#)
Fixed: FS#1063 - Missing language variables in shell user options
| | |
| | | |
| | | //** Default Language |
| | | $conf["language"] = '{language}'; |
| | | $conf["debug_language"] = false; |
| | | |
| | | |
| | | //** Misc. |
| | |
| | | } |
| | | if(!empty($this->_wb[$text])) { |
| | | $text = $this->_wb[$text]; |
| | | } else { |
| | | if($this->_conf['debug_language']) { |
| | | $text = '#'.$text.'#'; |
| | | } |
| | | } |
| | | return $text; |
| | | } |
| | |
| | | |
| | | //** Default Language |
| | | $conf["language"] = 'en'; |
| | | $conf["debug_language"] = false; |
| | | |
| | | |
| | | //** Misc. |
| | |
| | | $wb['DNS SRV'] = 'DNS SRV'; |
| | | $wb['DNS TXT Record'] = 'DNS TXT Record'; |
| | | $wb['DNS TXT'] = 'DNS TXT'; |
| | | $wb['DNS Wizard'] = 'DNS Wizard'; |
| | | $wb['Add DNS Zone'] = 'Add DNS Zone'; |
| | | $wb['Templates'] = 'Templates'; |
| | | |
| | | ?> |
| | |
| | | $wb['Send message'] = 'Send message'; |
| | | $wb['View messages'] = 'View messages'; |
| | | $wb['Support'] = 'Support'; |
| | | $wb['About ISPConfig'] = 'About ISPConfig'; |
| | | $wb['Version'] = 'Version'; |
| | | |
| | | ?> |
| | |
| | | $wb['Postfix Blacklist'] = 'Postfix Blacklist'; |
| | | $wb['Content Filter'] = 'Content Filter'; |
| | | $wb['Global Filters'] = 'Global Filters'; |
| | | $wb['Domain Alias'] = 'Domain Alias'; |
| | | $wb["Relay Recipients"] = 'Relay Recipients'; |
| | | |
| | | ?> |
| | |
| | | $wb['Shell'] = 'Shell'; |
| | | $wb['Websites'] = 'Websites'; |
| | | $wb["Stats"] = 'Statistics'; |
| | | $wb["Cron"] = 'Cron'; |
| | | $wb["Cron Jobs"] = 'Cron Jobs'; |
| | | $wb["Statistics"] = 'Statistics'; |
| | | $wb["Web traffic"] = 'Web Traffic'; |
| | | ?> |