From 17ed0c0bf21a3e639d1a73614a0cefa63df9ee25 Mon Sep 17 00:00:00 2001 From: "kload@kload.fr" Date: Sun, 17 Nov 2013 13:40:01 +0100 Subject: [PATCH] Update apps_fr.md --- apps_fr.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps_fr.md b/apps_fr.md index 0db51f8f..944280da 100644 --- a/apps_fr.md +++ b/apps_fr.md @@ -41,6 +41,9 @@ $(document).ready(function () { $.getJSON('http://app.yunohost.org/list.json', function(app_list) { console.log(app_list); $.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() .replace(/{app_id}/g, app_id) .replace(/{app_name}/g, infos.manifest.name)