Worked out how to localise and started translating index.html

pull/35/head
Mart-Erki.Noumees 7 years ago
parent d35056c65d
commit 3e9cab47c5
  1. 60
      _data/localisation.yml
  2. 36
      index.html

@ -0,0 +1,60 @@
en:
# index.html
index_ForStudentHeader : "For Student"
index_ForStudentDesc : "Come and develop your skills and befriend cool people"
index_ForStudentLink : "Learn more about our activites ->"
index_HelpdeskHeader : "Helpdesk"
index_HelpdeskDesc : "Student-friendly PC repair"
index_HelpdeskLink : "Pricelist ->"
index_ForBusinessesHeader : "For Businesses"
index_ForBusinessesDesc : "We'll help to make your ideas reality"
index_ForBusinessesLink : "Previous works ->"
index_WhoWeHeader : "Who are we?"
index_WhoWeDesc : "MTÜ Lapikud ( nonprofit organisation ) is a TUT software developement club, which combines former and current students interested in IT.
The organization was established in 2002 by computer science students whose speciality's identification code was \"LAP\".
The wise men then decided that henceforth they are to be called \"Lapikud\"."
index_WhatDoHeader : "What are we up to?"
index_WhatDoDesc : "Our main goal is to complement TUT's IT students studies with relevant experience.
We involve students in interesting IT themed projects and give them an opportunity to finish something meaningful on their own.
Our projects often turn into compelling and useful theses. We offer clever students a chance to get their first work experience.
Lapikud is not only a IT student organization - we also try to involve economics students in our projects so also business side would be represented."
index_Partners : "Our partners"
# todo : translate other pages
ee:
# index.html
index_ForStudentHeader : "Tudengile"
index_ForStudentDesc : "Tule arenda oma oskuseid ja saa ägedaid sõpru"
index_ForStudentLink : "Uuri edasi meie tegevuste kohta ->"
index_HelpdeskHeader : "Helpdesk"
index_HelpdeskDesc : "Tudengisõbralik arvutiparandus!"
index_HelpdeskLink : "Tööde hinnakiri ->"
index_ForBusinessesHeader : "Ettevõttele"
index_ForBusinessesDesc : "Aitame sinu ideed ellu viia!"
index_ForBusinessesLink : "Tehtud tööd ->"
index_WhoWeHeader : "Kes me oleme?"
index_WhoWeDesc : "MTÜ Lapikud on TTÜ Tarkvaraarendusklubi, mis ühendab endisi ja praegusi IT huvilisi tudengeid.
Organisatsioon loodi 2002. aastal informaatika tudengite poolt, kelle erialatunnuseks oli “LAP”.
Targad mehed otsustasid, et järelikult on nad “Lapikud”."
index_WhatDoHeader : "Millega tegeleme?"
index_WhatDoDesc : "Meie põhieesmärgiks on TTÜ IT tudengite erialase lisandväärtuse loomine.
Kaasame tudengeid huvitavatesse IT projektidesse ning anname tudengitele võimaluse midagi reaalset oma käega midagi ära teha.
Meie projektidest kooruvad välja huvitavad ja tarvilikud lõputööd.
Pakume nutikatele tudengitele võimalust saada meie juures esimene töökogemus.
Lapikud ei ole ainult IT tudengite organisatsioon – püüame kaasata oma tegevusse ka majandusteaduskonna tudengeid, et projektides oleks esindatud ka äriline pool."
index_Partners : "Koostööpartnerid"
# todo : copy estonian text for other pages

