diff --git a/README.md b/README.md index ae510a7..18765b8 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,11 @@ TiddlyWiki is a complete interactive wiki in JavaScript. It can be used as a sin * [Official demo](https://tiddlywiki.com/) +## Documentation + + * Official documentation: Link to the official documentation of this app + * YunoHost documentation: If specific documentation is needed, feel free to contribute. + #### Supported architectures * x86-64 - [![Build Status](https://ci-apps.yunohost.org/ci/logs/tiddlywiki%20%28Apps%29.svg)](https://ci-apps.yunohost.org/ci/apps/tiddlywiki/) diff --git a/README_fr.md b/README_fr.md index 69dc4cb..a050010 100644 --- a/README_fr.md +++ b/README_fr.md @@ -22,6 +22,11 @@ TiddlyWiki est un wiki interactif complet en JavaScript. Il peut être utilisé * [Démo officielle](https://tiddlywiki.com/) +## Documentation + + * Documentation officielle : https://tiddlywiki.com/languages/fr-FR/index.html + * Documentation YunoHost : Si une documentation spécifique est nécessaire, n'hésitez pas à contribuer. + #### Architectures supportées * x86-64 - [![Build Status](https://ci-apps.yunohost.org/ci/logs/tiddlywiki%40%28Apps%29.svg)](https://ci-apps.yunohost.org/ci/apps/tiddlywiki/) diff --git a/manifest.json b/manifest.json index 67688b2..4dcdfe1 100644 --- a/manifest.json +++ b/manifest.json @@ -45,6 +45,16 @@ "fr": "Si cette case est cochée, TiddlyWiki sera accessible aux personnes n’ayant pas de compte. Vous pourrez changer ceci plus tard via la webadmin." }, "default": true + }, + { + "name": "language", + "type": "string", + "ask": { + "en": "Choose the application language", + "fr": "Choisissez la langue de l'application" + }, + "choices": ["fr", "en"], + "default": "fr" } ] } diff --git a/scripts/upgrade b/scripts/upgrade index 59a9b41..3225e58 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -84,9 +84,6 @@ ynh_system_user_create --username=$app --home_dir=$final_path if [ "$upgrade_type" == "UPGRADE_APP" ] then ynh_print_info --message="Upgrading source files..." - - # Download, check integrity, uncompress and patch the source from app.src - #ynh_setup_source --dest_dir="$final_path" pushd $final_path ynh_use_nodejs @@ -123,7 +120,7 @@ ynh_add_systemd_config #================================================= # Set permissions on app files -chown -R $app: $final_path +chown -R $app:$app $final_path #================================================= # ADVERTISE SERVICE IN ADMIN PANEL diff --git a/sources/empty_fr.html b/sources/empty_fr.html new file mode 100644 index 0000000..7d008f3 --- /dev/null +++ b/sources/empty_fr.html @@ -0,0 +1,16811 @@ + + + + + + + + + + + + + + + + + + + + +TiddlyWiki — un carnet de notes web personnel et non linéaire + + + + + + + + + + + + +
+ +
+ + + + + + + + + + + + + + + + +