summary refs log tree commit diff
path: root/po
diff options
context:
space:
mode:
Diffstat (limited to 'po')
-rw-r--r--po/POTFILES.in7
-rw-r--r--po/bowl.pot108
-rw-r--r--po/ru.po121
3 files changed, 146 insertions, 90 deletions
diff --git a/po/POTFILES.in b/po/POTFILES.in
index e043d0a..d7d6ece 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -11,4 +11,9 @@ data/xyz.vikanezrimaya.kittybox.Bowl.gschema.xml.in
 # src/components/smart_summary.rs
 ### To properly use `xtr`, do:
 ### $ xtr -o rust.pot src/lib.rs
-### And then use `msgcat` to merge it into the existing `bowl.pot` file.
\ No newline at end of file
+### And then use `msgcat` to merge it into the existing `bowl.pot` file:
+### $ msgcat --use-first ./po/bowl.pot ./rust.pot | sponge ./po/bowl.pot
+###
+### This won't be needed when we use `formatx!` macro instead of `gettext!` and
+### when gettext 0.24 hits nixpkgs with Rust support. Then we could just
+### uncomment these lines above and use `xgettext` with `rust-format` support.
\ No newline at end of file
diff --git a/po/bowl.pot b/po/bowl.pot
index 3fc227e..08d5460 100644
--- a/po/bowl.pot
+++ b/po/bowl.pot
@@ -6,18 +6,18 @@
 #, fuzzy
 msgid ""
 msgstr ""
-"Project-Id-Version: bowl 1.2.0\n"
+"Project-Id-Version: bowl\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2024-09-04 15:59+0300\n"
+"POT-Creation-Date: 2025-03-30 00:32+0300\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"
 "Language: \n"
 "MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 
-#: data/xyz.vikanezrimaya.kittybox.Bowl.desktop.in.in:3 src/lib.rs:408
+#: data/xyz.vikanezrimaya.kittybox.Bowl.desktop.in.in:3
 msgid "Bowl"
 msgstr ""
 
@@ -31,37 +31,51 @@ msgid "Micropub;IndieWeb;Kittybox;"
 msgstr ""
 
 #: data/xyz.vikanezrimaya.kittybox.Bowl.gschema.xml.in:6
-msgid "LLM API endpoint"
+msgid "Send post content as HTML"
 msgstr ""
 
 #: data/xyz.vikanezrimaya.kittybox.Bowl.gschema.xml.in:7
+msgid ""
+"Some Micropub servers can preprocess plain-text content before posting. "
+"Enable this option to ask the Micropub server to treat your post content "
+"data as HTML and do not apply usual plain-text processing. This could be "
+"useful in case you wish to customize the post content using features not "
+"available in your Micropub server's preprocessor, or if your Micropub server "
+"lacks the ability to preprocess content entirely."
+msgstr ""
+
+#: data/xyz.vikanezrimaya.kittybox.Bowl.gschema.xml.in:21
+msgid "LLM API endpoint"
+msgstr ""
+
+#: data/xyz.vikanezrimaya.kittybox.Bowl.gschema.xml.in:22
 msgid "Ollama API endpoint used to query an LLM for Smart Summary."
 msgstr ""
 
-#: data/xyz.vikanezrimaya.kittybox.Bowl.gschema.xml.in:13
+#: data/xyz.vikanezrimaya.kittybox.Bowl.gschema.xml.in:28
 msgid "Smart Summary LLM"
 msgstr ""
 
 #. TRANSLATORS: please keep the link intact
-#: data/xyz.vikanezrimaya.kittybox.Bowl.gschema.xml.in:15
+#: data/xyz.vikanezrimaya.kittybox.Bowl.gschema.xml.in:30
 msgid ""
 "The model that Ollama will load to produce summaries. Available models can "
 "be seen at <a href=\"https://ollama.com/library\">Ollama library</a>."
 msgstr ""
 
-#: data/xyz.vikanezrimaya.kittybox.Bowl.gschema.xml.in:25
+#: data/xyz.vikanezrimaya.kittybox.Bowl.gschema.xml.in:40
 msgid "Show warnings on LLM enhancement features"
 msgstr ""
 
-#: data/xyz.vikanezrimaya.kittybox.Bowl.gschema.xml.in:26
+#: data/xyz.vikanezrimaya.kittybox.Bowl.gschema.xml.in:41
 msgid "If enabled, will show warnings regarding LLM enhancement features."
 msgstr ""
 
