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

Bloganuary: Replace hyphen with dash in Bloganuary nudge text #22213

Merged
merged 4 commits into from
Dec 13, 2023

Conversation

wargcm
Copy link
Contributor

@wargcm wargcm commented Dec 13, 2023

Ref: pcdRpT-4FE-p2#comment-7965

Description

Replaces the hyphen (-) with a dash (—) in the Bloganuary nudge text on the dashboard card. Matching Android's string change here: wordpress-mobile/WordPress-Android#19774

Screenshot

Testing

To test:

  • Set device to English
  • Launch Jetpack and login
  • Navigate to the dashboard if necessary
  • 🔎 Verify the Bloganuary nudge text on the dashboard card uses a dash (—) instead of a hyphen (-)

Regression Notes

  1. Potential unintended areas of impact
    N/A

  2. What I did to test those areas of impact (or what existing automated tests I relied on)
    N/A

  3. What automated tests I added (or what prevented me from doing so)
    N/A
    PR submission checklist:

  • I have completed the Regression Notes.
  • I have considered adding unit tests for my changes.
  • I have considered adding accessibility improvements for my changes.
  • I have considered if this change warrants user-facing release notes and have added them to RELEASE-NOTES.txt if necessary.

UI Changes testing checklist:

  • Portrait and landscape orientations.
  • Light and dark modes.
  • Fonts: Larger, smaller and bold text.
  • High contrast.
  • VoiceOver.
  • Languages with large words or with letters/accents not frequently used in English.
  • Right-to-left languages. (Even if translation isn’t complete, formatting should still respect the right-to-left layout)
  • iPhone and iPad.
  • Multi-tasking: Split view and Slide over. (iPad)

@peril-wordpress-mobile
Copy link

peril-wordpress-mobile bot commented Dec 13, 2023

Warnings
⚠️ Localizable.strings should only be updated on release branches because it is generated automatically.

Generated by 🚫 dangerJS

Comment on lines 166 to 168
For the month of January, blogging prompts will come from Bloganuary - \
For the month of January, blogging prompts will come from Bloganuary \
our community challenge to build a blogging habit for the new year.
""",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Given the red background, it appears GitHub thinks this is a syntax error. The file compiles fine though, but I can change this to a single line if we'd like.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Decided to just update it: 6155351.

@wpmobilebot
Copy link
Contributor

wpmobilebot commented Dec 13, 2023

WordPress Alpha📲 You can test the changes from this Pull Request in WordPress Alpha by scanning the QR code below to install the corresponding build.
App NameWordPress Alpha WordPress Alpha
ConfigurationRelease-Alpha
Build Numberpr22213-372a322
Version23.8.1
Bundle IDorg.wordpress.alpha
Commit372a322
App Center BuildWPiOS - One-Offs #8112
Automatticians: You can use our internal self-serve MC tool to give yourself access to App Center if needed.

@wpmobilebot
Copy link
Contributor

wpmobilebot commented Dec 13, 2023

Jetpack Alpha📲 You can test the changes from this Pull Request in Jetpack Alpha by scanning the QR code below to install the corresponding build.
App NameJetpack Alpha Jetpack Alpha
ConfigurationRelease-Alpha
Build Numberpr22213-372a322
Version23.8.1
Bundle IDcom.jetpack.alpha
Commit372a322
App Center Buildjetpack-installable-builds #7132
Automatticians: You can use our internal self-serve MC tool to give yourself access to App Center if needed.

@mokagio mokagio added this to the 23.8.1 milestone Dec 13, 2023
Copy link
Contributor

@mokagio mokagio left a comment

Choose a reason for hiding this comment

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

Tested locally, works as expected.

IMG_85A0DC5477A4-1

@wargcm +1 for manually editing the .strings as the hotfix automation does not download new strings from GlotPress because GlotPress holds the source of truth for the next upcoming version and as such there might be strings that were in the version an hotfix targets that are no longer in GlotPress, or new strings that are downloaded but unused.

Worth noting that:

  • Until the en.lproj change reaches trunk, the GlotPress entry will still hold the version with the hyphen
  • Many of the translators opted to remove the hyphen in their locale in favor of comma or semicolon. I found this interesting. I noticed this when git grep "Bloguanary -" -- WordPress/Resources returned only a couple of additional entries from the en-* edited in the first version of this PR. I wonder if they picked up on the typo or simply felt their version better suited their locale 🤷‍♂️

One final note. I double checked that the dahs used here was the "em dash" not the "en dash". The syntactic difference matters.. 👌

Method used: Copied the character from the Merriam-Webster link above, and pasted it in the search window for this diff in Chrome, verified there were 5 matches, one per each of the files touched.

image

@mokagio
Copy link
Contributor

mokagio commented Dec 13, 2023

Just waiting for green CI to before merging...

@mokagio mokagio merged commit 882a8e1 into release/23.8.1 Dec 13, 2023
23 checks passed
@mokagio mokagio deleted the fix/bloganuary-dash branch December 13, 2023 03:14
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.

3 participants