I18n #1138
No reviewers
Labels
No Label
🔍🤖 Search Engines
approved
dependencies
duplicate
feedback wanted
high priority
I2P
iOS
low priority
OS
Self-contained networks
Social media
stale
streaming
todo
Tor
WIP
wontfix
XMPP
[m]
₿ cryptocurrency
ℹ️ help wanted
↔️ file sharing
⚙️ web extensions
✨ enhancement
❌ software removal
💬 discussion
🤖 Android
🐛 bug
💢 conflicting
📝 correction
🆘 critical
📧 email
🔒 file encryption
📁 file storage
🦊 Firefox
💻 hardware
🌐 hosting
🏠 housekeeping
🔐 password managers
🧰 productivity tools
🔎 research required
🌐 Social News Aggregators
🆕 software suggestion
👥 team chat
🔒 VPN
🌐 website issue
🚫 Windows
👁️ browsers
🖊️ digital notebooks
🗄️ DNS
🗨️ instant messaging (im)
🇦🇶 translations
No Milestone
No Assignees
1 Participants
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: privacyguides/privacytools.io#1138
Loading…
Reference in New Issue
No description provided.
Delete Branch "i18n"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Contribution to issue #1106 - Added i18n support to browser addon , resources, services pages , and related updates to en.yml.
btw - my first pull request!
Check List
[ x] I have read and understand CONTRIBUTING.md.
[ x] I have listed the source code for this project in source_code.md.
[ x] This project is free/libre software.
[ x] This project has an associated discussion.
Code Repository (if applicable): n/a
Is the automated build working in this branch? Just checking to see if I need to attend to the Travis CI failure that I'm seeing here.
Hey, thanks for the PR, @yeet648 🌟 Looking at the build log (click on "Details" next to "Travic CI - Pull Request)...
There's apparently an error here:
Maybe the error is coming from this typo? Should be
participate
.@ -70,9 +97,9 @@ opera=""
%}
Hmm do we need more descriptive names for the cardv2 items rather than
title#
,name#
, anddescr#
? I'm not sure this will be easy to maintain. What aboutbrowser-addon-card-title-2
? @JonahAragon not sure if this matters or not.thanks for tip on build log. i will check that out myself next time. typo of "participate" was same in en.yml and footer.html so a mistake but I don't think cause of break. i fixed anyway.
Thanks! I’ll take a look at this when I get home. If there’s some syntax issues I can fix those easily, no worries.
@ -70,9 +97,9 @@ opera=""
%}
Possibly. These particular variable names are per page, so you could determine “browser-addon” by looking at the file name alone.
The build break is resolved. There were some extra double quotes in the en.yml that I had escape. The yaml parser is a liar liar since it reported the break in line 95 and the real issues were on 58 and 247.
Also, I have my local build all set up now so will make sure I'm good on my side before another PR.
Hmm I wonder where the Netlify preview deployment steps are? Looks like there's only the Pull Request step that ran which is weird...
@ -36,0 +40,4 @@
privacy_badger_description: "is a browser add-on that stops advertisers and other third-party trackers from secretly tracking where you go and what pages you look at on the web. Privacy Badger learns about trackers as you browse."
ublock_origin: "uBlock Origin"
ublock_origin_title: "uBlock Origin: Block Ads and Trackers"
ublock_origin_description: "is an efficient <a href=https://github.com/gorhill/uBlock/wiki/Blocking-mode>wide-spectrum-blocker</a> that's easy on memory, and yet can load and enforce thousands more filters than other popular blockers out there. It has no monetization strategy and is completely open source."
I'm wondering if the
href
needs escaped quotes here?@ -36,0 +40,4 @@
privacy_badger_description: "is a browser add-on that stops advertisers and other third-party trackers from secretly tracking where you go and what pages you look at on the web. Privacy Badger learns about trackers as you browse."
ublock_origin: "uBlock Origin"
ublock_origin_title: "uBlock Origin: Block Ads and Trackers"
ublock_origin_description: "is an efficient <a href=https://github.com/gorhill/uBlock/wiki/Blocking-mode>wide-spectrum-blocker</a> that's easy on memory, and yet can load and enforce thousands more filters than other popular blockers out there. It has no monetization strategy and is completely open source."
Some goes for other
href
s in this file...This is exactly what I needed, thanks again 😄
Just for your own info, I did have to make one change:
3fc56dcc3f
— the nameX variables actually weren't necessary and don't really work the way you expected them to in the cards. Instead of code like this:You can just do this (put both tags and the
strong
HTML in descrX itself: