Skip to content

Commit

Permalink
#1859 i18n: add more app and webpage translation
Browse files Browse the repository at this point in the history
  • Loading branch information
pbek committed Jun 10, 2024
1 parent ab09735 commit 8538b7b
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 28 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
now will be made sure that no modifier key is pressed (for [#3038](https://github.com/pbek/QOwnNotes/issues/3038))
- A sha256sum file for `QOwnNotes.zip` was added to the releases
(for [#2938](https://github.com/pbek/QOwnNotes/issues/2938), thank you, @o-l-a-v)
- Added more Arabic translation (thank you, noureddin)

## 24.6.0
- The absolute path of the current note will now be shown in the status bar
Expand Down
44 changes: 22 additions & 22 deletions src/languages/QOwnNotes_ar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1888,7 +1888,7 @@
</message>
<message>
<source>AI model</source>
<translation type="unfinished">AI model</translation>
<translation>نموذج الذكاء المصطنع</translation>
</message>
<message>
<source>To&amp;do</source>
Expand Down Expand Up @@ -2371,7 +2371,7 @@
</message>
<message>
<source>Enable AI support</source>
<translation type="unfinished">Enable AI support</translation>
<translation>تفعيل الذكاء المصطنع</translation>
</message>
<message>
<source>asd</source>
Expand Down Expand Up @@ -2828,19 +2828,19 @@ If the trash is enabled on your ownCloud server you should be able to restore th
</message>
<message>
<source>AI backends</source>
<translation type="unfinished">AI backends</translation>
<translation>خدمات الذكاء المصطنع</translation>
</message>
<message>
<source>AI models</source>
<translation type="unfinished">AI models</translation>
<translation>نماذج الذكاء المصطنع</translation>
</message>
<message>
<source>AI backend selector</source>
<translation type="unfinished">AI backend selector</translation>
<translation>محدد خدمة الذكاء المصطنع</translation>
</message>
<message>
<source>AI model selector</source>
<translation type="unfinished">AI model selector</translation>
<translation>محدد نموذج الذكاء المصطنع</translation>
</message>
<message>
<source>Temporary file can't be opened</source>
Expand Down Expand Up @@ -3419,7 +3419,7 @@ If the trash is enabled on your ownCloud server you should be able to restore th
</message>
<message>
<source>AI toolbar</source>
<translation type="unfinished">AI toolbar</translation>
<translation>شريط أدوات الذكاء المصطنع</translation>
</message>
<message>
<source>window toolbar</source>
Expand Down Expand Up @@ -3694,15 +3694,15 @@ If the trash is enabled on your ownCloud server you should be able to restore th
</message>
<message>
<source>Copy absolute path of note</source>
<translation type="unfinished">Copy absolute path of note</translation>
<translation>انسخ المسار المطلق للملاحظة</translation>
</message>
<message>
<source>Copy absolute path of note subfolder</source>
<translation type="unfinished">Copy absolute path of note subfolder</translation>
<translation>انسخ المسار المطلق للمجلد الفرعي للملاحظات</translation>
</message>
<message>
<source>Copy absolute path of note folder</source>
<translation type="unfinished">Copy absolute path of note folder</translation>
<translation>انسخ المسار المطلق لمجلد الملاحظات</translation>
</message>
</context>
<context>
Expand Down Expand Up @@ -3791,14 +3791,14 @@ If the trash is enabled on your ownCloud server you should be able to restore th
<name>OpenAiCompleter</name>
<message>
<source>Timeout, while waiting for the AI response</source>
<translation type="unfinished">Timeout, while waiting for the AI response</translation>
<translation>انتهت مهلة انتظار رد الذكاء المصطنع</translation>
</message>
</context>
<context>
<name>OpenAiService</name>
<message>
<source>AI system is disabled. Please enable it in the main menu or the AI toolbar.</source>
<translation type="unfinished">AI system is disabled. Please enable it in the main menu or the AI toolbar.</translation>
<translation>نظام الذكاء المصطنع معطل. برجاء تفعيله في القائمة الرئيسية أو من شريط أدوات الذكاء المصطنع.</translation>
</message>
</context>
<context>
Expand Down Expand Up @@ -5570,7 +5570,7 @@ Just test yourself if you get sync conflicts and set a higher value if so.</sour
</message>
<message>
<source>AI</source>
<translation type="unfinished">AI</translation>
<translation>الذكاء المصطنع</translation>
</message>
<message>
<source>Experimental</source>
Expand Down Expand Up @@ -5650,15 +5650,15 @@ Just test yourself if you get sync conflicts and set a higher value if so.</sour
</message>
<message>
<source>Status bar</source>
<translation type="unfinished">Status bar</translation>
<translation>شريط الحالة</translation>
</message>
<message>
<source>Show note path</source>
<translation type="unfinished">Show note path</translation>
<translation>أظهر مسار الملاحظة</translation>
</message>
<message>
<source>Only show relative note path</source>
<translation type="unfinished">Only show relative note path</translation>
<translation>لا تظهر إلا المسار النسبي لملاحظات</translation>
</message>
<message>
<source>Action name</source>
Expand Down Expand Up @@ -5787,27 +5787,27 @@ Just test yourself if you get sync conflicts and set a higher value if so.</sour
</message>
<message>
<source>API keys</source>
<translation type="unfinished">API keys</translation>
<translation>مفاتيح API</translation>
</message>
<message>
<source>OpenAI API key:</source>
<translation type="unfinished">OpenAI API key:</translation>
<translation>مفتاح OpenAI API:</translation>
</message>
<message>
<source>Create Groq API key</source>
<translation type="unfinished">Create Groq API key</translation>
<translation>أنشئ مفتاح Groq API</translation>
</message>
<message>
<source>Create OpenAI API key</source>
<translation type="unfinished">Create OpenAI API key</translation>
<translation>أنشئ مفتاح OpenAI API</translation>
</message>
<message>
<source>Groq API key:</source>
<translation type="unfinished">Groq API key:</translation>
<translation>مفتاح Groq API:</translation>
</message>
<message>
<source>API key</source>
<translation type="unfinished">API key</translation>
<translation>مفتاح API</translation>
</message>
<message>
<source>Show line numbers</source>
Expand Down
2 changes: 1 addition & 1 deletion webpage/src/ar/getting-started/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@
- دعم [**التدقيق الإملائي**](../editor/spellchecking.md)
- **الوضع المحمول** لحمل QOwnNotes على وحدة تخزين USB والتنقل به
- **قابلية البرمجة** وكذلك [**مستودع بُريمِجات**](https://github.com/qownnotes/scripts) على الإنترنت، حيث يمكنك تثبيت البُريمِجات من داخل التطبيق
- Implementation of the **[OpenAI completion API](https://www.qownnotes.org/blog/2024-05-17-AI-support-was-added-to-QOwnNotes.html)** to be used in scripts
- دعم **[API الإكمال بالذكاء المصطنع من OpenAI](https://www.qownnotes.org/blog/2024-05-17-AI-support-was-added-to-QOwnNotes.html)** لاستعماله في البرمجة
- **وضع Vim**
- **[تطبيق ويب](web-app.md)** ليمكنك **إضافة صور من محمولك** إلى الملاحظة الحالية في QOwnNotes على حاسوبك

Expand Down
2 changes: 1 addition & 1 deletion webpage/src/ar/installation/building.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ git submodule update --init

بعدئذٍ، افتح ملف المشروع `src/QOwnNotes.pro` وانقر على **Build** ثم **Build Project QOwnNotes**.

If you know what you are doing, you can also build QOwnNotes directly in your terminal:
ويمكنك كذلك بناء QOwnNotes من الطرفية إذا كنت تعرف ما تفعل:

```bash
cd src
Expand Down
8 changes: 4 additions & 4 deletions webpage/src/ar/scripting/methods-and-objects.md
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,7 @@ QString ScriptingService::noteTextEditCurrentBlock();
var text = script.noteTextEditCurrentBlock();
```

You may want to take a look at the example [ai-autocompletion.qml](https://github.com/pbek/QOwnNotes/blob/main/docs/scripting/examples/ai-autocompletion.qml).
ربما تحب أن تلقي نظرة على المثال [ai-autocompletion.qml](https://github.com/pbek/QOwnNotes/blob/main/docs/scripting/examples/ai-autocompletion.qml).

Use a completion prompt on the currently selected AI model
----------------------------------------------------------
Expand Down Expand Up @@ -1505,7 +1505,7 @@ QString ScriptingService::inputDialogGetItem(
int current, bool editable);
```
An empty string will be returned, if `Cancel` was clicked or `Escape` was pressed.
سترجع سلسلة نصية فارغة عند نقر `Cancel` أو ضغط `Escape`.
### مثال
```js
Expand Down Expand Up @@ -1533,7 +1533,7 @@ QString ScriptingService::inputDialogGetText(
const QString &title, const QString &label, const QString &text);
```
An empty string will be returned, if `Cancel` was clicked or `Escape` was pressed.
سترجع سلسلة نصية فارغة عند نقر `Cancel` أو ضغط `Escape`.
### مثال
```js
Expand All @@ -1559,7 +1559,7 @@ QString ScriptingService::inputDialogGetMultiLineText(
const QString &title, const QString &label, const QString &text);
```
An empty string will be returned, if `Cancel` was clicked or `Escape` was pressed.
سترجع سلسلة نصية فارغة عند نقر `Cancel` أو ضغط `Escape`.
### مثال
```js
Expand Down

0 comments on commit 8538b7b

Please sign in to comment.