[Android] Remove fastplay_speed_summary from strings.xml
Kerry Shen
git at videolan.org
Mon Jun 30 09:45:09 UTC 2025
vlc-android | branch: master | Kerry Shen <kefishen at gmail.com> | Mon Jun 30 15:25:43 2025 +0800| [8c9090aef7c6c738a523b48b236094cbd6f64c5d] | committer: Kerry Shen
Remove fastplay_speed_summary from strings.xml
> https://code.videolan.org/videolan/vlc-android/commit/8c9090aef7c6c738a523b48b236094cbd6f64c5d
---
application/resources/src/main/res/values/strings.xml | 1 -
.../src/org/videolan/vlc/gui/preferences/PreferencesVideoControls.kt | 2 +-
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/application/resources/src/main/res/values/strings.xml b/application/resources/src/main/res/values/strings.xml
index d7b5ab4d66..315aa1d285 100644
--- a/application/resources/src/main/res/values/strings.xml
+++ b/application/resources/src/main/res/values/strings.xml
@@ -420,7 +420,6 @@
<string name="enable_tap_and_hold_fastplay_title">Enable Fastplay</string>
<string name="enable_tap_and_hold_fastplay_summary">Tap and hold to increase the playback speed</string>
<string name="fastplay_speed_title">Fastplay speed</string>
- <string name="fastplay_speed_summary">%sx</string>
<string name="fastplay_title">Playing at %sx</string>
<string name="fastplay_subtitle">Release to stop</string>
<string name="show_bookmark_buttons">Show bookmark buttons</string>
diff --git a/application/vlc-android/src/org/videolan/vlc/gui/preferences/PreferencesVideoControls.kt b/application/vlc-android/src/org/videolan/vlc/gui/preferences/PreferencesVideoControls.kt
index 04f4b6bad6..be2a7eeb76 100644
--- a/application/vlc-android/src/org/videolan/vlc/gui/preferences/PreferencesVideoControls.kt
+++ b/application/vlc-android/src/org/videolan/vlc/gui/preferences/PreferencesVideoControls.kt
@@ -100,7 +100,7 @@ class PreferencesVideoControls : BasePreferenceFragment(), SharedPreferences.OnS
}
private fun updateFastplaySpeedSummary() {
- findPreference<Preference>(FASTPLAY_SPEED)?.summary = getString(R.string.fastplay_speed_summary, Settings.fastplaySpeed.readableString())
+ findPreference<Preference>(FASTPLAY_SPEED)?.summary = String.format("%sx", Settings.fastplaySpeed.readableString())
}
override fun onStart() {
More information about the Android
mailing list