8 Commits

Author SHA1 Message Date
djoate
f78c9e11bb
Encode length and punctuation in key IDs
This is to ensure we don't end up using the same string for two
strings using the same words but different length and punctuation.
2019-11-25 20:53:59 -05:00
46ba805cdd
Remove '?' and '.' characters from source key names 2019-11-25 16:01:29 -06:00
djoate
939c7479c3
Bump max key length to 150 characters 2019-11-24 18:22:06 -05:00
djoate
8b5226d388
Append _KEY to keys and strip newlines from ID
Some strings such as "Yes" and "No" refuse to be translated, so
we need to pad the IDs somehow.
2019-11-24 18:22:06 -05:00
djoate
9924c83b85
Don't add empty strings into source file 2019-11-24 18:22:05 -05:00
djoate
1472c2760c
Code style cleanup 2019-11-19 00:14:04 -05:00
djoate
95f87e234c
Translate more of the index.html
* Translate more of index.html, with translations sourced from
deepl.com

* Relax the plugin to allow capitalization, periods, exclamation 
marks, and question marks in the Weblate ID for YAML src. 
This helps differentiate between similar but different strings.
2019-11-18 01:18:12 +00:00
djoate
c36002d851
Add jekyll-simple-i18n plugin with example
Adds in support for https://github.com/signalapp/jekyll-simple-i18n.

The plugin did not work with the github-pages gem, so github-pages was
switched with jekyll (which is what the current i18n branch does anyway).
2019-11-18 00:09:19 +00:00