Add reading time translation

This commit is contained in:
Jeremy Benoist 2016-03-20 22:09:00 +01:00 committed by Jeremy Benoist
parent 4cb3ef5125
commit f3e49264f2
12 changed files with 78 additions and 7 deletions

View file

@ -39,12 +39,12 @@ class ConfigType extends AbstractType
'label' => 'config.form_settings.items_per_page_label', 'label' => 'config.form_settings.items_per_page_label',
)) ))
->add('reading_speed', ChoiceType::class, array( ->add('reading_speed', ChoiceType::class, array(
'label' => 'config.form_settings.reading_speed', 'label' => 'config.form_settings.reading_speed.label',
'choices' => array( 'choices' => array(
'I read ~100 words per minute' => '0.5', 'config.form_settings.reading_speed.100_word' => '0.5',
'I read ~200 words per minute' => '1', 'config.form_settings.reading_speed.200_word' => '1',
'I read ~300 words per minute' => '1.5', 'config.form_settings.reading_speed.300_word' => '1.5',
'I read ~400 words per minute' => '2', 'config.form_settings.reading_speed.400_word' => '2',
), ),
)) ))
->add('language', ChoiceType::class, array( ->add('language', ChoiceType::class, array(

View file

@ -61,6 +61,13 @@ config:
theme_label: 'Tema' theme_label: 'Tema'
items_per_page_label: 'Poster pr. side' items_per_page_label: 'Poster pr. side'
language_label: 'Sprog' language_label: 'Sprog'
reading_speed:
# label: 'Reading speed'
# help_message: 'You can use online tools to estimate your reading speed:'
# 100_word: 'I read ~100 words per minute'
# 200_word: 'I read ~200 words per minute'
# 300_word: 'I read ~300 words per minute'
# 400_word: 'I read ~400 words per minute'
form_rss: form_rss:
description: 'RSS-feeds fra wallabag gør det muligt at læse de artikler, der gemmes i wallabag, med din RSS-læser. Det kræver, at du genererer et token først.' description: 'RSS-feeds fra wallabag gør det muligt at læse de artikler, der gemmes i wallabag, med din RSS-læser. Det kræver, at du genererer et token først.'
token_label: 'RSS-Token' token_label: 'RSS-Token'

View file

@ -61,6 +61,13 @@ config:
theme_label: 'Theme' theme_label: 'Theme'
items_per_page_label: 'Einträge pro Seite' items_per_page_label: 'Einträge pro Seite'
language_label: 'Sprache' language_label: 'Sprache'
reading_speed:
# label: 'Reading speed'
# help_message: 'You can use online tools to estimate your reading speed:'
# 100_word: 'I read ~100 words per minute'
# 200_word: 'I read ~200 words per minute'
# 300_word: 'I read ~300 words per minute'
# 400_word: 'I read ~400 words per minute'
form_rss: form_rss:
description: 'Die RSS-Feeds von wallabag erlauben es dir, deine gespeicherten Artikel mit deinem bevorzugten RSS-Reader zu lesen. Vorher musst du jedoch einen Token erstellen.' description: 'Die RSS-Feeds von wallabag erlauben es dir, deine gespeicherten Artikel mit deinem bevorzugten RSS-Reader zu lesen. Vorher musst du jedoch einen Token erstellen.'
token_label: 'RSS-token' token_label: 'RSS-token'

View file

@ -61,6 +61,13 @@ config:
theme_label: 'Theme' theme_label: 'Theme'
items_per_page_label: 'Items per page' items_per_page_label: 'Items per page'
language_label: 'Language' language_label: 'Language'
reading_speed:
label: 'Reading speed'
help_message: 'You can use online tools to estimate your reading speed:'
100_word: 'I read ~100 words per minute'
200_word: 'I read ~200 words per minute'
300_word: 'I read ~300 words per minute'
400_word: 'I read ~400 words per minute'
form_rss: form_rss:
description: 'RSS feeds provided by wallabag allow you to read your saved articles with your favourite RSS reader. You need to generate a token first.' description: 'RSS feeds provided by wallabag allow you to read your saved articles with your favourite RSS reader. You need to generate a token first.'
token_label: 'RSS token' token_label: 'RSS token'

View file

@ -61,6 +61,13 @@ config:
theme_label: 'Tema' theme_label: 'Tema'
items_per_page_label: 'Número de artículos por página' items_per_page_label: 'Número de artículos por página'
language_label: 'Idioma' language_label: 'Idioma'
reading_speed:
# label: 'Reading speed'
# help_message: 'You can use online tools to estimate your reading speed:'
# 100_word: 'I read ~100 words per minute'
# 200_word: 'I read ~200 words per minute'
# 300_word: 'I read ~300 words per minute'
# 400_word: 'I read ~400 words per minute'
form_rss: form_rss:
description: 'Los feeds RSS de wallabag permiten leer los artículos guardados con su lector RSS favorito. Necesita generar un token primero' description: 'Los feeds RSS de wallabag permiten leer los artículos guardados con su lector RSS favorito. Necesita generar un token primero'
token_label: 'RSS token' token_label: 'RSS token'

View file

@ -61,6 +61,13 @@ config:
theme_label: 'پوسته' theme_label: 'پوسته'
items_per_page_label: 'تعداد مقاله در هر صفحه' items_per_page_label: 'تعداد مقاله در هر صفحه'
language_label: 'زبان' language_label: 'زبان'
reading_speed:
# label: 'Reading speed'
# help_message: 'You can use online tools to estimate your reading speed:'
# 100_word: 'I read ~100 words per minute'
# 200_word: 'I read ~200 words per minute'
# 300_word: 'I read ~300 words per minute'
# 400_word: 'I read ~400 words per minute'
form_rss: form_rss:
description: 'با خوراک آر-اس-اس که wallabag در اختیارتان می‌گذارد، می‌توانید مقاله‌های ذخیره‌شده را در نرم‌افزار آر-اس-اس دلخواه خود بخوانید. برای این کار نخست باید یک کد بسازید.' description: 'با خوراک آر-اس-اس که wallabag در اختیارتان می‌گذارد، می‌توانید مقاله‌های ذخیره‌شده را در نرم‌افزار آر-اس-اس دلخواه خود بخوانید. برای این کار نخست باید یک کد بسازید.'
token_label: 'کد آر-اس-اس' token_label: 'کد آر-اس-اس'

View file

@ -46,6 +46,8 @@ footer:
powered_by: 'propulsé par' powered_by: 'propulsé par'
about: 'À propos' about: 'À propos'
page_title: 'Configuration' page_title: 'Configuration'
config:
tab_menu: tab_menu:
settings: 'Paramètres' settings: 'Paramètres'
rss: 'RSS' rss: 'RSS'
@ -59,6 +61,13 @@ footer:
theme_label: 'Thème' theme_label: 'Thème'
items_per_page_label: "Nombre d'articles par page" items_per_page_label: "Nombre d'articles par page"
language_label: 'Langue' language_label: 'Langue'
reading_speed:
label: 'Vitesse de lecture'
help_message: 'Vous pouvez utiliser un outil en ligne pour estimer votre vitesse de lecture :'
100_word: 'Je lis environ 100 mots par minute'
200_word: 'Je lis environ 200 mots par minute'
300_word: 'Je lis environ 300 mots par minute'
400_word: 'Je lis environ 400 mots par minute'
form_rss: form_rss:
description: "Les flux RSS fournis par wallabag vous permettent de lire vos articles sauvegardés dans votre lecteur de flux préféré. Pour pouvoir les utiliser, vous devez d'abord créer un jeton." description: "Les flux RSS fournis par wallabag vous permettent de lire vos articles sauvegardés dans votre lecteur de flux préféré. Pour pouvoir les utiliser, vous devez d'abord créer un jeton."
token_label: 'Jeton RSS' token_label: 'Jeton RSS'

View file

@ -61,6 +61,13 @@ config:
theme_label: 'Temat' theme_label: 'Temat'
items_per_page_label: 'Ilość elementóœ na stronie' items_per_page_label: 'Ilość elementóœ na stronie'
language_label: 'Język' language_label: 'Język'
reading_speed:
# label: 'Reading speed'
# help_message: 'You can use online tools to estimate your reading speed:'
# 100_word: 'I read ~100 words per minute'
# 200_word: 'I read ~200 words per minute'
# 300_word: 'I read ~300 words per minute'
# 400_word: 'I read ~400 words per minute'
form_rss: form_rss:
description: 'Kanały RSS prowadzone przez wallabag pozwalają Ci na czytanie twoich zapisanych artykułów w twoium ulubionym czytniku RSS. Musisz najpierw wynegenerować tokena.' description: 'Kanały RSS prowadzone przez wallabag pozwalają Ci na czytanie twoich zapisanych artykułów w twoium ulubionym czytniku RSS. Musisz najpierw wynegenerować tokena.'
token_label: 'Token RSS' token_label: 'Token RSS'

View file

@ -61,6 +61,13 @@ config:
theme_label: 'Temă' theme_label: 'Temă'
items_per_page_label: 'Articole pe pagină' items_per_page_label: 'Articole pe pagină'
language_label: 'Limbă' language_label: 'Limbă'
reading_speed:
# label: 'Reading speed'
# help_message: 'You can use online tools to estimate your reading speed:'
# 100_word: 'I read ~100 words per minute'
# 200_word: 'I read ~200 words per minute'
# 300_word: 'I read ~300 words per minute'
# 400_word: 'I read ~400 words per minute'
form_rss: form_rss:
description: 'Feed-urile RSS oferite de wallabag îți permit să-ți citești articolele salvate în reader-ul tău preferat RSS.' description: 'Feed-urile RSS oferite de wallabag îți permit să-ți citești articolele salvate în reader-ul tău preferat RSS.'
token_label: 'RSS-Token' token_label: 'RSS-Token'

View file

@ -61,6 +61,13 @@ config:
theme_label: 'Tema' theme_label: 'Tema'
items_per_page_label: 'Sayfa başına makale sayısı' items_per_page_label: 'Sayfa başına makale sayısı'
language_label: 'Dil' language_label: 'Dil'
reading_speed:
# label: 'Reading speed'
# help_message: 'You can use online tools to estimate your reading speed:'
# 100_word: 'I read ~100 words per minute'
# 200_word: 'I read ~200 words per minute'
# 300_word: 'I read ~300 words per minute'
# 400_word: 'I read ~400 words per minute'
form_rss: form_rss:
description: 'wallabag RSS akışı kaydetmiş olduğunuz makalelerini favori RSS okuyucunuzda görüntülemenizi sağlar. Bunu yapabilmek için öncelikle belirteç (token) oluşturmalısınız.' description: 'wallabag RSS akışı kaydetmiş olduğunuz makalelerini favori RSS okuyucunuzda görüntülemenizi sağlar. Bunu yapabilmek için öncelikle belirteç (token) oluşturmalısınız.'
token_label: 'RSS belirteci (token)' token_label: 'RSS belirteci (token)'

View file

@ -29,7 +29,10 @@
{{ form_label(form.config.reading_speed) }} {{ form_label(form.config.reading_speed) }}
{{ form_errors(form.config.reading_speed) }} {{ form_errors(form.config.reading_speed) }}
{{ form_widget(form.config.reading_speed) }} {{ form_widget(form.config.reading_speed) }}
<p>{% trans %}You can use online tools to estimate your reading speed{% endtrans %} (<a href="http://www.myreadspeed.com/calculate/">{% trans %}like this one{%endtrans%}</a>).</p> <p>
{{ 'config.form_settings.reading_speed.help_message'|trans }}
<a href="http://www.myreadspeed.com/calculate/">myreadspeed</a>
</p>
</div> </div>
</fieldset> </fieldset>

View file

@ -47,7 +47,10 @@
{{ form_label(form.config.reading_speed) }} {{ form_label(form.config.reading_speed) }}
{{ form_errors(form.config.reading_speed) }} {{ form_errors(form.config.reading_speed) }}
{{ form_widget(form.config.reading_speed) }} {{ form_widget(form.config.reading_speed) }}
<p>{% trans %}You can use online tools to estimate your reading speed{% endtrans %} (<a href="http://www.myreadspeed.com/calculate/">{% trans %}like this one{%endtrans%}</a>).</p> <p>
{{ 'config.form_settings.reading_speed.help_message'|trans }}
<a href="http://www.myreadspeed.com/calculate/">myreadspeed</a>
</p>
</div> </div>
</div> </div>