badconker / ctrl-w

Userscript pour le jeu web Mush (mush.vg)
MIT License
12 stars 20 forks source link

Minor translation fixes in the message manager tabs #31

Closed Whitellama closed 9 years ago

Whitellama commented 9 years ago

This appears to be a lot of changes but it's actually very few. po_update changed lot of the line number comments and for some reason it removed all of the */ at the end of the translator comments. I didn't bother fixing that, but if they serve a purpose I'm willing.

Changes:

Whitellama commented 9 years ago

I'm not sure whether you want it or not, but I also threw in po_update as a shell script to ease translation for OSX/Linux/*nix users. It's not that different, just switched backslashes to forwardslashes and added a line to put backslashes back into the line number comments. (Running po_update on Linux caused all of the line number comments to show ../CTRLW.user.js instead of ..\CTRLW.user.js. The difference is insignificant but I thought it would be annoying to change so many lines unnecessarily.)

Then again, it's pretty simple to run po_update.bat in non-windows OS, so if you want me to I can remove it. Up to you!

badconker commented 9 years ago

Arf sorry , i have forgotten to merge translations branch recently modified into dev branch... Can you update your pull request ? */ was a bug and it was already fixed. I used an old version of xgettext. More over i added "--no-wrap" option in bat file. Your shell file is a good idea :smiley:.

Whitellama commented 9 years ago

No worries, I didn't even notice there was a translation branch. I'll update it tomorrow.

Whitellama commented 9 years ago

Okay, should be all good now. (I also added --no-wrap to po_update.sh).

badconker commented 9 years ago

perfect :)