[X2Go-i18n] Czech translation of X2Go's PyHoca-GUI

Ruda Vallo ruda at vallo.cz
Mon Feb 18 21:59:16 CET 2019


Hi Mike,

I am sending a Czech translation in attachment.

I have some issues with translation testing:

1) I have trouble with UTF-8 characters, while pyhoca-gui is connecting
to X2Go server.

This is debug output:

### PyHoca-GUI running in development mode ###
pyhoca-gui[8148] (x2gosessregistry-pylib) NOTICE: registering X2Go
session x2go-staging...
pyhoca-gui[8148] (x2goclient-pylib) NOTICE: initializing X2Go session...
pyhoca-gui[8148] (x2gocontrolsession-pylib) NOTICE: connecting to
[x2go-staging]:22
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/gevent/greenlet.py", line 536,
in run
    result = self._run(*self.args, **self.kwargs)
  File "/usr/lib/python2.7/dist-packages/pyhoca/wxgui/frontend.py", line
779, in _do_authenticate
    self.notifier.send('%s - unknown error' % profile_name, _(u'An
unknown error occurred during authentication!'), icon='auth_error',
timeout=4000)
  File "/usr/lib/python2.7/dist-packages/pyhoca/wxgui/notify.py", line
138, in send
    self._pyhoca_logger('[%s] %s' % (title.encode(utils.get_encoding()),
text.encode(utils.get_encoding())), loglevel=log.loglevel_NOTICE)
  File "/usr/lib/python2.7/dist-packages/x2go/log.py", line 102, in message
    msg = msg.encode(utils.get_encoding())
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 38:
ordinal not in range(128)


I googled it and created HOTFIX to pyhoca-gui. I added this to the
beginning of the file:

import sys
reload(sys)
sys.setdefaultencoding('UTF8')


I use Ubuntu 18.04 with Gnome3 and Mate.


2) I have problem with Gnome3 and pyhoca-gui. In Gnome3 on startup
pyhoca-gui is hidden in systray, but Gnome 3 does not show it.

I installed Mate. With Mate everything works and I have tested on it.


Thanks & greets,
Ruda


Dne 05. 02. 19 v 8:26 Mike Gabriel napsal(a):
> HI Ruda,
>
> On  Mo 04 Feb 2019 23:05:11 CET, Ruda Vallo wrote:
>
>> Hi Mike,
>> I'm not doing it just yet. I will prepare translations within next three
>> weeks.
>>
>> Thanks & greets,
>> Ruda
>>
>>
>> Dne 04. 02. 19 v 14:41 Mike Gabriel napsal(a):
>>> Hi Ruda,
>>>
>>> I am about to prepare a release for X2Go's alternative client GUI,
>>> called PyHcoa-GUI. I plan to upload the package asap.
>>>
>>> Did you start with the translation of PyHoca-GUI at the time we
>>> exchanged emails on X2Go translations already?
>>>
>>> If not, do you think you can work on that on short notice?
>>>
>>> Most other languages are ok'ish and I will probably get a permission
>>> for uploading i18n changes in upstream to Debian after the upcoming
>>> soft-freeze (for Debian 10).
>>>
>>> Greets,
>>> Mike
>
> Great.
>
> Thanks so much!
> Mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cs.po
Type: text/x-gettext-translation
Size: 54872 bytes
Desc: not available
URL: <http://lists.x2go.org/pipermail/x2go-i18n/attachments/20190218/d28ed8ab/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.x2go.org/pipermail/x2go-i18n/attachments/20190218/d28ed8ab/attachment-0001.sig>


More information about the x2go-i18n mailing list