keywords in desktop files, again

2013-03-22 Thread Matthias Clasen
I sent a mail about this in January already[1], but we are still seeing a steady stream of broken syntax in translations for the Keywords field in desktop files. Please, try to educate your fellow translators about this issue, it is really making building GNOME package updates cumbersome, since the

Re: keywords in desktop files, again

2013-03-22 Thread rafael ff1
Is there a easy way to track down this bug in every module, except for going in and out of each one? I'd love to make sure it doesn't happen to my language. Rafael Ferreira 2013/3/22 Matthias Clasen : > I sent a mail about this in January already[1], but we are still > seeing a steady stream of b

Re: keywords in desktop files, again

2013-03-22 Thread Philip Withnall
El vie, 22-03-2013 a las 10:24 -0400, Matthias Clasen escribió: > I sent a mail about this in January already[1], but we are still > seeing a steady stream of broken syntax in translations for the > Keywords field in desktop files. Please, try to educate your fellow > translators about this issue,

Re: keywords in desktop files, again

2013-03-22 Thread Olav Vitters
On Fri, Mar 22, 2013 at 02:42:39PM +, Philip Withnall wrote: > We already have validation of .po files in a pre-receive git hook[1]. > Might it be an idea to add validation of .desktop files? Any idea how that could be implemented? I am willing to make it happen, just don't see how. E.g. figur

Re: keywords in desktop files, again

2013-03-22 Thread matthias.clasen
If you have a jhbuild build, you can run desktop-file-validate on the desktop files in the module. You'll have to rebuild after making translation changes to regenerate those files. Sent from my Samsung Galaxy Note™, an AT&T LTE smartphonerafael ff1 wrote:Is there a easy way to track down t

Re: keywords in desktop files, again

2013-03-22 Thread Philip Withnall
El vie, 22-03-2013 a las 15:46 +0100, Olav Vitters escribió: > On Fri, Mar 22, 2013 at 02:42:39PM +, Philip Withnall wrote: > > We already have validation of .po files in a pre-receive git hook[1]. > > Might it be an idea to add validation of .desktop files? > > Any idea how that could be impl

Re: keywords in desktop files, again

2013-03-22 Thread Andre Klapper
On Fri, 2013-03-22 at 15:46 +0100, Olav Vitters wrote: > Any idea how that could be implemented? I am willing to make it happen, > just don't see how. E.g. figure out exactly which line is the Keywords > line, etc. Grep for a line that starts with #: ../ and includes the string .d

Re: keywords in desktop files, again

2013-03-22 Thread Daniel Mustieles García
In bash it may be tricky to do this check, but I guess Python could help. I tried to do it in bash and I wasted my time :( 2013/3/22 Andre Klapper > On Fri, 2013-03-22 at 15:46 +0100, Olav Vitters wrote: > > Any idea how that could be implemented? I am willing to make it happen, > > just don't s

Re: keywords in desktop files, again

2013-03-22 Thread Ask Hjorth Larsen
Hi Could someone specify how these files *should* be translated? Must there be the same number of elements in the list? I suppose the most obvious thing is that it should end with ;. I'll write a script and check it on all the files, then send a complete list. Regards Ask 2013/3/22 Daniel Mus

Re: keywords in desktop files, again

2013-03-22 Thread Daniel Mustieles García
Hi Ask, The Keywords string just has to end with ";" to be ok, no need to have the same number of words Many thanks fin advance for your script! 2013/3/22 Ask Hjorth Larsen > Hi > > Could someone specify how these files *should* be translated? Must > there be the same number of elements in th

Re: keywords in desktop files, again

2013-03-22 Thread Ask Hjorth Larsen
Hi, here's a script (uses pyg3t): http://www.student.dtu.dk/~ashj/opendir/desktopfilecheck.py I'm actually at work at the moment, but someone can run it or I'll do it tomorrow or so when I have time. Let me know about any issues or if it needs to check for anything else. Regards Ask 2013/3/2

Re: keywords in desktop files, again

2013-03-22 Thread Ask Hjorth Larsen
It can be used like this: askhl@mime:~/translate$ find -name "*.po" | xargs desktopfilecheck.py ./gdm-and-friends/gnome-control-center.gnome-3-8.da.po ERROR, bad syntax line 6684: #. Translators: those are keywords for the wacom tablet control-center panel #: ../panels/wacom/gnome-wacom-panel.desk

Re: keywords in desktop files, again

2013-03-22 Thread Daniel Mustieles García
It works great!! I've detected (and fixed) an error in gnome-control-center. Thanks!! This weekend ill try to clean the output to be less verbose and I'll create a report with it. Stay tuned!! Again, many thanks! 2013/3/22 Ask Hjorth Larsen > It can be used like this: > > askhl@mime:~/transla

Re: Typos in documentation tags

2013-03-22 Thread RyōTa SimaMoto
Hi, Thank you for nice report. Japanese is fixed for only mismathed tags problem. Please allow the rest issue of 'undefined entities'. 'undefined entities' error happen at de-report.txt and ja-report.txt, and all of them belong to GIMP Documentation. These entities consist of  , …, ×, >, —, –,

Re: Regarding Someone to volunteer in GSOC2013 for Gnome Damned-lies project

2013-03-22 Thread Gil Forcada
El dc 20 de 03 de 2013 a les 14:43 +0100, en/na Claude Paroz va escriure: > Le mercredi 20 mars 2013 à 06:39 +0530, chandan kumar a écrit : > > Hello, > > I am Chandan Kumar who is currently pursuing B.tech in Computer > > Science And Engineering from Dr.B.C.Roy Engineering College, Durgapur > > (I

Re: Typos in documentation tags

2013-03-22 Thread Jiro Matsuzawa
Hi Daniel, Thank you for the report. I'll check errors like this before commit. Could you tell me how you caught the broken tags? On Thu, Mar 21, 2013 at 12:49 AM, Daniel Mustieles García wrote: > Hi again. > > As promised, here is the updated report about typos in documentation tags. > > If yo