diff --git a/learn2rag/ui/messages.pot b/learn2rag/ui/messages.pot index 356bcd9..61ce508 100644 --- a/learn2rag/ui/messages.pot +++ b/learn2rag/ui/messages.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2026-05-26 15:48+0200\n" +"POT-Creation-Date: 2026-08-19 14:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -17,130 +17,130 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Generated-By: Babel 2.18.0\n" -#: learn2rag/ui/__init__.py:225 +#: learn2rag/ui/__init__.py:215 #, python-format msgctxt "flash" msgid "Directory removed: %(path)s" msgstr "" -#: learn2rag/ui/__init__.py:232 +#: learn2rag/ui/__init__.py:222 #, python-format msgctxt "flash" msgid "Failed to remove directory: %(path)s: %(message)s" msgstr "" -#: learn2rag/ui/__init__.py:291 +#: learn2rag/ui/__init__.py:281 #, python-format msgid "API is not supported: %(api)s" msgstr "" -#: learn2rag/ui/__init__.py:301 +#: learn2rag/ui/__init__.py:291 #, python-format msgctxt "flash" msgid "Added a new language model configuration: %(label)s" msgstr "" -#: learn2rag/ui/__init__.py:320 +#: learn2rag/ui/__init__.py:310 #, python-format msgctxt "flash" msgid "Downloaded a language model: %(model)s" msgstr "" -#: learn2rag/ui/__init__.py:325 +#: learn2rag/ui/__init__.py:315 #, python-format msgctxt "flash" msgid "Failed to download a language model: %(model)s" msgstr "" -#: learn2rag/ui/__init__.py:339 +#: learn2rag/ui/__init__.py:329 msgctxt "flash" msgid "The requested language model configuration is not found" msgstr "" -#: learn2rag/ui/__init__.py:343 +#: learn2rag/ui/__init__.py:333 msgctxt "flash" msgid "" "Some configured pipelines use this language model configuration, remove " "them first" msgstr "" -#: learn2rag/ui/__init__.py:347 +#: learn2rag/ui/__init__.py:337 #, python-format msgctxt "flash" msgid "Removed language model configuration: %(label)s" msgstr "" -#: learn2rag/ui/__init__.py:367 +#: learn2rag/ui/__init__.py:359 #, python-format msgctxt "flash" msgid "Added a new data source configuration: %(label)s" msgstr "" -#: learn2rag/ui/__init__.py:374 +#: learn2rag/ui/__init__.py:366 msgctxt "flash" msgid "The requested data source configuration is not found" msgstr "" -#: learn2rag/ui/__init__.py:378 +#: learn2rag/ui/__init__.py:370 msgctxt "flash" msgid "" "Some configured pipelines use this data source configuration, remove them" " first" msgstr "" -#: learn2rag/ui/__init__.py:381 +#: learn2rag/ui/__init__.py:373 #, python-format msgctxt "flash" msgid "Removed data source configuration: %(label)s" msgstr "" -#: learn2rag/ui/__init__.py:408 +#: learn2rag/ui/__init__.py:400 #, python-format msgctxt "flash" msgid "Added a new pipeline configuration: %(label)s" msgstr "" -#: learn2rag/ui/__init__.py:481 +#: learn2rag/ui/__init__.py:473 #, python-format msgctxt "flash" msgid "Started the pipeline: %(label)s" msgstr "" -#: learn2rag/ui/__init__.py:483 +#: learn2rag/ui/__init__.py:475 #, python-format msgctxt "flash" msgid "Failed to start the pipeline: %(label)s" msgstr "" -#: learn2rag/ui/__init__.py:487 +#: learn2rag/ui/__init__.py:479 #, python-format msgctxt "flash" msgid "Could not start the pipeline: %(message)s" msgstr "" -#: learn2rag/ui/__init__.py:495 learn2rag/ui/__init__.py:519 +#: learn2rag/ui/__init__.py:487 learn2rag/ui/__init__.py:511 msgctxt "flash" msgid "The requested pipeline is not found" msgstr "" -#: learn2rag/ui/__init__.py:502 +#: learn2rag/ui/__init__.py:494 #, python-format msgctxt "flash" msgid "Removed pipeline: %(label)s" msgstr "" -#: learn2rag/ui/__init__.py:508 +#: learn2rag/ui/__init__.py:500 msgctxt "flash" msgid "Stopped the pipeline" msgstr "" -#: learn2rag/ui/__init__.py:512 +#: learn2rag/ui/__init__.py:504 #, python-format msgctxt "flash" msgid "Could not stop the pipeline: %(message)s" msgstr "" -#: learn2rag/ui/__init__.py:551 +#: learn2rag/ui/__init__.py:543 msgctxt "shutdown" msgid "Bye!" msgstr "" @@ -214,13 +214,18 @@ msgstr "" msgid "Download is done" msgstr "" +#: learn2rag/ui/templates/models_add.html:4 +msgctxt "tooltip" +msgid "Expand to connect a third-party language model via API" +msgstr "" + #: learn2rag/ui/templates/models_add.html:5 msgctxt "heading" msgid "Connect an external language model" msgstr "" #: learn2rag/ui/templates/models_add.html:12 -#: learn2rag/ui/templates/models_add.html:126 +#: learn2rag/ui/templates/models_add.html:128 #: learn2rag/ui/templates/pipelines_add.html:3 #: learn2rag/ui/templates/sources_add_drupal.html:4 #: learn2rag/ui/templates/sources_add_local.html:4 @@ -231,7 +236,7 @@ msgid "Label" msgstr "" #: learn2rag/ui/templates/models_add.html:13 -#: learn2rag/ui/templates/models_add.html:127 +#: learn2rag/ui/templates/models_add.html:129 msgctxt "tooltip" msgid "A custom display name for this language model" msgstr "" @@ -241,43 +246,58 @@ msgctxt "form_label" msgid "API type" msgstr "" -#: learn2rag/ui/templates/models_add.html:29 +#: learn2rag/ui/templates/models_add.html:17 +msgctxt "tooltip" +msgid "Select the API provider for the language model" +msgstr "" + +#: learn2rag/ui/templates/models_add.html:31 msgctxt "form_label" msgid "API URL" msgstr "" -#: learn2rag/ui/templates/models_add.html:31 +#: learn2rag/ui/templates/models_add.html:33 msgid "If you use a model from an external provider, they will see your data." msgstr "" -#: learn2rag/ui/templates/models_add.html:33 +#: learn2rag/ui/templates/models_add.html:35 msgctxt "tooltip" msgid "For example: https://example.com/api" msgstr "" -#: learn2rag/ui/templates/models_add.html:36 +#: learn2rag/ui/templates/models_add.html:38 #: learn2rag/ui/templates/sources_add_drupal.html:35 msgctxt "form_label" msgid "Access token" msgstr "" -#: learn2rag/ui/templates/models_add.html:40 -#: learn2rag/ui/templates/models_add.html:97 -#: learn2rag/ui/templates/models_add.html:130 +#: learn2rag/ui/templates/models_add.html:39 +msgctxt "tooltip" +msgid "Enter access token" +msgstr "" + +#: learn2rag/ui/templates/models_add.html:42 +#: learn2rag/ui/templates/models_add.html:99 +#: learn2rag/ui/templates/models_add.html:132 #: learn2rag/ui/templates/pipelines_add.html:11 msgctxt "form_label" msgid "Language model" msgstr "" -#: learn2rag/ui/templates/models_add.html:41 -#: learn2rag/ui/templates/models_add.html:98 +#: learn2rag/ui/templates/models_add.html:43 +#: learn2rag/ui/templates/models_add.html:100 #, python-format msgctxt "tooltip" msgid "For example: %(model)s" msgstr "" -#: learn2rag/ui/templates/models_add.html:43 -#: learn2rag/ui/templates/models_add.html:139 +#: learn2rag/ui/templates/models_add.html:45 +msgctxt "tooltip" +msgid "Save these" +msgstr "" + +#: learn2rag/ui/templates/models_add.html:45 +#: learn2rag/ui/templates/models_add.html:141 #: learn2rag/ui/templates/pipelines_add.html:80 #: learn2rag/ui/templates/sources_add_drupal.html:38 #: learn2rag/ui/templates/sources_add_local.html:18 @@ -287,38 +307,68 @@ msgctxt "button" msgid "Save" msgstr "" -#: learn2rag/ui/templates/models_add.html:52 +#: learn2rag/ui/templates/models_add.html:53 +msgctxt "tooltip" +msgid "Expand to browse and download a local language model" +msgstr "" + +#: learn2rag/ui/templates/models_add.html:54 msgctxt "heading" msgid "Download a language model" msgstr "" -#: learn2rag/ui/templates/models_add.html:70 +#: learn2rag/ui/templates/models_add.html:72 msgctxt "link" msgid "Website" msgstr "" -#: learn2rag/ui/templates/models_add.html:83 +#: learn2rag/ui/templates/models_add.html:85 +msgctxt "tooltip" +msgid "Select and configure this suggested language model" +msgstr "" + +#: learn2rag/ui/templates/models_add.html:85 msgctxt "button" msgid "Use this suggested language model" msgstr "" -#: learn2rag/ui/templates/models_add.html:90 +#: learn2rag/ui/templates/models_add.html:92 msgid "Another model" msgstr "" -#: learn2rag/ui/templates/models_add.html:91 +#: learn2rag/ui/templates/models_add.html:93 msgid "Download any model from Ollama library." msgstr "" -#: learn2rag/ui/templates/models_add.html:106 +#: learn2rag/ui/templates/models_add.html:104 +msgctxt "tooltip" +msgid "Save this language model" +msgstr "" + +#: learn2rag/ui/templates/models_add.html:108 msgid "Ollama is not running. Please restart the Learn2RAG configurator." msgstr "" -#: learn2rag/ui/templates/models_add.html:119 +#: learn2rag/ui/templates/models_add.html:120 +msgctxt "tooltip" +msgid "Expand to select a previously downloaded model" +msgstr "" + +#: learn2rag/ui/templates/models_add.html:121 msgctxt "heading" msgid "Use previously downloaded model" msgstr "" +#: learn2rag/ui/templates/models_add.html:133 +msgctxt "tooltip" +msgid "Select an available Ollama language model" +msgstr "" + +#: learn2rag/ui/templates/models_add.html:141 +msgctxt "tooltip" +msgid "save Ollama Language model" +msgstr "" + #: learn2rag/ui/templates/models_list.html:4 #: learn2rag/ui/templates/pipelines_list.html:10 #: learn2rag/ui/templates/sources_list.html:4 @@ -347,19 +397,19 @@ msgctxt "column_heading" msgid "Language model" msgstr "" -#: learn2rag/ui/templates/models_list.html:21 +#: learn2rag/ui/templates/models_list.html:25 msgctxt "tooltip" msgid "Unknown value" msgstr "" -#: learn2rag/ui/templates/models_list.html:28 +#: learn2rag/ui/templates/models_list.html:32 #, python-format msgid "" "Are you sure you want to remove this language model configuration: " "%(label)s?" msgstr "" -#: learn2rag/ui/templates/models_list.html:30 +#: learn2rag/ui/templates/models_list.html:34 #: learn2rag/ui/templates/sources_list.html:19 msgctxt "button" msgid "Remove" @@ -370,6 +420,11 @@ msgctxt "title" msgid "Language models" msgstr "" +#: learn2rag/ui/templates/models_page.html:9 +msgctxt "tooltip" +msgid "Expand to add and configure a new language model" +msgstr "" + #: learn2rag/ui/templates/models_page.html:10 msgctxt "button" msgid "Add a new language model" @@ -385,6 +440,16 @@ msgctxt "form_label" msgid "Storage directory path" msgstr "" +#: learn2rag/ui/templates/pipelines_add.html:8 +msgctxt "tooltip" +msgid "Enter the directory path for data storage" +msgstr "" + +#: learn2rag/ui/templates/pipelines_add.html:12 +msgctxt "tooltip" +msgid "Select the language model to use for this configuration" +msgstr "" + #: learn2rag/ui/templates/pipelines_add.html:19 msgctxt "form_label" msgid "Data sources" @@ -400,6 +465,11 @@ msgctxt "button" msgid "Unselect all" msgstr "" +#: learn2rag/ui/templates/pipelines_add.html:34 +msgctxt "tooltip" +msgid "Expand to view advanced configuration options" +msgstr "" + #: learn2rag/ui/templates/pipelines_add.html:35 msgid "Advanced configuration" msgstr "" @@ -409,11 +479,21 @@ msgctxt "form_label" msgid "Automatically import data with interval (hours)" msgstr "" +#: learn2rag/ui/templates/pipelines_add.html:43 +msgctxt "tooltip" +msgid "Set the interval in hours between scheduled data imports" +msgstr "" + #: learn2rag/ui/templates/pipelines_add.html:47 msgctxt "form_label" msgid "Chat proxy URL" msgstr "" +#: learn2rag/ui/templates/pipelines_add.html:48 +msgctxt "tooltip" +msgid "Enter the URL for the chat proxy server" +msgstr "" + #: learn2rag/ui/templates/pipelines_add.html:50 msgctxt "form_label" msgid "Ports" @@ -423,21 +503,41 @@ msgstr "" msgid "Optional" msgstr "" +#: learn2rag/ui/templates/pipelines_add.html:56 +msgctxt "tooltip" +msgid "Enter the network port number for the user interface" +msgstr "" + #: learn2rag/ui/templates/pipelines_add.html:57 msgctxt "form_label" msgid "User interface" msgstr "" +#: learn2rag/ui/templates/pipelines_add.html:60 +msgctxt "tooltip" +msgid "Enter the network port number for the internal RAG service" +msgstr "" + #: learn2rag/ui/templates/pipelines_add.html:61 msgctxt "form_label" msgid "Internal RAG service" msgstr "" +#: learn2rag/ui/templates/pipelines_add.html:64 +msgctxt "tooltip" +msgid "Enter the network port number for the internal vector store" +msgstr "" + #: learn2rag/ui/templates/pipelines_add.html:65 msgctxt "form_label" msgid "Internal vector store" msgstr "" +#: learn2rag/ui/templates/pipelines_add.html:68 +msgctxt "tooltip" +msgid "Enter the network port number for an additional internal service" +msgstr "" + #: learn2rag/ui/templates/pipelines_add.html:69 msgctxt "form_label" msgid "Additional internal port" @@ -448,6 +548,11 @@ msgctxt "form_label" msgid "Immediately start the data import and the chat interface" msgstr "" +#: learn2rag/ui/templates/pipelines_add.html:80 +msgctxt "tooltip" +msgid "Save your changes" +msgstr "" + #: learn2rag/ui/templates/pipelines_list.html:11 msgctxt "column_heading" msgid "Storage directory path" @@ -514,6 +619,11 @@ msgid "" "%(label)s?" msgstr "" +#: learn2rag/ui/templates/pipelines_list.html:112 +msgctxt "tooltip" +msgid "Delete the stored data" +msgstr "" + #: learn2rag/ui/templates/pipelines_list.html:113 msgctxt "button" msgid "Remove the stored data" @@ -526,6 +636,11 @@ msgid "" "stored data: %(label)s?" msgstr "" +#: learn2rag/ui/templates/pipelines_list.html:120 +msgctxt "tooltip" +msgid "Delete the stored data and the pipeline" +msgstr "" + #: learn2rag/ui/templates/pipelines_list.html:121 msgctxt "button" msgid "Remove the stored data and the pipeline" @@ -536,26 +651,51 @@ msgctxt "title" msgid "Pipelines" msgstr "" +#: learn2rag/ui/templates/pipelines_page.html:9 +msgctxt "tooltip" +msgid "Expand to add and configure a new pipeline" +msgstr "" + #: learn2rag/ui/templates/pipelines_page.html:10 msgctxt "button" msgid "Add a new pipeline" msgstr "" +#: learn2rag/ui/templates/sources_add.html:4 +msgctxt "tooltip" +msgid "Expand to add a local file or directory" +msgstr "" + #: learn2rag/ui/templates/sources_add.html:5 msgctxt "heading" msgid "Local file or directory" msgstr "" +#: learn2rag/ui/templates/sources_add.html:16 +msgctxt "tooltip" +msgid "Expand to add a web page" +msgstr "" + #: learn2rag/ui/templates/sources_add.html:17 msgctxt "heading" msgid "Web page" msgstr "" +#: learn2rag/ui/templates/sources_add.html:28 +msgctxt "tooltip" +msgid "Expand to add a SharePoint site" +msgstr "" + #: learn2rag/ui/templates/sources_add.html:29 msgctxt "heading" msgid "Sharepoint" msgstr "" +#: learn2rag/ui/templates/sources_add.html:40 +msgctxt "tooltip" +msgid "Expand to add a Drupal site" +msgstr "" + #: learn2rag/ui/templates/sources_add.html:41 msgctxt "heading" msgid "Drupal" diff --git a/learn2rag/ui/templates/compose/pipelines/continuous.yml b/learn2rag/ui/templates/compose/pipelines/continuous.yml index 638ba4d..3769161 100644 --- a/learn2rag/ui/templates/compose/pipelines/continuous.yml +++ b/learn2rag/ui/templates/compose/pipelines/continuous.yml @@ -1,5 +1,6 @@ name: continuous label: Start +description: "Start the pipeline with continuous data import" ports: # TODO: labels in the interface currently assume a specific port order - ui diff --git a/learn2rag/ui/templates/compose/pipelines/import.yml b/learn2rag/ui/templates/compose/pipelines/import.yml index c2dc783..fce3aa9 100644 --- a/learn2rag/ui/templates/compose/pipelines/import.yml +++ b/learn2rag/ui/templates/compose/pipelines/import.yml @@ -1,5 +1,6 @@ name: import label: Start one-time import +description: "Start the pipeline with one time data import" ports: # TODO: UI port is not used; labels in the interface currently assume a specific port order - ui diff --git a/learn2rag/ui/templates/compose/pipelines/pipeline.yml b/learn2rag/ui/templates/compose/pipelines/pipeline.yml index cdce8b5..096f7b6 100644 --- a/learn2rag/ui/templates/compose/pipelines/pipeline.yml +++ b/learn2rag/ui/templates/compose/pipelines/pipeline.yml @@ -1,5 +1,6 @@ name: pipeline label: Start only the chat +description: "Start the chat only with no import " ports: # TODO: labels in the interface currently assume a specific port order - ui diff --git a/learn2rag/ui/templates/firststeps_pipelines.html b/learn2rag/ui/templates/firststeps_pipelines.html index 5d0632e..41cae88 100644 --- a/learn2rag/ui/templates/firststeps_pipelines.html +++ b/learn2rag/ui/templates/firststeps_pipelines.html @@ -14,11 +14,11 @@

