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

Removed unused strings.xml resources #8329

Merged
merged 1 commit into from
May 2, 2022

Conversation

litetex
Copy link
Member

@litetex litetex commented May 1, 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

I recently noticed that the following warning:

> Task :app:compressDebugAssets
warn: removing resource org.schabi.newpipe.debug:string/adjust_by_semitones_checkbox without required default value.
warn: removing resource org.schabi.newpipe.debug:string/background_player_already_playing_toast without required default value.
warn: removing resource org.schabi.newpipe.debug:string/error_show_channel_details without required default value.
warn: removing resource org.schabi.newpipe.debug:string/loading_channel_details without required default value.
warn: removing resource org.schabi.newpipe.debug:string/playback_tempo_step without required default value.
warn: removing resource org.schabi.newpipe.debug:string/report_player_errors_summary without required default value.
warn: removing resource org.schabi.newpipe.debug:string/report_player_errors_title without required default value.
warn: removing resource org.schabi.newpipe.debug:string/settings_category_notification_title without required default value.
warn: removing resource org.schabi.newpipe.debug:string/yes without required default value.

Looks like these warnings got in there since we merged Weblate in the latest release.
Anyway, I removed the affected unused strings to get rid of them.

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

@litetex litetex changed the title Removed unused string resources Removed unused strings.xml resources May 1, 2022
@litetex litetex marked this pull request as ready for review May 1, 2022 19:00
@litetex litetex added the codequality Improvements to the codebase to improve the code quality label May 1, 2022
@sonarqubecloud
Copy link

sonarqubecloud bot commented May 1, 2022

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 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@Stypox Stypox merged commit 2180125 into TeamNewPipe:dev May 2, 2022
@litetex litetex deleted the cleanup-unused-strings branch May 2, 2022 17:50
@Stypox
Copy link
Member

Stypox commented May 2, 2022

I also fixed conflicts in weblate (more complicated than expected)

@litetex
Copy link
Member Author

litetex commented May 2, 2022

Stypox is the MVP here 😄

@Stypox Stypox mentioned this pull request Jun 24, 2022
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
codequality Improvements to the codebase to improve the code quality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants