Skip to content

Commit

Permalink
Service translations
Browse files Browse the repository at this point in the history
  • Loading branch information
black-roland committed Nov 7, 2024
1 parent 8b22254 commit 7747fd8
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 0 deletions.
25 changes: 25 additions & 0 deletions custom_components/yandexgpt_conversation/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,30 @@
}
}
}
},
"services": {
"generate_image": {
"name": "Generate image",
"description": "Turn a prompt into an image",
"fields": {
"config_entry": {
"name": "Config Entry",
"description": "The config entry to use for this action"
},
"seed": {
"name": "Seed",
"description": "Generation seed"
},
"prompt": {
"name": "Prompt",
"description": "The text to turn into an image",
"example": "A photo of a dog"
},
"file_name": {
"name": "File name",
"description": "Output file path"
}
}
}
}
}
25 changes: 25 additions & 0 deletions custom_components/yandexgpt_conversation/translations/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,30 @@
}
}
}
},
"services": {
"generate_image": {
"name": "Сгенерировать изображение",
"description": "Сгенерировать изображение с помощью YandexART",
"fields": {
"config_entry": {
"name": "Объект конфигурации",
"description": "Какую конфигурацию использовать для генерации изображения"
},
"seed": {
"name": "Зерно",
"description": "Зерно генерации"
},
"prompt": {
"name": "Описание",
"description": "Текстовое описание изображения, на основе которого будет происходить генерация",
"example": "Кот-русалка"
},
"file_name": {
"name": "Имя файла",
"description": "Путь к файлу, в который будет сохранено изображение"
}
}
}
}
}

0 comments on commit 7747fd8

Please sign in to comment.