Permalink
Browse files

create some partial views; new credits page (too many people to thank…

…); remove safari (no pc support from apple on v6); fix up some of the translation files (still needs more work)
  • Loading branch information...
1 parent de28eec commit 724485f540f03837abcf44ade0b42ceb26098432 @ejc committed Nov 8, 2012
View
17 abb.rb
@@ -5,14 +5,29 @@
require 'sinatra/r18n'
require 'haml'
+helpers do
+ def partial(page, options={})
+ haml page.to_sym, options.merge!(:layout => false)
+ end
+end
+
before do
session[:locale] = params[:locale] if params[:locale]
end
get '/' do
+ @locale = "en"
haml :index
+
end
get '/:locale' do
+ @locale = params[:locale]
haml :index
-end
+
+end
+
+get '/:locale/credits' do
+ haml :credits
+end
+
View
@@ -16,7 +16,8 @@ menu:
japanese: "Japanese"
traditional_chinese: "Trad Chinese"
simplified_chinese: "Simp Chinese"
-
+ swedish: "Swedish"
+
main:
title: "Je čas zvolit Lepší Prohlížeč"
intro: "Nastal čas zvolit si"
@@ -26,6 +27,7 @@ main:
ie_lover: "Stále se nedokážete odpoutat od Internet Exploreru? I on už má trochu lepší vezi"
credits:
+ credits: "Credits"
translation: "Překlady"
design: "Design – E.J. Coughlin"
spanish: "Spanělština – Zac Parker"
@@ -39,5 +41,10 @@ credits:
russian: "Rus - Xkeeper"
polish: "Polský - Kuba B."
dutch: "Holandský - Ruben van Os"
+ turkish: "Turkish by Unknown"
+ japanese: "Japanese by Unknown"
+ traditional_chinese: Traditional Chinese by xyeal.com"
+ simplified_chinese: Simplified Chinese by xyeal.com"
+ swedish: "Svenska av Christoffer Sawicki"
site_source: "Zdroják na GitHubu"
contribute: "Pokud chcete přidat svůj vlastní překlad, dejte mi vědět na Twitteru"
View
@@ -16,7 +16,8 @@ menu:
japanese: "Japanese"
traditional_chinese: "Trad Chinese"
simplified_chinese: "Simp Chinese"
-
+ swedish: "Swedish"
+
main:
title: "Es ist Zeit, einen besseren Browser zu wählen"
intro: "Es ist Zeit zu wählen!"
@@ -26,6 +27,7 @@ main:
ie_lover: "Sie möchten nicht vom Internet Explorer weg? Auch von diesem gibt es eine bessere Version ..."
credits:
+ credits: "Credits"
translation: "Übersetzungen"
design: "Entworfen von E.J. Coughlin"
spanish: "Spanisch von Zac Parker"
@@ -39,5 +41,10 @@ credits:
russian: "Russisch von Xkeeper"
polish: "Polnisch von Kuba B."
dutch: "Niederländisch von Ruben van Os"
+ turkish: "Turkish by Unknown"
+ japanese: "Japanese by Unknown"
+ traditional_chinese: Traditional Chinese by xyeal.com"
+ simplified_chinese: Simplified Chinese by xyeal.com"
+ swedish: "Svenska av Christoffer Sawicki"
site_source: "Code auf GitHub"
contribute: "Wenn Sie eine weitere Übersetzung hinzufügen möchten, können Sie mich via Twitter erreichen:"
View
@@ -27,6 +27,7 @@ main:
ie_lover: "Can’t seem to pry yourself away from Internet Explorer? There’s a slightly better version of that too..."
credits:
+ credits: "Credits"
translation: "Translation"
design: "Designed by E.J. Coughlin"
spanish: "Spanish by Zac Parker"
@@ -40,5 +41,10 @@ credits:
russian: "Russian by Xkeeper"
polish: "Polish by Kuba B."
dutch: "Dutch by Ruben van Os"
+ turkish: "Turkish by Unknown"
@onurguzel

onurguzel Jan 9, 2013

Contributor

Hey, thanks for the credits page. You can add my name. Here is my commit for Turkish: a55a4e6

+ japanese: "Japanese by Unknown"
+ traditional_chinese: Traditional Chinese by xyeal.com"
+ simplified_chinese: Simplified Chinese by xyeal.com"
+ swedish: "Svenska av Christoffer Sawicki"
site_source: "Code on GitHub"
contribute: "If you would like to provide additional translations ping me on Twitter"
View
@@ -16,6 +16,7 @@ menu:
japanese: "Japanese"
traditional_chinese: "Trad Chinese"
simplified_chinese: "Simp Chinese"
+ swedish: "Swedish"
main:
title: "Es Hora de Elegir un Mejor Navegador"
@@ -26,6 +27,7 @@ main:
ie_lover: "No puedes dejar de usar Internet Explorer? También hay una versión un poco mejor que IE6..."
credits:
+ credits: "Credits"
translation: "Traducción"
design: "Diseñado por E.J. Coughlin"
spanish: "Español por Zac Parker"
@@ -39,5 +41,10 @@ credits:
russian: "Ruso por Xkeeper"
polish: "Polaco por Kuba B."
dutch: "Holandés por Ruben van Os"
+ turkish: "Turkish by Unknown"
+ japanese: "Japanese by Unknown"
+ traditional_chinese: Traditional Chinese by xyeal.com"
+ simplified_chinese: Simplified Chinese by xyeal.com"
+ swedish: "Svenska av Christoffer Sawicki"
site_source: "Codigo en GitHub"
contribute: "Sí te gustaría traducir Un Mejor Navegador a otro idioma, por favor contactame en Twitter"
View
@@ -16,7 +16,8 @@ menu:
japanese: "Japanese"
traditional_chinese: "Trad Chinese"
simplified_chinese: "Simp Chinese"
-
+ swedish: "Swedish"
+
main:
title: "Il est temps de choisir un meilleur navigateur"
intro: "Il est temps pour vous de choisir"
@@ -26,6 +27,7 @@ main:
ie_lover: "Impossible de vous séparer d'Internet Explorer ? Une meilleure option reste envisageable..."
credits:
+ credits: "Credits"
translation: "Traduction"
design: "Créé par E.J. Coughlin"
spanish: "Espagnol de Zac Parker"
@@ -39,5 +41,10 @@ credits:
russian: "Russes de Xkeeper"
polish: "Polonais de Kuba B."
dutch: "Néerlandais de Ruben van Os"
+ turkish: "Turkish by Unknown"
+ japanese: "Japanese by Unknown"
+ traditional_chinese: Traditional Chinese by xyeal.com"
+ simplified_chinese: Simplified Chinese by xyeal.com"
+ swedish: "Svenska av Christoffer Sawicki"
site_source: "Code sur GitHub"
contribute: "Vous souhaitez traduire dans d'autres langues, contactez moi sur Twitter"
View
@@ -16,7 +16,8 @@ menu:
japanese: "Japanese"
traditional_chinese: "Trad Chinese"
simplified_chinese: "Simp Chinese"
-
+ swedish: "Swedish"
+
main:
title: "È tempo di scegliere Un Browser Migliore"
intro: "È giunto il tempo per scegliere"
@@ -26,6 +27,7 @@ main:
ie_lover: "Non riesci ad abbandonare Internet Explorer? Ce n'è anche una versione leggermente migliore..."
credits:
+ credits: "Credits"
translation: "Traduzione"
design: "Progettato da E.J. Coughlin"
spanish: "Spagnolo a cura di Zac Parker"
@@ -39,5 +41,10 @@ credits:
russian: "Russo a cura di Xkeeper"
polish: "Polacco a cura di Kuba B."
dutch: "Olandese a cura di Ruben van Os"
+ turkish: "Turkish by Unknown"
+ japanese: "Japanese by Unknown"
+ traditional_chinese: Traditional Chinese by xyeal.com"
+ simplified_chinese: Simplified Chinese by xyeal.com"
+ swedish: "Svenska av Christoffer Sawicki"
site_source: "Codice su GitHub"
contribute: "Se vuoi aggiungere altre traduzioni, contattami su Twitter"
View
@@ -16,7 +16,8 @@ menu:
japanese: "Japanese"
traditional_chinese: "Trad Chinese"
simplified_chinese: "Simp Chinese"
-
+ swedish: "Swedish"
+
main:
title: "A Better Browser を選ぶのは今!"
intro: "今こそまともなブラウザに乗り換えましょう!"
@@ -26,6 +27,7 @@ main:
ie_lover: "どうしても Internet Explorer から乗り換えられませんか?多少はマシなバージョンがあるのでそちらをお使いください……。"
credits:
+ credits: "Credits"
translation: "翻訳"
design: "E.J. Coughlin (デザイン)"
spanish: "Zac Parker (スペイン語)"
@@ -37,5 +39,10 @@ credits:
portuguesebr: "Matheus R. Kautzmann (ブラジルポルトガル語)"
russian: "Xkeeper (ロシア語)"
polish: "Kuba B. (ポーランド語)"
+ turkish: "Turkish by Unknown"
+ japanese: "Japanese by Unknown"
+ traditional_chinese: Traditional Chinese by xyeal.com"
+ simplified_chinese: Simplified Chinese by xyeal.com"
+ swedish: "Svenska av Christoffer Sawicki"
site_source: "GitHub (ソースコード)"
contribute: "もし他の言語にも翻訳したいというのなら是非 Twitter で連絡してください:"
View
@@ -16,6 +16,7 @@ menu:
japanese: "Japans"
traditional_chinese: "Trad Chinees"
simplified_chinese: "Simp Chinees"
+ swedish: "Swedish"
main:
title: "Het Is Tijd Om Een Betere Browser te Kiezen"
@@ -26,6 +27,7 @@ main:
ie_lover: "Kan u geen gedag zeggen tegen Internet Explorer? Ook daar is een iets betere versie van..."
credits:
+ credits: "Credits"
translation: "Vertaling"
design: "Ontworpen door E.J. Coughlin"
spanish: "Spaans door Zac Parker"
@@ -38,5 +40,10 @@ credits:
russian: "Russisch door Xkeeper"
polish: "Pools door Kuba B."
dutch: "Nederlands door Ruben van Os"
+ turkish: "Turkish by Unknown"
+ japanese: "Japanese by Unknown"
+ traditional_chinese: Traditional Chinese by xyeal.com"
+ simplified_chinese: Simplified Chinese by xyeal.com"
+ swedish: "Svenska av Christoffer Sawicki"
site_source: "Code op GitHub"
contribute: "Als u een vertaling of vertalingen toe wilt voegen, ping me dan op Twitter"
View
@@ -16,7 +16,8 @@ menu:
japanese: "Japanese"
traditional_chinese: "Trad Chinese"
simplified_chinese: "Simp Chinese"
-
+ swedish: "Swedish"
+
main:
title: "Czas wybrać Lepszą Przeglądarkę"
intro: "Nadszedł czas dla Ciebie, abyś wybrał"
@@ -26,6 +27,7 @@ main:
ie_lover: "Nie możesz się uwolnić od Internet Explorera? On też ma troszkę nowsze wersje... "
credits:
+ credits: "Credits"
translation: "Przekłady"
design: "Zaprojektował E.J. Coughlin"
spanish: "Hiszpański - Zac Parker"
@@ -38,5 +40,10 @@ credits:
russian: "Rosyjski - Xkeeper"
polish: "Polski - Kuba B."
dutch: "Holenderski - Ruben van Os"
+ turkish: "Turkish by Unknown"
+ japanese: "Japanese by Unknown"
+ traditional_chinese: Traditional Chinese by xyeal.com"
+ simplified_chinese: Simplified Chinese by xyeal.com"
+ swedish: "Svenska av Christoffer Sawicki"
site_source: "Kod na GitHubie"
- contribute: "Jeśli chciałbyś udostępnić dodatkowe tłumaczenie, znajdź mnie na Twitterze @ejc "
+ contribute: "Jeśli chciałbyś udostępnić dodatkowe tłumaczenie, znajdź mnie na Twitterze "
View
@@ -16,7 +16,8 @@ menu:
japanese: "Japanese"
traditional_chinese: "Trad Chinese"
simplified_chinese: "Simp Chinese"
-
+ swedish: "Swedish"
+
main:
title: "Chegou a hora de escolher um navegador melhor"
intro: "Chegou a hora de você escolher"
@@ -26,6 +27,7 @@ main:
ie_lover: "Não consegue abandonar o Internet Explorer? Há uma versão melhor dele também..."
credits:
+ credits: "Credits"
translation: "Tradução"
design: "Desenvolvido por E.J. Coughlin"
spanish: "Espanhol por Zac Parker"
@@ -39,5 +41,10 @@ credits:
russian: "Russo por Xkeeper"
polish: "Polonês por Kuba B."
dutch: "Holandês por Ruben van Os"
+ turkish: "Turkish by Unknown"
+ japanese: "Japanese by Unknown"
+ traditional_chinese: Traditional Chinese by xyeal.com"
+ simplified_chinese: Simplified Chinese by xyeal.com"
+ swedish: "Svenska av Christoffer Sawicki"
site_source: "Código no GitHub"
contribute: "Se você gostaria de enviar novas traduções fale comigo no Twitter"
View
@@ -16,7 +16,8 @@
japanese: "Japanese"
traditional_chinese: "Trad Chinese"
simplified_chinese: "Simp Chinese"
-
+ swedish: "Swedish"
+
main:
title: "Настало время выбрать современный браузер!"
intro: "Пришло время выбрать"
@@ -26,6 +27,7 @@ main:
ie_lover: "Не можете отказаться от Internet Explorer? Здесь можно скачать более современную версию..."
credits:
+ credits: "Credits"
translation: "Перевод:"
design: "Дизайн - E.J. Coughlin"
spanish: "Испанский - Zac Parker"
@@ -39,5 +41,10 @@ credits:
russian: "Русский - Xkeeper"
polish: "Польский - Kuba B."
dutch: "голландский: Ruben van Os"
+ turkish: "Turkish by Unknown"
+ japanese: "Japanese by Unknown"
+ traditional_chinese: Traditional Chinese by xyeal.com"
+ simplified_chinese: Simplified Chinese by xyeal.com"
+ swedish: "Svenska av Christoffer Sawicki"
site_source: "Исходники на GitHub"
contribute: "Если вы хотите помочь с переводом - обратитесь ко мне в Твиттер"
View
@@ -16,7 +16,8 @@ menu:
japanese: "Japanese"
traditional_chinese: "Trad Chinese"
simplified_chinese: "Simp Chinese"
-
+ swedish: "Swedish"
+
main:
title: "Je čas zvoliť Lepší Prehliadač"
intro: "Nastal čas zvoliť si"
@@ -26,6 +27,7 @@ main:
ie_lover: "Stále se nedokážete odpútať od Internet Explorera? Aj on už má trochu lepšiu veziu"
credits:
+ credits: "Credits"
translation: "Preklady"
design: "Dizajn – E.J. Coughlin"
spanish: "Španiečina – Zac Parker"
@@ -37,5 +39,10 @@ credits:
serbian: "Srbština – Nemanja Pantoš"
portuguesebr: "Brazílska Portugalčina - Matheus R. Kautzmann"
russian: "Ruština - Xkeeper"
+ turkish: "Turkish by Unknown"
+ japanese: "Japanese by Unknown"
+ traditional_chinese: Traditional Chinese by xyeal.com"
+ simplified_chinese: Simplified Chinese by xyeal.com"
+ swedish: "Svenska av Christoffer Sawicki"
site_source: "Zdrojáky na GitHube"
contribute: "Ak chcete pridať svoj vlasntý preklad, dajte mi vedieť na Twitteri"
Oops, something went wrong.

1 comment on commit 724485f

Contributor

qerub commented on 724485f Nov 11, 2012

Great changes! Thank you.

Please sign in to comment.