$.extend(Alltrack.Core, (function() { const _translations = { "your session has expired": "your session has expired", "field": "field", "value": "value", "2d number": { "assets": "2d number" }, "article nr": { "assets": "article nr" }, "asset": { "assets": "asset" }, "asset state": { "assets": "asset state" }, "asset status": { "assets": "asset status" }, "assets": { "assets": "assets" }, "bouw jaar": { "assets": "bouw jaar" }, "color": { "assets": "color" }, "comment": { "assets": "comment" }, "cur location": { "assets": "cur location" }, "cur state": { "assets": "cur state" }, "current location": { "assets": "current location" }, "defect status": { "assets": "defect status" }, "id": { "assets": "id" }, "last oem test date": { "assets": "last oem test date" }, "last test date": { "assets": "last test date" }, "length": { "assets": "length" }, "maat": { "assets": "maat" }, "nr cycles": { "assets": "nr cycles" }, "nr of defects": { "assets": "nr of defects" }, "prod code": { "assets": "prod code" }, "prod type": { "assets": "prod type" }, "rfid": { "assets": "rfid" }, "size": { "assets": "size" }, "type desc": { "assets": "type desc" }, "user id": { "assets": "user id" }, "weight": { "assets": "weight" }, "country": { "countries": "country" }, "device type": { "devicetypes": "device type" }, "heartbeat interval": { "devicetypes": "heartbeat interval" }, "mqtt type name": { "devicetypes": "mqtt type name" }, "rtl": { "languages": "rtl" }, "show": { "languages": "show" }, "address": { "locations": "address" }, "city": { "locations": "city" }, "company": { "locations": "company" }, "contact": { "locations": "contact" }, "cost centre": { "locations": "cost centre" }, "phone": { "locations": "phone" }, "zip code": { "locations": "zip code" }, "add": { "login": "add" }, "an email with password reset instructions has been sent to the email address of user \"{0}\", if that user exists and has an email address.": { "login": "an email with password reset instructions has been sent to the email address of user \"{0}\", if that user exists and has an email address." }, "cancel": { "login": "cancel" }, "delete": { "login": "delete" }, "duplicate": { "login": "duplicate" }, "edit": { "login": "edit" }, "history": { "login": "history" }, "i forgot my password": { "login": "i forgot my password" }, "if you have any problems, use a more modern browser, like a recent version of chrome or firefox.": { "login": "if you have any problems, use a more modern browser, like a recent version of chrome or firefox." }, "log in": { "login": "log in" }, "name and/or password incorrect": { "login": "name and/or password incorrect" }, "ok": { "login": "ok" }, "password": { "login": "password" }, "password reset": { "login": "password reset" }, "permissions": { "login": "permissions" }, "please enter your username and click \"send\" to receive an email with instructions on how to reset your password.": { "login": "please enter your username and click \"send\" to receive an email with instructions on how to reset your password." }, "send": { "login": "send" }, "setup error: role landingspage missing": { "login": "setup error: role landingspage missing" }, "timezone": { "login": "timezone" }, "username": { "login": "username" }, "you are using internet explorer, which is not supported anymore.": { "login": "you are using internet explorer, which is not supported anymore." }, "current stock": { "materialitems": "current stock" }, "error retrieving data. try again or report this to your application administrator.": { "materialitems": "error retrieving data. try again or report this to your application administrator." }, "manual order": { "materialitems": "manual order" }, "material item": { "materialitems": "material item" }, "material items": { "materialitems": "material items" }, "max stock": { "materialitems": "max stock" }, "min stock": { "materialitems": "min stock" }, "obsolete": { "materialitems": "obsolete" }, "ordered quantity": { "materialitems": "ordered quantity" }, "packaging": { "materialitems": "packaging" }, "purchase price": { "materialitems": "purchase price" }, "season": { "materialitems": "season" }, "supplier": { "materialitems": "supplier" }, "supplier article number": { "materialitems": "supplier article number" }, "supplier description": { "materialitems": "supplier description" }, "under stock": { "materialitems": "under stock" }, "unit": { "materialitems": "unit" }, "label printed": { "materialtypes": "label printed" }, "material type": { "materialtypes": "material type" }, "material types": { "materialtypes": "material types" }, "print": { "materialtypes": "print" }, "title": { "materialtypes": "title" }, "code": { "menuitems": "code" }, "dump current menu": { "menuitems": "dump current menu" }, "event materials": { "menuitems": "event materials" }, "events": { "menuitems": "events" }, "guid in export": { "menuitems": "guid in export" }, "icon": { "menuitems": "icon" }, "import menu data": { "menuitems": "import menu data" }, "infrastructure": { "menuitems": "infrastructure" }, "load menu": { "menuitems": "load menu" }, "map devices": { "menuitems": "map devices" }, "menu item": { "menuitems": "menu item" }, "menu item parent": { "menuitems": "menu item parent" }, "menu items": { "menuitems": "menu items" }, "none": { "menuitems": "none" }, "organisaties": { "menuitems": "organisaties" }, "path": { "menuitems": "path" }, "position": { "menuitems": "position" }, "raw data": { "menuitems": "raw data" }, "select menu data xml to apply": { "menuitems": "select menu data xml to apply" }, "select menu dump to import": { "menuitems": "select menu dump to import" }, "show add": { "menuitems": "show add" }, "show delete": { "menuitems": "show delete" }, "show edit": { "menuitems": "show edit" }, "show view": { "menuitems": "show view" }, "tabel eigenschappen": { "menuitems": "tabel eigenschappen" }, "tent types": { "menuitems": "tent types" }, "tents": { "menuitems": "tents" }, "tents in event": { "menuitems": "tents in event" }, "units": { "menuitems": "units" }, "outdoor event bom": { "outdooreventbom": "outdoor event bom" }, "quantity in": { "outdooreventbom": "quantity in" }, "quantity out": { "outdooreventbom": "quantity out" }, "outdoor event boms": { "outdooreventboms": "outdoor event boms" }, "add event": { "outdoorevents": "add event" }, "add or edit event": { "outdoorevents": "add or edit event" }, "add part": { "outdoorevents": "add part" }, "add parts": { "outdoorevents": "add parts" }, "add tent": { "outdoorevents": "add tent" }, "add tent(s)": { "outdoorevents": "add tent(s)" }, "add/edit parts": { "outdoorevents": "add/edit parts" }, "back": { "outdoorevents": "back" }, "close": { "outdoorevents": "close" }, "confirmation status": { "outdoorevents": "confirmation status" }, "done": { "outdoorevents": "done" }, "edit parts": { "outdoorevents": "edit parts" }, "edit tents": { "outdoorevents": "edit tents" }, "end date": { "outdoorevents": "end date" }, "enddate": { "outdoorevents": "enddate" }, "next": { "outdoorevents": "next" }, "outdoor event": { "outdoorevents": "outdoor event" }, "outdoor events": { "outdoorevents": "outdoor events" }, "previous": { "outdoorevents": "previous" }, "reference": { "outdoorevents": "reference" }, "remove": { "outdoorevents": "remove" }, "remove part": { "outdoorevents": "remove part" }, "remove part(s)": { "outdoorevents": "remove part(s)" }, "remove tent": { "outdoorevents": "remove tent" }, "return date": { "outdoorevents": "return date" }, "shipping date": { "outdoorevents": "shipping date" }, "start date": { "outdoorevents": "start date" }, "update": { "outdoorevents": "update" }, "update part(s)": { "outdoorevents": "update part(s)" }, "update parts": { "outdoorevents": "update parts" }, "comments": { "outdooreventtents": "comments" }, "outdoor event tent": { "outdooreventtents": "outdoor event tent" }, "outdoor event tents": { "outdooreventtents": "outdoor event tents" }, "quantity": { "outdooreventtents": "quantity" }, "confirmation statuses": { "roles": "confirmation statuses" }, "evenement toevoegen": { "roles": "evenement toevoegen" }, "events overview": { "roles": "events overview" }, "part types": { "roles": "part types" }, "processes": { "roles": "processes" }, "tent settings": { "roles": "tent settings" }, "verhuur onderdelen": { "roles": "verhuur onderdelen" }, "view": { "roles": "view" }, "block time": { "settings": "block time" }, "ip access": { "settings": "ip access" }, "max login attempts": { "settings": "max login attempts" }, "minimum number of capitals": { "settings": "minimum number of capitals" }, "minimum number of digits": { "settings": "minimum number of digits" }, "minimum number of symbols": { "settings": "minimum number of symbols" }, "minimum password length": { "settings": "minimum password length" }, "setting": { "settings": "setting" }, "column name": { "tabledataproperties": "column name" }, "property name": { "tabledataproperties": "property name" }, "property value": { "tabledataproperties": "property value" }, "table data properties": { "tabledataproperties": "table data properties" }, "table data property": { "tabledataproperties": "table data property" }, "table name": { "tabledataproperties": "table name" }, "tent configuration": { "tentconfigurations": "tent configuration" }, "tent configurations": { "tentconfigurations": "tent configurations" }, "tent parts": { "tentconfigurations": "tent parts" }, "tent type": { "tentconfigurations": "tent type" }, "import": { "tentimports": "import" }, "import preview": { "tentimports": "import preview" }, "line": { "tentimports": "line" }, "preview": { "tentimports": "preview" }, "preview contents": { "tentimports": "preview contents" }, "select spreadsheet to upload": { "tentimports": "select spreadsheet to upload" }, "upload product sheet": { "tentimports": "upload product sheet" }, "2023-04-12 13:34:47": { "tentparts": "2023-04-12 13:34:47" }, "admin": { "tentparts": "admin" }, "administrative inventory": { "tentparts": "administrative inventory" }, "aluminium": { "tentparts": "aluminium" }, "lastmodified": { "tentparts": "lastmodified" }, "lastmodifiedby": { "tentparts": "lastmodifiedby" }, "palen": { "tentparts": "palen" }, "tent part": { "tentparts": "tent part" }, "tent part type": { "tentparts": "tent part type" }, "tentconfigurations": { "tentparts": "tentconfigurations" }, "tentparttype": { "tentparts": "tentparttype" }, "tenttypes": { "tentparts": "tenttypes" }, "tent parts tent configuration": { "tentparts_tentconfigurations": "tent parts tent configuration" }, "tent parts tent configurations": { "tentparts_tentconfigurations": "tent parts tent configurations" }, "tent part types": { "tentparttypes": "tent part types" }, "add {0}": { "translations": "add {0}" }, "are you sure you want to delete {0} \"{1}\"?": { "translations": "are you sure you want to delete {0} \"{1}\"?" }, "are you sure you want to delete this {0}?": { "translations": "are you sure you want to delete this {0}?" }, "confirmationstatus": { "translations": "confirmationstatus" }, "contain": { "translations": "contain" }, "context": { "translations": "context" }, "countries": { "translations": "countries" }, "dashboard": { "translations": "dashboard" }, "definitions": { "translations": "definitions" }, "delete {0}": { "translations": "delete {0}" }, "device types": { "translations": "device types" }, "duplicate {0}": { "translations": "duplicate {0}" }, "duplicate {0}!": { "translations": "duplicate {0}!" }, "edit {0}": { "translations": "edit {0}" }, "empty": { "translations": "empty" }, "end with": { "translations": "end with" }, "equal": { "translations": "equal" }, "equal1": { "translations": "equal1" }, "equals": { "translations": "equals" }, "error": { "translations": "error" }, "event pick list": { "translations": "event pick list" }, "greater than": { "translations": "greater than" }, "greater than or equal": { "translations": "greater than or equal" }, "items": { "translations": "items" }, "languages": { "translations": "languages" }, "less than": { "translations": "less than" }, "less than or equal": { "translations": "less than or equal" }, "locations": { "translations": "locations" }, "material": { "translations": "material" }, "menuitem": { "translations": "menuitem" }, "no filter": { "translations": "no filter" }, "not contain": { "translations": "not contain" }, "not empty": { "translations": "not empty" }, "not equal": { "translations": "not equal" }, "now": { "translations": "now" }, "original": { "translations": "original" }, "outdoor event-tent": { "translations": "outdoor event-tent" }, "outdooreventtent": { "translations": "outdooreventtent" }, "parts in stock": { "translations": "parts in stock" }, "parts in tent": { "translations": "parts in tent" }, "parts per tent": { "translations": "parts per tent" }, "reports": { "translations": "reports" }, "roles": { "translations": "roles" }, "select event": { "translations": "select event" }, "select part": { "translations": "select part" }, "select status": { "translations": "select status" }, "settings": { "translations": "settings" }, "start with": { "translations": "start with" }, "suppliers": { "translations": "suppliers" }, "system": { "translations": "system" }, "table data-property": { "translations": "table data-property" }, "tabledataproperty": { "translations": "tabledataproperty" }, "tent definitions": { "translations": "tent definitions" }, "tent part-type": { "translations": "tent part-type" }, "tent parts_tent-configuration": { "translations": "tent parts_tent-configuration" }, "tentparts_tentconfiguration": { "translations": "tentparts_tentconfiguration" }, "tents on event": { "translations": "tents on event" }, "tenttype": { "translations": "tenttype" }, "the {0} \"{1}\" already exists!": { "translations": "the {0} \"{1}\" already exists!" }, "this field cannot be empty!": { "translations": "this field cannot be empty!" }, "translation": { "translations": "translation" }, "translations": { "translations": "translations" }, "types": { "translations": "types" }, "about": { "users": "about" }, "application version": { "users": "application version" }, "change": { "users": "change" }, "change password": { "users": "change password" }, "confirm new password": { "users": "confirm new password" }, "current password": { "users": "current password" }, "email": { "users": "email" }, "enabled": { "users": "enabled" }, "export csv": { "users": "export csv" }, "export excel": { "users": "export excel" }, "export json": { "users": "export json" }, "export pdf": { "users": "export pdf" }, "export xml": { "users": "export xml" }, "first name": { "users": "first name" }, "language": { "users": "language" }, "last activity": { "users": "last activity" }, "last modified": { "users": "last modified" }, "last modified by": { "users": "last modified by" }, "last name": { "users": "last name" }, "licence expires": { "users": "licence expires" }, "licence holder": { "users": "licence holder" }, "location": { "users": "location" }, "log out": { "users": "log out" }, "mandatory fields": { "users": "mandatory fields" }, "name": { "users": "name" }, "new password": { "users": "new password" }, "password strength": { "users": "password strength" }, "preposition": { "users": "preposition" }, "role": { "users": "role" }, "save": { "users": "save" }, "scan code": { "users": "scan code" }, "search": { "users": "search" }, "search date": { "users": "search date" }, "session expiration": { "users": "session expiration" }, "user": { "users": "user" }, "users": { "users": "users" }, "yes": { "users": "yes" }, "event name": { "viewpicklist": "event name" }, "tent": { "viewpicklist": "tent" }, "tent comment": { "viewpicklist": "tent comment" }, "view pick list": { "viewpicklist": "view pick list" }, "view pick lists": { "viewpicklists": "view pick lists" } }; function translate(original, context) { if (!original) return original; let _original = original; //.toLowerCase(); let translation; if (context && _translations[_original.toLowerCase()] && _translations[_original.toLowerCase()][context.toLowerCase()]) { translation = _translations[_original.toLowerCase()][context.toLowerCase()]; } else if (_translations[_original.toLowerCase()] && _translations[_original.toLowerCase()]['_']) { translation = _translations[_original.toLowerCase()]['_']; } else { translation = _translations[_original.toLowerCase()]; if ($.type(translation) !== 'string') { for (const prop in translation) { translation = translation[prop]; break; } } } return translation || original; } return { translate : translate }; })()); // IIFE