Remove os_install_lang variable.

master
Mike Hiretsky 13 years ago
parent 08ec996ea2
commit f9b5e5bd25

@ -60,6 +60,11 @@ Lets you choose your CPU's architecture. Valid values are "i686", "x86_64" and "
Installing in interactive build mode. Is valid while installing on HDD. If specified, the live image will be mounted at booting in a separate layer of the aufs2 filesystem. Additional layers allow to separate the changes from the results. Installing in interactive build mode. Is valid while installing on HDD. If specified, the live image will be mounted at booting in a separate layer of the aufs2 filesystem. Additional layers allow to separate the changes from the results.
.RE .RE
.PP .PP
\fB\-\-pxe\fR
.RS 4
Installing for the booting of other computers using the network card.
.RE
.PP
\fB\-l\fR, \fB\-\-lang\fR \fIlanguage\fR \fB\-l\fR, \fB\-\-lang\fR \fIlanguage\fR
.RS 4 .RS 4
Language choice. Valid values are 'bg_BG' - Bulgarian, 'de_DE' - German, 'en_US' - English, 'es_ES' - Spanish, 'fr_FR' - French, 'it_IT' - Italian, 'pl_PL' - Polish, 'pt_BR' - Portugal Brazilian, 'pt_PT' - Portugal , 'ro_RO' - Romanian, 'ru_RU' - Russian, 'uk_UA' - Ukrainian. Language choice. Valid values are 'bg_BG' - Bulgarian, 'de_DE' - German, 'en_US' - English, 'es_ES' - Spanish, 'fr_FR' - French, 'it_IT' - Italian, 'pl_PL' - Polish, 'pt_BR' - Portugal Brazilian, 'pt_PT' - Portugal , 'ro_RO' - Romanian, 'ru_RU' - Russian, 'uk_UA' - Ukrainian.

@ -60,6 +60,11 @@ DISK - раздел для установки или директория, в с
Установка системы в режиме сборки. Поддерживается при установке системы на жесткий диск компьютера. В случае использования этого параметра, live-образ дистрибутива будет монтироваться во время загрузки в отдельный слой файловой системы aufs2. Дополнительные слои позволяют отделить вносимые изменения от результатов работы. Установка системы в режиме сборки. Поддерживается при установке системы на жесткий диск компьютера. В случае использования этого параметра, live-образ дистрибутива будет монтироваться во время загрузки в отдельный слой файловой системы aufs2. Дополнительные слои позволяют отделить вносимые изменения от результатов работы.
.RE .RE
.PP .PP
\fB\-\-pxe\fR
.RS 4
Установка системы для загрузки других машин с помощью сетевой карты.
.RE
.PP
\fB\-l\fR, \fB\-\-lang\fR \fIязык\fR \fB\-l\fR, \fB\-\-lang\fR \fIязык\fR
.RS 4 .RS 4
Выбор языка. Допустимые значения: 'bg_BG' - болгарский, 'de_DE' - немецкий, 'en_US' - английский, 'es_ES' - польский, 'fr_FR' - французский, 'it_IT' - итальянский, 'pl_PL' - польский, 'pt_BR' - португальский бразильский, 'pt_PT' - португальский, 'ro_RO' - румынский, 'ru_RU' - русский, 'uk_UA' - украинский. Выбор языка. Допустимые значения: 'bg_BG' - болгарский, 'de_DE' - немецкий, 'en_US' - английский, 'es_ES' - польский, 'fr_FR' - французский, 'it_IT' - итальянский, 'pl_PL' - польский, 'pt_BR' - португальский бразильский, 'pt_PT' - португальский, 'ro_RO' - румынский, 'ru_RU' - русский, 'uk_UA' - украинский.

@ -1332,12 +1332,6 @@ class fillVars(object, glob_attr):
if path.exists(convertDictOpt._fileSystemOpt[x]["makefs"]) if path.exists(convertDictOpt._fileSystemOpt[x]["makefs"])
else "no", self.Get('os_format_type')) else "no", self.Get('os_format_type'))
def get_os_install_lang(self):
"""Supported languages"""
return list(sorted(list(set(clLocale().getLangs()) &
set(["en_US","de_DE","es_ES","fr_FR","it_IT","pl_PL","pt_BR",
"uk_UA","bg_BG","ru_RU","ro_RO","pt_PT"]))))
def get_os_install_scratch(self): def get_os_install_scratch(self):
"""Install system in scratch mode""" """Install system in scratch mode"""
return self.Get('os_scratch') return self.Get('os_scratch')

@ -2590,7 +2590,7 @@ the system") + " (yes/no)"
def setAllLocaleByLang(self,lang): def setAllLocaleByLang(self,lang):
"""Set all locale variable by specified lang""" """Set all locale variable by specified lang"""
locale = clLocale() locale = clLocale()
if not lang in self.clVars.Get('os_install_lang'): if not lang in self.clVars.Get('os_lang'):
return False return False
self.clVars.Set('os_install_locale_lang',lang, True) self.clVars.Set('os_install_locale_lang',lang, True)
self.clVars.Set('os_install_locale_locale', self.clVars.Set('os_install_locale_locale',

@ -387,9 +387,6 @@ class Data:
# avialable format by mkfs utility # avialable format by mkfs utility
os_format_use = {} os_format_use = {}
# supported languages
os_install_lang = {}
# current grub # current grub
os_grub_conf = {} os_grub_conf = {}

Loading…
Cancel
Save