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 language suffix to downloaded subtitle filenames #9499

Merged
merged 4 commits into from
Jan 11, 2023

Conversation

pratyaksh1610
Copy link
Contributor

@pratyaksh1610 pratyaksh1610 commented Dec 4, 2022

What is it?

  • Bugfix (user facing)
  • Feature (user facing)
  • Codebase improvement (dev facing)
  • Meta improvement to the project (dev facing)

Description of the changes in your PR

Added Language suffix for subtitle downloads.

Before/After Screenshots/Screen Record

Before After
before_.mp4
after_.mp4

Fixes the following issue(s)

Relies on the following changes

APK testing

The APK can be found by going to the "Checks" tab below the title. On the left pane, click on "CI", scroll down to "artifacts" and click "app" to download the zip file which contains the debug APK of this PR.

Due diligence

@SameenAhnaf SameenAhnaf added feature request Issue is related to a feature in the app downloader Issue is related to the downloader labels Dec 6, 2022
Copy link
Contributor

@TobiGr TobiGr left a comment

Choose a reason for hiding this comment

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

Thank you!
One thought about UX: The file name is reset when the user changes the subtitle language. That might be unfortunate when the user already typed in a different file name.

app/src/main/res/values/strings.xml Outdated Show resolved Hide resolved
Copy link
Member

@Stypox Stypox left a comment

Choose a reason for hiding this comment

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

I applied TobiGr's suggestion about UX and pushed a commit. Thank you!

@Stypox Stypox merged commit 03f5dd7 into TeamNewPipe:dev Jan 11, 2023
@Stypox Stypox changed the title Added Language suffix for subtitle downloads Add language suffix to downloaded subtitle filenames Jan 11, 2023
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@pratyaksh1610 pratyaksh1610 deleted the branch-9466 branch January 11, 2023 19:11
@Stypox Stypox mentioned this pull request Jan 22, 2023
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
downloader Issue is related to the downloader feature request Issue is related to a feature in the app
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Language suffix for subtitle downloads
4 participants