Skip to content

Commit

Permalink
Update tr translations
Browse files Browse the repository at this point in the history
  • Loading branch information
saivann committed Dec 26, 2014
1 parent 414451e commit df15d7f
Show file tree
Hide file tree
Showing 13 changed files with 528 additions and 390 deletions.
3 changes: 3 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ redirects:
/ru/вам-нужно-знать: /ru/you-need-to-know
/ru/описание: /ru/faq
/ru/биткоин-энтузиастам: /ru/innovation
/tr/bilmelisiniz: /tr/bilmeniz-gerekenler
/tr/yeni-baslamak: /tr/baslarken
/en/bitcoin-for-press: /en/press
/de/ueber: /de/faq
/en/about: /en/faq
Expand All @@ -110,6 +112,7 @@ redirects:
/it/a-proposito: /it/faq
/nl/over-bitcoin: /nl/faq
/pl/o: /pl/faq
/tr/hakkinda: /tr/sss
/zh_CN/about: /zh_CN/faq
/zh_TW/about: /zh_TW/faq
/de/bitcoin-fuer-enthusiasten: /de/innovation
Expand Down
15 changes: 2 additions & 13 deletions _layouts/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,6 @@
<div><div>{{ site.ALERT }}</div></div>
</div>
{% endif %}
{% case page.lang %}
{% when 'tr' %}
<div class="banner-message info">
<div><div>{% translate banner-translate layout %}</div></div>
</div>
{% endcase %}
<div class="head"><div>
<ul class="lang">
<li><a href="#" onclick="return false;">{{ site.langs[page.lang] }}</a>
Expand Down Expand Up @@ -90,20 +84,15 @@
<div class="footermenu">
<a href="/en/alerts" class="statusmenu{% if site.STATUS == 1 %} alert{% endif %}">Network Status</a>
<a href="/stats/">{% translate menu-stats layout %}</a>
{% case page.lang %}
{% when 'tr' %}
<a href="/en/legal">Legal</a>
{% else %}
<a href="/{{ page.lang }}/{% translate legal url %}">{% translate menu-legal layout %}</a>
{% endcase %}
{% case page.lang %}
{% when 'ar' or 'da' or 'de' or 'es' or 'hu' or 'sl' or 'tr' %}
{% when 'ar' or 'da' or 'de' or 'es' or 'hu' or 'sl' %}
<a href="/en/privacy">Privacy</a>
{% else %}
<a href="/{{ page.lang }}/{% translate privacy url %}">{% translate menu-privacy layout %}</a>
{% endcase %}
{% case page.lang %}
{% when 'de' or 'tr' %}
{% when 'de' %}
<a href="/en/press">Press</a>
{% else %}
<a href="/{{ page.lang }}/{% translate press url %}">{% translate menu-press layout %}</a>
Expand Down
8 changes: 0 additions & 8 deletions _templates/community.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,7 @@ <h2><img src="/img/icons/ico_network.svg" class="titleicon" alt="Icon">{% transl
<div>
<div>
<h2><img src="/img/icons/ico_multi.svg" class="titleicon" alt="Icon">{% translate meetups %}</h2>


<p><a href="/{{ page.lang }}/{% translate events url %}">{% translate meetupevents %}</a></p>

<p><a href="http://bitcoin.meetup.com/">{% translate meetupgroup %}</a></p>
<p><a href="https://bitcointalk.org/index.php?board=86.0">{% translate meetupbitcointalk %}</a></p>
<p><a href="https://en.bitcoin.it/wiki/Meetups">{% translate meetupwiki %}</a></p>
Expand All @@ -59,12 +56,7 @@ <h2><img src="/img/icons/ico_help.svg" class="titleicon" alt="Icon">{% translate
</div>
</div>

{% case page.lang %}
{% when 'tr' %}
<h2>{% translate nonprofit %}</h2>
{% else %}
<h2><a name="{% translate non-profit anchor.community %}">{% translate nonprofit %}</a></h2>
{% endcase %}
<div class="resourcesorg">
<div>
<div>
Expand Down
10 changes: 0 additions & 10 deletions _templates/development.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,6 @@ <h1>{% translate pagetitle %}</h1>

<h2>{% translate spec %}</h2>
<p>{% translate spectxt %}</p>
{% case page.lang %}
{% when 'tr' %}
<ul>
<li><a href="/en/developer-documentation">Developer Documentation</a></li>
<li>{% translate speclink1 %}</li>
<li>{% translate speclink2 %}</li>
<li>{% translate speclink3 %}</li>
</ul>
{% else %}
{% endcase %}

<h2>{% translate coredev %}</h2>

Expand Down
4 changes: 0 additions & 4 deletions _templates/events.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,7 @@ <h1>{% translate pagetitle %}<a type="application/rss+xml" href="/en/rss/events.
map.addLayer(markers);
</script>

{% case page.lang %}
{% when 'tr' %}
{% else %}
<h2>{% translate upcoming %}</h2>
{% endcase %}
<div class="listtable eventtable">
{% filter_for p in site.conferences sort_by:date %}
<div><div>{{ p.date | date:"%Y-%m-%d" }}</div><div><a href="{{ p.link | htmlescape }}">{{ p.title | htmlescape }}</a></div><div>{{ p.city | htmlescape }}, {{ p.country | htmlescape }}</div></div>
Expand Down
45 changes: 0 additions & 45 deletions _templates/faq.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,49 +5,6 @@
layout: base
id: faq
---

{% case page.lang %}
{% when 'tr' %}

<h1>{% translate pagetitle %}</h1>

<h2>{% translate history %}</h2>
<p>{% translate historytxt1 %}</p>
<p>{% translate historytxt2 %}</p>
<p>{% translate historytxt3 %}</p>
<p>{% translate historytxt4 %}</p>

<h2>{% translate technical %}</h2>
<p>{% translate technicalintro %}</p>
<ul>
<li>{% translate technicaltxt1 %}</li>
<li>{% translate technicaltxt2 %}</li>
<li>{% translate technicaltxt3 %}</li>
<li>{% translate technicaltxt4 %}</li>
<li>{% translate technicaltxt5 %}</li>
<li>{% translate technicaltxt6 %}</li>
</ul>

<h2>{% translate economics %}</h2>
<p>{% translate economicsintro %}</p>
<ul>
<li>{% translate economicstxt1 %}</li>
<li>{% translate economicstxt2 %}</li>
<li>{% translate economicstxt3 %}</li>
</ul>

<h2>{% translate stats %}</h2>
<p>{% translate statsintro %}</p>
<ul>
<li>{% translate statstxt1 %}</li>
<li>{% translate statstxt2 %}</li>
<li>{% translate statstxt3 %}</li>
<li>{% translate statstxt4 %}</li>
<li>{% translate statstxt5 %}</li>
</ul>

{% else %}

<h1>{% translate pagetitle %}</h1>
<p class="summary">{% translate summary %}</p>

Expand Down Expand Up @@ -323,6 +280,4 @@ <h2 id="{% translate help anchor.faq %}">{% translate help %}</h2>
<h3 id="{% translate morehelp anchor.faq %}">{% translate morehelp %}</h3>
<p>{% translate morehelptxt1 %}</p>

{% endcase %}

<script>addAnchorLinks();</script>
8 changes: 0 additions & 8 deletions _templates/getting-started.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,7 @@ <h1>{% translate pagetitle %}</h1>

<p class="summary">{% translate pagedesc %}</p>

{% case page.lang %}
{% when 'tr' %}
{% else %}
<div class="starttitle"><a>{% translate users %}</a></div>
{% endcase %}

<div class="start">
<div>
Expand All @@ -40,9 +36,6 @@ <h2><span>4.</span> {% translate spend %}</h2>
</div>
</div>

{% case page.lang %}
{% when 'tr' %}
{% else %}
<div class="starttitle"><a>{% translate merchants %}</a></div>

<div class="start">
Expand All @@ -69,4 +62,3 @@ <h2><span>4.</span> {% translate visibility %}</h2>
</div>
</div>
</div>
{% endcase %}
31 changes: 0 additions & 31 deletions _templates/innovation.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,35 +5,6 @@
layout: base
id: innovation
---
{% case page.lang %}
{% when 'tr' %}

<h1>{% translate pagetitle %}</h1>
<p class="summarytxt">{% translate summary %}</p>

<h2><img class="titleicon" src="/img/icons/ico_democracy.svg" alt="Icon" />{% translate consensus %}</h2>
<p>{% translate consensustext %}</p>

<h2><img class="titleicon" src="/img/icons/ico_network.svg" alt="Icon" />{% translate network %}</h2>
<p>{% translate networktext %}</p>

<h2><img class="titleicon" src="/img/icons/ico_own.svg" alt="Icon" />{% translate freedom %}</h2>
<p>{% translate freedomtext %}</p>

<h2><img class="titleicon" src="/img/icons/ico_international.svg" alt="Icon" />{% translate global %}</h2>
<p>{% translate globaltext %}</p>

<h2><img class="titleicon" src="/img/icons/ico_transparency.svg" alt="Icon" />{% translate transparency %}</h2>
<p>{% translate transparencytext %}</p>

<h2><img class="titleicon" src="/img/icons/ico_lock.svg" alt="Icon" />{% translate secure %}</h2>
<p>{% translate securetext %}</p>

<h2><img class="titleicon" src="/img/icons/ico_solve.svg" alt="Icon" />{% translate trust %}</h2>
<p>{% translate trusttext %}</p>

{% else %}

<h1>{% translate pagetitle %}</h1>
<p class="summarytxt">{% translate summary %}</p>

Expand Down Expand Up @@ -120,5 +91,3 @@ <h2><img class="titleicon" src="/img/icons/ico_solve.svg" alt="Icon" />{% transl
Robot Sketching, © <a href="http://www.flickr.com/photos/elmastudio/4784871615/in/photostream/">Elmastudio</a> on Flickr used under a Creative Commons license <a href="http://creativecommons.org/licenses/by-nc-nd/2.0/deed.fr">CC BY-NC-ND 2.0</a><br>
All other pictures are copyrighted materials.
</p>

{% endcase %}
2 changes: 1 addition & 1 deletion _templates/legal.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<h1>{% translate pagetitle %}</h1>

{% case page.lang %}
{% when 'ar' or 'bg' or 'da' or 'de' or 'es' or 'hu' or 'ro' or 'sl' or 'tr' %}
{% when 'ar' or 'bg' or 'da' or 'de' or 'es' or 'hu' or 'ro' or 'sl' %}

<p>{% translate termstxt1 %}</p>
<p>{% translate termstxt2 %}</p>
Expand Down
6 changes: 0 additions & 6 deletions _templates/support-bitcoin.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,8 @@ <h2><img class="titleicon" src="/img/icons/ico_conf.svg" alt="Icon" />{% transla
<h2><img class="titleicon" src="/img/icons/ico_donate.svg" alt="Icon" />{% translate donation %}</h2>
<p>{% translate donationtxt %}</p>

{% case page.lang %}
{% when 'tr' %}
<h2><img class="titleicon" src="/img/icons/ico_law.svg" alt="Icon" />{% translate foundation %}</h2>
<p>{% translate foundationtxt %}</p>
{% else %}
<h2><img class="titleicon" src="/img/icons/ico_law.svg" alt="Icon" />{% translate nonprofit %}</h2>
<p>{% translate nonprofittxt %}</p>
{% endcase %}

<h2><img class="titleicon" src="/img/icons/ico_spread.svg" alt="Icon" />{% translate spread %}</h2>
<p>{% translate spreadtxt %}</p>
Expand Down
Loading

0 comments on commit df15d7f

Please sign in to comment.