Skip to content

Commit

Permalink
Rename progress to slider.
Browse files Browse the repository at this point in the history
  • Loading branch information
oxyroid committed Jun 1, 2024
1 parent f19ae18 commit 0948d2f
Show file tree
Hide file tree
Showing 10 changed files with 15 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ class Preferences @Inject constructor(
sharedPreferences.booleanAsState(DEFAULT_REMOTE_CONTROL, REMOTE_CONTROL)
var twelveHourClock: Boolean by
sharedPreferences.booleanAsState(DEFAULT_12_H_CLOCK_MODE, CLOCK_MODE)
var progress: Boolean by
sharedPreferences.booleanAsState(DEFAULT_PROGRESS, PROGRESS)
var slider: Boolean by
sharedPreferences.booleanAsState(DEFAULT_SLIDER, SLIDER)
var alwaysShowReplay: Boolean by
sharedPreferences.booleanAsState(DEFAULT_ALWAYS_SHOW_REFRESH, ALWAYS_SHOW_REFRESH)
var paging: Boolean by
Expand Down Expand Up @@ -153,7 +153,7 @@ class Preferences @Inject constructor(
const val DEFAULT_TUNNELING = false
const val DEFAULT_ALWAYS_TV = false
const val DEFAULT_REMOTE_CONTROL = false
const val DEFAULT_PROGRESS = true
const val DEFAULT_SLIDER = true
const val DEFAULT_ALWAYS_SHOW_REFRESH = false
const val DEFAULT_PAGING = true
const val DEFAULT_PLAYER_PANEL = true
Expand Down Expand Up @@ -190,7 +190,7 @@ class Preferences @Inject constructor(
const val CLOCK_MODE = "12h-clock-mode"
const val REMOTE_CONTROL = "remote-control"

const val PROGRESS = "progress"
const val SLIDER = "slider"
const val ALWAYS_SHOW_REFRESH = "always-show-refresh"
const val PAGING = "paging"
const val PLAYER_PANEL = "player_panel"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,10 @@ fun OptionalPreferences(modifier: Modifier = Modifier) {
onChanged = { preferences.fullInfoPlayer = !preferences.fullInfoPlayer }
)
CheckBoxSharedPreference(
title = string.feat_setting_progress,
title = string.feat_setting_slider,
icon = Icons.Rounded.SettingsEthernet,
checked = preferences.progress,
onChanged = { preferences.progress = !preferences.progress }
checked = preferences.slider,
onChanged = { preferences.slider = !preferences.slider }
)
if (!tv) {
CheckBoxSharedPreference(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ internal fun StreamMask(
}
}

val isProgressEnabled = preferences.progress
val isProgressEnabled = preferences.slider
val isStaticAndSeekable by remember(
playerState.player,
playerState.playState
Expand Down
2 changes: 1 addition & 1 deletion i18n/src/main/res/values-de-rDE/feat_setting.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

<string name="feat_setting_full_info_player">Player-Info</string>
<string name="feat_setting_full_info_player_description">weitere Infos im Player anzeigen</string>
<string name="feat_setting_progress">Suchleiste</string>
<string name="feat_setting_slider">Suchleiste</string>
<string name="feat_setting_initial_screen">Start-Screen</string>
<string name="feat_setting_no_picture_mode">keine Sendericons anzeigen</string>
<string name="feat_setting_no_picture_mode_description">kann die Leistung verbessern</string>
Expand Down
2 changes: 1 addition & 1 deletion i18n/src/main/res/values-es-rES/feat_setting.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

<string name="feat_setting_full_info_player">reproductor con información detallada</string>
<string name="feat_setting_full_info_player_description">muestra más información en el reproductor</string>
<string name="feat_setting_progress">barra deslizante</string>
<string name="feat_setting_slider">barra deslizante</string>
<string name="feat_setting_initial_screen">Pantalla inicial</string>
<string name="feat_setting_no_picture_mode">modo sin imagen</string>
<string name="feat_setting_no_picture_mode_description">podría mejorar el rendimiento</string>
Expand Down
2 changes: 1 addition & 1 deletion i18n/src/main/res/values-es-rMX/feat_setting.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

<string name="feat_setting_full_info_player">reproductor con información detallada</string>
<string name="feat_setting_full_info_player_description">muestra más detalles en el reproductor</string>
<string name="feat_setting_progress">barra deslizable</string>
<string name="feat_setting_slider">barra deslizable</string>
<string name="feat_setting_initial_screen">Pantalla inicial</string>
<string name="feat_setting_no_picture_mode">modo sin imagen</string>
<string name="feat_setting_no_picture_mode_description">podría mejorar el rendimiento</string>
Expand Down
2 changes: 1 addition & 1 deletion i18n/src/main/res/values-pt-rBR/feat_setting.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

<string name="feat_setting_full_info_player">informações completas no player</string>
<string name="feat_setting_full_info_player_description">Exibe mais informações no player</string>
<string name="feat_setting_progress">Barra de reprodução</string>
<string name="feat_setting_slider">Barra de reprodução</string>
<string name="feat_setting_initial_screen">Tela inicial</string>
<string name="feat_setting_no_picture_mode">Sem modo de imagem</string>
<string name="feat_setting_no_picture_mode_description">Pode melhorar o desempenho</string>
Expand Down
2 changes: 1 addition & 1 deletion i18n/src/main/res/values-ro-rRO/feat_setting.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

<string name="feat_setting_full_info_player">informatii complete</string>
<string name="feat_setting_full_info_player_description">arata mai multe informatii in player</string>
<string name="feat_setting_progress">bara de cautare</string>
<string name="feat_setting_slider">bara de cautare</string>
<string name="feat_setting_initial_screen">ecranul de pornire</string>
<string name="feat_setting_no_picture_mode">fara logo canale</string>
<string name="feat_setting_no_picture_mode_description">poate imbunatati performanta</string>
Expand Down
2 changes: 1 addition & 1 deletion i18n/src/main/res/values-zh-rCN/feat_setting.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<string name="feat_setting_full_info_player">详细信息的播放器</string>
<string name="feat_setting_full_info_player_description">播放器中展示更多的信息</string>

<string name="feat_setting_progress">拖动条</string>
<string name="feat_setting_slider">拖动条</string>

<string name="feat_setting_initial_screen">初始界面</string>
<string name="feat_setting_no_picture_mode">无图模式</string>
Expand Down
2 changes: 1 addition & 1 deletion i18n/src/main/res/values/feat_setting.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

<string name="feat_setting_full_info_player">full information player</string>
<string name="feat_setting_full_info_player_description">display more information in the player</string>
<string name="feat_setting_progress">seek bar</string>
<string name="feat_setting_slider">slider</string>
<string name="feat_setting_initial_screen">initial Screen</string>
<string name="feat_setting_no_picture_mode">no picture mode</string>
<string name="feat_setting_no_picture_mode_description">may improve performance</string>
Expand Down

0 comments on commit 0948d2f

Please sign in to comment.