diff --git a/lang/calamares_en.ts b/lang/calamares_en.ts
index dc388b75e..e42961c34 100644
--- a/lang/calamares_en.ts
+++ b/lang/calamares_en.ts
@@ -1,18 +1,20 @@
-
+
+
+BootInfoWidget
-
+ The <strong>boot environment</strong> of this system.<br><br>Older x86 systems only support <strong>BIOS</strong>.<br>Modern systems usually use <strong>EFI</strong>, but may also show up as BIOS if started in compatibility mode.
-
+ This system was started with an <strong>EFI</strong> boot environment.<br><br>To configure startup from an EFI environment, this installer must deploy a boot loader application, like <strong>GRUB</strong> or <strong>systemd-boot</strong> on an <strong>EFI System Partition</strong>. This is automatic, unless you choose manual partitioning, in which case you must choose it or create it on your own.
-
+ This system was started with a <strong>BIOS</strong> boot environment.<br><br>To configure startup from a BIOS environment, this installer must install a boot loader, like <strong>GRUB</strong>, either at the beginning of a partition or on the <strong>Master Boot Record</strong> near the beginning of the partition table (preferred). This is automatic, unless you choose manual partitioning, in which case you must set it up on your own.
@@ -591,27 +593,27 @@ The installer will quit and all changes will be lost.
Si&ze:
-
+ En&crypt
-
+ Logical
-
+ Primary
-
+ GPT
-
+ Mountpoint already in use. Please select another one.
@@ -824,7 +826,7 @@ The installer will quit and all changes will be lost.
DeviceInfoWidget
-
+ The type of <strong>partition table</strong> on the selected storage device.<br><br>The only way to change the partition table type is to erase and recreate the partition table from scratch, which destroys all data on the storage device.<br>This installer will keep the current partition table unless you explicitly choose otherwise.<br>If unsure, on modern systems GPT is preferred.
@@ -941,7 +943,7 @@ The installer will quit and all changes will be lost.
Flags:
-
+ Mountpoint already in use. Please select another one.
@@ -969,7 +971,7 @@ The installer will quit and all changes will be lost.
Confirm passphrase
-
+ Please enter the same passphrase in both boxes.
@@ -1038,17 +1040,17 @@ The installer will quit and all changes will be lost.
FinishedViewStep
-
+ Finish
-
+ Installation Complete
-
+ The installation of %1 is complete.
@@ -1159,6 +1161,16 @@ The installer will quit and all changes will be lost.
The system locale setting affects the language and character set for some command line user interface elements.<br/>The current setting is <strong>%1</strong>.
+
+
+
+ &Cancel
+
+
+
+
+
+ LicensePage
@@ -1575,7 +1587,7 @@ The installer will quit and all changes will be lost.
Install boot &loader on:
-
+ Are you sure you want to create a new partition table on %1?
@@ -2286,4 +2298,4 @@ The installer will quit and all changes will be lost.
Welcome
-
\ No newline at end of file
+
diff --git a/lang/python.pot b/lang/python.pot
index a8d01218d..6a07ac3e4 100644
--- a/lang/python.pot
+++ b/lang/python.pot
@@ -1,27 +1,54 @@
# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR ORGANIZATION
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR , YEAR.
-#
+#
+#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2017-08-21 17:55-0400\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2017-09-04 08:16-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
+"Language: \n"
"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
-"Generated-By: pygettext.py 1.5\n"
-
-#: src/modules/dummypython/main.py:44
-msgid "Dummy python job."
-msgstr "Dummy python job."
-
-#: src/modules/dummypython/main.py:97
-msgid "Dummy python step {}"
-msgstr "Dummy python step {}"
+"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
#: src/modules/machineid/main.py:35
msgid "Generate machine-id."
-msgstr "Generate machine-id."
+msgstr ""
+
+#: src/modules/dummypython/main.py:44
+msgid "Dummy python job."
+msgstr ""
+
+#: src/modules/dummypython/main.py:97
+msgid "Dummy python step {}"
+msgstr ""
+
+#: src/modules/packages/main.py:59
+#, python-format
+msgid "Processing packages (%(count)d / %(total)d)"
+msgstr ""
+
+#: src/modules/packages/main.py:61
+#, python-format
+msgid "Installing one package."
+msgid_plural "Installing %(num)d packages."
+msgstr[0] ""
+msgstr[1] ""
+
+#: src/modules/packages/main.py:64
+#, python-format
+msgid "Removing one package."
+msgid_plural "Removing %(num)d packages."
+msgstr[0] ""
+msgstr[1] ""
+
+#: src/modules/packages/main.py:68
+msgid "Install packages."
+msgstr ""
diff --git a/src/modules/dummypythonqt/lang/dummypythonqt.pot b/src/modules/dummypythonqt/lang/dummypythonqt.pot
index 43240bcc0..23568c2aa 100644
--- a/src/modules/dummypythonqt/lang/dummypythonqt.pot
+++ b/src/modules/dummypythonqt/lang/dummypythonqt.pot
@@ -1,39 +1,42 @@
# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR ORGANIZATION
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR , YEAR.
-#
+#
+#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2017-08-21 17:55-0400\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2017-09-04 08:16-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
+"Language: \n"
"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
-"Generated-By: pygettext.py 1.5\n"
#: src/modules/dummypythonqt/main.py:84
msgid "Click me!"
-msgstr "Click me!"
+msgstr ""
#: src/modules/dummypythonqt/main.py:94
msgid "A new QLabel."
-msgstr "A new QLabel."
+msgstr ""
#: src/modules/dummypythonqt/main.py:97
msgid "Dummy PythonQt ViewStep"
-msgstr "Dummy PythonQt ViewStep"
+msgstr ""
#: src/modules/dummypythonqt/main.py:183
msgid "The Dummy PythonQt Job"
-msgstr "The Dummy PythonQt Job"
+msgstr ""
#: src/modules/dummypythonqt/main.py:186
msgid "This is the Dummy PythonQt Job. The dummy job says: {}"
-msgstr "This is the Dummy PythonQt Job. The dummy job says: {}"
+msgstr ""
#: src/modules/dummypythonqt/main.py:190
msgid "A status message for Dummy PythonQt Job."
-msgstr "A status message for Dummy PythonQt Job."
+msgstr ""
diff --git a/src/modules/fstab/main.py b/src/modules/fstab/main.py
index 9c116b8a0..553eb65ef 100644
--- a/src/modules/fstab/main.py
+++ b/src/modules/fstab/main.py
@@ -262,12 +262,20 @@ class FstabGenerator(object):
check=check,
)
- return dict(device="UUID=" + partition["uuid"],
- mount_point=mount_point or "swap",
- fs=filesystem,
- options=options,
- check=check,
- )
+ if "luksMapperName" in partition:
+ return dict(device="/dev/mapper/" + partition["luksMapperName"],
+ mount_point=mount_point or "swap",
+ fs=filesystem,
+ options=options,
+ check=check,
+ )
+ else:
+ return dict(device="UUID=" + partition["uuid"],
+ mount_point=mount_point or "swap",
+ fs=filesystem,
+ options=options,
+ check=check,
+ )
def print_fstab_line(self, dct, file=None):
""" Prints line to '/etc/fstab' file. """
diff --git a/src/modules/grubcfg/main.py b/src/modules/grubcfg/main.py
index 59497cf03..8acacbb72 100644
--- a/src/modules/grubcfg/main.py
+++ b/src/modules/grubcfg/main.py
@@ -40,6 +40,8 @@ def modify_grub_default(partitions, root_mount_point, distributor):
dracut_bin = libcalamares.utils.target_env_call(
["sh", "-c", "which dracut"]
)
+ have_dracut = dracut_bin == 0 # Shell exit value 0 means success
+
use_splash = ""
swap_uuid = ""
swap_outer_uuid = ""
@@ -50,7 +52,7 @@ def modify_grub_default(partitions, root_mount_point, distributor):
cryptdevice_params = []
- if dracut_bin == 0:
+ if have_dracut:
for partition in partitions:
if partition["fs"] == "linuxswap":
swap_uuid = partition["uuid"]
diff --git a/src/modules/locale/LCLocaleDialog.cpp b/src/modules/locale/LCLocaleDialog.cpp
index c6b475b24..46605091b 100644
--- a/src/modules/locale/LCLocaleDialog.cpp
+++ b/src/modules/locale/LCLocaleDialog.cpp
@@ -41,7 +41,7 @@ LCLocaleDialog::LCLocaleDialog( const QString& guessedLCLocale,
upperText->setText( tr( "The system locale setting affects the language and character "
"set for some command line user interface elements. "
"The current setting is %1." )
- .arg( guessedLCLocale ) );
+ .arg( guessedLCLocale ) );
mainLayout->addWidget( upperText );
setMinimumWidth( upperText->fontMetrics().height() * 24 );
@@ -61,8 +61,11 @@ LCLocaleDialog::LCLocaleDialog( const QString& guessedLCLocale,
}
QDialogButtonBox* dbb = new QDialogButtonBox( QDialogButtonBox::Ok | QDialogButtonBox::Cancel,
- Qt::Horizontal,
- this );
+ Qt::Horizontal,
+ this );
+ dbb->button( QDialogButtonBox::Cancel )->setText( tr( "&Cancel" ) );
+ dbb->button( QDialogButtonBox::Ok )->setText( tr( "&OK" ) );
+
mainLayout->addWidget( dbb );
connect( dbb->button( QDialogButtonBox::Ok ), &QPushButton::clicked,
@@ -83,9 +86,7 @@ LCLocaleDialog::LCLocaleDialog( const QString& guessedLCLocale,
} );
if ( selected > -1 )
- {
m_localesWidget->setCurrentRow( selected );
- }
}