Commit Graph

1740 Commits

Author SHA1 Message Date
4507e5517b Update weblate-source-file.yml 2019-11-25 14:28:29 -06:00
669e3412df Update source file YAMLs 2019-11-24 19:48:07 -05:00
e94c915c7a Key OS section 2019-11-24 19:47:55 -05:00
3cff73fd46 Update translation source files 2019-11-24 19:20:33 -05:00
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
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
13b5827a79 Parse for translate filter 2019-11-24 18:22:51 -05:00
27faa55c01 Key all browser content 2019-11-24 18:22:33 -05:00
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
4bc6e4397a Use correct language, locale, and use hreflang tags 2019-11-24 18:22:06 -05:00
8add822670 team page: enable keying for role and bios 2019-11-24 18:22:06 -05:00
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
4940b2b439 Key donate page 2019-11-24 18:22:06 -05:00
77288d7f5d Key about page and fix index.html spacing 2019-11-24 18:22:06 -05:00
939c7479c3 Bump max key length to 150 characters 2019-11-24 18:22:06 -05:00
857287ca1d Key DNS page 2019-11-24 18:22:06 -05:00
70f0db537d Key email providers and rekey VPN 2019-11-24 18:22:06 -05:00
fbb227f67f Key VPN page 2019-11-24 18:22:06 -05:00
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
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
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
1a2996e80c Code cleanup: Remove unused variable 2019-11-24 18:22:06 -05:00
45ab5135f3 Key 'Website' and 'Forum' for cardv2 2019-11-24 18:22:06 -05:00
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
128871e550 Fix missing spaces 2019-11-24 18:22:05 -05:00
d59672b784 Key sponsors.html 2019-11-24 18:22:05 -05:00
eaecf7a5b9 Key services.html 2019-11-24 18:22:05 -05:00
6f052cc462 Key all of index.html 2019-11-24 18:22:05 -05:00
211747580d Key footer.html 2019-11-24 18:22:05 -05:00
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
2688f16fbb Key the nav bar 2019-11-24 18:22:05 -05:00
2f76b467e3 Automatically key external links in card and cardv2 2019-11-24 18:22:05 -05:00
13728d2e39 Fix newline in description 2019-11-24 18:22:05 -05:00
394b22fe92 Enable auto keying for cardv2 contents 2019-11-24 18:22:05 -05:00
ad335fe640 Cleanup
Translate tooltips in card.html if available
Clean up old captures
2019-11-24 18:22:05 -05:00
fe8d4810d4 Use capture tags for capturing button text 2019-11-24 18:22:05 -05:00
9924c83b85 Don't add empty strings into source file 2019-11-24 18:22:05 -05:00
b4cc2cf5e0 Stop using capture tags for card.html includes 2019-11-24 18:22:05 -05:00
718a52be07 Add in translate page filter 2019-11-24 18:22:05 -05:00
7ac8f97e96 Add translate filter 2019-11-24 18:22:04 -05:00
ac0a28837f Fix permalink generation (#1515) 2019-11-23 23:21:15 -06:00
1472c2760c Code style cleanup 2019-11-19 00:14:04 -05:00
52da0f33bc Use 't' instead of 'translate' 2019-11-18 23:55:46 -05:00
9817613736 Partially translate providers/cloud-storage/ 2019-11-18 23:34:40 -05:00
2ace1bfe6c Fix permalinks in page generator 2019-11-18 23:29:43 -05:00
3abed603b5 Translate a part of providers page 2019-11-18 23:10:33 -05:00
cab6bd18b8 Add support for translating page.description 2019-11-18 23:09:39 -05:00
8f216deec5 Key 'Privacy Tools', and get rid of en.yml 2019-11-18 01:45:28 +00:00
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
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