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-b9f4589650da
unstable
Carlos Perez 2011-02-19 16:08:42 +00:00
parent 13809850a3
commit 584020eddb
1 changed files with 7 additions and 0 deletions

View File

@ -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"