Skip to content

Commit

Permalink
Clean up font in translations
Browse files Browse the repository at this point in the history
  • Loading branch information
ai committed Feb 11, 2013
1 parent 620b64f commit 0419ef9
Show file tree
Hide file tree
Showing 14 changed files with 8 additions and 42 deletions.
3 changes: 0 additions & 3 deletions i18n/da.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ share:
realistisk. Objektet begynder ikke at bevæge sig med det samme og med
en konstant hastighed. Denne side hjælper dig med at finde den rette
easing funktion.
font:
name: PT Sans
url: family=PT+Sans:400,700&subset=latin

about: !!format
~Easing funktion~ angiver hvordan animationen forløber for at gøre den mere
Expand Down
3 changes: 0 additions & 3 deletions i18n/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ share:
to make it more realistic. The real object doesn’t begin its movement
instantly and at a constant rate. This page will each time help to pick
the desired easing function.
font:
name: PT Sans
url: family=PT+Sans:400,700&subset=latin

about: !!format
~Easing function~ specifies the speed of animation progresses
Expand Down
3 changes: 0 additions & 3 deletions i18n/es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ share:
para hacerla más realista. El objeto real no comienza su movimiento
instantáneamente y de manera constante. Esta página le ayudará a escoger
la función deseada.
font:
name: PT Sans
url: family=PT+Sans:400,700&subset=latin

about: !!format
La ~función easing~ especifica la velocidad de la animación para hacerla
Expand Down
3 changes: 0 additions & 3 deletions i18n/fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ share:
pour la rendre plus réaliste. Un objet réel ne commence pas son mouvement
instantanément et à vitesse constante. Cette page permet de choisir
la fonction désirée.
font:
name: PT Sans
url: family=PT+Sans:400,700&subset=latin

about: !!format
~Easing function~ précise la vitesse d’exécution d’une animation
Expand Down
3 changes: 0 additions & 3 deletions i18n/it.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ share:
un'animazione, rendendola più realistica. Un oggetto nella realtà non inizia
istantaneamente il suo movimento e ad una frequenza costante. Questa pagina
ti aiuta ogni volta a scegliere la funzione easing desiderata.
font:
name: PT Sans
url: family=PT+Sans:400,700&subset=latin

about: !!format
~La funzione Easing~ specifica la velocità delle accellerazioni di
Expand Down
3 changes: 0 additions & 3 deletions i18n/ja.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ share:
Easing Functionはアニメーションの進み具合を指定することで、アニメーションをよりリアルに見せることが出来ます。
現実の物体は急に動き出して、一定のスピードで動くことなんて有り得ません。
このページでは、そのEasingの選択をより簡単にすることを目的としています。
font:
name: PT Sans
url: family=PT+Sans:400,700&subset=latin

about: !!format
~Easing function~はアニメーションの進み具合を指定し、それをよりリアルに見せることが出来ます。
Expand Down
3 changes: 0 additions & 3 deletions i18n/nb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ description:
mer realisitisk. Et ekte objekt begynner ikke bevegelsen umiddelbart med en
konstant hurtighet. Denne siden vil hjelpe deg med å velge riktigeasing
function.
font:
name: PT Sans
url: family=PT+Sans:400,700&subset=latin

about: !!format
~Easing funksjonen~ bestemmer hurtigheten på animasjonprogressen får å gjøre
Expand Down
3 changes: 0 additions & 3 deletions i18n/pt-br.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ share:
para tornar mais realista. Um objeto real não começa seu movimento
instantaneamente e numa taxa constante. Esta página permite escolhe
a função easing desejada.
font:
name: PT Sans
url: family=PT+Sans:400,700&subset=latin

about: !!format
~Easing function~ especifica a velocidade do progresso da animação
Expand Down
4 changes: 1 addition & 3 deletions i18n/ru.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ share:
более реалистичной, так как реальные вещи не начинают двигаться мгновенно и
с постоянной скоростью. Этот сайт поможет каждый раз подобрать нужную
смягчающую функцию.
font:
name: PT Sans
url: family=PT+Sans:400,700&subset=latin,cyrillic
font: 400,700&subset=latin,cyrillic

about: !!format
~Функция смягчения (easing)~ определяет скорость течения анимации, делая её
Expand Down
4 changes: 1 addition & 3 deletions i18n/uk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ share:
більш реалістичною, тому що реальні речі не починають рухатися миттєво і
з постійною швидкістю. Цей сайт допоможе кожен раз підібрати потрібну
зм'якшуючу функцію.
font:
name: PT Sans
url: family=PT+Sans:400,700&subset=latin,cyrillic
font: 400,700&subset=latin,cyrillic

about: !!format
~Функція пом'якшення (easing)~ визначає швидкість течії анімації, роблячи її
Expand Down
4 changes: 1 addition & 3 deletions i18n/zh-cn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ description:
透过正确使用的缓动函数,让动画更加真实。
share:
缓动函数允许指定动画在执行时的进度,使其看起来更加真实。现实物体照着一定速率移动,非初始即移动很快。本页可以在每次你需要时,帮助你找到想要的缓动函数。
font:
name: PT Sans
url: family=PT+Sans&subset=latin
font: 400&subset=latin

about: !!format
~缓动函数~指定动画效果在执行时的速度,使其看起来更加真实。
Expand Down
3 changes: 0 additions & 3 deletions i18n/zh-tw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ description:
透過選擇使用正確的Easing函數,讓動畫更加真實。
share:
Easing 函數指定了動畫效果在執行時的進度,讓它看起來更加真實。真實的物體是照著一定的速度移動,不會一開始就移動很快。本頁可以在每次你需要時,幫助你找到想要的函數。
font:
name: PT Sans
url: family=PT+Sans&subset=latin

about: !!format
~Easing函數~讓你可以指定動畫效果在執行時的速度,使其看起來更加真實。
Expand Down
7 changes: 2 additions & 5 deletions layout/layout.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,14 @@ html lang=r18n.locale.code
title= t.title
meta name="description" content=t.description
script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery#{production? ? '.min' : ''}.js"
- font = t.font.url.gsub('&', '&')
link rel="stylesheet" href="//fonts.googleapis.com/css?#{font}"
- font = (t.font | '400,700&subset=latin').gsub('&', '&')
link rel="stylesheet" href="//fonts.googleapis.com/css?family=PT+Sans:#{font}"
link rel="stylesheet" href="//fonts.googleapis.com/css?family=PT+Mono"
meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"
meta property="og:url" content="http://easings.net/"
meta property="og:image" content="http://easings.net/apple-touch-icon.png"
meta property="og:description" content=t.share
style= assets['style.css']
style
- fonts = [t.font.name, 'Trebuchet MS', 'sans-serif']
| body, pre strong { font-family: #{ fonts_list(fonts) }; }
- if production?
= include_statistics
body.limit-internet
Expand Down
4 changes: 3 additions & 1 deletion layout/style.css.sass
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ body
background: white
color: black
font-size: 16px
font-family: sans-serif

body, pre strong
font-family: "PT Sans", sans-serif

code
font-family: "PT Mono", monospace
Expand Down

0 comments on commit 0419ef9

Please sign in to comment.