[x2go-i18n] pyhoca-gui in Swedish and Bokmal?

Mike Gabriel mike.gabriel at das-netzwerkteam.de
Sun Feb 19 20:29:10 CET 2012


Hi Daniel,

On So 19 Feb 2012 18:28:52 CET Daniel Lindgren wrote:

> Hi Mike,
>
> I've updated to the latest (heuler) version and have caught a couple
> of mistakes in the swedish translation, see attached patch. Although I
> only updated a few lines, the patch recorded 87 insertions and 67
> deletions ... not sure why, perhaps it has to do with how poedit
> updates a file. I attached the po file as well in case something went
> awry.

Ok, patch applied.

> Some other things I noted:
>
> - The string "Custom session window title" is truncated to "Custom
> session" in PyHoca-GUI (Profile Manager -> Profile tab), at least on
> my Debian Gnome install. The translated text is also truncated, I
> guess that the label is too short or limited in some way.

Fixed in Git.

> - The labels for "Keyboard layout" and "Keyboard model" are too short
> for the swedish strings, the last 2-3 characters are truncated.

Fixed in Git.

> - Would it be possible to add the keyboard layout ("us") and model
> ("pc105/us") strings to the translation? That way you could preset the
> correct values for each language, as was possible in x2goclient.

Great idea, available in Git. This adds one more i18n tag.

> - Nothing happens if I choose "Printing Preferences" from the context
> menu. This error message is printed to the terminal:
>
> Traceback (most recent call last):
>   File "/usr/lib/pymodules/python2.7/pyhoca/wxgui/frontend.py", line
> 734, in OnPrintingPreferences
>     _pp_dialog = printingprefs.PyHocaGUI_PrintingPreferences(self)
>   File "/usr/lib/pymodules/python2.7/pyhoca/wxgui/printingprefs.py",
> line 141, in __init__
>     self.__update_fields()
>   File "/usr/lib/pymodules/python2.7/pyhoca/wxgui/printingprefs.py",
> line 225, in __update_fields
>     _printer_name = self._availablePrinters[self._defaultPrinter]
> KeyError: None

This probably fails because you have to printers installed in CUPS.  
This is, of course, a bug. Fixed in Git.

> Cheers,
> Daniel

A package build is currently running, I will be glad if you cross  
check my latest patches.

Mike




-- 

DAS-NETZWERKTEAM
mike gabriel, dorfstr. 27, 24245 barmissen
fon: +49 (4302) 281418, fax: +49 (4302) 281419

GnuPG Key ID 0xB588399B
mail: mike.gabriel at das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: Digitale PGP-Unterschrift
URL: <http://lists.x2go.org/pipermail/x2go-i18n/attachments/20120219/be0f14b4/attachment.pgp>


More information about the x2go-i18n mailing list