Update apps_fr.md

This commit is contained in:
kload@kload.fr 2013-11-17 13:40:01 +01:00 committed by YunoHost
parent bed4a1fb32
commit 17ed0c0bf2

View file

@ -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)