Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[MBL-2428] Replace hardcoded removal message with localized string #2430

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 2 commits into from
May 19, 2025

Conversation

jovaniks
Copy link
Contributor

📲 What

Replace the hardcoded string "This comment has been removed for violating..." with the localized version
Strings.This_comment_has_been_removed_for_violating_kickstarters_community_guidelines().

🛠 How

Update the call to use:

Strings.This_comment_has_been_removed_for_violating_kickstarters_community_guidelines(community_guidelines:)

👀 See

✅ Acceptance criteria

  • The localized string appears correctly in the UI
  • Tests PASS

@jovaniks jovaniks changed the title [MBL-2428] Implement translated string "comment_has_been_removed..." [MBL-2428] Replace hardcoded removal message with localized string May 14, 2025
Copy link
Contributor

@ifosli ifosli left a comment

Choose a reason for hiding this comment

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

You and Amy are going to run into a merge conflict here... I left this comment on Amy's pr too: Not blocking, but I personally prefer when we wait to pull in localized strings until they're actually translated; it's easier to check if they're translated or not when you're looking at a diff than if we're trying to confirm that every localized string that's visible to users during release time has been translated. So I'm okay with merging this as it is, but then we need to make sure we thoroughly check strings when we cut our next release build.

@amy-at-kickstarter
Copy link
Contributor

amy-at-kickstarter commented May 15, 2025

You and Amy are going to run into a merge conflict here... I left this comment on Amy's pr too: Not blocking, but I personally prefer when we wait to pull in localized strings until they're actually translated; it's easier to check if they're translated or not when you're looking at a diff than if we're trying to confirm that every localized string that's visible to users during release time has been translated. So I'm okay with merging this as it is, but then we need to make sure we thoroughly check strings when we cut our next release build.

@ifosli How about we just add make strings to our deploy process? Should be an easy change in Circle CI. So long as nobody is pushing breaking changes to strings, it should be safe.

@jovaniks
Copy link
Contributor Author

You and Amy are going to run into a merge conflict here... I left this comment on Amy's pr too: Not blocking, but I personally prefer when we wait to pull in localized strings until they're actually translated; it's easier to check if they're translated or not when you're looking at a diff than if we're trying to confirm that every localized string that's visible to users during release time has been translated. So I'm okay with merging this as it is, but then we need to make sure we thoroughly check strings when we cut our next release build.

@ifosli How about we just add make strings to our deploy process? Should be an easy change in Circle CI. So long as nobody is pushing breaking changes to strings, it should be safe.

@amy-at-kickstarter The challenge here is around test snapshots. They can fail when existing strings are updated. I see two possible approaches:

  1. Integrate make strings into the CircleCI pipeline (as Amy suggested). If a build fails due to snapshot mismatches, a developer should jump in and update the affected snapshots.

  2. Ensure that anyone (or the devs who pushed strings with incomplete translations) updates both the strings and the corresponding snapshots before the release cut (as Ingerid mentioned).

@jovaniks jovaniks merged commit 9462065 into main May 19, 2025
5 checks passed
@jovaniks jovaniks deleted the jluna/MBL-2428/comment-has-been-removed-string branch May 19, 2025 17:35
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.

4 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.