Skip to content
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

Add FXIOS-10544-[Native Error Page] updated string for generic error #23103

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

tusharC95
Copy link
Collaborator

📜 Tickets

Jira ticket
Github issue

💡 Description

Updated generic error screen strings.
For reference: https://www.figma.com/design/yawrXicozZQ2zvLYsjdQBb/Error-Pages?node-id=5211-3601&t=ffCR7mFR9qjjddHc-4

📝 Checklist

You have to check all boxes before merging

  • Filled in the above information (tickets numbers and description of your work)
  • Updated the PR name to follow our PR naming guidelines
  • Wrote unit tests and/or ensured the tests suite is passing
  • When working on UI, I checked and implemented accessibility (minimum Dynamic Text and VoiceOver)
  • If needed, I updated documentation / comments for complex code and public methods
  • If needed, added a backport comment (example @Mergifyio backport release/v120)

@tusharC95 tusharC95 requested a review from a team as a code owner November 13, 2024 18:33
tableName: "NativeErrorPage",
value: "An SSL error has occurred and a secure connection to the server cannot be made.",
value: "The owner of %@ hasn’t set it up properly and a secure connection can’t be created.",
Copy link
Contributor

Choose a reason for hiding this comment

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

since we are changing the string, lets move the old one to the old struct. See process here:
https://github.com/mozilla-mobile/firefox-ios/wiki/How-to-add-and-modify-Strings#how-to-modify-a-string

Also, since we have %@, lets add a comment to clarify what that value represents

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Thank you for pointing this out!
"On error page, this is the description for generic error. The placeholder will be replaced by the site url".
Does this work?

@mobiletest-ci-bot
Copy link

Messages
📖 Edited 1 files
📖 Created 0 files

Generated by 🚫 Danger Swift against cd051fc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants