pidgin/nest

Adds/Fixes i18n

2019-01-23, Jason
402efbd18b98
Parents 4c7cc30e449a
Children 545be7421038
Adds/Fixes i18n
--- a/hugo/config.toml Wed Jan 23 21:47:00 2019 +0000
+++ b/hugo/config.toml Wed Jan 23 21:51:59 2019 +0000
@@ -20,12 +20,12 @@
languageName = "Spanish"
# Shourtcuts
-[[Languages.en.menu.shortcuts]]
+[[menu.shortcuts]]
name = "<i class='fab fa-fw fa-bitbucket'></i> Bitbucket repo"
identifier = "bitbucket"
url = "https://bitbucket.org/pidgin/"
-[[Languages.en.menu.shortcuts]]
+[[menu.shortcuts]]
name = "<i class='fab fa-fw fa-discord'></i> Discord"
identifier = "discord"
url = "https://discord.gg/pB9fbVC"
--- a/hugo/i18n/en.toml Wed Jan 23 21:47:00 2019 +0000
+++ b/hugo/i18n/en.toml Wed Jan 23 21:51:59 2019 +0000
@@ -1,2 +1,32 @@
[Download]
-other = "Download"
\ No newline at end of file
+other = "Download"
+
+[Donate]
+other = "Donate"
+
+[Our-Supporters]
+other = "Our Supporters"
+
+[Project]
+other = "Project"
+
+[Student]
+other = "Student"
+
+[Mentor]
+other = "Mentor"
+
+[Status]
+other = "Status"
+
+[Name]
+other = "Name"
+
+[Info]
+other = "Info"
+
+[Maintaner]
+other = "Maintaner"
+
+[Repo]
+other = "Repo"
--- a/hugo/layouts/partials/donate.html Wed Jan 23 21:47:00 2019 +0000
+++ b/hugo/layouts/partials/donate.html Wed Jan 23 21:51:59 2019 +0000
@@ -1,3 +1,3 @@
<a href="https://imfreedom.org/#/donate" class="donate-button">
- <i class="fas fa-heart"></i> Donate
+ <i class="fas fa-heart"></i> {{ T "Donate" }}
</a>
--- a/hugo/layouts/partials/supporters.html Wed Jan 23 21:47:00 2019 +0000
+++ b/hugo/layouts/partials/supporters.html Wed Jan 23 21:51:59 2019 +0000
@@ -1,5 +1,5 @@
<section class="supporters">
- <b>Our Supporters</b>
+ <b>{{ T "Our-Supporters" }}</b>
<div>
{{ range (readDir "./static/images/badges") }}
<a> <img src="/images/badges/{{ .Name }}" /> </a> {{ end }}
--- a/hugo/layouts/shortcodes/gsoc.html Wed Jan 23 21:47:00 2019 +0000
+++ b/hugo/layouts/shortcodes/gsoc.html Wed Jan 23 21:51:59 2019 +0000
@@ -3,10 +3,10 @@
<table>
<thead>
- <th>Project</th>
- <th>Student</th>
- <th>Mentor</th>
- <th>Status</th>
+ <th>{{ T "Project" }}</th>
+ <th>{{ T "Student" }}</th>
+ <th>{{ T "Mentor" }}</th>
+ <th>{{ T "Status" }}</th>
</thead>
<tbody>
{{ range .participants }}
--- a/hugo/layouts/shortcodes/plugintable.html Wed Jan 23 21:47:00 2019 +0000
+++ b/hugo/layouts/shortcodes/plugintable.html Wed Jan 23 21:51:59 2019 +0000
@@ -1,16 +1,16 @@
<div id="plugin-filters">
- <input type="text" id="plugin-filter-search" placeholder="Search plugins" />
+ <input type="text" id="plugin-filter-search" placeholder="{{ T "Search-placeholder" }}" />
<div id="protocol-selector"></div>
</div>
<table id="protocol-table">
<thead>
- <th>logo</th>
- <th>heading</th>
- <th>info</th>
+ <th></th>
+ <th>{{ T "Name" }}</th>
+ <th>{{ T "Info" }}</th>
<th>
- maintainer<br />
- repo
+ {{ T "Maintaner" }}<br />
+ {{ T "Repo" }}
</th>
</thead>
<tbody>