Mercurial > gemma
changeset 1428:ec0a0542c221
client: add hints to docs for translation
* Add the white space style hint to our client documentation.
author | Bernhard Reiter <bernhard@intevation.de> |
---|---|
date | Thu, 29 Nov 2018 16:17:54 +0100 |
parents | 350e9a168bc8 |
children | f4b3fb43b311 |
files | client/docs/developer.md |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/client/docs/developer.md Thu Nov 29 16:14:01 2018 +0100 +++ b/client/docs/developer.md Thu Nov 29 16:17:54 2018 +0100 @@ -101,6 +101,7 @@ - [xgettext fails with some .vue files](https://github.com/Polyconseil/vue-gettext/issues/28) which forces us to use `(`, `)` around templates - [translations in attributes](https://github.com/Polyconseil/vue-gettext/issues/9) which leaves us with either interpolating in templates with `<translate></translate>` or use computed properties in Vue components (cf. Login component). + - [inconsistent white space handling](https://github.com/Polyconseil/vue-gettext/issues/80) if you need a white space preserved before the translated tag, use `<span v-translate class="fix-trans-space">to be translated</a>` (see `src/assets/application.sass`). - Is dependend on external (=non JS) tools (`xgettext`) which are not able to consume `.vue`-files directly, which in turn leads to unexpected behaviour. -