export const languageOptions = [
  { value: "de", label: "Deutsch", flagSrc: "/flags/de.svg", flagAlt: "DE" },
  { value: "en", label: "English", flagSrc: "/flags/us.svg", flagAlt: "US" },
  { value: "es", label: "Espa\u00f1ol", flagSrc: "/flags/es.svg", flagAlt: "ES" },
  { value: "fr", label: "Fran\u00e7ais", flagSrc: "/flags/fr.svg", flagAlt: "FR" },
  { value: "pt-BR", label: "Portugu\u00eas (BR)", flagSrc: "/flags/pt-br.svg", flagAlt: "BR" },
  { value: "it", label: "Italiano", flagSrc: "/flags/it.svg", flagAlt: "IT" },
  { value: "pl", label: "Polski", flagSrc: "/flags/pl.svg", flagAlt: "PL" },
  { value: "tr", label: "T\u00fcrk\u00e7e", flagSrc: "/flags/tr.svg", flagAlt: "TR" },
  { value: "ru", label: "\u0420\u0443\u0441\u0441\u043a\u0438\u0439", flagSrc: "/flags/ru.svg", flagAlt: "RU" },
];

export const translations = {
  de: {
    allItems: "Alle Items",
    uncategorized: "Nicht zugeordnet",
    categories: "Kategorien",
    category: "Kategorie",
    newCategoryPlaceholder: "Neue Kategorie anlegen...",
    searchPlaceholder: "Item suchen...",
    inventoryOpen: "Inventory \u00f6ffnen",
    inventoryLabel: "Inventory",
    loadedFile: "Geladen",
    chooseItemHint: "W\u00e4hle links eine Kategorie und dann ein Item aus.",
    applyChanges: "\u00c4nderungen \u00fcbernehmen",
    selectInventoryTitle: "QS Inventory Ordner ausw\u00e4hlen",
    itemsFileMissing: "items.lua nicht gefunden. Bitte den qs-inventory Ordner w\u00e4hlen.",
    imagesMissing: "Bilderordner nicht gefunden: qs-inventory\\html\\images",
    noItemsDetected:
      "Keine Items erkannt. Stelle sicher, dass die Datei mit `ItemList = {` oder `QBShared.Items = {` beginnt.",
    loadedItems: ({ count }) => `Geladen: ${count} Items`,
    loadError: ({ message }) => `Fehler beim Laden: ${message}`,
    saved: "Gespeichert",
    saveError: ({ message }) => `Fehler beim Speichern: ${message}`,
    backupError: ({ message }) => `Backup konnte nicht erstellt werden: ${message}`,
    language: "Sprache",
    newItem: "Neues Item",
    template: "Template",
    create: "Erstellen",
    cancel: "Abbrechen",
    itemId: "Item ID",
    itemLabel: "Label",
    idRequired: "Bitte eine Item-ID angeben.",
    idExists: ({ id }) => `Item-ID existiert bereits: ${id}`,
    templateNormal: "Normale Items",
    templateNormalRare: "Normale Items mit Rarit\u00e4t",
    templateWeapon: "Waffen",
    templateFood: "Nahrungsmittel",
    templateDrink: "Getr\u00e4nk",
    selectTemplateTitle: "Template ausw\u00e4hlen",
    createItemTitle: "Neues Item bearbeiten",
    close: "Schlie\u00dfen",
    itemCreated: "Item gespeichert",
    imageAdd: "Bild hinzuf\u00fcgen",
    imageAddError: ({ message }) => `Bild konnte nicht hinzugef\u00fcgt werden: ${message}`,
    imageAdded: "Bild hinzugef\u00fcgt",
    duplicatesFound: ({ count }) => `Doppelte Item-IDs gefunden: ${count}`,
    duplicateSelectedHint: ({ id, count }) => `Achtung: ID '${id}' ist ${count}x vorhanden.`,
    duplicatesOnly: "Nur Duplikate",
    duplicateField: "Duplikat nach",
    duplicateById: "ID",
    duplicateByLabel: "Label",
    duplicateByName: "Name",
    duplicateByImage: "Bild",
    sortBy: "Sortieren nach",
    sortNone: "Original",
    sortId: "ID",
    sortLabel: "Label",
    sortName: "Name",
    sortImage: "Bild",
    sortAsc: "A-Z",
    sortDesc: "Z-A",
  },
  en: {
    allItems: "All Items",
    uncategorized: "Unassigned",
    categories: "Categories",
    category: "Category",
    newCategoryPlaceholder: "Create new category...",
    searchPlaceholder: "Search items...",
    inventoryOpen: "Open inventory",
    inventoryLabel: "Inventory",
    loadedFile: "Loaded",
    chooseItemHint: "Choose a category on the left and then select an item.",
    applyChanges: "Apply changes",
    selectInventoryTitle: "Select QS inventory folder",
    itemsFileMissing: "items.lua not found. Please select the qs-inventory folder.",
    imagesMissing: "Images folder not found: qs-inventory\\html\\images",
    noItemsDetected:
      "No items detected. Ensure the file starts with `ItemList = {` or `QBShared.Items = {`.",
    loadedItems: ({ count }) => `Loaded: ${count} items`,
    loadError: ({ message }) => `Load error: ${message}`,
    saved: "Saved",
    saveError: ({ message }) => `Save error: ${message}`,
    backupError: ({ message }) => `Backup failed: ${message}`,
    language: "Language",
    newItem: "New Item",
    template: "Template",
    create: "Create",
    cancel: "Cancel",
    itemId: "Item ID",
    itemLabel: "Label",
    idRequired: "Please provide an item ID.",
    idExists: ({ id }) => `Item ID already exists: ${id}`,
    templateNormal: "Normal Items",
    templateNormalRare: "Normal Items with Rarity",
    templateWeapon: "Weapons",
    templateFood: "Food",
    templateDrink: "Drink",
    selectTemplateTitle: "Select template",
    createItemTitle: "Edit new item",
    close: "Close",
    itemCreated: "Item saved",
    imageAdd: "Add image",
    imageAddError: ({ message }) => `Failed to add image: ${message}`,
    imageAdded: "Image added",
    duplicatesFound: ({ count }) => `Duplicate item IDs found: ${count}`,
    duplicateSelectedHint: ({ id, count }) => `Warning: ID '${id}' exists ${count} times.`,
    duplicatesOnly: "Duplicates only",
    duplicateField: "Duplicate by",
    duplicateById: "ID",
    duplicateByLabel: "Label",
    duplicateByName: "Name",
    duplicateByImage: "Image",
    sortBy: "Sort by",
    sortNone: "Original",
    sortId: "ID",
    sortLabel: "Label",
    sortName: "Name",
    sortImage: "Image",
    sortAsc: "A-Z",
    sortDesc: "Z-A",
  },
  es: {
    allItems: "Todos los items",
    uncategorized: "Sin asignar",
    categories: "Categor\u00edas",
    category: "Categor\u00eda",
    newCategoryPlaceholder: "Crear nueva categor\u00eda...",
    searchPlaceholder: "Buscar item...",
    inventoryOpen: "Abrir inventario",
    inventoryLabel: "Inventario",
    loadedFile: "Cargado",
    chooseItemHint: "Elige una categor\u00eda a la izquierda y luego selecciona un item.",
    applyChanges: "Aplicar cambios",
    selectInventoryTitle: "Seleccionar carpeta de QS inventory",
    itemsFileMissing: "No se encontr\u00f3 items.lua. Selecciona la carpeta qs-inventory.",
    imagesMissing: "No se encontr\u00f3 la carpeta de im\u00e1genes: qs-inventory\\html\\images",
    noItemsDetected:
      "No se detectaron items. Aseg\u00farate de que el archivo empiece con `ItemList = {` o `QBShared.Items = {`.",
    loadedItems: ({ count }) => `Cargado: ${count} items`,
    loadError: ({ message }) => `Error al cargar: ${message}`,
    saved: "Guardado",
    saveError: ({ message }) => `Error al guardar: ${message}`,
    backupError: ({ message }) => `No se pudo crear la copia de seguridad: ${message}`,
    language: "Idioma",
    newItem: "Nuevo item",
    template: "Plantilla",
    create: "Crear",
    cancel: "Cancelar",
    itemId: "ID del item",
    itemLabel: "Etiqueta",
    idRequired: "Introduce un ID de item.",
    idExists: ({ id }) => `El ID del item ya existe: ${id}`,
    templateNormal: "Items normales",
    templateNormalRare: "Items normales con rareza",
    templateWeapon: "Armas",
    templateFood: "Comida",
    templateDrink: "Bebida",
    selectTemplateTitle: "Seleccionar plantilla",
    createItemTitle: "Editar nuevo item",
    close: "Cerrar",
    itemCreated: "Item guardado",
    imageAdd: "A\u00f1adir imagen",
    imageAddError: ({ message }) => `No se pudo a\u00f1adir la imagen: ${message}`,
    imageAdded: "Imagen a\u00f1adida",
    duplicatesFound: ({ count }) => `IDs de item duplicadas encontradas: ${count}`,
    duplicateSelectedHint: ({ id, count }) => `Atenci\u00f3n: la ID '${id}' existe ${count} veces.`,
  },
  fr: {
    allItems: "Tous les items",
    uncategorized: "Non attribu\u00e9",
    categories: "Cat\u00e9gories",
    category: "Cat\u00e9gorie",
    newCategoryPlaceholder: "Cr\u00e9er une nouvelle cat\u00e9gorie...",
    searchPlaceholder: "Rechercher un item...",
    inventoryOpen: "Ouvrir l'inventaire",
    inventoryLabel: "Inventaire",
    loadedFile: "Charg\u00e9",
    chooseItemHint: "Choisis une cat\u00e9gorie \u00e0 gauche puis s\u00e9lectionne un item.",
    applyChanges: "Appliquer les modifications",
    selectInventoryTitle: "S\u00e9lectionner le dossier QS inventory",
    itemsFileMissing: "items.lua introuvable. S\u00e9lectionne le dossier qs-inventory.",
    imagesMissing: "Dossier d'images introuvable : qs-inventory\\html\\images",
    noItemsDetected:
      "Aucun item d\u00e9tect\u00e9. V\u00e9rifie que le fichier commence par `ItemList = {` ou `QBShared.Items = {`.",
    loadedItems: ({ count }) => `Charg\u00e9 : ${count} items`,
    loadError: ({ message }) => `Erreur de chargement : ${message}`,
    saved: "Enregistr\u00e9",
    saveError: ({ message }) => `Erreur d'enregistrement : ${message}`,
    backupError: ({ message }) => `\u00c9chec de la sauvegarde : ${message}`,
    language: "Langue",
    newItem: "Nouvel item",
    template: "Mod\u00e8le",
    create: "Cr\u00e9er",
    cancel: "Annuler",
    itemId: "ID de l'item",
    itemLabel: "Libell\u00e9",
    idRequired: "Veuillez saisir un ID d'item.",
    idExists: ({ id }) => `L'ID de l'item existe d\u00e9j\u00e0 : ${id}`,
    templateNormal: "Items normaux",
    templateNormalRare: "Items normaux avec raret\u00e9",
    templateWeapon: "Armes",
    templateFood: "Nourriture",
    templateDrink: "Boisson",
    selectTemplateTitle: "S\u00e9lectionner un mod\u00e8le",
    createItemTitle: "Modifier le nouvel item",
    close: "Fermer",
    itemCreated: "Item enregistr\u00e9",
    imageAdd: "Ajouter une image",
    imageAddError: ({ message }) => `Impossible d'ajouter l'image : ${message}`,
    imageAdded: "Image ajout\u00e9e",
    duplicatesFound: ({ count }) => `IDs d'item dupliqu\u00e9es trouv\u00e9es : ${count}`,
    duplicateSelectedHint: ({ id, count }) => `Attention : l'ID '${id}' existe ${count} fois.`,
  },
  "pt-BR": {
    allItems: "Todos os itens",
    uncategorized: "N\u00e3o atribu\u00eddo",
    categories: "Categorias",
    category: "Categoria",
    newCategoryPlaceholder: "Criar nova categoria...",
    searchPlaceholder: "Buscar item...",
    inventoryOpen: "Abrir invent\u00e1rio",
    inventoryLabel: "Invent\u00e1rio",
    loadedFile: "Carregado",
    chooseItemHint: "Escolha uma categoria \u00e0 esquerda e depois selecione um item.",
    applyChanges: "Aplicar altera\u00e7\u00f5es",
    selectInventoryTitle: "Selecionar pasta do QS inventory",
    itemsFileMissing: "items.lua n\u00e3o encontrado. Selecione a pasta qs-inventory.",
    imagesMissing: "Pasta de imagens n\u00e3o encontrada: qs-inventory\\html\\images",
    noItemsDetected:
      "Nenhum item detectado. Verifique se o arquivo come\u00e7a com `ItemList = {` ou `QBShared.Items = {`.",
    loadedItems: ({ count }) => `Carregado: ${count} itens`,
    loadError: ({ message }) => `Erro ao carregar: ${message}`,
    saved: "Salvo",
    saveError: ({ message }) => `Erro ao salvar: ${message}`,
    backupError: ({ message }) => `Falha ao criar backup: ${message}`,
    language: "Idioma",
    newItem: "Novo item",
    template: "Modelo",
    create: "Criar",
    cancel: "Cancelar",
    itemId: "ID do item",
    itemLabel: "R\u00f3tulo",
    idRequired: "Informe um ID de item.",
    idExists: ({ id }) => `ID de item j\u00e1 existe: ${id}`,
    templateNormal: "Itens normais",
    templateNormalRare: "Itens normais com raridade",
    templateWeapon: "Armas",
    templateFood: "Comida",
    templateDrink: "Bebida",
    selectTemplateTitle: "Selecionar modelo",
    createItemTitle: "Editar novo item",
    close: "Fechar",
    itemCreated: "Item salvo",
    imageAdd: "Adicionar imagem",
    imageAddError: ({ message }) => `Falha ao adicionar imagem: ${message}`,
    imageAdded: "Imagem adicionada",
    duplicatesFound: ({ count }) => `IDs de item duplicados encontrados: ${count}`,
    duplicateSelectedHint: ({ id, count }) => `Aten\u00e7\u00e3o: o ID '${id}' existe ${count} vezes.`,
  },
  it: {
    allItems: "Tutti gli item",
    uncategorized: "Non assegnato",
    categories: "Categorie",
    category: "Categoria",
    newCategoryPlaceholder: "Crea una nuova categoria...",
    searchPlaceholder: "Cerca item...",
    inventoryOpen: "Apri inventario",
    inventoryLabel: "Inventario",
    loadedFile: "Caricato",
    chooseItemHint: "Scegli una categoria a sinistra e poi seleziona un item.",
    applyChanges: "Applica modifiche",
    selectInventoryTitle: "Seleziona cartella QS inventory",
    itemsFileMissing: "items.lua non trovato. Seleziona la cartella qs-inventory.",
    imagesMissing: "Cartella immagini non trovata: qs-inventory\\html\\images",
    noItemsDetected:
      "Nessun item rilevato. Assicurati che il file inizi con `ItemList = {` o `QBShared.Items = {`.",
    loadedItems: ({ count }) => `Caricati: ${count} item`,
    loadError: ({ message }) => `Errore di caricamento: ${message}`,
    saved: "Salvato",
    saveError: ({ message }) => `Errore di salvataggio: ${message}`,
    backupError: ({ message }) => `Backup non riuscito: ${message}`,
    language: "Lingua",
    newItem: "Nuovo item",
    template: "Modello",
    create: "Crea",
    cancel: "Annulla",
    itemId: "ID item",
    itemLabel: "Etichetta",
    idRequired: "Inserisci un ID item.",
    idExists: ({ id }) => `ID item gi\u00e0 esistente: ${id}`,
    templateNormal: "Item normali",
    templateNormalRare: "Item normali con rarit\u00e0",
    templateWeapon: "Armi",
    templateFood: "Cibo",
    templateDrink: "Bevanda",
    selectTemplateTitle: "Seleziona modello",
    createItemTitle: "Modifica nuovo item",
    close: "Chiudi",
    itemCreated: "Item salvato",
    imageAdd: "Aggiungi immagine",
    imageAddError: ({ message }) => `Impossibile aggiungere l'immagine: ${message}`,
    imageAdded: "Immagine aggiunta",
    duplicatesFound: ({ count }) => `ID oggetto duplicati trovati: ${count}`,
    duplicateSelectedHint: ({ id, count }) => `Attenzione: l'ID '${id}' esiste ${count} volte.`,
  },
  pl: {
    allItems: "Wszystkie przedmioty",
    uncategorized: "Nieprzypisane",
    categories: "Kategorie",
    category: "Kategoria",
    newCategoryPlaceholder: "Utw\u00f3rz now\u0105 kategori\u0119...",
    searchPlaceholder: "Szukaj przedmiotu...",
    inventoryOpen: "Otw\u00f3rz ekwipunek",
    inventoryLabel: "Ekwipunek",
    loadedFile: "Wczytano",
    chooseItemHint: "Wybierz kategori\u0119 po lewej stronie, a nast\u0119pnie przedmiot.",
    applyChanges: "Zastosuj zmiany",
    selectInventoryTitle: "Wybierz folder QS inventory",
    itemsFileMissing: "Nie znaleziono items.lua. Wybierz folder qs-inventory.",
    imagesMissing: "Nie znaleziono folderu obraz\u00f3w: qs-inventory\\html\\images",
    noItemsDetected:
      "Nie wykryto przedmiot\u00f3w. Upewnij si\u0119, \u017ce plik zaczyna si\u0119 od `ItemList = {` lub `QBShared.Items = {`.",
    loadedItems: ({ count }) => `Wczytano: ${count} przedmiot\u00f3w`,
    loadError: ({ message }) => `B\u0142\u0105d wczytywania: ${message}`,
    saved: "Zapisano",
    saveError: ({ message }) => `B\u0142\u0105d zapisu: ${message}`,
    backupError: ({ message }) => `Nie uda\u0142o si\u0119 utworzy\u0107 kopii zapasowej: ${message}`,
    language: "J\u0119zyk",
    newItem: "Nowy przedmiot",
    template: "Szablon",
    create: "Utw\u00f3rz",
    cancel: "Anuluj",
    itemId: "ID przedmiotu",
    itemLabel: "Etykieta",
    idRequired: "Podaj ID przedmiotu.",
    idExists: ({ id }) => `ID przedmiotu ju\u017c istnieje: ${id}`,
    templateNormal: "Zwyk\u0142e przedmioty",
    templateNormalRare: "Zwyk\u0142e przedmioty z rzadko\u015bci\u0105",
    templateWeapon: "Bro\u0144",
    templateFood: "Jedzenie",
    templateDrink: "Nap\u00f3j",
    selectTemplateTitle: "Wybierz szablon",
    createItemTitle: "Edytuj nowy przedmiot",
    close: "Zamknij",
    itemCreated: "Przedmiot zapisany",
    imageAdd: "Dodaj obraz",
    imageAddError: ({ message }) => `Nie uda\u0142o si\u0119 doda\u0107 obrazu: ${message}`,
    imageAdded: "Obraz dodany",
    duplicatesFound: ({ count }) => `Znaleziono zduplikowane ID przedmiot\u00f3w: ${count}`,
    duplicateSelectedHint: ({ id, count }) => `Uwaga: ID '${id}' wyst\u0119puje ${count} razy.`,
  },
  tr: {
    allItems: "T\u00fcm \u00f6\u011feler",
    uncategorized: "Atanmam\u0131\u015f",
    categories: "Kategoriler",
    category: "Kategori",
    newCategoryPlaceholder: "Yeni kategori olu\u015ftur...",
    searchPlaceholder: "\u00d6\u011fe ara...",
    inventoryOpen: "Envanteri a\u00e7",
    inventoryLabel: "Envanter",
    loadedFile: "Y\u00fcklendi",
    chooseItemHint: "Soldan bir kategori se\u00e7in ve sonra bir \u00f6\u011fe se\u00e7in.",
    applyChanges: "De\u011fi\u015fiklikleri uygula",
    selectInventoryTitle: "QS inventory klas\u00f6r\u00fcn\u00fc se\u00e7",
    itemsFileMissing: "items.lua bulunamad\u0131. L\u00fctfen qs-inventory klas\u00f6r\u00fcn\u00fc se\u00e7in.",
    imagesMissing: "G\u00f6rsel klas\u00f6r\u00fc bulunamad\u0131: qs-inventory\\html\\images",
    noItemsDetected:
      "\u00d6\u011fe bulunamad\u0131. Dosyan\u0131n `ItemList = {` veya `QBShared.Items = {` ile ba\u015flad\u0131\u011f\u0131ndan emin olun.",
    loadedItems: ({ count }) => `Y\u00fcklendi: ${count} \u00f6\u011fe`,
    loadError: ({ message }) => `Y\u00fckleme hatas\u0131: ${message}`,
    saved: "Kaydedildi",
    saveError: ({ message }) => `Kaydetme hatas\u0131: ${message}`,
    backupError: ({ message }) => `Yedek olu\u015fturulamad\u0131: ${message}`,
    language: "Dil",
    newItem: "Yeni \u00f6\u011fe",
    template: "\u015eablon",
    create: "Olu\u015ftur",
    cancel: "\u0130ptal",
    itemId: "\u00d6\u011fe ID",
    itemLabel: "Etiket",
    idRequired: "L\u00fctfen bir \u00f6\u011fe ID girin.",
    idExists: ({ id }) => `\u00d6\u011fe ID zaten mevcut: ${id}`,
    templateNormal: "Normal \u00f6\u011feler",
    templateNormalRare: "Nadirlikli normal \u00f6\u011feler",
    templateWeapon: "Silahlar",
    templateFood: "Yiyecek",
    templateDrink: "\u0130\u00e7ecek",
    selectTemplateTitle: "\u015eablon se\u00e7",
    createItemTitle: "Yeni \u00f6\u011feyi d\u00fczenle",
    close: "Kapat",
    itemCreated: "\u00d6\u011fe kaydedildi",
    imageAdd: "G\u00f6rsel ekle",
    imageAddError: ({ message }) => `G\u00f6rsel eklenemedi: ${message}`,
    imageAdded: "G\u00f6rsel eklendi",
    duplicatesFound: ({ count }) => `Yinelenen \u00f6\u011fe ID'leri bulundu: ${count}`,
    duplicateSelectedHint: ({ id, count }) => `Uyar\u0131: '${id}' ID'si ${count} kez bulunuyor.`,
  },
  ru: {
    allItems: "\u0412\u0441\u0435 \u043f\u0440\u0435\u0434\u043c\u0435\u0442\u044b",
    uncategorized: "\u0411\u0435\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438",
    categories: "\u041a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438",
    category: "\u041a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u044f",
    newCategoryPlaceholder: "\u0421\u043e\u0437\u0434\u0430\u0442\u044c \u043d\u043e\u0432\u0443\u044e \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u044e...",
    searchPlaceholder: "\u041f\u043e\u0438\u0441\u043a \u043f\u0440\u0435\u0434\u043c\u0435\u0442\u0430...",
    inventoryOpen: "\u041e\u0442\u043a\u0440\u044b\u0442\u044c \u0438\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044c",
    inventoryLabel: "\u0418\u043d\u0432\u0435\u043d\u0442\u0430\u0440\u044c",
    loadedFile: "\u0417\u0430\u0433\u0440\u0443\u0436\u0435\u043d\u043e",
    chooseItemHint:
      "\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u044e \u0441\u043b\u0435\u0432\u0430, \u0437\u0430\u0442\u0435\u043c \u0432\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u043f\u0440\u0435\u0434\u043c\u0435\u0442.",
    applyChanges: "\u041f\u0440\u0438\u043c\u0435\u043d\u0438\u0442\u044c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f",
    selectInventoryTitle: "\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u043f\u0430\u043f\u043a\u0443 QS inventory",
    itemsFileMissing:
      "\u0424\u0430\u0439\u043b items.lua \u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d. \u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u043f\u0430\u043f\u043a\u0443 qs-inventory.",
    imagesMissing:
      "\u041f\u0430\u043f\u043a\u0430 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0439 \u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d\u0430: qs-inventory\\html\\images",
    noItemsDetected:
      "\u041f\u0440\u0435\u0434\u043c\u0435\u0442\u044b \u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d\u044b. \u0423\u0431\u0435\u0434\u0438\u0442\u0435\u0441\u044c, \u0447\u0442\u043e \u0444\u0430\u0439\u043b \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442\u0441\u044f \u0441 `ItemList = {` \u0438\u043b\u0438 `QBShared.Items = {`.",
    loadedItems: ({ count }) => `\u0417\u0430\u0433\u0440\u0443\u0436\u0435\u043d\u043e: ${count} \u043f\u0440\u0435\u0434\u043c\u0435\u0442\u043e\u0432`,
    loadError: ({ message }) => `\u041e\u0448\u0438\u0431\u043a\u0430 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438: ${message}`,
    saved: "\u0421\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u043e",
    saveError: ({ message }) => `\u041e\u0448\u0438\u0431\u043a\u0430 \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f: ${message}`,
    backupError: ({ message }) =>
      `\u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u0443\u044e \u043a\u043e\u043f\u0438\u044e: ${message}`,
    language: "\u042f\u0437\u044b\u043a",
    newItem: "\u041d\u043e\u0432\u044b\u0439 \u043f\u0440\u0435\u0434\u043c\u0435\u0442",
    template: "\u0428\u0430\u0431\u043b\u043e\u043d",
    create: "\u0421\u043e\u0437\u0434\u0430\u0442\u044c",
    cancel: "\u041e\u0442\u043c\u0435\u043d\u0430",
    itemId: "ID \u043f\u0440\u0435\u0434\u043c\u0435\u0442\u0430",
    itemLabel: "\u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435",
    idRequired: "\u0412\u0432\u0435\u0434\u0438\u0442\u0435 ID \u043f\u0440\u0435\u0434\u043c\u0435\u0442\u0430.",
    idExists: ({ id }) => `ID \u043f\u0440\u0435\u0434\u043c\u0435\u0442\u0430 \u0443\u0436\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442: ${id}`,
    templateNormal: "\u041e\u0431\u044b\u0447\u043d\u044b\u0435 \u043f\u0440\u0435\u0434\u043c\u0435\u0442\u044b",
    templateNormalRare: "\u041e\u0431\u044b\u0447\u043d\u044b\u0435 \u043f\u0440\u0435\u0434\u043c\u0435\u0442\u044b \u0441 \u0440\u0435\u0434\u043a\u043e\u0441\u0442\u044c\u044e",
    templateWeapon: "\u041e\u0440\u0443\u0436\u0438\u0435",
    templateFood: "\u0415\u0434\u0430",
    templateDrink: "\u041d\u0430\u043f\u0438\u0442\u043e\u043a",
    selectTemplateTitle: "\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0448\u0430\u0431\u043b\u043e\u043d",
    createItemTitle: "\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043d\u043e\u0432\u043e\u0433\u043e \u043f\u0440\u0435\u0434\u043c\u0435\u0442\u0430",
    close: "\u0417\u0430\u043a\u0440\u044b\u0442\u044c",
    itemCreated: "\u041f\u0440\u0435\u0434\u043c\u0435\u0442 \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d",
    imageAdd: "\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435",
    imageAddError: ({ message }) =>
      `\u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435: ${message}`,
    imageAdded: "\u0418\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u043e",
    duplicatesFound: ({ count }) =>
      `\u041d\u0430\u0439\u0434\u0435\u043d\u043e \u0434\u0443\u0431\u043b\u0438\u043a\u0430\u0442\u043e\u0432 ID \u043f\u0440\u0435\u0434\u043c\u0435\u0442\u043e\u0432: ${count}`,
    duplicateSelectedHint: ({ id, count }) =>
      `\u0412\u043d\u0438\u043c\u0430\u043d\u0438\u0435: ID '${id}' \u0432\u0441\u0442\u0440\u0435\u0447\u0430\u0435\u0442\u0441\u044f ${count} \u0440\u0430\u0437.`,
  },
};
