Skip to content

fix(client): show warning/error when app is using Rosetta 2 translation (running wrong arch) #2281

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 15 commits into from
Jun 12, 2025

Conversation

perfectra1n
Copy link
Member

No description provided.

@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Jun 11, 2025
@perfectra1n perfectra1n changed the title Fix/show warning when rosetta 2 fix(client): show warning/error when app is using Rosetta 2 translation (running wrong arch) Jun 11, 2025
this.$widget.find(".rosetta-warning-recommendation").text(t("rosetta_warning.recommendation"));
this.$widget.find(".rosetta-warning-download-link").text(t("rosetta_warning.download_link"));
this.$widget.find(".rosetta-warning-continue-anyway").text(t("rosetta_warning.continue_anyway"));
this.$widget.find(".rosetta-warning-dont-show-again").text(t("rosetta_warning.dont_show_again"));
Copy link
Contributor

@eliandoran eliandoran Jun 11, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this checkbox do anything?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To not show the warning again?

import { t } from "../../services/i18n.js";

const TPL = /*html*/`
<div class="rosetta-warning-dialog modal mx-auto" tabindex="-1" role="dialog" style="z-index: 2000;">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

Under dark mode, the contrast for the title is not great. I suggest we remove the red background.

@eliandoran eliandoran marked this pull request as draft June 11, 2025 19:54
@eliandoran eliandoran marked this pull request as ready for review June 12, 2025 19:50
@eliandoran eliandoran added this to the v0.95.0 milestone Jun 12, 2025
@eliandoran eliandoran merged commit f0c696d into develop Jun 12, 2025
10 of 11 checks passed
@eliandoran eliandoran deleted the fix/show-warning-when-rosetta-2 branch June 12, 2025 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:L This PR changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants