Skip to content

Conversation

bjtitus
Copy link
Contributor

@bjtitus bjtitus commented Aug 5, 2025

Contribution from @teaseaque in #2967

Fixes #7

  • Added 2 SwiftUI views that support themes and text localization to replace 2 images including hardcoded English text on HowToUploadViewController sheet
  • Removed hardcoded English image assets and references since they are no longer used to reduce bundle size

Before testing

If the test device system language is English, add a non-English language that is supported by Pocket Casts (e.g. French) in Settings app > General > Language & Region. Then, set the preferred language for Pocket Casts to the non-English language in Settings app > Apps > Pocket Casts

Test

  1. Run this branch
  2. Navigate to HowToUploadViewController sheet via Profile > Files > How do I do that?
  3. Observe the 2 images between instructions are in the preferred language
  4. Change the Pocket Casts theme and repeat steps 2 & 3

Checklist

  • I have considered if this change warrants user-facing release notes and have added them to CHANGELOG.md if necessary.
  • I have considered adding unit tests for my changes.
  • I have updated (or requested that someone edit) the spreadsheet to reflect any new or changed analytics.

teaseaque and others added 8 commits March 25, 2025 18:47
…ssibility for images used in HowToUploadViewController
Increase hover circle x offset 1 point to the right
Clarified image subview names
Co-authored-by: Brandon Titus <b@titus.io>
Co-authored-by: Brandon Titus <b@titus.io>
@dangermattic
Copy link
Collaborator

dangermattic commented Aug 5, 2025

1 Warning
⚠️ This PR is larger than 500 lines of changes. Please consider splitting it into smaller PRs for easier and faster reviews.

Generated by 🚫 Danger

bjtitus added 5 commits August 5, 2025 15:32
…h-swiftui-views

# Conflicts:
#	podcasts/Strings+Generated.swift
#	podcasts/UploadedViewController.swift
Instead of 1 and 2, let's refer to these by their contents for share menu and action instead.
@bjtitus bjtitus marked this pull request as ready for review August 5, 2025 22:05
@bjtitus bjtitus requested a review from a team as a code owner August 5, 2025 22:05
@bjtitus bjtitus requested review from danielebogo and removed request for a team August 5, 2025 22:05
@bjtitus
Copy link
Contributor Author

bjtitus commented Aug 5, 2025

This has already been reviewed in #2967 but can you give it a once over @danielebogo?

@bjtitus bjtitus added this to the 7.96 milestone Aug 5, 2025
Copy link
Contributor

@danielebogo danielebogo left a comment

Choose a reason for hiding this comment

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

Hey @bjtitus for these 2 key that have been changed do we need to wait for Glot press to be re-translated?: how_to_upload_second_instruction and how_to_upload_first_instruction

Also we can run CI on the external contributor PR directly

simulator_screenshot_890A9C14-2EA6-4E1E-88B1-AA7AC6B65F14

@bjtitus bjtitus merged commit cda4ac3 into trunk Aug 7, 2025
6 of 9 checks passed
@bjtitus bjtitus deleted the teaseaque/replaced-how-to-upload-images-with-swiftui-views branch August 7, 2025 20:04
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.

I18n: images with English content
4 participants