Skip to content

Commit

Permalink
wire up the additional languages on the landing page; make sure all l…
Browse files Browse the repository at this point in the history
…anguages exist in all other language files;
  • Loading branch information
ejc committed Jul 1, 2012
1 parent c25399a commit e050d01
Show file tree
Hide file tree
Showing 17 changed files with 76 additions and 45 deletions.
6 changes: 5 additions & 1 deletion i18n/cs.yml
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -9,9 +9,13 @@ menu:
slovak: "Slovensky" slovak: "Slovensky"
serbian: "Srbsky" serbian: "Srbsky"
portuguesebr: "Brazilská Portugalština" portuguesebr: "Brazilská Portugalština"
polish: "Polský"
russian: "Rusky" russian: "Rusky"
polish: "Polský"
turkish: "Türkçe"
dutch: "Holandský" dutch: "Holandský"
japanese: "Japanese"
traditional_chinese: "Trad Chinese"
simplified_chinese: "Simp Chinese"


main: main:
title: "Je čas zvolit Lepší Prohlížeč" title: "Je čas zvolit Lepší Prohlížeč"
Expand Down
3 changes: 3 additions & 0 deletions i18n/de.yml
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ menu:
polish: "Polnisch" polish: "Polnisch"
turkish: "Turkish" turkish: "Turkish"
dutch: "Niederländisch" dutch: "Niederländisch"
japanese: "Japanese"
traditional_chinese: "Trad Chinese"
simplified_chinese: "Simp Chinese"


main: main:
title: "Es ist Zeit, einen besseren Browser zu wählen" title: "Es ist Zeit, einen besseren Browser zu wählen"
Expand Down
3 changes: 3 additions & 0 deletions i18n/en.yml
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ menu:
polish: "Polish" polish: "Polish"
turkish: "Turkish" turkish: "Turkish"
dutch: "Dutch" dutch: "Dutch"
japanese: "Japanese"
traditional_chinese: "Trad Chinese"
simplified_chinese: "Simp Chinese"


main: main:
title: "It's Time to Choose A Better Browser" title: "It's Time to Choose A Better Browser"
Expand Down
4 changes: 4 additions & 0 deletions i18n/es.yml
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@ menu:
portuguesebr: "Portugués de Brasil" portuguesebr: "Portugués de Brasil"
russian: "Ruso" russian: "Ruso"
polish: "Polaco" polish: "Polaco"
turkish: "Türkçe"
dutch: "Holandés" dutch: "Holandés"
japanese: "Japanese"
traditional_chinese: "Trad Chinese"
simplified_chinese: "Simp Chinese"


main: main:
title: "Es Hora de Elegir un Mejor Navegador" title: "Es Hora de Elegir un Mejor Navegador"
Expand Down
4 changes: 4 additions & 0 deletions i18n/fr.yml
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@ menu:
portuguesebr: "Le Portugais Brésilien" portuguesebr: "Le Portugais Brésilien"
russian: "Russes" russian: "Russes"
polish: "Polonais" polish: "Polonais"
turkish: "Türkçe"
dutch: "Néerlandais" dutch: "Néerlandais"
japanese: "Japanese"
traditional_chinese: "Trad Chinese"
simplified_chinese: "Simp Chinese"


main: main:
title: "Il est temps de choisir un meilleur navigateur" title: "Il est temps de choisir un meilleur navigateur"
Expand Down
4 changes: 4 additions & 0 deletions i18n/it.yml
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@ menu:
portuguesebr: "Portoghese Brasiliano" portuguesebr: "Portoghese Brasiliano"
russian: "Russo" russian: "Russo"
polish: "Polacco" polish: "Polacco"
turkish: "Türkçe"
dutch: "Olandese" dutch: "Olandese"
japanese: "Japanese"
traditional_chinese: "Trad Chinese"
simplified_chinese: "Simp Chinese"


main: main:
title: "È tempo di scegliere Un Browser Migliore" title: "È tempo di scegliere Un Browser Migliore"
Expand Down
35 changes: 0 additions & 35 deletions i18n/ja.yaml

This file was deleted.

