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 @@
"type": "StringField",
"widget": {
"id": "_id",
"title": "Id",
"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",
"alternate_name": "_id",
"default_value": null,
......@@ -44,9 +42,7 @@
"type": "StringField",
"widget": {
"id": "title",
"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",
"alternate_name": "title",
"default_value": null,
......@@ -85,9 +81,7 @@
"type": "StringField",
"widget": {
"id": "title_i18n",
"title": "Translation Pointer",
"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",
"alternate_name": "title_i18n",
"default_value": null,
......@@ -126,9 +120,7 @@
"type": "StringField",
"widget": {
"id": "reference",
"title": "Reference",
"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",
"alternate_name": "reference",
"default_value": null,
......@@ -167,9 +159,7 @@
"type": "ListField",
"widget": {
"id": "sub_category_list",
"title": "Child Category List",
"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",
"alternate_name": "sub_category_list",
"default_value": null,
......@@ -208,9 +198,7 @@
"type": "ListField",
"widget": {
"id": "parent_category_list",
"title": "Parent Category List",
"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",
"alternate_name": "parent_category_list",
"default_value": null,
......
......@@ -62,8 +62,8 @@
"direction": "horizontal"
},
"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": "#basket", "className": "responsive translate"}, "attributes": {"data-i18n": "global_dict.basket", "data-icon": "shopping-cart"}, "logic": {"text": "Basket"}}
{"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"}}
]
}, {
"generate": "widget",
......@@ -90,7 +90,7 @@
"direction": "horizontal"
},
"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",
......@@ -99,9 +99,9 @@
"direction": "horizontal"
},
"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_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_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_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"}},
{"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 @@
"theme": "slapos-black",
"add_content": 0,
"section_list":["last"],
"title": "Your Account",
"title_i18n": "global_dict.account"
},
"children":[{
......@@ -145,8 +144,7 @@
"attributes": {
"data-enhanced": true,
"data-rel": "close"
},
"logic": {"text": "Close"}
}
}]
}]
}, {
......@@ -160,7 +158,7 @@
"generate": "widget",
"type": "controlbar",
"property_dict": {
"class_list": "responsive"
"class_list": "span_2"
},
"children": [{
"generate": "widget",
......@@ -173,9 +171,16 @@
"public_key": "6Ldpb-oSAAAAAGwriKpk4ol1n4yjN_as6M4xv0zA"
},
"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",
"type": "controlgroup",
"property_dict": {
......@@ -189,33 +194,33 @@
}]
}, {
"generate": "widget",
"type": "form",
"type": "controlbar",
"property_dict": {
"class_list": "span_1"
},
"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"}]}},
{"type":"input", "direct": {"className": "ui-hidden-accessible"}, "attributes": {"type": "submit"}, "logic": {}}
]
}, {
"type": "p",
"direct": {"className": "italic small center faint"},
"children": [
{"type": "span", "direct": {"className": "translate"}, "attributes": {"data-i18n": "global_dict.created"}, "logic": {"text": "Created by "}},
{"type": "a", "direct": {"href": "http://www.nexedi.com", "className": "ui-link"}, "attributes": {"rel": "external"}, "logic": {"text": "Nexedi", "plain_link": true}},
{"type": "span", "logic": {"text": " - "}},
{"type": "span", "direct": {"className": "translate"}, "attributes": {"data-i18n": "global_dict.powered"}, "logic": {"text": "Powered by "}},
{"type": "a", "direct": {"href": "http://www.erp5.com", "className": "ui-link"}, "attributes": {"rel": "external"}, "logic": {"text": "ERP5", "plain_link": true}}
]
"children": [{
"generate": "widget",
"type": "form",
"property_dict": {
"class_list": "responsive",
"editable": true,
"secure": "default",
"secret_hash": "foo",
"public_key": "6Ldpb-oSAAAAAGwriKpk4ol1n4yjN_as6M4xv0zA"
},
"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_i18n": "global_dict.language", "options": [{"value": "en-EN", "text_i18n":"global_dict.english", "selected": true}, {"value": "fr-FR", "text_i18n":"global_dict.french"}]}
}]
}]
}, {
"generate": "widget",
"type": "navbar",
"children": [
{"type": "a", "direct": {"href": "#contact", "className": "translate"}, "attributes": {"data-i18n": "global_dict.contact"}, "logic": {"text":"Contact"}},
{"type": "a", "direct": {"href": "#legal", "className": "translate"}, "attributes": {"data-i18n": "global_dict.legal"}, "logic": {"text": "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"}}
]
{"type": "a", "direct": {"href": "#", "className": "translate"}, "attributes": {"data-i18n": "global_dict.contact"}},
{"type": "a", "direct": {"href": "#", "className": "translate"}, "attributes": {"data-i18n": "global_dict.legal"}}
]
}]
}]
}
]
......@@ -8,7 +8,7 @@
{
"type": "img",
"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 @@
}, {
"type": "p",
"direct": {"className": "translate"},
"attributes": {"data-i18n": "global_dict.sign_in"},
"logic": {"text": "Sign in using"}
"attributes": {"data-i18n": "global_dict.sign_in"}
}, {
"generate": "widget",
"type": "controlgroup",
......@@ -29,13 +28,11 @@
}, {
"type": "p",
"direct": {"className": "translate"},
"attributes": {"data-i18n": "global_dict.classic_login"},
"logic": {"text": "Or use the default login form"}
"attributes": {"data-i18n": "global_dict.classic_login"}
}, {
"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"},
"attributes": {"data-i18n": "global_dict.classic_slapos"},
"logic": {"text": "Login/Password"}
"attributes": {"data-i18n": "global_dict.classic_slapos"}
}
]
}
......
This diff is collapsed.
......@@ -7,12 +7,10 @@
"property_dict": {
"initial_query_url_identifier": "_id",
"no_items": {
"message": "No person found",
"message_i18n": "portal_type_dict.person_dict.text_dict.nodata",
"children": [
{
"href": "#person_module/new",
"text": "Create person",
"text_i18n": "page_dict.person.create",
"class_list": "translate ui-btn-slapos-black",
"icon": "edit"
......@@ -62,7 +60,7 @@
"direction": "horizontal"
},
"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 @@
"type": "StringField",
"widget": {
"id": "_id",
"title": "Id",
"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",
"alternate_name": "_id",
"default_value": null,
......@@ -44,9 +42,7 @@
"type": "StringField",
"widget": {
"id": "brand",
"title": "Brand",
"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",
"alternate_name": "brand",
"default_value": null,
......@@ -85,9 +81,7 @@
"type": "StringField",
"widget": {
"id": "short_description",
"title": "Short Description",
"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",
"alternate_name": "short_description",
"default_value": null,
......@@ -126,9 +120,7 @@
"type": "StringField",
"widget": {
"id": "long_description",
"title": "Short Description",
"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",
"alternate_name": "long_description",
"default_value": null,
......@@ -167,9 +159,7 @@
"type":"IntegerField",
"widget": {
"id": "price",
"title": "Price",
"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",
"alternate_name": "price",
"default_value": null,
......@@ -211,9 +201,7 @@
"type":"FloatField",
"widget": {
"id": "rebate",
"title": "Rebate",
"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",
"alternate_name": "rebate",
"default_value": null,
......@@ -253,9 +241,7 @@
"type": "StringField",
"widget": {
"id": "section",
"title": "Section",
"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",
"alternate_name": "section",
"default_value": null,
......@@ -294,9 +280,7 @@
"type": "StringField",
"widget": {
"id": "group",
"title": "Group",
"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",
"alternate_name": "group",
"default_value": null,
......@@ -335,9 +319,7 @@
"type": "StringField",
"widget": {
"id": "category",
"title": "Category",
"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",
"alternate_name": "category",
"default_value": null,
......@@ -376,9 +358,7 @@
"type": "StringField",
"widget": {
"id": "subject",
"title": "Subject",
"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",
"alternate_name": "subject",
"default_value": null,
......@@ -417,9 +397,7 @@
"type":"DateTimeField",
"widget": {
"id": "date_created",
"title": "Creation Date",
"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",
"alternate_name": "date_created",
"default_value": null,
......@@ -468,9 +446,7 @@
"type": "StringField",
"widget": {
"id": "default_image_path",
"title": "Default Image Path",
"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",
"alternate_name": "default_image_path",
"default_value": null,
......@@ -509,9 +485,7 @@
"type": "StringField",
"widget": {
"id": "teaser_image_path",
"title": "Teaser Image Path",
"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",
"alternate_name": "teaser_image_path",
"default_value": null,
......@@ -550,9 +524,7 @@
"type": "StringField",
"widget": {
"id": "size_range",
"title": "Size Range",
"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",
"alternate_name": "size_range",
"default_value": null,
......@@ -591,9 +563,7 @@
"type":"MultiListField",
"widget": {
"id": "variation_list",
"title": "Activites",
"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",
"alternate_name": "variation_list",
"default_value": null,
......@@ -631,9 +601,7 @@
"type": "StringField",
"widget": {
"id": "weight",
"title": "Weight",
"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",
"alternate_name": "weight",
"default_value": null,
......@@ -672,9 +640,7 @@
"type": "StringField",
"widget": {
"id": "features",
"title": "Features",
"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",
"alternate_name": "features",
"default_value": null,
......@@ -713,9 +679,7 @@
"type": "StringField",
"widget": {
"id": "dimensions",
"title": "Dimensions",
"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",
"alternate_name": "dimensions",
"default_value": null,
......
......@@ -3,9 +3,7 @@
"type": "StringField",
"widget": {
"id": "_id",
"title": "Id",
"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",
"alternate_name": "_id",
"default_value": null,
......@@ -44,9 +42,7 @@
"type": "StringField",
"widget": {
"id": "title",
"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",
"alternate_name": "title",
"default_value": null,
......@@ -85,9 +81,7 @@
"type": "StringField",
"widget": {
"id": "title_i18n",
"title": "Translation Pointer",
"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",
"alternate_name": "title_i18n",
"default_value": null,
......@@ -126,9 +120,7 @@
"type": "StringField",
"widget": {
"id": "reference",
"title": "Translation Pointer",
"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",
"alternate_name": "reference",
"default_value": null,
......@@ -167,9 +159,7 @@
"type": "StringField",
"widget": {
"id": "variation_name",
"title": "Translation Pointer",
"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",
"alternate_name": "variation_name",
"default_value": null,
......@@ -208,9 +198,7 @@
"type":"MultiListField",
"widget": {
"id": "image_list",
"title": "Activites",
"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",
"alternate_name": "image_list",
"default_value": null,
......
......@@ -9,7 +9,6 @@
"theme": "slapos-black",
"add_content": 0,
"section_list":["last"],
"title": "Personalize",
"title_i18n": "global_dict.detail_search"
},
"children":[{
......@@ -17,16 +16,13 @@
"direct": {
"href": "#",
"className": "ui-panel-close ui-icon-remove ui-btn ui-btn-icon-notext ui-shadow ui-corner-all"
},
"logic": {"text": "Close"}
}
}]
}, {
"generate": "widget",
"type": "collapsible",
"property_dict": {
"text": "Brands",
"text_i18n": "global_dict.brands",
"title": "Click to open and select brands",
"title_i18n": "global_dict.click_brands",
"collapsed_icon": "caret-down",
"expanded_icon": "caret-up"
......@@ -34,7 +30,7 @@
"children": [{
"type": "input",
"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}
}, {
"portal_type_source": "Portal Category",
......@@ -68,9 +64,7 @@
"generate": "widget",
"type": "collapsible",
"property_dict": {
"text": "Categories",
"text_i18n": "global_dict.categories",
"title": "Click to open and select categories",
"title_i18n": "global_dict.click_categories",
"collapsed_icon": "caret-down",
"expanded_icon": "caret-up"
......@@ -78,7 +72,7 @@
"children": [{
"type": "input",
"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}
}, {
"portal_type_source": "Portal Category",
......
......@@ -9,7 +9,6 @@
"theme": "slapos-black",
"add_content": 0,
"section_list":["last"],
"title": "Categories",
"title_i18n": "global_dict.categories"
},
"children":[{
......@@ -17,8 +16,7 @@
"direct": {
"href": "#",
"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 @@
"theme": "slapos-black",
"add_content": 0,
"section_list":["last"],
"title": "Sales & Deals",
"title_i18n": "global_dict.deals"
},
"children":[{
......@@ -21,16 +20,13 @@
"attributes": {
"data-enhanced": true,
"data-rel": "close"
},
"logic": {"text": "Close"}
}
}]
}, {
"generate": "widget",
"type": "collapsible",
"property_dict": {
"text": "Sales and Deals",
"text_i18n": "global_dict.deals",
"title": "Click to open and select sales and deals",
"title_i18n": "global_dict.click_deals",
"collapsed_icon": "caret-down",
"expanded_icon": "caret-up"
......@@ -44,8 +40,8 @@
"map_children": "listItem"
},
"children": [
{"type": "item", "href": "#products/sales", "center": {"text": [{"type": "h1","text": "Sales", "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/sales", "center": {"text": [{"type": "h1","text_i18n":"global_dict.sales"}]}, "right": {"check": true}},
{"type": "item", "href": "#products/new", "center": {"text":[{"type": "h1", "text_i18n": "global_dict.new"}]}, "right": {"check": true}}
]
}
]
......
......@@ -8,7 +8,6 @@
"theme": "slapos-black",
"add_content": 0,
"section_list":["last"],
"title": "Sort by",
"title_i18n": "global_dict.sort"
},
"children":[{
......@@ -20,8 +19,7 @@
"attributes": {
"data-enhanced": true,
"data-rel": "close"
},
"logic": {"text": "Close"}
}
}]
}, {
"generate": "widget",
......@@ -31,9 +29,9 @@
"map_children": "listItem"
},
"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=price,descending", "center": [{"type": "h1","text": "Lowest Price", "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=date_created,descending", "center": [{"type": "h1", "text_i18n":"global_dict.latest"}]},
{"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_i18n":"global_dict.highest"}]}
]
}
]
......
{
"global_dict": {
"plus": "Plus",
"click": "Click to expand",
"8": "8",
"16": "16",
"32": "32",
......@@ -18,7 +20,7 @@
"contact": "Contact",
"legal": "Legal",
"scrollup": "Top",
"pick_country": "Select a language",
"language": "Select a language",
"subscribe": "Subscribe",
"newsletter": "Fashion Newsletter",
"powered": "Powered by ",
......
{
"global_dict": {
"plus": "Plus",
"click": "Cliquer pour agrandir",
"8": "8",
"16": "16",
"32": "32",
......@@ -18,7 +20,7 @@
"contact": "Contact",
"legal": "Legal",
"scrollup": "Haut de la page",
"pick_country": "Selectioner une langue",
"language": "Selectioner une langue",
"subscribe":"Souscrire",
"newsletter": "Bulletin de Mode",
"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