From 4c07a83b6911852b69ebb0b55b6608b6563b8712 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Thu, 11 Feb 2016 01:42:37 +0100 Subject: lots of diverse translation stuff & some typos --- .../views/themes/material/Config/index.html.twig | 16 ++++------------ .../views/themes/material/Entry/entries.html.twig | 2 +- .../views/themes/material/Entry/new_form.html.twig | 2 +- .../Resources/views/themes/material/layout.html.twig | 2 +- 4 files changed, 7 insertions(+), 15 deletions(-) (limited to 'src/Wallabag/CoreBundle/Resources/views') diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Config/index.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Config/index.html.twig index 1cae90a4..e388f2c8 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Config/index.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Config/index.html.twig @@ -238,21 +238,14 @@
{% trans %}What does « tagging rules » mean?{% endtrans %}

{% trans %} - They are rules used by Wallabag to automatically tag new entries.
- Each time a new entry is added, all the tagging rules will be used to add - the tags you configured, thus saving you the trouble to manually classify - your entries. + They are rules used by Wallabag to automatically tag new entries.
Each time a new entry is added, all the tagging rules will be used to add the tags you configured, thus saving you the trouble to manually classify your entries. {% endtrans %}

{% trans %}How do I use them?{% endtrans %}

{% trans %} - Let assume you want to tag new entries as « short reading » when the reading time is inferior to 3 minutes.
- In that case, you should put « readingTime <= 3 » in the Rule field and « short reading » in the Tags - field.
- Several tags can added simultaneously by separating them by a comma: « short reading, must read »
- Complex rules can be written by using predefined operators: if « readingTime >= 5 AND domainName = "github.com" » then tag as « long reading, github » + Let assume you want to tag new entries as « short reading » when the reading time is inferior to 3 minutes.
In that case, you should put « readingTime <= 3 » in the Rule field and « short reading » in the Tags field.
Several tags can added simultaneously by separating them by a comma: « short reading, must read »
Complex rules can be written by using predefined operators: if « readingTime >= 5 AND domainName = "github.com" » then tag as « long reading, github » {% endtrans %}

@@ -290,7 +283,7 @@ {% trans %}Greater than…{% endtrans %} - isStared + isStarred {% trans %}Whether the entry is starred or not{% endtrans %} > {% trans %}Strictly greater than…{% endtrans %} @@ -325,8 +318,7 @@ matches {% trans %} - Tests that a subject is matches a search (case-insensitive).
- Example: title matches "football" + Tests that a subject is matches a search (case-insensitive).
Example: title matches "football" {% endtrans %} 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 3b7698f3..ac17ccee 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 @@ -162,7 +162,7 @@
- {{ form_widget(form.domainName, {'type': 'text', 'attr' : {'placeholder': 'website.com'} }) }} + {{ form_widget(form.domainName, {'type': 'text', 'attr' : {'placeholder': 'website.com' | trans} }) }}
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/new_form.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/new_form.html.twig index 47e3bc78..2de53106 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/new_form.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/new_form.html.twig @@ -8,7 +8,7 @@ {{ form_errors(form.url) }} {% endif %} - {{ form_widget(form.url, { 'attr': {'autocomplete': 'off', 'placeholder': 'http://website'} }) }} + {{ form_widget(form.url, { 'attr': {'autocomplete': 'off', 'placeholder': 'http://website' | trans} }) }} diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig index dff9e612..d7bfa7ae 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig @@ -115,7 +115,7 @@ -- cgit v1.2.3