Skip to content

Commit

Permalink
Fixes and added translation
Browse files Browse the repository at this point in the history
- Serbian translation added courtesy of Nemanja Pantoš
- Fixed horizontal scroll bug related to the social icon areas
- Added credit for Fabian Beiner to all languages
  • Loading branch information
ejc committed Sep 7, 2011
1 parent 311f57e commit 21b268a
Show file tree
Hide file tree
Showing 8 changed files with 48 additions and 20 deletions.
2 changes: 2 additions & 0 deletions i18n/de.yml
Expand Up @@ -5,6 +5,7 @@ menu:
french: "Französisch"
german: "Deutsch"
italian: "Italienisch"
serbian: "Serbisch"

main:
title: "Es ist Zeit, einen besseren Browser zu wählen"
Expand All @@ -21,5 +22,6 @@ credits:
french: "Französisch von Nourredine Seddik"
german: "Deutsch von Erik Fischer und Fabian Beiner"
italian: "Italienisch von Giustino Borzacchiello"
serbian: "Serbisch von Nemanja Pantoš"
site_source: "Code auf GitHub"
contribute: "Wenn Sie eine weitere Übersetzung hinzufügen möchten, können Sie mich via Twitter erreichen:"
4 changes: 3 additions & 1 deletion i18n/en.yml
Expand Up @@ -5,6 +5,7 @@ menu:
french: "French"
german: "German"
italian: "Italian"
serbian: "Serbian"

main:
title: "It's Time to Choose A Better Browser"
Expand All @@ -19,7 +20,8 @@ credits:
design: "Designed by E.J. Coughlin"
spanish: "Spanish by Zac Parker"
french: "French by Nourredine Seddik"
german: "German by Erik Fischer"
german: "German by Erik Fischer and Fabian Beiner"
italian: "Italian by Giustino Borzacchiello"
serbian: "Serbian by Nemanja Pantoš"
site_source: "Code on GitHub"
contribute: "If you would like to provide additional translations ping me on Twitter"
4 changes: 3 additions & 1 deletion i18n/es.yml
Expand Up @@ -5,6 +5,7 @@ menu:
french: "Frances"
german: "Alemán"
italian: "Italiano"
serbian: "Serbio"

main:
title: "Es Hora de Elegir un Mejor Navegador"
Expand All @@ -19,7 +20,8 @@ credits:
design: "Diseñado por E.J. Coughlin"
spanish: "Español por Zac Parker"
french: "Frances por Nourredine Seddik"
german: "Alemán por Erik Fischer"
german: "Alemán por Erik Fischer y Fabian Beiner"
italian: "Italiano por Giustino Borzacchiello"
serbian: "Serbio por Nemanja Pantoš"
site_source: "Codigo en GitHub"
contribute: "Sí te gustaría traducir Un Mejor Navegador a otro idioma, por favor contactame en Twitter"
4 changes: 3 additions & 1 deletion i18n/fr.yml
Expand Up @@ -5,6 +5,7 @@ menu:
french: "Française"
german: "Allemande"
italian: "Italienne"
serbian: "Serbes"

main:
title: "Il est temps de choisir un meilleur navigateur"
Expand All @@ -19,7 +20,8 @@ credits:
design: "Créé par E.J. Coughlin"
spanish: "Espagnol de Zac Parker"
french: "Française de Noureddine Seddik"
german: "Allemande de Erik Fischer"
german: "Allemande de Erik Fischer et Fabian Beiner"
italian: "Italienne de Giustino Borzacchiello"
serbian: "Serbes de Nemanja Pantoš"
site_source: "Code sur GitHub"
contribute: "Vous souhaitez traduire dans d'autres langues, contactez moi sur Twitter"
5 changes: 4 additions & 1 deletion i18n/it.yml
Expand Up @@ -5,6 +5,8 @@ menu:
french: "Francese"
german: "Tedesco"
italian: "Italiano"
serbian: "Serbian"

