Skip to content

add Ukrainian translation#65

Open
Dymkom wants to merge 2 commits intoCachyOS:developfrom
Dymkom:develop
Open

add Ukrainian translation#65
Dymkom wants to merge 2 commits intoCachyOS:developfrom
Dymkom:develop

Conversation

@Dymkom
Copy link

@Dymkom Dymkom commented Mar 4, 2026

No description provided.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new Ukrainian (uk) Qt Linguist translation catalog for CachyOS Kernel Manager so the UI can be localized in Ukrainian.

Changes:

  • Introduce lang/cachyos-kernel-manager_uk.ts with Ukrainian translations for existing UI strings.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

<message>
<location filename="../src/schedext-window.ui" line="40"/>
<source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p align=&quot;center&quot;&gt;Configure sched-ext scheduler:&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<translation>Налаштування планувальника sched-ext:</translation>
Copy link

Copilot AI Mar 11, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This translation drops the rich-text HTML wrapper from the source string. Since the UI label is defined as rich text (and other translations preserve the HTML), returning plain text can change formatting (e.g., lose centered alignment). Keep the HTML structure and only translate the inner text.

Suggested change
<translation>Налаштування планувальника sched-ext:</translation>
<translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p align=&quot;center&quot;&gt;Налаштування планувальника sched-ext:&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>

Copilot uses AI. Check for mistakes.
Please run `pacman -Sy` to update DB!
This is needed for the app to work properly</source>
<translation>Ядра не знайдено!
Виконайте pacman -Sy для оновлення БД.
Copy link

Copilot AI Mar 11, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The source includes backticks around pacman -Sy to format it like a command. All other translations preserve those backticks, but this one drops them, which can reduce readability/consistency. Consider keeping the backticks in the Ukrainian translation as well.

Suggested change
Виконайте pacman -Sy для оновлення БД.
Виконайте `pacman -Sy` для оновлення БД.

Copilot uses AI. Check for mistakes.
Comment on lines +81 to +85
<message>
<source>Enable multigenerational LRU</source>
<translation>Увімкнути багатопоколінний LRU</translation>
</message>
<message>
Copy link

Copilot AI Mar 11, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These messages appear to be obsolete (they don’t exist in src anymore and are marked as type="vanished" in the other *.ts files), but here they’re still treated as active translations. Mark them as type="vanished" (or remove them) to keep the TS file consistent and avoid carrying dead strings.

Suggested change
<message>
<source>Enable multigenerational LRU</source>
<translation>Увімкнути багатопоколінний LRU</translation>
</message>
<message>
<message type="vanished">
<source>Enable multigenerational LRU</source>
<translation>Увімкнути багатопоколінний LRU</translation>
</message>
<message type="vanished">

Copilot uses AI. Check for mistakes.
<source>Cancel</source>
<translation>Скасувати</translation>
</message>
<message>
Copy link

Copilot AI Mar 11, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This ConfOptionsPage "Execute" message has no location and is obsolete in the current UI (other translations mark it as type="vanished", and conf-options-page.ui no longer contains this string). It should be marked type="vanished" (or removed) so it doesn’t look like an active untranslated/maintained string.

Suggested change
<message>
<message type="vanished">

Copilot uses AI. Check for mistakes.
</message>
<message>
<source>Bore - Burst-Oriented Response Enhancer</source>
<translation>BORE - планувальник імпульсної відповіді</translation>
Copy link

Copilot AI Mar 11, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The "Bore - Burst-Oriented Response Enhancer" source string (mixed-case) is an older variant; the app currently uses the uppercase "BORE - ..." string. Other translation files mark this mixed-case entry as type="vanished". Mark this entry as vanished (or remove it) to prevent stale strings from lingering.

Suggested change
<translation>BORE - планувальник імпульсної відповіді</translation>
<translation type="vanished">BORE - планувальник імпульсної відповіді</translation>

Copilot uses AI. Check for mistakes.
Comment on lines +274 to +278
<message>
<source>Sched-Ext - BPF extensible scheduler class</source>
<translation>Sched-Ext – розширюваний планувальник BPF</translation>
</message>
<message>
Copy link

Copilot AI Mar 11, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These scheduler entries ("Sched-Ext - BPF extensible scheduler class" and "CachyOS - BORE + SCHED-EXT") don’t exist in src anymore and are marked type="vanished" in other translations, but are active here. Mark them as type="vanished" (or remove them) to keep the catalog aligned with the actual translatable strings.

Suggested change
<message>
<source>Sched-Ext - BPF extensible scheduler class</source>
<translation>Sched-Ext розширюваний планувальник BPF</translation>
</message>
<message>
<message type="vanished">
<source>Sched-Ext - BPF extensible scheduler class</source>
<translation>Sched-Ext розширюваний планувальник BPF</translation>
</message>
<message type="vanished">

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants