You've already forked al-installer
Fix a number of issues and move global declarations
This commit is contained in:
@ -15,7 +15,7 @@ _OnlyOne="\nOnly one partition available"
|
||||
|
||||
# Welcome
|
||||
_WelTitle="Welcome to"
|
||||
_WelBody="\nThis will unpack and help you setup $DIST on your system.\n\n\nMenu Navigation:\n\n - Select items by pressing the option number or using the arrow keys.\n\n - Use [Space] to (de)select options and [Enter] to confirm.\n\n - Switch between buttons using [Tab] or the arrow keys.\n\n - Long lists can be navigated using [Page Up] and [Page Down], or by pressing the highlighted letter of the desired option.\n"
|
||||
_WelBody="\nThis will unpack and help you setup $DIST on your system.\n\n\nMenu Navigation:\n\n - Select items by pressing the option number or using the arrow keys.\n - Use [Space] to (de)select options and [Enter] to confirm.\n - Switch between buttons using [Tab] or the arrow keys.\n - Use [Page Up] and [Page Down] to jump whole pages\n - Press the highlighted key of an option will select that option.\n"
|
||||
|
||||
# Requirements
|
||||
_NotRoot="\nThis installer must be run as root or using sudo.\n"
|
||||
@ -31,7 +31,7 @@ _PrepParts="Edit partitions (optional)"
|
||||
_PrepLUKS="LUKS encryption (optional)"
|
||||
_PrepLVM="Logical volume management (optional)"
|
||||
_PrepMount="Mount and format partitions"
|
||||
_PrepUser="Create user and set root Password"
|
||||
_PrepUser="Create user and set root password"
|
||||
_PrepConfig="Configure system settings"
|
||||
_PrepWM="Select window manager or desktop (optional)"
|
||||
_PrepPkg="Select additional packages (optional)"
|
||||
@ -44,7 +44,7 @@ _EditBody="\nBefore exiting you can select configuration files from below to rev
|
||||
|
||||
# Close Installer
|
||||
_CloseInst="Close Installer"
|
||||
_CloseInstBody="\nUnmount partitions and close the installer?\n"
|
||||
_CloseInstBody="\nUnmount partitions (if any) and close the installer?\n"
|
||||
|
||||
# error message
|
||||
_ErrChoice="\nUnmount the partitions and shutdown or keep them mounted and continue?\n"
|
||||
@ -87,26 +87,25 @@ _XMapBody="\nSelect the system wide keymap, this is the keyboard layout used onc
|
||||
_LocaleBody="\nLocale determines the system language and currency formats.\n\nThe format for locale names is languagecode_COUNTRYCODE\n\neg. en_US is: english United States\n en_GB is: english Great Britain"
|
||||
|
||||
# Configure
|
||||
_ConfLocale="System Language and Locale"
|
||||
_ConfHost="System Hostname"
|
||||
_ConfLocale="System Language and Locale"
|
||||
_HostNameBody="\nEnter a hostname for the new system.\n\nA hostname is used to identify systems on the network.\n\nIt's restricted to alphanumeric characters (a-z, A-Z, 0-9).\nIt can contain hyphens (-) BUT NOT at the beggining or end."
|
||||
|
||||
# Create new user and set password
|
||||
_UserTitle="Create New User"
|
||||
_UserBody="\nEnter a name and password for the new user account.\n\nThe name must not use capital letters, contain any periods (.), end with a hyphen (-), or include any colons (:)\n\nNOTE: Use the arrow keys to switch between input fields, [Tab] to toggle between input fields and the buttons, or just press [Enter] to accept."
|
||||
_UserSetBody="\nCreating user and setting groups..\n"
|
||||
_Username="Username:"
|
||||
_Password="Password:"
|
||||
_Password2="Password2:"
|
||||
_RootBody="--- Enter root password (empty uses the password entered above) ---"
|
||||
_UserBody="\nEnter a name and password for the new user account.\n\nThe name must not use capital letters, contain any periods (.), end with a hyphen (-), or include any colons (:)\n\nNOTE: Use the arrow keys to switch between input fields, [Tab] to toggle between input fields and the buttons, or just press [Enter] to accept."
|
||||
|
||||
# Mounting (Partitions)
|
||||
_MntTitle="Mount Status"
|
||||
_MntSucc="\nMount Succeeded!\n"
|
||||
_MntFail="\nMount Failed!\n"
|
||||
_MntSucc="\nMount Succeeded!\n"
|
||||
_MntConfBody="\nConfirm mount options:"
|
||||
_WarnMount="\nIMPORTANT: Please choose carefully during mounting and formatting.\n\nDuring mounting, partitions can be mounted without formatting by selecting '$_Skip'.\nThis can be useful for data partitions or previously formatted partitions.\n\nThe one exception to this is the root (/) partition, it must be formatted before unpacking to ensure the system stability.\n"
|
||||
_MntBody="\nUse [Space] to de/select the desired mount options.\n\nIf the device is an SSD the 'discard' option provides active TRIM support and will be automatically selected.\n\nChoosing none will result in an automatic mount with system applied options."
|
||||
_MntConfBody="\nConfirm mount options:"
|
||||
|
||||
# Select Device
|
||||
_DevSelTitle="Select Device"
|
||||
@ -126,10 +125,10 @@ _ShellBody="\nChoose a shell for the new user and root."
|
||||
|
||||
# Partitioning Menu
|
||||
_PartTitle="Partitioning Tool"
|
||||
_PartBody="\nWhole device auto partitioning is available for beginners.\n\nUEFI systems require a vfat/fat32 partition between 100-512M in size to be mounted at /boot or /boot/efi, additionally BIOS systems using LUKS require a separate /boot partition, between 100-512M and formatted as ext3 or ext4."
|
||||
_PartAuto="Automatic Partitioning"
|
||||
_PartWipe="Secure Wipe Device"
|
||||
_PartAuto="Automatic Partitioning"
|
||||
_PartShowTree="Show Partition Tree"
|
||||
_PartBody="\nWhole device auto partitioning is available for beginners.\n\nUEFI systems require a vfat/fat32 partition between 100-512M in size to be mounted at /boot or /boot/efi, BIOS systems using LUKS will also require this but formatted as ext3 or ext4 instead."
|
||||
|
||||
# Auto partition
|
||||
_PartBody1="\nWARNING:\n\nALL data on"
|
||||
@ -147,11 +146,10 @@ _FSBody="\nDefault Filesystem: ext4\n\nNOTE: Not all filesystems are usable for
|
||||
_SelRootBody="\nSelect root (/) partition.\n\nThis is the partition where $DIST will be installed."
|
||||
_SelBiosBody="\nDo you want to use a separate boot partition? (required for LUKS)\n\nThis partition is where the bootloader will be installed.\n"
|
||||
|
||||
_SelSwpNone="None"
|
||||
_SelSwpFile="Swapfile"
|
||||
_SelSwpSetup="Swap Setup"
|
||||
_SelSwpBody="\nSelect whether to use a swap partition, swapfile, or none."
|
||||
_SelSwpNone="None"
|
||||
|
||||
_SelSwpErr="Swap Setup Error: Must be 1(M|G) or greater, and can only contain whole numbers\n\nSize Entered:"
|
||||
_SelSwpSize="\nEnter the size to use for swap in MB or GB.\n\nFor ease of use and as an example the size has been filled in to the size of your system memory (RAM).\n\nMust be greater than 1, end in either M or G, and contain only whole numbers."
|
||||
|
||||
@ -208,16 +206,15 @@ _LvmLvNameErrBody="Invalid name entered.\n\nThe logical volume (LV) name may be
|
||||
_LvmLvSizeErrBody="\nInvalid value Entered.\n\nMust be a numeric value with 'M' (megabytes) or 'G' (gigabytes) at the end.\n\neg. 400M, 10G, 250G, etc...\n\nThe value may also not be equal to or greater than the remaining size of the volume group.\n"
|
||||
|
||||
# Error Messages
|
||||
_ErrNoMount="\nPartition(s) must be mounted first.\n"
|
||||
_ErrNoBase="\nThe base system must be unpacked first.\n"
|
||||
_ErrNoConfig="\nBasic configuration for the system must be done first.\n"
|
||||
_ExtErrBody="\nCannot mount partition due to a problem with the mountpoint name.\n\nA name must be given after a forward slash.\n"
|
||||
_PartErrBody="\nBIOS systems require at least one partition (ROOT).\n\nUEFI systems require at least two (ROOT and EFI).\n"
|
||||
_UserErrTitle="User Name Error"
|
||||
_UserErrBody="\nIncorrect user name.\n\nPlease try again.\n"
|
||||
_PassErr="\nThe passwords entered do not match.\n"
|
||||
_UserErrBody="\nIncorrect user name.\n\nPlease try again.\n"
|
||||
_UserPassErr="\nThe user passwords entered do not match.\n"
|
||||
_RootPassErr="\nThe root passwords entered do not match.\n"
|
||||
_UserPassEmpty="\nThe user password cannot be left empty.\n"
|
||||
_ErrNoMount="\nPartition(s) must be mounted first.\n"
|
||||
_ErrNoConfig="\nYou need to configure the system first.\n"
|
||||
_ExtErrBody="\nCannot mount partition due to a problem with the mountpoint name.\n\nA name must be given after a forward slash.\n"
|
||||
_PartErrBody="\nYou'll need create the partiton(s) first.\n\n\nBIOS systems require at least one partition (ROOT).\n\nUEFI systems require at least two (ROOT and EFI).\n"
|
||||
|
||||
# vim:tw=9999:syntax=off:nospell
|
||||
|
Reference in New Issue
Block a user