diff options
8 files changed, 72 insertions, 5 deletions
diff --git a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.pl.yml b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.pl.yml new file mode 100644 index 00000000..87ca5060 --- /dev/null +++ b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.pl.yml | |||
@@ -0,0 +1,24 @@ | |||
1 | download_pictures: Pobierz obrazy na swój serwer | ||
2 | carrot: Włącz udostępnianie dla Carrot | ||
3 | diaspora_url: Adres URL Diaspora, jeżeli usługa jest włączona | ||
4 | export_epub: Włącz eksport do ePub | ||
5 | export_mobi: Włącz eksport do .mobi | ||
6 | export_pdf: Włącz eksport do PDF | ||
7 | export_csv: Włącz eksport do CSV | ||
8 | export_json: Włącz eksport do JSON | ||
9 | export_txt: Włącz eksport do TXT | ||
10 | export_xml: Włącz eksport do XML | ||
11 | pocket_consumer_key: Klucz klienta Pocket do importu zawartości (https://getpocket.com/developer/docs/authentication) | ||
12 | shaarli_url: Adress URL Shaarli, jeżeli usługa jest włączona | ||
13 | share_diaspora: Włącz udostępnianie dla Diaspora | ||
14 | share_mail: Włącz udostępnianie przez email | ||
15 | share_shaarli: Włącz udostępnianie dla Shaarli | ||
16 | share_twitter: Włącz udostępnianie dla Twitter | ||
17 | show_printlink: Pokaż link do wydrukowania zawartości | ||
18 | wallabag_support_url: Adres URL wsparcia dla wallabag | ||
19 | wallabag_url: Adres *twojej* instacji wallabag | ||
20 | entry: "artykuł" | ||
21 | export: "eksport" | ||
22 | import: "import" | ||
23 | misc: "różne" | ||
24 | modify_settings: "zatwierdz" | ||
diff --git a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.ro.yml b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.ro.yml new file mode 100644 index 00000000..f5ff8c6a --- /dev/null +++ b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.ro.yml | |||
@@ -0,0 +1,24 @@ | |||
1 | download_pictures: Descarcă poze pe server | ||
2 | carrot: Permite share către Carrot | ||
3 | diaspora_url: Diaspora URL, dacă serviciul este permis | ||
4 | export_epub: Permite exportare ePub | ||
5 | export_mobi: Permite exportare .mobi | ||
6 | export_pdf: Permite exportare PDF | ||
7 | export_csv: Permite exportare CSV | ||
8 | export_json: Permite exportare JSON | ||
9 | export_txt: Permite exportare TXT | ||
10 | export_xml: Permite exportare XML | ||
11 | pocket_consumer_key: Cheie consumator pentru importarea contentului din Pocket (https://getpocket.com/developer/docs/authentication) | ||
12 | shaarli_url: Shaarli URL, dacă serviciul este permis | ||
13 | share_diaspora: Permite share către Diaspora | ||
14 | share_mail: Permite share prin email | ||
15 | share_shaarli: Permite share către Shaarli | ||
16 | share_twitter: Permite share către Twitter | ||
17 | show_printlink: Afișează un link pentru a printa content-ul | ||
18 | wallabag_support_url: URL-ul de suport pentru wallabag | ||
19 | wallabag_url: URL-ul instanței tale wallabag | ||
20 | entry: "alticol" | ||
21 | export: "exportă" | ||
22 | import: "importă" | ||
23 | misc: "diverse" | ||
24 | modify_settings: "aplică" | ||
diff --git a/app/config/config.yml b/app/config/config.yml index 359af726..bd269b07 100644 --- a/app/config/config.yml +++ b/app/config/config.yml | |||
@@ -37,6 +37,7 @@ wallabag_core: | |||
37 | tr: 'Türkçe' | 37 | tr: 'Türkçe' |
38 | fa: 'فارسی' | 38 | fa: 'فارسی' |
39 | ro: 'Română' | 39 | ro: 'Română' |
40 | pl: 'Polish' | ||
40 | items_on_page: 12 | 41 | items_on_page: 12 |
41 | theme: material | 42 | theme: material |
42 | language: en | 43 | language: en |
diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.fr.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.fr.yml index 67750bee..c42ac6d3 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.fr.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.fr.yml | |||
@@ -88,7 +88,8 @@ Rule: "Règle" | |||
88 | FAQ: "FAQ" | 88 | FAQ: "FAQ" |
89 | 89 | ||
90 | # Entries | 90 | # Entries |
91 | 'estimated reading time': 'durée de lecture' | 91 | "estimated reading time: %readingTime% min": "durée de lecture : %readingTime% min" |
92 | "estimated reading time: %inferior% 1 min": "durée de lecture : %inferior% 1 min" | ||
92 | original: "original" | 93 | original: "original" |
93 | Toggle mark as read: 'Marquer comme lu/non lu' | 94 | Toggle mark as read: 'Marquer comme lu/non lu' |
94 | Toggle favorite: 'Marquer comme favori' | 95 | Toggle favorite: 'Marquer comme favori' |
diff --git a/src/Wallabag/CoreBundle/Resources/translations/validators.pl.yml b/src/Wallabag/CoreBundle/Resources/translations/validators.pl.yml new file mode 100644 index 00000000..f3cde461 --- /dev/null +++ b/src/Wallabag/CoreBundle/Resources/translations/validators.pl.yml | |||
@@ -0,0 +1,3 @@ | |||
1 | # Config screen | ||
2 | The password fields must match: 'Hasło w polach musi być takie same ' | ||
3 | Password should by at least 8 chars long: 'Hasło powinno mieć minimum 8 znaków długości' | ||
diff --git a/src/Wallabag/CoreBundle/Resources/translations/validators.ro.yml b/src/Wallabag/CoreBundle/Resources/translations/validators.ro.yml new file mode 100644 index 00000000..d6d4dfcc --- /dev/null +++ b/src/Wallabag/CoreBundle/Resources/translations/validators.ro.yml | |||
@@ -0,0 +1,3 @@ | |||
1 | # Config screen | ||
2 | The password fields must match: 'Câmpurile destinate parolelor trebuie să se potrivească' | ||
3 | Password should by at least 8 chars long: 'Parola ar trebui să conțină cel puțin 8 caractere' | ||
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entries.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entries.html.twig index abbcb389..7271bdaa 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entries.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entries.html.twig | |||
@@ -27,9 +27,17 @@ | |||
27 | <div id="entry-{{ entry.id|e }}" class="entry"> | 27 | <div id="entry-{{ entry.id|e }}" class="entry"> |
28 | <h2><a href="{{ path('view', { 'id': entry.id }) }}">{{ entry.title|raw }}</a></h2> | 28 | <h2><a href="{{ path('view', { 'id': entry.id }) }}">{{ entry.title|raw }}</a></h2> |
29 | {% if entry.readingTime > 0 %} | 29 | {% if entry.readingTime > 0 %} |
30 | <div class="estimatedTime"><span class="tool reading-time">{% trans %}estimated reading time :{% endtrans %} {{ entry.readingTime }} min</span></div> | 30 | <div class="estimatedTime"> |
31 | <span class="tool reading-time"> | ||
32 | {% trans with {'%readingTime%': entry.readingTime } %}estimated reading time: %readingTime% min{% endtrans %} | ||
33 | </span> | ||
34 | </div> | ||
31 | {% else %} | 35 | {% else %} |
32 | <div class="estimatedTime"><span class="tool reading-time">{% trans %}estimated reading time :{% endtrans %} <small class="inferieur"><</small> 1 min</span></div> | 36 | <div class="estimatedTime"> |
37 | <span class="tool reading-time"> | ||
38 | {% trans with {'%inferior%': '<small class="inferieur"><</small>'} %}estimated reading time: %inferior% 1 min{% endtrans %} | ||
39 | </span> | ||
40 | </div> | ||
33 | {% endif %} | 41 | {% endif %} |
34 | 42 | ||
35 | <ul class="tools links"> | 43 | <ul class="tools links"> |
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig index ac17ccee..c3fd4d28 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig | |||
@@ -50,8 +50,11 @@ | |||
50 | 50 | ||
51 | <div class="estimatedTime grey-text"> | 51 | <div class="estimatedTime grey-text"> |
52 | <span class="tool reading-time"> | 52 | <span class="tool reading-time"> |
53 | {% trans %}estimated reading time{% endtrans %}: | 53 | {% if entry.readingTime > 0 %} |
54 | {% if entry.readingTime > 0 %}{{ entry.readingTime }}{% else %}<small class="inferieur"><</small> 1{% endif %} min | 54 | {% trans with {'%readingTime%': entry.readingTime } %}estimated reading time: %readingTime% min{% endtrans %} |
55 | {% else %} | ||
56 | {% trans with {'%inferior%': '<small class="inferieur"><</small>'} %}estimated reading time: %inferior% 1 min{% endtrans %} | ||
57 | {% endif %} | ||
55 | </span> | 58 | </span> |
56 | </div> | 59 | </div> |
57 | 60 | ||