X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=themes%2Fbaggy%2Fconfig.twig;h=d441de7c7828f1685b25d98d705057c423755a31;hb=29d9c0ffe1819f0cdf8d8201727777cfd1b1d0f4;hp=95db92fe6825b7afc90a99abb6213210ef1ad68d;hpb=ded2c63312c32c85f386d6cd8cd7085d8a9407e9;p=github%2Fwallabag%2Fwallabag.git diff --git a/themes/baggy/config.twig b/themes/baggy/config.twig old mode 100644 new mode 100755 index 95db92fe..d441de7c --- a/themes/baggy/config.twig +++ b/themes/baggy/config.twig @@ -12,7 +12,7 @@
  • Chrome: {% trans "download the extension" %}
  • Android: {% trans "via F-Droid" %} {% trans " or " %} {% trans "via Google Play" %}
  • iOS: {% trans "download the application" %}
  • -
  • Windows Phone: {% trans "download the application" %}
  • +
  • Windows Phone: {% trans "download the application" %}
  • @@ -44,7 +44,7 @@

    {% trans "Your user id:" %} {{user_id}}

    {% trans "You can regenerate your token: generate!." %}

    {% endif %} - +

    {% trans "Change your theme" %}

    @@ -105,36 +105,21 @@ {% endif %}

    {% trans "Import" %}

    -

    1. {% trans "Select a 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 "You can fetch content for imported items." %} Click here to fetch content for 10 articles.

    -

    {% trans "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' %}

    {% trans "Click here" %} {% trans "to download your database." %}

    {% endif %}