forked from shaba/openuds
fixed literals & typo
This commit is contained in:
parent
a5b164930e
commit
559c5c76ff
@ -124,7 +124,7 @@ class NXTransport(BaseNXTransport):
|
||||
tab=gui.PARAMETERS_TAB
|
||||
)
|
||||
screenSize = gui.ChoiceField(
|
||||
label=_('Scren size'),
|
||||
label=_('Screen size'),
|
||||
order=10,
|
||||
tooltip=_('Screen size'),
|
||||
defvalue=CommonPrefs.SZ_FULLSCREEN,
|
||||
|
@ -126,7 +126,7 @@ class TSNXTransport(BaseNXTransport):
|
||||
tab=gui.PARAMETERS_TAB
|
||||
)
|
||||
screenSize = gui.ChoiceField(
|
||||
label=_('Scren size'),
|
||||
label=_('Screen size'),
|
||||
order=10,
|
||||
tooltip=_('Screen size'),
|
||||
defvalue=CommonPrefs.SZ_FULLSCREEN,
|
||||
@ -213,7 +213,7 @@ class TSNXTransport(BaseNXTransport):
|
||||
password: str,
|
||||
request: 'HttpRequest'
|
||||
) -> typing.Tuple[str, str, typing.Dict[str, typing.Any]]:
|
||||
prefs = user.prefs('nx')
|
||||
prefs = self.screenSize.value
|
||||
|
||||
username = user.getUsernameForAuth()
|
||||
proc = username.split('@')
|
||||
|
@ -72,7 +72,7 @@ class BaseX2GOTransport(transports.Transport):
|
||||
)
|
||||
|
||||
screenSize = gui.ChoiceField(
|
||||
label=_('Scren size'),
|
||||
label=_('Screen size'),
|
||||
order=10,
|
||||
tooltip=_('Screen size'),
|
||||
defvalue=CommonPrefs.SZ_FULLSCREEN,
|
||||
|
Loading…
Reference in New Issue
Block a user