make getgui default to english if language not in list of supported languages.
git-svn-id: file:///home/svn/framework3/trunk@11780 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
13809850a3
commit
584020eddb
|
@ -106,12 +106,19 @@ def addrdpusr(session, username, password, lang)
|
|||
when "en_EN"
|
||||
rdu = "Remote Desktop Users"
|
||||
admin = "Administrators"
|
||||
when "en_US"
|
||||
rdu = "Remote Desktop Users"
|
||||
admin = "Administrators"
|
||||
when "de_DE"
|
||||
rdu = "Remotedesktopbenutzer"
|
||||
admin = "Administratoren"
|
||||
when "fr_FR"
|
||||
rdu = "Utilisateurs du Bureau <20> distance"
|
||||
admin = "Administrateurs"
|
||||
else
|
||||
print_error("Could not determine lenguage, defaulting to English!")
|
||||
rdu = "Remote Desktop Users"
|
||||
admin = "Administrators"
|
||||
end
|
||||
|
||||
print_status "Setting user account for logon"
|
||||
|
|
Loading…
Reference in New Issue