X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fmaterial%2FConfig%2Findex.html.twig;h=698219b9ea54c0d13a910b33ff46d394177e2038;hb=0d42217e4e8210dd2cf86f35ba9662ca02c8a2dc;hp=2b0b08289e935e233648b5554ec0de5d536d420a;hpb=d2b4f01d7435e8a8f99b15a2487916427c04e58d;p=github%2Fwallabag%2Fwallabag.git 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 2b0b0828..698219b9 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 @@ -1,6 +1,6 @@ {% extends "WallabagCoreBundle::layout.html.twig" %} -{% block title %}{% trans %}config{% endtrans %}{% endblock %} +{% block title %}{{ 'config.page_title'|trans }}{% endblock %} {% block content %} @@ -11,13 +11,13 @@
- {% 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.
- {% endtrans %}
-
{{ 'config.form_rules.faq.tagging_rules_definition_description'|trans|raw }}
-
- {% 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 »
- {% endtrans %}
-
{{ 'config.form_rules.faq.how_to_use_them_description'|trans|raw }}
-- {% trans %}The following variables and operators can be used to create tagging rules:{% endtrans %} + {{ 'config.form_rules.faq.variables_available_description'|trans }} -
{% trans %}Variable{% endtrans %} | -{% trans %}Meaning{% endtrans %} | -{% trans %}Operator{% endtrans %} | -{% trans %}Meaning{% endtrans %} | +{{ 'config.form_rules.faq.variable_description.label'|trans }} | +{{ 'config.form_rules.faq.meaning'|trans }} | +{{ 'config.form_rules.faq.operator_description.label'|trans }} | +{{ 'config.form_rules.faq.meaning'|trans }} |
---|---|---|---|---|---|---|---|
title | -{% trans %}Title of the entry{% endtrans %} | +{{ 'config.form_rules.faq.variable_description.title'|trans }} | <= | -{% trans %}Less thanâ¦{% endtrans %} | +{{ 'config.form_rules.faq.operator_description.less_than'|trans }} | ||
url | -{% trans %}URL of the entry{% endtrans %} | +{{ 'config.form_rules.faq.variable_description.url'|trans }} | < | -{% trans %}Strictly less thanâ¦{% endtrans %} | +{{ 'config.form_rules.faq.operator_description.strictly_less_than'|trans }} | ||
isArchived | -{% trans %}Whether the entry is archived or not{% endtrans %} | +{{ 'config.form_rules.faq.variable_description.isArchived'|trans }} | => | -{% trans %}Greater thanâ¦{% endtrans %} | +{{ 'config.form_rules.faq.operator_description.greater_than'|trans }} | ||
isStarred | -{% trans %}Whether the entry is starred or not{% endtrans %} | +{{ 'config.form_rules.faq.variable_description.isStarred'|trans }} | > | -{% trans %}Strictly greater thanâ¦{% endtrans %} | +{{ 'config.form_rules.faq.operator_description.strictly_greater_than'|trans }} | ||
content | -{% trans %}The entry's content{% endtrans %} | +{{ 'config.form_rules.faq.variable_description.content'|trans }} | = | -{% trans %}Equal toâ¦{% endtrans %} | +{{ 'config.form_rules.faq.operator_description.equal_to'|trans }} | ||
language | -{% trans %}The entry's language{% endtrans %} | +{{ 'config.form_rules.faq.variable_description.language'|trans }} | != | -{% trans %}Not equal toâ¦{% endtrans %} | +{{ 'config.form_rules.faq.operator_description.not_equal_to'|trans }} | ||
mimetype | -{% trans %}The entry's mime-type{% endtrans %} | +{{ 'config.form_rules.faq.variable_description.mimetype'|trans }} | OR | -{% trans %}One rule or another{% endtrans %} | +{{ 'config.form_rules.faq.operator_description.or'|trans }} | ||
readingTime | -{% trans %}The estimated entry's reading time, in minutes{% endtrans %} | +{{ 'config.form_rules.faq.variable_description.readingTime'|trans }} | AND | -{% trans %}One rule and another{% endtrans %} | +{{ 'config.form_rules.faq.operator_description.and'|trans }} | ||
domainName | -{% trans %}The domain name of the entry{% endtrans %} | +{{ 'config.form_rules.faq.variable_description.domainName'|trans }} | matches | -
- {% trans %}
- Tests that a subject is matches a search (case-insensitive). Example: title matches "football"
- {% endtrans %}
- |
+ {{ 'config.form_rules.faq.operator_description.matches'|trans|raw }} |