feat(chat): Add prompt variables

This commit is contained in:
cogwheel0
2025-12-07 10:47:57 +05:30
parent b286a25910
commit 898f1773c7
13 changed files with 927 additions and 10 deletions

View File

@@ -807,5 +807,9 @@
"tapToExpand": "Tippen zum Erweitern",
"byAuthor": "Von {name}",
"wordCount": "{count} Wörter",
"charCount": "{count} Zeichen"
"charCount": "{count} Zeichen",
"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}"
}

View File

@@ -1794,5 +1794,33 @@
"chartPreviewUnavailable": "Chart preview is not available on this platform.",
"@chartPreviewUnavailable": {
"description": "Shown when Chart.js charts cannot be rendered on the current platform."
},
"promptVariablesTitle": "Fill in Details",
"@promptVariablesTitle": {
"description": "Default title for the prompt variables dialog."
},
"promptVariablesDescription": "Complete the fields below to customize this prompt.",
"@promptVariablesDescription": {
"description": "Description shown in the prompt variables dialog."
},
"promptVariableNumberMin": "Minimum value is {min}",
"@promptVariableNumberMin": {
"description": "Validation message when a number is below the minimum.",
"placeholders": {
"min": {
"type": "double",
"example": "0"
}
}
},
"promptVariableNumberMax": "Maximum value is {max}",
"@promptVariableNumberMax": {
"description": "Validation message when a number is above the maximum.",
"placeholders": {
"max": {
"type": "double",
"example": "100"
}
}
}
}

View File

@@ -807,5 +807,9 @@
"tapToExpand": "Toca para expandir",
"byAuthor": "Por {name}",
"wordCount": "{count} palabras",
"charCount": "{count} caracteres"
"charCount": "{count} caracteres",
"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}"
}

View File

@@ -807,5 +807,9 @@
"tapToExpand": "Appuyez pour développer",
"byAuthor": "Par {name}",
"wordCount": "{count} mots",
"charCount": "{count} caractères"
"charCount": "{count} caractères",
"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}"
}

View File

@@ -807,5 +807,9 @@
"tapToExpand": "Tocca per espandere",
"byAuthor": "Di {name}",
"wordCount": "{count} parole",
"charCount": "{count} caratteri"
"charCount": "{count} caratteri",
"promptVariablesTitle": "Compila i dettagli",
"promptVariablesDescription": "Compila i campi sottostanti per personalizzare questo prompt.",
"promptVariableNumberMin": "Il valore minimo è {min}",
"promptVariableNumberMax": "Il valore massimo è {max}"
}

View File

@@ -585,5 +585,9 @@
"tapToExpand": "탭하여 확장",
"byAuthor": "{name} 작성",
"wordCount": "{count}단어",
"charCount": "{count}자"
"charCount": "{count}자",
"promptVariablesTitle": "세부 정보 입력",
"promptVariablesDescription": "아래 필드를 작성하여 이 프롬프트를 사용자 정의하세요.",
"promptVariableNumberMin": "최소값은 {min}입니다",
"promptVariableNumberMax": "최대값은 {max}입니다"
}

View File

@@ -807,5 +807,9 @@
"tapToExpand": "Tik om uit te vouwen",
"byAuthor": "Door {name}",
"wordCount": "{count} woorden",
"charCount": "{count} tekens"
"charCount": "{count} tekens",
"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}"
}

View File

@@ -807,5 +807,9 @@
"tapToExpand": "Нажмите для раскрытия",
"byAuthor": "Автор: {name}",
"wordCount": "{count} слов",
"charCount": "{count} символов"
"charCount": "{count} символов",
"promptVariablesTitle": "Заполните данные",
"promptVariablesDescription": "Заполните поля ниже, чтобы настроить этот промпт.",
"promptVariableNumberMin": "Минимальное значение: {min}",
"promptVariableNumberMax": "Максимальное значение: {max}"
}

View File

@@ -807,5 +807,9 @@
"tapToExpand": "点击展开",
"byAuthor": "作者:{name}",
"wordCount": "{count} 字",
"charCount": "{count} 字符"
"charCount": "{count} 字符",
"promptVariablesTitle": "填写详情",
"promptVariablesDescription": "填写以下字段以自定义此提示词。",
"promptVariableNumberMin": "最小值为 {min}",
"promptVariableNumberMax": "最大值为 {max}"
}

View File

@@ -807,5 +807,9 @@
"tapToExpand": "點擊展開",
"byAuthor": "作者:{name}",
"wordCount": "{count} 字",
"charCount": "{count} 字元"
"charCount": "{count} 字元",
"promptVariablesTitle": "填寫詳情",
"promptVariablesDescription": "填寫以下欄位以自訂此提示詞。",
"promptVariableNumberMin": "最小值為 {min}",
"promptVariableNumberMax": "最大值為 {max}"
}