Merge master into lang-for-target-locale

Resolve the uk base.mo conflict by regenerating it from the merged
base.po, which now combines this branch's locale strings with the 53
translations landed via #4580.
This commit is contained in:
Softer 2026-06-09 12:33:54 +03:00
commit fd8dbe1927
7 changed files with 1296 additions and 2255 deletions

View File

@ -40,7 +40,7 @@ class ProfileConfiguration(SubConfig):
out.append(self.profile.name)
if self.gfx_driver:
out.append(tr('{} grphics driver').format(self.gfx_driver.value))
out.append(tr('{} graphics driver').format(self.gfx_driver.value))
if self.greeter:
out.append(tr('{} greeter').format(self.greeter.value))

View File

@ -257,11 +257,6 @@ msgstr ""
msgid "Configuration preview"
msgstr ""
msgid ""
"Warning: no network configuration selected. Network will need to be set up "
"manually on the installed system."
msgstr ""
msgid "No configuration"
msgstr ""
@ -648,16 +643,23 @@ msgstr ""
msgid "Kernel"
msgstr ""
msgid "Missing configurations:\n"
msgid ""
"No network configuration selected. Network will need to be set up manually "
"on the installed system."
msgstr ""
#, python-brace-format
msgid "Invalid configuration: {}"
msgid "Missing configurations:"
msgstr ""
msgid "Invalid configuration:"
msgstr ""
msgid "Ready to install"
msgstr ""
msgid "Warnings:"
msgstr ""
msgid "Profiles"
msgstr ""
@ -993,7 +995,7 @@ msgid "Color enabled"
msgstr ""
#, python-brace-format
msgid "{} grphics driver"
msgid "{} graphics driver"
msgstr ""
#, python-brace-format
@ -1059,15 +1061,15 @@ msgstr ""
msgid "No wifi interface found"
msgstr ""
msgid "No wifi networks found"
msgstr ""
msgid "Select wifi network to connect to"
msgstr ""
msgid "Scanning wifi networks..."
msgstr ""
msgid "No wifi networks found"
msgstr ""
msgid "Failed setting up wifi"
msgstr ""
@ -1214,17 +1216,3 @@ msgstr ""
msgid " (default)"
msgstr ""
msgid "Invalid configuration:"
msgstr ""
msgid "Missing configurations:"
msgstr ""
msgid "Warnings:"
msgstr ""
msgid ""
"No network configuration selected. Network will need to be set up manually "
"on the installed system."
msgstr ""

View File

