Fix issues from #1530

This commit is contained in:
Damontecres 2026-06-14 19:55:01 -04:00
parent 8534c58426
commit ddbec0da73
No known key found for this signature in database
6 changed files with 6 additions and 6 deletions

View file

@ -94,7 +94,7 @@ val ExtraType.stringRes: Int
when (this) {
ExtraType.UNKNOWN -> R.string.other_extras_title
ExtraType.CLIP -> R.string.clips_title
ExtraType.TRAILER -> R.string.trailers
ExtraType.TRAILER -> R.string.trailers_title
ExtraType.BEHIND_THE_SCENES -> R.string.behind_the_scenes_title
ExtraType.DELETED_SCENE -> R.string.deleted_scenes_title
ExtraType.INTERVIEW -> R.string.interviews_title

View file

@ -224,7 +224,7 @@ fun formatTypeName(type: BaseItemKind): Int =
BaseItemKind.RECORDING -> TODO()
BaseItemKind.SEASON -> R.string.tv_seasons
BaseItemKind.STUDIO -> R.string.studios
BaseItemKind.TRAILER -> R.string.trailers
BaseItemKind.TRAILER -> R.string.trailers_title
BaseItemKind.TV_CHANNEL -> R.string.channels
BaseItemKind.TV_PROGRAM -> TODO()
BaseItemKind.USER_ROOT_FOLDER -> TODO()

View file

@ -399,7 +399,7 @@ fun TrailerButton(
} else if (trailers.size == 1) {
R.string.play_trailer
} else {
R.string.trailers
R.string.trailers_title
},
iconStringRes = R.string.fa_film,
enabled = trailers.isNotEmpty(),

View file

@ -390,7 +390,7 @@ fun TrailerRow(
modifier = modifier,
) {
Text(
text = stringResource(R.string.trailers),
text = stringResource(R.string.trailers_title),
style = MaterialTheme.typography.titleLarge,
color = MaterialTheme.colorScheme.onBackground,
)

View file

@ -530,7 +530,7 @@
<string name="conductor">Dirigent</string>
<string name="lyricist">Liedtexter</string>
<string name="artist">Künstler</string>
<string name="favorite_items">Favorisierte %s</string>
<string name="favorite_items_title">Favorisierte %s</string>
<string name="home_rows">Startseiten-Reihen</string>
<string name="load_from_server">Vom Server-Benutzerprofil laden</string>
<string name="save_to_server">Im Server-Benutzerprofil speichern</string>

View file

@ -145,7 +145,7 @@
<string name="switch_servers">Switch servers</string>
<string name="switch_user">Switch</string>
<string name="top_unwatched">Top Rated Unwatched</string>
<string name="trailers">Trailers</string>
<string name="trailers_title">Trailers</string>
<string name="tv_dvr_schedule">DVR Schedule</string>
<string name="tv_guide">Guide</string>
<string name="tv_season">Season</string>