Skip to content

Commit de50a31

Browse files
authored
Fundamentally improve German translations (#3780)
* Get rid of all warnings that poedit displayed Bring translations closer to the English original, also removing some extraneous information. Get rid of all warnings poedit displayed. Correct translation that didn't match at all. * Fix locales_generator.sh detection xgettext was not recognizing tr() invocations. Following https://stackoverflow.com/a/11901925 fixed the issue * Add more German translations Improve consistency with some translations. Add translations for messages that were just detected in the previous commit. Add translations for Graphics Drivers * Add more translations Look for untranslated strings in the source files and add make them recognized by gettext * Improve conistency of German translations and correct typos * formatting * Remove translations from enum members * More translation tweaks
1 parent 1ef52f5 commit de50a31

File tree

5 files changed

+336
-260
lines changed

5 files changed

+336
-260
lines changed

archinstall/lib/mirrors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ def _add_custom_repository(self, preset: CustomRepository | None = None) -> Cust
124124
raise ValueError('Unhandled return type')
125125

126126
header += f'{tr("Signature check")}: {sign_check.value}\n'
127-
prompt = f'{header}\n' + 'Select signature option'
127+
prompt = f'{header}\n' + tr('Select signature option')
128128

129129
sign_opt_items = [MenuItem(s.value, value=s.value) for s in SignOption]
130130
group = MenuItemGroup(sign_opt_items, sort_items=False)

archinstall/locales/base.pot

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ msgid ""
7474
"Select which mode to configure for \"{}\" or skip to use default mode \"{}\""
7575
msgstr ""
7676

77+
#, python-brace-format
7778
msgid "Enter the IP and subnet for {} (example: 192.168.0.5/24): "
7879
msgstr ""
7980

@@ -567,6 +568,7 @@ msgstr ""
567568
msgid "Define users with sudo privilege, by username: "
568569
msgstr ""
569570

571+
#, python-brace-format
570572
msgid "[!] A log file has been created here: {}"
571573
msgstr ""
572574

@@ -849,9 +851,11 @@ msgstr ""
849851
msgid "Select an execution mode"
850852
msgstr ""
851853

854+
#, python-brace-format
852855
msgid "Unable to fetch profile from specified url: {}"
853856
msgstr ""
854857

858+
#, python-brace-format
855859
msgid ""
856860
"Profiles must have unique name, but profile definitions with duplicate name "
857861
"found: {}"
@@ -874,9 +878,11 @@ msgstr ""
874878
msgid "Enter the root directory of the mounted devices: "
875879
msgstr ""
876880

881+
#, python-brace-format
877882
msgid "Minimum capacity for /home partition: {}GiB\n"
878883
msgstr ""
879884

885+
#, python-brace-format
880886
msgid "Minimum capacity for Arch Linux partition: {}GiB"
881887
msgstr ""
882888

@@ -950,9 +956,11 @@ msgstr ""
950956
msgid "This will remove all newly added partitions, continue?"
951957
msgstr ""
952958

959+
#, python-brace-format
953960
msgid "Partition management: {}"
954961
msgstr ""
955962

963+
#, python-brace-format
956964
msgid "Total length: {}"
957965
msgstr ""
958966

@@ -1013,6 +1021,7 @@ msgstr ""
10131021
msgid "Partition encryption"
10141022
msgstr ""
10151023

1024+
#, python-brace-format
10161025
msgid " ! Formatting {} in "
10171026
msgstr ""
10181027

@@ -1037,6 +1046,7 @@ msgstr ""
10371046
msgid "Please chose which greeter to install for the chosen profiles: {}"
10381047
msgstr ""
10391048

1049+
#, python-brace-format
10401050
msgid "Environment type: {}"
10411051
msgstr ""
10421052

@@ -1231,6 +1241,7 @@ msgid ""
12311241
"Note:\n"
12321242
msgstr ""
12331243

1244+
#, python-brace-format
12341245
msgid ""
12351246
" - Maximum recommended value : {} ( Allows {} parallel downloads at a time )"
12361247
msgstr ""
@@ -1306,6 +1317,7 @@ msgid ""
13061317
"e.g. GNOME, KDE Plasma, Sway"
13071318
msgstr ""
13081319

1320+
#, python-brace-format
13091321
msgid "Configuration type: {}"
13101322
msgstr ""
13111323

@@ -1436,6 +1448,7 @@ msgstr ""
14361448
msgid "Username"
14371449
msgstr ""
14381450

1451+
#, python-brace-format
14391452
msgid "Should \"{}\" be a superuser (sudo)?\n"
14401453
msgstr ""
14411454

@@ -1504,6 +1517,7 @@ msgid ""
15041517
"enabled)"
15051518
msgstr ""
15061519

1520+
#, python-brace-format
15071521
msgid "Do you want to save the configuration file(s) to {}?"
15081522
msgstr ""
15091523

@@ -1551,12 +1565,15 @@ msgstr ""
15511565
msgid "Signature check"
15521566
msgstr ""
15531567

1568+
#, python-brace-format
15541569
msgid "Selected free space segment on device {}:"
15551570
msgstr ""
15561571

1572+
#, python-brace-format
15571573
msgid "Size: {} / {}"
15581574
msgstr ""
15591575

1576+
#, python-brace-format
15601577
msgid "Size (default: {}): "
15611578
msgstr ""
15621579

@@ -1724,6 +1741,7 @@ msgstr ""
17241741
msgid "What would you like to do next?"
17251742
msgstr ""
17261743

1744+
#, python-brace-format
17271745
msgid "Select which mode to configure for \"{}\""
17281746
msgstr ""
17291747

@@ -1742,5 +1760,70 @@ msgstr ""
17421760
msgid "Credentials file encryption password"
17431761
msgstr ""
17441762

1763+
#, python-brace-format
17451764
msgid "Repositories: {}"
17461765
msgstr ""
1766+
1767+
msgid "New version available"
1768+
msgstr ""
1769+
1770+
msgid "Passwordless login"
1771+
msgstr ""
1772+
1773+
msgid "Second factor login"
1774+
msgstr ""
1775+
1776+
msgid "Bluetooth"
1777+
msgstr ""
1778+
1779+
msgid "Would you like to configure Bluetooth?"
1780+
msgstr ""
1781+
1782+
msgid "Authentication"
1783+
msgstr ""
1784+
1785+
msgid "Applications"
1786+
msgstr ""
1787+
1788+
msgid "U2F login method: "
1789+
msgstr ""
1790+
1791+
msgid "Passwordless sudo: "
1792+
msgstr ""
1793+
1794+
#, python-brace-format
1795+
msgid "Btrfs snapshot type: {}"
1796+
msgstr ""
1797+
1798+
msgid "Syncing the system..."
1799+
msgstr ""
1800+
1801+
msgid "Value cannot be empty"
1802+
msgstr ""
1803+
1804+
msgid "Snapshot type"
1805+
msgstr ""
1806+
1807+
#, python-brace-format
1808+
msgid "Snapshot type: {}"
1809+
msgstr ""
1810+
1811+
msgid "U2F login setup"
1812+
msgstr ""
1813+
1814+
msgid "No U2F devices found"
1815+
msgstr ""
1816+
1817+
msgid "U2F Login Method"
1818+
msgstr ""
1819+
1820+
msgid "Enable passwordless sudo?"
1821+
msgstr ""
1822+
1823+
#, python-brace-format
1824+
msgid "Setting up U2F device for user: {}"
1825+
msgstr ""
1826+
1827+
msgid ""
1828+
"You may need to enter the PIN and then touch your U2F device to register it"
1829+
msgstr ""
11.7 KB
Binary file not shown.

0 commit comments

Comments
 (0)