Browse Source

Merge pull request #95 from YunoHost-Apps/testing

Testing
Alexandre Aubin 1 year ago
parent
commit
5fe1149695
4 changed files with 34 additions and 30 deletions
  1. 10 10
      README.md
  2. 19 15
      README_fr.md
  3. 4 4
      manifest.json
  4. 1 1
      scripts/config

+ 10 - 10
README.md

@@ -5,7 +5,8 @@ It shall NOT be edited by hand.
 
 # Wifi Hotspot for YunoHost
 
-[![Integration level](https://dash.yunohost.org/integration/hotspot.svg)](https://dash.yunohost.org/appci/app/hotspot) ![](https://ci-apps.yunohost.org/ci/badges/hotspot.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/hotspot.maintain.svg)  
+[![Integration level](https://dash.yunohost.org/integration/hotspot.svg)](https://dash.yunohost.org/appci/app/hotspot) ![Working status](https://ci-apps.yunohost.org/ci/badges/hotspot.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/hotspot.maintain.svg)
+
 [![Install Wifi Hotspot with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=hotspot)
 
 *[Lire ce readme en français.](./README_fr.md)*
@@ -19,29 +20,28 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
 * Combine with the [VPN Client app](https://github.com/labriqueinternet/vpnclient_ynh) to obtain a VPN-protected WiFi
 
 
-**Shipped version:** 2.0~ynh3
-
-
+**Shipped version:** 2.0~ynh4
 
 ## Screenshots
 
-![](./doc/screenshots/hotspot.png)
+![Screenshot of Wifi Hotspot](./doc/screenshots/hotspot.png)
 
 ## Documentation and resources
 
-* Official app website: https://internetcu.be/
-* YunoHost documentation for this app: https://yunohost.org/app_hotspot
-* Report a bug: https://github.com/YunoHost-Apps/hotspot_ynh/issues
+* Official app website: <https://internetcu.be/>
+* YunoHost documentation for this app: <https://yunohost.org/app_hotspot>
+* Report a bug: <https://github.com/YunoHost-Apps/hotspot_ynh/issues>
 
 ## Developer info
 
 Please send your pull request to the [testing branch](https://github.com/YunoHost-Apps/hotspot_ynh/tree/testing).
 
 To try the testing branch, please proceed like that.
-```
+
+``` bash
 sudo yunohost app install https://github.com/YunoHost-Apps/hotspot_ynh/tree/testing --debug
 or
 sudo yunohost app upgrade hotspot -u https://github.com/YunoHost-Apps/hotspot_ynh/tree/testing --debug
 ```
 
-**More info regarding app packaging:** https://yunohost.org/packaging_apps
+**More info regarding app packaging:** <https://yunohost.org/packaging_apps>

+ 19 - 15
README_fr.md

@@ -1,43 +1,47 @@
+<!--
+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.
+-->
+
 # Wifi Hotspot pour YunoHost
 
-[![Niveau d'intégration](https://dash.yunohost.org/integration/hotspot.svg)](https://dash.yunohost.org/appci/app/hotspot) ![](https://ci-apps.yunohost.org/ci/badges/hotspot.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/hotspot.maintain.svg)  
+[![Niveau d’intégration](https://dash.yunohost.org/integration/hotspot.svg)](https://dash.yunohost.org/appci/app/hotspot) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/hotspot.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/hotspot.maintain.svg)
+
 [![Installer Wifi Hotspot avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=hotspot)
 
 *[Read this readme in english.](./README.md)*
-*[Lire ce readme en français.](./README_fr.md)*
 
-> *Ce package vous permet d'installer Wifi Hotspot rapidement et simplement sur un serveur YunoHost.
-Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment l'installer et en profiter.*
+> *Ce package vous permet dinstaller Wifi Hotspot rapidement et simplement sur un serveur YunoHost.
+Si vous n’avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment l’installer et en profiter.*
 
-## Vue d'ensemble
+## Vue densemble
 
 * Diffusez un point d'accès Wi-Fi depuis votre serveur auto-hébergé
 * À combiner avec l'[app VPN Client](https://github.com/labriqueinternet/vpnclient_ynh) pour obtenir un accès internet aumatiquement protégé par votre VPN
 
 
-**Version incluse :** 2.0~ynh3
-
+**Version incluse :** 2.0~ynh4
 
+## Captures d’écran
 
-## Captures d'écran
-
-![](./doc/screenshots/hotspot.png)
+![Capture d’écran de Wifi Hotspot](./doc/screenshots/hotspot.png)
 
 ## Documentations et ressources
 
-* Site officiel de l'app : https://internetcu.be/
-* Documentation YunoHost pour cette app : https://yunohost.org/app_hotspot
-* Signaler un bug : https://github.com/YunoHost-Apps/hotspot_ynh/issues
+* Site officiel de l’app : <https://internetcu.be/>
+* Documentation YunoHost pour cette app : <https://yunohost.org/app_hotspot>
+* Signaler un bug : <https://github.com/YunoHost-Apps/hotspot_ynh/issues>
 
 ## Informations pour les développeurs
 
 Merci de faire vos pull request sur la [branche testing](https://github.com/YunoHost-Apps/hotspot_ynh/tree/testing).
 
 Pour essayer la branche testing, procédez comme suit.
-```
+
+``` bash
 sudo yunohost app install https://github.com/YunoHost-Apps/hotspot_ynh/tree/testing --debug
 ou
 sudo yunohost app upgrade hotspot -u https://github.com/YunoHost-Apps/hotspot_ynh/tree/testing --debug
 ```
 
-**Plus d'infos sur le packaging d'applications :** https://yunohost.org/packaging_apps
+**Plus d’infos sur le packaging d’applications :** <https://yunohost.org/packaging_apps>

+ 4 - 4
manifest.json

@@ -3,10 +3,10 @@
     "id": "hotspot",
     "packaging_format": 1,
     "description": {
-        "en": "Create and manager wifi networks, share Internet access and use Yunohost apps accross wifi",
-        "fr": "Créer et configurer des réseaux wifi, partager l'accès a Internet et utiliser les applications Yunohost via wifi"
+        "en": "Create and manager wifi networks, share Internet access and use YunoHost apps accross wifi",
+        "fr": "Créer et configurer des réseaux wifi, partager l'accès a Internet et utiliser les applications YunoHost via wifi"
     },
-    "version": "2.0~ynh3",
+    "version": "2.0~ynh4",
     "url": "https://github.com/labriqueinternet/hotspot_ynh",
     "license": "AGPL-3.0",
     "maintainer": {
@@ -56,7 +56,7 @@
                 "name": "firmware_nonfree",
                 "type": "boolean",
                 "ask": {
-                    "en": "Install non-free WiFi firmwares ? (Only needed if you're using a proprietary WiFi antenna/dongle)",
+                    "en": "Install non-free WiFi firmwares? (Only needed if you're using a proprietary WiFi antenna/dongle)",
                     "fr": "Installer des firmwares WiFi non-libres ? (Nécessaire seulement si vous utilisez une antenne/clé WiFi propriétaire)"
                 },
                 "default": false

+ 1 - 1
scripts/config

@@ -83,7 +83,7 @@ get__wifi_device() {
         cat << EOF
 choices:
 EOF
-        for device in $(iw_devices)
+        for device in $(iw_devices | sed "s/|/ /g")
         do
             echo "  $device: $device"
         done