From 00b0ae7ba439a5a420095175b3bedd52c569db51 Mon Sep 17 00:00:00 2001 From: Daniel Girtler Date: Wed, 19 Apr 2023 20:55:42 +1000 Subject: PyParted and a large rewrite of the underlying partitioning (#1604) * Invert mypy files * Add optional pre-commit hooks * New profile structure * Serialize profiles * Use profile instead of classmethod * Custom profile setup * Separator between back * Support profile import via url * Move profiles module * Refactor files * Remove symlink * Add user to docker group * Update schema description * Handle list services * mypy fixes * mypy fixes * Rename profilesv2 to profiles * flake8 * mypy again * Support selecting DM * Fix mypy * Cleanup * Update greeter setting * Update schema * Revert toml changes * Poc external dependencies * Dependency support * New encryption menu * flake8 * Mypy and flake8 * Unify lsblk command * Update bootloader configuration * Git hooks * Fix import * Pyparted * Remove custom font setting * flake8 * Remove default preview * Manual partitioning menu * Update structure * Disk configuration * Update filesystem * luks2 encryption * Everything works until installation * Btrfsutil * Btrfs handling * Update btrfs * Save encryption config * Fix pipewire issue * Update mypy version * Update all pre-commit * Update package versions * Revert audio/pipewire * Merge master PRs * Add master changes * Merge master changes * Small renaming * Pull master changes * Reset disk enc after disk config change * Generate locals * Update naming * Fix imports * Fix broken sync * Fix pre selection on table menu * Profile menu * Update profile * Fix post_install * Added python-pyparted to PKGBUILD, this requires [testing] to be enabled in order to run makepkg. Package still works via python -m build etc. * Swaped around some setuptools logic in pyproject Since we define `package-data` and `packages` there should be no need for: ``` [tool.setuptools.packages.find] where = ["archinstall", "archinstall.*"] ``` * Removed pyproject collisions. Duplicate definitions. * Made sure pyproject.toml includes languages * Add example and update README * Fix pyproject issues * Generate locale * Refactor imports * Simplify imports * Add profile description and package examples * Align code * Fix mypy * Simplify imports * Fix saving config * Fix wrong luks merge * Refactor installation * Fix cdrom device loading * Fix wrongly merged code * Fix imports and greeter * Don't terminate on partprobe error * Use specific path on partprobe from luks * Update archinstall/lib/disk/device_model.py Co-authored-by: codefiles <11915375+codefiles@users.noreply.github.com> * Update archinstall/lib/disk/device_model.py Co-authored-by: codefiles <11915375+codefiles@users.noreply.github.com> * Update github workflow to test archinstall installation * Update sway merge * Generate locales * Update workflow --------- Co-authored-by: Daniel Girtler Co-authored-by: Anton Hvornum Co-authored-by: Anton Hvornum Co-authored-by: codefiles <11915375+codefiles@users.noreply.github.com> --- archinstall/locales/ru/LC_MESSAGES/base.mo | Bin 35760 -> 36023 bytes archinstall/locales/ru/LC_MESSAGES/base.po | 249 +++++++++++++++++++++++++++-- 2 files changed, 238 insertions(+), 11 deletions(-) (limited to 'archinstall/locales/ru/LC_MESSAGES') diff --git a/archinstall/locales/ru/LC_MESSAGES/base.mo b/archinstall/locales/ru/LC_MESSAGES/base.mo index 0fe08128..1da3a370 100644 Binary files a/archinstall/locales/ru/LC_MESSAGES/base.mo and b/archinstall/locales/ru/LC_MESSAGES/base.mo differ diff --git a/archinstall/locales/ru/LC_MESSAGES/base.po b/archinstall/locales/ru/LC_MESSAGES/base.po index 1a33881f..b99c6473 100644 --- a/archinstall/locales/ru/LC_MESSAGES/base.po +++ b/archinstall/locales/ru/LC_MESSAGES/base.po @@ -838,6 +838,125 @@ msgstr "Чтобы иметь возможность использовать э msgid "The font should be stored as {}" msgstr "Шрифт должен быть сохранен как {}" +msgid "Archinstall requires root privileges to run. See --help for more." +msgstr "Для запуска Archinstall требуются привилегии root. Для получения дополнительной информации смотрите --help." + +#, fuzzy +msgid "Select an execution mode" +msgstr "Выберите действие для '{}'" + +msgid "Unable to fetch profile from specified url: {}" +msgstr "" + +msgid "Profiles must have unique name, but profile definitions with duplicate name found: {}" +msgstr "" + +#, fuzzy +msgid "Select one or more devices to use and configure" +msgstr "Выберите один или несколько жестких дисков для использования и настройте их" + +#, fuzzy +msgid "If you reset the device selection this will also reset the current disk layout. Are you sure?" +msgstr "Если вы сбросите выбор жесткого диска, это также сбросит текущую разметку диска. Вы уверены?" + +#, fuzzy +msgid "Existing Partitions" +msgstr "Добавление раздела...." + +#, fuzzy +msgid "Select a partitioning option" +msgstr "Удалить раздел" + +#, fuzzy +msgid "Enter the root directory of the mounted devices: " +msgstr "Введите каталог для сохранения конфигурации (-ций): " + +#, fuzzy +msgid "Minimum capacity for /home partition: {}GiB\n" +msgstr "Минимальный размер раздела /home: {}GB\n" + +#, fuzzy +msgid "Minimum capacity for Arch Linux partition: {}GiB" +msgstr "Минимальный размер раздела Arch Linux: {}GB" + +#, fuzzy +msgid "This is a list of pre-programmed profiles_bck, they might make it easier to install things like desktop environments" +msgstr "Это список предварительно запрограммированных профилей, они могут облегчить установку таких вещей, как окружения рабочего стола" + +#, fuzzy +msgid "Current profile selection" +msgstr "Текущая разметка разделов" + +#, fuzzy +msgid "Remove all newly added partitions" +msgstr "Создать новый раздел" + +#, fuzzy +msgid "Assign mountpoint" +msgstr "Назначить точку монтирования для раздела" + +#, fuzzy +msgid "Mark/Unmark to be formatted (wipes data)" +msgstr "Пометить/снять отметку с раздела, который будет отформатирован (стирание данных)" + +msgid "Mark/Unmark as bootable" +msgstr "" + +msgid "Change filesystem" +msgstr "" + +#, fuzzy +msgid "Mark/Unmark as compressed" +msgstr "Пометить/снять отметку с раздела как сжатый (только для btrfs)" + +#, fuzzy +msgid "Set subvolumes" +msgstr "Удалить подтом" + +#, fuzzy +msgid "Delete partition" +msgstr "Удалить раздел" + +msgid "Partition" +msgstr "" + +msgid "This partition is currently encrypted, to format it a filesystem has to be specified" +msgstr "" + +#, fuzzy +msgid "Partition mount-points are relative to inside the installation, the boot would be /boot as an example." +msgstr " * Точки монтирования разделов являются относительными внутри установки, например, загрузочный будет /boot." + +msgid "If mountpoint /boot is set, then the partition will also be marked as bootable." +msgstr "" + +msgid "Mountpoint: " +msgstr "" + +msgid "Current free sectors on device {}:" +msgstr "" + +#, fuzzy +msgid "Total sectors: {}" +msgstr "Недействительный каталог: {}" + +#, fuzzy +msgid "Enter the start sector (default: {}): " +msgstr "Введите начальный сектор (процент или номер блока, по умолчанию: {}): " + +#, fuzzy +msgid "Enter the end sector of the partition (percentage or block number, default: {}): " +msgstr "Введите конечный сектор раздела (процент или номер блока, например: {}): " + +msgid "This will remove all newly added partitions, continue?" +msgstr "" + +msgid "Partition management: {}" +msgstr "" + +msgid "Total length: {}" +msgstr "" + #, fuzzy msgid "Encryption type" msgstr "Пароль шифрования" @@ -859,34 +978,142 @@ msgid "Select a FIDO2 device to use for HSM" msgstr "" #, fuzzy -msgid "All settings will be reset, are you sure?" -msgstr "{} содержит разделы в очереди, это удалит их, вы уверены?" +msgid "Use a best-effort default partition layout" +msgstr "Стереть все выбранные диски и использовать оптимальную схему разделов по умолчанию" -msgid "Back" +#, fuzzy +msgid "Manual Partitioning" +msgstr "Ручная конфигурация" + +#, fuzzy +msgid "Pre-mounted configuration" +msgstr "Отсутствует конфигурация" + +msgid "Unknown" +msgstr "" + +msgid "Partition encryption" +msgstr "" + +msgid " ! Formatting {} in " +msgstr "" + +msgid "← Back" msgstr "" msgid "Disk encryption" msgstr "" +#, fuzzy +msgid "Configuration" +msgstr "Отсутствует конфигурация" + #, fuzzy msgid "Password" msgstr "Пароль root" -msgid "Partition encryption" +#, fuzzy +msgid "All settings will be reset, are you sure?" +msgstr "{} содержит разделы в очереди, это удалит их, вы уверены?" + +msgid "Back" +msgstr "" + +msgid "Please chose which greeter to install for the chosen profiles: {}" +msgstr "" + +msgid "Environment type: {}" +msgstr "" + +msgid "The proprietary Nvidia driver is not supported by Sway. It is likely that you will run into issues, are you okay with that?" +msgstr "" + +#, fuzzy +msgid "Installed packages" +msgstr "Дополнительные пакеты" + +#, fuzzy +msgid "Add profile" +msgstr "Профиль" + +#, fuzzy +msgid "Edit profile" +msgstr "Профиль" + +#, fuzzy +msgid "Delete profile" +msgstr "Удалить интерфейс" + +#, fuzzy +msgid "Profile name: " +msgstr "Профиль" + +#, fuzzy +msgid "The profile name you entered is already in use. Try again" +msgstr "Введенное вами имя пользователя недействительно. Попробуйте еще раз" + +#, fuzzy +msgid "Packages to be install with this profile (space separated, leave blank to skip): " +msgstr "Напишите дополнительные пакеты для установки (разделите пробелами, оставьте пустым, чтобы пропустить): " + +#, fuzzy +msgid "Services to be enabled with this profile (space separated, leave blank to skip): " +msgstr "Напишите дополнительные пакеты для установки (разделите пробелами, оставьте пустым, чтобы пропустить): " + +msgid "Should this profile be enabled for installation?" +msgstr "" + +msgid "Create your own" +msgstr "" + +#, fuzzy +msgid "" +"\n" +"Select a graphics driver or leave blank to install all open-source drivers" +msgstr "" +"\n" +"\n" +"Выберите графический драйвер или оставьте пустым, чтобы установить все драйверы с открытым исходным кодом" + +msgid "Sway needs access to your seat (collection of hardware devices i.e. keyboard, mouse, etc)" +msgstr "" + +msgid "" +"\n" +"\n" +"Choose an option to give Sway access to your hardware" +msgstr "" + +msgid "Graphics driver" +msgstr "" + +msgid "Greeter" +msgstr "" + +msgid "Please chose which greeter to install" +msgstr "" + +msgid "This is a list of pre-programmed default_profiles" msgstr "" -#~ msgid "Enter the start sector (percentage or block number, default: {}): " -#~ msgstr "Введите начальный сектор (процент или номер блока, по умолчанию: {}): " +#, fuzzy +msgid "Disk configuration" +msgstr "Отсутствует конфигурация" -#~ msgid "Enter the end sector of the partition (percentage or block number, ex: {}): " -#~ msgstr "Введите конечный сектор раздела (процент или номер блока, например: {}): " +#, fuzzy +msgid "Profiles" +msgstr "Профиль" + +msgid "Finding possible directories to save configuration files ..." +msgstr "" + +#, fuzzy +msgid "Select directory (or directories) for saving configuration files" +msgstr "Выберите один или несколько жестких дисков для использования и настройте их" #, python-brace-format #~ msgid "Edit {origkey} :" #~ msgstr "Редактировать {origkey}:" -#~ msgid "Archinstall requires root privileges to run. See --help for more." -#~ msgstr "Для запуска Archinstall требуются привилегии root. Для получения дополнительной информации смотрите --help." - #~ msgid " ! Formatting {archinstall.arguments['harddrives']} in " #~ msgstr " ! Форматирование {archinstall.arguments['harddrives']} в " -- cgit v1.2.3-54-g00ecf