-#: data/xyz.vikanezrimaya.kittybox.Bowl.gschema.xml.in:33
+#: data/xyz.vikanezrimaya.kittybox.Bowl.gschema.xml.in:48
 msgid "LLM system prompt"
 msgstr ""
 
-#: data/xyz.vikanezrimaya.kittybox.Bowl.gschema.xml.in:34
+#: data/xyz.vikanezrimaya.kittybox.Bowl.gschema.xml.in:49
 msgid ""
 "The system prompt provided to the LLM. For best results, it should instruct "
 "the LLM to provide a one-sentence summary of the document it receives. The "
@@ -69,21 +83,21 @@ msgid ""
 "written mainly in English. Performance with other languages is untested."
 msgstr ""
 
-#: data/xyz.vikanezrimaya.kittybox.Bowl.gschema.xml.in:46
+#: data/xyz.vikanezrimaya.kittybox.Bowl.gschema.xml.in:61
 msgid "Smart Summary prompt prefix"
 msgstr ""
 
-#: data/xyz.vikanezrimaya.kittybox.Bowl.gschema.xml.in:47
+#: data/xyz.vikanezrimaya.kittybox.Bowl.gschema.xml.in:62
 msgid ""
 "What the text is prefixed with when pasted into the LLM prompt. Something "
 "like \"Summarize this text:\" works well."
 msgstr ""
 
-#: data/xyz.vikanezrimaya.kittybox.Bowl.gschema.xml.in:55
+#: data/xyz.vikanezrimaya.kittybox.Bowl.gschema.xml.in:70
 msgid "Smart Summary prompt suffix"
 msgstr ""
 
-#: data/xyz.vikanezrimaya.kittybox.Bowl.gschema.xml.in:56
+#: data/xyz.vikanezrimaya.kittybox.Bowl.gschema.xml.in:71
 msgid "Append this to the prompt after the article text."
 msgstr ""
 
@@ -120,39 +134,39 @@ msgstr ""
 msgid "Proceed"
 msgstr ""
 
-#: src/components/post_editor.rs:147
+#: src/components/post_editor.rs:159
 msgid "Name"
 msgstr ""
 
-#: src/components/post_editor.rs:162
+#: src/components/post_editor.rs:174
 msgid "Summary"
 msgstr ""
 
-#: src/components/post_editor.rs:182
+#: src/components/post_editor.rs:194
 msgid "Tags"
 msgstr ""
 
-#: src/components/post_editor.rs:218
+#: src/components/post_editor.rs:230
 msgid "Content"
 msgstr ""
 
-#: src/components/post_editor.rs:271
+#: src/components/post_editor.rs:283
 msgid "Visibility"
 msgstr ""
 
-#: src/components/post_editor.rs:450
+#: src/components/post_editor.rs:462
 msgid "Smart Summary error: {}"
 msgstr ""
 
-#: src/components/post_editor.rs:497
+#: src/components/post_editor.rs:509
 msgid "Post submitted"
 msgstr ""
 
-#: src/components/post_editor.rs:498
+#: src/components/post_editor.rs:510
 msgid "Open"
 msgstr ""
 
-#: src/components/post_editor.rs:516
+#: src/components/post_editor.rs:528
 msgid "Error sending post: {}"
 msgstr ""
 
@@ -160,72 +174,80 @@ msgstr ""
 msgid "Thank you! This window can now be closed."
 msgstr ""
 
-#: src/components/signin.rs:270 src/components/signin.rs:309
+#: src/components/signin.rs:272 src/components/signin.rs:311
 msgid "Sign in"
 msgstr ""
 
-#: src/components/signin.rs:275
+#: src/components/signin.rs:277
 msgid ""
 "Please sign in with your website to use Bowl.\n"
 "Your website needs to support IndieAuth and Micropub for this app to work."
 msgstr ""
 
-#: src/components/signin.rs:305
+#: src/components/signin.rs:307
 msgid "Talking to your website..."
 msgstr ""
 
-#: src/components/signin.rs:307
+#: src/components/signin.rs:309
 msgid "Waiting for authorization..."
 msgstr ""
 
-#: src/components/signin.rs:431
+#: src/components/signin.rs:433
 msgid "state doesn't match what we remember, ceremony aborted"
 msgstr ""
 
-#: src/components/signin.rs:439
+#: src/components/signin.rs:441
 msgid "issuer doesn't match what we remember, ceremony aborted"
 msgstr ""
 
-#: src/components/preferences.rs:31
-msgid "Language Models"
+#: src/components/preferences.rs:21
+msgid "Post composer"
 msgstr ""
 