@ -1,7 +1,9 @@
--- ---
layout: default layout: default
title: Lapikud title: Lapikud
language: ee
--- ---
{% assign locale = site.data.localisation[page.language] %}
<!-- home --> <!-- home -->
<section class="container home"> <section class="container home">
@ -16,9 +18,9 @@ title: Lapikud
<path d="M7 2v11h3v9l7-12h-4l4-8z"/> <path d="M7 2v11h3v9l7-12h-4l4-8z"/>
</svg> </svg>
<div> <div>
<h3>Tudengile</h3> <h3>{{ locale.index_ForStudentHeader }}</h3>
<p>Tule arenda oma oskuseid ja saa ägedaid sõpru</p> <p>{{ locale.index_ForStudentDesc }}</p>
<p><a href="/student">Uuri edasi meie tegevuste kohta -></a></p> <p><a href="/student">{{ locale.index_ForStudentLink }}</a></p>
</div> </div>
</div> </div>
<div class="column"> <div class="column">
@ -27,9 +29,9 @@ title: Lapikud
d="M19.43 12.98c.04-.32.07-.64.07-.98s-.03-.66-.07-.98l2.11-1.65c.19-.15.24-.42.12-.64l-2-3.46c-.12-.22-.39-.3-.61-.22l-2.49 1c-.52-.4-1.08-.73-1.69-.98l-.38-2.65C14.46 2.18 14.25 2 14 2h-4c-.25 0-.46.18-.49.42l-.38 2.65c-.61.25-1.17.59-1.69.98l-2.49-1c-.23-.09-.49 0-.61.22l-2 3.46c-.13.22-.07.49.12.64l2.11 1.65c-.04.32-.07.65-.07.98s.03.66.07.98l-2.11 1.65c-.19.15-.24.42-.12.64l2 3.46c.12.22.39.3.61.22l2.49-1c.52.4 1.08.73 1.69.98l.38 2.65c.03.24.24.42.49.42h4c.25 0 .46-.18.49-.42l.38-2.65c.61-.25 1.17-.59 1.69-.98l2.49 1c.23.09.49 0 .61-.22l2-3.46c.12-.22.07-.49-.12-.64l-2.11-1.65zM12 15.5c-1.93 0-3.5-1.57-3.5-3.5s1.57-3.5 3.5-3.5 3.5 1.57 3.5 3.5-1.57 3.5-3.5 3.5z"/> d="M19.43 12.98c.04-.32.07-.64.07-.98s-.03-.66-.07-.98l2.11-1.65c.19-.15.24-.42.12-.64l-2-3.46c-.12-.22-.39-.3-.61-.22l-2.49 1c-.52-.4-1.08-.73-1.69-.98l-.38-2.65C14.46 2.18 14.25 2 14 2h-4c-.25 0-.46.18-.49.42l-.38 2.65c-.61.25-1.17.59-1.69.98l-2.49-1c-.23-.09-.49 0-.61.22l-2 3.46c-.13.22-.07.49.12.64l2.11 1.65c-.04.32-.07.65-.07.98s.03.66.07.98l-2.11 1.65c-.19.15-.24.42-.12.64l2 3.46c.12.22.39.3.61.22l2.49-1c.52.4 1.08.73 1.69.98l.38 2.65c.03.24.24.42.49.42h4c.25 0 .46-.18.49-.42l.38-2.65c.61-.25 1.17-.59 1.69-.98l2.49 1c.23.09.49 0 .61-.22l2-3.46c.12-.22.07-.49-.12-.64l-2.11-1.65zM12 15.5c-1.93 0-3.5-1.57-3.5-3.5s1.57-3.5 3.5-3.5 3.5 1.57 3.5 3.5-1.57 3.5-3.5 3.5z"/>
</svg> </svg>
<div> <div>
<h3>Helpdesk</h3> <h3>{{ locale.index_HelpdeskHeader }}</h3>
<p>Tudengisõbralik arvutiparandus!</p> <p>{{ locale.index_HelpdeskDesc }}</p>
<p><a href="/helpdesk">Tööde hinnakiri -></a></p> <p><a href="/helpdesk">{{ locale.index_HelpdeskLink }}</a></p>
</div> </div>
</div> </div>
<div class="column"> <div class="column">
@ -38,34 +40,28 @@ title: Lapikud
d="M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5c-1.66 0-3 1.34-3 3s1.34 3 3 3zm-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5C6.34 5 5 6.34 5 8s1.34 3 3 3zm0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5zm8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5z"/> d="M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5c-1.66 0-3 1.34-3 3s1.34 3 3 3zm-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5C6.34 5 5 6.34 5 8s1.34 3 3 3zm0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5zm8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5z"/>
</svg> </svg>
<div> <div>
<h3>Ettevõttele</h3> <h3>{{ locale.index_ForBusinessesHeader }}</h3>
<p>Aitame sinu ideed ellu viia!</p> <p>{{ locale.index_ForBusinessesDesc }}</p>
<p><a href="/ourwork">Tehtud tööd -></a></p> <p><a href="/ourwork">{{ locale.index_ForBusinessesLink }}</a></p>
</div> </div>
</div> </div>
</div> </div>
<div class="description"> <div class="description">
<h1>Kes me oleme?</h1> <h1>{{ locale.index_WhoWeHeader }}</h1>
<p> <p>
MTÜ Lapikud on TTÜ Tarkvaraarendusklubi, mis ühendab endisi ja praegusi IT huvilisi tudengeid. Organisatsioon {{ locale.index_WhoWeDesc }}
loodi 2002. aastal informaatika tudengite poolt, kelle erialatunnuseks oli “LAP”. Targad mehed otsustasid, et
järelikult on nad “Lapikud”.
</p> </p>
<h1>Millega tegeleme?</h1> <h1>{{ locale.index_WhatDoHeader }}</h1>
<p> <p>
Meie põhieesmärgiks on TTÜ IT tudengite erialase lisandväärtuse loomine. Kaasame tudengeid huvitavatesse IT {{ locale.index_WhatDoDesc }}
projektidesse ning anname tudengitele võimaluse midagi reaalset oma käega midagi ära teha. Meie projektidest
kooruvad välja huvitavad ja tarvilikud lõputööd. Pakume nutikatele tudengitele võimalust saada meie juures esimene
töökogemus. Lapikud ei ole ainult IT tudengite organisatsioon – püüame kaasata oma tegevusse ka
majandusteaduskonna tudengeid, et projektides oleks esindatud ka äriline pool.
<p> <p>
</div> </div>
<div class="partners"> <div class="partners">
<h1>Koostööpartnerid</h1> <h1>{{ locale.index_Partners }}</h1>
<div id="partners-container"> <div id="partners-container">
{% for partner in site.data.partners %} {% for partner in site.data.partners %}
<a href="{{ partner.url }}" target="_blank" rel="noopener noreferrer"> <a href="{{ partner.url }}" target="_blank" rel="noopener noreferrer">

Loading…
Cancel
Save