]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Add tips in translation doc
authorChocobozzz <me@florianbigard.com>
Wed, 27 Jun 2018 06:28:43 +0000 (08:28 +0200)
committerChocobozzz <me@florianbigard.com>
Wed, 27 Jun 2018 06:28:43 +0000 (08:28 +0200)
support/doc/translation.md

index 52045083c2f1f1002902cf7a07a6d2030ba98a9c..ebbc26c1a576c81b5ac929c6ae0177080133de7b 100644 (file)
@@ -23,3 +23,13 @@ There are 4 files:
  * **server**: contains server strings (privacies, licences...)
  * **iso639**: contains iso639 (languages) strings used by PeerTube to describe the audio language of a particular video.
  It's the reason why these strings should be translated too. There are many strings so do not hesitate to translate only main audio languages.
+
+## Tips
+
+You must not translate special tags like `<x id="INTERPOLATION" ... />`.
+
+For example: 
+```<x id="INTERPOLATION" equiv-text="{{ video.publishedAt | myFromNow }}"/> - <x id="INTERPOLATION_1" equiv-text="{{ video.views | myNumberFormatter }}"/> views```
+
+should be in french 
+```<x id="INTERPOLATION" equiv-text="{{ video.publishedAt | myFromNow }}"/> - <x id="INTERPOLATION_1" equiv-text="{{ video.views | myNumberFormatter }}"/> vues```
\ No newline at end of file