-#: src/components/preferences.rs:32
-msgid "Settings for the language model integrations."
+#: src/components/preferences.rs:22
+msgid "Settings for composing new posts and editing existing ones."
 msgstr ""
 
-#: src/components/preferences.rs:37
+#: src/components/preferences.rs:26 src/components/preferences.rs:83
 msgid "General"
 msgstr ""
 
-#: src/components/preferences.rs:46
+#: src/components/preferences.rs:77
+msgid "Language models"
+msgstr ""
+
+#: src/components/preferences.rs:78
+msgid "Settings for the language model integrations."
+msgstr ""
+
+#: src/components/preferences.rs:92
 msgid "Smart Summary"
 msgstr ""
 
-#: src/lib.rs:77
+#: src/lib.rs:78
 msgid "Micropub access token for {}"
 msgstr ""
 
-#: src/lib.rs:352
+#: src/lib.rs:353
 msgid "Bowl for Kittybox"
 msgstr ""
 
-#: src/lib.rs:390
+#: src/lib.rs:391
 msgid "Sign out"
 msgstr ""
 
-#: src/lib.rs:391
+#: src/lib.rs:392
 msgid "Preferences"
 msgstr ""
 
-#: src/lib.rs:392
+#: src/lib.rs:393
 msgid "About"
 msgstr ""
 
-#: src/lib.rs:406
+#: src/lib.rs:407
 msgid "Bowl - Sign in with your website"
 msgstr ""
 
-#: src/lib.rs:422
+#: src/lib.rs:423
 msgid "Publish"
 msgstr ""
diff --git a/po/ru.po b/po/ru.po
index 308f541..e6cd2cb 100644
--- a/po/ru.po
+++ b/po/ru.po
@@ -6,8 +6,8 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: bowl 1.2.0\n"
-"Report-Msgid-Bugs-To: vika@fireburn.ru\n"
-"POT-Creation-Date: 2024-09-04 15:59+0300\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2025-03-30 00:32+0300\n"
 "PO-Revision-Date: 2025-02-24 04:33+0300\n"
 "Last-Translator: Vika <vika@fireburn.ru>\n"
 "Language-Team: Russian <gnu@d07.ru>\n"
@@ -18,7 +18,7 @@ msgstr ""
 "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
 "n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
 
-#: data/xyz.vikanezrimaya.kittybox.Bowl.desktop.in.in:3 src/lib.rs:408
+#: data/xyz.vikanezrimaya.kittybox.Bowl.desktop.in.in:3 src/lib.rs:409
 msgid "Bowl"
 msgstr "Bowl"
 
@@ -32,21 +32,41 @@ msgid "Micropub;IndieWeb;Kittybox;"
 msgstr "Micropub;IndieWeb;Kittybox;"
 
 #: data/xyz.vikanezrimaya.kittybox.Bowl.gschema.xml.in:6
+msgid "Send post content as HTML"
+msgstr "Отправлять содержание поста в формате HTML"
+
+#: data/xyz.vikanezrimaya.kittybox.Bowl.gschema.xml.in:7
+msgid ""
+"Some Micropub servers can preprocess plain-text content before posting. "
+"Enable this option to ask the Micropub server to treat your post content "
+"data as HTML and do not apply usual plain-text processing. This could be "
+"useful in case you wish to customize the post content using features not "
+"available in your Micropub server's preprocessor, or if your Micropub server "
+"lacks the ability to preprocess content entirely."
+msgstr ""
+"Некоторые сервера Micropub могут обрабатывать текстовое содержание поста "
+"перед публикацией. Включите эту опцию, чтобы Ваш Micropub-сервер считал "
+"содержание поста уже в формате HTML и не применял к нему обычный процессинг. "
+"Это может быть полезно в случае, если Вы хотите добавлять в содержание поста "
+"разметку, не поддерживаемую препроцессором Вашего Micropub-сервера, либо "
+"если Ваш Micropub-сервер неспособен конвертировать текстовые посты в HTML."
+
+#: data/xyz.vikanezrimaya.kittybox.Bowl.gschema.xml.in:21
 msgid "LLM API endpoint"
 msgstr "Точка API LLM"
 
-#: data/xyz.vikanezrimaya.kittybox.Bowl.gschema.xml.in:7
+#: data/xyz.vikanezrimaya.kittybox.Bowl.gschema.xml.in:22
 msgid "Ollama API endpoint used to query an LLM for Smart Summary."
 msgstr ""
 "API Ollama, которое используется, чтобы сгенерировать Умную Выжимку с "
 "помощью языковой модели."
 
