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

lang/data: fixed missing text and buggy JSON

parent cb93d5a8
......@@ -45,11 +45,8 @@
"generate": "widget",
"type": "header",
"property_dict": {
"fixed": true,
"theme": "slapos-white",
"class_list": "override_header ",
"add_content": 0,
"section_list": ["first"],
"image": {
"src": "img/logo.jpg",
"alt": "Bip&Go"
......@@ -62,7 +59,7 @@
"direction": "horizontal"
},
"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",
......@@ -83,15 +80,12 @@
},
"children": [{
"type": "p",
"direct": {"className": "translate"},
"attributes": {"data-i18n": ""},
"logic": {"text": "Le plus malin pour avoir un badge liber-t"}
"direct": {"className": "translate beeper_text"},
"attributes": {"data-i18n": "global_dict.badges"},
"logic": {"text": "Le plus malin pour avoir un badge"}
}, {
"type": "img",
"direct": {"src": "img/logo-libert-t.jpg", "alt": ""}
}, {
"type": "img",
"direct": {"src": "img/appr.png", "alt": "", "className": "beeper"}
}
]
}
......@@ -111,6 +105,7 @@
"property_dict": {
"id": "menu-header",
"theme": "slapos-black",
"class_list": "vert",
"add_content": 0,
"section_list":["last"],
"title": "Info",
......@@ -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": "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": "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"}]}
]
}
......@@ -172,11 +167,12 @@
"type": "header",
"property_dict": {
"id": "search-header",
"class_list": "vert",
"theme": "slapos-black",
"add_content": 0,
"section_list":["last"],
"title": "Espace Abonné",
"title_i18n": "global_dict.account"
"title_i18n": "global_dict.login"
},
"children":[{
"type": "a",
......
......@@ -30,28 +30,28 @@
]
}
]
},
{
},{
"generate": "widget",
"type": "controlbar",
"property_dict": {
"class_list": "span_3 responsive"
"class_list": "span_3"
},
"children": [
{
"type": "div",
"direct": {"className": "offer violet background"},
"direct": {"className": "offer violet background ui-corner-all"},
"children": [{
"type": "img",
"direct": {"src": "img/website-Logo-offre.png", "alt": "Bip&Go"}
},{
"type": "h3",
"direct": {"className": "translate"},
"direct": {"className": "translate offer_tag"},
"attributes": {"data-i18n": "global_dict.fixed"},
"logic": {"text": "Au Forfait"}
}, {
"type": "a",
"direct": {"href": "#"},
"direct": {"href": "#", "className": "ui-link"},
"logic": {"plain_link":true},
"children": [{
"type": "span",
"direct": {"className": "translate"},
......@@ -70,7 +70,7 @@
}]
}, {
"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"},
"logic": {"text":"J'en profite"}
}]
......@@ -83,18 +83,19 @@
},
"children": [{
"type": "div",
"direct": {"className": "offer rose background"},
"direct": {"className": "offer rose background ui-corner-all"},
"children": [{
"type": "img",
"direct": {"src": "img/website-Logo-offre.png", "alt": "Bip&Go"}
},{
"type": "h3",
"direct": {"className": "translate"},
"direct": {"className": "translate offer_tag"},
"attributes": {"data-i18n": "global_dict.pay_as_you_go"},
"logic": {"text": "A la Carte"}
}, {
"type": "a",
"direct": {"href": "#"},
"direct": {"href": "#", "className": "ui-link"},
"logic": {"plain_link":true},
"children": [{
"type": "span",
"direct": {"className": "translate"},
......@@ -113,7 +114,7 @@
}]
}, {
"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"},
"logic": {"text":"J'en profite"}
}]
......@@ -127,18 +128,19 @@
},
"children": [{
"type": "div",
"direct": {"className": "offer bleu background"},
"direct": {"className": "offer bleu background ui-corner-all"},
"children": [{
"type": "img",
"direct": {"src": "img/website-Logo-offre.png", "alt": "Bip&Go"}
},{
"type": "h3",
"direct": {"className": "translate"},
"direct": {"className": "translate offer_tag"},
"attributes": {"data-i18n": "global_dict.pro"},
"logic": {"text": "Pour Le Pro"}
}, {
"type": "a",
"direct": {"href": "#"},
"direct": {"href": "#", "className": "ui-link"},
"logic": {"plain_link":true},
"children": [{
"type": "span",
"direct": {"className": "translate"},
......@@ -157,7 +159,7 @@
}]
}, {
"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"},
"logic": {"text":"J'en profite"}
}]
......@@ -171,18 +173,19 @@
},
"children":[{
"type": "div",
"direct": {"className": "offer rouge background"},
"direct": {"className": "offer rouge background ui-corner-all"},
"children": [{
"type": "img",
"direct": {"src": "img/website-Logo-offre.png", "alt": "Bip&Go"}
},{
"type": "h3",
"direct": {"className": "translate"},
"direct": {"className": "translate offer_tag"},
"attributes": {"data-i18n": "global_dict.vacances"},
"logic": {"text": "Liber-T Vacances"}
}, {
"type": "a",
"direct": {"href": "#"},
"direct": {"href": "#", "className": "ui-link"},
"logic": {"plain_link":true},
"children": [{
"type": "span",
"direct": {"className": "translate"},
......@@ -196,13 +199,13 @@
}]
}, {
"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"},
"logic": {"text":"J'en profite"}
}]
}, {
"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"},
"logic": {"text": "Comparatif"}
}
......@@ -245,7 +248,7 @@
"direct": {"src": "img/website-Visuel-home.png", "alt": ""}
}, {
"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"},
"logic": {"text":"En savoir plus"}
}]
......@@ -265,15 +268,15 @@
"direct": {"src": "img/website-Visuel-home2.png", "alt": ""}
}, {
"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"},
"logic": {"text":"En savoir plus"}
}]
}
]
}
}
]
}
......@@ -2,7 +2,6 @@
"type": "jIO",
"set_on": "storage_dict",
"initializer": "createJIO",
"modernizr": ["blobconstructor", "filereader"],
"property_dict": {
"name_dict": {
"gadgets": "gadgets",
......
......@@ -22,6 +22,7 @@
"understand": "Understanding Electronic Toll Payment",
"why": "How it works",
"statues": "Tips",
"badges": "A smart thing to have",
"faq": "Frequently Asked Questions",
"legal": "Legal Information",
"conditions": "General Sales Terms and Conditions",
......
......@@ -13,6 +13,7 @@
"pay_as_you_go": "A la carte",
"vacances": "Liber-T Vacances",
"pro": "Pour Le Pro",
"badges": "Le plus malin pour avoir un badge",
"comparison": "Comparatif",
"about": "Nous connaître",
"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