1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/question2answer_ynh.git synced 2024-09-03 20:16:07 +02:00

Merge pull request #2 from YunoHost-Apps/misc

Update manifest to allow for global translation
This commit is contained in:
Nils Van Zuijlen 2021-03-26 14:54:53 +01:00 committed by GitHub
commit da7f4d6d73
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 33 deletions

View file

@ -1,13 +0,0 @@
[Unit]
Description=Small description of the service
After=network.target
[Service]
Type=simple
User=__APP__
Group=__APP__
WorkingDirectory=__FINALPATH__/
ExecStart=__FINALPATH__/script >> /var/log/__APP__/__APP__.log 2>&1
[Install]
WantedBy=multi-user.target

View file

@ -27,29 +27,17 @@
{ {
"name": "domain", "name": "domain",
"type": "domain", "type": "domain",
"ask": {
"en": "Choose a domain name for Question2Answer",
"fr": "Choisissez un nom de domaine pour Question2Answer"
},
"example": "example.com" "example": "example.com"
}, },
{ {
"name": "path", "name": "path",
"type": "path", "type": "path",
"ask": {
"en": "Choose a path for Question2Answer",
"fr": "Choisissez un chemin pour Question2Answer"
},
"example": "/question2answer", "example": "/question2answer",
"default": "/question2answer" "default": "/question2answer"
}, },
{ {
"name": "is_public", "name": "is_public",
"type": "boolean", "type": "boolean",
"ask": {
"en": "Is it a public application?",
"fr": "Est-ce une application publique ?"
},
"help": { "help": {
"en": "If the application is made private, only the users known to this YunoHost instance will be able to see it.", "en": "If the application is made private, only the users known to this YunoHost instance will be able to see it.",
"fr": "Si l'application est privée, seuls les utilisateurs de cette instance YunuHost pourront y accéder." "fr": "Si l'application est privée, seuls les utilisateurs de cette instance YunuHost pourront y accéder."
@ -78,19 +66,11 @@
{ {
"name": "admin", "name": "admin",
"type": "user", "type": "user",
"ask": {
"en": "Choose an admin user",
"fr": "Choisissez l'administrateur"
},
"example": "johndoe" "example": "johndoe"
}, },
{ {
"name": "password", "name": "password",
"type": "password", "type": "password",
"ask": {
"en": "Set the administrator password",
"fr": "Définissez le mot de passe administrateur"
},
"example": "Choose a password" "example": "Choose a password"
} }
] ]