From 42512ee48494cee71febf04078d9774f0146a085 Mon Sep 17 00:00:00 2001 From: Vojtech Trefny Date: Sun, 8 Aug 2021 17:09:01 +0200 Subject: [PATCH] New version 2.3.0 --- blivet-gui.spec | 58 +++- blivetgui/__init__.py | 2 +- doc/conf.py | 4 +- po/blivet-gui.pot | 729 +++++++++++++++++++++--------------------- setup.py | 2 +- 5 files changed, 428 insertions(+), 367 deletions(-) diff --git a/blivet-gui.spec b/blivet-gui.spec index fe2a7619..3035a596 100644 --- a/blivet-gui.spec +++ b/blivet-gui.spec @@ -1,6 +1,6 @@ Summary: Tool for data storage configuration Name: blivet-gui -Version: 2.2.1 +Version: 2.3.0 Release: 1%{?dist} Source0: http://github.com/storaged-project/blivet-gui/releases/download/%{version}/%{name}-%{version}.tar.gz License: GPLv2+ @@ -70,6 +70,62 @@ mkdir -p %{buildroot}/%{_localstatedir}/log/blivet-gui %{_sysconfdir}/libreport/events.d/blivet-gui_event.conf %changelog +* Sun Aug 08 2021 Vojtech Trefny - 2.3.0-1 +- README: Add information about the openSUSE and Mageia Copr repo (vtrefny) +- Update distributions in Vagrantfile (vtrefny) +- CONTRIBUTING.md update (vtrefny) +- Translated using Weblate (Indonesian) (didiksupriadi41) +- Translated using Weblate (Indonesian) (didiksupriadi41) +- Translated using Weblate (Friulian) (f.t.public) +- tests: Print exception when we fail to a load test case (vtrefny) +- Make sure we pass start sector as int to pyparted not as Decimal (vtrefny) +- Fix various alerts found by LGTM (vtrefny) +- Translated using Weblate (Polish) (piotrdrag) +- Fix removing existing MD arrays (vtrefny) +- Translated using Weblate (Korean) (simmon) +- README: Add more information about the OBS repository and its usage (vtrefny) +- Translated using Weblate (Korean) (simmon) +- Translated using Weblate (Chinese (Simplified) (zh_CN)) (lchopn) +- Translated using Weblate (Korean) (simmon) +- Translated using Weblate (Korean) (simmon) +- Translated using Weblate (Korean) (simmon) +- Add make to build dependencies (vtrefny) +- Translated using Weblate (Korean) (simmon) +- Added translation using Weblate (Korean) (simmon) +- Added translation using Weblate (Sinhala) (r45xveza) +- Translated using Weblate (Finnish) (ricky.tigg) +- Translated using Weblate (Russian) (igor.gorbounov) +- Translated using Weblate (Hungarian) (meskobalazs) +- Squashed 'translation-canary/' changes from edda4ea..4d4e65b (vtrefny) +- Translated using Weblate (Slovak) (feonsu) +- Translated using Weblate (Punjabi) (amanpreet.alam) +- Translated using Weblate (Hebrew) (sh.yaron) +- Translated using Weblate (Finnish) (copper_fin) +- Translated using Weblate (Spanish) (ehespinosa57) +- Translated using Weblate (French) (julroy67) +- Translated using Weblate (Turkish) (oguzersen) +- Translated using Weblate (Ukrainian) (yurchor) +- Update translation files (noreply) +- Translated using Weblate (Indonesian) (andika) +- Translated using Weblate (Polish) (piotrdrag) +- Added translation using Weblate (Indonesian) (andika) +- Translated using Weblate (Italian) (nathan95) +- Translated using Weblate (Portuguese (Brazil)) (sigmasquadron) +- Translated using Weblate (Portuguese (Brazil)) (sigmasquadron) +- spec: Require all libblockdev plugins (vtrefny) +- Update translation files (noreply) +- Translated using Weblate (Finnish) (ricky.tigg) +- man: Remove old unused option "-k" from blivet-gui manpage (vtrefny) +- Allow specifying exclusive disks when running blivet-gui (vtrefny) +- Allow removing devices with children (vtrefny) +- Add libblockdev part plugin to test dependencies (vtrefny) +- Add Vagrant file for running development/testing VMs (vtrefny) +- Force ansible to use python3 in install-test-dependencies.yml (vtrefny) +- Install all dependencies in install-test-dependencies.yml (vtrefny) +- Move install-test-dependencies.yml to a special folder (vtrefny) +- Fix displaying disks with unknown formats (vtrefny) +- Allow creating encrypted btrfs volumes (vtrefny) + * Tue Sep 29 2020 Vojtech Trefny - 2.2.1-1 - Translated using Weblate (Friulian) (f.t.public) - Fix ValueError when trying to set both upper and lower size limits (vtrefny) diff --git a/blivetgui/__init__.py b/blivetgui/__init__.py index f8d016d7..98c826a3 100644 --- a/blivetgui/__init__.py +++ b/blivetgui/__init__.py @@ -1,2 +1,2 @@ -__version__ = '2.2.1' +__version__ = '2.3.0' __app_name__ = 'blivet-gui' diff --git a/doc/conf.py b/doc/conf.py index 7eb1985e..543d2ed0 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -41,14 +41,14 @@ # General information about the project. project = u'blivet-gui' -copyright = u'2014,-2020, Red Hat, Inc.' # pylint: disable=W0622 +copyright = u'2014,-2021, Red Hat, Inc.' # pylint: disable=W0622 # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the # built documents. # # The short X.Y version. -version = '2.2.1' +version = '2.3.0' # The full version, including alpha/beta/rc tags. release = version diff --git a/po/blivet-gui.pot b/po/blivet-gui.pot index da196496..fd5b0874 100644 --- a/po/blivet-gui.pot +++ b/po/blivet-gui.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-09-29 13:02+0200\n" +"POT-Creation-Date: 2021-08-08 17:06+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -18,207 +18,124 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" -#: ../blivetgui/osinstall.py:219 -#, python-brace-format -msgid "" -"{message}\n" -"{error}\n" -" Please click Report button to raise the error and let anaconda \n" -" to handle the report process if you want to report this." -msgstr "" - -#: ../blivetgui/osinstall.py:221 -#, python-brace-format -msgid "" -"Unknown error occured. Anaconda will be terminated.\n" -"{error}" -msgstr "" - -#. add a new 'placeholder' action for all currently registered blivet actions -#: ../blivetgui/osinstall.py:269 -msgid "actions configured by installer" -msgstr "" - -#: ../blivetgui/list_devices.py:82 -msgid "Disks" -msgstr "" - -#: ../blivetgui/list_devices.py:102 -msgid "LVM" -msgstr "" - -#: ../blivetgui/list_devices.py:105 -msgid "LVM2 VG" -msgstr "" - -#: ../blivetgui/list_devices.py:108 -msgid "RAID" -msgstr "" - -#: ../blivetgui/list_devices.py:111 -msgid "MDArray" -msgstr "" - -#: ../blivetgui/list_devices.py:114 -msgid "Btrfs Volumes" -msgstr "" - -#: ../blivetgui/list_devices.py:117 ../blivetgui/dialogs/add_dialog.py:388 -#: ../blivetgui/dialogs/device_info_dialog.py:85 -msgid "Btrfs Volume" -msgstr "" - -#: ../blivetgui/processing_window.py:58 -msgid "Processing" -msgstr "" - -#: ../blivetgui/processing_window.py:83 -msgid "Show actions" -msgstr "" - -#: ../blivetgui/processing_window.py:158 -msgid "All queued actions have been processed." -msgstr "" - -#: ../blivetgui/processing_window.py:173 -#, python-brace-format -msgid "" -"Processing action {num} of {total}:\n" -"{action}" -msgstr "" - -#: ../blivetgui/exception_handler.py:75 -#, python-brace-format -msgid "" -"Unknown error occured.\n" -"{error}" -msgstr "" - -#: ../blivetgui/exception_handler.py:77 -#, python-brace-format -msgid "" -"Unknown error occured. Blivet-gui will be terminated.\n" -"{error}" -msgstr "" - -#: ../blivetgui/blivetgui.py:283 +#: ../blivetgui/blivetgui.py:290 msgid "Failed to resize the device:" msgstr "" -#: ../blivetgui/blivetgui.py:295 +#: ../blivetgui/blivetgui.py:302 #, python-brace-format msgid "resize {name} {type}" msgstr "" -#: ../blivetgui/blivetgui.py:314 +#: ../blivetgui/blivetgui.py:321 msgid "Failed to format the device:" msgstr "" -#: ../blivetgui/blivetgui.py:328 +#: ../blivetgui/blivetgui.py:335 #, python-brace-format msgid "format {name} {type}" msgstr "" -#: ../blivetgui/blivetgui.py:341 +#: ../blivetgui/blivetgui.py:348 msgid "Failed to edit the LVM2 Volume Group:" msgstr "" -#: ../blivetgui/blivetgui.py:356 +#: ../blivetgui/blivetgui.py:363 #, python-brace-format msgid "edit {name} {type}" msgstr "" -#: ../blivetgui/blivetgui.py:385 +#: ../blivetgui/blivetgui.py:392 msgid "Failed to change filesystem label on the device:" msgstr "" -#: ../blivetgui/blivetgui.py:390 +#: ../blivetgui/blivetgui.py:397 #, python-brace-format msgid "change filesystem label of {name} {type}" msgstr "" -#: ../blivetgui/blivetgui.py:406 +#: ../blivetgui/blivetgui.py:413 #, python-brace-format msgid "" "{name} is not complete. It is not possible to add new LVs to VG with missing " "PVs." msgstr "" -#: ../blivetgui/blivetgui.py:411 +#: ../blivetgui/blivetgui.py:418 msgid "Not enough free space for a new LVM Volume Group." msgstr "" -#: ../blivetgui/blivetgui.py:417 +#: ../blivetgui/blivetgui.py:424 #, python-brace-format msgid "" "Disk {name} already reached maximum allowed number of primary partitions for " "{label} disklabel." msgstr "" -#: ../blivetgui/blivetgui.py:427 +#: ../blivetgui/blivetgui.py:434 msgid "Failed to add disklabel:" msgstr "" -#: ../blivetgui/blivetgui.py:440 +#: ../blivetgui/blivetgui.py:447 #, python-brace-format msgid "create new disklabel on {name}" msgstr "" -#: ../blivetgui/blivetgui.py:492 +#: ../blivetgui/blivetgui.py:499 msgid "Failed to add the device:" msgstr "" -#: ../blivetgui/blivetgui.py:507 +#: ../blivetgui/blivetgui.py:514 #, python-brace-format msgid "add {size} {type} device" msgstr "" -#: ../blivetgui/blivetgui.py:542 +#: ../blivetgui/blivetgui.py:558 msgid "Failed to delete the device:" msgstr "" -#: ../blivetgui/blivetgui.py:557 +#: ../blivetgui/blivetgui.py:573 #, python-brace-format msgid "delete partition {name}" msgstr "" -#: ../blivetgui/blivetgui.py:596 +#: ../blivetgui/blivetgui.py:612 msgid "Failed to perform the actions:" msgstr "" -#: ../blivetgui/blivetgui.py:640 +#: ../blivetgui/blivetgui.py:656 msgid "Confirm scheduled actions" msgstr "" -#: ../blivetgui/blivetgui.py:641 +#: ../blivetgui/blivetgui.py:657 msgid "Are you sure you want to perform scheduled actions?" msgstr "" -#: ../blivetgui/blivetgui.py:682 +#: ../blivetgui/blivetgui.py:698 #, python-brace-format msgid "" "Unmount of '{mountpoint}' failed. Are you sure the device is not in use?" msgstr "" -#: ../blivetgui/blivetgui.py:704 +#: ../blivetgui/blivetgui.py:720 msgid "Unlocking failed. Are you sure provided password is correct?" msgstr "" -#: ../blivetgui/blivetgui.py:754 ../data/ui/blivet-gui.ui:659 +#: ../blivetgui/blivetgui.py:770 ../data/ui/blivet-gui.ui:659 msgid "Quit" msgstr "" -#: ../blivetgui/blivetgui.py:757 +#: ../blivetgui/blivetgui.py:773 msgid "blivet-gui is already running" msgstr "" -#: ../blivetgui/blivetgui.py:758 +#: ../blivetgui/blivetgui.py:774 msgid "" "Another instance of blivet-gui is already running.\n" "Only one instance of blivet-gui can run at the same time." msgstr "" -#: ../blivetgui/blivetgui.py:760 +#: ../blivetgui/blivetgui.py:776 msgid "" "If your previous instance of blivet-gui crashed, please make sure that the " "blivet-gui-daemon process was terminated too.\n" @@ -229,24 +146,24 @@ msgid "" "command to force quit it." msgstr "" -#: ../blivetgui/blivetgui.py:792 +#: ../blivetgui/blivetgui.py:808 msgid "Failed to init blivet:" msgstr "" -#: ../blivetgui/blivetgui.py:799 +#: ../blivetgui/blivetgui.py:815 msgid "Quit blivet-gui" msgstr "" -#: ../blivetgui/blivetgui.py:801 +#: ../blivetgui/blivetgui.py:817 msgid "Ignore disk and continue" msgstr "" -#: ../blivetgui/blivetgui.py:804 +#: ../blivetgui/blivetgui.py:820 #, python-brace-format msgid "Error: {error}" msgstr "" -#: ../blivetgui/blivetgui.py:805 +#: ../blivetgui/blivetgui.py:821 #, python-brace-format msgid "" "Blivet-gui can't use the {name} disk due to a corrupted/unknown " @@ -255,19 +172,19 @@ msgid "" "this disk." msgstr "" -#: ../blivetgui/blivetgui.py:841 +#: ../blivetgui/blivetgui.py:857 msgid "Confirm reload storage" msgstr "" -#: ../blivetgui/blivetgui.py:842 +#: ../blivetgui/blivetgui.py:858 msgid "There are pending operations. Are you sure you want to continue?" msgstr "" -#: ../blivetgui/blivetgui.py:873 +#: ../blivetgui/blivetgui.py:889 msgid "Are you sure you want to quit?" msgstr "" -#: ../blivetgui/blivetgui.py:874 +#: ../blivetgui/blivetgui.py:890 msgid "" "There are pending operations. Are you sure you want to quit blivet-gui now?" msgstr "" @@ -276,71 +193,85 @@ msgstr "" msgid "free space" msgstr "" -#: ../blivetgui/blivet_utils.py:606 +#: ../blivetgui/blivet_utils.py:661 #, python-brace-format msgid "Resizing of {type} devices is currently not supported" msgstr "" -#: ../blivetgui/blivet_utils.py:611 +#: ../blivetgui/blivet_utils.py:666 msgid "Protected devices cannot be resized" msgstr "" -#: ../blivetgui/blivet_utils.py:616 +#: ../blivetgui/blivet_utils.py:671 msgid "Immutable formats cannot be resized" msgstr "" -#: ../blivetgui/blivet_utils.py:621 +#: ../blivetgui/blivet_utils.py:676 msgid "Devices with children cannot be resized" msgstr "" -#: ../blivetgui/blivet_utils.py:632 +#: ../blivetgui/blivet_utils.py:687 msgid "Unformatted devices are not resizable" msgstr "" #. unfortunately we can't use format._resizable here because blivet uses it to both mark #. formats as not resizable and force users to call update_size_info on resizable formats -#: ../blivetgui/blivet_utils.py:639 +#: ../blivetgui/blivet_utils.py:694 #, python-brace-format msgid "Resizing of {type} format is currently not supported" msgstr "" -#: ../blivetgui/blivet_utils.py:644 +#: ../blivetgui/blivet_utils.py:699 #, python-brace-format msgid "Tools for resizing format {type} are not available." msgstr "" #. TODO: we could support this by simply changing formats target size but we'd need #. a workaround for the missing action -#: ../blivetgui/blivet_utils.py:651 +#: ../blivetgui/blivet_utils.py:706 msgid "Formats scheduled to be created cannot be resized" msgstr "" -#: ../blivetgui/blivet_utils.py:656 +#: ../blivetgui/blivet_utils.py:711 #, python-brace-format msgid "Format {type} doesn't support updating its size limit information" msgstr "" -#: ../blivetgui/blivet_utils.py:661 +#: ../blivetgui/blivet_utils.py:716 msgid "Mounted devices cannot be resized" msgstr "" -#: ../blivetgui/blivet_utils.py:666 +#: ../blivetgui/blivet_utils.py:721 msgid "Logical Volumes with snapshots cannot be resized." msgstr "" -#: ../blivetgui/blivet_utils.py:678 +#: ../blivetgui/blivet_utils.py:733 #, python-brace-format msgid "Failed to update filesystem size info: {error}" msgstr "" -#: ../blivetgui/blivet_utils.py:697 +#: ../blivetgui/blivet_utils.py:752 msgid "Device is not resizable." msgstr "" -#: ../blivetgui/blivet_utils.py:699 +#: ../blivetgui/blivet_utils.py:754 msgid "Format is not resizable after updating its size limit information." msgstr "" +#: ../blivetgui/exception_handler.py:75 +#, python-brace-format +msgid "" +"Unknown error occured.\n" +"{error}" +msgstr "" + +#: ../blivetgui/exception_handler.py:77 +#, python-brace-format +msgid "" +"Unknown error occured. Blivet-gui will be terminated.\n" +"{error}" +msgstr "" + #: ../blivetgui/list_actions.py:70 ../blivetgui/list_actions.py:121 #: ../blivetgui/list_actions.py:144 ../data/ui/blivet-gui.ui:611 msgid "No pending actions" @@ -353,135 +284,86 @@ msgid_plural "%s pending actions" msgstr[0] "" msgstr[1] "" -#: ../blivetgui/loading_window.py:48 -msgid "Probing storage" +#: ../blivetgui/list_devices.py:82 +msgid "Disks" msgstr "" -#: ../blivetgui/loading_window.py:65 -msgid "Scanning storage configuration..." +#: ../blivetgui/list_devices.py:102 +msgid "LVM" msgstr "" -#: ../blivetgui/dialogs/size_chooser.py:212 -msgid "" -"Currently selected size is greater than maximum limit for this selection." +#: ../blivetgui/list_devices.py:105 +msgid "LVM2 VG" msgstr "" -#: ../blivetgui/dialogs/size_chooser.py:215 -msgid "" -"Currently selected size is smaller than minimum limit for this selection." +#: ../blivetgui/list_devices.py:108 +msgid "RAID" msgstr "" -#: ../blivetgui/dialogs/helpers.py:141 ../blivetgui/dialogs/add_dialog.py:1002 -#, python-brace-format -msgid "\"{0}\" is not a valid mountpoint." +#: ../blivetgui/list_devices.py:111 +msgid "MDArray" msgstr "" -#: ../blivetgui/dialogs/helpers.py:148 -#, python-brace-format -msgid "Selected mountpoint \"{0}\" is already set for another device." +#: ../blivetgui/list_devices.py:114 +msgid "Btrfs Volumes" msgstr "" -#: ../blivetgui/dialogs/edit_dialog.py:103 -#, python-brace-format -msgid "" -"This device cannot be resized:\n" -"{0}" +#: ../blivetgui/list_devices.py:117 ../blivetgui/dialogs/add_dialog.py:388 +#: ../blivetgui/dialogs/device_info_dialog.py:85 +msgid "Btrfs Volume" msgstr "" -#: ../blivetgui/dialogs/edit_dialog.py:105 -msgid "This device cannot be resized." +#: ../blivetgui/loading_window.py:48 +msgid "Probing storage" msgstr "" -#: ../blivetgui/dialogs/edit_dialog.py:165 -#: ../blivetgui/dialogs/add_dialog.py:792 -msgid "unformatted" +#: ../blivetgui/loading_window.py:65 +msgid "Scanning storage configuration..." msgstr "" -#: ../blivetgui/dialogs/edit_dialog.py:232 -#: ../blivetgui/dialogs/add_dialog.py:1029 +#: ../blivetgui/osinstall.py:219 #, python-brace-format -msgid "\"{0}\" is not a valid label." +msgid "" +"{message}\n" +"{error}\n" +" Please click Report button to raise the error and let anaconda \n" +" to handle the report process if you want to report this." msgstr "" -#: ../blivetgui/dialogs/edit_dialog.py:407 +#: ../blivetgui/osinstall.py:221 #, python-brace-format -msgid "'{label}' is not a valid label for this filesystem" -msgstr "" - -#. auto shrink after removing/hiding widgets -#: ../blivetgui/dialogs/edit_dialog.py:518 -msgid "Edit device" -msgstr "" - -#: ../blivetgui/dialogs/edit_dialog.py:548 -#: ../blivetgui/dialogs/edit_dialog.py:597 -#: ../blivetgui/dialogs/edit_dialog.py:659 -#: ../blivetgui/dialogs/add_dialog.py:451 ../data/ui/blivet-gui.ui:465 -#: ../data/ui/cache_area.ui:76 -msgid "Device" -msgstr "" - -#: ../blivetgui/dialogs/edit_dialog.py:549 -#: ../blivetgui/dialogs/edit_dialog.py:598 -#: ../blivetgui/dialogs/edit_dialog.py:660 -#: ../blivetgui/dialogs/add_dialog.py:452 ../data/ui/blivet-gui.ui:478 -#: ../data/ui/cache_area.ui:87 -msgid "Type" -msgstr "" - -#: ../blivetgui/dialogs/edit_dialog.py:550 -#: ../blivetgui/dialogs/edit_dialog.py:599 -#: ../blivetgui/dialogs/edit_dialog.py:661 -#: ../blivetgui/dialogs/add_dialog.py:453 ../data/ui/blivet-gui.ui:500 -msgid "Size" -msgstr "" - -#: ../blivetgui/dialogs/edit_dialog.py:558 -msgid "Parent devices:" -msgstr "" - -#: ../blivetgui/dialogs/edit_dialog.py:565 -msgid "Add parent" -msgstr "" - -#: ../blivetgui/dialogs/edit_dialog.py:568 -msgid "Remove parent" -msgstr "" - -#: ../blivetgui/dialogs/edit_dialog.py:579 msgid "" -"There are currently no empty physical volumes or\n" -"disks with enough free space to create one." +"Unknown error occured. Anaconda will be terminated.\n" +"{error}" msgstr "" -#: ../blivetgui/dialogs/edit_dialog.py:596 -msgid "Add?" +#. add a new 'placeholder' action for all currently registered blivet actions +#: ../blivetgui/osinstall.py:269 +msgid "actions configured by installer" msgstr "" -#: ../blivetgui/dialogs/edit_dialog.py:608 -#: ../blivetgui/dialogs/edit_dialog.py:670 -#: ../blivetgui/dialogs/add_dialog.py:462 ../data/ui/cache_area.ui:130 -msgid "Available devices:" +#: ../blivetgui/processing_window.py:58 +msgid "Processing" msgstr "" -#: ../blivetgui/dialogs/edit_dialog.py:638 -msgid "" -"There is no physical volume that could be\n" -"removed from this volume group." +#: ../blivetgui/processing_window.py:83 +msgid "Show actions" msgstr "" -#: ../blivetgui/dialogs/edit_dialog.py:650 -msgid "Currently it is possible to remove only one parent at time." +#: ../blivetgui/processing_window.py:158 +msgid "All queued actions have been processed." msgstr "" -#: ../blivetgui/dialogs/edit_dialog.py:658 -msgid "Remove?" +#: ../blivetgui/processing_window.py:173 +#, python-brace-format +msgid "" +"Processing action {num} of {total}:\n" +"{action}" msgstr "" -#. TRANSLATORS: This will appear in the About dialog in the Credits section. You should enter -#. your name and email address (optional) here. Separate translator names with newlines. -#: ../blivetgui/dialogs/other_dialogs.py:53 -msgid "translator-credits" +#: ../blivetgui/communication/client.py:300 +#: ../blivetgui/communication/client.py:317 +msgid "Failed to connect to blivet-gui-daemon" msgstr "" #: ../blivetgui/dialogs/add_dialog.py:67 @@ -529,7 +411,7 @@ msgstr "" #. dictionary with 'human-readable' device names and methods providing detailed information #: ../blivetgui/dialogs/add_dialog.py:382 -#: ../blivetgui/dialogs/add_dialog.py:739 +#: ../blivetgui/dialogs/add_dialog.py:742 #: ../blivetgui/dialogs/device_info_dialog.py:78 msgid "Partition" msgstr "" @@ -577,67 +459,78 @@ msgstr "" msgid "Device type:" msgstr "" -#: ../blivetgui/dialogs/add_dialog.py:734 +#: ../blivetgui/dialogs/add_dialog.py:451 +#: ../blivetgui/dialogs/edit_dialog.py:548 +#: ../blivetgui/dialogs/edit_dialog.py:597 +#: ../blivetgui/dialogs/edit_dialog.py:659 ../data/ui/blivet-gui.ui:465 +#: ../data/ui/cache_area.ui:76 +msgid "Device" +msgstr "" + +#: ../blivetgui/dialogs/add_dialog.py:452 +#: ../blivetgui/dialogs/edit_dialog.py:549 +#: ../blivetgui/dialogs/edit_dialog.py:598 +#: ../blivetgui/dialogs/edit_dialog.py:660 ../data/ui/blivet-gui.ui:478 +#: ../data/ui/cache_area.ui:87 +msgid "Type" +msgstr "" + +#: ../blivetgui/dialogs/add_dialog.py:453 +#: ../blivetgui/dialogs/edit_dialog.py:550 +#: ../blivetgui/dialogs/edit_dialog.py:599 +#: ../blivetgui/dialogs/edit_dialog.py:661 ../data/ui/blivet-gui.ui:500 +msgid "Size" +msgstr "" + +#: ../blivetgui/dialogs/add_dialog.py:462 +#: ../blivetgui/dialogs/edit_dialog.py:608 +#: ../blivetgui/dialogs/edit_dialog.py:670 ../data/ui/cache_area.ui:130 +msgid "Available devices:" +msgstr "" + +#: ../blivetgui/dialogs/add_dialog.py:737 msgid "MDArray type:" msgstr "" -#: ../blivetgui/dialogs/add_dialog.py:766 +#: ../blivetgui/dialogs/add_dialog.py:769 msgid "Filesystem:" msgstr "" -#: ../blivetgui/dialogs/add_dialog.py:822 +#: ../blivetgui/dialogs/add_dialog.py:795 +#: ../blivetgui/dialogs/edit_dialog.py:165 +msgid "unformatted" +msgstr "" + +#: ../blivetgui/dialogs/add_dialog.py:825 msgid "Label:" msgstr "" -#: ../blivetgui/dialogs/add_dialog.py:830 +#: ../blivetgui/dialogs/add_dialog.py:833 msgid "Name:" msgstr "" -#: ../blivetgui/dialogs/add_dialog.py:841 +#: ../blivetgui/dialogs/add_dialog.py:844 msgid "Mountpoint:" msgstr "" -#: ../blivetgui/dialogs/add_dialog.py:1009 -msgid "Please select at least two parent devices." -msgstr "" - -#: ../blivetgui/dialogs/add_dialog.py:1023 +#: ../blivetgui/dialogs/add_dialog.py:1005 ../blivetgui/dialogs/helpers.py:141 #, python-brace-format -msgid "\"{0}\" is not a valid name." +msgid "\"{0}\" is not a valid mountpoint." msgstr "" -#: ../blivetgui/dialogs/message_dialogs.py:197 -msgid "Confirm delete operation" +#: ../blivetgui/dialogs/add_dialog.py:1012 +msgid "Please select at least two parent devices." msgstr "" -#: ../blivetgui/dialogs/message_dialogs.py:198 +#: ../blivetgui/dialogs/add_dialog.py:1026 #, python-brace-format -msgid "Are you sure you want delete device {name}?" +msgid "\"{0}\" is not a valid name." msgstr "" -#: ../blivetgui/dialogs/message_dialogs.py:207 +#: ../blivetgui/dialogs/add_dialog.py:1032 +#: ../blivetgui/dialogs/edit_dialog.py:232 #, python-brace-format -msgid "Also delete following parent devices of {name}:" -msgstr "" - -#: ../blivetgui/dialogs/message_dialogs.py:304 -msgid "There are no pending actions." -msgstr "" - -#: ../blivetgui/dialogs/widgets.py:328 -msgid "Passphrase not specified." -msgstr "" - -#: ../blivetgui/dialogs/widgets.py:331 -msgid "Provided passphrases do not match." -msgstr "" - -#: ../blivetgui/dialogs/widgets.py:353 -msgid "Passphrases match." -msgstr "" - -#: ../blivetgui/dialogs/widgets.py:356 -msgid "Passphrases don't match." +msgid "\"{0}\" is not a valid label." msgstr "" #. ---------------------------------------------------------------------------- # @@ -877,9 +770,121 @@ msgstr "" msgid " • {exists} {size} {type} {name}\n" msgstr "" -#: ../blivetgui/communication/client.py:302 -#: ../blivetgui/communication/client.py:319 -msgid "Failed to connect to blivet-gui-daemon" +#: ../blivetgui/dialogs/edit_dialog.py:103 +#, python-brace-format +msgid "" +"This device cannot be resized:\n" +"{0}" +msgstr "" + +#: ../blivetgui/dialogs/edit_dialog.py:105 +msgid "This device cannot be resized." +msgstr "" + +#: ../blivetgui/dialogs/edit_dialog.py:407 +#, python-brace-format +msgid "'{label}' is not a valid label for this filesystem" +msgstr "" + +#. auto shrink after removing/hiding widgets +#: ../blivetgui/dialogs/edit_dialog.py:518 +msgid "Edit device" +msgstr "" + +#: ../blivetgui/dialogs/edit_dialog.py:558 +msgid "Parent devices:" +msgstr "" + +#: ../blivetgui/dialogs/edit_dialog.py:565 +msgid "Add parent" +msgstr "" + +#: ../blivetgui/dialogs/edit_dialog.py:568 +msgid "Remove parent" +msgstr "" + +#: ../blivetgui/dialogs/edit_dialog.py:579 +msgid "" +"There are currently no empty physical volumes or\n" +"disks with enough free space to create one." +msgstr "" + +#: ../blivetgui/dialogs/edit_dialog.py:596 +msgid "Add?" +msgstr "" + +#: ../blivetgui/dialogs/edit_dialog.py:638 +msgid "" +"There is no physical volume that could be\n" +"removed from this volume group." +msgstr "" + +#: ../blivetgui/dialogs/edit_dialog.py:650 +msgid "Currently it is possible to remove only one parent at time." +msgstr "" + +#: ../blivetgui/dialogs/edit_dialog.py:658 +msgid "Remove?" +msgstr "" + +#: ../blivetgui/dialogs/helpers.py:148 +#, python-brace-format +msgid "Selected mountpoint \"{0}\" is already set for another device." +msgstr "" + +#: ../blivetgui/dialogs/message_dialogs.py:197 +msgid "Confirm delete operation" +msgstr "" + +#: ../blivetgui/dialogs/message_dialogs.py:198 +#, python-brace-format +msgid "Are you sure you want delete device {name}?" +msgstr "" + +#: ../blivetgui/dialogs/message_dialogs.py:208 +#, python-brace-format +msgid "Following children of {name} will be also removed by this action:\n" +msgstr "" + +#: ../blivetgui/dialogs/message_dialogs.py:216 +#, python-brace-format +msgid "Also delete following parent devices of {name}:" +msgstr "" + +#: ../blivetgui/dialogs/message_dialogs.py:316 +msgid "There are no pending actions." +msgstr "" + +#. TRANSLATORS: This will appear in the About dialog in the Credits section. You should enter +#. your name and email address (optional) here. Separate translator names with newlines. +#: ../blivetgui/dialogs/other_dialogs.py:53 +msgid "translator-credits" +msgstr "" + +#: ../blivetgui/dialogs/size_chooser.py:212 +msgid "" +"Currently selected size is greater than maximum limit for this selection." +msgstr "" + +#: ../blivetgui/dialogs/size_chooser.py:215 +msgid "" +"Currently selected size is smaller than minimum limit for this selection." +msgstr "" + +#: ../blivetgui/dialogs/widgets.py:328 +msgid "Passphrase not specified." +msgstr "" + +#: ../blivetgui/dialogs/widgets.py:331 +msgid "Provided passphrases do not match." +msgstr "" + +#: ../blivetgui/dialogs/widgets.py:353 +msgid "Passphrases match." +msgstr "" + +#: ../blivetgui/dialogs/widgets.py:356 +msgid "Passphrases don't match." msgstr "" #: ../blivetgui/visualization/rectangle.py:50 @@ -918,24 +923,20 @@ msgstr "" msgid "Cached device" msgstr "" -#: ../data/ui/root_check_window.ui:24 -msgid "Root privileges are required for running blivet-gui." -msgstr "" - -#: ../data/ui/error_dialog.ui:13 ../data/ui/exception_dialog.ui:12 -msgid "Error" +#: ../data/ui/about_dialog.ui:11 +msgid "Copyright © Red Hat Inc." msgstr "" -#: ../data/ui/luks_passphrase_dialog.ui:11 -msgid "Unlock device" +#: ../data/ui/add_disklabel_dialog.ui:11 +msgid "No partition table found on disk" msgstr "" -#: ../data/ui/luks_passphrase_dialog.ui:12 -msgid "Please enter passphrase to unlock selected device." +#: ../data/ui/add_disklabel_dialog.ui:12 +msgid "A partition table is required before partitions can be added." msgstr "" -#: ../data/ui/luks_passphrase_dialog.ui:52 ../data/ui/encryption_chooser.ui:44 -msgid "Passphrase:" +#: ../data/ui/add_disklabel_dialog.ui:52 +msgid "Select new partition table type:" msgstr "" #: ../data/ui/blivet-gui.ui:14 @@ -1063,26 +1064,56 @@ msgstr "" msgid "About blivet-gui" msgstr "" -#: ../data/ui/unmount_dialog.ui:36 ../data/ui/label_dialog.ui:25 -msgid "Cancel" +#: ../data/ui/cache_area.ui:31 +msgid "Cache this LV:" msgstr "" -#. Confirmation dialog button for unmounting selected mountpoints. -#: ../data/ui/unmount_dialog.ui:50 -msgctxt "Dialog|Unmount" -msgid "Unmount" +#: ../data/ui/cache_area.ui:98 +msgid "Free space" msgstr "" -#: ../data/ui/unmount_dialog.ui:87 -msgid "" -"Selected device is currently mounted\n" -"at multiple mountpoints.\n" -"\n" -"Please select mountpoint(s) to unmount:" +#: ../data/ui/cache_area.ui:109 +msgid "On disk" msgstr "" -#: ../data/ui/raid_chooser.ui:21 -msgid "RAID level:" +#: ../data/ui/cache_area.ui:142 +msgid "Cache type:" +msgstr "" + +#: ../data/ui/cache_area.ui:156 +msgid "Writethrough" +msgstr "" + +#: ../data/ui/cache_area.ui:157 +msgid "Writeback" +msgstr "" + +#: ../data/ui/custom_dialog.ui:55 +msgid "label" +msgstr "" + +#: ../data/ui/custom_dialog.ui:62 +msgid "Details" +msgstr "" + +#: ../data/ui/encryption_chooser.ui:20 +msgid "Encrypt:" +msgstr "" + +#: ../data/ui/encryption_chooser.ui:32 +msgid "Encryption type:" +msgstr "" + +#: ../data/ui/encryption_chooser.ui:44 ../data/ui/luks_passphrase_dialog.ui:52 +msgid "Passphrase:" +msgstr "" + +#: ../data/ui/encryption_chooser.ui:56 +msgid "Repeat Passphrase:" +msgstr "" + +#: ../data/ui/error_dialog.ui:13 ../data/ui/exception_dialog.ui:12 +msgid "Error" msgstr "" #: ../data/ui/exception_dialog.ui:27 @@ -1105,8 +1136,8 @@ msgstr "" msgid "Format device" msgstr "" -#: ../data/ui/format_dialog.ui:39 ../data/ui/resize_dialog.ui:30 -#: ../data/ui/mountpoint_dialog.ui:29 +#: ../data/ui/format_dialog.ui:39 ../data/ui/mountpoint_dialog.ui:29 +#: ../data/ui/resize_dialog.ui:30 msgid "_Cancel" msgstr "" @@ -1128,44 +1159,34 @@ msgstr "" msgid "Enter new mountpoint:" msgstr "" -#: ../data/ui/size_chooser.ui:14 -msgid "Size:" -msgstr "" - -#: ../data/ui/size_area.ui:23 -msgid "Manually specify layout" -msgstr "" - -#: ../data/ui/add_disklabel_dialog.ui:11 -msgid "No partition table found on disk" -msgstr "" - -#: ../data/ui/add_disklabel_dialog.ui:12 -msgid "A partition table is required before partitions can be added." +#: ../data/ui/info_dialog.ui:12 +msgid "Information:" msgstr "" -#: ../data/ui/add_disklabel_dialog.ui:52 -msgid "Select new partition table type:" +#: ../data/ui/label_dialog.ui:25 ../data/ui/unmount_dialog.ui:36 +msgid "Cancel" msgstr "" -#: ../data/ui/show_actions_dialog.ui:13 -msgid "Pending actions" +#. Perform selected format change on this device. +#: ../data/ui/label_dialog.ui:39 +msgctxt "Dialog|Format" +msgid "Relabel" msgstr "" -#: ../data/ui/encryption_chooser.ui:20 -msgid "Encrypt:" +#: ../data/ui/label_dialog.ui:71 +msgid "Enter new label for this filesystem:" msgstr "" -#: ../data/ui/encryption_chooser.ui:32 -msgid "Encryption type:" +#: ../data/ui/luks_passphrase_dialog.ui:11 +msgid "Unlock device" msgstr "" -#: ../data/ui/encryption_chooser.ui:56 -msgid "Repeat Passphrase:" +#: ../data/ui/luks_passphrase_dialog.ui:12 +msgid "Please enter passphrase to unlock selected device." msgstr "" -#: ../data/ui/info_dialog.ui:12 -msgid "Information:" +#: ../data/ui/mountpoint_dialog.ui:44 +msgid "_Set mountpoint" msgstr "" #: ../data/ui/parent_chooser.ui:37 @@ -1176,60 +1197,44 @@ msgstr "" msgid "Available space:" msgstr "" -#: ../data/ui/custom_dialog.ui:55 -msgid "label" -msgstr "" - -#: ../data/ui/custom_dialog.ui:62 -msgid "Details" -msgstr "" - -#: ../data/ui/cache_area.ui:31 -msgid "Cache this LV:" -msgstr "" - -#: ../data/ui/cache_area.ui:98 -msgid "Free space" -msgstr "" - -#: ../data/ui/cache_area.ui:109 -msgid "On disk" -msgstr "" - -#: ../data/ui/cache_area.ui:142 -msgid "Cache type:" +#: ../data/ui/raid_chooser.ui:21 +msgid "RAID level:" msgstr "" -#: ../data/ui/cache_area.ui:156 -msgid "Writethrough" +#: ../data/ui/resize_dialog.ui:7 +msgid "Resize device" msgstr "" -#: ../data/ui/cache_area.ui:157 -msgid "Writeback" +#: ../data/ui/resize_dialog.ui:45 +msgid "_Resize" msgstr "" -#: ../data/ui/about_dialog.ui:11 -msgid "Copyright © Red Hat Inc." +#: ../data/ui/root_check_window.ui:24 +msgid "Root privileges are required for running blivet-gui." msgstr "" -#: ../data/ui/resize_dialog.ui:7 -msgid "Resize device" +#: ../data/ui/show_actions_dialog.ui:13 +msgid "Pending actions" msgstr "" -#: ../data/ui/resize_dialog.ui:45 -msgid "_Resize" +#: ../data/ui/size_area.ui:23 +msgid "Manually specify layout" msgstr "" -#. Perform selected format change on this device. -#: ../data/ui/label_dialog.ui:39 -msgctxt "Dialog|Format" -msgid "Relabel" +#: ../data/ui/size_chooser.ui:14 +msgid "Size:" msgstr "" -#: ../data/ui/label_dialog.ui:71 -msgid "Enter new label for this filesystem:" +#. Confirmation dialog button for unmounting selected mountpoints. +#: ../data/ui/unmount_dialog.ui:50 +msgctxt "Dialog|Unmount" +msgid "Unmount" msgstr "" -#: ../data/ui/mountpoint_dialog.ui:44 -msgid "_Set mountpoint" +#: ../data/ui/unmount_dialog.ui:87 +msgid "" +"Selected device is currently mounted\n" +"at multiple mountpoints.\n" +"\n" +"Please select mountpoint(s) to unmount:" msgstr "" diff --git a/setup.py b/setup.py index 9c2c8d8d..aa8ef579 100644 --- a/setup.py +++ b/setup.py @@ -55,7 +55,7 @@ def make_release_tree(self, base_dir, files): name='blivet-gui', cmdclass={"sdist": blivet_gui_sdist}, packages=['blivetgui'], - version='2.2.1', + version='2.3.0', description = 'Tool for data storages configuration', author='Vojtech Trefny', author_email='vtrefny@redhat.com',