Commit 770a82be authored by Sven Franck's avatar Sven Franck

data/lang: removed all duplicate translations, fixed missing translations

parent 46fede21
...@@ -3,9 +3,7 @@ ...@@ -3,9 +3,7 @@
"type": "StringField", "type": "StringField",
"widget": { "widget": {
"id": "_id", "id": "_id",
"title": "Id",
"title_i18n": "portal_type_dict.category_dict.field_dict._id.title", "title_i18n": "portal_type_dict.category_dict.field_dict._id.title",
"description": "The id of this title.",
"description_i18n": "portal_type_dict.category_dict.field_dict._id.description", "description_i18n": "portal_type_dict.category_dict.field_dict._id.description",
"alternate_name": "_id", "alternate_name": "_id",
"default_value": null, "default_value": null,
...@@ -44,9 +42,7 @@ ...@@ -44,9 +42,7 @@
"type": "StringField", "type": "StringField",
"widget": { "widget": {
"id": "title", "id": "title",
"title": "Title",
"title_i18n": "portal_type_dict.category_dict.field_dict.title.title", "title_i18n": "portal_type_dict.category_dict.field_dict.title.title",
"description": "The title of this category.",
"description_i18n": "portal_type_dict.category_dict.field_dict.title.description", "description_i18n": "portal_type_dict.category_dict.field_dict.title.description",
"alternate_name": "title", "alternate_name": "title",
"default_value": null, "default_value": null,
...@@ -85,9 +81,7 @@ ...@@ -85,9 +81,7 @@
"type": "StringField", "type": "StringField",
"widget": { "widget": {
"id": "title_i18n", "id": "title_i18n",
"title": "Translation Pointer",
"title_i18n": "portal_type_dict.category_dict.field_dict.translation.title", "title_i18n": "portal_type_dict.category_dict.field_dict.translation.title",
"description": "The translation lookup value of this category.",
"description_i18n": "portal_type_dict.category_dict.field_dict.translation.description", "description_i18n": "portal_type_dict.category_dict.field_dict.translation.description",
"alternate_name": "title_i18n", "alternate_name": "title_i18n",
"default_value": null, "default_value": null,
...@@ -126,9 +120,7 @@ ...@@ -126,9 +120,7 @@
"type": "StringField", "type": "StringField",
"widget": { "widget": {
"id": "reference", "id": "reference",
"title": "Reference",
"title_i18n": "portal_type_dict.category_dict.field_dict.reference.title", "title_i18n": "portal_type_dict.category_dict.field_dict.reference.title",
"description": "The reference (type) of this category.",
"description_i18n": "portal_type_dict.category_dict.field_dict.reference.description", "description_i18n": "portal_type_dict.category_dict.field_dict.reference.description",
"alternate_name": "reference", "alternate_name": "reference",
"default_value": null, "default_value": null,
...@@ -167,9 +159,7 @@ ...@@ -167,9 +159,7 @@
"type": "ListField", "type": "ListField",
"widget": { "widget": {
"id": "sub_category_list", "id": "sub_category_list",
"title": "Child Category List",
"title_i18n": "portal_type_dict.computer_dict.field_dict.sub_category_list.title", "title_i18n": "portal_type_dict.computer_dict.field_dict.sub_category_list.title",
"description": "The subcategories associated with this category.",
"description_i18n": "portal_type_dict.computer_dict.field_dict.sub_category_list.description", "description_i18n": "portal_type_dict.computer_dict.field_dict.sub_category_list.description",
"alternate_name": "sub_category_list", "alternate_name": "sub_category_list",
"default_value": null, "default_value": null,
...@@ -208,9 +198,7 @@ ...@@ -208,9 +198,7 @@
"type": "ListField", "type": "ListField",
"widget": { "widget": {
"id": "parent_category_list", "id": "parent_category_list",
"title": "Parent Category List",
"title_i18n": "portal_type_dict.computer_dict.field_dict.parent_category_list.title", "title_i18n": "portal_type_dict.computer_dict.field_dict.parent_category_list.title",
"description": "The parent categories associated with this category.",
"description_i18n": "portal_type_dict.computer_dict.field_dict.parent_category_list.description", "description_i18n": "portal_type_dict.computer_dict.field_dict.parent_category_list.description",
"alternate_name": "parent_category_list", "alternate_name": "parent_category_list",
"default_value": null, "default_value": null,
......
...@@ -62,8 +62,8 @@ ...@@ -62,8 +62,8 @@
"direction": "horizontal" "direction": "horizontal"
}, },
"children": [ "children": [
{"type":"a", "direct": {"href": "#global-user", "className":"responsive translate action"}, "attributes": {"data-rel":"panel", "data-action":"set_login", "data-icon":"heart", "data-i18n":"global_dict.login"}, "logic": {"text":"Login"}}, {"type":"a", "direct": {"href": "#global-user", "className":"responsive translate action"}, "attributes": {"data-rel":"panel", "data-action":"set_login", "data-icon":"heart", "data-i18n":"global_dict.login"}},
{"type":"a", "direct": {"href": "#basket", "className": "responsive translate"}, "attributes": {"data-i18n": "global_dict.basket", "data-icon": "shopping-cart"}, "logic": {"text": "Basket"}} {"type":"a", "direct": {"href": "#basket", "className": "responsive translate"}, "attributes": {"data-i18n": "global_dict.basket", "data-icon": "shopping-cart"}}
] ]
}, { }, {
"generate": "widget", "generate": "widget",
...@@ -90,7 +90,7 @@ ...@@ -90,7 +90,7 @@
"direction": "horizontal" "direction": "horizontal"
}, },
"children":[ "children":[
{"type":"a", "direct": {"href": "#global-search", "className":"action translate"}, "attributes": {"data-iconpos":"notext", "data-rel":"panel", "data-action":"set_search", "data-href": "ui_panel_detail_search", "data-icon":"search-plus", "data-i18n":"global_dict.detail_search"}, "logic": {"text":"Search+"}} {"type":"a", "direct": {"href": "#global-search", "className":"action translate"}, "attributes": {"data-iconpos":"notext", "data-rel":"panel", "data-action":"set_search", "data-href": "ui_panel_detail_search", "data-icon":"search-plus", "data-i18n":"global_dict.detail_search"}}
] ]
}, { }, {
"generate": "widget", "generate": "widget",
...@@ -99,9 +99,9 @@ ...@@ -99,9 +99,9 @@
"direction": "horizontal" "direction": "horizontal"
}, },
"children":[ "children":[
{"type":"a", "direct": {"href": "#global-search", "className":"action translate"}, "attributes": {"data-rel": "panel", "data-iconpos":"notext", "data-action":"set_filter", "data-icon":"filter", "data-i18n":"global_dict.filter"}, "logic": {"text":"Filter"}}, {"type":"a", "direct": {"href": "#global-search", "className":"action translate"}, "attributes": {"data-rel": "panel", "data-iconpos":"notext", "data-action":"set_filter", "data-icon":"filter", "data-i18n":"global_dict.filter"}},
{"type":"a", "direct": {"href": "#global-search", "className":"action translate"}, "attributes": {"data-rel": "panel", "data-iconpos":"notext", "data-action":"set_sorting", "data-icon":"sort", "data-i18n":"global_dict.sort"}, "logic": {"text":"Sort"}}, {"type":"a", "direct": {"href": "#global-search", "className":"action translate"}, "attributes": {"data-rel": "panel", "data-iconpos":"notext", "data-action":"set_sorting", "data-icon":"sort", "data-i18n":"global_dict.sort"}},
{"type":"a", "direct": {"href": "#global-search", "className":"action translate"}, "attributes": {"data-rel":"panel", "data-iconpos":"notext", "data-action":"set_sales", "data-icon":"bell", "data-i18n":"global_dict.save"}, "logic": {"text":"Save"}} {"type":"a", "direct": {"href": "#global-search", "className":"action translate"}, "attributes": {"data-rel":"panel", "data-iconpos":"notext", "data-action":"set_sales", "data-icon":"bell", "data-i18n":"global_dict.save"}}
] ]
} }
] ]
...@@ -133,7 +133,6 @@ ...@@ -133,7 +133,6 @@
"theme": "slapos-black", "theme": "slapos-black",
"add_content": 0, "add_content": 0,
"section_list":["last"], "section_list":["last"],
"title": "Your Account",
"title_i18n": "global_dict.account" "title_i18n": "global_dict.account"
}, },
"children":[{ "children":[{
...@@ -145,8 +144,7 @@ ...@@ -145,8 +144,7 @@
"attributes": { "attributes": {
"data-enhanced": true, "data-enhanced": true,
"data-rel": "close" "data-rel": "close"
}, }
"logic": {"text": "Close"}
}] }]
}] }]
}, { }, {
...@@ -160,7 +158,7 @@ ...@@ -160,7 +158,7 @@
"generate": "widget", "generate": "widget",
"type": "controlbar", "type": "controlbar",
"property_dict": { "property_dict": {
"class_list": "responsive" "class_list": "span_2"
}, },
"children": [{ "children": [{
"generate": "widget", "generate": "widget",
...@@ -173,9 +171,16 @@ ...@@ -173,9 +171,16 @@
"public_key": "6Ldpb-oSAAAAAGwriKpk4ol1n4yjN_as6M4xv0zA" "public_key": "6Ldpb-oSAAAAAGwriKpk4ol1n4yjN_as6M4xv0zA"
}, },
"children": [ "children": [
{"type": "input", "direct": {"className": "required translate"}, "attributes": {"type": "text", "data-i18n": "[placeholder]global_dict.newsletter" }, "logic": {"clear": true, "action": {"action":"subscribe", "icon": "edit", "text": "Subscribe", "text_i18n": "global_dict.subscribe"}, "add_label": false, "wrap": true}} {"type": "input", "direct": {"className": "required translate"}, "attributes": {"type": "text", "data-i18n": "[placeholder]global_dict.newsletter" }, "logic": {"clear": true, "action": {"action":"subscribe", "icon": "edit", "text_i18n": "global_dict.subscribe"}, "add_label": false, "wrap": true}}
] ]
}, { }]
}, {
"generate": "widget",
"type": "controlbar",
"property_dict": {
"class_list": "span_2"
},
"children": [{
"generate": "widget", "generate": "widget",
"type": "controlgroup", "type": "controlgroup",
"property_dict": { "property_dict": {
...@@ -189,33 +194,33 @@ ...@@ -189,33 +194,33 @@
}] }]
}, { }, {
"generate": "widget", "generate": "widget",
"type": "form", "type": "controlbar",
"property_dict": { "property_dict": {
"class_list": "span_1"
}, },
"children":[ "children": [{
{"type":"select", "direct": {"id": "switch_language", "className":"action translate"}, "attributes": {"data-action":"trigger_translate", "data-icon":"flag-en"}, "logic": {"wrap": true, "wrapper_class_list":"flag", "label": "Select a country", "label_i18n": "global_dict.pick_country", "options": [{"value": "en-EN", "text":"English", "text_i18n":"global_dict.english", "selected": true}, {"value": "fr-FR", "text": "Francaise", "text_i18n":"global_dict.french"}]}}, "generate": "widget",
{"type":"input", "direct": {"className": "ui-hidden-accessible"}, "attributes": {"type": "submit"}, "logic": {}} "type": "form",
] "property_dict": {
}, { "class_list": "responsive",
"type": "p", "editable": true,
"direct": {"className": "italic small center faint"}, "secure": "default",
"children": [ "secret_hash": "foo",
{"type": "span", "direct": {"className": "translate"}, "attributes": {"data-i18n": "global_dict.created"}, "logic": {"text": "Created by "}}, "public_key": "6Ldpb-oSAAAAAGwriKpk4ol1n4yjN_as6M4xv0zA"
{"type": "a", "direct": {"href": "http://www.nexedi.com", "className": "ui-link"}, "attributes": {"rel": "external"}, "logic": {"text": "Nexedi", "plain_link": true}}, },
{"type": "span", "logic": {"text": " - "}}, "children": [{
{"type": "span", "direct": {"className": "translate"}, "attributes": {"data-i18n": "global_dict.powered"}, "logic": {"text": "Powered by "}}, "type": "select", "direct": {"id": "switch_language", "className": "action translate"}, "attributes": {"data-action": "trigger_translate", "data-icon": "flag-en"}, "logic": {"wrap": true, "wrapper_class_list": "flag", "label_i18n": "global_dict.language", "options": [{"value": "en-EN", "text_i18n":"global_dict.english", "selected": true}, {"value": "fr-FR", "text_i18n":"global_dict.french"}]}
{"type": "a", "direct": {"href": "http://www.erp5.com", "className": "ui-link"}, "attributes": {"rel": "external"}, "logic": {"text": "ERP5", "plain_link": true}} }]
] }]
}, { }, {
"generate": "widget", "generate": "widget",
"type": "navbar", "type": "navbar",
"children": [ "children": [
{"type": "a", "direct": {"href": "#contact", "className": "translate"}, "attributes": {"data-i18n": "global_dict.contact"}, "logic": {"text":"Contact"}}, {"type": "a", "direct": {"href": "#", "className": "translate"}, "attributes": {"data-i18n": "global_dict.contact"}},
{"type": "a", "direct": {"href": "#legal", "className": "translate"}, "attributes": {"data-i18n": "global_dict.legal"}, "logic": {"text": "Legal"}}, {"type": "a", "direct": {"href": "#", "className": "translate"}, "attributes": {"data-i18n": "global_dict.legal"}}
{"type": "a", "direct": {"href": "#", "className": "ui-icon-caret-up ui-btn-icon-left translate"}, "attributes": {"data-i18n":"global_dict.scrollup", "data-action": "scroll_top"}, "logic": {"text":"Top"}} ]
]
}] }]
}] }]
} }
] ]
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
{ {
"type": "img", "type": "img",
"direct": {"src": "img/slapos.png", "alt": "SlapOS logo", "className": "translate"}, "direct": {"src": "img/slapos.png", "alt": "SlapOS logo", "className": "translate"},
"attributes": {"data-i18n": "global_dict.slapos_logo"} "attributes": {"data-i18n": "[alt]global_dict.slapos_logo"}
} }
] ]
}, { }, {
...@@ -16,8 +16,7 @@ ...@@ -16,8 +16,7 @@
}, { }, {
"type": "p", "type": "p",
"direct": {"className": "translate"}, "direct": {"className": "translate"},
"attributes": {"data-i18n": "global_dict.sign_in"}, "attributes": {"data-i18n": "global_dict.sign_in"}
"logic": {"text": "Sign in using"}
}, { }, {
"generate": "widget", "generate": "widget",
"type": "controlgroup", "type": "controlgroup",
...@@ -29,13 +28,11 @@ ...@@ -29,13 +28,11 @@
}, { }, {
"type": "p", "type": "p",
"direct": {"className": "translate"}, "direct": {"className": "translate"},
"attributes": {"data-i18n": "global_dict.classic_login"}, "attributes": {"data-i18n": "global_dict.classic_login"}
"logic": {"text": "Or use the default login form"}
}, { }, {
"type": "a", "type": "a",
"direct": {"className": "translate ui-btn ui-icon-lock ui-btn-icon-left ui-shadow ui-corner-all", "href": "//slapos.vifib.com/traditional_login_form"}, "direct": {"className": "translate ui-btn ui-icon-lock ui-btn-icon-left ui-shadow ui-corner-all", "href": "//slapos.vifib.com/traditional_login_form"},
"attributes": {"data-i18n": "global_dict.classic_slapos"}, "attributes": {"data-i18n": "global_dict.classic_slapos"}
"logic": {"text": "Login/Password"}
} }
] ]
} }
......
This diff is collapsed.
...@@ -7,12 +7,10 @@ ...@@ -7,12 +7,10 @@
"property_dict": { "property_dict": {
"initial_query_url_identifier": "_id", "initial_query_url_identifier": "_id",
"no_items": { "no_items": {
"message": "No person found",
"message_i18n": "portal_type_dict.person_dict.text_dict.nodata", "message_i18n": "portal_type_dict.person_dict.text_dict.nodata",
"children": [ "children": [
{ {
"href": "#person_module/new", "href": "#person_module/new",
"text": "Create person",
"text_i18n": "page_dict.person.create", "text_i18n": "page_dict.person.create",
"class_list": "translate ui-btn-slapos-black", "class_list": "translate ui-btn-slapos-black",
"icon": "edit" "icon": "edit"
...@@ -62,7 +60,7 @@ ...@@ -62,7 +60,7 @@
"direction": "horizontal" "direction": "horizontal"
}, },
"children": [ "children": [
{"type": "input", "direct": {"value": "Update My Credentials", "className": "action translate"}, "attributes": {"type": "submit", "data-action":"update", "data-i18n":"[value]portal_type_dict.person_dict.text_dict.submit", "data-theme": "slapos-black"}} {"type": "input", "direct": {"className": "action translate"}, "attributes": {"type": "submit", "data-action":"update", "data-i18n":"[value]portal_type_dict.person_dict.text_dict.submit", "data-theme": "slapos-black"}}
] ]
}] }]
} }
......
...@@ -3,9 +3,7 @@ ...@@ -3,9 +3,7 @@
"type": "StringField", "type": "StringField",
"widget": { "widget": {
"id": "_id", "id": "_id",
"title": "Id",
"title_i18n": "portal_type_dict.product_dict.field_dict._id.title", "title_i18n": "portal_type_dict.product_dict.field_dict._id.title",
"description": "The id of this product.",
"description_i18n": "portal_type_dict.product_dict.field_dict._id.description", "description_i18n": "portal_type_dict.product_dict.field_dict._id.description",
"alternate_name": "_id", "alternate_name": "_id",
"default_value": null, "default_value": null,
...@@ -44,9 +42,7 @@ ...@@ -44,9 +42,7 @@
"type": "StringField", "type": "StringField",
"widget": { "widget": {
"id": "brand", "id": "brand",
"title": "Brand",
"title_i18n": "portal_type_dict.product_dict.field_dict.brand.title", "title_i18n": "portal_type_dict.product_dict.field_dict.brand.title",
"description": "The brand this product belongs to.",
"description_i18n": "portal_type_dict.product_dict.field_dict.brand.description", "description_i18n": "portal_type_dict.product_dict.field_dict.brand.description",
"alternate_name": "brand", "alternate_name": "brand",
"default_value": null, "default_value": null,
...@@ -85,9 +81,7 @@ ...@@ -85,9 +81,7 @@
"type": "StringField", "type": "StringField",
"widget": { "widget": {
"id": "short_description", "id": "short_description",
"title": "Short Description",
"title_i18n": "portal_type_dict.product_dict.field_dict.short_description.title", "title_i18n": "portal_type_dict.product_dict.field_dict.short_description.title",
"description": "The short description (title) of this product.",
"description_i18n": "portal_type_dict.product_dict.field_dict.short_description.description", "description_i18n": "portal_type_dict.product_dict.field_dict.short_description.description",
"alternate_name": "short_description", "alternate_name": "short_description",
"default_value": null, "default_value": null,
...@@ -126,9 +120,7 @@ ...@@ -126,9 +120,7 @@
"type": "StringField", "type": "StringField",
"widget": { "widget": {
"id": "long_description", "id": "long_description",
"title": "Short Description",
"title_i18n": "portal_type_dict.product_dict.field_dict.long_description.title", "title_i18n": "portal_type_dict.product_dict.field_dict.long_description.title",
"description": "The long description (detailed description) of this product.",
"description_i18n": "portal_type_dict.product_dict.field_dict.long_description.description", "description_i18n": "portal_type_dict.product_dict.field_dict.long_description.description",
"alternate_name": "long_description", "alternate_name": "long_description",
"default_value": null, "default_value": null,
...@@ -167,9 +159,7 @@ ...@@ -167,9 +159,7 @@
"type":"IntegerField", "type":"IntegerField",
"widget": { "widget": {
"id": "price", "id": "price",
"title": "Price",
"title_i18n": "portal_type_dict.test_page_dict.field_dict.price.title", "title_i18n": "portal_type_dict.test_page_dict.field_dict.price.title",
"description": "The price of this product.",
"description_i18n": "portal_type_dict.test_page_dict.field_dict.price.description", "description_i18n": "portal_type_dict.test_page_dict.field_dict.price.description",
"alternate_name": "price", "alternate_name": "price",
"default_value": null, "default_value": null,
...@@ -211,9 +201,7 @@ ...@@ -211,9 +201,7 @@
"type":"FloatField", "type":"FloatField",
"widget": { "widget": {
"id": "rebate", "id": "rebate",
"title": "Rebate",
"title_i18n": "portal_type_dict.test_page_dict.field_dict.rebate.title", "title_i18n": "portal_type_dict.test_page_dict.field_dict.rebate.title",
"description": "The rebate (percentage) of this product.",
"description_i18n": "portal_type_dict.test_page_dict.field_dict.rebate.description", "description_i18n": "portal_type_dict.test_page_dict.field_dict.rebate.description",
"alternate_name": "rebate", "alternate_name": "rebate",
"default_value": null, "default_value": null,
...@@ -253,9 +241,7 @@ ...@@ -253,9 +241,7 @@
"type": "StringField", "type": "StringField",
"widget": { "widget": {
"id": "section", "id": "section",
"title": "Section",
"title_i18n": "portal_type_dict.product_dict.field_dict.section.title", "title_i18n": "portal_type_dict.product_dict.field_dict.section.title",
"description": "The section this product belongs to.",
"description_i18n": "portal_type_dict.product_dict.field_dict.section.description", "description_i18n": "portal_type_dict.product_dict.field_dict.section.description",
"alternate_name": "section", "alternate_name": "section",
"default_value": null, "default_value": null,
...@@ -294,9 +280,7 @@ ...@@ -294,9 +280,7 @@
"type": "StringField", "type": "StringField",
"widget": { "widget": {
"id": "group", "id": "group",
"title": "Group",
"title_i18n": "portal_type_dict.product_dict.field_dict.group.title", "title_i18n": "portal_type_dict.product_dict.field_dict.group.title",
"description": "The group this product belongs to.",
"description_i18n": "portal_type_dict.product_dict.field_dict.group.description", "description_i18n": "portal_type_dict.product_dict.field_dict.group.description",
"alternate_name": "group", "alternate_name": "group",
"default_value": null, "default_value": null,
...@@ -335,9 +319,7 @@ ...@@ -335,9 +319,7 @@
"type": "StringField", "type": "StringField",
"widget": { "widget": {
"id": "category", "id": "category",
"title": "Category",
"title_i18n": "portal_type_dict.product_dict.field_dict.category.title", "title_i18n": "portal_type_dict.product_dict.field_dict.category.title",
"description": "The category this product belongs to.",
"description_i18n": "portal_type_dict.product_dict.field_dict.category.description", "description_i18n": "portal_type_dict.product_dict.field_dict.category.description",
"alternate_name": "category", "alternate_name": "category",
"default_value": null, "default_value": null,
...@@ -376,9 +358,7 @@ ...@@ -376,9 +358,7 @@
"type": "StringField", "type": "StringField",
"widget": { "widget": {
"id": "subject", "id": "subject",
"title": "Subject",
"title_i18n": "portal_type_dict.product_dict.field_dict.subject.title", "title_i18n": "portal_type_dict.product_dict.field_dict.subject.title",
"description": "Whether this article is a bestseller or other subject.",
"description_i18n": "portal_type_dict.product_dict.field_dict.subject.description", "description_i18n": "portal_type_dict.product_dict.field_dict.subject.description",
"alternate_name": "subject", "alternate_name": "subject",
"default_value": null, "default_value": null,
...@@ -417,9 +397,7 @@ ...@@ -417,9 +397,7 @@
"type":"DateTimeField", "type":"DateTimeField",
"widget": { "widget": {
"id": "date_created", "id": "date_created",
"title": "Creation Date",
"title_i18n": "portal_type_dict.product_dict.field_dict.date_created.title", "title_i18n": "portal_type_dict.product_dict.field_dict.date_created.title",
"description": "The date the product was created (YYYY/MM/DD).",
"description_i18n": "portal_type_dict.product_dict.field_dict.date_created.description", "description_i18n": "portal_type_dict.product_dict.field_dict.date_created.description",
"alternate_name": "date_created", "alternate_name": "date_created",
"default_value": null, "default_value": null,
...@@ -468,9 +446,7 @@ ...@@ -468,9 +446,7 @@
"type": "StringField", "type": "StringField",
"widget": { "widget": {
"id": "default_image_path", "id": "default_image_path",
"title": "Default Image Path",
"title_i18n": "portal_type_dict.product_dict.field_dict.default_image_path.title", "title_i18n": "portal_type_dict.product_dict.field_dict.default_image_path.title",
"description": "The image path for the default image.",
"description_i18n": "portal_type_dict.product_dict.field_dict.default_image_path.description", "description_i18n": "portal_type_dict.product_dict.field_dict.default_image_path.description",
"alternate_name": "default_image_path", "alternate_name": "default_image_path",
"default_value": null, "default_value": null,
...@@ -509,9 +485,7 @@ ...@@ -509,9 +485,7 @@
"type": "StringField", "type": "StringField",
"widget": { "widget": {
"id": "teaser_image_path", "id": "teaser_image_path",
"title": "Teaser Image Path",
"title_i18n": "portal_type_dict.product_dict.field_dict.teaser_image_path.title", "title_i18n": "portal_type_dict.product_dict.field_dict.teaser_image_path.title",
"description": "The image path to a teaser image.",
"description_i18n": "portal_type_dict.product_dict.field_dict.teaser_image_path.description", "description_i18n": "portal_type_dict.product_dict.field_dict.teaser_image_path.description",
"alternate_name": "teaser_image_path", "alternate_name": "teaser_image_path",
"default_value": null, "default_value": null,
...@@ -550,9 +524,7 @@ ...@@ -550,9 +524,7 @@
"type": "StringField", "type": "StringField",
"widget": { "widget": {
"id": "size_range", "id": "size_range",
"title": "Size Range",
"title_i18n": "portal_type_dict.product_dict.field_dict.size_range.title", "title_i18n": "portal_type_dict.product_dict.field_dict.size_range.title",
"description": "The size range for this product.",
"description_i18n": "portal_type_dict.product_dict.field_dict.size_range.description", "description_i18n": "portal_type_dict.product_dict.field_dict.size_range.description",
"alternate_name": "size_range", "alternate_name": "size_range",
"default_value": null, "default_value": null,
...@@ -591,9 +563,7 @@ ...@@ -591,9 +563,7 @@
"type":"MultiListField", "type":"MultiListField",
"widget": { "widget": {
"id": "variation_list", "id": "variation_list",
"title": "Activites",
"title_i18n": "portal_type_dict.person_dict.field_dict.variation_list.title", "title_i18n": "portal_type_dict.person_dict.field_dict.variation_list.title",
"description": "The variations that exist for this product.",
"description_i18n": "portal_type_dict.person_dict.field_dict.variation_list.description", "description_i18n": "portal_type_dict.person_dict.field_dict.variation_list.description",
"alternate_name": "variation_list", "alternate_name": "variation_list",
"default_value": null, "default_value": null,
...@@ -631,9 +601,7 @@ ...@@ -631,9 +601,7 @@
"type": "StringField", "type": "StringField",
"widget": { "widget": {
"id": "weight", "id": "weight",
"title": "Weight",
"title_i18n": "portal_type_dict.product_dict.field_dict.weight.title", "title_i18n": "portal_type_dict.product_dict.field_dict.weight.title",
"description": "The weight of this product.",
"description_i18n": "portal_type_dict.product_dict.field_dict.weight.description", "description_i18n": "portal_type_dict.product_dict.field_dict.weight.description",
"alternate_name": "weight", "alternate_name": "weight",
"default_value": null, "default_value": null,
...@@ -672,9 +640,7 @@ ...@@ -672,9 +640,7 @@
"type": "StringField", "type": "StringField",
"widget": { "widget": {
"id": "features", "id": "features",
"title": "Features",
"title_i18n": "portal_type_dict.product_dict.field_dict.features.title", "title_i18n": "portal_type_dict.product_dict.field_dict.features.title",
"description": "The features of a product.",
"description_i18n": "portal_type_dict.product_dict.field_dict.features.description", "description_i18n": "portal_type_dict.product_dict.field_dict.features.description",
"alternate_name": "features", "alternate_name": "features",
"default_value": null, "default_value": null,
...@@ -713,9 +679,7 @@ ...@@ -713,9 +679,7 @@
"type": "StringField", "type": "StringField",
"widget": { "widget": {
"id": "dimensions", "id": "dimensions",
"title": "Dimensions",
"title_i18n": "portal_type_dict.product_dict.field_dict.dimensions.title", "title_i18n": "portal_type_dict.product_dict.field_dict.dimensions.title",
"description": "The dimensions/measurements of a product.",
"description_i18n": "portal_type_dict.product_dict.field_dict.dimensions.description", "description_i18n": "portal_type_dict.product_dict.field_dict.dimensions.description",
"alternate_name": "dimensions", "alternate_name": "dimensions",
"default_value": null, "default_value": null,
......
...@@ -3,9 +3,7 @@ ...@@ -3,9 +3,7 @@
"type": "StringField", "type": "StringField",
"widget": { "widget": {
"id": "_id", "id": "_id",
"title": "Id",
"title_i18n": "portal_type_dict.product_individual_variation.field_dict._id.title", "title_i18n": "portal_type_dict.product_individual_variation.field_dict._id.title",
"description": "The id of this product variation.",
"description_i18n": "portal_type_dict.product_individual_variation.field_dict._id.description", "description_i18n": "portal_type_dict.product_individual_variation.field_dict._id.description",
"alternate_name": "_id", "alternate_name": "_id",
"default_value": null, "default_value": null,
...@@ -44,9 +42,7 @@ ...@@ -44,9 +42,7 @@
"type": "StringField", "type": "StringField",
"widget": { "widget": {
"id": "title", "id": "title",
"title": "Title",
"title_i18n": "portal_type_dict.product_individual_variation.field_dict.title.title", "title_i18n": "portal_type_dict.product_individual_variation.field_dict.title.title",
"description": "The title of this product variation.",
"description_i18n": "portal_type_dict.product_individual_variation.field_dict.title.description", "description_i18n": "portal_type_dict.product_individual_variation.field_dict.title.description",
"alternate_name": "title", "alternate_name": "title",
"default_value": null, "default_value": null,
...@@ -85,9 +81,7 @@ ...@@ -85,9 +81,7 @@
"type": "StringField", "type": "StringField",
"widget": { "widget": {
"id": "title_i18n", "id": "title_i18n",
"title": "Translation Pointer",
"title_i18n": "portal_type_dict.product_individual_variation.field_dict.title_i18n.title", "title_i18n": "portal_type_dict.product_individual_variation.field_dict.title_i18n.title",
"description": "The translation lookup value of this product variation.",
"description_i18n": "portal_type_dict.product_individual_variation.field_dict.title_i18n.description", "description_i18n": "portal_type_dict.product_individual_variation.field_dict.title_i18n.description",
"alternate_name": "title_i18n", "alternate_name": "title_i18n",
"default_value": null, "default_value": null,
...@@ -126,9 +120,7 @@ ...@@ -126,9 +120,7 @@
"type": "StringField", "type": "StringField",
"widget": { "widget": {
"id": "reference", "id": "reference",
"title": "Translation Pointer",
"title_i18n": "portal_type_dict.product_individual_variation.field_dict.reference.title", "title_i18n": "portal_type_dict.product_individual_variation.field_dict.reference.title",
"description": "The translation lookup value of this product variation.",
"description_i18n": "portal_type_dict.product_individual_variation.field_dict.reference.description", "description_i18n": "portal_type_dict.product_individual_variation.field_dict.reference.description",
"alternate_name": "reference", "alternate_name": "reference",
"default_value": null, "default_value": null,
...@@ -167,9 +159,7 @@ ...@@ -167,9 +159,7 @@
"type": "StringField", "type": "StringField",
"widget": { "widget": {
"id": "variation_name", "id": "variation_name",
"title": "Translation Pointer",
"title_i18n": "portal_type_dict.product_individual_variation.field_dict.variation_name.title", "title_i18n": "portal_type_dict.product_individual_variation.field_dict.variation_name.title",
"description": "The name of this product variation.",
"description_i18n": "portal_type_dict.product_individual_variation.field_dict.variation_name.description", "description_i18n": "portal_type_dict.product_individual_variation.field_dict.variation_name.description",
"alternate_name": "variation_name", "alternate_name": "variation_name",
"default_value": null, "default_value": null,
...@@ -208,9 +198,7 @@ ...@@ -208,9 +198,7 @@
"type":"MultiListField", "type":"MultiListField",
"widget": { "widget": {
"id": "image_list", "id": "image_list",
"title": "Activites",
"title_i18n": "portal_type_dict.person_dict.field_dict.image_list.title", "title_i18n": "portal_type_dict.person_dict.field_dict.image_list.title",
"description": "Activities associated with this person.",
"description_i18n": "portal_type_dict.person_dict.field_dict.image_list.description", "description_i18n": "portal_type_dict.person_dict.field_dict.image_list.description",
"alternate_name": "image_list", "alternate_name": "image_list",
"default_value": null, "default_value": null,
......
...@@ -9,7 +9,6 @@ ...@@ -9,7 +9,6 @@
"theme": "slapos-black", "theme": "slapos-black",
"add_content": 0, "add_content": 0,
"section_list":["last"], "section_list":["last"],
"title": "Personalize",
"title_i18n": "global_dict.detail_search" "title_i18n": "global_dict.detail_search"
}, },
"children":[{ "children":[{
...@@ -17,16 +16,13 @@ ...@@ -17,16 +16,13 @@
"direct": { "direct": {
"href": "#", "href": "#",
"className": "ui-panel-close ui-icon-remove ui-btn ui-btn-icon-notext ui-shadow ui-corner-all" "className": "ui-panel-close ui-icon-remove ui-btn ui-btn-icon-notext ui-shadow ui-corner-all"
}, }
"logic": {"text": "Close"}
}] }]
}, { }, {
"generate": "widget", "generate": "widget",
"type": "collapsible", "type": "collapsible",
"property_dict": { "property_dict": {
"text": "Brands",
"text_i18n": "global_dict.brands", "text_i18n": "global_dict.brands",
"title": "Click to open and select brands",
"title_i18n": "global_dict.click_brands", "title_i18n": "global_dict.click_brands",
"collapsed_icon": "caret-down", "collapsed_icon": "caret-down",
"expanded_icon": "caret-up" "expanded_icon": "caret-up"
...@@ -34,7 +30,7 @@ ...@@ -34,7 +30,7 @@
"children": [{ "children": [{
"type": "input", "type": "input",
"direct": {"id":"select_brand", "className": "translate"}, "direct": {"id":"select_brand", "className": "translate"},
"attributes": {"data-enhanced":"true", "data-inset": false, "data-i18n": "[placeholder]global_dict.filter","placeholder":"Filter", "data-icon":"search", "data-action-btn":"true", "data-type":"search", "type":"search"}, "attributes": {"data-enhanced":"true", "data-inset": false, "data-i18n": "[placeholder]global_dict.filter", "data-icon":"search", "data-action-btn":"true", "data-type":"search", "type":"search"},
"logic":{"clear":"true", "action":"search", "add_label": false} "logic":{"clear":"true", "action":"search", "add_label": false}
}, { }, {
"portal_type_source": "Portal Category", "portal_type_source": "Portal Category",
...@@ -68,9 +64,7 @@ ...@@ -68,9 +64,7 @@
"generate": "widget", "generate": "widget",
"type": "collapsible", "type": "collapsible",
"property_dict": { "property_dict": {
"text": "Categories",
"text_i18n": "global_dict.categories", "text_i18n": "global_dict.categories",
"title": "Click to open and select categories",
"title_i18n": "global_dict.click_categories", "title_i18n": "global_dict.click_categories",
"collapsed_icon": "caret-down", "collapsed_icon": "caret-down",
"expanded_icon": "caret-up" "expanded_icon": "caret-up"
...@@ -78,7 +72,7 @@ ...@@ -78,7 +72,7 @@
"children": [{ "children": [{
"type": "input", "type": "input",
"direct": {"id":"select_category", "className": "translate"}, "direct": {"id":"select_category", "className": "translate"},
"attributes": {"data-enhanced":"true", "data-inset": false, "data-i18n": "[placeholder]global_dict.filter","placeholder":"Filter", "data-icon":"search", "data-action-btn":"true", "data-type":"search", "type":"search"}, "attributes": {"data-enhanced":"true", "data-inset": false, "data-i18n": "[placeholder]global_dict.filter", "data-icon":"search", "data-action-btn":"true", "data-type":"search", "type":"search"},
"logic":{"clear":"true", "action":"search", "add_label": false} "logic":{"clear":"true", "action":"search", "add_label": false}
}, { }, {
"portal_type_source": "Portal Category", "portal_type_source": "Portal Category",
......
...@@ -9,7 +9,6 @@ ...@@ -9,7 +9,6 @@
"theme": "slapos-black", "theme": "slapos-black",
"add_content": 0, "add_content": 0,
"section_list":["last"], "section_list":["last"],
"title": "Categories",
"title_i18n": "global_dict.categories" "title_i18n": "global_dict.categories"
}, },
"children":[{ "children":[{
...@@ -17,8 +16,7 @@ ...@@ -17,8 +16,7 @@
"direct": { "direct": {
"href": "#", "href": "#",
"className": "ui-panel-close ui-icon-remove ui-btn ui-btn-icon-notext ui-shadow ui-corner-all" "className": "ui-panel-close ui-icon-remove ui-btn ui-btn-icon-notext ui-shadow ui-corner-all"
}, }
"logic": {"text": "Close"}
}] }]
}, },
{ {
......
...@@ -9,7 +9,6 @@ ...@@ -9,7 +9,6 @@
"theme": "slapos-black", "theme": "slapos-black",
"add_content": 0, "add_content": 0,
"section_list":["last"], "section_list":["last"],
"title": "Sales & Deals",
"title_i18n": "global_dict.deals" "title_i18n": "global_dict.deals"
}, },
"children":[{ "children":[{
...@@ -21,16 +20,13 @@ ...@@ -21,16 +20,13 @@
"attributes": { "attributes": {
"data-enhanced": true, "data-enhanced": true,
"data-rel": "close" "data-rel": "close"
}, }
"logic": {"text": "Close"}
}] }]
}, { }, {
"generate": "widget", "generate": "widget",
"type": "collapsible", "type": "collapsible",
"property_dict": { "property_dict": {
"text": "Sales and Deals",
"text_i18n": "global_dict.deals", "text_i18n": "global_dict.deals",
"title": "Click to open and select sales and deals",
"title_i18n": "global_dict.click_deals", "title_i18n": "global_dict.click_deals",
"collapsed_icon": "caret-down", "collapsed_icon": "caret-down",
"expanded_icon": "caret-up" "expanded_icon": "caret-up"
...@@ -44,8 +40,8 @@ ...@@ -44,8 +40,8 @@
"map_children": "listItem" "map_children": "listItem"
}, },
"children": [ "children": [
{"type": "item", "href": "#products/sales", "center": {"text": [{"type": "h1","text": "Sales", "text_i18n":"global_dict.sales"}]}, "right": {"check": true}}, {"type": "item", "href": "#products/sales", "center": {"text": [{"type": "h1","text_i18n":"global_dict.sales"}]}, "right": {"check": true}},
{"type": "item", "href": "#products/new", "center": {"text":[{"type": "h1", "text": "New Items", "text_i18n": "global_dict.new"}]}, "right": {"check": true}} {"type": "item", "href": "#products/new", "center": {"text":[{"type": "h1", "text_i18n": "global_dict.new"}]}, "right": {"check": true}}
] ]
} }
] ]
......
...@@ -8,7 +8,6 @@ ...@@ -8,7 +8,6 @@
"theme": "slapos-black", "theme": "slapos-black",
"add_content": 0, "add_content": 0,
"section_list":["last"], "section_list":["last"],
"title": "Sort by",
"title_i18n": "global_dict.sort" "title_i18n": "global_dict.sort"
}, },
"children":[{ "children":[{
...@@ -20,8 +19,7 @@ ...@@ -20,8 +19,7 @@
"attributes": { "attributes": {
"data-enhanced": true, "data-enhanced": true,
"data-rel": "close" "data-rel": "close"
}, }
"logic": {"text": "Close"}
}] }]
}, { }, {
"generate": "widget", "generate": "widget",
...@@ -31,9 +29,9 @@ ...@@ -31,9 +29,9 @@
"map_children": "listItem" "map_children": "listItem"
}, },
"children": [ "children": [
{"type": "item", "href": "#product_module::sort=date_created,descending", "center": [{"type": "h1","text": "Newest Items", "text_i18n":"global_dict.latest"}]}, {"type": "item", "href": "#product_module::sort=date_created,descending", "center": [{"type": "h1", "text_i18n":"global_dict.latest"}]},
{"type": "item", "href": "#product_module::sort=price,descending", "center": [{"type": "h1","text": "Lowest Price", "text_i18n":"global_dict.lowest"}]}, {"type": "item", "href": "#product_module::sort=price,descending", "center": [{"type": "h1","text_i18n":"global_dict.lowest"}]},
{"type": "item", "href": "#product_module::sort=price,ascending", "center": [{"type": "h1","text": "Highest Price", "text_i18n":"global_dict.highest"}]} {"type": "item", "href": "#product_module::sort=price,ascending", "center": [{"type": "h1","text_i18n":"global_dict.highest"}]}
] ]
} }
] ]
......
{ {
"global_dict": { "global_dict": {
"plus": "Plus",
"click": "Click to expand",
"8": "8", "8": "8",
"16": "16", "16": "16",
"32": "32", "32": "32",
...@@ -18,7 +20,7 @@ ...@@ -18,7 +20,7 @@
"contact": "Contact", "contact": "Contact",
"legal": "Legal", "legal": "Legal",
"scrollup": "Top", "scrollup": "Top",
"pick_country": "Select a language", "language": "Select a language",
"subscribe": "Subscribe", "subscribe": "Subscribe",
"newsletter": "Fashion Newsletter", "newsletter": "Fashion Newsletter",
"powered": "Powered by ", "powered": "Powered by ",
......
{ {
"global_dict": { "global_dict": {
"plus": "Plus",
"click": "Cliquer pour agrandir",
"8": "8", "8": "8",
"16": "16", "16": "16",
"32": "32", "32": "32",
...@@ -18,7 +20,7 @@ ...@@ -18,7 +20,7 @@
"contact": "Contact", "contact": "Contact",
"legal": "Legal", "legal": "Legal",
"scrollup": "Haut de la page", "scrollup": "Haut de la page",
"pick_country": "Selectioner une langue", "language": "Selectioner une langue",
"subscribe":"Souscrire", "subscribe":"Souscrire",
"newsletter": "Bulletin de Mode", "newsletter": "Bulletin de Mode",
"created": "Crée par ", "created": "Crée par ",
......
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