Skip to content

Add keys to localized strings in AuthTokenIssueSolver.swift #24401

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 3 commits into from
Apr 7, 2025

Conversation

mokagio
Copy link
Contributor

@mokagio mokagio commented Apr 3, 2025

A follow up to #24397. Nothing to test.

@mokagio mokagio requested review from kean and crazytonyli April 3, 2025 04:39
@mokagio mokagio self-assigned this Apr 3, 2025
@mokagio mokagio added this to the 25.9 milestone Apr 3, 2025
@wpmobilebot
Copy link
Contributor

wpmobilebot commented Apr 3, 2025

App Icon📲 You can test the changes from this Pull Request in WordPress by scanning the QR code below to install the corresponding build.
App NameWordPress
ConfigurationRelease-Alpha
Build Number27118
VersionPR #24401
Bundle IDorg.wordpress.alpha
Commit741418c
Installation URL1b68fb8lk8440
Automatticians: You can use our internal self-serve MC tool to give yourself access to those builds if needed.

@wpmobilebot
Copy link
Contributor

wpmobilebot commented Apr 3, 2025

App Icon📲 You can test the changes from this Pull Request in Jetpack by scanning the QR code below to install the corresponding build.
App NameJetpack
ConfigurationRelease-Alpha
Build Number27118
VersionPR #24401
Bundle IDcom.jetpack.alpha
Commit741418c
Installation URL3uo42q95jvn90
Automatticians: You can use our internal self-serve MC tool to give yourself access to those builds if needed.

Base automatically changed from task/rewrite-auth-token-solver to trunk April 3, 2025 05:05
let title = NSLocalizedString("Careful!", comment: "Title for the warning shown to the user when he refuses to re-login when the authToken is missing.")
let message = NSLocalizedString("Proceeding will remove all WordPress.com data from this device, and delete any locally saved drafts. You will not lose anything already saved to your WordPress.com blog(s).", comment: "Message for the warning shown to the user when he refuses to re-login when the authToken is missing.")
let title = NSLocalizedString(
"auth_token_issue_solver.cancel_alert.title",
Copy link
Contributor

Choose a reason for hiding this comment

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

Hey, thanks for updating it! Ideally, I would suggest moving these under private enum Strings - this is what we typically do. And it should used camel case.

@mokagio mokagio force-pushed the mokagio/auth-token-solver-localization-keys branch from 3f8a613 to 741418c Compare April 4, 2025 02:48
@dangermattic
Copy link
Collaborator

1 Warning
⚠️ This PR is assigned to the milestone 25.9. The due date for this milestone has already passed.
Please assign it to a milestone with a later deadline or check whether the release for this milestone has already been finished.

Generated by 🚫 Danger

@mokagio mokagio enabled auto-merge April 4, 2025 04:01
@mokagio mokagio requested a review from kean April 7, 2025 05:08
@mokagio mokagio added this pull request to the merge queue Apr 7, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Apr 7, 2025
@crazytonyli crazytonyli added this pull request to the merge queue Apr 7, 2025
Merged via the queue into trunk with commit 913c239 Apr 7, 2025
31 checks passed
@crazytonyli crazytonyli deleted the mokagio/auth-token-solver-localization-keys branch April 7, 2025 22:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants