mirror of https://gitlab.com/bashrc2/epicyon
Sequence
parent
c9e36e8577
commit
dbb2c39632
|
@ -948,9 +948,6 @@ def runDesktopClient(baseDir: str, proxyType: str, httpPrefix: str,
|
|||
sayStr = indent + 'Notification sounds off'
|
||||
_sayCommand(sayStr, sayStr, screenreader,
|
||||
systemLanguage, espeak)
|
||||
sayStr = indent + '/q or /quit to exit'
|
||||
_sayCommand(sayStr, sayStr, screenreader,
|
||||
systemLanguage, espeak)
|
||||
|
||||
currTimeline = 'inbox'
|
||||
pageNumber = 1
|
||||
|
@ -981,7 +978,7 @@ def runDesktopClient(baseDir: str, proxyType: str, httpPrefix: str,
|
|||
newDMsExist = False
|
||||
pgpKeyUpload = False
|
||||
|
||||
sayStr = indent + 'Loading translations file...'
|
||||
sayStr = indent + 'Loading translations file'
|
||||
_sayCommand(sayStr, sayStr, screenreader,
|
||||
systemLanguage, espeak)
|
||||
translate, systemLanguage = \
|
||||
|
@ -991,6 +988,10 @@ def runDesktopClient(baseDir: str, proxyType: str, httpPrefix: str,
|
|||
_sayCommand(sayStr, sayStr, screenreader,
|
||||
systemLanguage, espeak)
|
||||
session = createSession(proxyType)
|
||||
|
||||
sayStr = indent + '/q or /quit to exit'
|
||||
_sayCommand(sayStr, sayStr, screenreader,
|
||||
systemLanguage, espeak)
|
||||
prevTimelineFirstId = ''
|
||||
while (1):
|
||||
if not pgpKeyUpload:
|
||||
|
|
1
utils.py
1
utils.py
|
@ -2177,5 +2177,4 @@ def loadTranslationsFromFile(baseDir: str, language: str) -> ({}, str):
|
|||
systemLanguage = 'en'
|
||||
translationsFile = baseDir + '/translations/' + \
|
||||
systemLanguage + '.json'
|
||||
print('System language: ' + systemLanguage)
|
||||
return loadJson(translationsFile), systemLanguage
|
||||
|
|
Loading…
Reference in New Issue