mirror of
https://github.com/YunoHost-Apps/kiwix_ynh.git
synced 2024-09-03 19:35:56 +02:00
Merge pull request #21 from YunoHost-Apps/testing
Testing: fix config panel for bookworm?
This commit is contained in:
commit
f610edd103
9 changed files with 191 additions and 6 deletions
|
@ -1,6 +1,8 @@
|
|||
# All available README files by language
|
||||
|
||||
- [Read the README in English](README.md)
|
||||
- [Lee el README en español](README_es.md)
|
||||
- [Irakurri README euskaraz](README_eu.md)
|
||||
- [Lire le README en français](README_fr.md)
|
||||
- [Le o README en galego](README_gl.md)
|
||||
- [Leggi il “README” in italiano](README_it.md)
|
||||
- [阅读中文(简体)的 README](README_zh_Hans.md)
|
||||
|
|
|
@ -9,7 +9,7 @@ It shall NOT be edited by hand.
|
|||
|
||||
[![Install Kiwix with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=kiwix)
|
||||
|
||||
*[Read this README is other languages.](./ALL_README.md)*
|
||||
*[Read this README in other languages.](./ALL_README.md)*
|
||||
|
||||
> *This package allows you to install Kiwix quickly and simply on a YunoHost server.*
|
||||
> *If you don't have YunoHost, please consult [the guide](https://yunohost.org/install) to learn how to install it.*
|
||||
|
@ -28,7 +28,7 @@ Kiwix is an offline reader for online content like Wikipedia, Project Gutenberg,
|
|||
- Able to deal with one ZIM file or XML library files
|
||||
|
||||
|
||||
**Shipped version:** 3.6.0~ynh1
|
||||
**Shipped version:** 3.6.0~ynh2
|
||||
|
||||
**Demo:** <http://library.kiwix.org/>
|
||||
|
||||
|
|
59
README_es.md
Normal file
59
README_es.md
Normal file
|
@ -0,0 +1,59 @@
|
|||
<!--
|
||||
Este archivo README esta generado automaticamente<https://github.com/YunoHost/apps/tree/master/tools/readme_generator>
|
||||
No se debe editar a mano.
|
||||
-->
|
||||
|
||||
# Kiwix para Yunohost
|
||||
|
||||
[![Nivel de integración](https://dash.yunohost.org/integration/kiwix.svg)](https://dash.yunohost.org/appci/app/kiwix) ![Estado funcional](https://ci-apps.yunohost.org/ci/badges/kiwix.status.svg) ![Estado En Mantención](https://ci-apps.yunohost.org/ci/badges/kiwix.maintain.svg)
|
||||
|
||||
[![Instalar Kiwix con Yunhost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=kiwix)
|
||||
|
||||
*[Leer este README en otros idiomas.](./ALL_README.md)*
|
||||
|
||||
> *Este paquete le permite instalarKiwix rapidamente y simplement en un servidor YunoHost.*
|
||||
> *Si no tiene YunoHost, visita [the guide](https://yunohost.org/install) para aprender como instalarla.*
|
||||
|
||||
## Descripción general
|
||||
|
||||
Kiwix is an offline reader for online content like Wikipedia, Project Gutenberg, or TED Talks. It makes knowledge available to people with no or limited internet access. The software as well as the content is free to use for anyone.
|
||||
|
||||
### Features
|
||||
|
||||
- Full text search engine
|
||||
- Search suggestions
|
||||
- Compatible with almost all browsers
|
||||
- Available as command line executable
|
||||
- Embedded in Kiwix UI
|
||||
- Able to deal with one ZIM file or XML library files
|
||||
|
||||
|
||||
**Versión actual:** 3.6.0~ynh2
|
||||
|
||||
**Demo:** <http://library.kiwix.org/>
|
||||
|
||||
## Capturas
|
||||
|
||||
![Captura de Kiwix](./doc/screenshots/screenshot.png)
|
||||
|
||||
## Documentaciones y recursos
|
||||
|
||||
- Sitio web oficial: <https://www.kiwix.org/>
|
||||
- Documentación administrador oficial: <https://wiki.kiwix.org/wiki/Kiwix-serve/>
|
||||
- Repositorio del código fuente oficial de la aplicación : <https://github.com/kiwix/kiwix-tools>
|
||||
- Catálogo YunoHost: <https://apps.yunohost.org/app/kiwix>
|
||||
- Reportar un error: <https://github.com/YunoHost-Apps/kiwix_ynh/issues>
|
||||
|
||||
## Información para desarrolladores
|
||||
|
||||
Por favor enviar sus correcciones a la [`branch testing`](https://github.com/YunoHost-Apps/kiwix_ynh/tree/testing
|
||||
|
||||
Para probar la rama `testing`, sigue asÍ:
|
||||
|
||||
```bash
|
||||
sudo yunohost app install https://github.com/YunoHost-Apps/kiwix_ynh/tree/testing --debug
|
||||
o
|
||||
sudo yunohost app upgrade kiwix -u https://github.com/YunoHost-Apps/kiwix_ynh/tree/testing --debug
|
||||
```
|
||||
|
||||
**Mas informaciones sobre el empaquetado de aplicaciones:** <https://yunohost.org/packaging_apps>
|
59
README_eu.md
Normal file
59
README_eu.md
Normal file
|
@ -0,0 +1,59 @@
|
|||
<!--
|
||||
Ohart ongi: README hau automatikoki sortu da <https://github.com/YunoHost/apps/tree/master/tools/readme_generator>ri esker
|
||||
EZ editatu eskuz.
|
||||
-->
|
||||
|
||||
# Kiwix YunoHost-erako
|
||||
|
||||
[![Integrazio maila](https://dash.yunohost.org/integration/kiwix.svg)](https://dash.yunohost.org/appci/app/kiwix) ![Funtzionamendu egoera](https://ci-apps.yunohost.org/ci/badges/kiwix.status.svg) ![Mantentze egoera](https://ci-apps.yunohost.org/ci/badges/kiwix.maintain.svg)
|
||||
|
||||
[![Instalatu Kiwix YunoHost-ekin](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=kiwix)
|
||||
|
||||
*[Irakurri README hau beste hizkuntzatan.](./ALL_README.md)*
|
||||
|
||||
> *Pakete honek Kiwix YunoHost zerbitzari batean azkar eta zailtasunik gabe instalatzea ahalbidetzen dizu.*
|
||||
> *YunoHost ez baduzu, kontsultatu [gida](https://yunohost.org/install) nola instalatu ikasteko.*
|
||||
|
||||
## Aurreikuspena
|
||||
|
||||
Kiwix is an offline reader for online content like Wikipedia, Project Gutenberg, or TED Talks. It makes knowledge available to people with no or limited internet access. The software as well as the content is free to use for anyone.
|
||||
|
||||
### Features
|
||||
|
||||
- Full text search engine
|
||||
- Search suggestions
|
||||
- Compatible with almost all browsers
|
||||
- Available as command line executable
|
||||
- Embedded in Kiwix UI
|
||||
- Able to deal with one ZIM file or XML library files
|
||||
|
||||
|
||||
**Paketatutako bertsioa:** 3.6.0~ynh2
|
||||
|
||||
**Demoa:** <http://library.kiwix.org/>
|
||||
|
||||
## Pantaila-argazkiak
|
||||
|
||||
![Kiwix(r)en pantaila-argazkia](./doc/screenshots/screenshot.png)
|
||||
|
||||
## Dokumentazioa eta baliabideak
|
||||
|
||||
- Aplikazioaren webgune ofiziala: <https://www.kiwix.org/>
|
||||
- Administratzaileen dokumentazio ofiziala: <https://wiki.kiwix.org/wiki/Kiwix-serve/>
|
||||
- Jatorrizko aplikazioaren kode-gordailua: <https://github.com/kiwix/kiwix-tools>
|
||||
- YunoHost Denda: <https://apps.yunohost.org/app/kiwix>
|
||||
- Eman errore baten berri: <https://github.com/YunoHost-Apps/kiwix_ynh/issues>
|
||||
|
||||
## Garatzaileentzako informazioa
|
||||
|
||||
Bidali `pull request`a [`testing` abarrera](https://github.com/YunoHost-Apps/kiwix_ynh/tree/testing).
|
||||
|
||||
`testing` abarra probatzeko, ondorengoa egin:
|
||||
|
||||
```bash
|
||||
sudo yunohost app install https://github.com/YunoHost-Apps/kiwix_ynh/tree/testing --debug
|
||||
edo
|
||||
sudo yunohost app upgrade kiwix -u https://github.com/YunoHost-Apps/kiwix_ynh/tree/testing --debug
|
||||
```
|
||||
|
||||
**Informazio gehiago aplikazioaren paketatzeari buruz:** <https://yunohost.org/packaging_apps>
|
|
@ -26,7 +26,7 @@ Kiwix est un lecteur hors-ligne pour contenus web qui permet en particulier d’
|
|||
- Embedded in Kiwix UI
|
||||
- Capable de traiter un fichier ZIM ou des fichiers de bibliothèque XML
|
||||
|
||||
**Version incluse :** 3.6.0~ynh1
|
||||
**Version incluse :** 3.6.0~ynh2
|
||||
|
||||
**Démo :** <http://library.kiwix.org/>
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@ Kiwix is an offline reader for online content like Wikipedia, Project Gutenberg,
|
|||
- Able to deal with one ZIM file or XML library files
|
||||
|
||||
|
||||
**Versión proporcionada:** 3.6.0~ynh1
|
||||
**Versión proporcionada:** 3.6.0~ynh2
|
||||
|
||||
**Demo:** <http://library.kiwix.org/>
|
||||
|
||||
|
|
59
README_zh_Hans.md
Normal file
59
README_zh_Hans.md
Normal file
|
@ -0,0 +1,59 @@
|
|||
<!--
|
||||
注意:此 README 由 <https://github.com/YunoHost/apps/tree/master/tools/readme_generator> 自动生成
|
||||
请勿手动编辑。
|
||||
-->
|
||||
|
||||
# YunoHost 上的 Kiwix
|
||||
|
||||
[![集成程度](https://dash.yunohost.org/integration/kiwix.svg)](https://dash.yunohost.org/appci/app/kiwix) ![工作状态](https://ci-apps.yunohost.org/ci/badges/kiwix.status.svg) ![维护状态](https://ci-apps.yunohost.org/ci/badges/kiwix.maintain.svg)
|
||||
|
||||
[![使用 YunoHost 安装 Kiwix](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=kiwix)
|
||||
|
||||
*[阅读此 README 的其它语言版本。](./ALL_README.md)*
|
||||
|
||||
> *通过此软件包,您可以在 YunoHost 服务器上快速、简单地安装 Kiwix。*
|
||||
> *如果您还没有 YunoHost,请参阅[指南](https://yunohost.org/install)了解如何安装它。*
|
||||
|
||||
## 概况
|
||||
|
||||
Kiwix is an offline reader for online content like Wikipedia, Project Gutenberg, or TED Talks. It makes knowledge available to people with no or limited internet access. The software as well as the content is free to use for anyone.
|
||||
|
||||
### Features
|
||||
|
||||
- Full text search engine
|
||||
- Search suggestions
|
||||
- Compatible with almost all browsers
|
||||
- Available as command line executable
|
||||
- Embedded in Kiwix UI
|
||||
- Able to deal with one ZIM file or XML library files
|
||||
|
||||
|
||||
**分发版本:** 3.6.0~ynh2
|
||||
|
||||
**演示:** <http://library.kiwix.org/>
|
||||
|
||||
## 截图
|
||||
|
||||
![Kiwix 的截图](./doc/screenshots/screenshot.png)
|
||||
|
||||
## 文档与资源
|
||||
|
||||
- 官方应用网站: <https://www.kiwix.org/>
|
||||
- 官方管理文档: <https://wiki.kiwix.org/wiki/Kiwix-serve/>
|
||||
- 上游应用代码库: <https://github.com/kiwix/kiwix-tools>
|
||||
- YunoHost 商店: <https://apps.yunohost.org/app/kiwix>
|
||||
- 报告 bug: <https://github.com/YunoHost-Apps/kiwix_ynh/issues>
|
||||
|
||||
## 开发者信息
|
||||
|
||||
请向 [`testing` 分支](https://github.com/YunoHost-Apps/kiwix_ynh/tree/testing) 发送拉取请求。
|
||||
|
||||
如要尝试 `testing` 分支,请这样操作:
|
||||
|
||||
```bash
|
||||
sudo yunohost app install https://github.com/YunoHost-Apps/kiwix_ynh/tree/testing --debug
|
||||
或
|
||||
sudo yunohost app upgrade kiwix -u https://github.com/YunoHost-Apps/kiwix_ynh/tree/testing --debug
|
||||
```
|
||||
|
||||
**有关应用打包的更多信息:** <https://yunohost.org/packaging_apps>
|
|
@ -5,7 +5,7 @@ name = "Kiwix"
|
|||
description.en = "Sharing Web content with people without Internet access"
|
||||
description.fr = "Partager du contenu Web avec des personnes sans accès à Internet"
|
||||
|
||||
version = "3.6.0~ynh1"
|
||||
version = "3.6.0~ynh2"
|
||||
|
||||
maintainers = []
|
||||
|
||||
|
|
|
@ -2,6 +2,12 @@
|
|||
source /usr/share/yunohost/helpers
|
||||
ynh_abort_if_errors
|
||||
|
||||
function get__upload_url() {
|
||||
# Gotta have this to prevent the infamous "Config panel question should be initialized with a value during install or upgrade."
|
||||
# (at least on bookworm which is has tighter consistency etc)
|
||||
echo ""
|
||||
}
|
||||
|
||||
function run__upload_button() {
|
||||
local data_dir=$(ynh_app_setting_get --app=$app --key=data_dir)
|
||||
local filename="$(echo "$upload_url" | awk -F/ '{print $NF}')"
|
||||
|
|
Loading…
Reference in a new issue