> For the complete documentation index, see [llms.txt](https://tgiann.gitbook.io/tgiann/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tgiann.gitbook.io/tgiann/scripts/tgiann-doorlock/language-file.md). Agents can also search and read this documentation through its [MCP server](https://tgiann.gitbook.io/tgiann/~gitbook/mcp).

# Language File

This is only the English language block (`config.langs.en`). See [How to Change the Language File](https://tgiann.gitbook.io/tgiann/main/how-to-change-the-language-file.md) if you want to translate the script.

### language file

```lua
config.langs.en = {
    ADMIN_PANEL_ERR_NO_PERM = "You are not allowed to do that",
    ADMIN_PANEL_ERR_RATE_LIMIT = "Too many changes, slow down",
    ADMIN_PANEL_ERR_INVALID_KEY = "Invalid door key",
    ADMIN_PANEL_ERR_KEY_EXISTS = "A door with this key already exists",
    ADMIN_PANEL_ERR_INVALID_VALUE = "Invalid value",
    DEBUG_MODE_ON = "Door debug mode on",
    DEBUG_MODE_OFF = "Door debug mode off",
    COMMAND_DESC_ADMIN = "Open the door admin panel",
    COMMAND_DESC_DEBUG = "Toggle the door debug overlay",
    KEYBIND_USE_DOOR = "Lock / unlock door",
    TEXT_LOCKED = "Locked",
    TEXT_UNLOCKED = "Unlocked",
    NOTIF_LOCKED = "Door locked",
    NOTIF_UNLOCKED = "Door unlocked",
    NOTIF_AUTOLOCK = "The door locks itself in %s seconds",
    NOTIF_NO_PERM = "You are not authorised to use this door",
    NOTIF_NO_ITEM = "You do not have the key for this door",
    NOTIF_KNOCK = "You knocked on the door",
    NOTIF_TOO_FAR = "You are too far from the door",
    DOOR_PICK_SELECT = "Select door",
    DOOR_PICK_UNDO = "Undo last selection",
    DOOR_PICK_CONFIRM = "Confirm",
    DOOR_PICK_CANCEL = "Cancel",
    DOOR_PICK_SAME = "You already selected this object",
    DOOR_PICK_ALREADY = "This object already belongs to another door",
    CREATOR_ADD_POINT = "Place",
    CREATOR_CONFIRM = "Confirm",
    CREATOR_CANCEL = "Cancel",
    CREATOR_PROP_MODE = "Snap to prop",
    CREATOR_ON = "On",
    CREATOR_OFF = "Off",
    CREATOR_OFFSET_UP_DOWN = "Move up / down",
    CREATOR_OFFSET_LEFT_RIGHT = "Move left / right",
    CREATOR_ROTATE = "Rotate",
    CREATOR_GIZMO_MODE = "Fine adjust (gizmo)",
    CREATOR_FAST_STEP = "Fast step",
    ADMIN_PANEL_HEADER = "Door Manager",
    ADMIN_DOOR_COUNT = "{0} doors",
    ADMIN_SEARCH_PLACEHOLDER = "Search name, key or group",
    ADMIN_NEW_DOOR = "New door",
    ADMIN_IMPORT = "Import",
    ADMIN_EXPORT = "Export",
    ADMIN_EXPORT_ALL = "Export all doors",
    ADMIN_SELECT_DOOR = "Select a door from the list or create a new one",
    ADMIN_NO_DOORS = "No doors found",
    ADMIN_DOUBLE = "Double",
    ADMIN_ENABLED = "Enabled",
    ADMIN_LOCK = "Lock",
    ADMIN_UNLOCK = "Unlock",
    ADMIN_TELEPORT = "Teleport",
    ADMIN_DELETE_DOOR = "Delete door",
    ADMIN_DUPLICATE = "Duplicate door",
    ADMIN_DUPLICATE_HINT = "Pick the new door object, every setting of {0} is copied onto it. A keypad has to be placed again",
    ADMIN_COPY_SETTINGS = "Copy settings",
    ADMIN_PASTE_SETTINGS = "Paste settings",
    ADMIN_PASTE_FROM = "Paste the settings of {0} onto this door",
    ADMIN_SETTINGS_COPIED = "Settings of {0} copied, open another door and paste",
    ADMIN_SETTINGS_PASTED = "Settings pasted onto {0}",
    ADMIN_CLEAR_CLIPBOARD = "Forget the copied settings",
    ADMIN_RENAME_KEY = "Rename key",
    ADMIN_RENAME_KEY_HINT = "Other scripts that use this door by key need the new key too",
    ADMIN_TAB_GENERAL = "General",
    ADMIN_TAB_DOOR = "Door",
    ADMIN_TAB_ACCESS = "Access",
    ADMIN_TAB_SECURITY = "Security",
    ADMIN_CANCEL = "Cancel",
    ADMIN_COPY = "Copy",
    ADMIN_COPIED = "Copied",
    ADMIN_OPTIONAL = " (optional)",
    ADMIN_PICK = "Pick in game",
    ADMIN_CREATE = "Create",
    ADMIN_CLICK_TO_EDIT = "Edit",
    ADMIN_ADD = "Add",
    ADMIN_DELETE_BUTTON = "Delete",
    ADMIN_CONFIRM_DELETE_TITLE = "Are you sure?",
    ADMIN_CONFIRM_DELETE_DESC = "{0} will be deleted permanently",
    ADMIN_CONFIRM_DELETE_DESC_PLAIN = "This entry will be deleted permanently",
    ADMIN_CREATE_KEYNAME_LABEL = "Key",
    ADMIN_CREATE_KEYNAME_HINT = "Lowercase letters, numbers and underscore. Other scripts reach the door with this key",
    ADMIN_CREATE_KEYNAME_TAKEN = "This key is already in use",
    ADMIN_NEW_DOOR_HINT = "After creating you fly with the free camera and click the door object",
    ADMIN_DOUBLE_DOOR = "Double door",
    ADMIN_DOUBLE_DOOR_HINT = "Two door objects that lock together, you click both of them",
    ADMIN_PICKING_DOORS = "Click the door object in the game",
    ADMIN_IMPORT_DOORS = "Import doors",
    ADMIN_IMPORT_JSON_PLACEHOLDER = "Paste the exported JSON here",
    ADMIN_IMPORT_INVALID = "The JSON could not be read",
    ADMIN_IMPORT_NEW_KEYS = "{0} new",
    ADMIN_IMPORT_OVERWRITE_KEYS = "{0} overwritten",
    ADMIN_IMPORT_DONE = "{0} doors imported",
    ADMIN_LABEL = "Name",
    ADMIN_LABEL_HINT = "Only shown in this panel",
    ADMIN_BEHAVIOUR = "Behaviour",
    ADMIN_DOOR_TYPE = "Door type",
    ADMIN_TYPE_NORMAL = "Normal",
    ADMIN_TYPE_SLIDING = "Sliding / gate",
    ADMIN_DOOR_TYPE_HINT = "Sliding doors and gates get the close speed, automatic door and hold open options",
    ADMIN_DEFAULT_LOCKED = "Locked on server start",
    ADMIN_DEFAULT_LOCKED_HINT = "State the door gets when the server starts",
    ADMIN_UNLOCK_NO_STAFF = "Stay unlocked while unowned",
    ADMIN_UNLOCK_NO_STAFF_HINT = "Checks the database on server start: if the business in the access rules has no owner or employees and nobody has the job, the door starts unlocked so players can walk in and buy it",
    ADMIN_AUTOLOCK = "Auto lock",
    ADMIN_AUTOLOCK_HINT = "Seconds after an unlock until the door locks itself again",
    ADMIN_SECONDS = "sec",
    ADMIN_DOOR_RATE = "Close speed",
    ADMIN_DOOR_RATE_HINT = "Close speed of the door, 1 is the default. Automatic doors ignore it",
    ADMIN_GROUP = "Group",
    ADMIN_KNOCK = "Knocking",
    ADMIN_KNOCK_HINT = "Players can press the knock key at the locked door, nearby players hear it",
    ADMIN_SOUNDS = "Sounds",
    ADMIN_SOUNDS_HINT = "Sounds played near the door on lock and unlock. Off = the door stays silent",
    ADMIN_SOUND_LOCK = "Lock sound",
    ADMIN_SOUND_UNLOCK = "Unlock sound",
    ADMIN_SOUND_DEFAULT = "Default",
    ADMIN_DOOR_OBJECTS = "Door objects",
    ADMIN_DOOR_OBJECTS_HINT = "The game objects this door controls. Pick again if the door moved or the map changed",
    ADMIN_REPICK_DOORS = "Pick again",
    ADMIN_MODEL = "Model",
    ADMIN_HEADING = "Heading",
    ADMIN_INTERACT = "Interaction",
    ADMIN_INTERACT_HINT = "How players see and reach the door prompt",
    ADMIN_DISTANCE = "Use distance",
    ADMIN_DISTANCE_HINT = "Meters from the door where the prompt shows and the key works. Gates need a bigger value",
    ADMIN_TEXT_SIDE = "Prompt position",
    ADMIN_SIDE_LEFT = "Middle left",
    ADMIN_SIDE_RIGHT = "Middle right",
    ADMIN_SIDE_CENTER = "Center",
    ADMIN_HIDE_TEXT = "Hide prompt",
    ADMIN_HIDE_TEXT_HINT = "The key still works, only the 3D text is hidden",
    ADMIN_ACCESS = "Access rules",
    ADMIN_ACCESS_HINT = "Who can lock and unlock. Without a rule nobody can use the door",
    ADMIN_EVERYONE = "Everyone",
    ADMIN_EVERYONE_HINT = "Any player can use the door, the rules below are ignored",
    ADMIN_JOBS = "Jobs",
    ADMIN_JOBS_HINT = "Framework jobs, with an optional minimum grade",
    ADMIN_JOB_NAME = "Job name",
    ADMIN_MIN_GRADE = "Min grade",
    ADMIN_DENY_JOBS = "Blocked jobs",
    ADMIN_DENY_JOBS_HINT = "These jobs never get access, not even with a key item or a business",
    ADMIN_IDENTIFIERS = "Characters",
    ADMIN_IDENTIFIERS_HINT = "Character ids (citizenid on QB, identifier on ESX)",
    ADMIN_ACES = "Ace permissions",
    ADMIN_ACES_HINT = "Server ace permissions, for example group.admin",
    ADMIN_DISCORD_ROLES = "Discord roles",
    ADMIN_DISCORD_ROLES_HINT = "Role ids, needs the discord bot set up in tgiann-core",
    ADMIN_ITEMS = "Key items",
    ADMIN_ITEMS_HINT = "Inventory items that open the door",
    ADMIN_ITEM_NAME = "Item name",
    ADMIN_ITEM_REMOVE = "Taken on use",
    ADMIN_OWNABLES = "Businesses",
    ADMIN_OWNABLES_HINT = "Owners and employees of these tgiann businesses can use the door",
    ADMIN_OWNABLE_PICK = "Add business",
    ADMIN_OWNABLE_NONE = "No businesses registered on this server",
    ADMIN_PASSCODE = "Passcode keypad",
    ADMIN_PASSCODE_HINT = "Players without access type the code on a keypad placed next to the door",
    ADMIN_PASSCODE_CODE = "Code",
    ADMIN_PASSCODE_LENGTH = "{0} to {1} digits",
    ADMIN_KEYPAD_COORDS = "Keypad position",
    ADMIN_KEYPAD_MODEL = "Keypad prop",
    ADMIN_KEYPAD_MODEL_HINT = "Empty uses the default prop from the config",
    ADMIN_LOCKPICK = "Lockpicking",
    ADMIN_LOCKPICK_HINT = "The door can be picked with a lockpick item",
    ADMIN_LOCKPICK_ITEMS = "Lockpick items",
    ADMIN_LOCKPICK_ITEMS_HINT = "Only these items pick this door, empty uses the lockpick items from the config. Taken on use removes the item on every attempt instead of the break chance",
    ADMIN_LOCKPICK_PREPARE = "Preparation bar",
    ADMIN_LOCKPICK_PREPARE_HINT = "Progress bar with an animation before the minigame starts, cancelling it ends the attempt",
    ADMIN_LOCKPICK_PREPARE_LABEL = "Bar text",
    ADMIN_LOCKPICK_PREPARE_LABEL_HINT = "Empty uses the text from the language file",
    ADMIN_LOCKPICK_PREPARE_ANIM_DICT = "Animation dictionary",
    ADMIN_LOCKPICK_PREPARE_ANIM_NAME = "Animation name",
    ADMIN_LOCKPICK_PREPARE_ANIM_HINT = "Empty uses the animation from the config",
    ADMIN_ALARM = "Police alert",
    ADMIN_ALARM_HINT = "Chance in percent that the police gets an alert when this door is picked",
    ADMIN_BREAK_CHANCE = "Break chance",
    ADMIN_BREAK_CHANCE_HINT = "Percent chance the lockpick breaks on a failed attempt, off uses the config default",
    ADMIN_SCHEDULE = "Open hours",
    ADMIN_SCHEDULE_HINT = "Unlocks at the open hour and locks at the close hour (server clock). Players with access can still use it in between",
    ADMIN_OPEN_HOUR = "Opens at",
    ADMIN_CLOSE_HOUR = "Closes at",
    KEYPAD_ENTER_CODE = "ENTER CODE",
    KEYPAD_OK = "OK",
    KEYPAD_ERROR = "ERROR",
    KEYPAD_LOCKED = "WAIT",
    KEYPAD_LEAVE_HINT = "ESC: leave the keypad",
    NOTIF_KEYPAD_LOCKOUT = "Too many wrong codes, the keypad is locked for %s seconds",
    POLICE_ALERT_KEYPAD = "Someone is tampering with a door keypad",
    NOTIF_LOCKPICK_BROKE = "Your lockpick broke",
    NOTIF_LOCKPICK_FAILED = "You failed to pick the lock",
    LOCKPICK_PREPARE = "Preparing the lockpick",
    POLICE_ALERT_LOCKPICK = "Someone is picking a door lock",
    TARGET_USE_DOOR = "Lock / unlock door",
    COMMAND_DESC_IMPORT_OX = "Import the ox_doorlock database table",
    NOTIF_IMPORT_OX_DONE = "%s doors imported, %s skipped",
    ADMIN_SEARCHING = "Searching...",
    ADMIN_NO_RESULTS = "No results",
    ADMIN_ADD_CUSTOM = "Add \"{0}\"",
    ADMIN_ITEM_SEARCH = "Search an inventory item or type a name",
    ADMIN_CHARACTER_SEARCH = "Search by name or id",
    ADMIN_CHARACTER_SEARCH_HINT = "Type at least 2 characters",
    ADMIN_GROUP_SECTION = "Group",
    ADMIN_GROUP_SECTION_HINT = "Doors with the same group can be locked together from other scripts (lockdown)",
    ADMIN_GROUP_HINT = "Pick a group other doors already use or create a new one",
    ADMIN_GROUP_NONE = "No group",
    ADMIN_GROUP_NEW = "New group...",
    ADMIN_GROUP_NEW_PLACEHOLDER = "Group name, Enter to save",
    ADMIN_PROMPT_MODE = "Prompt placement",
    ADMIN_PROMPT_MODE_HINT = "Door edge uses the model size, model offset uses a shared offset saved per door model",
    ADMIN_PROMPT_MODE_SIDE = "Door edge",
    ADMIN_PROMPT_MODE_OFFSET = "Model offset",
    ADMIN_OFFSET_GLOBAL = "Offset of model {0}",
    ADMIN_OFFSET_GLOBAL_HINT = "Shared by every door with this model, x right, y forward, z up from the door object",
    ADMIN_OFFSET_MISSING = "This model has no saved offset yet, the prompt falls back to the door edge",
    ADMIN_OFFSET_ADD_MODEL = "Add this model to the offset list",
    ADMIN_MINIGAME = "Minigame name",
    ADMIN_MINIGAME_HINT = "Passed to editable.lockpickMinigame on the client, so you can run a different minigame per door. Empty uses the default skill check",
    ADMIN_MINIGAME_DEFAULT = "default",
    ADMIN_TRY_SOUND = "Play the sound in game",
    TEXT_KNOCK = "Knock",
    KEYBIND_KNOCK_DOOR = "Knock on door",
    TEXT_LOCKPICK = "Lockpick",
    KEYBIND_LOCKPICK_DOOR = "Pick door lock",
    NOTIF_LOCKPICK_NO_ITEM = "You have nothing to pick this lock with",
    ADMIN_KNOCK_DISTANCE = "Knock distance",
    ADMIN_KNOCK_DISTANCE_HINT = "Meters to the door where the knock key works and its prompt shows",
    ADMIN_KEYPAD_SKIP = "Access skips the code",
    ADMIN_KEYPAD_SKIP_HINT = "Players with an access rule open the locked door directly, only others type the code",
    ADMIN_PRESETS = "Door presets",
    ADMIN_PRESETS_HINT = "Shared settings per section. A door picks a preset and uses its value until the door sets its own",
    ADMIN_PRESET = "Preset",
    ADMIN_PRESET_NONE = "No preset",
    ADMIN_PRESET_FROM = "From preset",
    ADMIN_PRESET_OVERRIDE = "Override all",
    ADMIN_PRESET_OVERRIDE_HINT = "Copies every preset value into this door, use the Override switch next to a field for single fields",
    ADMIN_PRESET_USE = "Use preset",
    ADMIN_PRESET_USE_HINT = "Drops every field this door changed and follows the preset again",
    ADMIN_PRESET_OVERRIDDEN = "{0} fields overridden on this door",
    ADMIN_PRESET_DOORS = "{0} doors",
    ADMIN_PRESET_EMPTY = "No presets for this section yet",
    ADMIN_PRESET_DELETE_HINT = "Doors on this preset keep working with their own sections only",
    ADMIN_GLOBAL_SETTINGS = "Global",
    ADMIN_ACCESS_MODE = "Rule matching",
    ADMIN_ACCESS_MODE_HINT = "Any: one switched on rule is enough. All: every switched on rule must match. Required marks single rules that must always match",
    ADMIN_ACCESS_MODE_ANY = "Any rule is enough",
    ADMIN_ACCESS_MODE_ALL = "Every rule must match",
    ADMIN_RULE_ON = "On",
    ADMIN_RULE_REQUIRED = "Required",
    ADMIN_ACES_PLACEHOLDER = "group.admin",
    ADMIN_DISCORD_ROLES_PLACEHOLDER = "Role id, e.g. 123456789012345678",
    ADMIN_PASSCODE_PLACEHOLDER = "Digits only",
    ADMIN_LABEL_PLACEHOLDER = "Door name",
    ADMIN_SIDE_TOP_LEFT = "Top left",
    ADMIN_SIDE_TOP = "Top center",
    ADMIN_SIDE_TOP_RIGHT = "Top right",
    ADMIN_SIDE_BOTTOM_LEFT = "Bottom left",
    ADMIN_SIDE_BOTTOM = "Bottom center",
    ADMIN_SIDE_BOTTOM_RIGHT = "Bottom right",
    ADMIN_PRESET_NEW = "New preset",
    ADMIN_PRESET_NEW_HINT = "Creates a preset for this section, edit its values here afterwards",
    ADMIN_PRESET_EXISTS = "A preset with this key already exists",
    ADMIN_PRESET_OFFSET_NOTE = "Prompt offsets belong to the door model, set them on the door itself",
    ADMIN_PRESET_PICK_HINT = "Pick a preset for this section, it applies while the door has no value of its own",
    ADMIN_FIELD_OVERRIDE = "Override",
    ADMIN_AUTO_DOOR = "Automatic door",
    ADMIN_AUTO_DOOR_HINT = "Garage doors, barriers and automatic doors the game opens and closes by itself. Turn this on so the script leaves their speed alone, only the lock is applied",
    ADMIN_SETTINGS_SEARCH = "Find a setting",
    ADMIN_SETTINGS_SEARCH_EMPTY = "No setting matches",
    ADMIN_HOLD_OPEN = "Hold open when unlocked",
    ADMIN_HOLD_OPEN_HINT = "An unlocked door stays fully open instead of swinging shut, locking closes it again",
    ADMIN_FULL_PRESET = "Full preset",
    ADMIN_FULL_PRESET_HINT = "A complete door setup: behaviour, interaction, access, lockpicking, open hours and sounds. Put it on a door and the door follows all of it at once",
    ADMIN_FULL_PRESET_PICK_HINT = "Every section of this door comes from the full preset. A section preset or an overridden field on the door still wins",
    ADMIN_FULL_PRESET_FROM = "Full preset: {0}",
    ADMIN_FULL_PRESET_SAVE = "Save as full preset",
    ADMIN_FULL_PRESET_SAVE_HINT = "Copies the current settings of this door into a new full preset and puts the door on it, so other doors can pick the same setup",
    ADMIN_FULL_PRESET_NEW_HINT = "Creates an empty full preset, switch on the sections it should carry below",
    ADMIN_FULL_PRESET_SECTION_HINT = "Off = the preset leaves this section to the door",
    ADMIN_FULL_PRESET_EMPTY = "No full presets yet. Open a door and use Save as full preset, or create an empty one here",
    ADMIN_FULL_PRESET_APPLY_HINT = "Picking a preset replaces the sections it carries on this door, None keeps the current values on the door",
}
```
