Skip to content

Commit 496145e

Browse files
committed
#1859 i18n: add more webpage translation
Signed-off-by: Patrizio Bekerle <[email protected]>
1 parent 51062f4 commit 496145e

File tree

30 files changed

+290
-20
lines changed

30 files changed

+290
-20
lines changed

webpage/src/ar/editor/ai.md

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# AI support
2+
3+
You can opt-in to use your favorite AI model (LLM) to help you with your notes.
4+
There is built-in support for **[Groq](https://groq.com/)** (because you can get free API keys) and **[OpenAI](https://openai.com/)**,
5+
but the internal API is designed to be easily extendable to other AI models with scripts.
6+
There are several AI backend integrations scripts available in the script repository to get you started.
7+
8+
:::tip
9+
The **OpenAI completion API** was implemented to be used in **scripts**.
10+
This way you can do whatever you want and experiment with it.
11+
:::
12+
13+
- There is an **AI toolbar** and a section in the **Edit main menu**, where can turn
14+
the service on, and you can select the AI backend and model
15+
- You can add an [OpenAI](https://openai.com/) and [Groq](https://groq.com/) API key in the new **AI settings**
16+
- Look for more **AI backend integrations**, like _Ollama_ and _llama.cpp_ in the script repository
17+
- Use the new `script.aiComplete(prompt)` scripting command to your own imagination
18+
- For more information please take a look at the
19+
[Scripting documentation](../scripting/methods-and-objects.md#use-a-completion-prompt-on-the-currently-selected-ai-model)
20+
- In the **script repository**, as a first step, there is a script
21+
[AI Autocompletion](https://github.com/qownnotes/scripts/tree/master/ai-autocompletion),
22+
that uses the selected AI model to **autocomplete the current selection** in the note text edit,
23+
and a script [AI Text Tool](https://github.com/qownnotes/scripts/tree/master/ai-text-tool),
24+
that uses the selected AI model to **process the current selection** in the note text edit,
25+
for example to summarize it, to translate it or to fix typos and grammar errors
26+
27+
![ai-settings](/img/editor/ai-settings.webp)

webpage/src/ar/scripting/hooks.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ openAiBackendsHook (خطاف خدمات الذكاء المصطنع)
433433

434434
يُنادى هذا الخطاف عند إعادة تحميل تهيئة خدمات OpenAI. يحدث هذا مثلا عند إعادة تحميل محرك البرمجة.
435435

436-
يمكنك استعماله لتهيئة خدمات OpenAI مخصصة، مثل نماذج LLM خاصة بك (على أن تكون متوافقة مع OpenAI API).
436+
You can use it to provide config for custom OpenAI backends, like your own OpenAI API compatible LLMs, for example ChatGPT, Claude or systems like Ollama.
437437

438438
### نداء الدالة ومُعامِلاتها
439439
```js

webpage/src/ar/scripting/methods-and-objects.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -680,7 +680,7 @@ var text = script.noteTextEditCurrentBlock();
680680
Use a completion prompt on the currently selected AI model
681681
----------------------------------------------------------
682682

683-
The AI completion prompt is a feature that allows you to use a completion prompt on the currently selected AI model.
683+
The AI completion prompt is a feature that allows you to use a completion prompt on the currently selected AI model, like ChatGPT, Claude or systems like Ollama.
684684

685685
The AI system needs to be enabled in the AI toolbar or main menu for this to work.
686686

webpage/src/de/editor/ai.md

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# AI support
2+
3+
You can opt-in to use your favorite AI model (LLM) to help you with your notes.
4+
There is built-in support for **[Groq](https://groq.com/)** (because you can get free API keys) and **[OpenAI](https://openai.com/)**,
5+
but the internal API is designed to be easily extendable to other AI models with scripts.
6+
There are several AI backend integrations scripts available in the script repository to get you started.
7+
8+
:::tip
9+
The **OpenAI completion API** was implemented to be used in **scripts**.
10+
This way you can do whatever you want and experiment with it.
11+
:::
12+
13+
- There is an **AI toolbar** and a section in the **Edit main menu**, where can turn
14+
the service on, and you can select the AI backend and model
15+
- You can add an [OpenAI](https://openai.com/) and [Groq](https://groq.com/) API key in the new **AI settings**
16+
- Look for more **AI backend integrations**, like _Ollama_ and _llama.cpp_ in the script repository
17+
- Use the new `script.aiComplete(prompt)` scripting command to your own imagination
18+
- For more information please take a look at the
19+
[Scripting documentation](../scripting/methods-and-objects.md#use-a-completion-prompt-on-the-currently-selected-ai-model)
20+
- In the **script repository**, as a first step, there is a script
21+
[AI Autocompletion](https://github.com/qownnotes/scripts/tree/master/ai-autocompletion),
22+
that uses the selected AI model to **autocomplete the current selection** in the note text edit,
23+
and a script [AI Text Tool](https://github.com/qownnotes/scripts/tree/master/ai-text-tool),
24+
that uses the selected AI model to **process the current selection** in the note text edit,
25+
for example to summarize it, to translate it or to fix typos and grammar errors
26+
27+
![ai-settings](/img/editor/ai-settings.webp)

webpage/src/de/scripting/hooks.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ openAiBackendsHook
405405

406406
This hook is called, when the OpenAI service config is reloaded. For example, this is also done when the script engine is reloaded.
407407

408-
You can use it to provide config for custom OpenAI backends, like your own OpenAI API compatible LLMs.
408+
You can use it to provide config for custom OpenAI backends, like your own OpenAI API compatible LLMs, for example ChatGPT, Claude or systems like Ollama.
409409

410410
### Method call and parameters
411411
```js

webpage/src/de/scripting/methods-and-objects.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -680,7 +680,7 @@ You may want to take a look at the example [ai-autocompletion.qml](https://githu
680680
Use a completion prompt on the currently selected AI model
681681
----------------------------------------------------------
682682

683-
The AI completion prompt is a feature that allows you to use a completion prompt on the currently selected AI model.
683+
The AI completion prompt is a feature that allows you to use a completion prompt on the currently selected AI model, like ChatGPT, Claude or systems like Ollama.
684684

685685
The AI system needs to be enabled in the AI toolbar or main menu for this to work.
686686

webpage/src/es/editor/ai.md

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# AI support
2+
3+
You can opt-in to use your favorite AI model (LLM) to help you with your notes.
4+
There is built-in support for **[Groq](https://groq.com/)** (because you can get free API keys) and **[OpenAI](https://openai.com/)**,
5+
but the internal API is designed to be easily extendable to other AI models with scripts.
6+
There are several AI backend integrations scripts available in the script repository to get you started.
7+
8+
:::tip
9+
The **OpenAI completion API** was implemented to be used in **scripts**.
10+
This way you can do whatever you want and experiment with it.
11+
:::
12+
13+
- There is an **AI toolbar** and a section in the **Edit main menu**, where can turn
14+
the service on, and you can select the AI backend and model
15+
- You can add an [OpenAI](https://openai.com/) and [Groq](https://groq.com/) API key in the new **AI settings**
16+
- Look for more **AI backend integrations**, like _Ollama_ and _llama.cpp_ in the script repository
17+
- Use the new `script.aiComplete(prompt)` scripting command to your own imagination
18+
- For more information please take a look at the
19+
[Scripting documentation](../scripting/methods-and-objects.md#use-a-completion-prompt-on-the-currently-selected-ai-model)
20+
- In the **script repository**, as a first step, there is a script
21+
[AI Autocompletion](https://github.com/qownnotes/scripts/tree/master/ai-autocompletion),
22+
that uses the selected AI model to **autocomplete the current selection** in the note text edit,
23+
and a script [AI Text Tool](https://github.com/qownnotes/scripts/tree/master/ai-text-tool),
24+
that uses the selected AI model to **process the current selection** in the note text edit,
25+
for example to summarize it, to translate it or to fix typos and grammar errors
26+
27+
![ai-settings](/img/editor/ai-settings.webp)

webpage/src/es/scripting/hooks.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ openAiBackendsHook
405405

406406
Este gancho se llama cuando el servicio de OpenAI se vuelve a cargar. Por ejemplo, esto también sucede cuando el motor de scripts se vuelve a cargar.
407407

408-
Puede usarlo para proveer una configuración para motores de OpenAI personalizados, como su propio LLMs compatible con OpenAI.
408+
You can use it to provide config for custom OpenAI backends, like your own OpenAI API compatible LLMs, for example ChatGPT, Claude or systems like Ollama.
409409

410410
### Llamada y parámetros del método
411411
```js

webpage/src/es/scripting/methods-and-objects.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -680,7 +680,7 @@ Puede que quiera echar un vistazo al ejemplo [ai-autocompletion.qml](https://git
680680
Usar un prompt de finalización en el modelo de IA seleccionado actualmente
681681
----------------------------------------------------------
682682

683-
El prompt de finalización de IA es una característica que le permite usar un prompt en el modelo de IA seleccionado actualmente.
683+
The AI completion prompt is a feature that allows you to use a completion prompt on the currently selected AI model, like ChatGPT, Claude or systems like Ollama.
684684

685685
El sistema de IA necesita ser activado en la barra de herramientas de IA o en el menú principal para que esto funcione.
686686

webpage/src/fa/editor/ai.md

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# AI support
2+
3+
You can opt-in to use your favorite AI model (LLM) to help you with your notes.
4+
There is built-in support for **[Groq](https://groq.com/)** (because you can get free API keys) and **[OpenAI](https://openai.com/)**,
5+
but the internal API is designed to be easily extendable to other AI models with scripts.
6+
There are several AI backend integrations scripts available in the script repository to get you started.
7+
8+
:::tip
9+
The **OpenAI completion API** was implemented to be used in **scripts**.
10+
This way you can do whatever you want and experiment with it.
11+
:::
12+
13+
- There is an **AI toolbar** and a section in the **Edit main menu**, where can turn
14+
the service on, and you can select the AI backend and model
15+
- You can add an [OpenAI](https://openai.com/) and [Groq](https://groq.com/) API key in the new **AI settings**
16+
- Look for more **AI backend integrations**, like _Ollama_ and _llama.cpp_ in the script repository
17+
- Use the new `script.aiComplete(prompt)` scripting command to your own imagination
18+
- For more information please take a look at the
19+
[Scripting documentation](../scripting/methods-and-objects.md#use-a-completion-prompt-on-the-currently-selected-ai-model)
20+
- In the **script repository**, as a first step, there is a script
21+
[AI Autocompletion](https://github.com/qownnotes/scripts/tree/master/ai-autocompletion),
22+
that uses the selected AI model to **autocomplete the current selection** in the note text edit,
23+
and a script [AI Text Tool](https://github.com/qownnotes/scripts/tree/master/ai-text-tool),
24+
that uses the selected AI model to **process the current selection** in the note text edit,
25+
for example to summarize it, to translate it or to fix typos and grammar errors
26+
27+
![ai-settings](/img/editor/ai-settings.webp)

webpage/src/fa/scripting/hooks.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ openAiBackendsHook
405405

406406
This hook is called, when the OpenAI service config is reloaded. For example, this is also done when the script engine is reloaded.
407407

408-
You can use it to provide config for custom OpenAI backends, like your own OpenAI API compatible LLMs.
408+
You can use it to provide config for custom OpenAI backends, like your own OpenAI API compatible LLMs, for example ChatGPT, Claude or systems like Ollama.
409409

410410
### Method call and parameters
411411
```js

webpage/src/fa/scripting/methods-and-objects.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -680,7 +680,7 @@ You may want to take a look at the example [ai-autocompletion.qml](https://githu
680680
Use a completion prompt on the currently selected AI model
681681
----------------------------------------------------------
682682

683-
The AI completion prompt is a feature that allows you to use a completion prompt on the currently selected AI model.
683+
The AI completion prompt is a feature that allows you to use a completion prompt on the currently selected AI model, like ChatGPT, Claude or systems like Ollama.
684684

685685
The AI system needs to be enabled in the AI toolbar or main menu for this to work.
686686

webpage/src/fr/editor/ai.md

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# AI support
2+
3+
You can opt-in to use your favorite AI model (LLM) to help you with your notes.
4+
There is built-in support for **[Groq](https://groq.com/)** (because you can get free API keys) and **[OpenAI](https://openai.com/)**,
5+
but the internal API is designed to be easily extendable to other AI models with scripts.
6+
There are several AI backend integrations scripts available in the script repository to get you started.
7+
8+
:::tip
9+
The **OpenAI completion API** was implemented to be used in **scripts**.
10+
This way you can do whatever you want and experiment with it.
11+
:::
12+
13+
- There is an **AI toolbar** and a section in the **Edit main menu**, where can turn
14+
the service on, and you can select the AI backend and model
15+
- You can add an [OpenAI](https://openai.com/) and [Groq](https://groq.com/) API key in the new **AI settings**
16+
- Look for more **AI backend integrations**, like _Ollama_ and _llama.cpp_ in the script repository
17+
- Use the new `script.aiComplete(prompt)` scripting command to your own imagination
18+
- For more information please take a look at the
19+
[Scripting documentation](../scripting/methods-and-objects.md#use-a-completion-prompt-on-the-currently-selected-ai-model)
20+
- In the **script repository**, as a first step, there is a script
21+
[AI Autocompletion](https://github.com/qownnotes/scripts/tree/master/ai-autocompletion),
22+
that uses the selected AI model to **autocomplete the current selection** in the note text edit,
23+
and a script [AI Text Tool](https://github.com/qownnotes/scripts/tree/master/ai-text-tool),
24+
that uses the selected AI model to **process the current selection** in the note text edit,
25+
for example to summarize it, to translate it or to fix typos and grammar errors
26+
27+
![ai-settings](/img/editor/ai-settings.webp)

webpage/src/fr/scripting/hooks.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ openAiBackendsHook
405405

406406
This hook is called, when the OpenAI service config is reloaded. For example, this is also done when the script engine is reloaded.
407407

408-
You can use it to provide config for custom OpenAI backends, like your own OpenAI API compatible LLMs.
408+
You can use it to provide config for custom OpenAI backends, like your own OpenAI API compatible LLMs, for example ChatGPT, Claude or systems like Ollama.
409409

410410
### Method call and parameters
411411
```js

webpage/src/fr/scripting/methods-and-objects.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -680,7 +680,7 @@ You may want to take a look at the example [ai-autocompletion.qml](https://githu
680680
Use a completion prompt on the currently selected AI model
681681
----------------------------------------------------------
682682

683-
The AI completion prompt is a feature that allows you to use a completion prompt on the currently selected AI model.
683+
The AI completion prompt is a feature that allows you to use a completion prompt on the currently selected AI model, like ChatGPT, Claude or systems like Ollama.
684684

685685
The AI system needs to be enabled in the AI toolbar or main menu for this to work.
686686

webpage/src/hu/editor/ai.md

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# AI support
2+
3+
You can opt-in to use your favorite AI model (LLM) to help you with your notes.
4+
There is built-in support for **[Groq](https://groq.com/)** (because you can get free API keys) and **[OpenAI](https://openai.com/)**,
5+
but the internal API is designed to be easily extendable to other AI models with scripts.
6+
There are several AI backend integrations scripts available in the script repository to get you started.
7+
8+
:::tip
9+
The **OpenAI completion API** was implemented to be used in **scripts**.
10+
This way you can do whatever you want and experiment with it.
11+
:::
12+
13+
- There is an **AI toolbar** and a section in the **Edit main menu**, where can turn
14+
the service on, and you can select the AI backend and model
15+
- You can add an [OpenAI](https://openai.com/) and [Groq](https://groq.com/) API key in the new **AI settings**
16+
- Look for more **AI backend integrations**, like _Ollama_ and _llama.cpp_ in the script repository
17+
- Use the new `script.aiComplete(prompt)` scripting command to your own imagination
18+
- For more information please take a look at the
19+
[Scripting documentation](../scripting/methods-and-objects.md#use-a-completion-prompt-on-the-currently-selected-ai-model)
20+
- In the **script repository**, as a first step, there is a script
21+
[AI Autocompletion](https://github.com/qownnotes/scripts/tree/master/ai-autocompletion),
22+
that uses the selected AI model to **autocomplete the current selection** in the note text edit,
23+
and a script [AI Text Tool](https://github.com/qownnotes/scripts/tree/master/ai-text-tool),
24+
that uses the selected AI model to **process the current selection** in the note text edit,
25+
for example to summarize it, to translate it or to fix typos and grammar errors
26+
27+
![ai-settings](/img/editor/ai-settings.webp)

webpage/src/hu/scripting/hooks.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ openAiBackendsHook
404404

405405
This hook is called, when the OpenAI service config is reloaded. For example, this is also done when the script engine is reloaded.
406406

407-
You can use it to provide config for custom OpenAI backends, like your own OpenAI API compatible LLMs.
407+
You can use it to provide config for custom OpenAI backends, like your own OpenAI API compatible LLMs, for example ChatGPT, Claude or systems like Ollama.
408408

409409
### Method call and parameters
410410
```js

webpage/src/hu/scripting/methods-and-objects.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -679,7 +679,7 @@ You may want to take a look at the example [ai-autocompletion.qml](https://githu
679679
Use a completion prompt on the currently selected AI model
680680
----------------------------------------------------------
681681

682-
The AI completion prompt is a feature that allows you to use a completion prompt on the currently selected AI model.
682+
The AI completion prompt is a feature that allows you to use a completion prompt on the currently selected AI model, like ChatGPT, Claude or systems like Ollama.
683683

684684
The AI system needs to be enabled in the AI toolbar or main menu for this to work.
685685

webpage/src/it/editor/ai.md

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# AI support
2+
3+
You can opt-in to use your favorite AI model (LLM) to help you with your notes.
4+
There is built-in support for **[Groq](https://groq.com/)** (because you can get free API keys) and **[OpenAI](https://openai.com/)**,
5+
but the internal API is designed to be easily extendable to other AI models with scripts.
6+
There are several AI backend integrations scripts available in the script repository to get you started.
7+
8+
:::tip
9+
The **OpenAI completion API** was implemented to be used in **scripts**.
10+
This way you can do whatever you want and experiment with it.
11+
:::
12+
13+
- There is an **AI toolbar** and a section in the **Edit main menu**, where can turn
14+
the service on, and you can select the AI backend and model
15+
- You can add an [OpenAI](https://openai.com/) and [Groq](https://groq.com/) API key in the new **AI settings**
16+
- Look for more **AI backend integrations**, like _Ollama_ and _llama.cpp_ in the script repository
17+
- Use the new `script.aiComplete(prompt)` scripting command to your own imagination
18+
- For more information please take a look at the
19+
[Scripting documentation](../scripting/methods-and-objects.md#use-a-completion-prompt-on-the-currently-selected-ai-model)
20+
- In the **script repository**, as a first step, there is a script
21+
[AI Autocompletion](https://github.com/qownnotes/scripts/tree/master/ai-autocompletion),
22+
that uses the selected AI model to **autocomplete the current selection** in the note text edit,
23+
and a script [AI Text Tool](https://github.com/qownnotes/scripts/tree/master/ai-text-tool),
24+
that uses the selected AI model to **process the current selection** in the note text edit,
25+
for example to summarize it, to translate it or to fix typos and grammar errors
26+
27+
![ai-settings](/img/editor/ai-settings.webp)

webpage/src/it/scripting/hooks.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ openAiBackendsHook
441441

442442
This hook is called, when the OpenAI service config is reloaded. For example, this is also done when the script engine is reloaded.
443443

444-
You can use it to provide config for custom OpenAI backends, like your own OpenAI API compatible LLMs.
444+
You can use it to provide config for custom OpenAI backends, like your own OpenAI API compatible LLMs, for example ChatGPT, Claude or systems like Ollama.
445445

446446
### Method call and parameters
447447
```js

webpage/src/it/scripting/methods-and-objects.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -650,7 +650,7 @@ You may want to take a look at the example [ai-autocompletion.qml](https://githu
650650
Use a completion prompt on the currently selected AI model
651651
----------------------------------------------------------
652652

653-
The AI completion prompt is a feature that allows you to use a completion prompt on the currently selected AI model.
653+
The AI completion prompt is a feature that allows you to use a completion prompt on the currently selected AI model, like ChatGPT, Claude or systems like Ollama.
654654

655655
The AI system needs to be enabled in the AI toolbar or main menu for this to work.
656656

0 commit comments

Comments
 (0)