i18n: Keying the site (4/5) - OS #1519

Merged
djoate merged 39 commits from i18n-key-os into i18n-simple 2019-11-25 20:28:43 +00:00

39 Commits

Author SHA1 Message Date
djoate 669e3412df
Update source file YAMLs 2019-11-24 19:48:07 -05:00
djoate e94c915c7a
Key OS section 2019-11-24 19:47:55 -05:00
djoate 3cff73fd46
Update translation source files 2019-11-24 19:20:33 -05:00
djoate 155a8166ce
Key Real-Time Communication
This covers real-time communication. Aware of
https://github.com/privacytoolsIO/privacytools.io/pull/1500, but
that will be handled later.
2019-11-24 19:20:33 -05:00
djoate 271c705ad3
Key some software pages
This covers
* Calendar/Contacts Sync Tools
* Digital Notebook
* Email Alternatives and Clients
* File Encrpytion, Sharing, and Sync
* Metadata Removal Toosl
* Password Manager
* Productivity Tools
* Self-contained Networks
* Self-hosted Cloud Server
2019-11-24 19:20:11 -05:00
djoate 13b5827a79
Parse for translate filter 2019-11-24 18:22:51 -05:00
djoate 27faa55c01
Key all browser content 2019-11-24 18:22:33 -05:00
djoate 158ee60161
Correct canonical href and hreflang
* Change canonical href to use the source file
* Update hreflang to use production_url
2019-11-24 18:22:06 -05:00
djoate 4bc6e4397a
Use correct language, locale, and use hreflang tags 2019-11-24 18:22:06 -05:00
djoate 8add822670
team page: enable keying for role and bios 2019-11-24 18:22:06 -05:00
djoate c37764f7d6
Use /en/ as a dummy translation
In /en/, every keyed string is "ZZ" so as to make it obvious what
is and isn't keyed.
2019-11-24 18:22:06 -05:00
djoate 4940b2b439
Key donate page 2019-11-24 18:22:06 -05:00
djoate 77288d7f5d
Key about page and fix index.html spacing 2019-11-24 18:22:06 -05:00
djoate 939c7479c3
Bump max key length to 150 characters 2019-11-24 18:22:06 -05:00
djoate 857287ca1d
Key DNS page 2019-11-24 18:22:06 -05:00
djoate 70f0db537d
Key email providers and rekey VPN 2019-11-24 18:22:06 -05:00
djoate fbb227f67f
Key VPN page 2019-11-24 18:22:06 -05:00
djoate 2a82bc59fa
Add support for translation notes
To add a translation note, use it as a filter. For example,
consider
   {% Free %}
If we want to say that this means free as in no monetary value,
wrap it around in {{ }} and apply the tl_note filter:
   {% {{ "Free" | tl_note: Free as in no monetary value }} %}
The tl_note parameter will be ignored when this Liquid filter is
parsed, but the entirety will be used as the keyed string. Just
make sure that translators don't remove the quotes around "Free".
2019-11-24 18:22:06 -05:00
djoate 8800be73ae
Key some pages in Providers category
Key the following pages under "Providers" in navbar:
* cloud-storage
* hosting providers
* pastebin
* search engines
* social networks
* social news aggregators
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 1a2996e80c
Code cleanup: Remove unused variable 2019-11-24 18:22:06 -05:00
djoate 45ab5135f3
Key 'Website' and 'Forum' for cardv2 2019-11-24 18:22:06 -05:00
djoate 085bb990d1
Key /providers/
This covers
* Global Mass Surveillance - The Fourteen Eyes
* Key Disclosure Law
* What is a warrant canary?
2019-11-24 18:22:05 -05:00
djoate 128871e550
Fix missing spaces 2019-11-24 18:22:05 -05:00
djoate d59672b784
Key sponsors.html 2019-11-24 18:22:05 -05:00
djoate eaecf7a5b9
Key services.html 2019-11-24 18:22:05 -05:00
djoate 6f052cc462
Key all of index.html 2019-11-24 18:22:05 -05:00
djoate 211747580d
Key footer.html 2019-11-24 18:22:05 -05:00
djoate bbb63d3698
Parse translated and nontranslated strings
This updates translate-tag.rb to parse all strings. This means that
we can add items such as {{ site.name }} into the source strings
and the plugin will do the rest. We no longer need hacky a
hacky workaround.
2019-11-24 18:22:05 -05:00
djoate 2688f16fbb
Key the nav bar 2019-11-24 18:22:05 -05:00
djoate 2f76b467e3
Automatically key external links in card and cardv2 2019-11-24 18:22:05 -05:00
djoate 13728d2e39
Fix newline in description 2019-11-24 18:22:05 -05:00
djoate 394b22fe92
Enable auto keying for cardv2 contents 2019-11-24 18:22:05 -05:00
djoate ad335fe640
Cleanup
Translate tooltips in card.html if available
Clean up old captures
2019-11-24 18:22:05 -05:00
djoate fe8d4810d4
Use capture tags for capturing button text 2019-11-24 18:22:05 -05:00
djoate 9924c83b85
Don't add empty strings into source file 2019-11-24 18:22:05 -05:00
djoate b4cc2cf5e0
Stop using capture tags for card.html includes 2019-11-24 18:22:05 -05:00
djoate 718a52be07
Add in translate page filter 2019-11-24 18:22:05 -05:00
djoate 7ac8f97e96
Add translate filter 2019-11-24 18:22:04 -05:00