-#: data/xyz.vikanezrimaya.kittybox.Bowl.gschema.xml.in:13
+#: data/xyz.vikanezrimaya.kittybox.Bowl.gschema.xml.in:28
 msgid "Smart Summary LLM"
 msgstr "Модель для Умной Выжимки"
 
 #. TRANSLATORS: please keep the link intact
-#: data/xyz.vikanezrimaya.kittybox.Bowl.gschema.xml.in:15
+#: data/xyz.vikanezrimaya.kittybox.Bowl.gschema.xml.in:30
 msgid ""
 "The model that Ollama will load to produce summaries. Available models can "
 "be seen at <a href=\"https://ollama.com/library\">Ollama library</a>."
@@ -55,20 +75,21 @@ msgstr ""
 "Доступные модели можно увидеть в <a href=\"https://ollama.com/"
 "library\">библиотеке Ollama</a>."
 
-#: data/xyz.vikanezrimaya.kittybox.Bowl.gschema.xml.in:25
+#: data/xyz.vikanezrimaya.kittybox.Bowl.gschema.xml.in:40
 msgid "Show warnings on LLM enhancement features"
 msgstr "Показывать предупреждения о языковых моделях"
 
-#: data/xyz.vikanezrimaya.kittybox.Bowl.gschema.xml.in:26
+#: data/xyz.vikanezrimaya.kittybox.Bowl.gschema.xml.in:41
 msgid "If enabled, will show warnings regarding LLM enhancement features."
-msgstr "При включении приложение будет показывать предупреждения при "
-"использовании функций, задействующих языковые модели."
+msgstr ""
+"При включении приложение будет показывать предупреждения при использовании "
+"функций, задействующих языковые модели."
 
-#: data/xyz.vikanezrimaya.kittybox.Bowl.gschema.xml.in:33
+#: data/xyz.vikanezrimaya.kittybox.Bowl.gschema.xml.in:48
 msgid "LLM system prompt"
 msgstr "Системная вводная для LLM"
 
-#: data/xyz.vikanezrimaya.kittybox.Bowl.gschema.xml.in:34
+#: data/xyz.vikanezrimaya.kittybox.Bowl.gschema.xml.in:49
 msgid ""
 "The system prompt provided to the LLM. For best results, it should instruct "
 "the LLM to provide a one-sentence summary of the document it receives. The "
@@ -81,11 +102,11 @@ msgstr ""
 "протестирована для Llama 3.1-8B и лучше всего работает со статьями на "
 "английском. Результаты для других языков не гарантированы."
 
-#: data/xyz.vikanezrimaya.kittybox.Bowl.gschema.xml.in:46
+#: data/xyz.vikanezrimaya.kittybox.Bowl.gschema.xml.in:61
 msgid "Smart Summary prompt prefix"
 msgstr "Префикс вводной для Умной Выжимки"
 
-#: data/xyz.vikanezrimaya.kittybox.Bowl.gschema.xml.in:47
+#: data/xyz.vikanezrimaya.kittybox.Bowl.gschema.xml.in:62
 msgid ""
 "What the text is prefixed with when pasted into the LLM prompt. Something "
 "like \"Summarize this text:\" works well."
@@ -93,11 +114,11 @@ msgstr ""
 "Что приписывается к началу текста для вводной языковой модели. Пример: "
 "\"Опиши смысл этого текста одним предложением:\""
 
-#: data/xyz.vikanezrimaya.kittybox.Bowl.gschema.xml.in:55
+#: data/xyz.vikanezrimaya.kittybox.Bowl.gschema.xml.in:70
 msgid "Smart Summary prompt suffix"
 msgstr "Суффикс вводной Умной Выжимки"
 
-#: data/xyz.vikanezrimaya.kittybox.Bowl.gschema.xml.in:56
+#: data/xyz.vikanezrimaya.kittybox.Bowl.gschema.xml.in:71
 msgid "Append this to the prompt after the article text."
 msgstr "Что приписывается к вводной после текста статьи."
 
@@ -142,39 +163,39 @@ msgstr "Отмена"
 msgid "Proceed"
 msgstr "OK"
 
-#: src/components/post_editor.rs:147
+#: src/components/post_editor.rs:159
 msgid "Name"
 msgstr "Название"
 
-#: src/components/post_editor.rs:162
+#: src/components/post_editor.rs:174
 msgid "Summary"
 msgstr "Содержание"
 
-#: src/components/post_editor.rs:182
+#: src/components/post_editor.rs:194
 msgid "Tags"
 msgstr "Тэги"
 
-#: src/components/post_editor.rs:218
+#: src/components/post_editor.rs:230
 msgid "Content"
 msgstr "Текст"
 