5 changes: 5 additions & 0 deletions i18n/nl.yml
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -6,11 +6,16 @@ menu:
italian: "Italiaans" italian: "Italiaans"
german: "Duits" german: "Duits"
czech: "Tsjechisch" czech: "Tsjechisch"
slovak: "Slovacco"
serbian: "Servisch" serbian: "Servisch"
portuguesebr: "Braziliaans Portugees" portuguesebr: "Braziliaans Portugees"
russian: "Russisch" russian: "Russisch"
polish: "Pools" polish: "Pools"
turkish: "Turkish"
dutch: "Nederlands" dutch: "Nederlands"
japanese: "Japanese"
traditional_chinese: "Trad Chinese"
simplified_chinese: "Simp Chinese"


main: main:
title: "Het Is Tijd Om Een Betere Browser te Kiezen" title: "Het Is Tijd Om Een Betere Browser te Kiezen"
Expand Down
7 changes: 6 additions & 1 deletion i18n/pl.yml
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -6,11 +6,16 @@ menu:
italian: "Włoski" italian: "Włoski"
german: "Niemiecki" german: "Niemiecki"
czech: "Czeski" czech: "Czeski"
slovak: "Slovacco"
serbian: "Serbski" serbian: "Serbski"
polish: "Polski"
portuguesebr: "Brazylijski portugalski" portuguesebr: "Brazylijski portugalski"
russian: "Rosyjski" russian: "Rosyjski"
polish: "Polski"
turkish: "Turkish"
dutch: "Holenderski" dutch: "Holenderski"
japanese: "Japanese"
traditional_chinese: "Trad Chinese"
simplified_chinese: "Simp Chinese"


main: main:
title: "Czas wybrać Lepszą Przeglądarkę" title: "Czas wybrać Lepszą Przeglądarkę"
Expand Down
4 changes: 4 additions & 0 deletions i18n/pt-br.yml
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ menu:
russian: "Russo" russian: "Russo"
polish: "Polonês" polish: "Polonês"
dutch: "Holandês" dutch: "Holandês"
turkish: "Turkish"
japanese: "Japanese"
traditional_chinese: "Trad Chinese"
simplified_chinese: "Simp Chinese"


main: main:
title: "Chegou a hora de escolher um navegador melhor" title: "Chegou a hora de escolher um navegador melhor"
Expand Down
4 changes: 4 additions & 0 deletions i18n/ru.yml
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
russian: "Русский" russian: "Русский"
polish: "Polish" polish: "Polish"
dutch: "Dutch" dutch: "Dutch"
turkish: "Türkçe"
japanese: "Japanese"
traditional_chinese: "Trad Chinese"
simplified_chinese: "Simp Chinese"


main: main:
title: "Настало время выбрать современный браузер!" title: "Настало время выбрать современный браузер!"
Expand Down
4 changes: 4 additions & 0 deletions i18n/sk.yml
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@ menu:
portuguesebr: "Portugalsky" portuguesebr: "Portugalsky"
russian: "Rusky" russian: "Rusky"
polish: "Polski" polish: "Polski"
dutch: "dutch"
turkish: "Türkçe" turkish: "Türkçe"
japanese: "Japanese"
traditional_chinese: "Trad Chinese"
simplified_chinese: "Simp Chinese"


main: main:
title: "Je čas zvoliť Lepší Prehliadač" title: "Je čas zvoliť Lepší Prehliadač"
Expand Down
4 changes: 3 additions & 1 deletion i18n/sr.yml
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@
polish: "Пољски" polish: "Пољски"
turkish: "Türkçe" turkish: "Türkçe"
dutch: "Холандски" dutch: "Холандски"

japanese: "Japanese"
traditional_chinese: "Trad Chinese"
simplified_chinese: "Simp Chinese"


main: main:
title: "Време је да изаберете бољи браузер" title: "Време је да изаберете бољи браузер"
Expand Down
3 changes: 3 additions & 0 deletions i18n/tr.yml
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ menu:
polish: "Polski" polish: "Polski"
turkish: "Türkçe" turkish: "Türkçe"
dutch: "Flemenkçe" dutch: "Flemenkçe"
japanese: "Japanese"
traditional_chinese: "Trad Chinese"
simplified_chinese: "Simp Chinese"


