$.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", "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 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", "increment cycles": "increment cycles", "installation": "installation", "installation parent": "installation parent", "installation state": "installation state", "installations": "installations", "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": "legal", "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": "location", "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": "material", "material item": "material item", "material item movement": "material item movement", "material item movements": "material item movements", "material item parent": "material item parent", "material items": "material items", "material type": "material type", "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", "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", "action code": { "actioncodes": "action code" }, "administrative group": { "administrativegroups": "administrative group" }, "active from": { "appversions": "active from" }, "app version": { "appversions": "app version" }, "release notes": { "appversions": "release notes" }, "version number": { "appversions": "version number" }, "article group": { "articlegroups": "article group" }, "article": { "articles": "article" }, "article code": { "articles": "article code" }, "article default amount": { "articles": "article default amount" }, "article default price": { "articles": "article default price" }, "article group id": { "articles": "article group id" }, "article state": { "articles": "article state" }, "branche id": { "articles": "branche id" }, "is pipe": { "articles": "is pipe" }, "over hours applicable": { "articles": "over hours applicable" }, "payment allin": { "articles": "payment allin" }, "payment er": { "articles": "payment er" }, "payment or": { "articles": "payment or" }, "vat low applicable": { "articles": "vat low applicable" }, "cause code": { "causecodes": "cause code" }, "cause": { "causes": "cause" }, "cause state": { "causes": "cause state" }, "checklist question": { "checklistquestions": "checklist question" }, "question text": { "checklistquestions": "question text" }, "checklist": { "checklists": "checklist" }, "ant+": { "connect": "ant+" }, "ant-": { "connect": "ant-" }, "custom field": { "customfields": "custom field" }, "default value": { "customfields": "default value" }, "unit": { "customfields": "unit" }, "custom value": { "customvalues": "custom value" }, "duplicate": { "dashboard": "duplicate" }, "table name": { "datamapping": "table name" }, "user interface name": { "datamapping": "user interface name" }, "vriss name": { "datamapping": "vriss name" }, "active": { "devices": "active" }, "monitored": { "devices": "monitored" }, "online": { "devices": "online" }, "time till offline": { "devicetypes": "time till offline" }, "disagree reason": { "disagreereasons": "disagree reason" }, "disagree reason state": { "disagreereasons": "disagree reason state" }, "dynamic question causatives": { "dynamicquestioncausatives": "dynamic question causatives" }, "dynamic question causes": { "dynamicquestioncauses": "dynamic question causes" }, "dynamic question clogging material": { "dynamicquestioncloggingmaterials": "dynamic question clogging material" }, "dynamic question clogging materials": { "dynamicquestioncloggingmaterials": "dynamic question clogging materials" }, "dynamic question drains": { "dynamicquestiondrains": "dynamic question drains" }, "dynamic question objects": { "dynamicquestionobjects": "dynamic question objects" }, "dynamic question problems": { "dynamicquestionproblems": "dynamic question problems" }, "dynamic question": { "dynamicquestions": "dynamic question" }, "dynamic question causative": { "dynamicquestions": "dynamic question causative" }, "dynamic question cause": { "dynamicquestions": "dynamic question cause" }, "dynamic question drain": { "dynamicquestions": "dynamic question drain" }, "dynamic question object": { "dynamicquestions": "dynamic question object" }, "dynamic question problem": { "dynamicquestions": "dynamic question problem" }, "follow up": { "followups": "follow up" }, "follow up code": { "followups": "follow up code" }, "follow up state": { "followups": "follow up state" }, "followup state": { "followups": "followup state" }, "form": { "forms": "form" }, "inspection planning item": { "inspectionplanningitems": "inspection planning item" }, "inspection planning items": { "inspectionplanningitems": "inspection planning items" }, "next inspection": { "inspectionplanningitems": "next inspection" }, "approved": { "inspections": "approved" }, "file": { "inspections": "file" }, "inspection": { "inspections": "inspection" }, "inspection date": { "inspections": "inspection date" }, "checklists": { "inspectiontypes": "checklists" }, "every": { "inspectiontypes": "every" }, "inspection type": { "inspectiontypes": "inspection type" }, "metrel name": { "inspectiontypes": "metrel name" }, "period": { "inspectiontypes": "period" }, "location address": { "locations": "location address" }, "location city": { "locations": "location city" }, "location coc nr": { "locations": "location coc nr" }, "location mail": { "locations": "location mail" }, "location mailbox": { "locations": "location mailbox" }, "location phone": { "locations": "location phone" }, "location postal code": { "locations": "location postal code" }, "mollie api key": { "locations": "mollie api key" }, "sap loc": { "locations": "sap loc" }, "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." }, "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" }, "login failed": { "login": "login failed" }, "password reset": { "login": "password reset" }, "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" }, "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." }, "material categories": { "materialcategories": "material categories" }, "bar code": { "materialitems": "bar code" }, "barcode": { "materialitems": "barcode" }, "client": { "materialitems": "client" }, "download/view": { "materialitems": "download/view" }, "fixed parent": { "materialitems": "fixed parent" }, "nfc": { "materialitems": "nfc" }, "pictures": { "materialitems": "pictures" }, "serial number": { "materialitems": "serial number" }, "bulk": { "materialtypes": "bulk" }, "expiry date": { "materialtypes": "expiry date" }, "last out of stock": { "materialtypes": "last out of stock" }, "material categorie": { "materialtypes": "material categorie" }, "material category": { "materialtypes": "material category" }, "sub category number": { "materialtypes": "sub category number" }, "usages": { "materialtypes": "usages" }, "value": { "materialtypes": "value" }, "article groups": { "menuitems": "article groups" }, "cause codes": { "menuitems": "cause codes" }, "causes": { "menuitems": "causes" }, "clients": { "menuitems": "clients" }, "developer guide": { "menuitems": "developer guide" }, "disagree reasons": { "menuitems": "disagree reasons" }, "drains": { "menuitems": "drains" }, "follow ups": { "menuitems": "follow ups" }, "follow-ups": { "menuitems": "follow-ups" }, "inspections": { "menuitems": "inspections" }, "object category": { "menuitems": "object category" }, "objects": { "menuitems": "objects" }, "task activity result": { "menuitems": "task activity result" }, "task article result": { "menuitems": "task article result" }, "task articles discount": { "menuitems": "task articles discount" }, "task articles planned": { "menuitems": "task articles planned" }, "task attachements": { "menuitems": "task attachements" }, "task findings result": { "menuitems": "task findings result" }, "task follow up result": { "menuitems": "task follow up result" }, "task image result": { "menuitems": "task image result" }, "task objects blocked": { "menuitems": "task objects blocked" }, "task result": { "menuitems": "task result" }, "task risk declaration": { "menuitems": "task risk declaration" }, "tasks": { "menuitems": "tasks" }, "vat": { "menuitems": "vat" }, "message": { "monitoringevents": "message" }, "monitoring event": { "monitoringevents": "monitoring event" }, "object category state": { "objectcategories": "object category state" }, "object category code": { "objectcategory": "object category code" }, "object state": { "objects": "object state" }, "pause/unpause xml": { "pausexml": "pause/unpause xml" }, "payment type state": { "paymenttypes": "payment type state" }, "process default": { "processdefaults": "process default" }, "action codes": { "roles": "action codes" }, "administrative groups": { "roles": "administrative groups" }, "articles": { "roles": "articles" }, "categories": { "roles": "categories" }, "causatives": { "roles": "causatives" }, "checklist questions": { "roles": "checklist questions" }, "data mapping": { "roles": "data mapping" }, "dynamic questions": { "roles": "dynamic questions" }, "inspection planning": { "roles": "inspection planning" }, "inspection types": { "roles": "inspection types" }, "location types": { "roles": "location types" }, "pause xml": { "roles": "pause xml" }, "payment types": { "roles": "payment types" }, "problems": { "roles": "problems" }, "process defaults": { "roles": "process defaults" }, "process xml": { "roles": "process xml" }, "task employees": { "roles": "task employees" }, "task status": { "roles": "task status" }, "task types": { "roles": "task types" }, "taskobjectshistory": { "roles": "taskobjectshistory" }, "hours out of stock delay": { "settings": "hours out of stock delay" }, "caused by": { "taskactivityresult": "caused by" }, "drain": { "taskactivityresult": "drain" }, "main pipe": { "taskactivityresult": "main pipe" }, "problem": { "taskactivityresult": "problem" }, "task article group cash item": { "taskarticlegroupcashitems": "task article group cash item" }, "task article group cash items": { "taskarticlegroupcashitems": "task article group cash" }, "article addon percentage planned": { "taskarticleresult": "article addon percentage planned" }, "article addon percentage realised": { "taskarticleresult": "article addon percentage realised" }, "article amount used": { "taskarticleresult": "article amount used" }, "article amount warranty": { "taskarticleresult": "article amount warranty" }, "base price": { "taskarticleresult": "base price" }, "calculated value": { "taskarticleresult": "calculated value" }, "date time": { "taskarticleresult": "date time" }, "invoice": { "taskarticleresult": "invoice" }, "paymen type": { "taskarticleresult": "paymen type" }, "payment value": { "taskarticleresult": "payment value" }, "planned article": { "taskarticleresult": "planned article" }, "task payment type": { "taskarticleresult": "task payment type" }, "discount step maximum": { "taskarticlesdiscount": "discount step maximum" }, "discount step minimum": { "taskarticlesdiscount": "discount step minimum" }, "discount type": { "taskarticlesdiscount": "discount type" }, "discount value": { "taskarticlesdiscount": "discount value" }, "is percentage": { "taskarticlesdiscount": "is percentage" }, "price": { "taskarticlesdiscount": "price" }, "amount": { "taskarticlesplanned": "amount" }, "article addon percentage": { "taskarticlesplanned": "article addon percentage" }, "article discount percentage": { "taskarticlesplanned": "article discount percentage" }, "article id": { "taskarticlesplanned": "article id" }, "article planned amount": { "taskarticlesplanned": "article planned amount" }, "discount": { "taskarticlesplanned": "discount" }, "discount article": { "taskarticlesplanned": "discount article" }, "fixed price": { "taskarticlesplanned": "fixed price" }, "fixed price applicable": { "taskarticlesplanned": "fixed price applicable" }, "is contract": { "taskarticlesplanned": "is contract" }, "is fixed price": { "taskarticlesplanned": "is fixed price" }, "surcharge": { "taskarticlesplanned": "surcharge" }, "task id": { "taskarticlesplanned": "task id" }, "attachement date": { "taskattachments": "attachement date" }, "attachement extension": { "taskattachments": "attachement extension" }, "attachement remark": { "taskattachments": "attachement remark" }, "attachement title": { "taskattachments": "attachement title" }, "attachment date": { "taskattachments": "attachment date" }, "attachment extension": { "taskattachments": "attachment extension" }, "attachment remark": { "taskattachments": "attachment remark" }, "attachment title": { "taskattachments": "attachment title" }, "attachment url": { "taskattachments": "attachment url" }, "atttachement url": { "taskattachments": "atttachement url" }, "task attachment": { "taskattachments": "task attachment" }, "badge id": { "taskemployees": "badge id" }, "license plate": { "taskemployees": "license plate" }, "plan date time": { "taskemployees": "plan date time" }, "task employee": { "taskemployees": "task employee" }, "task finding": { "taskfindingsresult": "task finding" }, "task follow up": { "taskfollowupresult": "task follow up" }, "extension": { "taskimageresult": "extension" }, "is building": { "taskimageresult": "is building" }, "object": { "taskobjectsblocked": "object" }, "task history date": { "taskobjectshistory": "task history date" }, "task history text": { "taskobjectshistory": "task history text" }, "task history text articles": { "taskobjectshistory": "task history text articles" }, "task history text causes": { "taskobjectshistory": "task history text causes" }, "task history text employees": { "taskobjectshistory": "task history text employees" }, "task history text findings": { "taskobjectshistory": "task history text findings" }, "task history text objects": { "taskobjectshistory": "task history text objects" }, "task objects history": { "taskobjectshistory": "task objects history" }, "task user status": { "taskplanning": "task user status" }, "disagreereason": { "taskresult": "disagreereason" }, "email address": { "taskresult": "email address" }, "enddate": { "taskresult": "enddate" }, "lat": { "taskresult": "lat" }, "lon": { "taskresult": "lon" }, "payment remark": { "taskresult": "payment remark" }, "refusal code": { "taskresult": "refusal code" }, "signature": { "taskresult": "signature" }, "signer function": { "taskresult": "signer function" }, "signer name": { "taskresult": "signer name" }, "startdate": { "taskresult": "startdate" }, "total paid": { "taskresult": "total paid" }, "bag": { "tasks": "bag" }, "debtor": { "tasks": "debtor" }, "debtor contacted": { "tasks": "debtor contacted" }, "debtor country": { "tasks": "debtor country" }, "debtor id": { "tasks": "debtor id" }, "debtor name": { "tasks": "debtor name" }, "duration": { "tasks": "duration" }, "employee remarks": { "tasks": "employee remarks" }, "is house": { "tasks": "is house" }, "is urgent": { "tasks": "is urgent" }, "payment type": { "tasks": "payment type" }, "signature required": { "tasks": "signature required" }, "surtax": { "tasks": "surtax" }, "task": { "tasks": "task" }, "task date": { "tasks": "task date" }, "task type": { "tasks": "task type" }, "time window": { "tasks": "time window" }, "time window preference": { "tasks": "time window preference" }, "unblocker": { "tasks": "unblocker" }, "visiting building extra info": { "tasks": "visiting building extra info" }, "visiting building floor": { "tasks": "visiting building floor" }, "visiting building name": { "tasks": "visiting building name" }, "visiting building room": { "tasks": "visiting building room" }, "visiting building type": { "tasks": "visiting building type" }, "visiting buildinge extra info": { "tasks": "visiting buildinge extra info" }, "visiting city": { "tasks": "visiting city" }, "visiting contact mail": { "tasks": "visiting contact mail" }, "visiting contact mobile": { "tasks": "visiting contact mobile" }, "visiting contact name": { "tasks": "visiting contact name" }, "visiting contact phone": { "tasks": "visiting contact phone" }, "visiting country": { "tasks": "visiting country" }, "visiting nr": { "tasks": "visiting nr" }, "visiting nr addition": { "tasks": "visiting nr addition" }, "visiting postal code": { "tasks": "visiting postal code" }, "visiting street": { "tasks": "visiting street" }, "visiting vehicle type": { "tasks": "visiting vehicle type" }, "task statu": { "taskstatus": "task statu" }, "task status active": { "taskstatus": "task status active" }, "task status code": { "taskstatus": "task status code" }, "task status name": { "taskstatus": "task status name" }, "show prices": { "tasktypes": "show prices" }, "task type state": { "tasktypes": "task type state" }, "app devices": { "translations": "app devices" }, "app groups": { "translations": "app groups" }, "app versions": { "translations": "app versions" }, "are you sure you want to delete file \"{0}\"?": { "translations": "are you sure you want to delete file \"{0}\"?" }, "are you sure you want to delete this {0}?": { "translations": "are you sure you want to delete this {0}?" }, "break reasons": { "translations": "break reasons" }, "breaks": { "translations": "breaks" }, "can't delete {0} \"{1}\", there are {2} with this {0}.": { "translations": "can't delete {0} \"{1}\", there are {2} with this {0}." }, "can't delete {0}!": { "translations": "can't delete {0}!" }, "clogging materials": { "translations": "clogging materials" }, "connect logs": { "translations": "connect logs" }, "context": { "translations": "context" }, "crash reports": { "translations": "crash reports" }, "cronlogs": { "translations": "cronlogs" }, "delete file?": { "translations": "delete file?" }, "delete {0}": { "translations": "delete {0}" }, "download": { "translations": "download" }, "duplicate {0}": { "translations": "duplicate {0}" }, "dynamic question-causative": { "translations": "dynamic question-causative" }, "dynamic question-cause": { "translations": "dynamic question-cause" }, "dynamic question-drain": { "translations": "dynamic question-drain" }, "dynamic question-object": { "translations": "dynamic question-object" }, "dynamic question-problem": { "translations": "dynamic question-problem" }, "error logs": { "translations": "error logs" }, "form answers": { "translations": "form answers" }, "form options": { "translations": "form options" }, "form questions": { "translations": "form questions" }, "form results": { "translations": "form results" }, "form sections": { "translations": "form sections" }, "forms": { "translations": "forms" }, "logs": { "translations": "logs" }, "manual xml": { "translations": "manual xml" }, "manual xml input": { "translations": "manual xml input" }, "manually process xml": { "translations": "manually process xml" }, "monitoring events": { "translations": "monitoring events" }, "month": { "translations": "month" }, "months": { "translations": "months" }, "object categories": { "translations": "object categories" }, "password successfully changed.": { "translations": "password successfully changed." }, "pda logs": { "translations": "pda logs" }, "quarter": { "translations": "quarter" }, "quarters": { "translations": "quarters" }, "queue": { "translations": "queue" }, "result log": { "translations": "result log" }, "success": { "translations": "success" }, "task article-group-cash-item": { "translations": "task article-group-cash-item" }, "task article-result": { "translations": "task article-result" }, "task articles-discount": { "translations": "task articles-discount" }, "task articles-planned": { "translations": "task articles-planned" }, "task attachments": { "translations": "task attachments" }, "task follow-up result": { "translations": "task follow-up result" }, "task objects-blocked": { "translations": "task objects-blocked" }, "task objects-history": { "translations": "task objects-history" }, "task objectsblocked": { "translations": "task objectsblocked" }, "task planning": { "translations": "task planning" }, "task statuses": { "translations": "task statuses" }, "taskarticlesdiscount": { "translations": "taskarticlesdiscount" }, "taskarticlesplanned": { "translations": "taskarticlesplanned" }, "taskattachment": { "translations": "taskattachment" }, "taskobjectsblocked": { "translations": "taskobjectsblocked" }, "taskplanning": { "translations": "taskplanning" }, "this {0} already exists!": { "translations": "this {0} already exists!" }, "upload": { "translations": "upload" }, "vats": { "translations": "vats" }, "week": { "translations": "week" }, "weeks": { "translations": "weeks" }, "xml messages": { "translations": "xml messages" }, "year": { "translations": "year" }, "years": { "translations": "years" }, "allowed not home": { "users": "allowed not home" }, "amount of tasks": { "users": "amount of tasks" }, "contract end date": { "users": "contract end date" }, "contract start date": { "users": "contract start date" }, "expiry": { "users": "expiry" }, "firebase token": { "users": "firebase token" }, "fixed order": { "users": "fixed order" }, "terminal id": { "users": "terminal id" }, "vat value": { "vat": "vat value" }, "vat value start date": { "vat": "vat value start date" }, "vatv alue end date": { "vat": "vatv alue end date" }, "vat value end date": { "vats": "vat value end date" }, "process time": { "xmlqueuedmessages": "process time" }, "xml": { "xmlqueuedmessages": "xml" }, "xml queued message": { "xmlqueuedmessages": "xml queued message" }, "xml queued messages": { "xmlqueuedmessages": "xml queued messages" } }; 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