Commit 82da131b authored by Sven Franck's avatar Sven Franck

lang/data: fixed missing text and buggy JSON

parent cb93d5a8
...@@ -45,11 +45,8 @@ ...@@ -45,11 +45,8 @@
"generate": "widget", "generate": "widget",
"type": "header", "type": "header",
"property_dict": { "property_dict": {
"fixed": true,
"theme": "slapos-white", "theme": "slapos-white",
"class_list": "override_header ", "class_list": "override_header ",
"add_content": 0,
"section_list": ["first"],
"image": { "image": {
"src": "img/logo.jpg", "src": "img/logo.jpg",
"alt": "Bip&Go" "alt": "Bip&Go"
...@@ -62,7 +59,7 @@ ...@@ -62,7 +59,7 @@
"direction": "horizontal" "direction": "horizontal"
}, },
"children":[ "children":[
{"type":"a", "direct": {"href": "#global-menu", "className":"responsive translate"}, "attributes": {"data-rel":"panel", "data-icon":"bars", "data-i18n":"global_dict.login"}, "logic": {"text":"Menu"}} {"type":"a", "direct": {"href": "#global-menu", "className":"responsive translate"}, "attributes": {"data-rel":"panel", "data-icon":"bars", "data-i18n":"global_dict.menu"}, "logic": {"text":"Menu"}}
] ]
}, { }, {
"generate": "widget", "generate": "widget",
...@@ -83,15 +80,12 @@ ...@@ -83,15 +80,12 @@
}, },
"children": [{ "children": [{
"type": "p", "type": "p",
"direct": {"className": "translate"}, "direct": {"className": "translate beeper_text"},
"attributes": {"data-i18n": ""}, "attributes": {"data-i18n": "global_dict.badges"},
"logic": {"text": "Le plus malin pour avoir un badge liber-t"} "logic": {"text": "Le plus malin pour avoir un badge"}
}, { }, {
"type": "img", "type": "img",
"direct": {"src": "img/logo-libert-t.jpg", "alt": ""} "direct": {"src": "img/logo-libert-t.jpg", "alt": ""}
}, {
"type": "img",
"direct": {"src": "img/appr.png", "alt": "", "className": "beeper"}
} }
] ]
} }
...@@ -111,6 +105,7 @@ ...@@ -111,6 +105,7 @@
"property_dict": { "property_dict": {
"id": "menu-header", "id": "menu-header",
"theme": "slapos-black", "theme": "slapos-black",
"class_list": "vert",
"add_content": 0, "add_content": 0,
"section_list":["last"], "section_list":["last"],
"title": "Info", "title": "Info",
...@@ -151,7 +146,7 @@ ...@@ -151,7 +146,7 @@
{"type": "item", "href": "#", "center": [{"type": "h3","text": "Au forfait", "text_i18n":"global_dict.fixed"}]}, {"type": "item", "href": "#", "center": [{"type": "h3","text": "Au forfait", "text_i18n":"global_dict.fixed"}]},
{"type": "item", "href": "#", "center": [{"type": "h3", "text": "A la carte", "text_i18n": "global_dict.pay_as_you_go"}]}, {"type": "item", "href": "#", "center": [{"type": "h3", "text": "A la carte", "text_i18n": "global_dict.pay_as_you_go"}]},
{"type": "item", "href": "#", "center": [{"type": "h3", "text": "Liber-T vacances", "text_i18n": "global_dict.vacances"}]}, {"type": "item", "href": "#", "center": [{"type": "h3", "text": "Liber-T vacances", "text_i18n": "global_dict.vacances"}]},
{"type": "item", "href": "#", "center": [{"type": "h3", "text": "Pour Le Pro", "text_i18n": "global_dict.professionel"}]}, {"type": "item", "href": "#", "center": [{"type": "h3", "text": "Pour Le Pro", "text_i18n": "global_dict.pro"}]},
{"type": "item", "href": "#", "center": [{"type": "h3", "text": "Comparatif", "text_i18n": "global_dict.comparison"}]} {"type": "item", "href": "#", "center": [{"type": "h3", "text": "Comparatif", "text_i18n": "global_dict.comparison"}]}
] ]
} }
...@@ -172,11 +167,12 @@ ...@@ -172,11 +167,12 @@
"type": "header", "type": "header",
"property_dict": { "property_dict": {
"id": "search-header", "id": "search-header",
"class_list": "vert",
"theme": "slapos-black", "theme": "slapos-black",
"add_content": 0, "add_content": 0,
"section_list":["last"], "section_list":["last"],
"title": "Espace Abonné", "title": "Espace Abonné",
"title_i18n": "global_dict.account" "title_i18n": "global_dict.login"
}, },
"children":[{ "children":[{
"type": "a", "type": "a",
......
...@@ -30,28 +30,28 @@ ...@@ -30,28 +30,28 @@
] ]
} }
] ]
}, },{
{
"generate": "widget", "generate": "widget",
"type": "controlbar", "type": "controlbar",
"property_dict": { "property_dict": {
"class_list": "span_3 responsive" "class_list": "span_3"
}, },
"children": [ "children": [
{ {
"type": "div", "type": "div",
"direct": {"className": "offer violet background"}, "direct": {"className": "offer violet background ui-corner-all"},
"children": [{ "children": [{
"type": "img", "type": "img",
"direct": {"src": "img/website-Logo-offre.png", "alt": "Bip&Go"} "direct": {"src": "img/website-Logo-offre.png", "alt": "Bip&Go"}
},{ },{
"type": "h3", "type": "h3",
"direct": {"className": "translate"}, "direct": {"className": "translate offer_tag"},
"attributes": {"data-i18n": "global_dict.fixed"}, "attributes": {"data-i18n": "global_dict.fixed"},
"logic": {"text": "Au Forfait"} "logic": {"text": "Au Forfait"}
}, { }, {
"type": "a", "type": "a",
"direct": {"href": "#"}, "direct": {"href": "#", "className": "ui-link"},
"logic": {"plain_link":true},
"children": [{ "children": [{
"type": "span", "type": "span",
"direct": {"className": "translate"}, "direct": {"className": "translate"},
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
}] }]
}, { }, {
"type": "a", "type": "a",
"direct": {"className": "light ui-btn ui-corner-all ui-icon-caret-r ui-btn-icon-right", "href": "#subscription"}, "direct": {"className": "ui-btn-inline ui-btn ui-corner-all ui-icon-carat-r ui-btn-icon-right", "href": "#subscription"},
"attributes": {"data-i18n": "global_dict.subscribe"}, "attributes": {"data-i18n": "global_dict.subscribe"},
"logic": {"text":"J'en profite"} "logic": {"text":"J'en profite"}
}] }]
...@@ -83,18 +83,19 @@ ...@@ -83,18 +83,19 @@
}, },
"children": [{ "children": [{
"type": "div", "type": "div",
"direct": {"className": "offer rose background"}, "direct": {"className": "offer rose background ui-corner-all"},
"children": [{ "children": [{
"type": "img", "type": "img",
"direct": {"src": "img/website-Logo-offre.png", "alt": "Bip&Go"} "direct": {"src": "img/website-Logo-offre.png", "alt": "Bip&Go"}
},{ },{
"type": "h3", "type": "h3",
"direct": {"className": "translate"}, "direct": {"className": "translate offer_tag"},
"attributes": {"data-i18n": "global_dict.pay_as_you_go"}, "attributes": {"data-i18n": "global_dict.pay_as_you_go"},
"logic": {"text": "A la Carte"} "logic": {"text": "A la Carte"}
}, { }, {
"type": "a", "type": "a",
"direct": {"href": "#"}, "direct": {"href": "#", "className": "ui-link"},
"logic": {"plain_link":true},
"children": [{ "children": [{
"type": "span", "type": "span",
"direct": {"className": "translate"}, "direct": {"className": "translate"},
...@@ -113,7 +114,7 @@ ...@@ -113,7 +114,7 @@
}] }]
}, { }, {
"type": "a", "type": "a",
"direct": {"className": "light ui-btn ui-corner-all ui-icon-caret-r ui-btn-icon-right", "href": "#subscription"}, "direct": {"className": "ui-btn ui-corner-all ui-icon-carat-r ui-btn-icon-right ui-btn-inline", "href": "#subscription"},
"attributes": {"data-i18n": "global_dict.subscribe"}, "attributes": {"data-i18n": "global_dict.subscribe"},
"logic": {"text":"J'en profite"} "logic": {"text":"J'en profite"}
}] }]
...@@ -127,18 +128,19 @@ ...@@ -127,18 +128,19 @@
}, },
"children": [{ "children": [{
"type": "div", "type": "div",
"direct": {"className": "offer bleu background"}, "direct": {"className": "offer bleu background ui-corner-all"},
"children": [{ "children": [{
"type": "img", "type": "img",
"direct": {"src": "img/website-Logo-offre.png", "alt": "Bip&Go"} "direct": {"src": "img/website-Logo-offre.png", "alt": "Bip&Go"}
},{ },{
"type": "h3", "type": "h3",
"direct": {"className": "translate"}, "direct": {"className": "translate offer_tag"},
"attributes": {"data-i18n": "global_dict.pro"}, "attributes": {"data-i18n": "global_dict.pro"},
"logic": {"text": "Pour Le Pro"} "logic": {"text": "Pour Le Pro"}
}, { }, {
"type": "a", "type": "a",
"direct": {"href": "#"}, "direct": {"href": "#", "className": "ui-link"},
"logic": {"plain_link":true},
"children": [{ "children": [{
"type": "span", "type": "span",
"direct": {"className": "translate"}, "direct": {"className": "translate"},
...@@ -157,7 +159,7 @@ ...@@ -157,7 +159,7 @@
}] }]
}, { }, {
"type": "a", "type": "a",
"direct": {"className": "light ui-btn ui-corner-all ui-icon-caret-r ui-btn-icon-right", "href": "#subscription"}, "direct": {"className": "ui-btn-inline ui-btn ui-corner-all ui-icon-carat-r ui-btn-icon-right", "href": "#subscription"},
"attributes": {"data-i18n": "global_dict.subscribe"}, "attributes": {"data-i18n": "global_dict.subscribe"},
"logic": {"text":"J'en profite"} "logic": {"text":"J'en profite"}
}] }]
...@@ -171,18 +173,19 @@ ...@@ -171,18 +173,19 @@
}, },
"children":[{ "children":[{
"type": "div", "type": "div",
"direct": {"className": "offer rouge background"}, "direct": {"className": "offer rouge background ui-corner-all"},
"children": [{ "children": [{
"type": "img", "type": "img",
"direct": {"src": "img/website-Logo-offre.png", "alt": "Bip&Go"} "direct": {"src": "img/website-Logo-offre.png", "alt": "Bip&Go"}
},{ },{
"type": "h3", "type": "h3",
"direct": {"className": "translate"}, "direct": {"className": "translate offer_tag"},
"attributes": {"data-i18n": "global_dict.vacances"}, "attributes": {"data-i18n": "global_dict.vacances"},
"logic": {"text": "Liber-T Vacances"} "logic": {"text": "Liber-T Vacances"}
}, { }, {
"type": "a", "type": "a",
"direct": {"href": "#"}, "direct": {"href": "#", "className": "ui-link"},
"logic": {"plain_link":true},
"children": [{ "children": [{
"type": "span", "type": "span",
"direct": {"className": "translate"}, "direct": {"className": "translate"},
...@@ -196,13 +199,13 @@ ...@@ -196,13 +199,13 @@
}] }]
}, { }, {
"type": "a", "type": "a",
"direct": {"className": "light ui-btn ui-corner-all ui-icon-caret-r ui-btn-icon-right", "href": "#subscription"}, "direct": {"className": "ui-btn-inline ui-btn ui-corner-all ui-icon-carat-r ui-btn-icon-right", "href": "#subscription"},
"attributes": {"data-i18n": "global_dict.subscribe"}, "attributes": {"data-i18n": "global_dict.subscribe"},
"logic": {"text":"J'en profite"} "logic": {"text":"J'en profite"}
}] }]
}, { }, {
"type": "a", "type": "a",
"direct": {"href": "#", "className": "translate right ui-btn ui-btn-icon-right ui-icon-caret-r ui-corner-all ui-btn-slapos-active"}, "direct": {"href": "#", "className": "translate right ui-btn ui-btn-icon-right ui-icon-carat-r ui-corner-all ui-btn-slapos-active"},
"attributes": {"data-i18n":"global_dict.comparison"}, "attributes": {"data-i18n":"global_dict.comparison"},
"logic": {"text": "Comparatif"} "logic": {"text": "Comparatif"}
} }
...@@ -245,7 +248,7 @@ ...@@ -245,7 +248,7 @@
"direct": {"src": "img/website-Visuel-home.png", "alt": ""} "direct": {"src": "img/website-Visuel-home.png", "alt": ""}
}, { }, {
"type": "a", "type": "a",
"direct": {"className": "light ui-btn ui-corner-all ui-icon-caret-r ui-btn-icon-right", "href": "#"}, "direct": {"className": "light ui-btn-inline ui-btn ui-corner-all ui-icon-carat-r ui-btn-icon-right", "href": "#"},
"attributes": {"data-i18n": "global_dict.find_out_more"}, "attributes": {"data-i18n": "global_dict.find_out_more"},
"logic": {"text":"En savoir plus"} "logic": {"text":"En savoir plus"}
}] }]
...@@ -265,15 +268,15 @@ ...@@ -265,15 +268,15 @@
"direct": {"src": "img/website-Visuel-home2.png", "alt": ""} "direct": {"src": "img/website-Visuel-home2.png", "alt": ""}
}, { }, {
"type": "a", "type": "a",
"direct": {"className": "light ui-btn ui-corner-all ui-icon-caret-r ui-btn-icon-right", "href": "#"}, "direct": {"className": "light ui-btn-inline ui-btn ui-corner-all ui-icon-carat-r ui-btn-icon-right", "href": "#"},
"attributes": {"data-i18n": "global_dict.find_out_more"}, "attributes": {"data-i18n": "global_dict.find_out_more"},
"logic": {"text":"En savoir plus"} "logic": {"text":"En savoir plus"}
}] }]
} }
] ]
} }
} }
] ]
} }
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
"type": "jIO", "type": "jIO",
"set_on": "storage_dict", "set_on": "storage_dict",
"initializer": "createJIO", "initializer": "createJIO",
"modernizr": ["blobconstructor", "filereader"],
"property_dict": { "property_dict": {
"name_dict": { "name_dict": {
"gadgets": "gadgets", "gadgets": "gadgets",
......
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
"understand": "Understanding Electronic Toll Payment", "understand": "Understanding Electronic Toll Payment",
"why": "How it works", "why": "How it works",
"statues": "Tips", "statues": "Tips",
"badges": "A smart thing to have",
"faq": "Frequently Asked Questions", "faq": "Frequently Asked Questions",
"legal": "Legal Information", "legal": "Legal Information",
"conditions": "General Sales Terms and Conditions", "conditions": "General Sales Terms and Conditions",
......
...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
"pay_as_you_go": "A la carte", "pay_as_you_go": "A la carte",
"vacances": "Liber-T Vacances", "vacances": "Liber-T Vacances",
"pro": "Pour Le Pro", "pro": "Pour Le Pro",
"badges": "Le plus malin pour avoir un badge",
"comparison": "Comparatif", "comparison": "Comparatif",
"about": "Nous connaître", "about": "Nous connaître",
"about_beep": "A propos de bip&go", "about_beep": "A propos de bip&go",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment