1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/libretranslate_ynh.git synced 2024-09-03 19:36:00 +02:00

Merge pull request #27 from YunoHost-Apps/testing

upgrade to 1.5.6
This commit is contained in:
Thomas 2024-03-07 21:32:06 +01:00 committed by GitHub
commit 6e6cf4bbb1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 18 additions and 20 deletions

View file

@ -1,5 +1,5 @@
<!-- <!--
N.B.: This README was automatically generated by https://github.com/YunoHost/apps/tree/master/tools/README-generator N.B.: This README was automatically generated by https://github.com/YunoHost/apps/tree/master/tools/readme_generator
It shall NOT be edited by hand. It shall NOT be edited by hand.
--> -->
@ -19,7 +19,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
Free and Open Source Machine Translation API, entirely self-hosted. Unlike other APIs, it doesn't rely on proprietary providers such as Google or Azure to perform translations. Instead, its translation engine is powered by the open source Argos Translate library. Free and Open Source Machine Translation API, entirely self-hosted. Unlike other APIs, it doesn't rely on proprietary providers such as Google or Azure to perform translations. Instead, its translation engine is powered by the open source Argos Translate library.
**Shipped version:** 1.5.5~ynh1 **Shipped version:** 1.5.6~ynh1
**Demo:** https://libretranslate.com/ **Demo:** https://libretranslate.com/
@ -29,11 +29,11 @@ Free and Open Source Machine Translation API, entirely self-hosted. Unlike other
## Documentation and resources ## Documentation and resources
* Official app website: <https://libretranslate.com/> - Official app website: <https://libretranslate.com/>
* Official admin documentation: <https://libretranslate.com/docs/> - Official admin documentation: <https://libretranslate.com/docs/>
* Upstream app code repository: <https://github.com/LibreTranslate/LibreTranslate> - Upstream app code repository: <https://github.com/LibreTranslate/LibreTranslate>
* YunoHost Store: <https://apps.yunohost.org/app/libretranslate> - YunoHost Store: <https://apps.yunohost.org/app/libretranslate>
* Report a bug: <https://github.com/YunoHost-Apps/libretranslate_ynh/issues> - Report a bug: <https://github.com/YunoHost-Apps/libretranslate_ynh/issues>
## Developer info ## Developer info

View file

@ -1,5 +1,5 @@
<!-- <!--
N.B.: This README was automatically generated by https://github.com/YunoHost/apps/tree/master/tools/README-generator N.B.: This README was automatically generated by https://github.com/YunoHost/apps/tree/master/tools/readme_generator
It shall NOT be edited by hand. It shall NOT be edited by hand.
--> -->
@ -19,7 +19,7 @@ Si vous navez pas YunoHost, regardez [ici](https://yunohost.org/#/install) po
Free and Open Source Machine Translation API, entirely self-hosted. Unlike other APIs, it doesn't rely on proprietary providers such as Google or Azure to perform translations. Instead, its translation engine is powered by the open source Argos Translate library. Free and Open Source Machine Translation API, entirely self-hosted. Unlike other APIs, it doesn't rely on proprietary providers such as Google or Azure to perform translations. Instead, its translation engine is powered by the open source Argos Translate library.
**Version incluse :** 1.5.5~ynh1 **Version incluse :** 1.5.6~ynh1
**Démo :** https://libretranslate.com/ **Démo :** https://libretranslate.com/
@ -29,11 +29,11 @@ Free and Open Source Machine Translation API, entirely self-hosted. Unlike other
## Documentations et ressources ## Documentations et ressources
* Site officiel de lapp : <https://libretranslate.com/> - Site officiel de lapp : <https://libretranslate.com/>
* Documentation officielle de ladmin : <https://libretranslate.com/docs/> - Documentation officielle de ladmin : <https://libretranslate.com/docs/>
* Dépôt de code officiel de lapp : <https://github.com/LibreTranslate/LibreTranslate> - Dépôt de code officiel de lapp : <https://github.com/LibreTranslate/LibreTranslate>
* YunoHost Store: <https://apps.yunohost.org/app/libretranslate> - YunoHost Store : <https://apps.yunohost.org/app/libretranslate>
* Signaler un bug : <https://github.com/YunoHost-Apps/libretranslate_ynh/issues> - Signaler un bug : <https://github.com/YunoHost-Apps/libretranslate_ynh/issues>
## Informations pour les développeurs ## Informations pour les développeurs

View file

@ -5,7 +5,7 @@ name = "LibreTranslate"
description.en = "Open Source Machine Translation API" description.en = "Open Source Machine Translation API"
description.fr = "API de traduction automatique Open Source" description.fr = "API de traduction automatique Open Source"
version = "1.5.5~ynh1" version = "1.5.6~ynh1"
maintainers = ["Thovi98"] maintainers = ["Thovi98"]

View file

@ -4,8 +4,6 @@
# COMMON VARIABLES # COMMON VARIABLES
#================================================= #=================================================
libretranslate_version="1.5.5"
#================================================= #=================================================
# PERSONAL HELPERS # PERSONAL HELPERS
#================================================= #=================================================

View file

@ -26,7 +26,7 @@ ynh_script_progression --message="Installing LibreTranslate..." --weight=2
pushd $install_dir pushd $install_dir
python3 -m venv $install_dir/venv python3 -m venv $install_dir/venv
source $install_dir/venv/bin/activate source $install_dir/venv/bin/activate
ynh_exec_warn_less pip install libretranslate==$libretranslate_version toml ynh_exec_warn_less pip install libretranslate=="$(ynh_app_upstream_version)" toml
popd popd
#================================================= #=================================================

View file

@ -43,7 +43,7 @@ ynh_secure_remove $install_dir/.venv
pushd $install_dir pushd $install_dir
python3 -m venv $install_dir/venv python3 -m venv $install_dir/venv
source $install_dir/venv/bin/activate source $install_dir/venv/bin/activate
ynh_exec_warn_less pip install libretranslate==$libretranslate_version toml ynh_exec_warn_less pip install libretranslate=="$(ynh_app_upstream_version)" toml
popd popd
#================================================= #=================================================