Skip to content
Permalink
Browse files

doc: Usage in README

  • Loading branch information...
MikeMitterer committed Aug 28, 2017
1 parent 7add301 commit cb711d143796a0ab12cf614438ebe7a8badf234a
Showing with 6 additions and 4 deletions.
  1. +6 −4 README.md
@@ -24,12 +24,14 @@ Since v1.x xgettext creates `locale/templates/LC_MESSAGES/messages.gettext.pot`
_("String to translate", "Plural form of String");
l10n("String to translate", "Plural form of String");
<!-- Translator: Comment -->
_("String to translate", "Plural form of String");
l10n("String to translate", "Plural form of String");
template = """
<!-- Translator: Comment -->
_("String to translate", "Plural form of String");
l10n("String to translate", "Plural form of String");
"""
```

The last option can be used in HTML-"String-Blocks" (`"""` | `'''`)
The last option has to be used for HTML-"String-Blocks" (`"""` | `'''`)

## Install
```bash

0 comments on commit cb711d1

Please sign in to comment.
You can’t perform that action at this time.