dpm | good morning all | 07:10 |
---|---|---|
yurchor | Hi! Does anybody know if LP translations of CUPS (https://translations.launchpad.net/ubuntu/precise/+source/cups/+pots/cups ) are used anywhere? Is there any progress in Bug 607141 ? | 08:06 |
ubottu | Launchpad bug 607141 in Ubuntu Translations "Cups translation template should be in the binary package, not in the langpack" [Low,Triaged] https://launchpad.net/bugs/607141 | 08:06 |
=== ulysses_ is now known as ulysses | ||
kelemengabor | yurchor: AFAIK, nothing - those translations are not used in the langpacks, you should submit them to upstream | 08:34 |
yurchor | So what is the sense to have translations that are stirred by Apple Inc. on LP every release? | 08:35 |
dpm | yurchor, well, it's simply that there are lots of templates in Launchpad and we haven't had the chance to fix all of those that don't work with language packs, and it's often not as simple as just disabling them. Your e-mail and mentions on IRC certainly help highlighting the ones we should look at, thanks! :-) | 08:39 |
yurchor | Thank you for your work on finding thewm too. :) | 08:40 |
=== dpm is now known as dpm-afk | ||
=== dpm-afk is now known as dpm | ||
davidcalle | kelemengabor, hi | 19:53 |
kelemengabor | davidcalle: pong | 19:54 |
davidcalle | kelemengabor, by any chance, do you have an idea how to fix this localization bug? https://bugs.launchpad.net/bugs/993002 | 19:55 |
ubottu | Launchpad bug 993002 in unity "Unity video lens doesn't work when installing in Cuba country" [Undecided,New] | 19:55 |
kelemengabor | davidcalle: looking | 19:59 |
davidcalle | oops, sorry, I'm on an eeepc and I'm a bit clumsy with it :) | 19:59 |
davidcalle | kelemengabor, thanks | 19:59 |
kelemengabor | davidcalle: I'm looking at the code at http://bazaar.launchpad.net/~unity-lens-videos/unity-lens-videos/trunk/view/head:/src/unity-lens-video#L42 | 20:01 |
kelemengabor | could you explain why is it necessary to fiddle with LANGS & co? | 20:02 |
kelemengabor | I mean this part between lines 42-77... I never saw something like this | 20:02 |
davidcalle | kelemengabor, I've used a localization tuto, I had no experience with it. | 20:03 |
kelemengabor | okay, how about following this one: http://docs.python.org/library/gettext.html | 20:06 |
kelemengabor | especially the example under 22.1.1 | 20:07 |
davidcalle | kelemengabor, that would be the sane thing to do, thank you ;) Do you mind if I ask you to review the changes when I'm done? | 20:12 |
kelemengabor | so to wrap it up: line 45 could be changed to | 20:13 |
kelemengabor | LOCAL_PATH = "/usr/share/locale/" | 20:13 |
kelemengabor | lines 68-69 can stay, 76 should be _ = gettext.gettext, everything else between 42-77 should be removed and in theory, you should be fine | 20:13 |
kelemengabor | sure | 20:13 |
davidcalle | kelemengabor, now the code actually makes sense. http://bazaar.launchpad.net/~unity-lens-videos/unity-lens-videos/trunk/revision/73 | 20:22 |
kelemengabor | davidcalle: looks good, but why import gettext again? it was already imported at the very beginning, wasn't it? | 20:23 |
davidcalle | Right. I missed it. | 20:24 |
davidcalle | kelemengabor, thank you, once again ;-) | 20:27 |
kelemengabor | davidcalle: I just built a deb from the lp:unity-lens-videos branch, let's see if I can switch my system into cuban locale :) | 20:29 |
kelemengabor | hm, seems like there is no such thing in language-selector :( | 20:30 |
davidcalle | kelemengabor, but it apparently exists in the Ubiquity locale chooser. That's annoying. | 20:32 |
davidcalle | I'm going to ask the user affected to test the dev PPA. | 20:33 |
kelemengabor | davidcalle: that's the way to go. I have just tested it with es_AR and hu_HU, neither did crash, but both looked localized perfectly | 20:47 |
davidcalle | kelemengabor, I'm installing the es_ set. Good to know :) Thanks a lot for your help. | 20:49 |
kelemengabor | you are welcome :) | 20:49 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!