You do not have any pipelines configured

{% endfor %} - + diff --git a/learn2rag/ui/templates/firststeps_sources.html b/learn2rag/ui/templates/firststeps_sources.html index 9af689e..c508680 100644 --- a/learn2rag/ui/templates/firststeps_sources.html +++ b/learn2rag/ui/templates/firststeps_sources.html @@ -8,11 +8,13 @@

You do not have any data sources selected

- + diff --git a/learn2rag/ui/templates/models_add.html b/learn2rag/ui/templates/models_add.html index 15823e0..05e326f 100644 --- a/learn2rag/ui/templates/models_add.html +++ b/learn2rag/ui/templates/models_add.html @@ -1,7 +1,7 @@

-

@@ -14,7 +14,7 @@

- {% for llm_client in llm.llms.values() %} {% if llm_client.LABEL %}
- +
- +
@@ -50,7 +50,7 @@

{% if suggested_models %}

-

@@ -123,7 +123,7 @@
{{gettext('Another model')}}
{% if ollama_models %}

-

@@ -136,7 +136,7 @@

- {% for ollama_model in ollama_models %} {% endfor %} @@ -144,7 +144,7 @@

- +
diff --git a/learn2rag/ui/templates/models_page.html b/learn2rag/ui/templates/models_page.html index bef5616..c8346fc 100644 --- a/learn2rag/ui/templates/models_page.html +++ b/learn2rag/ui/templates/models_page.html @@ -6,7 +6,7 @@

{% block title %}{{pgettext('title', 'Language models')}}{% endblock %}

{% block content %}

-

diff --git a/learn2rag/ui/templates/pipelines_add.html b/learn2rag/ui/templates/pipelines_add.html index 2e7d797..5e1a2b3 100644 --- a/learn2rag/ui/templates/pipelines_add.html +++ b/learn2rag/ui/templates/pipelines_add.html @@ -5,11 +5,11 @@
- +
- {% for name, language_model in models.items() %} {% endfor %} @@ -31,7 +31,7 @@ {% endfor %}
-
@@ -40,12 +40,12 @@
- +
{{gettext('Optional')}} @@ -53,19 +53,19 @@ {# TODO: labels in the interface currently assume a specific port order in all corresponding .yml files #}
- +
- +
- +
- +
@@ -77,7 +77,7 @@ - +