progress on implementing lang selection

This commit is contained in:
Plailect 2017-01-15 15:26:18 -05:00
parent bab43f0b3b
commit 31a3214905
No known key found for this signature in database
GPG key ID: F8A415C5EA602A41
34 changed files with 80 additions and 102 deletions

View file

@ -209,10 +209,6 @@ defaults:
layout: single
author_profile: false
# Outputting
permalink: /:categories/:title/
# Plugins
gems:
- jekyll-paginate

View file

@ -14,8 +14,13 @@
{% endfor %}
</ul>
<ul class="hidden-links links-menu hidden"></ul>
<ul class="hidden-links lang-menu hidden"></ul>
<!-- LANG_TODO
<ul class="hidden-links lang-menu hidden">
<li class="masthead__menu-item"><a href="{{ site.url }}{{ page.url }}">English</a></li>
<li class="masthead__menu-item"><a href="{{ site.url }}/es_ES{{ page.url }}">Español</a></li>
</ul>
<button class="lang-selector"><div class="langicon"><i class="fa fa-language fa-lg" aria-hidden="true"></i></div></button>
-->
<button class="nav-selector" id="toggle-nav"><div class="navicon"></div></button>
</nav>
</div>

View file

@ -1,8 +1,8 @@
---
title: "2.1.0 ctrtransfer"
permalink: /2.1.0-ctrtransfer.html
lang: en_US
ref: 2.1.0-ctrtransfer
lang: en # see http://www.w3schools.com/TagS/ref_language_codes.asp for lang codes
permalink: /2.1.0-ctrtransfer.html # translations should be /<locale>/<file>.html (i.e.: /es_ES/credits.html) (see https://github.com/Plailect/Guide/tree/l10n/_pages for locale codes)
category: en_US
---
If you downgrade to 2.1.0 on a 2DS or New 3DS and left Wireless Communication off, you can re-enable the wireless by removing the battery and unplugging the charger for several seconds then booting back up.

View file

@ -3,9 +3,8 @@ title: "Page Not Found"
layout: single-no-ads
excerpt: "Page not found. Your pixels are in another canvas."
sitemap: false
permalink: /404.html
lang: en_US
ref: 404
lang: en # see http://www.w3schools.com/TagS/ref_language_codes.asp for lang codes
permalink: /404.html # translations should be /<locale>/<file>.html (i.e.: /es_ES/credits.html) (see https://github.com/Plailect/Guide/tree/l10n/_pages for locale codes)
---
### Sorry, but the page you were trying to view does not exist.

View file

@ -1,8 +1,7 @@
---
title: "9.2.0 ctrtransfer"
permalink: /9.2.0-ctrtransfer.html
lang: en_US
ref: 9.2.0-ctrtransfer
lang: en # see http://www.w3schools.com/TagS/ref_language_codes.asp for lang codes
permalink: /9.2.0-ctrtransfer.html # translations should be /<locale>/<file>.html (i.e.: /es_ES/credits.html) (see https://github.com/Plailect/Guide/tree/l10n/_pages for locale codes)
---
If you downgraded to 2.1.0 but for some reason have **no functional NAND backups**, this guide is for you.

View file

@ -1,8 +1,7 @@
---
title: "Cart Update"
permalink: /cart-update.html
lang: en_US
ref: cart-update
lang: en # see http://www.w3schools.com/TagS/ref_language_codes.asp for lang codes
permalink: /cart-update.html # translations should be /<locale>/<file>.html (i.e.: /es_ES/credits.html) (see https://github.com/Plailect/Guide/tree/l10n/_pages for locale codes)
---
All game carts contain a copy of the required system version to play it, allowing anyone on a lower version to use the cartridge to update to that version (even without an internet connection).

View file

