Garbled text in ui

Bug #873958 reported by Erno Kuusela
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
peg-solitaire (Ubuntu)
Fix Released
Undecided
I. De Marchi

Bug Description

The list view in the ui contains garbled text (looks a bit like some kind of utf-8 interpretation accident). also the ui is in some
non-english language contrary to my locale.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: peg-solitaire (not installed)
ProcVersionSignature: Ubuntu 3.0.0-12.19-generic 3.0.4
Uname: Linux 3.0.0-12-generic x86_64
ApportVersion: 1.23-0ubuntu2
Architecture: amd64
Date: Fri Oct 14 11:33:54 2011
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/zsh
SourcePackage: peg-solitaire
UpgradeStatus: Upgraded to oneiric on 2011-09-30 (13 days ago)

Related branches

Changed in peg-solitaire (Ubuntu):
assignee: nobody → I. De Marchi (tangram-peces)
Revision history for this message
Erno Kuusela (erno-iki) wrote :

Screenshot attached.

Revision history for this message
I. De Marchi (tangram-peces) wrote : Re: [Bug 873958] Re: Garbled text in ui

Hi Erno,

Please, you can check whether the directory
/usr/share/games/peg-solitaire/locales/ have the files
«solitari_en_EN.qm» and «solitari.qm» ?

Regards!

I. De Marchi

2011/10/29 Erno Kuusela <email address hidden>:
> Screenshot attached.
>
> ** Attachment added: "peg-solitaire-bug.png"
>   https://bugs.launchpad.net/ubuntu/+source/peg-solitaire/+bug/873958/+attachment/2577647/+files/peg-solitaire-bug.png
>
> --
> You received this bug notification because you are a bug assignee.
> https://bugs.launchpad.net/bugs/873958
>
> Title:
>  Garbled text in ui
>
> Status in “peg-solitaire” package in Ubuntu:
>  New
>
> Bug description:
>  The list view in the ui contains garbled text (looks a bit like some kind of utf-8 interpretation accident). also the ui is in some
>  non-english language contrary to my locale.
>
>  ProblemType: Bug
>  DistroRelease: Ubuntu 11.10
>  Package: peg-solitaire (not installed)
>  ProcVersionSignature: Ubuntu 3.0.0-12.19-generic 3.0.4
>  Uname: Linux 3.0.0-12-generic x86_64
>  ApportVersion: 1.23-0ubuntu2
>  Architecture: amd64
>  Date: Fri Oct 14 11:33:54 2011
>  EcryptfsInUse: Yes
>  InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
>  ProcEnviron:
>   PATH=(custom, user)
>   LANG=en_US.UTF-8
>   SHELL=/bin/zsh
>  SourcePackage: peg-solitaire
>  UpgradeStatus: Upgraded to oneiric on 2011-09-30 (13 days ago)
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/peg-solitaire/+bug/873958/+subscriptions
>

Revision history for this message
Erno Kuusela (erno-iki) wrote :

Yes, they're there:

/usr/share/games/peg-solitaire/locales/ > md5sum solitari_en_EN.qm solitari.qm
8c79a36f4ee900d9d3f333ae3ce4cddc solitari_en_EN.qm
8c79a36f4ee900d9d3f333ae3ce4cddc solitari.qm

/usr/share/games/peg-solitaire/locales/ > ls -l solitari_en_EN.qm solitari.qm
-rw-r--r-- 1 root root 16452 2011-01-18 18:50 solitari_en_EN.qm
-rw-r--r-- 1 root root 16452 2011-01-18 18:51 solitari.qm

Revision history for this message
I. De Marchi (tangram-peces) wrote :

Hi Erno,

>
> /usr/share/games/peg-solitaire/locales/ > md5sum solitari_en_EN.qm solitari.qm
> 8c79a36f4ee900d9d3f333ae3ce4cddc  solitari_en_EN.qm
> 8c79a36f4ee900d9d3f333ae3ce4cddc  solitari.qm
>
> /usr/share/games/peg-solitaire/locales/ > ls -l solitari_en_EN.qm solitari.qm
> -rw-r--r-- 1 root root 16452 2011-01-18 18:50 solitari_en_EN.qm
> -rw-r--r-- 1 root root 16452 2011-01-18 18:51 solitari.qm
>

Uhm....Apparently, the program does not "finds" the locales directory.....

Please do these two tests:

1. Copy the file solitari_en_EN.qm in the same directory and changes
the name to solitari_en_US.qm

2. Try selecting other languages ​​(«Idioma» menu option).

Regards!

I. De Marchi

Revision history for this message
Erno Kuusela (erno-iki) wrote :

Hello,

Test 1 fixed the language problem. After that, tne english option in language menu is duplicated (appears as options 3 and 4).

Test 2: changing the languages from the menu works alone also in combination with test 1. Even alone without test 1,
the garbled text problem doesn't occur after making a language choice from the menu.

Revision history for this message
I. De Marchi (tangram-peces) wrote :

Hi Erno,

> Test 1 fixed the language problem. After that, tne english option in
> language menu is duplicated (appears as options 3 and 4).
>

OK. Even so, do not understand why this happens: the default option is
to use the file solitari.qm (English translation) when the .qm file is
not found for the system language. I will continue researching this
problem.
The duplicate menu is normal: you have to translate a string into
translation file. I will attach the file (put in the directory
/usr/share/games/peg-solitaire/locales/)

> Test 2: changing the languages from the menu works alone also in combination with test 1. Even alone without test 1,
> the garbled text problem doesn't occur after making a language choice from the menu.
>

OK.

Thank you very much for your help. I try to have fix this problem in
the next release.

Regards!

I. De Marchi

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package peg-solitaire - 1.2-1

---------------
peg-solitaire (1.2-1) unstable; urgency=low

  [ Innocent De Marchi ]
  * New upstream release.
    - Add 24 new problems to solve.
    - Add en_US locale (LP: #873958).
  * Updated debian/control description field.
  * Update Standards-Version to 3.9.3
    (no changes required).
  * Update debian/copyright file to v. 1.0 format.
  * Update year in debian/copyright file.

  [ Rudy Godoy ]
  * Added myself to Uploaders in order to sponsor the package.

 -- Rudy Godoy <email address hidden> Sat, 19 May 2012 02:28:07 -0500

Changed in peg-solitaire (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.