From 94fb3d6159f032fe3580a3fc0ae2dbaf271230f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Guillot?= Date: Fri, 28 Mar 2025 17:29:34 -0700 Subject: [PATCH] fix: change labels from Read / Unread to "Mark as Read" --- internal/locale/translations/de_DE.json | 4 ++-- internal/locale/translations/el_EL.json | 4 ++-- internal/locale/translations/en_US.json | 4 ++-- internal/locale/translations/es_ES.json | 4 ++-- internal/locale/translations/fi_FI.json | 4 ++-- internal/locale/translations/fr_FR.json | 4 ++-- internal/locale/translations/hi_IN.json | 4 ++-- internal/locale/translations/id_ID.json | 4 ++-- internal/locale/translations/it_IT.json | 4 ++-- internal/locale/translations/ja_JP.json | 4 ++-- internal/locale/translations/nan_Latn_pehoeji.json | 4 ++-- internal/locale/translations/nl_NL.json | 4 ++-- internal/locale/translations/pl_PL.json | 4 ++-- internal/locale/translations/pt_BR.json | 4 ++-- internal/locale/translations/ro_RO.json | 4 ++-- internal/locale/translations/ru_RU.json | 4 ++-- internal/locale/translations/tr_TR.json | 8 ++++---- internal/locale/translations/uk_UA.json | 4 ++-- internal/locale/translations/zh_CN.json | 4 ++-- internal/locale/translations/zh_TW.json | 4 ++-- internal/template/templates/common/item_meta.html | 6 +++--- internal/template/templates/views/entry.html | 6 +++--- 22 files changed, 48 insertions(+), 48 deletions(-) diff --git a/internal/locale/translations/de_DE.json b/internal/locale/translations/de_DE.json index 7d3db07e..35b93443 100644 --- a/internal/locale/translations/de_DE.json +++ b/internal/locale/translations/de_DE.json @@ -71,11 +71,11 @@ "entry.shared_entry.title": "Öffnen Sie den öffentlichen Link", "entry.state.loading": "Lade...", "entry.state.saving": "Speichern...", - "entry.status.read": "Gelesen", + "entry.status.mark_as_read": "Als gelesen markieren", "entry.status.title": "Status des Artikels ändern", "entry.status.toast.read": "Als gelesen markiert", "entry.status.toast.unread": "Als ungelesen markiert", - "entry.status.unread": "Ungelesen", + "entry.status.mark_as_unread": "Als ungelesen markieren", "entry.tags.label": "Stichworte:", "entry.unshare.label": "Nicht teilen", "error.api_key_already_exists": "Dieser API-Schlüssel ist bereits vorhanden.", diff --git a/internal/locale/translations/el_EL.json b/internal/locale/translations/el_EL.json index 40b09ad3..0463d3b6 100644 --- a/internal/locale/translations/el_EL.json +++ b/internal/locale/translations/el_EL.json @@ -71,11 +71,11 @@ "entry.shared_entry.title": "Ανοίξτε τον δημόσιο σύνδεσμο", "entry.state.loading": "Φόρτωση...", "entry.state.saving": "Aποθήκευση...", - "entry.status.read": "Αναγνωσμένο", + "entry.status.mark_as_read": "Επισήμανση ως αναγνωσμένο", "entry.status.title": "Αλλαγή κατάστασης καταχώρησης", "entry.status.toast.read": "Επισήμανση ως αναγνωσμένο", "entry.status.toast.unread": "Επισήμανση ως μη αναγνωσμένο", - "entry.status.unread": "Μη αναγνωσμένο", + "entry.status.mark_as_unread": "Επισήμανση ως μη αναγνωσμένο", "entry.tags.label": "Ετικέτες:", "entry.unshare.label": "Aναίρεση Διαμοιρασμού", "error.api_key_already_exists": "Αυτό το κλειδί API υπάρχει ήδη.", diff --git a/internal/locale/translations/en_US.json b/internal/locale/translations/en_US.json index 26fcf685..cb516358 100644 --- a/internal/locale/translations/en_US.json +++ b/internal/locale/translations/en_US.json @@ -71,11 +71,11 @@ "entry.shared_entry.title": "Open the public link", "entry.state.loading": "Loading…", "entry.state.saving": "Saving…", - "entry.status.read": "Read", + "entry.status.mark_as_read": "Mark as read", "entry.status.title": "Change entry status", "entry.status.toast.read": "Marked as read", "entry.status.toast.unread": "Marked as unread", - "entry.status.unread": "Unread", + "entry.status.mark_as_unread": "Mark as unread", "entry.tags.label": "Tags:", "entry.unshare.label": "Unshare", "error.api_key_already_exists": "This API Key already exists.", diff --git a/internal/locale/translations/es_ES.json b/internal/locale/translations/es_ES.json index 014a4cc5..8507b5ab 100644 --- a/internal/locale/translations/es_ES.json +++ b/internal/locale/translations/es_ES.json @@ -71,11 +71,11 @@ "entry.shared_entry.title": "Abrir el enlace público", "entry.state.loading": "Cargando...", "entry.state.saving": "Guardando...", - "entry.status.read": "Leído", + "entry.status.mark_as_read": "Marcar como leído", "entry.status.title": "Cambiar estado del artículo", "entry.status.toast.read": "Marcado como leído", "entry.status.toast.unread": "Marcado como no leído", - "entry.status.unread": "No leído", + "entry.status.mark_as_unread": "Marcar como no leído", "entry.tags.label": "Etiquetas:", "entry.unshare.label": "No compartir", "error.api_key_already_exists": "Esta clave API ya existe.", diff --git a/internal/locale/translations/fi_FI.json b/internal/locale/translations/fi_FI.json index 2c094fb0..294b35b7 100644 --- a/internal/locale/translations/fi_FI.json +++ b/internal/locale/translations/fi_FI.json @@ -71,11 +71,11 @@ "entry.shared_entry.title": "Avaa julkinen linkki", "entry.state.loading": "Ladataan...", "entry.state.saving": "Tallennetaan...", - "entry.status.read": "Luettu", + "entry.status.mark_as_read": "Merkitse luetuksi", "entry.status.title": "Vaihda artikkelin tilaa", "entry.status.toast.read": "Merkitty luetuksi", "entry.status.toast.unread": "Merkitty lukemattomaksi", - "entry.status.unread": "Lukematon", + "entry.status.mark_as_unread": "Merkitse lukemattomaksi", "entry.tags.label": "Tags:", "entry.unshare.label": "Poista jako", "error.api_key_already_exists": "API-avain on jo olemassa.", diff --git a/internal/locale/translations/fr_FR.json b/internal/locale/translations/fr_FR.json index d58a80b8..9293cbe0 100644 --- a/internal/locale/translations/fr_FR.json +++ b/internal/locale/translations/fr_FR.json @@ -71,11 +71,11 @@ "entry.shared_entry.title": "Ouvrir le lien public", "entry.state.loading": "Chargement...", "entry.state.saving": "Sauvegarde en cours...", - "entry.status.read": "Lu", + "entry.status.mark_as_read": "Marquer comme lu", "entry.status.title": "Changer le statut de l'entrée", "entry.status.toast.read": "Marqué comme lu", "entry.status.toast.unread": "Marqué comme non lu", - "entry.status.unread": "Non lu", + "entry.status.mark_as_unread": "Marquer comme non lu", "entry.tags.label": "Libellés :", "entry.unshare.label": "Enlever le partage", "error.api_key_already_exists": "Cette clé d'API existe déjà.", diff --git a/internal/locale/translations/hi_IN.json b/internal/locale/translations/hi_IN.json index 52994d48..dc323d11 100644 --- a/internal/locale/translations/hi_IN.json +++ b/internal/locale/translations/hi_IN.json @@ -71,11 +71,11 @@ "entry.shared_entry.title": "सार्वजनिक लिंक खोले", "entry.state.loading": "लोड हो रहा है...", "entry.state.saving": "सहेजा जा रहा है...", - "entry.status.read": "पढ़े", + "entry.status.mark_as_read": "पढ़े हुए का चिह्न", "entry.status.title": "प्रविष्टि स्थिति बदलें", "entry.status.toast.read": "पढ़ा हुआ चिह्नित करे", "entry.status.toast.unread": "अपठित के रूप में चिह्नित", - "entry.status.unread": "अपठित", + "entry.status.mark_as_unread": "अपठित के रूप में चिह्नित करें", "entry.tags.label": "टैग:", "entry.unshare.label": "न साझा कारें", "error.api_key_already_exists": "यह एपीआई कुंजी पहले से मौजूद है।", diff --git a/internal/locale/translations/id_ID.json b/internal/locale/translations/id_ID.json index a377b32d..e38c291f 100644 --- a/internal/locale/translations/id_ID.json +++ b/internal/locale/translations/id_ID.json @@ -69,11 +69,11 @@ "entry.shared_entry.title": "Buka tautan publik", "entry.state.loading": "Memuat...", "entry.state.saving": "Menyimpan...", - "entry.status.read": "Telah dibaca", + "entry.status.mark_as_read": "Telah dibaca", "entry.status.title": "Ubah status entri", "entry.status.toast.read": "Ditandai sebagai telah dibaca", "entry.status.toast.unread": "Ditandai sebagai belum dibaca", - "entry.status.unread": "Belum dibaca", + "entry.status.mark_as_unread": "Belum dibaca", "entry.tags.label": "Tanda:", "entry.unshare.label": "Batal bagikan", "error.api_key_already_exists": "Kunci API ini sudah ada.", diff --git a/internal/locale/translations/it_IT.json b/internal/locale/translations/it_IT.json index 5a66eb51..479bf48b 100644 --- a/internal/locale/translations/it_IT.json +++ b/internal/locale/translations/it_IT.json @@ -71,11 +71,11 @@ "entry.shared_entry.title": "Apri il link pubblico", "entry.state.loading": "Caricamento in corso...", "entry.state.saving": "Salvataggio in corso...", - "entry.status.read": "Letto", + "entry.status.mark_as_read": "Segna come letto", "entry.status.title": "Cambia lo stato dell'articolo", "entry.status.toast.read": "Contrassegnato come letto", "entry.status.toast.unread": "Contrassegnato come non letto", - "entry.status.unread": "Da leggere", + "entry.status.mark_as_unread": "Segna come non letto", "entry.tags.label": "Tag:", "entry.unshare.label": "Unshare", "error.api_key_already_exists": "Questa chiave API esiste già.", diff --git a/internal/locale/translations/ja_JP.json b/internal/locale/translations/ja_JP.json index 65ff5b61..78963d92 100644 --- a/internal/locale/translations/ja_JP.json +++ b/internal/locale/translations/ja_JP.json @@ -69,11 +69,11 @@ "entry.shared_entry.title": "公開リンクを開く", "entry.state.loading": "読み込み中…", "entry.state.saving": "保存中…", - "entry.status.read": "既読にする", + "entry.status.mark_as_read": "既読にする", "entry.status.title": "記事の状態を変更", "entry.status.toast.read": "既読にしました", "entry.status.toast.unread": "未読にしました", - "entry.status.unread": "未読にする", + "entry.status.mark_as_unread": "未読に戻す", "entry.tags.label": "タグ:", "entry.unshare.label": "共有を解除", "error.api_key_already_exists": "この API キーは既に存在します。", diff --git a/internal/locale/translations/nan_Latn_pehoeji.json b/internal/locale/translations/nan_Latn_pehoeji.json index 1016ad62..d4f5046f 100644 --- a/internal/locale/translations/nan_Latn_pehoeji.json +++ b/internal/locale/translations/nan_Latn_pehoeji.json @@ -69,11 +69,11 @@ "entry.shared_entry.title": "Phah khui kong-khai ê liân-kiat", "entry.state.loading": "Tng leh chip-hêng…", "entry.state.saving": "Tng leh pó-chûn…", - "entry.status.read": "Chù chòe tha̍k--kè", + "entry.status.mark_as_read": "Chù chòe tha̍k kè", "entry.status.title": "Kái chōng-thài", "entry.status.toast.read": "Chù chòe tha̍k kè chòe soah", "entry.status.toast.unread": "Chù chòe ah-bōe tha̍k chòe soah", - "entry.status.unread": "Chù chòe ah-bōe tha̍k", + "entry.status.mark_as_unread": "Chù chòe ah-bōe tha̍k", "entry.tags.label": "Khan-á:", "entry.unshare.label": "Chhú-siau hun-hióng", "error.api_key_already_exists": "Chit ê API só-sî í-keng chûn-chāi", diff --git a/internal/locale/translations/nl_NL.json b/internal/locale/translations/nl_NL.json index 8e1c5958..5ddfea97 100644 --- a/internal/locale/translations/nl_NL.json +++ b/internal/locale/translations/nl_NL.json @@ -71,11 +71,11 @@ "entry.shared_entry.title": "Open de openbare link", "entry.state.loading": "Laden...", "entry.state.saving": "Opslaan...", - "entry.status.read": "Gelezen", + "entry.status.mark_as_read": "Markeren als gelezen", "entry.status.title": "Verander artikelstatus", "entry.status.toast.read": "Gemarkeerd als gelezen", "entry.status.toast.unread": "Gemarkeerd als ongelezen", - "entry.status.unread": "Ongelezen", + "entry.status.mark_as_unread": "Markeren als ongelezen", "entry.tags.label": "Tags:", "entry.unshare.label": "Delen ongedaan maken", "error.api_key_already_exists": "Deze API-sleutel bestaat al.", diff --git a/internal/locale/translations/pl_PL.json b/internal/locale/translations/pl_PL.json index 9438c7b0..60ff2ebb 100644 --- a/internal/locale/translations/pl_PL.json +++ b/internal/locale/translations/pl_PL.json @@ -73,11 +73,11 @@ "entry.shared_entry.title": "Otwórz publiczne łącze", "entry.state.loading": "Ładowanie…", "entry.state.saving": "Zapisywanie…", - "entry.status.read": "Przeczytany", + "entry.status.mark_as_read": "Przeczytany", "entry.status.title": "Zmień status wpisu", "entry.status.toast.read": "Oznaczono jako przeczytany", "entry.status.toast.unread": "Oznaczono jako nieprzeczytany", - "entry.status.unread": "Nieprzeczytany", + "entry.status.mark_as_unread": "Nieprzeczytany", "entry.tags.label": "Znaczniki:", "entry.unshare.label": "Cofnij udostępnianie", "error.api_key_already_exists": "Ten klucz API już istnieje.", diff --git a/internal/locale/translations/pt_BR.json b/internal/locale/translations/pt_BR.json index fbf5c07b..40d9796b 100644 --- a/internal/locale/translations/pt_BR.json +++ b/internal/locale/translations/pt_BR.json @@ -71,11 +71,11 @@ "entry.shared_entry.title": "Abrir link público", "entry.state.loading": "Carregando...", "entry.state.saving": "Salvando...", - "entry.status.read": "Lido", + "entry.status.mark_as_read": "Marcar como lido", "entry.status.title": "Modificar estado deste item", "entry.status.toast.read": "Marcado como lido", "entry.status.toast.unread": "Marcado como não lido", - "entry.status.unread": "Não lido", + "entry.status.mark_as_unread": "Marcar como não lido", "entry.tags.label": "Etiquetas:", "entry.unshare.label": "Descompartilhar", "error.api_key_already_exists": "Essa chave de API já existe.", diff --git a/internal/locale/translations/ro_RO.json b/internal/locale/translations/ro_RO.json index 38863078..7f981ba5 100644 --- a/internal/locale/translations/ro_RO.json +++ b/internal/locale/translations/ro_RO.json @@ -73,11 +73,11 @@ "entry.shared_entry.title": "Deschide legătura publică", "entry.state.loading": "Încarc…", "entry.state.saving": "Salvez…", - "entry.status.read": "Citit", + "entry.status.mark_as_read": "Marcați ca citit", "entry.status.title": "Modifică starea intrării", "entry.status.toast.read": "Marcat ca citit", "entry.status.toast.unread": "Marcat ca necitit", - "entry.status.unread": "Necitit", + "entry.status.mark_as_unread": "Marcați ca necitit", "entry.tags.label": "Etichete:", "entry.unshare.label": "Elimină partajarea", "error.api_key_already_exists": "Această cheie API există deja.", diff --git a/internal/locale/translations/ru_RU.json b/internal/locale/translations/ru_RU.json index 49785c9e..eee84940 100644 --- a/internal/locale/translations/ru_RU.json +++ b/internal/locale/translations/ru_RU.json @@ -73,11 +73,11 @@ "entry.shared_entry.title": "Открыть публичную ссылку", "entry.state.loading": "Загрузка…", "entry.state.saving": "Сохранение…", - "entry.status.read": "Прочитано", + "entry.status.mark_as_read": "Отметить как прочитанное", "entry.status.title": "Изменить статус записи", "entry.status.toast.read": "Помечено как прочитанное", "entry.status.toast.unread": "Помечено как непрочитанное", - "entry.status.unread": "Не прочитано", + "entry.status.mark_as_unread": "Пометить как непрочитанное", "entry.tags.label": "Теги:", "entry.unshare.label": "Удалить из общедоступных", "error.api_key_already_exists": "Этот API-ключ уже существует.", diff --git a/internal/locale/translations/tr_TR.json b/internal/locale/translations/tr_TR.json index 0486035c..067f8401 100644 --- a/internal/locale/translations/tr_TR.json +++ b/internal/locale/translations/tr_TR.json @@ -71,11 +71,11 @@ "entry.shared_entry.title": "Herkese açık bağlantıyı aç", "entry.state.loading": "Yükleniyor...", "entry.state.saving": "Kaydediliyor...", - "entry.status.read": "Okundu", + "entry.status.mark_as_read": "Okundu olarak işaretle", "entry.status.title": "Makele okundu durumunu değiştir", - "entry.status.toast.read": "Okundu olarak işaretle", - "entry.status.toast.unread": "Okunmadı olarak işaretle", - "entry.status.unread": "Okunmadı", + "entry.status.toast.read": "Okundu olarak işaretlendi", + "entry.status.toast.unread": "Okunmamış olarak işaretlendi", + "entry.status.mark_as_unread": "Okunmadı olarak işaretle", "entry.tags.label": "Etiketler:", "entry.unshare.label": "Paylaşma", "error.api_key_already_exists": "Bu API anahtarı zaten mevcut.", diff --git a/internal/locale/translations/uk_UA.json b/internal/locale/translations/uk_UA.json index 983a91b6..822f653a 100644 --- a/internal/locale/translations/uk_UA.json +++ b/internal/locale/translations/uk_UA.json @@ -73,11 +73,11 @@ "entry.shared_entry.title": "Відкрити публічне посилання", "entry.state.loading": "Завантаження...", "entry.state.saving": "Зберігаю...", - "entry.status.read": "Прочитане", + "entry.status.mark_as_read": "Позначити як прочитане", "entry.status.title": "Змінити стан запису", "entry.status.toast.read": "Відмічено прочитаним", "entry.status.toast.unread": "Відмічено непрочитаним", - "entry.status.unread": "Непрочитане", + "entry.status.mark_as_unread": "Позначити як непрочитане", "entry.tags.label": "Теги:", "entry.unshare.label": "Не ділитися", "error.api_key_already_exists": "Такий ключ API вже існує.", diff --git a/internal/locale/translations/zh_CN.json b/internal/locale/translations/zh_CN.json index 209f722f..fe89f22c 100644 --- a/internal/locale/translations/zh_CN.json +++ b/internal/locale/translations/zh_CN.json @@ -69,11 +69,11 @@ "entry.shared_entry.title": "打开公共链接", "entry.state.loading": "载入中…", "entry.state.saving": "保存中…", - "entry.status.read": "标为已读", + "entry.status.mark_as_read": "标为已读", "entry.status.title": "更改状态", "entry.status.toast.read": "已标为已读", "entry.status.toast.unread": "已标为未读", - "entry.status.unread": "标为未读", + "entry.status.mark_as_unread": "标为未读", "entry.tags.label": "标签:", "entry.unshare.label": "取消分享", "error.api_key_already_exists": "此 API 密钥已存在。", diff --git a/internal/locale/translations/zh_TW.json b/internal/locale/translations/zh_TW.json index feccdacc..7b3e5c19 100644 --- a/internal/locale/translations/zh_TW.json +++ b/internal/locale/translations/zh_TW.json @@ -69,11 +69,11 @@ "entry.shared_entry.title": "開啟公共連結", "entry.state.loading": "載入中…", "entry.state.saving": "儲存中…", - "entry.status.read": "標記為已讀", + "entry.status.mark_as_read": "標記為已讀", "entry.status.title": "更改狀態", "entry.status.toast.read": "已標記為已讀", "entry.status.toast.unread": "已標記為未讀", - "entry.status.unread": "標記為未讀", + "entry.status.mark_as_unread": "標記為未讀", "entry.tags.label": "標籤:", "entry.unshare.label": "取消分享", "error.api_key_already_exists": "此 API 金鑰已存在。", diff --git a/internal/template/templates/common/item_meta.html b/internal/template/templates/common/item_meta.html index 47c8f1ee..4497ca07 100644 --- a/internal/template/templates/common/item_meta.html +++ b/internal/template/templates/common/item_meta.html @@ -22,10 +22,10 @@ title="{{ t "entry.status.title" }}" data-toggle-status="true" data-label-loading="{{ t "entry.state.saving" }}" - data-label-read="{{ t "entry.status.read" }}" - data-label-unread="{{ t "entry.status.unread" }}" + data-label-read="{{ t "entry.status.mark_as_read" }}" + data-label-unread="{{ t "entry.status.mark_as_unread" }}" data-value="{{ if eq .entry.Status "read" }}read{{ else }}unread{{ end }}" - >{{ if eq .entry.Status "read" }}{{ icon "unread" }}{{ else }}{{ icon "read" }}{{ end }}{{ if eq .entry.Status "read" }}{{ t "entry.status.unread" }}{{ else }}{{ t "entry.status.read" }}{{ end }} + >{{ if eq .entry.Status "read" }}{{ icon "unread" }}{{ else }}{{ icon "read" }}{{ end }}{{ if eq .entry.Status "read" }}{{ t "entry.status.mark_as_unread" }}{{ else }}{{ t "entry.status.mark_as_read" }}{{ end }}
  • + >{{ if eq .entry.Status "unread" }}{{ icon "read" }}{{ else }}{{ icon "unread" }}{{ end }}{{ if eq .entry.Status "unread" }}{{ t "entry.status.mark_as_read" }}{{ else }}{{ t "entry.status.mark_as_unread" }}{{ end }}