mirror of
https://github.com/YunoHost/doc.git
synced 2024-09-03 20:06:26 +02:00
Update apps_fr.md
This commit is contained in:
parent
bed4a1fb32
commit
17ed0c0bf2
1 changed files with 3 additions and 0 deletions
|
@ -41,6 +41,9 @@ $(document).ready(function () {
|
||||||
$.getJSON('http://app.yunohost.org/list.json', function(app_list) {
|
$.getJSON('http://app.yunohost.org/list.json', function(app_list) {
|
||||||
console.log(app_list);
|
console.log(app_list);
|
||||||
$.each(app_list, function(app_id, infos) {
|
$.each(app_list, function(app_id, infos) {
|
||||||
|
if (typeof infos.manifest.description.fr === undefined) {
|
||||||
|
infos.manifest.description.fr = infos.manifest.description.en;
|
||||||
|
}
|
||||||
html = $('#app-template').html()
|
html = $('#app-template').html()
|
||||||
.replace(/{app_id}/g, app_id)
|
.replace(/{app_id}/g, app_id)
|
||||||
.replace(/{app_name}/g, infos.manifest.name)
|
.replace(/{app_name}/g, infos.manifest.name)
|
||||||
|
|
Loading…
Reference in a new issue