bugMyPaint - Bugs: bug #20281, Fails to build for non-English...

 
 
Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

bug #20281: Fails to build for non-English locales if gettext() has translations for brushsettings.json strings

Submitted by:  Andrew Chadwick <achadwick>
Submitted on:  Fri 02 Nov 2012 03:33:28 PM UTC  
 
Severity: 4 - ImportantPriority: 5 - Normal
Status: Ready For TestPrivacy: Public
Assigned to: NoneOpen/Closed: Closed
Release: git master f7b9ba53edPlanned Release: None
Operating System: Ubuntu 12.04 x64

Fri 04 Jan 2013 08:59:15 PM UTC, comment #5:

This bug has been closed because it is marked ready-for-test and
no further comments have been added in a long while. Since we
have not heard otherwise, we assume that the fixes works as intended.

If there are problems with the implemented functionality, please
file a new issue.

Jon Nordby <jonnor>
Project Administrator
Fri 04 Jan 2013 08:59:03 PM UTC, comment #4:

Remaining issue in comment #3 was fixed in the run-up to the 1.1 release I believe.

Jon Nordby <jonnor>
Project Administrator
Fri 16 Nov 2012 11:09:40 AM UTC, comment #3:

Did a quick test, building and installing an Arch Linux package of mypaint (mypaint-git in AUR): brushlib translations look to work when installed.
That they don't work when running not-installed is probably because we don't bind and specify locale dir for the "libmypaint" text domain in mypaint.py like we do with the "mypaint" domain.
This should be fixed.

Jon Nordby <jonnor>
Project Administrator
Fri 16 Nov 2012 09:46:14 AM UTC, comment #2:

I pushed an ugly workaround to git. It should at least build again now. I didn't reproduce, so please test&confirm.

Also, I'm not sure if brushlib translations work at all. At least, when running without installing ("./mypaint -c conf") they don't seem work.

Martin Renold <martinxyz>
Project Administrator
Fri 02 Nov 2012 04:00:59 PM UTC, comment #1:

Can confirm on my system (Ubuntu 12.04, x64)

Andre <bluemonkey9>
Fri 02 Nov 2012 03:33:28 PM UTC, original submission:

From IRC, MyPaint appears to fail to build if gettext can find translations - assuming my speculation is correct that brushlib/generate.py is trying to cram translated non-ascii strings into C code when it shouldn't.

Symptoms observed: with a PPA build of MyPaint installed, which installs its translations with a /usr prefix thus putting them where gettext can see them, the build fails with

on a system running Ubuntu 12.04 where locale(1) reports:

I've not been able to reproduce this in full yet from an en_GB.UTF-8 11.10 workstation, but I may well not be doing the right thing with generated locales, language packs and environment variables to be able to test thoroughly (curse of the monoglot English speaker). Setting as Need Info for now.

Andrew Chadwick <achadwick>
Project Administrator

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jonnor (Posted a comment)
  • -unavailable- added by martinxyz (Posted a comment)
  • -unavailable- added by martinxyz
  • -unavailable- added by bluemonkey9 (Posted a comment)
  • -unavailable- added by achadwick (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 04 Jan 2013 08:59:15 PM UTCjonnorOpen/ClosedOpen=>Closed
    Fri 16 Nov 2012 09:46:14 AM UTCmartinxyzStatusNeed Info=>Ready For Test
    Fri 16 Nov 2012 08:21:30 AM UTCmartinxyzCarbon-Copy-=>Added jonnor
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup