project-navigation
Personal tools

Author Topic: Portuguese( from Portugal) translation  (Read 6906 times)

Offline Hjlfsilph

  • Cannon Fodder
  • **
  • Posts: 5
    • View Profile
Portuguese( from Portugal) translation
« on: October 06, 2009, 06:34:06 pm »
Where can i do the translation for pt pt? there isent any link for it in the wiki :(
http://ufoai.ninex.info/wiki/index.php/List_of_msgid/Research

thanks in advance
H.

Offline Hjlfsilph

  • Cannon Fodder
  • **
  • Posts: 5
    • View Profile
Re: Portuguese( from Portugal) translation
« Reply #1 on: October 06, 2009, 06:42:54 pm »
never mind got poedit and the pt file and im translating rigth now  ;D

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: Portuguese( from Portugal) translation
« Reply #2 on: October 06, 2009, 08:16:03 pm »
Where can i do the translation for pt pt? there isent any link for it in the wiki :(
http://ufoai.ninex.info/wiki/index.php/List_of_msgid/Research

You have the links to the wiki - please only translate the short texts in the po file - the long articles (like the research articles you posted the link for above) must be translated in the wiki. We synchronize the po files against the wiki from time to time - if you changes are only in the po file, they will be lost on the next update run.

Offline Hjlfsilph

  • Cannon Fodder
  • **
  • Posts: 5
    • View Profile
Re: Portuguese( from Portugal) translation
« Reply #3 on: October 08, 2009, 04:13:22 pm »
i've made a lot of changes in the po file, on the badly translated and not translated files, but all small texts.
Where can i find the portuguese files for pt_pt? in the wiki there is only pt_br :\
And where do i submit the po file?(i translated almost all the small texts, took me a few hours ^^)

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: Portuguese( from Portugal) translation
« Reply #4 on: October 08, 2009, 06:04:10 pm »
either attach it here (compressed) or submit at our bug tracker: http://sourceforge.net/tracker/?atid=805244&group_id=157793&func=browse

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: Portuguese( from Portugal) translation
« Reply #5 on: October 09, 2009, 08:43:07 pm »
Please always use PoEdit for translating.

We got a Portuguese languagefile from someone (was it you?) which was broken due to missing/extra %s \n markers. I've fixed the obvious mistakes in r26564, but one needs a better (a real) fix from someone who knows Portuguese. You can find the latest version in our SVN repository, even on web access: ufoai-pt.po.

-geever

Offline Hjlfsilph

  • Cannon Fodder
  • **
  • Posts: 5
    • View Profile
Re: Portuguese( from Portugal) translation
« Reply #6 on: October 16, 2009, 06:26:30 pm »
I tried to keep em as much as faitfull to the original text as possible, but there where many texts in yellow that missed \n and %, so that migth be it.
This is the latest tranlations i've made they are almost all done except for a few and the ones that have to be done in wiki.
I've only used a program other then PoEdit once, i used notepad++ to change this value from brasilian to portuguese "X-Poedit-Language: Portuguese\n"
Tell the lines of the ones who arent ok and i will fix em ^^

Keep up the good work.
H. ;)

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: Portuguese( from Portugal) translation
« Reply #7 on: October 16, 2009, 10:47:20 pm »
Tell the lines of the ones who arent ok and i will fix em ^^

If you open that link you can see a revision history of the file first, I wrote the line number (for which poedit complained) in the history. It was the "Sold previously recovered %s from %s to nation %s, gained %i credits." if I'm right. A %s was missing, I put in one (in backets) but I'm sure you can do it better. ;)

-geever

Offline Hjlfsilph

  • Cannon Fodder
  • **
  • Posts: 5
    • View Profile
Re: Portuguese( from Portugal) translation
« Reply #8 on: October 21, 2009, 06:32:42 pm »
The translation incoerence has solved ^^
the po file has more corrections other then those, i've uploaded it into the tracker.
Thanks for pointing it out ^^

http://sourceforge.net/tracker/?func=detail&aid=2883368&group_id=157793&atid=805244

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: Portuguese( from Portugal) translation
« Reply #9 on: October 21, 2009, 08:09:04 pm »
The translation incoerence has solved ^^
the po file has more corrections other then those, i've uploaded it into the tracker.
Thanks for pointing it out ^^

http://sourceforge.net/tracker/?func=detail&aid=2883368&group_id=157793&atid=805244

Isn't it the same you've uploaded before?

Code: [Select]
$ make lang
msgfmt -c -v -o base/i18n/pt/LC_MESSAGES/ufoai.mo src/po/ufoai-pt.po
src/po/ufoai-pt.po:11658:19: invalid control sequence
src/po/ufoai-pt.po:11658:48: invalid control sequence
msgfmt: found 2 fatal errors
make: *** [base/i18n/pt/LC_MESSAGES/ufoai.mo] Error 1

Seems so (I've fixed \.n things last time):
"%i  UT's reservados para disparar.\n
Click para mudar\.nClick-esquerdo para limpar\.n"


-geever

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: Portuguese( from Portugal) translation
« Reply #10 on: October 21, 2009, 11:09:44 pm »
please also create a new tracker for each new patch - closed trackers are not really in my search and we might miss them.