From 790ed222c3e3e03306a0d86b96c85f39b5e37cd6 Mon Sep 17 00:00:00 2001 From: cogwheel0 <172976095+cogwheel0@users.noreply.github.com> Date: Sun, 7 Dec 2025 20:20:01 +0530 Subject: [PATCH] feat(l10n): Add localization placeholders for various messages --- lib/l10n/app_de.arb | 49 +++++++++++++++++++++++++++++++++++++++- lib/l10n/app_es.arb | 49 +++++++++++++++++++++++++++++++++++++++- lib/l10n/app_fr.arb | 49 +++++++++++++++++++++++++++++++++++++++- lib/l10n/app_it.arb | 49 +++++++++++++++++++++++++++++++++++++++- lib/l10n/app_ko.arb | 49 +++++++++++++++++++++++++++++++++++++++- lib/l10n/app_nl.arb | 49 +++++++++++++++++++++++++++++++++++++++- lib/l10n/app_ru.arb | 49 +++++++++++++++++++++++++++++++++++++++- lib/l10n/app_zh.arb | 49 +++++++++++++++++++++++++++++++++++++++- lib/l10n/app_zh_Hant.arb | 49 +++++++++++++++++++++++++++++++++++++++- 9 files changed, 432 insertions(+), 9 deletions(-) diff --git a/lib/l10n/app_de.arb b/lib/l10n/app_de.arb index 4d75ea0..cd74f40 100644 --- a/lib/l10n/app_de.arb +++ b/lib/l10n/app_de.arb @@ -776,6 +776,13 @@ "failedToLoadNotes": "Notizen konnten nicht geladen werden", "deleteNoteTitle": "Notiz löschen", "deleteNoteMessage": "\"{title}\" löschen? Dies kann nicht rückgängig gemacht werden.", + "@deleteNoteMessage": { + "placeholders": { + "title": { + "type": "String" + } + } + }, "noteTitle": "Notiz-Titel", "writeNote": "Schreibe etwas...", "noteSaved": "Notiz gespeichert", @@ -806,10 +813,50 @@ "older": "Älter", "tapToExpand": "Tippen zum Erweitern", "byAuthor": "Von {name}", + "@byAuthor": { + "placeholders": { + "name": { + "type": "String" + } + } + }, "wordCount": "{count} Wörter", + "@wordCount": { + "placeholders": { + "count": { + "type": "int" + } + } + }, "charCount": "{count} Zeichen", + "@charCount": { + "placeholders": { + "count": { + "type": "int" + } + } + }, "promptVariablesTitle": "Details ausfüllen", "promptVariablesDescription": "Füllen Sie die folgenden Felder aus, um diese Vorlage anzupassen.", "promptVariableNumberMin": "Mindestwert ist {min}", - "promptVariableNumberMax": "Höchstwert ist {max}" + "@promptVariableNumberMin": { + "placeholders": { + "min": { + "type": "double" + } + } + }, + "promptVariableNumberMax": "Höchstwert ist {max}", + "@promptVariableNumberMax": { + "placeholders": { + "max": { + "type": "double" + } + } + }, + "widgetAskConduit": "Conduit fragen", + "widgetCamera": "Kamera", + "widgetPhotos": "Fotos", + "widgetClipboard": "Zwischenablage", + "widgetDescription": "Schnellzugriff auf den Conduit-Chat mit Kamera, Fotos und Zwischenablage-Verknüpfungen" } diff --git a/lib/l10n/app_es.arb b/lib/l10n/app_es.arb index 7e664e6..530b240 100644 --- a/lib/l10n/app_es.arb +++ b/lib/l10n/app_es.arb @@ -776,6 +776,13 @@ "failedToLoadNotes": "Error al cargar las notas", "deleteNoteTitle": "Eliminar nota", "deleteNoteMessage": "¿Eliminar \"{title}\"? Esta acción no se puede deshacer.", + "@deleteNoteMessage": { + "placeholders": { + "title": { + "type": "String" + } + } + }, "noteTitle": "Título de la nota", "writeNote": "Escribe algo...", "noteSaved": "Nota guardada", @@ -806,10 +813,50 @@ "older": "Más antiguo", "tapToExpand": "Toca para expandir", "byAuthor": "Por {name}", + "@byAuthor": { + "placeholders": { + "name": { + "type": "String" + } + } + }, "wordCount": "{count} palabras", + "@wordCount": { + "placeholders": { + "count": { + "type": "int" + } + } + }, "charCount": "{count} caracteres", + "@charCount": { + "placeholders": { + "count": { + "type": "int" + } + } + }, "promptVariablesTitle": "Completar detalles", "promptVariablesDescription": "Complete los campos a continuación para personalizar este prompt.", "promptVariableNumberMin": "El valor mínimo es {min}", - "promptVariableNumberMax": "El valor máximo es {max}" + "@promptVariableNumberMin": { + "placeholders": { + "min": { + "type": "double" + } + } + }, + "promptVariableNumberMax": "El valor máximo es {max}", + "@promptVariableNumberMax": { + "placeholders": { + "max": { + "type": "double" + } + } + }, + "widgetAskConduit": "Preguntar a Conduit", + "widgetCamera": "Cámara", + "widgetPhotos": "Fotos", + "widgetClipboard": "Portapapeles", + "widgetDescription": "Acceso rápido al chat de Conduit con cámara, fotos y atajos del portapapeles" } diff --git a/lib/l10n/app_fr.arb b/lib/l10n/app_fr.arb index c09407c..fe657b1 100644 --- a/lib/l10n/app_fr.arb +++ b/lib/l10n/app_fr.arb @@ -776,6 +776,13 @@ "failedToLoadNotes": "Échec du chargement des notes", "deleteNoteTitle": "Supprimer la note", "deleteNoteMessage": "Supprimer \"{title}\" ? Cette action est irréversible.", + "@deleteNoteMessage": { + "placeholders": { + "title": { + "type": "String" + } + } + }, "noteTitle": "Titre de la note", "writeNote": "Écrivez quelque chose...", "noteSaved": "Note enregistrée", @@ -806,10 +813,50 @@ "older": "Plus ancien", "tapToExpand": "Appuyez pour développer", "byAuthor": "Par {name}", + "@byAuthor": { + "placeholders": { + "name": { + "type": "String" + } + } + }, "wordCount": "{count} mots", + "@wordCount": { + "placeholders": { + "count": { + "type": "int" + } + } + }, "charCount": "{count} caractères", + "@charCount": { + "placeholders": { + "count": { + "type": "int" + } + } + }, "promptVariablesTitle": "Remplir les détails", "promptVariablesDescription": "Complétez les champs ci-dessous pour personnaliser ce prompt.", "promptVariableNumberMin": "La valeur minimale est {min}", - "promptVariableNumberMax": "La valeur maximale est {max}" + "@promptVariableNumberMin": { + "placeholders": { + "min": { + "type": "double" + } + } + }, + "promptVariableNumberMax": "La valeur maximale est {max}", + "@promptVariableNumberMax": { + "placeholders": { + "max": { + "type": "double" + } + } + }, + "widgetAskConduit": "Demander à Conduit", + "widgetCamera": "Appareil photo", + "widgetPhotos": "Photos", + "widgetClipboard": "Presse-papiers", + "widgetDescription": "Accès rapide au chat Conduit avec appareil photo, photos et raccourcis du presse-papiers" } diff --git a/lib/l10n/app_it.arb b/lib/l10n/app_it.arb index 9d91a5a..abf359e 100644 --- a/lib/l10n/app_it.arb +++ b/lib/l10n/app_it.arb @@ -776,6 +776,13 @@ "failedToLoadNotes": "Impossibile caricare le note", "deleteNoteTitle": "Elimina nota", "deleteNoteMessage": "Eliminare \"{title}\"? Questa azione non può essere annullata.", + "@deleteNoteMessage": { + "placeholders": { + "title": { + "type": "String" + } + } + }, "noteTitle": "Titolo della nota", "writeNote": "Scrivi qualcosa...", "noteSaved": "Nota salvata", @@ -806,10 +813,50 @@ "older": "Più vecchio", "tapToExpand": "Tocca per espandere", "byAuthor": "Di {name}", + "@byAuthor": { + "placeholders": { + "name": { + "type": "String" + } + } + }, "wordCount": "{count} parole", + "@wordCount": { + "placeholders": { + "count": { + "type": "int" + } + } + }, "charCount": "{count} caratteri", + "@charCount": { + "placeholders": { + "count": { + "type": "int" + } + } + }, "promptVariablesTitle": "Compila i dettagli", "promptVariablesDescription": "Compila i campi sottostanti per personalizzare questo prompt.", "promptVariableNumberMin": "Il valore minimo è {min}", - "promptVariableNumberMax": "Il valore massimo è {max}" + "@promptVariableNumberMin": { + "placeholders": { + "min": { + "type": "double" + } + } + }, + "promptVariableNumberMax": "Il valore massimo è {max}", + "@promptVariableNumberMax": { + "placeholders": { + "max": { + "type": "double" + } + } + }, + "widgetAskConduit": "Chiedi a Conduit", + "widgetCamera": "Fotocamera", + "widgetPhotos": "Foto", + "widgetClipboard": "Appunti", + "widgetDescription": "Accesso rapido alla chat di Conduit con fotocamera, foto e scorciatoie degli appunti" } diff --git a/lib/l10n/app_ko.arb b/lib/l10n/app_ko.arb index 39555a6..9b07977 100644 --- a/lib/l10n/app_ko.arb +++ b/lib/l10n/app_ko.arb @@ -554,6 +554,13 @@ "failedToLoadNotes": "노트를 불러올 수 없습니다", "deleteNoteTitle": "노트 삭제", "deleteNoteMessage": "\"{title}\"을(를) 삭제하시겠습니까? 이 작업은 취소할 수 없습니다.", + "@deleteNoteMessage": { + "placeholders": { + "title": { + "type": "String" + } + } + }, "noteTitle": "노트 제목", "writeNote": "무언가 작성하세요...", "noteSaved": "노트 저장됨", @@ -584,10 +591,50 @@ "older": "이전", "tapToExpand": "탭하여 확장", "byAuthor": "{name} 작성", + "@byAuthor": { + "placeholders": { + "name": { + "type": "String" + } + } + }, "wordCount": "{count}단어", + "@wordCount": { + "placeholders": { + "count": { + "type": "int" + } + } + }, "charCount": "{count}자", + "@charCount": { + "placeholders": { + "count": { + "type": "int" + } + } + }, "promptVariablesTitle": "세부 정보 입력", "promptVariablesDescription": "아래 필드를 작성하여 이 프롬프트를 사용자 정의하세요.", "promptVariableNumberMin": "최소값은 {min}입니다", - "promptVariableNumberMax": "최대값은 {max}입니다" + "@promptVariableNumberMin": { + "placeholders": { + "min": { + "type": "double" + } + } + }, + "promptVariableNumberMax": "최대값은 {max}입니다", + "@promptVariableNumberMax": { + "placeholders": { + "max": { + "type": "double" + } + } + }, + "widgetAskConduit": "Conduit에게 묻기", + "widgetCamera": "카메라", + "widgetPhotos": "사진", + "widgetClipboard": "클립보드", + "widgetDescription": "카메라, 사진 및 클립보드 바로가기로 Conduit 채팅에 빠르게 액세스" } diff --git a/lib/l10n/app_nl.arb b/lib/l10n/app_nl.arb index 6e7a195..754d04a 100644 --- a/lib/l10n/app_nl.arb +++ b/lib/l10n/app_nl.arb @@ -776,6 +776,13 @@ "failedToLoadNotes": "Notities laden mislukt", "deleteNoteTitle": "Notitie verwijderen", "deleteNoteMessage": "\"{title}\" verwijderen? Dit kan niet ongedaan worden gemaakt.", + "@deleteNoteMessage": { + "placeholders": { + "title": { + "type": "String" + } + } + }, "noteTitle": "Notitietitel", "writeNote": "Schrijf iets...", "noteSaved": "Notitie opgeslagen", @@ -806,10 +813,50 @@ "older": "Ouder", "tapToExpand": "Tik om uit te vouwen", "byAuthor": "Door {name}", + "@byAuthor": { + "placeholders": { + "name": { + "type": "String" + } + } + }, "wordCount": "{count} woorden", + "@wordCount": { + "placeholders": { + "count": { + "type": "int" + } + } + }, "charCount": "{count} tekens", + "@charCount": { + "placeholders": { + "count": { + "type": "int" + } + } + }, "promptVariablesTitle": "Details invullen", "promptVariablesDescription": "Vul de onderstaande velden in om deze prompt aan te passen.", "promptVariableNumberMin": "Minimale waarde is {min}", - "promptVariableNumberMax": "Maximale waarde is {max}" + "@promptVariableNumberMin": { + "placeholders": { + "min": { + "type": "double" + } + } + }, + "promptVariableNumberMax": "Maximale waarde is {max}", + "@promptVariableNumberMax": { + "placeholders": { + "max": { + "type": "double" + } + } + }, + "widgetAskConduit": "Vraag Conduit", + "widgetCamera": "Camera", + "widgetPhotos": "Foto's", + "widgetClipboard": "Klembord", + "widgetDescription": "Snelle toegang tot Conduit-chat met camera, foto's en klembordsnelkoppelingen" } diff --git a/lib/l10n/app_ru.arb b/lib/l10n/app_ru.arb index d3eab00..2719705 100644 --- a/lib/l10n/app_ru.arb +++ b/lib/l10n/app_ru.arb @@ -776,6 +776,13 @@ "failedToLoadNotes": "Не удалось загрузить заметки", "deleteNoteTitle": "Удалить заметку", "deleteNoteMessage": "Удалить \"{title}\"? Это действие нельзя отменить.", + "@deleteNoteMessage": { + "placeholders": { + "title": { + "type": "String" + } + } + }, "noteTitle": "Название заметки", "writeNote": "Напишите что-нибудь...", "noteSaved": "Заметка сохранена", @@ -806,10 +813,50 @@ "older": "Старше", "tapToExpand": "Нажмите для раскрытия", "byAuthor": "Автор: {name}", + "@byAuthor": { + "placeholders": { + "name": { + "type": "String" + } + } + }, "wordCount": "{count} слов", + "@wordCount": { + "placeholders": { + "count": { + "type": "int" + } + } + }, "charCount": "{count} символов", + "@charCount": { + "placeholders": { + "count": { + "type": "int" + } + } + }, "promptVariablesTitle": "Заполните данные", "promptVariablesDescription": "Заполните поля ниже, чтобы настроить этот промпт.", "promptVariableNumberMin": "Минимальное значение: {min}", - "promptVariableNumberMax": "Максимальное значение: {max}" + "@promptVariableNumberMin": { + "placeholders": { + "min": { + "type": "double" + } + } + }, + "promptVariableNumberMax": "Максимальное значение: {max}", + "@promptVariableNumberMax": { + "placeholders": { + "max": { + "type": "double" + } + } + }, + "widgetAskConduit": "Спросить Conduit", + "widgetCamera": "Камера", + "widgetPhotos": "Фотографии", + "widgetClipboard": "Буфер обмена", + "widgetDescription": "Быстрый доступ к чату Conduit с камерой, фотографиями и буфером обмена" } diff --git a/lib/l10n/app_zh.arb b/lib/l10n/app_zh.arb index 65b90aa..7bc07ba 100644 --- a/lib/l10n/app_zh.arb +++ b/lib/l10n/app_zh.arb @@ -776,6 +776,13 @@ "failedToLoadNotes": "加载笔记失败", "deleteNoteTitle": "删除笔记", "deleteNoteMessage": "删除「{title}」?此操作无法撤消。", + "@deleteNoteMessage": { + "placeholders": { + "title": { + "type": "String" + } + } + }, "noteTitle": "笔记标题", "writeNote": "写点什么...", "noteSaved": "笔记已保存", @@ -806,10 +813,50 @@ "older": "更早", "tapToExpand": "点击展开", "byAuthor": "作者:{name}", + "@byAuthor": { + "placeholders": { + "name": { + "type": "String" + } + } + }, "wordCount": "{count} 字", + "@wordCount": { + "placeholders": { + "count": { + "type": "int" + } + } + }, "charCount": "{count} 字符", + "@charCount": { + "placeholders": { + "count": { + "type": "int" + } + } + }, "promptVariablesTitle": "填写详情", "promptVariablesDescription": "填写以下字段以自定义此提示词。", "promptVariableNumberMin": "最小值为 {min}", - "promptVariableNumberMax": "最大值为 {max}" + "@promptVariableNumberMin": { + "placeholders": { + "min": { + "type": "double" + } + } + }, + "promptVariableNumberMax": "最大值为 {max}", + "@promptVariableNumberMax": { + "placeholders": { + "max": { + "type": "double" + } + } + }, + "widgetAskConduit": "询问 Conduit", + "widgetCamera": "相机", + "widgetPhotos": "照片", + "widgetClipboard": "剪贴板", + "widgetDescription": "快速访问 Conduit 聊天,支持相机、照片和剪贴板快捷方式" } diff --git a/lib/l10n/app_zh_Hant.arb b/lib/l10n/app_zh_Hant.arb index b1330f5..09e9662 100644 --- a/lib/l10n/app_zh_Hant.arb +++ b/lib/l10n/app_zh_Hant.arb @@ -776,6 +776,13 @@ "failedToLoadNotes": "載入筆記失敗", "deleteNoteTitle": "刪除筆記", "deleteNoteMessage": "刪除「{title}」?此操作無法復原。", + "@deleteNoteMessage": { + "placeholders": { + "title": { + "type": "String" + } + } + }, "noteTitle": "筆記標題", "writeNote": "寫點什麼...", "noteSaved": "筆記已儲存", @@ -806,10 +813,50 @@ "older": "更早", "tapToExpand": "點擊展開", "byAuthor": "作者:{name}", + "@byAuthor": { + "placeholders": { + "name": { + "type": "String" + } + } + }, "wordCount": "{count} 字", + "@wordCount": { + "placeholders": { + "count": { + "type": "int" + } + } + }, "charCount": "{count} 字元", + "@charCount": { + "placeholders": { + "count": { + "type": "int" + } + } + }, "promptVariablesTitle": "填寫詳情", "promptVariablesDescription": "填寫以下欄位以自訂此提示詞。", "promptVariableNumberMin": "最小值為 {min}", - "promptVariableNumberMax": "最大值為 {max}" + "@promptVariableNumberMin": { + "placeholders": { + "min": { + "type": "double" + } + } + }, + "promptVariableNumberMax": "最大值為 {max}", + "@promptVariableNumberMax": { + "placeholders": { + "max": { + "type": "double" + } + } + }, + "widgetAskConduit": "詢問 Conduit", + "widgetCamera": "相機", + "widgetPhotos": "照片", + "widgetClipboard": "剪貼簿", + "widgetDescription": "快速存取 Conduit 聊天,支援相機、照片和剪貼簿捷徑" }