Repository navigation
Translate the About box headings, keys, age, uptime and update date - #16560
Merged
Merged
Conversation
fastfetch has no translations, so omarchy-launch-about runs a copy of the config with the headings (re-centred by display width) and keys in the current language, and the OS age, uptime and update rows print through omarchy-i18n, the date in the language's locale. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
[Medium impact] The PR appears safe to merge; the previous headless-test failure is fixed. SummaryTranslates the About box headings, labels, age, uptime, and update date.
Reviews (3) · Last reviewed commit: "Run the untranslated About config when t..." · Reviewed by Greptile |
fastfetch accepts JSONC but jq does not, so a comment or trailing comma left an empty copy that the About screen then ran. Publish the copy only when the conversion succeeds. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The launcher read XDG_RUNTIME_DIR at the top level, so sourcing it under set -u without one, as launch-about-test.sh does on a bare runner, stopped on an unbound variable. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
The About screen (
omarchy-launch-about, which runs fastfetch) was all English: the "Hardware", "Software" and "Age / Uptime / Update" headings, the "OS Age", "Uptime" and "Update" keys, "N days", fastfetch's own uptime text ("8 hours"), and the update date.fastfetch has no i18n, so:
etc/fastfetch/config.jsonc): OS age printsabout.days(a plural). Uptime is now a command module that reuses the existing short-duration keys (%1d %2h,%1h %2m,%1m).omarchy-version-pkgswrites the date withLC_TIME="$(omarchy-language locale)", followingomarchy-notification-time, and joins it withabout.updatedAt("%1 at %2"). These also apply when someone runs plainfastfetch.omarchy-launch-aboutwrites a copy of the config to$XDG_RUNTIME_DIR/omarchy/about-fastfetch.jsonc, with headings re-centred by display width (CJK titles keep the box 54 columns wide) and keys in the current language. It runs fastfetch with-con that copy in all three places it calls fastfetch. A user's own fastfetch config still runs untouched. Rows the copy doesn't recognise stay as they are.etc/**/*.jsonc.English output changes slightly: the date reads "Saturday 24 October 2026 at 22:18" (day before month, as in
omarchy-notification-time) rather than "Saturday, October 24 2026 at 22:18".Tests:
test/shell.d/i18n-test.shandtest/shell.d/launch-about-test.shpass, andextract-scan --checkis clean.test/shell.d/config-test.shfails on a PKGBUILD/timesyncd check, and fails the same way onquattro, so it's unrelated.🤖 Generated with Claude Code