
var OpenHAB = {};   // Settings object
OpenHAB.i18n_strings = {};


// ------------- Interface Themes --------------

OpenHAB.themes = [
         'simple',
         'wood',
         'concrete'
];



// ------- Internationalization Strings -------
//
// Change these strings to translate the user interface
//

OpenHAB.i18n_strings['en'] = {

        language_name: 'English',

        // -------- Interface texts ---------
        back: 'Back',
	    interfaces: 'Interfaces',
        loading: 'Loading...',
        settings: 'Settings',
        default_sitemap: 'Default sitemap',
        this_device_is: 'This device is',
		auto_detect: 'Auto detect',
        phone: 'Phone',
        tablet: 'Tablet',
        pc: 'PC',
        save: 'Save',
        cancel: 'Cancel',
        interface_language: 'Interface language',
        theme: 'Theme',
		transitions: 'Transitions',
        choose_on_startup: 'choose on startup',
		
		need_to_restart_for_changes_to_take_effect: 'Need to restart for changes to take effect! It will restart automatically!',
	
	    // -------- Errors --------
	    error_server_connection: 'Error: No server connection!',
        error_build_interface: 'Error: Can not build the Interface!',

};


OpenHAB.i18n_strings['bg'] = {
        
        language_name: 'български',        

        // -------- Interface texts ---------
        back: 'Назад',
    	interfaces: 'Интерфейси',
        loading: 'Зареждане...',
        settings: 'Настройки',
        default_sitemap: 'Sitemap по подразбиране',
        this_device_is: 'Това устройство е',
	auto_detect: 'Автоматично откриване',
        phone: 'Телефон',
        tablet: 'Таблет',
        pc: 'Компютър',
        save: 'Запази',
        cancel: 'Отмени',
        interface_language: 'Език на интерфейса',
        theme: 'Тема',
		transitions: 'Анимации',
        choose_on_startup: 'избирай при старт',
	
	    need_to_restart_for_changes_to_take_effect: 'Нужен е рестарт, за да се отчетат направените промени! Ще се рестартира автоматично!',
	
	    // -------- Errors --------
	    error_server_connection: 'Грешка: Няма връзка със сървъра!',
        error_build_interface: 'Грешка: Не може да построи интерфейса!',

};


OpenHAB.i18n_strings['de'] = {
        
        language_name: 'Deutsch',        

        // -------- Interface texts ---------
        back: 'Zurück',
    	interfaces: 'Interfaces',
        loading: 'Laden...',
        settings: 'Settings',
        default_sitemap: 'Default Sitemap',
        this_device_is: 'Das Gerät ist',
	auto_detect: 'Auto detect',
        phone: 'Telefon',
        tablet: 'Tablet',
        pc: 'Komputer',
        save: 'Speichern',
        cancel: 'Annulieren',
        interface_language: 'Interface Sprache',
        theme: 'Theme',
		transitions: 'Transitions',
        choose_on_startup: 'choose on startup',
	    
 		need_to_restart_for_changes_to_take_effect: 'Need to restart for changes to take effect! It will restart automatically!',
			
	    // -------- Errors --------
	    error_server_connection: 'Error: Kein Serveranschluss!',
            error_build_interface: 'Error: Kann das Interface nicht bauen!',

};

OpenHAB.i18n_strings['es'] = {
        
        language_name: 'Español',        




        // -------- Interface texts ---------
        back: 'Atrás',
    	interfaces: 'Interfaces',
        loading: 'Cargando...',
        settings: 'Ajustes',
        default_sitemap: 'Mapa por defecto',
        this_device_is: 'Dispositivo',
		auto_detect: 'Auto-Detectar',
        phone: 'Móvil',
        tablet: 'Tablet',
        pc: 'PC',
        save: 'Guardar',
        cancel: 'Cancelar',
        interface_language: 'Idioma',
        theme: 'Tema',
		transitions: 'Transitions',
        choose_on_startup: 'elegir al entrar',
	    
 		need_to_restart_for_changes_to_take_effect: 'Es necesario reiniciar para actualizar los cambios. Se reiniciará automáticamente¡',
			
	    // -------- Errors --------
	    error_server_connection: 'Error: No se pudo conectar con el servidor¡',
        error_build_interface: 'Error: No se pudo construir la interfaz!',




};