main:
title: "È tempo di scegliere Un Browser Migliore"
intro: "È giunto il tempo per scegliere"
Expand All @@ -18,7 +20,8 @@ credits:
design: "Progettato da E.J. Coughlin"
spanish: "Spagnolo a cura di Zac Parker"
french: "Francese a cura di Nourredine Seddik"
german: "Tedesco a cura di Erik Fischer"
german: "Tedesco a cura di Erik Fischer e Fabian Beiner"
italian: "Italiano a cura di Giustino Borzacchiello"
serbian: "Serbo a Nemanja Pantoš"
site_source: "Codice su GitHub"
contribute: "Se vuoi aggiungere altre traduzioni, contattami su Twitter"
27 changes: 27 additions & 0 deletions i18n/sr.yml
@@ -0,0 +1,27 @@
menu:
languages: "Бољи браузер на осталим језицима:"
english: "Енглески"
spanish: "Шпански"
french: "Француски"
german: "Немачки"
italian: "Италијански"
serbian: "Српски"

main:
title: "Време је да изаберете бољи браузер"
intro: "Дошло је време за Вас да изаберете"
headline: "Бољи браузер"
tagline: "За безбедност. За компатибилност. За човечанство."
ie6: "Internet Explorer 6 је изашао 27. августа 2001. године и веома је застарео. Молимо Вас да изаберете један од следећих:"
ie_lover: "Не можете да побегнете од Internet Explorer-а? Постоји малко боља верзија и тога..."

credits:
translation: "Превод"
design: "Дизајн: E.J. Coughlin"
spanish: "Шпански: Zac Parker"
french: "Француски: Nourredine Seddik"
german: "Немачки: Erik Fischer"
italian: "Италијански: Giustino Borzacchiello"
serbian: "Српски: Немања Пантош"
site_source: "Код на GitHub-у"
contribute: "Ако желите да обезбедите додатни превод, контактирајте ме на Twitter-у"
4 changes: 2 additions & 2 deletions public/css/screen.css
Expand Up @@ -34,7 +34,7 @@ body { background: url("http://abetterbrowser.s3.amazonaws.com/images
.meh .icon:hover { background-position: 0px -40px; }
.meh p { padding-left: 55px; }

.social { position: absolute; display: block; left: 600px; top: 30px; }
.social { position: absolute; display: block; left: 600px; top: 30px; width: 350px; overflow: hidden; height: 50px;}
.social .twitter,
.social .google,
.social .facebook { position: absolute; display: block; top: 0px; }
Expand All @@ -52,7 +52,7 @@ body { background: url("http://abetterbrowser.s3.amazonaws.com/images
.footer .contribute a { font-size: 11px; text-indent: -30px; color: #393532;}
.footer .translation,
.footer .translation a,
.footer .translation li { font-size: 14px; margin-bottom: 40px; font-weight: normal;}
.footer .translation li { font-size: 11px; margin-bottom: 40px; font-weight: normal; color: #201e1c;}

/* Headlines */
h1, h2, h3 { width: 100%; text-align: center; margin: 0; text-shadow: -1px -1px 0 rgba(0,0,0,.4); }
Expand Down
18 changes: 4 additions & 14 deletions views/index.haml
Expand Up @@ -37,6 +37,8 @@
%a{:href => "/de"}= t.menu.german
%li
%a{:href => "/it"}= t.menu.italian
%li
%a{:href => "/sr"}= t.menu.serbian

.wrapper
%h3= t.main.intro
Expand Down Expand Up @@ -86,6 +88,8 @@
%a{ :href => "http://erikfischerphotography.com", :target => "_blank"}= t.credits.german
%li
%a{ :href => "http://twitter.com/jubstuff", :target => "_blank"}= t.credits.italian
%li
%a{ :href => "http://twitter.com/npantos"}= t.credits.serbian
%p.contribute
%a{ :href => "http://twitter.com/ejc", :target => "_blank"}= t.credits.contribute + " @ejc"

Expand All @@ -101,20 +105,6 @@
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();


:javascript
var _gauges = _gauges || [];
(function() {
var t = document.createElement('script');
t.type = 'text/javascript';
t.async = true;
t.id = 'gauges-tracker';
t.setAttribute('data-site-id', '4e54270bf5a1f5392b000003');
t.src = '//secure.gaug.es/track.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(t, s);
})();

:javascript
(function() {
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
Expand Down

0 comments on commit 21b268a

Please sign in to comment.