diff --git a/.gitignore b/.gitignore index 75c107b..c05ac65 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ *.pro.user + +output/ \ No newline at end of file diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 2c7bfd7..f96367b 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -1,3 +1,4 @@ The following people have helped making WallaRead yet more awesome. Thanks to them! * Quentin P.: French translation +* kirbylife: New maintainer diff --git a/README.md b/README.md new file mode 100644 index 0000000..769333c --- /dev/null +++ b/README.md @@ -0,0 +1,48 @@ +# Wallaread - SailfishOS client for Wallabag 2+ + +This project is a fork of the original [goestreicher repository](https://github.com/goestreicher/harbour-wallaread). In this repository is the continuation of that project . + +Wallaread is a client to SailfishOS for [Wallabag](https://www.wallabag.it/en), a self-hosted service that allows you to save a copy of your favorite articles to read later. + +## Installation + +The pre-compiled package is available through [OpenRepos](https://openrepos.net/content/kirbylife/wallabag). +You can install it by directly downloading the .rpm file for your architecture or through Storeman. + + +## Compilation + +The recomended option to compile this project is using Docker using the following command: + +aarch64 +```Bash +docker run --rm --privileged -v $PWD:/share coderus/sailfishos-platform-sdk:4.5.0.16 /bin/bash -c " mkdir -p build ; cd build ; cp -r /share/* . ; mb2 -t SailfishOS-4.5.0.16-aarch64 build ; sudo cp -r RPMS/*.rpm /share/output" +``` + +armv7 +```Bash +docker run --rm --privileged -v $PWD:/share coderus/sailfishos-platform-sdk:4.5.0.16 /bin/bash -c " mkdir -p build ; cd build ; cp -r /share/* . ; mb2 -t SailfishOS-4.5.0.16-armv7hl build ; sudo cp -r RPMS/*.rpm /share/output" +``` + +i486 +```Bash +docker run --rm --privileged -v $PWD:/share coderus/sailfishos-platform-sdk:4.5.0.16 /bin/bash -c " mkdir -p build ; cd build ; cp -r /share/* . ; mb2 -t SailfishOS-4.5.0.16-i486 build ; sudo cp -r RPMS/*.rpm /share/output" +``` + +The .rpm package should be in the output/ directory. + +## Features + +- Login to multiple wallabag servers. +- Synchronize aggregated items. +- Read articles through a WebView. +- Save articles locally so they can be read offline. + +## Translations + +You can help contribute to the translations of this project by creating files within the translations/ directory for the new language or by correcting existing translations. + + +## Credits and license + +This project was originally created by [goestreicher](https://github.com/goestreicher) and he licensed it under GPL v3, so this license is preserved. diff --git a/qml/pages/ArticlePage.qml b/qml/pages/ArticlePage.qml index cb6d2d8..413e9d2 100644 --- a/qml/pages/ArticlePage.qml +++ b/qml/pages/ArticlePage.qml @@ -21,6 +21,9 @@ import QtQuick 2.0 import Sailfish.Silica 1.0 +import Sailfish.WebView 1.0 +import Sailfish.WebEngine 1.0 +import Sailfish.WebView.Popups 1.0 Page { id: articlePage @@ -29,7 +32,7 @@ Page { property string title property string content - SilicaWebView { + WebView { id: webview anchors.fill: parent @@ -42,9 +45,13 @@ Page { var html = "" + "" + + "" + "" + "" + "" + diff --git a/translations/harbour-wallaread-es.ts b/translations/harbour-wallaread-es.ts new file mode 100644 index 0000000..8ed7360 --- /dev/null +++ b/translations/harbour-wallaread-es.ts @@ -0,0 +1,251 @@ + + + + + CoverPage + + WallaRead + + + + + ImageEmbedRequest + + Failed to find the image source + Error al extraer la imagen de la fuente original + + + + Server + + Failed to load server information: + Error al cargar la información del servidor: + + + Failed to connect to server: + Error al conectar con el servidor: + + + Failed to download articles: + Error al descargar los artículos: + + + Failed to set star status on article: + Error al marcar como favorito el artículo: + + + Failed to set read status on article: + Error al marcar como leído el artículo: + + + Failed to delete article: + Error al eliminar el artículo: + + + Failed to upload article: + Error al subir artículo: + + + + ServerPage + + Article URL + URL del artículo + + + Refresh + Recargar + + + No articles saved on this server yet + El servidor aún no tiene artículos guardados + + + Deleting + Eliminando + + + Add article + Agregar artículo + + + Show: + Mostrar: + + + Sort: + Ordenar: + + + + ServerPageShowDialog + + Filter view + Aplicar + + + Read articles + Artículos leídos + + + Starred articles + Artículos favoritos + + + + ServerPageShowPreferences + + read + Leído + + + unread + Por leer + + + starred + Favorito + + + all + Todos + + + + ServerPageSortDialog + + Sort view + Aplicar + + + Sort order + Criterio + + + Sort Ascending + Ordenar de manera ascendente + + + + ServerPageSortPreferences + + Created + Creado + + + Updated + Actualizado + + + Domain + Dominio + + + + ServerSettings + + Failed to load server settings: + Error al cargar la configuración del servidor: + + + + ServerSettingsDialog + + Save + Guardar + + + Server Alias + Alias del servidor + + + URL + URL + + + Server URL + URL del servidor + + + Login + Iniciar sesión + + + User Login + Nombre de usuario + + + Client ID + + + + Client Secret + + + + Fetch unread/archived articles + Descargar artículos por leer/archivados + + + + ServersPage + + Reset database + Reiniciar base de datos + + + Settings + Configuración + + + Wallabag servers + Servidores de Wallabag + + + No servers configured yet, create your first one with the Settings menu + Aún no hay ningún servidor configurado, agrega alguno en el menú de configuración + + + Resetting database + Reiniciando base de datos + + + Deleting + Eliminando + + + + SettingsPage + + New Server + Nuevo servidor + + + Settings + Configuración + + + No server found, use the pulley menu and select 'New Server' + No hay ningún servidor, usa el menú superior y selecciona 'Nuevo servidor' + + + + WallaBase + + Server not found in the configuration + No se encontró ningún servidor en la configuración + + + Failed to parse server response: + Error la procesar la respuesta del servidor: + + + Server reply was + La respuesta del servidor fue + + + Article not found in the cache + Artículo no encontrado en el caché + + +