MCPcopy Create free account
hub / github.com/archlinux/archinstall / text

Method text

archinstall/lib/args.py:99–146  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

97 CUSTOM_COMMANDS = 'custom_commands'
98
99 def text(self) -> str:
100 match self:
101 case ArchConfigType.ARCHINSTALL_LANGUAGE:
102 return tr('ArchInstall Language')
103 case ArchConfigType.VERSION:
104 return tr('Version')
105 case ArchConfigType.SCRIPT:
106 return tr('Installation Script')
107 case ArchConfigType.LOCALE_CONFIG:
108 return tr('Locales')
109 case ArchConfigType.DISK_CONFIG:
110 return tr('Disk configuration')
111 case ArchConfigType.PROFILE_CONFIG:
112 return tr('Profile')
113 case ArchConfigType.MIRROR_CONFIG:
114 return tr('Mirrors and repositories')
115 case ArchConfigType.NETWORK_CONFIG:
116 return tr('Network')
117 case ArchConfigType.BOOTLOADER_CONFIG:
118 return tr('Bootloader')
119 case ArchConfigType.APP_CONFIG:
120 return tr('Application')
121 case ArchConfigType.AUTH_CONFIG:
122 return tr('Authentication')
123 case ArchConfigType.SWAP:
124 return tr('Swap')
125 case ArchConfigType.HOSTNAME:
126 return tr('Hostname')
127 case ArchConfigType.KERNELS:
128 return tr('Kernels')
129 case ArchConfigType.NTP:
130 return tr('Automatic time sync (NTP)')
131 case ArchConfigType.TIMEZONE:
132 return tr('Timezone')
133 case ArchConfigType.SERVICES:
134 return tr('Services')
135 case ArchConfigType.PACKAGES:
136 return tr('Additional packages')
137 case ArchConfigType.PACMAN_CONFIG:
138 return tr('Pacman')
139 case ArchConfigType.CUSTOM_COMMANDS:
140 return tr('Custom commands')
141 case ArchConfigType.USERS:
142 return tr('Users')
143 case ArchConfigType.ROOT_ENC_PASSWORD:
144 return tr('Root encrypted password')
145 case ArchConfigType.ENCRYPTION_PASSWORD:
146 return tr('Disk encryption password')
147
148
149USER_CONFIG_FILE: Path = Path('user_configuration.json')

Callers 2

test_share_log.pyFile · 0.80
as_summaryMethod · 0.80

Calls 1

trFunction · 0.90

Tested by

no test coverage detected