Skip to content

🛡️ Warracker is an open source, self-hostable warranty tracker to monitor expirations, store receipts, files. You own the data, your rules!

Grid view: collapse card actions into an overflow menu

Omega (QA)8f34f5f438fe
diff --git a/CHANGELOG.md b/CHANGELOG.md
index b54f843..b9c1c70 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,8 @@
## 1.0.5 - Unreleased
+- **Collapsible card actions in grid view:** a grid card header carried six icon buttons (Claims, Edit, Archive, Void, Duplicate, Delete) next to the product name, and the name was capped at 200px, so long product names truncated while the buttons took more room than the title. The header now keeps Claims and Edit visible and moves Archive, Void/Unvoid, Duplicate and Delete into an overflow (kebab) menu whose items carry text labels, not just icons, which also helps touch users who never see the icon tooltips. Delete sits last in the menu in the danger color, so it takes one deliberate extra tap. The title cap is gone in grid view, and names wrap to a second line instead of truncating, so the full product name shows. List and table views are unchanged.
+ - _Files: `frontend/js/components/warrantyRenderer.js`, `frontend/js/controllers/warrantyListController.js`, `frontend/style.css`, `locales/*/translation.json`_
- **Clearer Docker startup logs:** the container log now opens with the running version and a short configuration summary (database host, port, database name and user, nginx on or off, upload limit, memory mode, and the frontend URL used for login redirects), so a pasted startup log answers the first support questions by itself. The database wait reports progress every 5 attempts and, if the database never answers, fails with the host and port it tried and what to check. A failure in the migrations or permissions step now stops startup with one clear line naming the step. And nginx errors go to stderr, so they appear in `docker logs` alongside the app output instead of only in a file inside the container (access logs still go to their file). No passwords are ever printed.
- _Files: `Docker/entrypoint.sh`, `nginx.conf`_
- **Smaller Docker image:** the Python dependencies now install into a virtualenv in the builder, and the runtime copies only that venv instead of the builder's whole /usr/local, so the image no longer carries a duplicate Python interpreter and standard library. Supervisor is the pip package (4.3.0) rather than the Debian package, which also removes the system Python that package pulled in. The entrypoint waits for the database with a short Python probe instead of pg_isready, so postgresql-client is gone, and the copied packages are stripped of bytecode caches, bundled test suites, and pip itself. Behaviour is unchanged: same base image, same startup flow, same supervisor-managed nginx, gunicorn, and cron. Setuptools is no longer a direct requirement (it was build tooling), and pip builds now use a BuildKit cache mount, so rebuilds on a maintainer's machine reuse previously downloaded packages. Separately, the entrypoint now prints a Warracker banner to the container log once the app passes its health check, so a fully started container is easy to spot in the logs.
diff --git a/frontend/js/components/warrantyRenderer.js b/frontend/js/components/warrantyRenderer.js
index 16fc1c6..3ff2776 100644
--- a/frontend/js/components/warrantyRenderer.js
+++ b/frontend/js/components/warrantyRenderer.js
@@ -342,7 +342,50 @@ function buildClaimsMeta(warranty) {
return { className: 'action-btn claims-link', title: 'Claims' };
}
-function buildActionButtons(warranty, { canEdit, isArchivedView, claimsMeta }) {
+function buildGridOverflowMenu(warranty, { isArchivedView }) {
+ const archived = isArchivedView || warranty.is_archived;
+ const items = [];
+ if (archived) {
+ items.push(`
+ <button class="overflow-item unarchive-btn" data-id="${warranty.id}">
+ <i class="fas fa-box-open"></i><span>${t('warranties.unarchive_warranty', 'Unarchive warranty')}</span>
+ </button>`);
+ } else {
+ items.push(`
+ <button class="overflow-item archive-btn" data-id="${warranty.id}">
+ <i class="fas fa-archive"></i><span>${t('warranties.archive_warranty', 'Archive warranty')}</span>
+ </button>`);
+ items.push(warranty.is_voided
+ ? `
+ <button class="overflow-item unvoid-btn" data-id="${warranty.id}">
+ <i class="fas fa-undo"></i><span>${t('warranties.unvoid_warranty', 'Unvoid warranty')}</span>
+ </button>`
+ : `
+ <button class="overflow-item void-btn" data-id="${warranty.id}">
+ <i class="fas fa-ban"></i><span>${t('warranties.void_warranty', 'Void warranty')}</span>
+ </button>`);
+ }
+ items.push(`
+ <button class="overflow-item duplicate-btn" data-id="${warranty.id}">
+ <i class="fas fa-copy"></i><span>${t('warranties.duplicate_warranty', 'Duplicate warranty')}</span>
+ </button>`);
+ items.push(`
+ <button class="overflow-item delete-btn" data-id="${warranty.id}">
+ <i class="fas fa-trash"></i><span>${t('warranties.delete', 'Delete Warranty')}</span>
+ </button>`);
+ return `
+ <div class="card-overflow">
+ <button class="action-btn overflow-btn" title="${t('warranties.more_actions', 'More actions')}" data-id="${warranty.id}" aria-haspopup="true" aria-expanded="false">
+ <i class="fas fa-ellipsis-v"></i>
+ </button>
+ <div class="overflow-menu" role="menu" hidden>
+ ${items.join('')}
+ </div>
+ </div>
+ `;
+}
+
+function buildActionButtons(warranty, { canEdit, isArchivedView, claimsMeta, view }) {
if (!canEdit) {
return `
<button class="${claimsMeta.className}" title="${claimsMeta.title}" data-id="${warranty.id}">
@@ -353,6 +396,22 @@ function buildActionButtons(warranty, { canEdit, isArchivedView, claimsMeta }) {
</span>
`;
}
+ if (view === 'grid') {
+ const archived = isArchivedView || warranty.is_archived;
+ return `
+ <button class="${claimsMeta.className}" title="${claimsMeta.title}" data-id="${warranty.id}">
+ <i class="fas fa-clipboard-list"></i>
+ </button>
+ ${archived
+ ? ''
+ : `
+ <button class="action-btn edit-btn" title="Edit" data-id="${warranty.id}">
+ <i class="fas fa-edit"></i>
+ </button>
+ `}
+ ${buildGridOverflowMenu(warranty, { isArchivedView })}
+ `;
+ }
return `
<button class="${claimsMeta.className}" title="${claimsMeta.title}" data-id="${warranty.id}">
<i class="fas fa-clipboard-list"></i>
@@ -564,7 +623,7 @@ export function renderWarrantiesList(warranties, options = {}) {
const userInfoHtml = buildUserInfo(warranty, isGlobalView);
const canEdit = resolveCanEdit(warranty, isGlobalView);
const claimsMeta = buildClaimsMeta(warranty);
- const actionButtons = buildActionButtons(warranty, { canEdit, isArchivedView, claimsMeta });
+ const actionButtons = buildActionButtons(warranty, { canEdit, isArchivedView, claimsMeta, view: currentView });
const card = document.createElement('div');
card.className = cardClassName(warranty, currentView, statusClass);
diff --git a/frontend/js/controllers/warrantyListController.js b/frontend/js/controllers/warrantyListController.js
index 3c24be8..e58d4db 100644
--- a/frontend/js/controllers/warrantyListController.js
+++ b/frontend/js/controllers/warrantyListController.js
@@ -770,8 +770,29 @@ export function initEventListeners() {
// List delegated events (claims/edit/delete/notes/archive/unarchive) - controller owns this exclusively
const list = document.getElementById('warrantiesList');
+ const closeAllOverflowMenus = () => {
+ document.querySelectorAll('.overflow-menu:not([hidden])').forEach((menu) => {
+ menu.hidden = true;
+ menu.closest('.card-overflow')?.querySelector('.overflow-btn')?.setAttribute('aria-expanded', 'false');
+ });
+ };
if (list && !list._wlcDelegated) {
list.addEventListener('click', (e) => {
+ if (e.target.closest('.overflow-btn')) {
+ e.preventDefault();
+ const btn = e.target.closest('.overflow-btn');
+ const menu = btn.closest('.card-overflow')?.querySelector('.overflow-menu');
+ const willOpen = menu ? menu.hidden : false;
+ closeAllOverflowMenus();
+ if (menu && willOpen) {
+ menu.hidden = false;
+ btn.setAttribute('aria-expanded', 'true');
+ }
+ return;
+ }
+ if (e.target.closest('.overflow-item')) {
+ closeAllOverflowMenus();
+ }
if (e.target.closest('.claims-link')) {
e.preventDefault();
const id = parseInt(e.target.closest('.claims-link')?.dataset?.id);
@@ -851,6 +872,12 @@ export function initEventListeners() {
});
list._wlcDelegated = true;
}
+ if (!document._wlcOverflowCloser) {
+ document.addEventListener('click', (e) => {
+ if (!e.target.closest('.card-overflow')) closeAllOverflowMenus();
+ });
+ document._wlcOverflowCloser = true;
+ }
}
// Backward compatibility for legacy callers
diff --git a/frontend/style.css b/frontend/style.css
index 27083c9..190b06a 100644
--- a/frontend/style.css
+++ b/frontend/style.css
@@ -859,6 +859,84 @@ input.invalid {
gap: 8px;
}
+/* Grid view: the warranty name gets the full header width.
+ Higher specificity than the .product-name-header .warranty-title rule
+ below, which reserves room for the old six-button action row. */
+.warranties-list.grid-view .warranty-title {
+ max-width: none;
+ flex: 1 1 auto;
+ min-width: 0;
+ /* Wrap to a second line instead of truncating long names mid-word;
+ anything beyond two lines still ellipsizes. */
+ white-space: normal;
+ display: -webkit-box;
+ -webkit-line-clamp: 2;
+ -webkit-box-orient: vertical;
+ overflow: hidden;
+ line-height: 1.25;
+}
+
+.grid-view .warranty-actions {
+ flex: 0 0 auto;
+ align-items: center;
+}
+
+/* Grid view card overflow (kebab) menu */
+.card-overflow {
+ position: relative;
+ display: flex;
+}
+
+.overflow-menu {
+ position: absolute;
+ top: calc(100% + 6px);
+ right: 0;
+ min-width: 200px;
+ background-color: var(--card-bg);
+ border: 1px solid var(--border-color);
+ border-radius: 8px;
+ box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
+ padding: 6px;
+ z-index: 60;
+ display: flex;
+ flex-direction: column;
+}
+
+.overflow-menu[hidden] {
+ display: none;
+}
+
+.overflow-item {
+ display: flex;
+ align-items: center;
+ gap: 10px;
+ width: 100%;
+ padding: 8px 10px;
+ background: none;
+ border: none;
+ border-radius: 6px;
+ color: var(--text-color);
+ font-size: 0.92rem;
+ cursor: pointer;
+ text-align: left;
+ transition: var(--transition);
+}
+
+.overflow-item i {
+ width: 16px;
+ text-align: center;
+ color: var(--dark-gray);
+}
+
+.overflow-item:hover {
+ background-color: rgba(128, 128, 128, 0.12);
+}
+
+.overflow-item.delete-btn,
+.overflow-item.delete-btn i {
+ color: var(--danger-color);
+}
+
.action-btn {
background: none;
border: none;
diff --git a/locales/ar/translation.json b/locales/ar/translation.json
index c9488a7..c4b1c54 100644
--- a/locales/ar/translation.json
+++ b/locales/ar/translation.json
@@ -176,6 +176,9 @@
"purchase_price_optional": "سعر الشراء (اختياري)",
"purchase_price_tooltip": "السعر الذي دفعته مقابل المنتج نفسه، وليس تكلفة الضمان. إذا كان الضمان مشمولاً مع المنتج، فأدخل سعر المنتج.",
"duplicate_warranty": "تكرار الضمان",
+ "more_actions": "إجراءات إضافية",
+ "archive_warranty": "أرشفة الضمان",
+ "unarchive_warranty": "إلغاء أرشفة الضمان",
"photo_url_placeholder": "أو الصق رابط صورة",
"notes_optional": "ملاحظات (اختياري)",
"add_any_notes": "أضف أي ملاحظات حول هذا الضمان...",
diff --git a/locales/cs/translation.json b/locales/cs/translation.json
index 46e4a06..cfc86a8 100644
--- a/locales/cs/translation.json
+++ b/locales/cs/translation.json
@@ -153,6 +153,9 @@
"purchase_price_optional": "Nákupní cena (volitelné)",
"purchase_price_tooltip": "Cena, kterou jste zaplatili za samotný výrobek, nikoli náklady na záruku. Pokud byla záruka součástí výrobku, zadejte cenu výrobku.",
"duplicate_warranty": "Duplikovat záruku",
+ "more_actions": "Další akce",
+ "archive_warranty": "Archivovat záruku",
+ "unarchive_warranty": "Zrušit archivaci záruky",
"photo_url_placeholder": "Nebo vložte URL fotografie",
"notes_optional": "Poznámky (volitelné)",
"add_any_notes": "Přidejte jakékoli poznámky k této záruce...",
diff --git a/locales/de/translation.json b/locales/de/translation.json
index 0341c49..8c409c6 100644
--- a/locales/de/translation.json
+++ b/locales/de/translation.json
@@ -146,6 +146,9 @@
"purchase_price_optional": "Kaufpreis (optional)",
"purchase_price_tooltip": "Der Preis, den Sie für das Produkt selbst bezahlt haben, nicht die Kosten der Garantie. Wenn die Garantie im Produkt enthalten war, geben Sie den Produktpreis ein.",
"duplicate_warranty": "Garantie duplizieren",
+ "more_actions": "Weitere Aktionen",
+ "archive_warranty": "Garantie archivieren",
+ "unarchive_warranty": "Archivierung aufheben",
"photo_url_placeholder": "Oder eine Foto-URL einfügen",
"notes_optional": "Notizen (optional)",
"add_any_notes": "Fügen Sie Notizen zu dieser Garantie hinzu...",
diff --git a/locales/en/translation.json b/locales/en/translation.json
index 8b1d547..6883b72 100644
--- a/locales/en/translation.json
+++ b/locales/en/translation.json
@@ -141,6 +141,9 @@
"purchase_price_optional": "Purchase Price (Optional)",
"purchase_price_tooltip": "The price you paid for the product itself, not the cost of the warranty. If the warranty was included with the product, enter the product's price.",
"duplicate_warranty": "Duplicate warranty",
+ "more_actions": "More actions",
+ "archive_warranty": "Archive warranty",
+ "unarchive_warranty": "Unarchive warranty",
"photo_url_placeholder": "Or paste a photo URL",
"notes_optional": "Notes (Optional)",
"add_any_notes": "Add any notes about this warranty...",
diff --git a/locales/es/translation.json b/locales/es/translation.json
index 7cca354..e7205e3 100644
--- a/locales/es/translation.json
+++ b/locales/es/translation.json
@@ -142,6 +142,9 @@
"purchase_price_optional": "Precio de compra (opcional)",
"purchase_price_tooltip": "El precio que pagó por el producto en sí, no el costo de la garantía. Si la garantía estaba incluida con el producto, ingrese el precio del producto.",
"duplicate_warranty": "Duplicar garantía",
+ "more_actions": "Más acciones",
+ "archive_warranty": "Archivar garantía",
+ "unarchive_warranty": "Desarchivar garantía",
"photo_url_placeholder": "O pegue la URL de una foto",
"notes_optional": "Notas (opcional)",
"add_any_notes": "Añada cualquier nota sobre esta garantía...",
diff --git a/locales/fa/translation.json b/locales/fa/translation.json
index f85f091..848aa41 100644
--- a/locales/fa/translation.json
+++ b/locales/fa/translation.json
@@ -146,6 +146,9 @@
"purchase_price_optional": "قیمت خرید (اختیاری)",
"purchase_price_tooltip": "قیمتی که برای خود محصول پرداخت کرده‌اید، نه هزینه گارانتی. اگر گارانتی همراه محصول بوده است، قیمت محصول را وارد کنید.",
"duplicate_warranty": "تکثیر گارانتی",
+ "more_actions": "اقدامات بیشتر",
+ "archive_warranty": "بایگانی ضمانت",
+ "unarchive_warranty": "خارج کردن ضمانت از بایگانی",
"photo_url_placeholder": "یا نشانی اینترنتی عکس را بچسبانید",
"notes_optional": "یادداشت‌ها (اختیاری)",
"add_any_notes": "هرگونه یادداشتی در مورد این گارانتی اضافه کنید...",
diff --git a/locales/fr/translation.json b/locales/fr/translation.json
index ed0668d..4689bdf 100644
--- a/locales/fr/translation.json
+++ b/locales/fr/translation.json
@@ -146,6 +146,9 @@
"purchase_price_optional": "Prix d'achat (facultatif)",
"purchase_price_tooltip": "Le prix que vous avez payé pour le produit lui-même, et non le coût de la garantie. Si la garantie était incluse avec le produit, saisissez le prix du produit.",
"duplicate_warranty": "Dupliquer la garantie",
+ "more_actions": "Plus d'actions",
+ "archive_warranty": "Archiver la garantie",
+ "unarchive_warranty": "Désarchiver la garantie",
"photo_url_placeholder": "Ou collez l'URL d'une photo",
"notes_optional": "Notes (facultatif)",
"add_any_notes": "Ajoutez des notes sur cette garantie...",
diff --git a/locales/he/translation.json b/locales/he/translation.json
index f2ef5e5..5c863f7 100644
--- a/locales/he/translation.json
+++ b/locales/he/translation.json
@@ -178,6 +178,9 @@
"purchase_price_optional": "מחיר רכישה (אופציונלי)",
"purchase_price_tooltip": "המחיר ששילמתם עבור המוצר עצמו, לא עלות האחריות. אם האחריות נכללה עם המוצר, הזינו את מחיר המוצר.",
"duplicate_warranty": "שכפול אחריות",
+ "more_actions": "פעולות נוספות",
+ "archive_warranty": "העברת אחריות לארכיון",
+ "unarchive_warranty": "שחזור אחריות מהארכיון",
"photo_url_placeholder": "או הדביקו כתובת URL של תמונה",
"notes_optional": "הערות (אופציונלי)",
"add_any_notes": "הוסף הערות לגבי אחריות זו...",
diff --git a/locales/hi/translation.json b/locales/hi/translation.json
index ab17411..39382df 100644
--- a/locales/hi/translation.json
+++ b/locales/hi/translation.json
@@ -146,6 +146,9 @@
"purchase_price_optional": "खरीद मूल्य (वैकल्पिक)",
"purchase_price_tooltip": "वह कीमत जो आपने उत्पाद के लिए चुकाई है, वारंटी की लागत नहीं। यदि वारंटी उत्पाद के साथ शामिल थी, तो उत्पाद की कीमत दर्ज करें।",
"duplicate_warranty": "वारंटी डुप्लिकेट करें",
+ "more_actions": "अधिक कार्रवाइयाँ",
+ "archive_warranty": "वारंटी संग्रहित करें",
+ "unarchive_warranty": "वारंटी को संग्रह से हटाएँ",
"photo_url_placeholder": "या फ़ोटो का URL चिपकाएँ",
"notes_optional": "नोट्स (वैकल्पिक)",
"add_any_notes": "इस वारंटी के बारे में कोई नोट्स जोड़ें...",
diff --git a/locales/it/translation.json b/locales/it/translation.json
index 525a777..c2b3dab 100644
--- a/locales/it/translation.json
+++ b/locales/it/translation.json
@@ -431,6 +431,9 @@
"purchase_price_optional": "Prezzo di Acquisto (Opzionale)",
"purchase_price_tooltip": "Il prezzo pagato per il prodotto stesso, non il costo della garanzia. Se la garanzia era inclusa con il prodotto, inserisci il prezzo del prodotto.",
"duplicate_warranty": "Duplica garanzia",
+ "more_actions": "Altre azioni",
+ "archive_warranty": "Archivia garanzia",
+ "unarchive_warranty": "Ripristina garanzia",
"photo_url_placeholder": "Oppure incolla l'URL di una foto",
"notes_optional": "Note (Opzionali)",
"add_any_notes": "Aggiungi note su questa garanzia...",
diff --git a/locales/ja/translation.json b/locales/ja/translation.json
index 569cfba..60a8ed9 100644
--- a/locales/ja/translation.json
+++ b/locales/ja/translation.json
@@ -146,6 +146,9 @@
"purchase_price_optional": "購入価格(オプション)",
"purchase_price_tooltip": "保証の費用ではなく、製品自体に支払った価格です。保証が製品に含まれていた場合は、製品の価格を入力してください。",
"duplicate_warranty": "保証を複製",
+ "more_actions": "その他のアクション",
+ "archive_warranty": "保証をアーカイブ",
+ "unarchive_warranty": "保証のアーカイブを解除",
"photo_url_placeholder": "または写真のURLを貼り付け",
"notes_optional": "メモ(オプション)",
"add_any_notes": "この保証に関するメモを追加...",
diff --git a/locales/ko/translation.json b/locales/ko/translation.json
index 78a9e53..cd6a086 100644
--- a/locales/ko/translation.json
+++ b/locales/ko/translation.json
@@ -146,6 +146,9 @@
"purchase_price_optional": "구매 가격 (선택 사항)",
"purchase_price_tooltip": "보증 비용이 아니라 제품 자체에 지불한 가격입니다. 보증이 제품에 포함되어 있었다면 제품 가격을 입력하세요.",
"duplicate_warranty": "보증 복제",
+ "more_actions": "추가 작업",
+ "archive_warranty": "보증 보관",
+ "unarchive_warranty": "보증 보관 취소",
"photo_url_placeholder": "또는 사진 URL 붙여넣기",
"notes_optional": "메모 (선택 사항)",
"add_any_notes": "이 보증에 대한 메모 추가...",
diff --git a/locales/nl/translation.json b/locales/nl/translation.json
index fe0f6e4..effb747 100644
--- a/locales/nl/translation.json
+++ b/locales/nl/translation.json
@@ -146,6 +146,9 @@
"purchase_price_optional": "Aankoopprijs (optioneel)",
"purchase_price_tooltip": "De prijs die u voor het product zelf hebt betaald, niet de kosten van de garantie. Als de garantie bij het product was inbegrepen, voer dan de productprijs in.",
"duplicate_warranty": "Garantie dupliceren",
+ "more_actions": "Meer acties",
+ "archive_warranty": "Garantie archiveren",
+ "unarchive_warranty": "Garantie dearchiveren",
"photo_url_placeholder": "Of plak een foto-URL",
"notes_optional": "Notities (optioneel)",
"add_any_notes": "Voeg notities over deze garantie toe...",
diff --git a/locales/pl/translation.json b/locales/pl/translation.json
index dce10ed..d0972b8 100644
--- a/locales/pl/translation.json
+++ b/locales/pl/translation.json
@@ -142,6 +142,9 @@
"purchase_price_optional": "Cena zakupu (opcjonalnie)",
"purchase_price_tooltip": "Cena, którą zapłaciłeś za sam produkt, a nie koszt gwarancji. Jeśli gwarancja była dołączona do produktu, wpisz cenę produktu.",
"duplicate_warranty": "Duplikuj gwarancję",
+ "more_actions": "Więcej akcji",
+ "archive_warranty": "Archiwizuj gwarancję",
+ "unarchive_warranty": "Przywróć gwarancję",
"photo_url_placeholder": "Lub wklej adres URL zdjęcia",
"notes_optional": "Notatki (opcjonalnie)",
"add_any_notes": "Dodaj notatki dotyczące tej gwarancji...",
diff --git a/locales/pt/translation.json b/locales/pt/translation.json
index 56c59e2..20f74fb 100644
--- a/locales/pt/translation.json
+++ b/locales/pt/translation.json
@@ -146,6 +146,9 @@
"purchase_price_optional": "Preço de Compra (Opcional)",
"purchase_price_tooltip": "O preço que você pagou pelo produto em si, não o custo da garantia. Se a garantia estava incluída com o produto, insira o preço do produto.",
"duplicate_warranty": "Duplicar garantia",
+ "more_actions": "Mais ações",
+ "archive_warranty": "Arquivar garantia",
+ "unarchive_warranty": "Desarquivar garantia",
"photo_url_placeholder": "Ou cole o URL de uma foto",
"notes_optional": "Notas (Opcional)",
"add_any_notes": "Adicione qualquer nota sobre esta garantia...",
diff --git a/locales/ru/translation.json b/locales/ru/translation.json
index b206425..e480667 100644
--- a/locales/ru/translation.json
+++ b/locales/ru/translation.json
@@ -152,6 +152,9 @@
"purchase_price_optional": "Цена покупки (необязательно)",
"purchase_price_tooltip": "Цена, которую вы заплатили за сам товар, а не стоимость гарантии. Если гарантия входила в комплект товара, укажите цену товара.",
"duplicate_warranty": "Дублировать гарантию",
+ "more_actions": "Ещё действия",
+ "archive_warranty": "Архивировать гарантию",
+ "unarchive_warranty": "Разархивировать гарантию",
"photo_url_placeholder": "Или вставьте URL фотографии",
"notes_optional": "Заметки (необязательно)",
"add_any_notes": "Добавьте любые заметки об этой гарантии...",
diff --git a/locales/tr/translation.json b/locales/tr/translation.json
index 33d8f66..f7acd79 100644
--- a/locales/tr/translation.json
+++ b/locales/tr/translation.json
@@ -540,6 +540,9 @@
"purchase_price_optional": "Satın Alma Fiyatı (İsteğe Bağlı)",
"purchase_price_tooltip": "Garanti maliyeti değil, ürünün kendisi için ödediğiniz fiyattır. Garanti ürünle birlikte verildiyse ürün fiyatını girin.",
"duplicate_warranty": "Garantiyi kopyala",
+ "more_actions": "Diğer işlemler",
+ "archive_warranty": "Garantiyi arşivle",
+ "unarchive_warranty": "Garantiyi arşivden çıkar",
"photo_url_placeholder": "Veya bir fotoğraf URL'si yapıştırın",
"notes_optional": "Notlar (İsteğe Bağlı)",
"add_any_notes": "Bu garanti hakkında herhangi bir not ekleyin...",
diff --git a/locales/uk/translation.json b/locales/uk/translation.json
index 31c375e..edb7a45 100644
--- a/locales/uk/translation.json
+++ b/locales/uk/translation.json
@@ -152,6 +152,9 @@
"purchase_price_optional": "Ціна покупки (необов'язково)",
"purchase_price_tooltip": "Ціна, яку ви заплатили за сам товар, а не вартість гарантії. Якщо гарантія входила до комплекту товару, вкажіть ціну товару.",
"duplicate_warranty": "Дублювати гарантію",
+ "more_actions": "Більше дій",
+ "archive_warranty": "Архівувати гарантію",
+ "unarchive_warranty": "Розархівувати гарантію",
"photo_url_placeholder": "Або вставте URL фотографії",
"notes_optional": "Нотатки (необов'язково)",
"add_any_notes": "Додайте будь-які нотатки про цю гарантію...",
diff --git a/locales/zh_CN/translation.json b/locales/zh_CN/translation.json
index eadb59c..77780e4 100644
--- a/locales/zh_CN/translation.json
+++ b/locales/zh_CN/translation.json
@@ -146,6 +146,9 @@
"purchase_price_optional": "购买金额(可选)",
"purchase_price_tooltip": "您为产品本身支付的价格,而不是保修的费用。如果保修随产品附带,请输入产品的价格。",
"duplicate_warranty": "复制保修",
+ "more_actions": "更多操作",
+ "archive_warranty": "归档保修",
+ "unarchive_warranty": "取消归档保修",
"photo_url_placeholder": "或粘贴照片链接",
"notes_optional": "备注(可选)",
"add_any_notes": "填写这条保修记录的备注...",
diff --git a/locales/zh_HK/translation.json b/locales/zh_HK/translation.json
index fbe8afe..9d2e06d 100644
--- a/locales/zh_HK/translation.json
+++ b/locales/zh_HK/translation.json
@@ -146,6 +146,9 @@
"purchase_price_optional": "購買價格(可選)",
"purchase_price_tooltip": "您為產品本身支付的價格,而不是保養的費用。如果保養隨產品附帶,請輸入產品的價格。",
"duplicate_warranty": "複製保養",
+ "more_actions": "更多操作",
+ "archive_warranty": "歸檔保修",
+ "unarchive_warranty": "取消歸檔保修",
"photo_url_placeholder": "或貼上相片連結",
"notes_optional": "備註(可選)",
"add_any_notes": "新增關於此保養的任何備註...",