hovel / pybbm

Django forum solution. Tested, documented, shipped with example project.
BSD 2-Clause "Simplified" License
225 stars 151 forks source link

Add Swedish translation #242

Closed goeranu closed 8 years ago

goeranu commented 8 years ago

Please consider the following Swedish translation of pybbm. In addition to the po file itself, I have also modified a few messages to make them translate better. The Swedish translation of the string 5 seconds ago would be för 5 sekunder sedan. That is, the number is not at the beginning of the string. My code change is to allow for this.

goeranu commented 8 years ago

Maybe I should mention: after my code changes, django-admin makemessages complains about the version of the messages where the string is repeated three times. Apparently some special way to implement plural handling in Russian. To fix this I would suggest to switch to using the standard ungettext function from django.utils.translation. Let me know if you want me to do the rewrite.

lampslave commented 8 years ago

Thank you for suggestion, I did it myself. Please, resolve conflicts and I'll merge.

goeranu commented 8 years ago

Yes, that was exactly how I meant!

I believe I've updated the pull request and it should be ready again now. (I'm learning github, and git in general, thus "believe". :smile:)

lampslave commented 8 years ago

Thank you.