Language reworked

This commit is contained in:
Allan Nordhøy 2019-10-16 00:21:37 +00:00 committed by GitHub
parent 35099d0dbc
commit 467393647e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,11 +2,11 @@
[YunoHost](https://yunohost.org) administration web interface (JS client for the API). [YunoHost](https://yunohost.org) administration web interface (JS client for the API).
This client is a part of the YunoHost projet, and can not be installed directly. Please visit YunoHost website for [installation instructions](https://yunohost.org/install). This client is a part of the YunoHost project, and can not be installed directly. Please visit the YunoHost website for [installation instructions](https://yunohost.org/install).
## Bug tracker ## Bug tracker
Please report issues on the [YunoHost Bugtracker](https://github.com/YunoHost/issues). Please report issues on the [YunoHost bugtracker](https://github.com/YunoHost/issues).
## Translate ## Translate
@ -14,9 +14,9 @@ Please report issues on the [YunoHost Bugtracker](https://github.com/YunoHost/is
## Contributing ## Contributing
Feel free to improve the plugin and send us a pull request. Feel free to improve the plugin and send a pull request.
We use `gulp` to compile Less files and minify the JavaScript. Assuming [nodejs](http://nodejs.org/) is installed, you can install dependencies and run a build with: `gulp` is used to compile Less files and minify the JavaScript. Assuming [nodejs](http://nodejs.org/) is installed, you can install dependencies and run a build with:
```sh ```sh
cd src cd src
@ -24,12 +24,12 @@ npm install
npm run build npm run build
``` ```
Alternatively you can run `npm run build-dev` which improves building speed by bypassing compression tasks. Alternatively you can run `npm run build-dev`, which improves building speed by bypassing compression tasks.
On a YunoHost instance, the web admin files are located at `/usr/share/yunohost/admin`. On a YunoHost instance, the web admin files are located at `/usr/share/yunohost/admin`.
**Note:** The `.ms` - moustache - files are cached by the browser. You have to **Note:** The `.ms` - moustache - files are cached by the browser. You have to
reach them manually some times you modify them. (e.g. go to reach them manually, and sometimes you modify them. (e.g. go to
https://example.com/yunohost/admin/views/domain/domain_list.ms) https://example.com/yunohost/admin/views/domain/domain_list.ms)
## Dependencies ## Dependencies