Commit a43db239 authored by Sven Franck's avatar Sven Franck

updated JSON config to support i18n

parent eeae0de2
...@@ -4,9 +4,9 @@ ...@@ -4,9 +4,9 @@
"widget": { "widget": {
"id": "applications_href", "id": "applications_href",
"title": "URL", "title": "URL",
"title_i18n": "", "title_i18n": "applications.field_list.href.title",
"description": "The URL an application will be fetched from", "description": "The URL an application will be fetched from.",
"description_i18n": "", "description_i18n": "applications.field_list.href.description",
"alternate_name": "applications_href", "alternate_name": "applications_href",
"default": null, "default": null,
"css_class": "url", "css_class": "url",
...@@ -28,15 +28,15 @@ ...@@ -28,15 +28,15 @@
"message": { "message": {
"external_validator_failed": { "external_validator_failed": {
"message": "The input failed the external validator.", "message": "The input failed the external validator.",
"i18n": "" "i18n": "validation.fail.external"
}, },
"required_not_found": { "required_not_found": {
"message": "Input required but not found.", "message": "Input required but not found.",
"i18n": "" "i18n": "validation.fail.required"
}, },
"too_long": { "too_long": {
"message": "Too much input give.", "message": "Too much input given.",
"i18n": "" "i18n": "validation.fail.too_much_input"
} }
} }
}, },
...@@ -45,9 +45,9 @@ ...@@ -45,9 +45,9 @@
"widget": { "widget": {
"id": "applications_description", "id": "applications_description",
"title": "Description", "title": "Description",
"title_i18n": "", "title_i18n": "applications.field_list.description.title",
"description": "Description of the application", "description": "The description of the application.",
"description_i18n": "", "description_i18n": "applications.field_list.description.description",
"default": null, "default": null,
"alternate_name": "applications_description", "alternate_name": "applications_description",
"css_class": null, "css_class": null,
...@@ -70,23 +70,23 @@ ...@@ -70,23 +70,23 @@
"message": { "message": {
"external_validator_failed": { "external_validator_failed": {
"message": "The input failed the external validator.", "message": "The input failed the external validator.",
"i18n": "" "i18n": "validation.fail.external"
}, },
"required_not_found": { "required_not_found": {
"message": "Input required but not found", "message": "Input required but not found.",
"i18n": "" "i18n": "validation.fail.required"
}, },
"too_many_lines": { "too_many_lines": {
"message": "You entered too many lines", "message": "You have entered too many lines.",
"i18n": "" "i18n": "validation.fail.too_many_lines"
}, },
"line_too_long": { "line_too_long": {
"message": "A line was too long", "message": "One or more lines you have entered are too long.",
"i18n": "" "i18n": "validation.fail.too_long_lines"
}, },
"too_long": { "too_long": {
"message": "You entered too many characters.", "message": "You have entered too many characters.",
"i18n": "" "i18n": "validation.fail.too_many_chars"
} }
} }
}, },
...@@ -95,9 +95,9 @@ ...@@ -95,9 +95,9 @@
"widget": { "widget": {
"id": "applications_submitted", "id": "applications_submitted",
"title": "Submission Date", "title": "Submission Date",
"title_i18n": "", "title_i18n": "applications.field_list.time_stamp_submitted.title",
"description": "Date the application was submitted", "description": "Date the application was submitted.",
"description_i18n": "", "description_i18n": "applications.field_list.time_stamp_submitted.description",
"alternate_name": "applications_submitted", "alternate_name": "applications_submitted",
"default": null, "default": null,
"css_class": null, "css_class": null,
...@@ -125,19 +125,19 @@ ...@@ -125,19 +125,19 @@
"message": { "message": {
"external_validator_failed": { "external_validator_failed": {
"message": "The input failed the external validator.", "message": "The input failed the external validator.",
"i18n": "" "i18n": "validation.fail.external"
}, },
"required_not_found": { "required_not_found": {
"message": "Input required but not found.", "message": "Input required but not found.",
"i18n": "" "i18n": "validation.fail.required"
}, },
"not_datetime": { "not_datetime": {
"message": "You did not enter a valid datetime", "message": "You did not enter a valid datetime",
"i18n": "" "i18n": "validation.fail.not_valid_datetime"
}, },
"datetime_out_of_range": { "datetime_out_of_range": {
"message": "The date and time you entered are out of range", "message": "The date and time you entered are out of range",
"i18n":"" "i18n":"validation.fail.out_of_range_datetime"
} }
} }
}, },
...@@ -146,9 +146,9 @@ ...@@ -146,9 +146,9 @@
"widget": { "widget": {
"id": "applications_published", "id": "applications_published",
"title": "Submission Date", "title": "Submission Date",
"title_i18n": "", "title_i18n": "applications.field_list.time_stamp_published.title",
"description": "Date the application was published", "description": "Date the application was published.",
"description_i18n": "", "description_i18n": "applications.field_list.time_stamp_published.description",
"alternate_name": "applications_published", "alternate_name": "applications_published",
"default": null, "default": null,
"css_class": null, "css_class": null,
...@@ -176,19 +176,19 @@ ...@@ -176,19 +176,19 @@
"message": { "message": {
"external_validator_failed": { "external_validator_failed": {
"message": "The input failed the external validator.", "message": "The input failed the external validator.",
"i18n": "" "i18n": "validation.fail.external"
}, },
"required_not_found": { "required_not_found": {
"message": "Input required but not found.", "message": "Input required but not found.",
"i18n": "" "i18n": "validation.fail.required"
}, },
"not_datetime": { "not_datetime": {
"message": "You did not enter a valid datetime", "message": "You did not enter a valid datetime",
"i18n": "" "i18n": "validation.fail.not_valid_datetime"
}, },
"datetime_out_of_range": { "datetime_out_of_range": {
"message": "The date and time you entered are out of range", "message": "The date and time you entered are out of range",
"i18n":"" "i18n": "validation.fail.out_of_range_datetime"
} }
} }
}, },
...@@ -196,10 +196,10 @@ ...@@ -196,10 +196,10 @@
"type":"CheckboxField", "type":"CheckboxField",
"widget": { "widget": {
"id": "applications_toc_accept", "id": "applications_toc_accept",
"title": "I accept the terms and conditions of officeJS apps", "title": "I accept the terms and conditions of officeJS apps.",
"title_i18n": "", "title_i18n": "applications.field_list.terms_accept.title",
"description": "The submittor accepted terms and conditions", "description": "Please confirm our terms and conditions to continue.",
"description_i18n": "", "description_i18n": "applications.field_list.terms_accept.description",
"alternate_name": "applications_toc_accept", "alternate_name": "applications_toc_accept",
"default": null, "default": null,
"css_class": null, "css_class": null,
...@@ -215,15 +215,15 @@ ...@@ -215,15 +215,15 @@
"message": { "message": {
"external_validator_failed": { "external_validator_failed": {
"message": "The input failed the external validator.", "message": "The input failed the external validator.",
"i18n": "" "i18n": "validation.fail.external"
}, },
"required_not_found": { "required_not_found": {
"message": "Input required but not found.", "message": "Input required but not found.",
"i18n": "" "i18n": "validation.fail.required"
}, },
"too_long": { "too_long": {
"message": "Too much input give.", "message": "Too much input give.",
"i18n": "" "i18n": "validation.fail.too_much_input"
} }
} }
}, },
...@@ -232,9 +232,9 @@ ...@@ -232,9 +232,9 @@
"widget": { "widget": {
"id": "applications_image_url", "id": "applications_image_url",
"title": "Image", "title": "Image",
"title_i18n": "", "title_i18n": "applications.field_list.image_url.title",
"description": "The icon for this application", "description": "The icon/image for this application.",
"description_i18n": "", "description_i18n": "applications.field_list.image_url.description",
"alternate_name": "applications_image_url", "alternate_name": "applications_image_url",
"default": null, "default": null,
"css_class": null, "css_class": null,
...@@ -260,15 +260,15 @@ ...@@ -260,15 +260,15 @@
"message": { "message": {
"external_validator_failed": { "external_validator_failed": {
"message": "The input failed the external validator.", "message": "The input failed the external validator.",
"i18n": "" "i18n": "validation.fail.external"
}, },
"required_not_found": { "required_not_found": {
"message": "Input required but not found.", "message": "Input required but not found.",
"i18n": "" "i18n": "validation.fail.required"
}, },
"too_long": { "too_long": {
"message": "Too much input give.", "message": "Too much input give.",
"i18n": "" "i18n": "validation.fail.too_much_input"
} }
} }
}, },
...@@ -277,9 +277,9 @@ ...@@ -277,9 +277,9 @@
"widget": { "widget": {
"id": "applications_image_type", "id": "applications_image_type",
"title": "Type", "title": "Type",
"title_i18n": "", "title_i18n": "applications.field_list.image_type.title",
"description": "The type of image (image, icon...?)", "description": "Type of Image (Icon/Image).",
"description_i18n": "", "description_i18n": "applications.field_list.image_type.description",
"alternate_name": "applications_image_type", "alternate_name": "applications_image_type",
"default": null, "default": null,
"css_class": null, "css_class": null,
...@@ -301,15 +301,15 @@ ...@@ -301,15 +301,15 @@
"message": { "message": {
"external_validator_failed": { "external_validator_failed": {
"message": "The input failed the external validator.", "message": "The input failed the external validator.",
"i18n": "" "i18n": "validation.fail.external"
}, },
"required_not_found": { "required_not_found": {
"message": "Input required but not found.", "message": "Input required but not found.",
"i18n": "" "i18n": "validation.fail.required"
}, },
"too_long": { "too_long": {
"message": "Too much input give.", "message": "Too much input give.",
"i18n": "" "i18n": "validation.fail.too_much_input"
} }
} }
}, },
...@@ -318,9 +318,9 @@ ...@@ -318,9 +318,9 @@
"widget": { "widget": {
"id": "applications_title", "id": "applications_title",
"title": "Title", "title": "Title",
"title_i18n": "", "title_i18n": "applications.field_list.title.title",
"description": "The title of the application", "description": "The name of the application.",
"description_i18n": "", "description_i18n": "applications.field_list.title.description",
"alternate_name": "applications_title", "alternate_name": "applications_title",
"default": null, "default": null,
"css_class": null, "css_class": null,
...@@ -342,15 +342,15 @@ ...@@ -342,15 +342,15 @@
"message": { "message": {
"external_validator_failed": { "external_validator_failed": {
"message": "The input failed the external validator.", "message": "The input failed the external validator.",
"i18n": "" "i18n": "validation.fail.external"
}, },
"required_not_found": { "required_not_found": {
"message": "Input required but not found.", "message": "Input required but not found.",
"i18n": "" "i18n": "validation.fail.required"
}, },
"too_long": { "too_long": {
"message": "Too much input give.", "message": "Too much input give.",
"i18n": "" "i18n": "validation.fail.too_much_input"
} }
} }
}, },
...@@ -359,10 +359,10 @@ ...@@ -359,10 +359,10 @@
"widget": { "widget": {
"id": "application_category", "id": "application_category",
"alternate_name": "application_category", "alternate_name": "application_category",
"title": "Currency", "title": "Category",
"title_i18n": "", "title_i18n": "applications.field_list.category.title",
"description": "The category of the application", "description": "The category of the application.",
"description_i18n": "", "description_i18n": "applications.field_list.category.description",
"default": null, "default": null,
"css_class": null, "css_class": null,
"hidden": false, "hidden": false,
...@@ -383,15 +383,15 @@ ...@@ -383,15 +383,15 @@
"messages": { "messages": {
"external_validator_failed": { "external_validator_failed": {
"message": "The input failed the external validator.", "message": "The input failed the external validator.",
"i18n": "" "i18n": "validation.fail.external"
}, },
"required_not_found": { "required_not_found": {
"message": "Input is required but no input given.", "message": "Input is required but no input given.",
"i18n": "" "i18n": "validation.fail.required"
}, },
"unknown_selection": { "unknown_selection": {
"message":"You selected on option not on the menu", "message":"You selected on option not on the menu.",
"i18n": "" "i18n": "validation.fail.option_not_available"
} }
} }
}, },
...@@ -400,9 +400,9 @@ ...@@ -400,9 +400,9 @@
"widget": { "widget": {
"id": "applications_image_upload", "id": "applications_image_upload",
"title": "Type", "title": "Type",
"title_i18n": "", "title_i18n": "applications.field_list.upload.title",
"description": "The type of image (image, icon...?)", "description": "Please upload your image here.",
"description_i18n": "", "description_i18n": "applications.field_list.upload.description",
"alternate_name": "applications_image_upload", "alternate_name": "applications_image_upload",
"default": null, "default": null,
"css_class": null, "css_class": null,
...@@ -420,15 +420,15 @@ ...@@ -420,15 +420,15 @@
"message": { "message": {
"external_validator_failed": { "external_validator_failed": {
"message": "The input failed the external validator.", "message": "The input failed the external validator.",
"i18n": "" "i18n": "validation.fail.external"
}, },
"required_not_found": { "required_not_found": {
"message": "Input required but not found.", "message": "Input required but not found.",
"i18n": "" "i18n": "validation.fail.required"
}, },
"too_long": { "too_long": {
"message": "Too much input give.", "message": "Too much input given.",
"i18n": "" "i18n": "validation.fail.too_much_input"
} }
} }
} }
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
"theme": "slapos-white", "theme": "slapos-white",
"class_list": null, "class_list": null,
"title": "Submit Your App", "title": "Submit Your App",
"title_i18n": null, "title_i18n": "pages.submit.title",
"children": [{"generate": "gadget", "type": "fieldlist", "id": "submit_apps"}] "children": [{"generate": "gadget", "type": "fieldlist", "id": "submit_apps"}]
} }
] ]
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
"children": [{ "children": [{
"type": "p", "type": "p",
"direct": {"className": "translate ui-content-element responsive"}, "direct": {"className": "translate ui-content-element responsive"},
"attributes": {"data-i18n":""}, "attributes": {"data-i18n":"pages.home.info_officejs"},
"logic": {"text": "OfficeJS is the only appstore compatible with Windows, MacOS, Android, Firefox OS, Linux, XiaomiOS, Bada, Tizen etc. Start browsing and using available applications. No login required."} "logic": {"text": "OfficeJS is the only appstore compatible with Windows, MacOS, Android, Firefox OS, Linux, XiaomiOS, Bada, Tizen etc. Start browsing and using available applications. No login required."}
}, { }, {
"generate":"widget", "generate":"widget",
......
...@@ -4,9 +4,9 @@ ...@@ -4,9 +4,9 @@
"widget": { "widget": {
"id": "category_title", "id": "category_title",
"title": "Title", "title": "Title",
"title_i18n": "", "title_i18n": "categories.field_list.title.title",
"description": "The name of a category", "description": "The name of a category.",
"description_i18n": "", "description_i18n": "categories.field_list.title.description",
"alternate_name": "category_title", "alternate_name": "category_title",
"default": null, "default": null,
"css_class": null, "css_class": null,
...@@ -28,15 +28,15 @@ ...@@ -28,15 +28,15 @@
"message": { "message": {
"external_validator_failed": { "external_validator_failed": {
"message": "The input failed the external validator.", "message": "The input failed the external validator.",
"i18n": "" "i18n": "validation.fail.external"
}, },
"required_not_found": { "required_not_found": {
"message": "Input required but not found.", "message": "Input required but not found.",
"i18n": "" "i18n": "validation.fail.required"
}, },
"too_long": { "too_long": {
"message": "Too much input give.", "message": "Too much input give.",
"i18n": "" "i18n": "validation.fail.too_much_input"
} }
} }
}, },
...@@ -45,9 +45,9 @@ ...@@ -45,9 +45,9 @@
"widget": { "widget": {
"id": "category_underlying_portal_type", "id": "category_underlying_portal_type",
"title": "Reference Portal Type", "title": "Reference Portal Type",
"title_i18n": "", "title_i18n": "categories.field_list.portal_type.title",
"description": "The portal_type this category was made for", "description": "The portal_type this category was generated for.",
"description_i18n": "", "description_i18n": "categories.field_list.portal_type.description",
"alternate_name": "category_underlying_portal_type", "alternate_name": "category_underlying_portal_type",
"default": null, "default": null,
"css_class": null, "css_class": null,
...@@ -69,15 +69,15 @@ ...@@ -69,15 +69,15 @@
"message": { "message": {
"external_validator_failed": { "external_validator_failed": {
"message": "The input failed the external validator.", "message": "The input failed the external validator.",
"i18n": "" "i18n": "validation.fail.external"
}, },
"required_not_found": { "required_not_found": {
"message": "Input required but not found.", "message": "Input required but not found.",
"i18n": "" "i18n": "validation.fail.required"
}, },
"too_long": { "too_long": {
"message": "Too much input give.", "message": "Too much input give.",
"i18n": "" "i18n": "validation.fail.too_much_input"
} }
} }
}, },
...@@ -86,9 +86,9 @@ ...@@ -86,9 +86,9 @@
"widget": { "widget": {
"id": "category_description", "id": "category_description",
"title": "Description", "title": "Description",
"title_i18n": "", "title_i18n": "categories.field_list.description.title",
"description": "The description of a category", "description": "The description of a category",
"description_i18n": "", "description_i18n": "categories.field_list.description.description",
"alternate_name": "category_description", "alternate_name": "category_description",
"default": null, "default": null,
"css_class": null, "css_class": null,
...@@ -110,15 +110,15 @@ ...@@ -110,15 +110,15 @@
"message": { "message": {
"external_validator_failed": { "external_validator_failed": {
"message": "The input failed the external validator.", "message": "The input failed the external validator.",
"i18n": "" "i18n": "validation.fail.external"
}, },
"required_not_found": { "required_not_found": {
"message": "Input required but not found.", "message": "Input required but not found.",
"i18n": "" "i18n": "validation.fail.required"
}, },
"too_long": { "too_long": {
"message": "Too much input give.", "message": "Too much input give.",
"i18n": "" "i18n": "validation.fail.too_much_input"
} }
} }
}, },
...@@ -127,9 +127,9 @@ ...@@ -127,9 +127,9 @@
"widget": { "widget": {
"id": "category_image_url", "id": "category_image_url",
"title": "Image", "title": "Image",
"title_i18n": "", "title_i18n": "categories.field_list.image_url.title",
"description": "The image associated with a category", "description": "The image associated with this category.",
"description_i18n": "", "description_i18n": "categories.field_list.image_url.description",
"alternate_name": "category_image_url", "alternate_name": "category_image_url",
"default": null, "default": null,
"css_class": null, "css_class": null,
...@@ -155,15 +155,15 @@ ...@@ -155,15 +155,15 @@
"message": { "message": {
"external_validator_failed": { "external_validator_failed": {
"message": "The input failed the external validator.", "message": "The input failed the external validator.",
"i18n": "" "i18n": "validation.fail.external"
}, },
"required_not_found": { "required_not_found": {
"message": "Input required but not found.", "message": "Input required but not found.",
"i18n": "" "i18n": "validation.fail.required"
}, },
"too_long": { "too_long": {
"message": "Too much input give.", "message": "Too much input give.",
"i18n": "" "i18n": "validation.fail.too_much_input"
} }
} }
}, },
...@@ -172,9 +172,9 @@ ...@@ -172,9 +172,9 @@
"widget": { "widget": {
"id": "category_image_type", "id": "category_image_type",
"title": "Type", "title": "Type",
"title_i18n": "", "title_i18n": "categories.field_list.image_type.title",
"description": "The type of image (image, icon...?)", "description": "The type of image (image, icon...?).",
"description_i18n": "", "description_i18n": "categories.field_list.image_type.description",
"alternate_name": "category_image_type", "alternate_name": "category_image_type",
"default": null, "default": null,
"css_class": null, "css_class": null,
...@@ -196,15 +196,15 @@ ...@@ -196,15 +196,15 @@
"message": { "message": {
"external_validator_failed": { "external_validator_failed": {
"message": "The input failed the external validator.", "message": "The input failed the external validator.",
"i18n": "" "i18n": "validation.fail.external"
}, },
"required_not_found": { "required_not_found": {
"message": "Input required but not found.", "message": "Input required but not found.",
"i18n": "" "i18n": "validation.fail.required"
}, },
"too_long": { "too_long": {
"message": "Too much input give.", "message": "Too much input give.",
"i18n": "" "i18n": "validation.fail.too_much_input"
} }
} }
}, },
...@@ -213,9 +213,9 @@ ...@@ -213,9 +213,9 @@
"widget": { "widget": {
"id": "category_href", "id": "category_href",
"title": "URL parameter", "title": "URL parameter",
"title_i18n": "", "title_i18n": "categories.field_list.url_parameter.title",
"description": "URL parameter to be used for this category", "description": "URL parameter to be used for this category.",
"description_i18n": "", "description_i18n": "categories.field_list.url_parameter.description",
"alternate_name": "category_href", "alternate_name": "category_href",
"default": null, "default": null,
"css_class": null, "css_class": null,
...@@ -237,15 +237,15 @@ ...@@ -237,15 +237,15 @@
"message": { "message": {
"external_validator_failed": { "external_validator_failed": {
"message": "The input failed the external validator.", "message": "The input failed the external validator.",
"i18n": "" "i18n": "validation.fail.external"
}, },
"required_not_found": { "required_not_found": {
"message": "Input required but not found.", "message": "Input required but not found.",
"i18n": "" "i18n": "validation.fail.required"
}, },
"too_long": { "too_long": {
"message": "Too much input give.", "message": "Too much input give.",
"i18n": "" "i18n": "validation.fail.too_much_input"
} }
} }
} }
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
"theme": "slapos-white", "theme": "slapos-white",
"class_list": null, "class_list": null,
"title": "Contacts Apps", "title": "Contacts Apps",
"title_i18n": null, "title_i18n": "pages.contacts.title",
"children": [{"generate": "gadget", "type": "listgrid", "id": "contacts_apps"}] "children": [{"generate": "gadget", "type": "listgrid", "id": "contacts_apps"}]
} }
] ]
\ No newline at end of file
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
"children": [{ "children": [{
"type": "input", "type": "input",
"direct": {"id":"search_contacts_apps"}, "direct": {"id":"search_contacts_apps"},
"attributes": {"data-enhanced":"true", "data-i18n": "","placeholder":"Search Contacts Apps", "data-icon":"search", "data-action-btn":"true", "data-type":"search", "type":"search"}, "attributes": {"data-enhanced":"true", "data-i18n": "[placeholder]pages.contacts.search","placeholder":"Search Contacts Apps", "data-icon":"search", "data-action-btn":"true", "data-type":"search", "type":"search"},
"logic":{"clear":"true", "action":"search"} "logic":{"clear":"true", "action":"search"}
},{ },{
"type": "div", "type": "div",
...@@ -43,11 +43,11 @@ ...@@ -43,11 +43,11 @@
"direction": "horizontal" "direction": "horizontal"
}, },
"children": [ "children": [
{"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"", "data-action":"first", "data-icon":"step-backward", "data-iconpos":"notext"}, "logic": {"text":"First"}}, {"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"global.pagination.first", "data-action":"first", "data-icon":"step-backward", "data-iconpos":"notext"}, "logic": {"text":"First"}},
{"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"", "data-action":"prev", "data-icon":"backward", "data-iconpos":"notext"}, "logic": {"text":"Step Backward"}}, {"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"global.pagination.previous", "data-action":"prev", "data-icon":"backward", "data-iconpos":"notext"}, "logic": {"text":"Step Backward"}},
{"type":"select", "direct":{"id":"paginate_reports_apps", "className":"action"},"attributes": {"data-icon":"reorder", "data-action":"limit", "data-iconpos":"notext"},"logic": {"options":[{"value": "16", "text": "16", "data-i18n":""},{"value": "32", "text": "32", "data-i18n":""},{"value": "64", "text": "64", "data-i18n":""}, {"value": "128", "text": "128", "data-i18n":""}]}}, {"type":"select", "direct":{"id":"paginate_reports_apps", "className":"action"},"attributes": {"data-icon":"reorder", "data-action":"limit", "data-iconpos":"notext"},"logic": {"options":[{"value": "16", "text": "16", "data-i18n":"global.pagination.16"},{"value": "32", "text": "32", "data-i18n":"global.pagination.32"},{"value": "64", "text": "64", "data-i18n":"global.pagination.64"}, {"value": "128", "text": "128", "data-i18n":"global.pagination.128"}]}},
{"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"", "data-action":"next", "data-icon":"forward", "data-iconpos":"notext"}, "logic": {"text":"Step Forward"}}, {"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"global.pagination.next", "data-action":"next", "data-icon":"forward", "data-iconpos":"notext"}, "logic": {"text":"Step Forward"}},
{"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"", "data-action":"last", "data-icon":"step-forward", "data-iconpos":"notext"}, "logic": {"text": "Last"}} {"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"global.pagination.last", "data-action":"last", "data-icon":"step-forward", "data-iconpos":"notext"}, "logic": {"text": "Last"}}
] ]
}] }]
}] }]
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
"type": "page", "type": "page",
"meta": "Index Page", "meta": "Index Page",
"title": "Office JS App Store", "title": "Office JS App Store",
"title_i18n": null, "title_i18n": "pages.home.title",
"children": [{"generate": "gadget", "type": "listgrid", "id": "category"}] "children": [{"generate": "gadget", "type": "listgrid", "id": "category"}]
} }
] ]
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
"theme": "slapos-white", "theme": "slapos-white",
"class_list": null, "class_list": null,
"title": "Database Apps", "title": "Database Apps",
"title_i18n": null, "title_i18n": "pages.database.title",
"children": [{"generate": "gadget", "type": "listgrid", "id": "database_apps"}] "children": [{"generate": "gadget", "type": "listgrid", "id": "database_apps"}]
} }
] ]
\ No newline at end of file
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
"children": [{ "children": [{
"type": "input", "type": "input",
"direct": {"id":"search_database_apps"}, "direct": {"id":"search_database_apps"},
"attributes": {"data-enhanced":"true", "data-i18n": "","placeholder":"Search Database Apps", "data-icon":"search", "data-action-btn":"true", "data-type":"search", "type":"search"}, "attributes": {"data-enhanced":"true", "data-i18n": "[placeholder]pages.database.search","placeholder":"Search Database Apps", "data-icon":"search", "data-action-btn":"true", "data-type":"search", "type":"search"},
"logic":{"clear":"true", "action":"search"} "logic":{"clear":"true", "action":"search"}
},{ },{
"type": "div", "type": "div",
...@@ -43,11 +43,11 @@ ...@@ -43,11 +43,11 @@
"direction": "horizontal" "direction": "horizontal"
}, },
"children": [ "children": [
{"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"", "data-action":"first", "data-icon":"step-backward", "data-iconpos":"notext"}, "logic": {"text":"First"}}, {"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"global.pagination.first", "data-action":"first", "data-icon":"step-backward", "data-iconpos":"notext"}, "logic": {"text":"First"}},
{"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"", "data-action":"prev", "data-icon":"backward", "data-iconpos":"notext"}, "logic": {"text":"Step Backward"}}, {"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"global.pagination.previous", "data-action":"prev", "data-icon":"backward", "data-iconpos":"notext"}, "logic": {"text":"Step Backward"}},
{"type":"select", "direct":{"id":"paginate_reports_apps", "className":"action"},"attributes": {"data-icon":"reorder", "data-action":"limit", "data-iconpos":"notext"},"logic": {"options":[{"value": "16", "text": "16", "data-i18n":""},{"value": "32", "text": "32", "data-i18n":""},{"value": "64", "text": "64", "data-i18n":""}, {"value": "128", "text": "128", "data-i18n":""}]}}, {"type":"select", "direct":{"id":"paginate_reports_apps", "className":"action"},"attributes": {"data-icon":"reorder", "data-action":"limit", "data-iconpos":"notext"},"logic": {"options":[{"value": "16", "text": "16", "data-i18n":"global.pagination.16"},{"value": "32", "text": "32", "data-i18n":"global.pagination.32"},{"value": "64", "text": "64", "data-i18n":"global.pagination.64"}, {"value": "128", "text": "128", "data-i18n":"global.pagination.128"}]}},
{"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"", "data-action":"next", "data-icon":"forward", "data-iconpos":"notext"}, "logic": {"text":"Step Forward"}}, {"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"global.pagination.next", "data-action":"next", "data-icon":"forward", "data-iconpos":"notext"}, "logic": {"text":"Step Forward"}},
{"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"", "data-action":"last", "data-icon":"step-forward", "data-iconpos":"notext"}, "logic": {"text": "Last"}} {"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"global.pagination.last", "data-action":"last", "data-icon":"step-forward", "data-iconpos":"notext"}, "logic": {"text": "Last"}}
] ]
}] }]
}] }]
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
"children": [{ "children": [{
"type": "input", "type": "input",
"direct": {"id":"search_documents_apps"}, "direct": {"id":"search_documents_apps"},
"attributes": {"data-enhanced":"true", "data-i18n": "","placeholder":"Search Documents Apps", "data-icon":"search", "data-action-btn":"true", "data-type":"search", "type":"search"}, "attributes": {"data-enhanced":"true", "data-i18n": "[placeholder]pages.documents.search","placeholder":"Search Documents Apps", "data-icon":"search", "data-action-btn":"true", "data-type":"search", "type":"search"},
"logic":{"clear":"true", "action":"search"} "logic":{"clear":"true", "action":"search"}
},{ },{
"type": "div", "type": "div",
...@@ -43,11 +43,11 @@ ...@@ -43,11 +43,11 @@
"direction": "horizontal" "direction": "horizontal"
}, },
"children": [ "children": [
{"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"", "data-action":"first", "data-icon":"step-backward", "data-iconpos":"notext"}, "logic": {"text":"First"}}, {"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"global.pagination.first", "data-action":"first", "data-icon":"step-backward", "data-iconpos":"notext"}, "logic": {"text":"First"}},
{"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"", "data-action":"prev", "data-icon":"backward", "data-iconpos":"notext"}, "logic": {"text":"Step Backward"}}, {"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"global.pagination.previous", "data-action":"prev", "data-icon":"backward", "data-iconpos":"notext"}, "logic": {"text":"Step Backward"}},
{"type":"select", "direct":{"id":"paginate_reports_apps", "className":"action"},"attributes": {"data-icon":"reorder", "data-action":"limit", "data-iconpos":"notext"},"logic": {"options":[{"value": "16", "text": "16", "data-i18n":""},{"value": "32", "text": "32", "data-i18n":""},{"value": "64", "text": "64", "data-i18n":""}, {"value": "128", "text": "128", "data-i18n":""}]}}, {"type":"select", "direct":{"id":"paginate_reports_apps", "className":"action"},"attributes": {"data-icon":"reorder", "data-action":"limit", "data-iconpos":"notext"},"logic": {"options":[{"value": "16", "text": "16", "data-i18n":"global.pagination.16"},{"value": "32", "text": "32", "data-i18n":"global.pagination.32"},{"value": "64", "text": "64", "data-i18n":"global.pagination.64"}, {"value": "128", "text": "128", "data-i18n":"global.pagination.128"}]}},
{"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"", "data-action":"next", "data-icon":"forward", "data-iconpos":"notext"}, "logic": {"text":"Step Forward"}}, {"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"global.pagination.next", "data-action":"next", "data-icon":"forward", "data-iconpos":"notext"}, "logic": {"text":"Step Forward"}},
{"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"", "data-action":"last", "data-icon":"step-forward", "data-iconpos":"notext"}, "logic": {"text": "Last"}} {"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"global.pagination.last", "data-action":"last", "data-icon":"step-forward", "data-iconpos":"notext"}, "logic": {"text": "Last"}}
] ]
}] }]
}] }]
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
"theme": "slapos-white", "theme": "slapos-white",
"class_list": null, "class_list": null,
"title": "Document Apps", "title": "Document Apps",
"title_i18n": null, "title_i18n": "pages.documents.title",
"children": [{"generate": "gadget", "type": "listgrid", "id": "document_apps"}] "children": [{"generate": "gadget", "type": "listgrid", "id": "document_apps"}]
} }
] ]
\ No newline at end of file
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
"children": [{ "children": [{
"type": "input", "type": "input",
"direct": {"id":"search_drawing_apps"}, "direct": {"id":"search_drawing_apps"},
"attributes": {"data-enhanced":"true", "data-i18n": "","placeholder":"Search Drawing Apps", "data-icon":"search", "data-action-btn":"true", "data-type":"search", "type":"search"}, "attributes": {"data-enhanced":"true", "data-i18n": "[placeholder]pages.drawing.search","placeholder":"Search Drawing Apps", "data-icon":"search", "data-action-btn":"true", "data-type":"search", "type":"search"},
"logic":{"clear":"true", "action":"search"} "logic":{"clear":"true", "action":"search"}
},{ },{
"type": "div", "type": "div",
...@@ -43,11 +43,11 @@ ...@@ -43,11 +43,11 @@
"direction": "horizontal" "direction": "horizontal"
}, },
"children": [ "children": [
{"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"", "data-action":"first", "data-icon":"step-backward", "data-iconpos":"notext"}, "logic": {"text":"First"}}, {"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"global.pagination.first", "data-action":"first", "data-icon":"step-backward", "data-iconpos":"notext"}, "logic": {"text":"First"}},
{"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"", "data-action":"prev", "data-icon":"backward", "data-iconpos":"notext"}, "logic": {"text":"Step Backward"}}, {"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"global.pagination.previous", "data-action":"prev", "data-icon":"backward", "data-iconpos":"notext"}, "logic": {"text":"Step Backward"}},
{"type":"select", "direct":{"id":"paginate_reports_apps", "className":"action"},"attributes": {"data-icon":"reorder", "data-action":"limit", "data-iconpos":"notext"},"logic": {"options":[{"value": "16", "text": "16", "data-i18n":""},{"value": "32", "text": "32", "data-i18n":""},{"value": "64", "text": "64", "data-i18n":""}, {"value": "128", "text": "128", "data-i18n":""}]}}, {"type":"select", "direct":{"id":"paginate_reports_apps", "className":"action"},"attributes": {"data-icon":"reorder", "data-action":"limit", "data-iconpos":"notext"},"logic": {"options":[{"value": "16", "text": "16", "data-i18n":"global.pagination.16"},{"value": "32", "text": "32", "data-i18n":"global.pagination.32"},{"value": "64", "text": "64", "data-i18n":"global.pagination.64"}, {"value": "128", "text": "128", "data-i18n":"global.pagination.128"}]}},
{"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"", "data-action":"next", "data-icon":"forward", "data-iconpos":"notext"}, "logic": {"text":"Step Forward"}}, {"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"global.pagination.next", "data-action":"next", "data-icon":"forward", "data-iconpos":"notext"}, "logic": {"text":"Step Forward"}},
{"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"", "data-action":"last", "data-icon":"step-forward", "data-iconpos":"notext"}, "logic": {"text": "Last"}} {"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"global.pagination.last", "data-action":"last", "data-icon":"step-forward", "data-iconpos":"notext"}, "logic": {"text": "Last"}}
] ]
}] }]
}] }]
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
"theme": "slapos-white", "theme": "slapos-white",
"class_list": null, "class_list": null,
"title": "Drawing Apps", "title": "Drawing Apps",
"title_i18n": null, "title_i18n": "pages.drawings.title",
"children": [{"generate": "gadget", "type": "listgrid", "id": "drawing_apps"}] "children": [{"generate": "gadget", "type": "listgrid", "id": "drawing_apps"}]
} }
] ]
\ No newline at end of file
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
"children": [{ "children": [{
"type": "input", "type": "input",
"direct": {"id":"global_search"}, "direct": {"id":"global_search"},
"attributes": {"data-enhanced":"true", "data-i18n": "","placeholder":"Search Apps", "data-icon":"search", "data-action-btn":"true", "data-type":"search", "type":"search"}, "attributes": {"data-enhanced":"true", "data-i18n": "[placeholder]global.search_apps","placeholder":"Search Apps", "data-icon":"search", "data-action-btn":"true", "data-type":"search", "type":"search"},
"logic":{"clear":"true", "action":"search"} "logic":{"clear":"true", "action":"search"}
}, { }, {
"generate": "widget", "generate": "widget",
...@@ -21,15 +21,15 @@ ...@@ -21,15 +21,15 @@
"input": "#global_search" "input": "#global_search"
}, },
"children": [ "children": [
{"type": "divider", "center": {"text": [{"type": "h1", "text": "Applications", "text_i18n": null}]}}, {"type": "divider", "center": {"text": [{"type": "h1", "text": "Applications", "text_i18n": "categories.title"}]}},
{"type": "item", "href": "#contacts", "left": {"icon":"group"}, "center": {"text": [{"type": "h1", "text": "Contacts", "text_i18n": null}, {"type": "p", "text": "Customer Relationship Management", "text_i18n": null}]}}, {"type": "item", "href": "#contacts", "left": {"icon":"group"}, "center": {"text": [{"type": "h1", "text": "Contacts", "text_i18n": "categories.contacts.title"}, {"type": "p", "text": "Customer Relationship Management", "text_i18n": "categories.contacts.subtitle"}]}},
{"type": "item", "href": "#documents", "left": {"icon":"file-text-alt"}, "center": {"text": [{"type":"h1", "text": "Documents", "text_i18n": null}, {"type": "p", "text": "Productivity Tools", "text_i18n":null}]}}, {"type": "item", "href": "#documents", "left": {"icon":"file-text-alt"}, "center": {"text": [{"type":"h1", "text": "Documents", "text_i18n": "categories.documents.title"}, {"type": "p", "text": "Productivity Tools", "text_i18n":"categories.documents.subtitle"}]}},
{"type": "item", "href": "#database", "left": {"icon":"cogs"}, "center": {"text": [{"type":"h1", "text": "Database", "text_i18n": null}, {"type":"p", "text": "Form Workflows", "text_i18n": null}]}}, {"type": "item", "href": "#database", "left": {"icon":"cogs"}, "center": {"text": [{"type":"h1", "text": "Database", "text_i18n": "categories.database.title"}, {"type":"p", "text": "Form Workflows", "text_i18n": "categories.database.subtitle"}]}},
{"type": "item", "href": "#projects", "left": {"icon":"tasks"}, "center": {"text": [{"type": "h1","text": "Projects", "text_i18n":null},{"type": "p", "text": "Task Planning", "text_i18n":null}]}}, {"type": "item", "href": "#projects", "left": {"icon":"tasks"}, "center": {"text": [{"type": "h1","text": "Projects", "text_i18n":"categories.projects.title"},{"type": "p", "text": "Task Planning", "text_i18n":"categories.projects.subtitle"}]}},
{"type": "item", "href": "#drawings", "left": {"icon":"edit"}, "center": {"text":[{"type": "h1", "text": "Drawings", "text_i18n": null},{"type": "p", "text":"Drawing Images", "text_i18n":null}]}}, {"type": "item", "href": "#drawings", "left": {"icon":"edit"}, "center": {"text":[{"type": "h1", "text": "Drawings", "text_i18n": "categories.drawings.title"},{"type": "p", "text":"Drawing Images", "text_i18n":"categories.drawings.subtitle"}]}},
{"type": "item", "href": "#reports", "left": {"icon":"filter"}, "center": {"text":[{"type": "h1", "text": "Reports", "text_i18n": null},{"type": "p", "text":"Data Analysis", "text_i18n":null}]}}, {"type": "item", "href": "#reports", "left": {"icon":"filter"}, "center": {"text":[{"type": "h1", "text": "Reports", "text_i18n": "categories.reports.title"},{"type": "p", "text":"Data Analysis", "text_i18n":"categories.reports.subtitle"}]}},
{"type": "divider", "center": {"text": [{"type": "h1", "text": "Support", "text_i18n": null}]}}, {"type": "divider", "center": {"text": [{"type": "h1", "text": "Support", "text_i18n": "support.title"}]}},
{"type": "item", "href": "#apps?mode=new", "left": {"icon":"question-sign"}, "center": {"text": [{"type": "h1", "text": "Developers", "text_i18n": null},{"type": "p", "text": "Add your application", "text_i18n": null}]}} {"type": "item", "href": "#apps?mode=new", "left": {"icon":"question-sign"}, "center": {"text": [{"type": "h1", "text": "Developers", "text_i18n": "support.submit.title"},{"type": "p", "text": "Add your application", "text_i18n": "support.submit.description"}]}}
] ]
}] }]
},{ },{
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
"property_dict": { "property_dict": {
"fixed": true, "fixed": true,
"title": "", "title": "",
"title_i18n": "" "title_i18n": "global.default_page_title"
}, },
"children": [{ "children": [{
"generate": "widget", "generate": "widget",
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
"direction": "horizontal" "direction": "horizontal"
}, },
"children": [ "children": [
{"type":"a", "direct": {"href": "#global_panel", "className":"responsive"}, "attributes": {"data-rel":"panel", "data-icon":"reorder", "data-i18n":""},"logic": {"text":"Menu"}} {"type":"a", "direct": {"href": "#global_panel", "className":"responsive"}, "attributes": {"data-rel":"panel", "data-icon":"reorder", "data-i18n":"global.menu"},"logic": {"text":"Menu"}}
] ]
},{ },{
"generate": "widget", "generate": "widget",
...@@ -66,8 +66,8 @@ ...@@ -66,8 +66,8 @@
"direction": "horizontal" "direction": "horizontal"
}, },
"children": [ "children": [
{"type":"select", "direct": {"id": "switch_language", "className":"action"}, "attributes": {"data-action":"translate", "data-icon":"flag-cn"}, "logic": {"wrapper_class_list":"flag", "options": [{"value": "en", "text":"English", "data-i18n":""}, {"value": "cn", "text": "Chinese", "data-i18n":""}]}}, {"type":"select", "direct": {"id": "switch_language", "className":"action"}, "attributes": {"data-action":"translate", "data-icon":"flag-cn"}, "logic": {"wrapper_class_list":"flag", "options": [{"value": "en-EN", "text":"English", "data-i18n":"languages.english"}, {"value": "zh-CN", "text": "Chinese", "data-i18n":"languages.chinese", "selected": true}]}},
{"type":"a", "direct": {"href": "#dashboard", "className":"responsive"}, "attributes": {"data-icon":"home", "data-i18n":""},"logic": {"text":"Home"}} {"type":"a", "direct": {"href": "#dashboard", "className":"responsive"}, "attributes": {"data-icon":"home", "data-i18n":"global.home"},"logic": {"text":"Home"}}
] ]
}] }]
}] }]
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
"theme": "slapos-white", "theme": "slapos-white",
"class_list": null, "class_list": null,
"title": "Planning Apps", "title": "Planning Apps",
"title_i18n": null, "title_i18n": "pages.planning.title",
"children": [{"generate": "gadget", "type": "listgrid", "id": "planning_apps"}] "children": [{"generate": "gadget", "type": "listgrid", "id": "planning_apps"}]
} }
] ]
\ No newline at end of file
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
"children": [{ "children": [{
"type": "input", "type": "input",
"direct": {"id":"search_planning_apps"}, "direct": {"id":"search_planning_apps"},
"attributes": {"data-enhanced":"true", "data-i18n": "","placeholder":"Search Planning Apps", "data-icon":"search", "data-action-btn":"true", "data-type":"search", "type":"search"}, "attributes": {"data-enhanced":"true", "data-i18n": "[placeholder]pages.planning.search","placeholder":"Search Planning Apps", "data-icon":"search", "data-action-btn":"true", "data-type":"search", "type":"search"},
"logic":{"clear":"true", "action":"search"} "logic":{"clear":"true", "action":"search"}
},{ },{
"type": "div", "type": "div",
...@@ -43,11 +43,11 @@ ...@@ -43,11 +43,11 @@
"direction": "horizontal" "direction": "horizontal"
}, },
"children": [ "children": [
{"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"", "data-action":"first", "data-icon":"step-backward", "data-iconpos":"notext"}, "logic": {"text":"First"}}, {"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"global.pagination.first", "data-action":"first", "data-icon":"step-backward", "data-iconpos":"notext"}, "logic": {"text":"First"}},
{"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"", "data-action":"prev", "data-icon":"backward", "data-iconpos":"notext"}, "logic": {"text":"Step Backward"}}, {"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"global.pagination.previous", "data-action":"prev", "data-icon":"backward", "data-iconpos":"notext"}, "logic": {"text":"Step Backward"}},
{"type":"select", "direct":{"id":"paginate_reports_apps", "className":"action"},"attributes": {"data-icon":"reorder", "data-action":"limit", "data-iconpos":"notext"},"logic": {"options":[{"value": "16", "text": "16", "data-i18n":""},{"value": "32", "text": "32", "data-i18n":""},{"value": "64", "text": "64", "data-i18n":""}, {"value": "128", "text": "128", "data-i18n":""}]}}, {"type":"select", "direct":{"id":"paginate_reports_apps", "className":"action"},"attributes": {"data-icon":"reorder", "data-action":"limit", "data-iconpos":"notext"},"logic": {"options":[{"value": "16", "text": "16", "data-i18n":"global.pagination.16"},{"value": "32", "text": "32", "data-i18n":"global.pagination.32"},{"value": "64", "text": "64", "data-i18n":"global.pagination.64"}, {"value": "128", "text": "128", "data-i18n":"global.pagination.128"}]}},
{"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"", "data-action":"next", "data-icon":"forward", "data-iconpos":"notext"}, "logic": {"text":"Step Forward"}}, {"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"global.pagination.next", "data-action":"next", "data-icon":"forward", "data-iconpos":"notext"}, "logic": {"text":"Step Forward"}},
{"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"", "data-action":"last", "data-icon":"step-forward", "data-iconpos":"notext"}, "logic": {"text": "Last"}} {"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"global.pagination.last", "data-action":"last", "data-icon":"step-forward", "data-iconpos":"notext"}, "logic": {"text": "Last"}}
] ]
}] }]
}] }]
......
...@@ -4,8 +4,8 @@ ...@@ -4,8 +4,8 @@
"type": "page", "type": "page",
"theme": "slapos-white", "theme": "slapos-white",
"class_list": null, "class_list": null,
"title": "Project Apps", "title": "Project Management Apps",
"title_i18n": null, "title_i18n": "pages.projects.title",
"children": [{"generate": "gadget", "type": "listgrid", "id": "projects_apps"}] "children": [{"generate": "gadget", "type": "listgrid", "id": "projects_apps"}]
} }
] ]
\ No newline at end of file
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
"children": [{ "children": [{
"type": "input", "type": "input",
"direct": {"id":"search_projects_apps"}, "direct": {"id":"search_projects_apps"},
"attributes": {"data-enhanced":"true", "data-i18n": "","placeholder":"Search Projects Apps", "data-icon":"search", "data-action-btn":"true", "data-type":"search", "type":"search"}, "attributes": {"data-enhanced":"true", "data-i18n": "[placeholder]pages.projects.search","placeholder":"Search Projects Apps", "data-icon":"search", "data-action-btn":"true", "data-type":"search", "type":"search"},
"logic":{"clear":"true", "action":"search"} "logic":{"clear":"true", "action":"search"}
},{ },{
"type": "div", "type": "div",
...@@ -43,11 +43,11 @@ ...@@ -43,11 +43,11 @@
"direction": "horizontal" "direction": "horizontal"
}, },
"children": [ "children": [
{"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"", "data-action":"first", "data-icon":"step-backward", "data-iconpos":"notext"}, "logic": {"text":"First"}}, {"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"global.pagination.first", "data-action":"first", "data-icon":"step-backward", "data-iconpos":"notext"}, "logic": {"text":"First"}},
{"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"", "data-action":"prev", "data-icon":"backward", "data-iconpos":"notext"}, "logic": {"text":"Step Backward"}}, {"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"global.pagination.previous", "data-action":"prev", "data-icon":"backward", "data-iconpos":"notext"}, "logic": {"text":"Step Backward"}},
{"type":"select", "direct":{"id":"paginate_reports_apps", "className":"action"},"attributes": {"data-icon":"reorder", "data-action":"limit", "data-iconpos":"notext"},"logic": {"options":[{"value": "16", "text": "16", "data-i18n":""},{"value": "32", "text": "32", "data-i18n":""},{"value": "64", "text": "64", "data-i18n":""}, {"value": "128", "text": "128", "data-i18n":""}]}}, {"type":"select", "direct":{"id":"paginate_reports_apps", "className":"action"},"attributes": {"data-icon":"reorder", "data-action":"limit", "data-iconpos":"notext"},"logic": {"options":[{"value": "16", "text": "16", "data-i18n":"global.pagination.16"},{"value": "32", "text": "32", "data-i18n":"global.pagination.32"},{"value": "64", "text": "64", "data-i18n":"global.pagination.64"}, {"value": "128", "text": "128", "data-i18n":"global.pagination.128"}]}},
{"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"", "data-action":"next", "data-icon":"forward", "data-iconpos":"notext"}, "logic": {"text":"Step Forward"}}, {"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"global.pagination.next", "data-action":"next", "data-icon":"forward", "data-iconpos":"notext"}, "logic": {"text":"Step Forward"}},
{"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"", "data-action":"last", "data-icon":"step-forward", "data-iconpos":"notext"}, "logic": {"text": "Last"}} {"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"global.pagination.last", "data-action":"last", "data-icon":"step-forward", "data-iconpos":"notext"}, "logic": {"text": "Last"}}
] ]
}] }]
}] }]
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
"theme": "slapos-white", "theme": "slapos-white",
"class_list": null, "class_list": null,
"title": "Reporting Apps", "title": "Reporting Apps",
"title_i18n": null, "title_i18n": "pages.reports.title",
"children": [{"generate": "gadget", "type": "listgrid", "id": "reports_apps"}] "children": [{"generate": "gadget", "type": "listgrid", "id": "reports_apps"}]
} }
] ]
\ No newline at end of file
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
"children": [{ "children": [{
"type": "input", "type": "input",
"direct": {"id":"search_reports_apps"}, "direct": {"id":"search_reports_apps"},
"attributes": {"data-enhanced":"true", "data-i18n": "","placeholder":"Search Reporting Apps", "data-icon":"search", "data-action-btn":"true", "data-type":"search", "type":"search"}, "attributes": {"data-enhanced":"true", "data-i18n": "[placeholder]pages.reports.search","placeholder":"Search Reporting Apps", "data-icon":"search", "data-action-btn":"true", "data-type":"search", "type":"search"},
"logic":{"clear":"true", "action":"search"} "logic":{"clear":"true", "action":"search"}
},{ },{
"type": "div", "type": "div",
...@@ -43,11 +43,11 @@ ...@@ -43,11 +43,11 @@
"direction": "horizontal" "direction": "horizontal"
}, },
"children": [ "children": [
{"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"", "data-action":"first", "data-icon":"step-backward", "data-iconpos":"notext"}, "logic": {"text":"First"}}, {"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"global.pagination.first", "data-action":"first", "data-icon":"step-backward", "data-iconpos":"notext"}, "logic": {"text":"First"}},
{"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"", "data-action":"prev", "data-icon":"backward", "data-iconpos":"notext"}, "logic": {"text":"Step Backward"}}, {"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"global.pagination.previous", "data-action":"prev", "data-icon":"backward", "data-iconpos":"notext"}, "logic": {"text":"Step Backward"}},
{"type":"select", "direct":{"id":"paginate_reports_apps", "className":"action"},"attributes": {"data-icon":"reorder", "data-action":"limit", "data-iconpos":"notext"},"logic": {"options":[{"value": "16", "text": "16", "data-i18n":""},{"value": "32", "text": "32", "data-i18n":""},{"value": "64", "text": "64", "data-i18n":""}, {"value": "128", "text": "128", "data-i18n":""}]}}, {"type":"select", "direct":{"id":"paginate_reports_apps", "className":"action"},"attributes": {"data-icon":"reorder", "data-action":"limit", "data-iconpos":"notext"},"logic": {"options":[{"value": "16", "text": "16", "data-i18n":"global.pagination.16"},{"value": "32", "text": "32", "data-i18n":"global.pagination.16"},{"value": "64", "text": "64", "data-i18n":"global.pagination.64"}, {"value": "128", "text": "128", "data-i18n":"global.pagination.128"}]}},
{"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"", "data-action":"next", "data-icon":"forward", "data-iconpos":"notext"}, "logic": {"text":"Step Forward"}}, {"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"global.pagination.next", "data-action":"next", "data-icon":"forward", "data-iconpos":"notext"}, "logic": {"text":"Step Forward"}},
{"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"", "data-action":"last", "data-icon":"step-forward", "data-iconpos":"notext"}, "logic": {"text": "Last"}} {"type": "a", "direct":{"className":"action", "href":""}, "attributes":{"data-i18n":"global.pagination.last", "data-action":"last", "data-icon":"step-forward", "data-iconpos":"notext"}, "logic": {"text": "Last"}}
] ]
}] }]
}] }]
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
"theme": "slapos-white", "theme": "slapos-white",
"class_list": null, "class_list": null,
"title": "Submit Your App", "title": "Submit Your App",
"title_i18n": null, "title_i18n": "pages.submit.title",
"children": [{"generate": "gadget", "type": "fieldlist", "id": "submit_apps"}] "children": [{"generate": "gadget", "type": "fieldlist", "id": "submit_apps"}]
} }
] ]
...@@ -2,29 +2,32 @@ ...@@ -2,29 +2,32 @@
"portal_type_source": "Applications", "portal_type_source": "Applications",
"portal_type_title": "applications", "portal_type_title": "applications",
"portal_type_fields": "applications_fields", "portal_type_fields": "applications_fields",
"class_list": null, "class_list": "",
"form": "submit_app_form", "form": true,
"id": "submit_app_form",
"children": [ "children": [
{ {
"type": "p", "type": "p",
"direct": {"className": "ui-content-element translate responsive"}, "direct": {"className": "ui-content-element translate responsive"},
"attributes":{"data-i18n":""}, "attributes":{"data-i18n":"pages.submit.submission_info"},
"logic":{"text":"Adding an application to officeJS only requires 1 URL and 1 click. Please read the specifications for applications before submitting your own app. Only applications that meet the specifications will be published."} "logic":{"text":"Adding an application to officeJS only requires 1 URL and 1 click. Please read the specifications for applications before submitting your own app. Only applications that meet the specifications will be published."}
}, { }, {
"generate": "widget", "generate": "widget",
"type": "form", "type": "form",
"class_list": "responsive",
"property_dict": { "property_dict": {
"editable": true "editable": true
}, },
"children": [{ "children": [{
"generate": "widget", "generate": "widget",
"type": "controlgroup", "type": "controlgroup",
"class_list": "center",
"property_dict": { "property_dict": {
"direction": "horizontal" "direction": "horizontal"
}, },
"children": [ "children": [
{"type": "input", "direct": {"value": "Reset", "className": "action"}, "attributes": {"type": "reset", "data-i18n":"[value]"}}, {"type": "input", "direct": {"value": "Reset", "className": "action"}, "attributes": {"type": "reset", "data-i18n":"[value]global.action_list.reset"}},
{"type": "input", "direct": {"value": "Submit", "className": "action"}, "attributes": {"type": "submit", "data-action":"submit", "data-i18n":"[value]", "data-theme": "slapos-black"}} {"type": "input", "direct": {"value": "Submit", "className": "action"}, "attributes": {"type": "submit", "data-action":"submit", "data-i18n":"[value]global.action_list.submit", "data-theme": "slapos-black"}}
] ]
}], }],
"layout": [ "layout": [
......
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