diff options
author | Stefano <l.stickell@yahoo.it> | 2013-07-19 13:03:50 +0200 |
---|---|---|
committer | Stefano <l.stickell@yahoo.it> | 2013-07-19 13:03:50 +0200 |
commit | 6fa3bc624b92eaf7f36e269fa1ac625993d88ee2 (patch) | |
tree | 12e2335d00e85128efbcc9eeb86559ca367874d3 /locale | |
parent | Ability to add tips for translators (diff) | |
download | pyload-6fa3bc624b92eaf7f36e269fa1ac625993d88ee2.tar.xz |
Explain how to add tips for translators
Diffstat (limited to 'locale')
-rw-r--r-- | locale/README.md | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/locale/README.md b/locale/README.md index 7a9d49f4b..215b98a6e 100644 --- a/locale/README.md +++ b/locale/README.md @@ -8,6 +8,22 @@ or http://crowdin.net/project/pyload +## Add a tip for translators +If you want to explain a translatable string to make the translation process easier you can do that using comment block starting with `L10N:`. For example: + +```python +# L10N: Here the tip for translators +# Thanks +print _("A translatable string") +``` + +Translators will see: + +``` +L10N: Here the tip for translators +Thanks +``` + ## Updating templates To update POT files run: |