@ -70,25 +70,10 @@ cmd_check_no_tr_fstring() {
echo "No tr(f-string) anti-pattern found."
}
cmd_check_pot_freshness() {
# msgcmp (not diff) because base.pot carries legacy stale entries from
# --join-existing; diff would always fail until a full cleanup is done.
echo "Checking base.pot for missing strings..."
find . -type f -iname '*.py' | sort \
| xargs xgettext --no-location --omit-header --keyword='tr' \
-d base -o /tmp/generated.pot
if ! msgcmp --use-untranslated locales/base.pot /tmp/generated.pot; then
echo "ERROR: base.pot is missing strings - run: locales_generator.sh all" >&2
return 1
fi
echo "base.pot contains all translatable strings."
}
cmd_check() {
local failed=0
cmd_check_po_syntax || failed=1
cmd_check_no_tr_fstring || failed=1
cmd_check_pot_freshness || failed=1
if [ "$failed" -eq 1 ]; then
echo "Some translation checks failed." >&2
exit 1

File diff suppressed because it is too large Load Diff

View File

@ -2236,3 +2236,162 @@ msgstr "Налаштування входу з пристроєм двофакт
#, python-brace-format
msgid "Default: {}ms, Recommended range: 1000-60000"
msgstr "Стандартно: {}мс, Рекомендований діапазон - 1000-60000"
msgid "ArchInstall Language"
msgstr "Мова ArchInstall"
msgid "Version"
msgstr "Версія"
msgid "Installation Script"
msgstr "Скрипт встановлення"
msgid "Application"
msgstr "Додаток"
msgid "Services"
msgstr "Служби"
msgid "Custom commands"
msgstr "Користувацькі команди"
msgid "Users"
msgstr "Користувачі"
msgid "Root encrypted password"
msgstr "Зашифрований пароль root"
msgid "Audio server \"{}\""
msgstr "Аудіосервер \"{}\""
msgid "Firewall \"{}\""
msgstr "Брандмауер \"{}\""
msgid "Bootloader \"{}\""
msgstr "Завантажувач \"{}\""
msgid "Power management \"{}\""
msgstr "Керування живленням \"{}\""
msgid "Btrfs snapshot \"{}\""
msgstr "Знімок Btrfs \"{}\""
msgid "Keyboard layout \"{}\""
msgstr "Розкладка клавіатури \"{}\""
msgid "Locale language \"{}\""
msgstr "Мова локалізації \"{}\""
msgid "Locale encoding \"{}\""
msgstr "Кодування локалізації \"{}\""
msgid "Console font \"{}\""
msgstr "Шрифт консолі \"{}\""
msgid "Mirror regions \"{}\""
msgstr "Регіони дзеркал \"{}\""
msgid "Optional repositories \"{}\""
msgstr "Необов'язкові репозиторії \"{}\""
msgid "Extra fonts \"{}\""
msgstr "Додаткові шрифти \"{}\""
msgid "Bluetooth enabled"
msgstr "Bluetooth увімкнено"
msgid "Color enabled"
msgstr "Колір увімкнено"
msgid "Print service enabled"
msgstr "Службу друку увімкнено"
msgid "Zram enabled"
msgstr "Zram увімкнено"
msgid "UKI enabled"
msgstr "UKI увімкнено"
msgid "Root password set"
msgstr "Пароль root встановлено"
msgid "U2F set up"
msgstr "U2F налаштовано"
msgid "LVM set up"
msgstr "LVM налаштовано"
msgid "Custom servers set up"
msgstr "Користувацькі сервери налаштовано"
msgid "Custom repositories set up"
msgstr "Користувацькі репозиторії налаштовано"
msgid "Configured {} user(s)"
msgstr "Налаштовано користувачів: {}"
msgid "Zram algorithm {}"
msgstr "Алгоритм Zram {}"
msgid "Devices {}"
msgstr "Пристрої {}"
msgid "{} grphics driver"
msgstr "Графічний драйвер {}"
msgid "{} encryption"
msgstr "Шифрування {}"
msgid "{} layout"
msgstr "Розмітка {}"
msgid "{} greeter"
msgstr "Менеджер входу {}"
msgid "About to upload \"{}\" to the publicly accessible {}"
msgstr "Зараз \"{}\" буде вивантажено на загальнодоступний {}"
msgid "Log uploaded successfully. URL: {}"
msgstr "Журнал успішно вивантажено. URL: {}"
msgid "Failed to upload log."
msgstr "Не вдалося вивантажити журнал."
msgid "Manual"
msgstr "Вручну"
msgid "Pre-mount"
msgstr "Передмонтування"
msgid "Default"
msgstr "Типово"
msgid "Warnings:"
msgstr "Попередження:"
msgid "Missing configurations:"
msgstr "Відсутні конфігурації:"
msgid "Invalid configuration:"
msgstr "Неправильна конфігурація:"
msgid "Do you want to continue?"
msgstr "Бажаєте продовжити?"
msgid "Enter a repository name"
msgstr "Введіть назву репозиторію"
msgid "Use standalone iwd"
msgstr "Використовувати автономний iwd"
msgid "{} needs access to your seat"
msgstr "{} потребує доступу до вашого seat"
msgid "Choose an option how to give {} access to your hardware"
msgstr "Виберіть, як надати {} доступ до вашого обладнання"
msgid "collection of hardware devices i.e. keyboard, mouse"
msgstr "набір апаратних пристроїв, напр. клавіатура, миша"
msgid "No network configuration selected. Network will need to be set up manually on the installed system."
msgstr "Конфігурацію мережі не обрано. Мережу доведеться налаштувати вручну на встановленій системі."