$.extend(Alltrack.Core, (function() { const _translations = { "about": "about", "add": "add", "add {0}": "add {0}", "application version": "application version", "are you sure you want to delete {0} \"{1}\"?": "are you sure you want to delete {0} \"{1}\"?", "backup enabled": "backup enabled", "backup time": "backup time", "block time": "block time", "blocked": "blocked", "cancel": "cancel", "cannot be empty": "cannot be empty", "cannot be less than {0}": "cannot be less than {0}", "cannot be more than {0}": "cannot be more than {0}", "change": "change", "change password": "change password", "channel settings pdf location": "channel settings pdf location", "code": "code", "color": "color", "confirm new password": "confirm new password", "contain": "contain", "current password": "current password", "custom fields": "custom fields", "custom values": "custom values", "dashboard": "dashboard", "date time format": "date time format", "definitions": "definitions", "delete": "delete", "delete {0}?": "delete {0}?", "description": "description", "device": "device", "device type": "device type", "device types": "device types", "devices": "devices", "devicetype": "devicetype", "duplicate {0}!": "duplicate {0}!", "edit": "edit", "edit {0}": "edit {0}", "email": "email", "enabled": "enabled", "end with": "end with", "equal": "equal", "equals": "equals", "export csv": "export csv", "export excel": "export excel", "export json": "export json", "export min-max settings": "export min-max settings", "export pdf": "export pdf", "export xml": "export xml", "first name": "first name", "gates": "gates", "greater than": "greater than", "greater than or equal": "greater than or equal", "hb": "hb", "heartbeat interval": "heartbeat interval", "history": "history", "history material item": "history material item", "history material items": "history material items", "hours till lost": "hours till lost", "icon": "icon", "imei": "imei", "import min-max settings": { "_": "import min-max settings", "translations": "import min-max settings" }, "increment cycles": "increment cycles", "installation": "installation", "installation parent": "installation parent", "installation state": "installation state", "installations": "installations", "invalid values found": "invalid values found", "ip": "ip", "ip access": "ip access", "items": "items", "language": "language", "languages": "languages", "last activity": "last activity", "last login": "last login", "last modified": "last modified", "last modified by": "last modified by", "last name": "last name", "last seen": "last seen", "latitude": "latitude", "legal location transition": "legal location transition", "legal location transitions": "legal location transitions", "legal status transition": "legal status transition", "legal status transitions": "legal status transitions", "legallocationtransition": "legallocationtransition", "legalstatustransition": "legalstatustransition", "less than": "less than", "less than or equal": "less than or equal", "licence expires": "licence expires", "licence holder": "licence holder", "location from": "location from", "location parent": "location parent", "location to": "location to", "location type": "location type", "locations": "locations", "log out": "log out", "longitude": "longitude", "mac address": "mac address", "mandatory fields": "mandatory fields", "material": "Stock", "material item movement": "material item movement", "material item movements": "material item movements", "material item parent": "material item parent", "material items": "material items", "material type parent": "material type parent", "material types": "material types", "materialitem": "materialitem", "materialitemmovement": "materialitemmovement", "materialtype": "materialtype", "max login attempts": "max login attempts", "menu item": "menu item", "menu item parent": "menu item parent", "menu items": "menu items", "menuitem": "menuitem", "minimum number of capitals": "minimum number of capitals", "minimum number of digits": "minimum number of digits", "minimum number of symbols": "minimum number of symbols", "minimum password length": "minimum password length", "minimum stock overflow": "minimum stock overflow", "mod pictures enabled": "mod pictures enabled", "must be numeric": "must be numeric", "name": "name", "name and\\/or password incorrect": "name and\\/or password incorrect", "new location": "new location", "new password": "new password", "new status": "new status", "no filter": "no filter", "none": "none", "not contain": "not contain", "not equal": "not equal", "now": "now", "ok": "ok", "old location": "old location", "old status": "old status", "order": "order", "original": "original", "password": "password", "password strength": "password strength", "path": "path", "permissions": "permissions", "position": "position", "preposition": "preposition", "process": "process", "processes": "processes", "relative position": "relative position", "remarks": "remarks", "reports": "reports", "role": "role", "roles": "roles", "rtl": "rtl", "save": "save", "scan code": "scan code", "scancode_unique": "scancode_unique", "search": "search", "search date": "search date", "session expiration": "session expiration", "setting": "setting", "settings": "settings", "show": "show", "show add": "show add", "show delete": "show delete", "show edit": "show edit", "show tooltips": "show tooltips", "show view": "show view", "sim card": "sim card", "size": "size", "smtp enabled": "smtp enabled", "smtp from": "smtp from", "smtp host": "smtp host", "smtp port": "smtp port", "smtp to": "smtp to", "start with": "start with", "status": "status", "status from": "status from", "status to": "status to", "statuses": "statuses", "supplier": "supplier", "sw version": "sw version", "system": "system", "tag-": "tag-", "tag+": "tag+", "the {0} \"{1}\" already exists!": "the {0} \"{1}\" already exists!", "this field cannot be empty!": "this field cannot be empty!", "translation": "translation", "translations": "translations", "type": "type", "types": "types", "uid": "uid", "units": "units", "user": "user", "users": "users", "version": "version", "view": "view", "yes": "yes", "zombie": "zombie", "bulkserial conversion": { "bulkserialconversions": "bulkserial conversion" }, "bulkserial conversions": { "bulkserialconversions": "bulkserial conversions" }, "category type": { "categorytypes": "category type" }, "ant-": { "connect": "ant-" }, "ant+": { "connect": "ant+" }, "button convert": { "convertparts": "button convert" }, "convert part": { "convertparts": "convert part" }, "convert parts": { "convertparts": "convert parts", "translations": "convert parts" }, "create": { "createuser": "create" }, "create user": { "createuser": "create user" }, "cron log": { "cronlogs": "cron log" }, "cron logs": { "cronlogs": "cron logs" }, "log": { "cronlogs": "log" }, "cycle count": { "cyclecount": "cycle count" }, "cycle count actions": { "cyclecountactions": "cycle count actions" }, "reserved at": { "cyclecountactions": "reserved at" }, "sticky": { "cyclecountactions": "sticky" }, "duplicate": { "dashboard": "duplicate" }, "php version": { "dashboard": "php version", "users": "php version" }, "from reservation status": { "historyreservations": "from reservation status" }, "history reservation": { "historyreservations": "history reservation" }, "notes": { "historyreservations": "notes" }, "to reservation status": { "historyreservations": "to reservation status" }, "100013.c010102": { "historyskuitems": "100013.c010102" }, "11180453": { "historyskuitems": "11180453" }, "2020-09-03 09:36:26": { "historyskuitems": "2020-09-03 09:36:26" }, "30": { "historyskuitems": "30" }, "added": { "historyskuitems": "added" }, "available": { "historyskuitems": "available" }, "currentstock": { "historyskuitems": "currentstock" }, "history sku item": { "historyskuitems": "onderdeel geschiedenis" }, "history sku items": { "historyskuitems": "history sku items" }, "lastmodified": { "historyskuitems": "lastmodified" }, "lastmodifiedby": { "historyskuitems": "lastmodifiedby" }, "logisticstatus": { "historyskuitems": "logisticstatus" }, "new": { "historyskuitems": "new" }, "purchaseordernumber": { "historyskuitems": "purchaseordernumber" }, "qualitystatus": { "historyskuitems": "qualitystatus" }, "scancode": { "historyskuitems": "scancode" }, "skutype": { "historyskuitems": "skutype" }, "stephan": { "historyskuitems": "stephan" }, "wmo nijmegen": { "historyskuitems": "wmo nijmegen" }, "history sku type": { "historyskutypes": "history sku type" }, "new active": { "historyskutypes": "new active" }, "new article number vpn": { "historyskutypes": "new article number vpn" }, "new bruto sale price": { "historyskutypes": "new bruto sale price" }, "new currency": { "historyskutypes": "new currency" }, "new deliver time": { "historyskutypes": "new deliver time" }, "new description": { "historyskutypes": "new description" }, "new discount": { "historyskutypes": "new discount" }, "new gtin": { "historyskutypes": "new gtin" }, "new legacy relatie id": { "historyskutypes": "new legacy relatie id" }, "new medux code": { "historyskutypes": "new medux code" }, "new medux id": { "historyskutypes": "new medux id" }, "new name": { "historyskutypes": "new name" }, "new pim article status": { "historyskutypes": "new pim article status" }, "new pim article type": { "historyskutypes": "new pim article type" }, "new serial": { "historyskutypes": "new serial" }, "new short description": { "historyskutypes": "new short description" }, "new sku": { "historyskutypes": "new sku" }, "new supplier": { "historyskutypes": "new supplier" }, "inspection planning item": { "inspectionplanningitems": "inspection planning item" }, "inspection planning items": { "inspectionplanningitems": "inspection planning items" }, "next inspection": { "inspectionplanningitems": "next inspection" }, "approved": { "inspections": "approved" }, "checklists": { "inspections": "checklists" }, "file": { "inspections": "file" }, "inspection date": { "inspections": "inspection date" }, "report": { "inspections": "report" }, "inspection type": { "inspectiontypes": "inspection type" }, "inventory": { "inventories": "inventory" }, "address": { "locations": "address" }, "qr code": { "locations": "qr code" }, "remember scan code": { "locations": "remember scan code" }, "route": { "locations": "route" }, "authorization server returned an error:\n": { "login": "authorization server returned an error:\n" }, "authorization server returned an error:": { "login": "authorization server returned an error:" }, "authorization server returned error": { "login": "authorization server returned error" }, "invalid state parameter": { "login": "ongeldige statusparameter" }, "current category": { "logisticsettings": "current category" }, "current check mod": { "logisticsettings": "current check mod" }, "deadline check": { "logisticsettings": "deadline check" }, "deliverable": { "logisticsettings": "deliverable" }, "last stock check": { "logisticsettings": "last stock check" }, "logistic setting": { "logisticsettings": "logistic setting" }, "next planned check": { "logisticsettings": "next planned check" }, "recat definition": { "logisticsettings": "recat definition" }, "turnover definition": { "logisticsettings": "turnover definition" }, "value category": { "logisticsettings": "value category" }, "value definition": { "logisticsettings": "value definition" }, "material categories": { "materialcategories": "material categories" }, "main location": { "materialitemmutations": "main location" }, "material item mutation": { "materialitemmutations": "material item mutation" }, "material item mutations": { "materialitemmutations": "material item mutations" }, "version mismatch": { "materialitemmutations": "version mismatch" }, "bar code": { "materialitems": "bar code" }, "expiry date": { "materialtypes": "expiry date" }, "material category": { "materialtypes": "material category" }, "categorieën vs storingscomponenten": { "menuitems": "categorieën vs storingscomponenten", "multiroles": "categorieën vs storingscomponenten" }, "cause codes": { "menuitems": "cause codes" }, "clients": { "menuitems": "clients" }, "developer guide": { "menuitems": "developer guide" }, "quality statuses": { "menuitems": "quality statuses" }, "reconditioning": { "menuitems": "reconditioning", "translations": "reconditioning" }, "serie onderdelen": { "menuitems": "serie onderdelen" }, "sku alternative codes": { "menuitems": "alternatieve scancodes" }, "sku types locations": { "menuitems": "sku types locations" }, "suppliers": { "menuitems": "suppliers" }, "types locations": { "menuitems": "types locations" }, "zpl labels": { "menuitems": "zpl labels" }, "multi role": { "multiroles": "multi role" }, "outage component": { "outagecomponents": "outage component" }, "outage group": { "outagecomponents": "outage group" }, "connection type": { "pdaevents": "connection type" }, "duration": { "pdaevents": "duration" }, "end time": { "pdaevents": "end time" }, "pda event": { "pdaevents": "pda event" }, "start time": { "pdaevents": "start time" }, "allow offline": { "processes": "allow offline" }, "logistic status": { "processes": "logistic status" }, "repair": { "repairs": "repair" }, "buttons": { "reservations": "buttons" }, "reservation number": { "reservations": "reservation number" }, "reservation status": { "reservations": "reservation status" }, "reserved by": { "reservations": "reserved by" }, "reserved from": { "reservations": "reserved from" }, "reserved quantity": { "reservations": "reserved quantity" }, "sku type description": { "reservations": "sku type description" }, "action codes": { "roles": "action codes" }, "administrative groups": { "roles": "administrative groups" }, "currencies": { "roles": "currencies" }, "import sku types": { "roles": "import sku types" }, "inspection planning": { "roles": "inspection planning" }, "inspection types": { "roles": "inspection types" }, "location types": { "roles": "location types" }, "logistic statuses": { "roles": "logistic statuses" }, "parent names": { "roles": "parent names" }, "process defaults": { "roles": "process defaults" }, "show in menu": { "roles": "show in menu" }, "sku settings": { "roles": "sku settings" }, "temp export": { "roles": "temp export" }, "view all": { "roles": "view all" }, "material type number": { "scraplogs": "material type number" }, "scrap code": { "scraplogs": "scrap code" }, "scrap log": { "scraplogs": "scrap log" }, "scrap reason": { "scraplogs": "scrap reason" }, "article description": { "seriespartsatprovisions": "article description" }, "article nr": { "seriespartsatprovisions": "article nr" }, "executing location": { "seriespartsatprovisions": "executing location" }, "gross sale price": { "seriespartsatprovisions": "gross sale price" }, "link date": { "seriespartsatprovisions": "link date" }, "managing location": { "seriespartsatprovisions": "managing location" }, "series parts at provision": { "seriespartsatprovisions": "series parts at provision" }, "series parts at provisions": { "seriespartsatprovisions": "series parts at provisions" }, "sku item linked": { "seriespartsatprovisions": "sku item linked" }, "voorz nr": { "seriespartsatprovisions": "voorz nr" }, "sku bulk types location": { "skubulktypeslocations": "sku bulk types location" }, "sku bulk types locations": { "skubulktypeslocations": "sku bulk types locations" }, "alleen available": { "skuitems": "alleen available" }, "sku item": { "skuitems": "sku item" }, "sku type short description": { "skuitems": "sku type short description" }, "warehouse": { "skuitems": "warehouse" }, "sku serials type": { "skuserials": "sku serials type" }, "storage location": { "skuserialstypes": "storage location" }, "critical stock": { "skusettings": "critical stock" }, "dynamic counting": { "skusettings": "dynamic counting" }, "max stock": { "skusettings": "max stock" }, "min stock": { "skusettings": "min stock" }, "replacement value": { "skusettings": "replacement value" }, "sku setting": { "skusettings": "sku setting" }, "extra stock": { "skustocklevels": "extra stock" }, "reserve": { "skustocklevels": "reserve" }, "reserved stock": { "skustocklevels": "reserved stock" }, "sku stock level": { "skustocklevels": "sku stock level" }, "sku stock levels": { "skustocklevels": "sku stock levels" }, "pim article status": { "skutypes": "pim article status" }, "pim article type": { "skutypes": "pim article type" }, "serial": { "skutypes": "serial" }, "sku types": { "skutypes": "sku types" }, "api article name": { "skutypesexceptions": "api article name" }, "api bruto sales price": { "skutypesexceptions": "api bruto sales price" }, "api outage component": { "skutypesexceptions": "api outage component" }, "api serial": { "skutypesexceptions": "api serial" }, "api supplierid": { "skutypesexceptions": "api supplierid" }, "apipi mid": { "skutypesexceptions": "apipi mid" }, "apipim article status": { "skutypesexceptions": "apipim article status" }, "apipim article type": { "skutypesexceptions": "apipim article type" }, "db article name": { "skutypesexceptions": "db article name" }, "db supplierid": { "skutypesexceptions": "db supplierid" }, "dbpi mid": { "skutypesexceptions": "dbpi mid" }, "dbpim article type": { "skutypesexceptions": "dbpim article type" }, "exception": { "skutypesexceptions": "exception" }, "json": { "skutypesexceptions": "json" }, "sku type id": { "skutypesexceptions": "sku type id" }, "current stock": { "skutypeslocations": "current stock" }, "sku types location": { "skutypeslocations": "sku types location" }, "article type description": { "stockcheck": "article type description" }, "button": { "stockcheck": "button" }, "known at medux": { "stockcheck": "known at medux" }, "article number": { "stockexchanges": "article number" }, "error retrieving data. try again or report this to your application administrator.": { "stockexchanges": "error retrieving data. try again or report this to your application administrator." }, "quantity received": { "stockexchanges": "quantity received" }, "received by": { "stockexchanges": "received by" }, "send by": { "stockexchanges": "send by" }, "supplier name": { "stockexchanges": "supplier name" }, "total value": { "stockexchanges": "total value" }, "debtor": { "suppliers": "debtor" }, "supplier idafas": { "suppliers": "supplier idafas" }, "supplier status": { "suppliers": "supplier status" }, "actie statuses": { "translations": "actie statuses" }, "actie types": { "translations": "actie types" }, "acties": { "translations": "acties" }, "actions": { "translations": "actions" }, "active reservations": { "translations": "active reservations" }, "api queue": { "translations": "api queue" }, "bulk types locations": { "translations": "bulk types locations" }, "categorie?n vs storingscomponenten": { "translations": "categorie?n vs storingscomponenten" }, "category types": { "translations": "category types" }, "concept sku types": { "translations": "concept sku types" }, "concept sku types exceptions": { "translations": "concept sku types exceptions" }, "concept suppliers": { "translations": "concept suppliers" }, "conversiescript": { "translations": "conversiescript" }, "conversions": { "translations": "conversions" }, "empty": { "translations": "empty" }, "export min-max": { "translations": "export min-max" }, "export sku items": { "translations": "export sku items" }, "history articles": { "translations": "history articles" }, "history reservations": { "translations": "history reservations" }, "history sku types": { "translations": "history sku types" }, "historyskuitem": { "translations": "historyskuitem" }, "inventories": { "translations": "inventories" }, "logistic settings": { "translations": "logistic settings" }, "material item-movement": { "translations": "material item-movement" }, "merged roles": { "translations": "merged roles" }, "mijn voorzieningen": { "translations": "mijn voorzieningen" }, "modifications": { "translations": "modifications" }, "month": { "translations": "month" }, "months": { "translations": "months" }, "my materials": { "translations": "my materials" }, "my parts": { "translations": "my parts" }, "my stock": { "translations": "my stock" }, "my stock settings": { "translations": "my stock settings" }, "not empty": { "translations": "not empty" }, "omzettingen": { "translations": "omzettingen" }, "onderdelen converteren": { "translations": "onderdelen converteren" }, "onderdelen vs storingscomponenten": { "translations": "onderdelen vs storingscomponenten" }, "order advice": { "translations": "order advice" }, "order advice logs": { "translations": "order advice logs" }, "outage components": { "translations": "outage components" }, "outage groups": { "translations": "outage groups" }, "parts order advice": { "translations": "parts order advice" }, "parts stamdata": { "translations": "parts stamdata" }, "pda events": { "translations": "pda events" }, "problem codes": { "translations": "problem codes" }, "quarter": { "translations": "quarter" }, "quarters": { "translations": "quarters" }, "repairs": { "translations": "repairs" }, "reservation statuses": { "translations": "reservation statuses" }, "reservations": { "translations": "reservations" }, "reserve items": { "translations": "reserve items" }, "reserve parts": { "translations": "reserve parts" }, "scrap logs": { "translations": "scrap logs" }, "scrap reasons": { "translations": "scrap reasons" }, "serial to bulk": { "translations": "serial to bulk" }, "serial to bulk log": { "translations": "serial to bulk log" }, "serie naar bulk": { "translations": "serie naar bulk" }, "serie naar bulk log": { "translations": "serie naar bulk log" }, "serie onderdelen bij voorzieningen": { "translations": "serie onderdelen bij voorzieningen" }, "sku": { "translations": "sku" }, "sku item movements": { "translations": "sku item movements" }, "sku items": { "translations": "sku items" }, "sku serials types": { "translations": "sku serials types" }, "sku serials-type": { "translations": "sku serials-type" }, "sku types exceptions": { "translations": "sku types exceptions" }, "sku types-location": { "translations": "sku types-location" }, "stock check": { "translations": "stock check" }, "stock exchanges": { "translations": "stock exchanges" }, "stock mutations": { "translations": "stock mutations" }, "update sku type values": { "translations": "update sku type values" }, "user licences": { "translations": "user licences" }, "week": { "translations": "week" }, "weeks": { "translations": "weeks" }, "year": { "translations": "year" }, "years": { "translations": "years" }, "multi roles": { "users": "multi roles" }, "temporary location": { "users": "temporary location" }, "temporary location last modified": { "users": "temporary location last modified" }, "upn": { "users": "upn" }, "action number": { "viewactions": "action number" }, "action status": { "viewactions": "action status" }, "action type": { "viewactions": "action type" }, "created at": { "viewactions": "created at" }, "created by": { "viewactions": "created by" }, "new stock": { "viewactions": "new stock" }, "old stock": { "viewactions": "old stock" }, "view actions": { "viewactions": "view actions" }, "view inspection": { "viewinspections": "view inspection" }, "view inspections": { "viewinspections": "view inspections" }, "article type": { "viewmaterialitems": "article type" }, "frame number": { "viewmaterialitems": "frame number" }, "is central storage": { "viewmaterialitems": "is central storage" }, "last known location name": { "viewmaterialitems": "last known location name" }, "last known parent location name": { "viewmaterialitems": "last known parent location name" }, "last update source": { "viewmaterialitems": "last update source" }, "managing site": { "viewmaterialitems": "managing site" }, "owner name": { "viewmaterialitems": "owner name" }, "process last modified": { "viewmaterialitems": "process last modified" }, "purchase date": { "viewmaterialitems": "purchase date" }, "view material item": { "viewmaterialitems": "view material item" }, "view material items": { "viewmaterialitems": "view material items" }, "zuil nr": { "viewmaterialitems": "zuil nr" }, "view modification": { "viewmodifications": "view modification" }, "view modifications": { "viewmodifications": "view modifications" }, "action": { "vieworderadvicelogs": "action" }, "view order advice logs": { "vieworderadvicelogs": "view order advice logs" }, "order quantity": { "vieworderadvices": "order quantity" }, "ordered": { "vieworderadvices": "ordered" }, "view order advices": { "vieworderadvices": "view order advices" }, "herinzetbaar": { "viewreconditioning": "herinzetbaar" }, "view reconditioning": { "viewreconditioning": "view reconditioning" }, "voorzieningsnummer": { "viewreconditioning": "voorzieningnummer" }, "picture": { "viewrepairs": "picture" }, "picture2": { "viewrepairs": "picture2" }, "picture3": { "viewrepairs": "picture3" }, "problem code": { "viewrepairs": "problem code" }, "remark": { "viewrepairs": "remark" }, "serie part used": { "viewrepairs": "serie part used" }, "unplanned": { "viewrepairs": "unplanned" }, "view repair": { "viewrepairs": "view repair" }, "view repairs": { "viewrepairs": "view repairs" }, "view reservation": { "viewreservations": "view reservation" }, "view reservations": { "viewreservations": "view reservations" }, "change type": { "viewstockmutations": "change type" }, "changed": { "viewstockmutations": "changed" }, "difference": { "viewstockmutations": "difference" }, "last modified by id": { "viewstockmutations": "last modified by id" }, "location name": { "viewstockmutations": "location name" }, "new value": { "viewstockmutations": "new value" }, "old value": { "viewstockmutations": "old value" }, "supplier description": { "viewstockmutations": "supplier description" }, "supplier nr": { "viewstockmutations": "supplier nr" }, "user location": { "viewstockmutations": "user location" }, "view stock mutation": { "viewstockmutations": "view stock mutation" }, "view stock mutations": { "viewstockmutations": "view stock mutations" }, "calculate workload": { "workload": "calculate workload" }, "minimum checks": { "workload": "minimum checks" }, "planned checks per week": { "workload": "planned checks per week" }, "projection workload": { "workload": "projection workload" }, "workload": { "workload": "workload" } }; 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