UNPKG

openstack-uicore-foundation

Version:

ui reactjs components for openstack marketing site

2 lines 5.73 kB
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("openstack-uicore-foundation",[],t):"object"==typeof exports?exports["openstack-uicore-foundation"]=t():e["openstack-uicore-foundation"]=t()}(this,(()=>(()=>{"use strict";var e={9558:(e,t,o)=>{o.d(t,{getCurrentUserLanguage:()=>r});o(5812),o(8041);const r=()=>{let e="en";return"undefined"!=typeof navigator&&(e=navigator.languages&&navigator.languages[0]||navigator.language||navigator.userLanguage),e}},5812:e=>{e.exports=require("moment-timezone")},8041:e=>{e.exports=require("urijs")}},t={};function o(r){var a=t[r];if(void 0!==a)return a.exports;var n=t[r]={exports:{}};return e[r](n,n.exports,o),n.exports}(()=>{o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t}})(),(()=>{o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}})(),(()=>{o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})(),(()=>{o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}})();var r={};o.r(r),o.d(r,{setAppTexts:()=>_});var a=o(9558);const n=require("i18n-react");var s=o.n(n);const i=require("lodash/merge");var d=o.n(i);const l={en:JSON.parse('{"errors":{"user_not_auth":"Hold on. Your user is not authenticated!.","user_not_authz":"Hold on. Your user is not authorized!.","session_expired":"Hold on. Your session expired!.","server_error":"There was a problem with our server, please contact admin."},"general":{"select_summit":"Select a Summit...","add":"Add","clear":"Clear","remove":"Remove","drop_files":"Drop images or click to select files to upload.","search":"Search","save":"Save","done":"Done!","ok":"ok","unarchive":"Unarchive","archive":"Archive","settings":"Settings","drag_and_drop":"Drag and Drop to sort items.","other":"Other","type_something":"Type something and press tab or enter.","are_you_sure":"Are you sure?","yes_delete":"Yes, delete.","remove_warning":"Are you sure you want to delete this?","select_an_option":"Select an option...","all":"All","row_remove_warning":"Are you sure you want to delete row ","edit":"Edit","delete":"Delete","cancel":"Cancel","n_a":"N/A","not_available":"N/A","notes":"Notes","due":"Due","to":"To","from":"From"},"buttons":{"log_in":"Log in","sign_out":"Sign Out","my_cart":"My Cart","upload_file":"Upload file","download":"Download"},"placeholders":{"notes":"Enter your notes here..."},"alerts":{"confirm_delete_title":"Confirm Deletion","confirm_delete":"Are you sure you want to delete this item? This action cannot be undone."},"mui_table":{"no_items":"No items found.","no_data":"No data found.","rows_per_page":"Rows per page","sorted_desc":"sorted descending","sorted_asc":"sorted ascending","total":"Total"},"meta_fields":{"delete_value_warning":"Please verify you want to delete the added value","is_default":"Is Default?","add_value":"Add a value","placeholders":{"name":"Name","value":"Value"}},"rates":{"early_bird":"Early bird","standard_rate":"Standard","onsite_rate":"Onsite"},"additional_inputs":{"title":"Field Title","type":"Field Type","required":"Required","delete_warning":"Are you sure you want to delete meta field ","placeholders":{"title":"Field Title","type":"Select...","minimum_quantity":"Minimum","maximum_quantity":"Maximum"}},"sponsor_edit_form":{"code":"Code","description":"Description","custom_rate":"Custom Rate","early_bird_rate":"Early Bird Rate","standard_rate":"Standard Rate","onsite_rate":"Onsite Rate","qty":"Quantity","total":"Total","notes":"Notes","notes_placeholder":"Enter your notes here...","additional_info":"Additional Info","discount":"Discount","total_on_caps":"TOTAL"},"upload_input":{"upload_file":"Upload file"},"stripe_form":{"processing":"Processing...","button_cta":"PAY {amount}","title":"Select a payment method","payment_confirmation_error":"Payment confirmation failed"}}'),zh:JSON.parse('{"errors":{"user_not_auth":"坚持,稍等。您的用户没有经过身份验证!","user_not_authz":"坚持,稍等。您的用户未经授权!","session_expired":"坚持,稍等。你的会话已经过期了!","server_error":"我们的服务器出现问题,请联系管理员。"},"general":{"select_summit":"选择峰会...","add":"加","clear":"明确","remove":"去掉","drop_files":"删除图像或单击以选择要上载的文件。","search":"搜索","save":"保存","done":"完成!","drag_and_drop":"拖放以对项目进行排序。","other":"其他","type_something":"输入内容并按Tab键或输入。","are_you_sure":"你确定吗?","yes_delete":"是的,删除。","remove_warning":"你确定要删除这个吗?"}}'),es:JSON.parse('{"errors":{"user_not_auth":"Hold on. Your user is not authenticated!.","user_not_authz":"Hold on. Your user is not authorized!.","session_expired":"Hold on. Your session expired!.","server_error":"There was a problem with our server, please contact admin."},"general":{"select_summit":"Select a Summit...","add":"Add","clear":"Clear","remove":"Remove","drop_files":"Drop images or click to select files to upload.","search":"Search","save":"Save","done":"Done!","drag_and_drop":"Drag and Drop to sort items.","other":"Other","type_something":"Type something and press tab or enter.","are_you_sure":"Are you sure?","yes_delete":"Yes, delete.","remove_warning":"Are you sure you want to delete this?"}}')};let u=(0,a.getCurrentUserLanguage)();u.length>2&&(u=u.split("-")[0],u=u.split("_")[0]);try{s().setTexts(l[u])}catch(e){s().setTexts(l.en)}const _=(e={})=>{const t=l[u]||l.en;s().setTexts(d()({},t,e))};return r})())); //# sourceMappingURL=i18n.js.map