main: main:
title: "Daha İyi Bir Tarayıcı Seçme Vakti" title: "Daha İyi Bir Tarayıcı Seçme Vakti"
Expand Down
8 changes: 6 additions & 2 deletions i18n/zh-cn.yml
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -6,12 +6,16 @@ menu:
italian: "意大利语" italian: "意大利语"
german: "德语" german: "德语"
czech: "捷克语" czech: "捷克语"
slovak: "Словачки"
serbian: "塞尔维亚语" serbian: "塞尔维亚语"
portuguesebr: "葡萄牙语" portuguesebr: "葡萄牙语"
russian: "俄语" russian: "俄语"
polish: "波兰语" polish: "波兰语"
traditional chinese: "繁体中文" turkish: "Türkçe"
simplified chinese: "简体中文" dutch: "Flemenkçe"
japanese: "Japanese"
traditional_chinese: "繁体中文"
simplified_chinese: "简体中文"


main: main:
title: "该是时候选择一个更优质的浏览器了" title: "该是时候选择一个更优质的浏览器了"
Expand Down
8 changes: 6 additions & 2 deletions i18n/zh-hk.yml
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -6,12 +6,16 @@ menu:
italian: "意大利語" italian: "意大利語"
german: "德語" german: "德語"
czech: "捷克語" czech: "捷克語"
slovak: "Словачки"
serbian: "塞爾維亞語" serbian: "塞爾維亞語"
portuguesebr: "葡萄牙語" portuguesebr: "葡萄牙語"
russian: "俄語" russian: "俄語"
polish: "波蘭語" polish: "波蘭語"
traditional chinese: "繁體中文" turkish: "Türkçe"
simplified chinese: "簡體中文" dutch: "Flemenkçe"
japanese: "Japanese"
traditional_chinese: "繁體中文"
simplified_chinese: "簡體中文"


main: main:
title: "該是時候選擇一個更優質的瀏覽器了" title: "該是時候選擇一個更優質的瀏覽器了"
Expand Down
15 changes: 12 additions & 3 deletions views/index.haml
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
%body %body
.menu .menu
%ul %ul
%li= t.menu.languages
%li %li
%a{:href => "/"}= t.menu.english %a{:href => "/"}= t.menu.english
%li %li
Expand All @@ -45,8 +44,18 @@
%a{:href => "/pt-br"}= t.menu.portuguesebr %a{:href => "/pt-br"}= t.menu.portuguesebr
%li %li
%a{:href => "/ru"}= t.menu.russian %a{:href => "/ru"}= t.menu.russian
%li %li
%a{:href => "/pl"}= t.menu.polish %a{:href => "/pl"}= t.menu.polish
%li
%a{:href => "/tr"}= t.menu.turkish
%li
%a{:href => "/nl"}= t.menu.dutch
%li
%a{:href => "/ja"}= t.menu.japanese
%li
%a{:href => "/zh-cn"}= t.menu.traditional_chinese
%li
%a{:href => "/zh-hk"}= t.menu.simplified_chinese


.wrapper .wrapper
%h3= t.main.intro %h3= t.main.intro
Expand Down Expand Up @@ -107,7 +116,7 @@
%a{ :href => "http://jaro.kostal.sk"}= t.credits.slovak %a{ :href => "http://jaro.kostal.sk"}= t.credits.slovak
%li %li
%a{ :href => "http://twitter.com/npantos"}= t.credits.serbian %a{ :href => "http://twitter.com/npantos"}= t.credits.serbian
%li %li
%a{ :href => "http://im3.pl"}= t.credits.polish %a{ :href => "http://im3.pl"}= t.credits.polish
%li %li
%a{ :href => "http://mkautzmann.com.br"}= t.credits.portuguesebr %a{ :href => "http://mkautzmann.com.br"}= t.credits.portuguesebr
Expand Down

0 comments on commit e050d01

Please sign in to comment.