X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=themes%2Fdefault%2Fconfig.twig;h=160f6046a46426f5590603bfd2ddb0d5de1f42d3;hb=2f3c05651e6013a28188d0e7fbf075011ed63e9e;hp=5d20e0eac6fa6aa5b66a2a97451c2c788f846622;hpb=8754bd88a5c999fc009f02774a993efbf2a99e54;p=github%2Fwallabag%2Fwallabag.git diff --git a/themes/default/config.twig b/themes/default/config.twig old mode 100644 new mode 100755 index 5d20e0ea..160f6046 --- a/themes/default/config.twig +++ b/themes/default/config.twig @@ -104,36 +104,20 @@ {% endif %}

{% trans "Import" %}

-

{% trans "Importing from other services can be quite long, and webservers default configuration often prevents long scripts execution time, so it must be done in multiple parts." %}

-

1. {% trans "First, select the export file on your computer and upload it." %}

-
+

{% trans "You can import your Pocket, Readability, Instapaper, Wallabag or any data in appropriate json or html format." %}

+

{% trans "Please select export file on your computer and press \"Import\" button below.
Wallabag will parse your file, insert all URLs and start fetching of articles if required.
Fetching process is controlled by two constants in your config file: IMPORT_LIMIT (how many articles are fetched at once) and IMPORT_DELAY (delay between fetch of next batch of articles)." %}

+
- +
- -
-

2. {% trans "Then, click on the right link below." %}

- - - {% if token == '' %} -

{% trans "3. Your feed token is currently empty and must first be generated to fetch content. Click here to generate it." %}

- {% else %} -

3. {% trans "Finally, you have to fetch content for imported items." %} {% trans "Click here" %} {% trans "to fetch content for 10 articles" %}.

-

{% trans "If you have console access to your server, you can also create a cron task:" %}

-
0 */4 * * *  cd /path/to/wallabag && php cron.php --limit=10 --user-id={{user_id}} --token={{token}} >/dev/null 2>&1
- {% endif %} +

{% trans "You can click here to fetch content for articles with no content." %}

{% trans "Export your wallabag data" %}

{% if constant('STORAGE') == 'sqlite' %} @@ -142,4 +126,41 @@

{% trans "Cache" %}

{% trans "Click here" %} {% trans "to delete cache." %}

+ +

{% trans "Fancy an E-Book ?" %}

+

{% trans "Click on this link to get all your articles in one ebook (ePub 3 format)." %} +
{% trans "This can take a while and can even fail if you have too many articles, depending on your server configuration." %}

+ +

{% trans 'Add user' %}

+

{% trans 'Add a new user :' %}

+
+
+
+ + +
+
+ + +
+
+ +
+
+
+ +

{% trans "Delete account" %}

+ {% if not only_user %}
+

{% trans "You can delete your account by entering your password and validating." %}
{% trans "Be careful, data will be erased forever (that is a very long time)." %}

+
+
+ + +
+
+ +
+ + {% else %}

{% trans "You are the only user, you cannot delete your own account." %}
+ {% trans "To completely remove wallabag, delete the wallabag folder on your web server." %}

{% endif %} {% endblock %}