1.9.6 / 1.9.7 - Chaotic-AUR, Hastebin paste of installer log, select DNS resolver, GNOME autologin enable or disable#121
Open
a0xz wants to merge 4 commits intomurkl:mainfrom
Open
Conversation
Chaotic-AUR - New ARCH_OS_CHAOTIC_AUR_ENABLED and Feature Setup prompt. - After multilib: import signing key 3056513887B78AEB, install chaotic-keyring and chaotic-mirrorlist from cdn-mirror.chaotic.cx, append [chaotic-aur] to pacman.conf, sync. Core preset disables it. Hastebin (installation logs) - ARCH_OS_LOG_HASTEBIN_ENABLED: POST combined installer.log + installer.conf to Hastebin-compatible API (default base URL https://hastebin.com). - ARCH_OS_LOG_CLEANUP_AFTER_HASTEBIN_ENABLED: remove local installer.conf / installer.log / installer.log.old and copies under /mnt/home/$USER after a successful upload only. Optional ARCH_OS_HASTEBIN_BASE_URL override. DNS - ARCH_OS_DNS_PROFILE: default (DHCP), cloudflare, google, quad9, adguard, opendns, mullvad. Configures NetworkManager (dns=systemd-resolved), enables systemd-resolved, stub resolv.conf, optional resolved.conf.d drop-in with IPv4/IPv6 where applicable. Core preset: default; desktop: cloudflare. GNOME - ARCH_OS_GNOME_AUTOLOGIN_ENABLED: GDM custom.conf writes AutomaticLogin only when true; otherwise AutomaticLoginEnable=False. Desktop preset keeps autologin enabled; core disables. Unset in installer.conf defaults to true for backward compatibility. Version: 1.9.6 → 1.9.9 across the above iterations. Made-with: Cursor
Add a dedicated lang/ directory and bash-based UI translation layer: - lang/i18n.sh: INSTALLER_LANG_DIR, i18n_load(), t() / tf() for static and printf-style strings, i18n_apply_lang_from_env_or_conf() to read ARCH_OS_INSTALLER_LANG from the environment or installer.conf before the first TUI screen. - lang/en.sh: full English string catalog (default + fallback). - lang/pt.sh, ru.sh, es.sh, zh.sh (Simplified Chinese), ar.sh (Arabic): complete parallel catalogs for all UI keys. User-facing flow: - On startup, if ARCH_OS_INSTALLER_LANG is unset, load en temporarily and prompt once with gum_choose for installer language (native labels per language). - Persist ARCH_OS_INSTALLER_LANG in installer.conf via properties_generate; properties_source reapplies i18n_load after sourcing so reloading a saved config restores the UI language. - Export ARCH_OS_INSTALLER_LANG=en|pt|ru|es|zh|ar to skip the language menu (e.g. automation). installer.sh changes: - Define SCRIPT_DIR and source lang/i18n.sh. - Replace gum titles, confirms, properties, presets, DNS options, Hastebin prompts, process step names, init failure messages, trap/exit strings, gum download errors, print_header welcome line, gum_filter placeholder, and related text with t() / tf() lookups. - gum_init: when downloading gum, call i18n_load so early messages use the selected or default language. - Fix preset path when installer.conf does not exist: call properties_generate after preset selection instead of properties_source (file was missing). Version: 1.9.9 → 1.10.0. Made-with: Cursor
Made-with: Cursor
Contributor
Author
|
installer: internationalization (en, pt, ru, es, zh, ar) — v1.9.7
User-facing flow:
installer.sh changes:
|
Contributor
Author
|
@murkl, you can review this? |
Owner
|
@a0xz Thanks for your contribution and for opening the merge request. I really appreciate your effort and the time you’ve put into this. Unfortunately, I’m currently tied up with other priorities and won’t be able to review your MR in the near future. I’ll make sure to get back to it as soon as I can, but I can’t give you a specific timeline right now. |
Contributor
Author
|
Hello, thank you! I appreciate that, I will soon send a new PR to include the installation of the kernel that the user wants. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Chaotic-AUR
Hastebin (installation logs)
DNS
GNOME
Version: 1.9.6