fixed literals & typo

This commit is contained in:
Adolfo Gómez García 2020-05-07 10:37:26 +02:00
parent a5b164930e
commit 559c5c76ff
3 changed files with 4 additions and 4 deletions

View File

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

View File

@ -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('@')

View File

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