Parcourir la source

fix: change labels from Read / Unread to "Mark as Read"

Frédéric Guillot il y a 1 an
Parent
commit
94fb3d6159

+ 2 - 2
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.",

+ 2 - 2
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 υπάρχει ήδη.",

+ 2 - 2
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.",

+ 2 - 2
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.",

+ 2 - 2
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.",

+ 2 - 2
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à.",

+ 2 - 2
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": "यह एपीआई कुंजी पहले से मौजूद है।",

+ 2 - 2
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.",

+ 2 - 2
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à.",

+ 2 - 2
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 キーは既に存在します。",

+ 2 - 2
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",

+ 2 - 2
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.",

+ 2 - 2
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.",

+ 2 - 2
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.",

+ 2 - 2
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.",

+ 2 - 2
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-ключ уже существует.",

+ 4 - 4
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.",

+ 2 - 2
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 вже існує.",

+ 2 - 2
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 密钥已存在。",

+ 2 - 2
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 金鑰已存在。",

+ 3 - 3
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 }}<span class="icon-label">{{ if eq .entry.Status "read" }}{{ t "entry.status.unread" }}{{ else }}{{ t "entry.status.read" }}{{ end }}</span></button>
+                >{{ if eq .entry.Status "read" }}{{ icon "unread" }}{{ else }}{{ icon "read" }}{{ end }}<span class="icon-label">{{ if eq .entry.Status "read" }}{{ t "entry.status.mark_as_unread" }}{{ else }}{{ t "entry.status.mark_as_read" }}{{ end }}</span></button>
         </li>
         <li class="item-meta-icons-star">
             <button

+ 3 - 3
internal/template/templates/views/entry.html

@@ -15,12 +15,12 @@
                         title="{{ t "entry.status.title" }}"
                         data-toggle-status="true"
                         data-label-loading="{{ t "entry.state.saving" }}"
-                        data-label-unread="{{ t "entry.status.unread" }}"
-                        data-label-read="{{ t "entry.status.read" }}"
+                        data-label-unread="{{ t "entry.status.mark_as_unread" }}"
+                        data-label-read="{{ t "entry.status.mark_as_read" }}"
                         data-toast-unread="{{ t "entry.status.toast.unread" }}"
                         data-toast-read="{{ t "entry.status.toast.read" }}"
                         data-value="{{ if eq .entry.Status "read" }}read{{ else }}unread{{ end }}"
-                        >{{ if eq .entry.Status "unread" }}{{ icon "read" }}{{ else }}{{ icon "unread" }}{{ end }}<span class="icon-label">{{ if eq .entry.Status "unread" }}{{ t "entry.status.read" }}{{ else }}{{ t "entry.status.unread" }}{{ end }}</span></button>
+                        >{{ if eq .entry.Status "unread" }}{{ icon "read" }}{{ else }}{{ icon "unread" }}{{ end }}<span class="icon-label">{{ if eq .entry.Status "unread" }}{{ t "entry.status.mark_as_read" }}{{ else }}{{ t "entry.status.mark_as_unread" }}{{ end }}</span></button>
                 </li>
                 <li>
                     <button