-#: src/components/post_editor.rs:271
+#: src/components/post_editor.rs:283
 msgid "Visibility"
 msgstr "Видимость"
 
-#: src/components/post_editor.rs:450
+#: src/components/post_editor.rs:462
 msgid "Smart Summary error: {}"
 msgstr "Ошибка Умной Выжимки: {}"
 
-#: src/components/post_editor.rs:497
+#: src/components/post_editor.rs:509
 msgid "Post submitted"
 msgstr "Статья отправлена"
 
-#: src/components/post_editor.rs:498
+#: src/components/post_editor.rs:510
 msgid "Open"
 msgstr "Открыть"
 
-#: src/components/post_editor.rs:516
+#: src/components/post_editor.rs:528
 msgid "Error sending post: {}"
 msgstr "Ошибка отправки статьи: {}"
 
@@ -182,11 +203,11 @@ msgstr "Ошибка отправки статьи: {}"
 msgid "Thank you! This window can now be closed."
 msgstr "Благодарим Вас! Это окно можно закрыть."
 
-#: src/components/signin.rs:270 src/components/signin.rs:309
+#: src/components/signin.rs:272 src/components/signin.rs:311
 msgid "Sign in"
 msgstr "Войти"
 
-#: src/components/signin.rs:275
+#: src/components/signin.rs:277
 msgid ""
 "Please sign in with your website to use Bowl.\n"
 "Your website needs to support IndieAuth and Micropub for this app to work."
@@ -195,62 +216,70 @@ msgstr ""
 "Ваш веб-сайт должен поддерживать протоколы IndieAuth и Micropub для "
 "корректной работы приложения."
 
-#: src/components/signin.rs:305
+#: src/components/signin.rs:307
 msgid "Talking to your website..."
 msgstr "Общаемся с Вашим веб-сайтом..."
 
-#: src/components/signin.rs:307
+#: src/components/signin.rs:309
 msgid "Waiting for authorization..."
 msgstr "Ждём авторизации..."
 
-#: src/components/signin.rs:431
+#: src/components/signin.rs:433
 msgid "state doesn't match what we remember, ceremony aborted"
 msgstr "поле state не совпадает с тем, что мы помним, церемония отменена"
 
-#: src/components/signin.rs:439
+#: src/components/signin.rs:441
 msgid "issuer doesn't match what we remember, ceremony aborted"
 msgstr "поле issuer не совпадает с тем, что мы помним, церемония отменена"
 
-#: src/components/preferences.rs:31
-msgid "Language Models"
-msgstr "Языковые модели"
+#: src/components/preferences.rs:21
+msgid "Post composer"
+msgstr "Редактор постов"
 
-#: src/components/preferences.rs:32
-msgid "Settings for the language model integrations."
-msgstr "Настройки интеграции языковых моделей."
+#: src/components/preferences.rs:22
+msgid "Settings for composing new posts and editing existing ones."
+msgstr "Настройки создания и редактирования постов."
 
-#: src/components/preferences.rs:37
+#: src/components/preferences.rs:26 src/components/preferences.rs:83
 msgid "General"
 msgstr "Общее"
 
-#: src/components/preferences.rs:46
+#: src/components/preferences.rs:77
+msgid "Language models"
+msgstr "Языковые модели"
+
+#: src/components/preferences.rs:78
+msgid "Settings for the language model integrations."
+msgstr "Настройки интеграции языковых моделей."
+
+#: src/components/preferences.rs:92
 msgid "Smart Summary"
 msgstr "Умная Выжимка"
 
-#: src/lib.rs:77
+#: src/lib.rs:78
 msgid "Micropub access token for {}"
 msgstr "Токен доступа Micropub для {}"
 
-#: src/lib.rs:352
+#: src/lib.rs:353
 msgid "Bowl for Kittybox"
 msgstr "Bowl для Kittybox"
 
-#: src/lib.rs:390
+#: src/lib.rs:391
 msgid "Sign out"
 msgstr "Выйти"
 
-#: src/lib.rs:391
+#: src/lib.rs:392
 msgid "Preferences"
 msgstr "Настройки"
 
-#: src/lib.rs:392
+#: src/lib.rs:393
 msgid "About"
 msgstr "О приложении"
 
-#: src/lib.rs:406
+#: src/lib.rs:407
 msgid "Bowl - Sign in with your website"
 msgstr "Bowl - Войдите со своим веб-сайтом"
 
-#: src/lib.rs:422
+#: src/lib.rs:423
 msgid "Publish"
 msgstr "Опубликовать"