@ -1,8 +1,7 @@
---
title: "Credits"
permalink: /credits.html
lang: en_US
ref: credits
lang: en # see http://www.w3schools.com/TagS/ref_language_codes.asp for lang codes
permalink: /credits.html # translations should be /<locale>/<file>.html (i.e.: /es_ES/credits.html) (see https://github.com/Plailect/Guide/tree/l10n/_pages for locale codes)
---
**Special thanks to all of [#Cakey on Freenode](http://webchat.freenode.net/?channels=%23Cakey) for being awesome!**

View file

@ -1,8 +1,7 @@
---
title: "Decrypt9 (Browser)"
permalink: /decrypt9-(browser).html
lang: en_US
ref: decrypt9-(browser)
lang: en # see http://www.w3schools.com/TagS/ref_language_codes.asp for lang codes
permalink: /decrypt9-(browser).html # translations should be /<locale>/<file>.html (i.e.: /es_ES/credits.html) (see https://github.com/Plailect/Guide/tree/l10n/_pages for locale codes)
---
The first thing this guide will do is get you running Decrypt9, which is a multipurpose toolkit that will allow us to install the version 2.1.0, which contains a vulnerability that is needed for further exploitation of the system.

View file

@ -1,8 +1,7 @@
---
title: "Decrypt9 (Homebrew Launcher)"
permalink: /decrypt9-(homebrew-launcher).html
lang: en_US
ref: decrypt9-(homebrew-launcher)
lang: en # see http://www.w3schools.com/TagS/ref_language_codes.asp for lang codes
permalink: /decrypt9-(homebrew-launcher).html # translations should be /<locale>/<file>.html (i.e.: /es_ES/credits.html) (see https://github.com/Plailect/Guide/tree/l10n/_pages for locale codes)
---
#### What you need

View file

@ -1,8 +1,7 @@
---
title: "Decrypt9 (MSET)"
permalink: /decrypt9-(mset).html
lang: en_US
ref: decrypt9-(mset)
lang: en # see http://www.w3schools.com/TagS/ref_language_codes.asp for lang codes
permalink: /decrypt9-(mset).html # translations should be /<locale>/<file>.html (i.e.: /es_ES/credits.html) (see https://github.com/Plailect/Guide/tree/l10n/_pages for locale codes)
---
The first thing this guide will do is get you running Decrypt9, which is a multipurpose toolkit that will allow us to install the version 2.1.0, which contains a vulnerability that is needed for further exploitation of the system.

View file

@ -1,9 +1,8 @@
---
title: "Donations"
permalink: /donations.html
layout: single-no-ads
lang: en_US
ref: donations
lang: en # see http://www.w3schools.com/TagS/ref_language_codes.asp for lang codes
permalink: /donations.html # translations should be /<locale>/<file>.html (i.e.: /es_ES/credits.html) (see https://github.com/Plailect/Guide/tree/l10n/_pages for locale codes)
---
## If you appreciate this guide, I accept donations.

View file

@ -1,8 +1,7 @@
---
title: "F3 (Linux)"
permalink: /f3-(linux).html
lang: en_US
ref: f3-(linux)
lang: en # see http://www.w3schools.com/TagS/ref_language_codes.asp for lang codes
permalink: /f3-(linux).html # translations should be /<locale>/<file>.html (i.e.: /es_ES/credits.html) (see https://github.com/Plailect/Guide/tree/l10n/_pages for locale codes)
---
This page will walk you through the process of checking your SD card for errors using F3.

View file

@ -1,8 +1,7 @@
---
title: "F3X (Mac)"
permalink: /f3x-(mac).html
lang: en_US
ref: f3x-(mac)
lang: en # see http://www.w3schools.com/TagS/ref_language_codes.asp for lang codes
permalink: /f3x-(mac).html # translations should be /<locale>/<file>.html (i.e.: /es_ES/credits.html) (see https://github.com/Plailect/Guide/tree/l10n/_pages for locale codes)
---
This page will walk you through the process of checking your SD card for errors using F3X.

View file

@ -1,8 +1,7 @@
---
title: "FAQ"
permalink: /faq.html
lang: en_US
ref: faq
lang: en # see http://www.w3schools.com/TagS/ref_language_codes.asp for lang codes
permalink: /faq.html # translations should be /<locale>/<file>.html (i.e.: /es_ES/credits.html) (see https://github.com/Plailect/Guide/tree/l10n/_pages for locale codes)
---
<a name="faq_latestfw" />**Q:** *I am on the latest system version, is my device hackable?*

View file

@ -1,8 +1,7 @@
---
title: "Get Started (New 3DS)"
permalink: /get-started-(new-3ds).html
lang: en_US
ref: get-started-(new-3ds)
lang: en # see http://www.w3schools.com/TagS/ref_language_codes.asp for lang codes
permalink: /get-started-(new-3ds).html # translations should be /<locale>/<file>.html (i.e.: /es_ES/credits.html) (see https://github.com/Plailect/Guide/tree/l10n/_pages for locale codes)
---
Select the appropriate page for your version from the chart below.

View file

@ -1,8 +1,7 @@
---
title: "Get Started (Old 3DS)"
permalink: /get-started-(old-3ds).html
lang: en_US
ref: get-started-(old-3ds)
lang: en # see http://www.w3schools.com/TagS/ref_language_codes.asp for lang codes
permalink: /get-started-(old-3ds).html # translations should be /<locale>/<file>.html (i.e.: /es_ES/credits.html) (see https://github.com/Plailect/Guide/tree/l10n/_pages for locale codes)
---
Select the appropriate page for your version from the chart below.

View file

@ -1,8 +1,7 @@
---
title: "Get Started"
permalink: /get-started.html
lang: en_US
ref: get-started
lang: en # see http://www.w3schools.com/TagS/ref_language_codes.asp for lang codes
permalink: /get-started.html # translations should be /<locale>/<file>.html (i.e.: /es_ES/credits.html) (see https://github.com/Plailect/Guide/tree/l10n/_pages for locale codes)
---
The colors of the devices in the image may vary, but note the button placement and features of each device carefully to ensure you select the correct one.

View file

@ -1,8 +1,7 @@
---
title: "H2testw (Windows)"
permalink: /h2testw-(windows).html
lang: en_US
ref: h2testw-(windows)
lang: en # see http://www.w3schools.com/TagS/ref_language_codes.asp for lang codes
permalink: /h2testw-(windows).html # translations should be /<locale>/<file>.html (i.e.: /es_ES/credits.html) (see https://github.com/Plailect/Guide/tree/l10n/_pages for locale codes)
---
This page will walk you through the process of checking your SD card for errors using h2testw.

View file

@ -1,8 +1,7 @@
---
title: "Hardmod Downgrade"
permalink: /hardmod-downgrade.html
lang: en_US
ref: hardmod-downgrade
lang: en # see http://www.w3schools.com/TagS/ref_language_codes.asp for lang codes
permalink: /hardmod-downgrade.html # translations should be /<locale>/<file>.html (i.e.: /es_ES/credits.html) (see https://github.com/Plailect/Guide/tree/l10n/_pages for locale codes)
---
An excellent guide to getting a hardmod can be found [here](https://gbatemp.net/threads/414498/). If you are on a New 3DS, read [this](https://github.com/Plailect/Guide/issues/681) before hardmodding.

View file

@ -1,17 +1,15 @@
---
layout: splash
permalink: /
title: "Guide"
header:
overlay_color: "#5e616c"
overlay_image: images/home-page-feature.jpg
overlay_filter: 0.5
cta_label: "Get Started"
cta_url: "/get-started"
caption:
cta_ caption:
excerpt: 'A complete guide to 3DS custom firmware, <br /> from stock to arm9loaderhax.<br />'
lang: en_US
ref: home
lang: en # see http://www.w3schools.com/TagS/ref_language_codes.asp for lang codes
permalink: /index.html # translations should be /<locale>/<file>.html (i.e.: /es_ES/credits.html) (see https://github.com/Plailect/Guide/tree/l10n/_pages for locale codes)
---
{% capture notice-home %}

View file

@ -1,8 +1,7 @@
---
title: "Homebrew Launcher (SoundHax)"
permalink: /homebrew-launcher-(soundhax).html
lang: en_US
ref: homebrew-launcher-(soundhax)
lang: en # see http://www.w3schools.com/TagS/ref_language_codes.asp for lang codes
permalink: /homebrew-launcher-(soundhax).html # translations should be /<locale>/<file>.html (i.e.: /es_ES/credits.html) (see https://github.com/Plailect/Guide/tree/l10n/_pages for locale codes)
---
The Homebrew Launcher has many different entrypoints, or methods of launching.

View file

@ -1,8 +1,7 @@
---
title: "Installing arm9loaderhax"
permalink: /installing-arm9loaderhax.html
lang: en_US
ref: installing-arm9loaderhax
lang: en # see http://www.w3schools.com/TagS/ref_language_codes.asp for lang codes
permalink: /installing-arm9loaderhax.html # translations should be /<locale>/<file>.html (i.e.: /es_ES/credits.html) (see https://github.com/Plailect/Guide/tree/l10n/_pages for locale codes)
---
The final Step of this guide is to install arm9loaderhax and setup Luma3DS to run just milliseconds into the boot. This is accomplished by using SafeA9LHInstaller by [AuroraWright](https://github.com/AuroraWright/).

View file

@ -1,8 +1,7 @@
---
title: "Move EmuNAND"
permalink: /move-emunand.html
lang: en_US
ref: move-emunand
lang: en # see http://www.w3schools.com/TagS/ref_language_codes.asp for lang codes
permalink: /move-emunand.html # translations should be /<locale>/<file>.html i.e.: /es_ES/credits.html
---
This is add-on section for moving the contents of a previous EmuNAND to your new SysNAND CFW, then removing the old EmuNAND partition. Note that the terms EmuNAND and RedNAND refer to slightly different implementations of [the same concept](http://3dbrew.org/wiki/NAND_Redirection).

View file

@ -1,8 +1,7 @@
---
title: "NAND Size"
permalink: /nand-size.html
lang: en_US
ref: nand-size
lang: en # see http://www.w3schools.com/TagS/ref_language_codes.asp for lang codes
permalink: /nand-size.html # translations should be /<locale>/<file>.html i.e.: /es_ES/credits.html
---
A valid NAND backup should be one of the following sizes in most situations.

View file

@ -1,9 +1,8 @@
---
title: "NFIRM Downgrade"
permalink: /nfirm-downgrade.html
redirect_from: "/dsiware-downgrade"
lang: en_US
ref: nfirm-downgrade
lang: en # see http://www.w3schools.com/TagS/ref_language_codes.asp for lang codes
permalink: /nfirm-downgrade.html # translations should be /<locale>/<file>.html i.e.: /es_ES/credits.html
---
All of these are working implementation of the "FIRM partitions known-plaintext" exploit detailed [here](https://www.3dbrew.org/wiki/3DS_System_Flaws).

View file

@ -1,8 +1,7 @@
---
title: "NTR and Cubic Ninja"
permalink: /ntr-and-cubic-ninja.html
lang: en_US
ref: ntr-and-cubic-ninja
lang: en # see http://www.w3schools.com/TagS/ref_language_codes.asp for lang codes
permalink: /ntr-and-cubic-ninja.html # translations should be /<locale>/<file>.html i.e.: /es_ES/credits.html
---
**NTR Cubic Ninja will work for JPN New 3DS ONLY!**

View file

@ -1,8 +1,7 @@
---
title: "Region Changing"
permalink: /region-changing.html
lang: en_US
ref: region-changing
lang: en # see http://www.w3schools.com/TagS/ref_language_codes.asp for lang codes
permalink: /region-changing.html # translations should be /<locale>/<file>.html i.e.: /es_ES/credits.html
---
This is add-on section for region changing your arm9loaderhax CFW SysNAND. This is done by installing the 9.2.0 ctrtransfer image for the region you want to switch to and modifying your SecureInfo_A file.

View file

@ -1,12 +1,12 @@
---
layout: single-no-ads
sitemap: false
permalink: /site-navigation.html
lang: en_US
ref: site-navigation
lang: en # see http://www.w3schools.com/TagS/ref_language_codes.asp for lang codes
permalink: /site-navigation.html # translations should be /<locale>/<file>.html i.e.: /es_ES/credits.html
---
{% capture notice-1 %}
**Popular**
+ [Installing arm9loaderhax](installing-arm9loaderhax)
+ [NFIRM Downgrade](nfirm-downgrade)
@ -17,7 +17,8 @@ ref: site-navigation
<div class="notice--info">{{ notice-1 | markdownify }}</div>
{% capture notice-1 %}
{% capture notice-2 %}
**All**
+ [2.1.0 ctrtransfer](2.1.0-ctrtransfer)
+ [9.2.0 ctrtransfer](9.2.0-ctrtransfer)
@ -49,4 +50,4 @@ ref: site-navigation
{% endcapture %}
<div class="notice--primary">{{ notice-1 | markdownify }}</div>
<div class="notice--primary">{{ notice-2 | markdownify }}</div>

View file

@ -1,8 +1,7 @@
---
title: "Troubleshooting"
permalink: /troubleshooting.html
lang: en_US
ref: troubleshooting
lang: en # see http://www.w3schools.com/TagS/ref_language_codes.asp for lang codes
permalink: /troubleshooting.html # translations should be /<locale>/<file>.html i.e.: /es_ES/credits.html
---
If you are unable to boot your 3DS, please look for the section relevant to you, and follow the instructions. Once a solution works for you, you can proceed on with the main guide

View file

@ -1,8 +1,7 @@
---
title: "Updating A9LH"
permalink: /updating-a9lh.html
lang: en_US
ref: updating-a9lh
lang: en # see http://www.w3schools.com/TagS/ref_language_codes.asp for lang codes
permalink: /updating-a9lh.html # translations should be /<locale>/<file>.html i.e.: /es_ES/credits.html
---
### Last Update: 3 Nov 2016

View file

@ -1,9 +1,8 @@
---
title: "Why Ads?"
permalink: /why-ads.html
layout: single-no-ads
lang: en_US
ref: why-ads
lang: en # see http://www.w3schools.com/TagS/ref_language_codes.asp for lang codes
permalink: /why-ads.html # translations should be /<locale>/<file>.html i.e.: /es_ES/credits.html
---
This project is the culmination of hundreds upon hundreds of hours of constant work.

View file

@ -202,9 +202,11 @@
cursor: pointer;
}
/* LANG_TODO
.nav-selector {
right: 3rem;
}
*/
.visible-links {
display: table;
@ -254,9 +256,11 @@
}
}
/* LANG_TODO
.links-menu {
right: 3rem !important;
}
*/
.hidden-links {
position: absolute;

10
assets/js/main.min.js vendored

File diff suppressed because one or more lines are too long

View file

@ -14,7 +14,7 @@ var breaks = [];
function updateNav() {
var availableSpace = $btn.hasClass('hidden') ? $nav.width() : $nav.width() - $btn.width() - 80;
var availableSpace = $btn.hasClass('hidden') ? $nav.width() : $nav.width() /* LANG_TODO - $btn.width() */ - 80;
// The visible list is overflowing the nav
if($vlinks.width() > availableSpace) {