izzyshop
  • UIKIT
    • setup
    • config
    • Client
      • textui
      • Interaction
      • Context Menu
      • Notification
Powered by GitBook
On this page
  1. UIKIT

config


cfg = {
    debug = false,
    color = "#FFF",
    commands = {
        cancelProgress = {
            command = "cancelProgress",
            key = "DELETE",
            description = "Cancel progress"
        },
        openEditMode = {
            command = "edit"
        },
        clearLocalStorage = "clearLocalStorage"
    },
    defaultSettings = {
        positions = {
            notification = 1 -- 0: top-left / 1: top-center / 2: top-right / 3: bottom-left / 4: bottom-center / 5: bottom-right
        },
        styles = {
            textUi = 1,
            notification = 1,
            progress = 1,
        }
    },

    locale = "en", -- en: English, de: German, fr: French, pl: Polish, es: Spanish, tr: Turkish
    locales = {
        ["en"] = {
            press = 'PRESS BUTTON',
            notification = 'Notification',
            textUi = 'Text UI',
            progress = 'Progress Bar',
            change = 'Change',
            edit = 'Edit',
            mode = 'Mode',
            save = 'Save',
            reset = 'Reset',
            ['top-left'] = 'Top Left',
            ['top-center'] = 'Top Center',
            ['top-right'] = 'Top Right',
            ['bottom-left'] = 'Bottom Left',
            ['bottom-center'] = 'Bottom Center',
            ['bottom-right'] = 'Bottom Right'
        },
        ["de"] = {
            press = 'KNOPF DRÜCKEN',
            notification = 'Benachrichtigung',
            textUi = 'Text-Benutzeroberfläche',
            progress = 'Fortschrittsbalken',
            change = 'Ändern',
            edit = 'Bearbeiten',
            mode = 'Modus',
            save = 'Speichern',
            reset = 'Zurücksetzen',
            ['top-left'] = 'Oben Links',
            ['top-center'] = 'Oben Mitte',
            ['top-right'] = 'Oben Rechts',
            ['bottom-left'] = 'Unten Links',
            ['bottom-center'] = 'Unten Mitte',
            ['bottom-right'] = 'Unten Rechts'
        },
        ["fr"] = {
            press = 'APPUYEZ SUR LE BOUTON',
            notification = 'Notification',
            textUi = 'Interface Texte',
            progress = 'Barre de Progression',
            change = 'Changer',
            edit = 'Éditer',
            mode = 'Mode',
            save = 'Enregistrer',
            reset = 'Réinitialiser',
            ['top-left'] = 'En Haut à Gauche',
            ['top-center'] = 'En Haut au Centre',
            ['top-right'] = 'En Haut à Droite',
            ['bottom-left'] = 'En Bas à Gauche',
            ['bottom-center'] = 'En Bas au Centre',
            ['bottom-right'] = 'En Bas à Droite'
        },
        ["pl"] = {
            press = 'NACIŚNIJ PRZYCISK',
            notification = 'Powiadomienie',
            textUi = 'Interfejs Tekstowy',
            progress = 'Pasek Postępu',
            change = 'Zmień',
            edit = 'Edytuj',
            mode = 'Tryb',
            save = 'Zapisz',
            reset = 'Resetuj',
            ['top-left'] = 'Lewy Górny Róg',
            ['top-center'] = 'Góra Środek',
            ['top-right'] = 'Prawy Górny Róg',
            ['bottom-left'] = 'Lewy Dolny Róg',
            ['bottom-center'] = 'Dół Środek',
            ['bottom-right'] = 'Prawy Dolny Róg'
        },
        ["es"] = {
            press = 'PRESIONA EL BOTÓN',
            notification = 'Notificación',
            textUi = 'Interfaz de Texto',
            progress = 'Barra de Progreso',
            change = 'Cambiar',
            edit = 'Editar',
            mode = 'Modo',
            save = 'Guardar',
            reset = 'Reiniciar',
            ['top-left'] = 'Arriba a la Izquierda',
            ['top-center'] = 'Arriba al Centro',
            ['top-right'] = 'Arriba a la Derecha',
            ['bottom-left'] = 'Abajo a la Izquierda',
            ['bottom-center'] = 'Abajo al Centro',
            ['bottom-right'] = 'Abajo a la Derecha'
        },
        ["tr"] = {
            press = 'DÜĞMEYE BASIN',
            notification = 'Bildirim',
            textUi = 'Metin Arayüzü',
            progress = 'İlerleme Çubuğu',
            change = 'Değiştir',
            edit = 'Düzenle',
            mode = 'Mod',
            save = 'Kaydet',
            reset = 'Sıfırla',
            ['top-left'] = 'Sol Üst',
            ['top-center'] = 'Üst Orta',
            ['top-right'] = 'Sağ Üst',
            ['bottom-left'] = 'Sol Alt',
            ['bottom-center'] = 'Alt Orta',
            ['bottom-right'] = 'Sağ Alt'
        }
    }        
}

PrevioussetupNextClient

Last updated 8 months ago