More fixes for l10n #981
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "l10n"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When I was looking for the reason why pylupdate4 not includes the string "Show QR-code" into ts-files, I noticed that almost any widget module defines the
_translate()
function and calls it with many default values for the positional arguments. Fix me, I think_translate
should be imported fromtr
where it's already defined for all cases and with the proper defaults. Here I edited only the modules__init__
andnetworkstatus
because it will not probably be generated from ui-files.The disadvantage of this changeset is that pylupdate4 will mark all strings in that changed
_translate()
calls as "obsolete" and translators on transifex will be forced to copy suggestion into translation for each of it.Hmm, this not works at all with keyword args. New strings should be marked "unfinished", not "obsolete". Investigating...
Thanks for doing this, let me know when you're done so that I can review it.
I think it's finished already (for this two modules). Not squashing yet to be able to drop undesirable commits if any (what about 'synchronisation' for example?).
Rebased and squashed a bit. There is a rebase artifacts between commits but the final patch should be correct. Of course I'll squash further all acceptable commits before you merge this pr.
Thanks I'll look at it.
This is work in progress currently. Please don't merge without prior notice. The commit
9267416 has a rebase artifacts and needs to be edited in next rebase.