diff --git a/apxtri/models/Wwws.js b/apxtri/models/Wwws.js index a2ac857..dabd112 100644 --- a/apxtri/models/Wwws.js +++ b/apxtri/models/Wwws.js @@ -142,7 +142,7 @@ Wwws.getwco = (wconame, ctx) => { //tagid can concern many id then tagid=idA,idB,idC ctx.tagid = ctx.tagid.includes(",") ? ctx.tagid.split(",") : [ctx.tagid]; ctx.tagid.forEach((tid) => { - const pathtpldata = `${ctx.tribe}/objects/wwws/${ctx.xapp}/src/tpldata/${ctx.pagename}/${tid}_${t}`; + const pathtpldata = `${ctx.tribe}/objects/wwws/${ctx.xapp}/src/tpldata/${ctx.pagename}_${tid}_${t}`; console.log("pathtpldata:", pathtpldata); const localdbname = `${ctx.pagename}_${tid}_${t}`; if ( diff --git a/objects/options/dayofweek_en.json b/objects/options/dayofweek_en.json index 270669f..49c8196 100644 --- a/objects/options/dayofweek_en.json +++ b/objects/options/dayofweek_en.json @@ -3,27 +3,27 @@ "description": "Country Code and Info", "commment": "Alpha-2 country code (ISO 3166-2:XX)", "lastupdatedata": "", - "lst_idx": ["monday","tuesday","wednesday","thursday","friday","saturday","sunday"], + "lst_idx": ["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"], "itms": { - "monday": { + "Monday": { "title": "Monday" }, - "tuesday": { + "Tuesday": { "title": "Tuesday" }, - "wednesday": { + "Wednesday": { "title": "Wednesday" }, - "thursday": { + "Thursday": { "title": "Thursday" }, - "friday": { + "Friday": { "title": "Friday" }, - "saturday": { + "Saturday": { "title": "Saturday" }, - "sunday": { + "Sunday": { "title": "Sunday" } } diff --git a/objects/options/dayofweek_fr.json b/objects/options/dayofweek_fr.json index 7d11a08..630ccac 100644 --- a/objects/options/dayofweek_fr.json +++ b/objects/options/dayofweek_fr.json @@ -3,27 +3,27 @@ "description": "Country Code and Info", "commment": "Alpha-2 country code (ISO 3166-2:XX)", "lastupdatedata": "", - "lst_idx": ["monday","tuesday","wednesday","thursday","friday","saturday","sunday"], + "lst_idx": ["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"], "itms": { - "monday": { + "Monday": { "title": "Lundi" }, - "tuesady": { + "Tuesady": { "title": "Mardi" }, - "wednesday": { + "Wednesday": { "title": "Mercredi" }, - "thursday": { + "Thursday": { "title": "Jeudi" }, - "friday": { + "Friday": { "title": "Vendredi" }, - "saturday": { + "Saturday": { "title": "Samedi" }, - "sunday": { + "Sunday": { "title": "Dimanche" } }