De-duplicate string resource keys (#1560)
## Description Ensures that all string & plural resource keys are unique. This should help make sure all of the strings are shown in weblate's translation. ### Related issues Related to #1551 ### Testing Emulator ## Screenshots N/A ## AI or LLM usage None
This commit is contained in:
parent
38b4a8c4de
commit
fa5cc99c3b
42 changed files with 156 additions and 183 deletions
|
|
@ -92,18 +92,18 @@ sealed interface ExtrasItem {
|
|||
val ExtraType.stringRes: Int
|
||||
get() =
|
||||
when (this) {
|
||||
ExtraType.UNKNOWN -> R.string.other_extras
|
||||
ExtraType.CLIP -> R.string.clips
|
||||
ExtraType.UNKNOWN -> R.string.other_extras_title
|
||||
ExtraType.CLIP -> R.string.clips_title
|
||||
ExtraType.TRAILER -> R.string.trailers
|
||||
ExtraType.BEHIND_THE_SCENES -> R.string.behind_the_scenes
|
||||
ExtraType.DELETED_SCENE -> R.string.deleted_scenes
|
||||
ExtraType.INTERVIEW -> R.string.interviews
|
||||
ExtraType.SCENE -> R.string.scenes
|
||||
ExtraType.SAMPLE -> R.string.samples
|
||||
ExtraType.THEME_SONG -> R.string.theme_songs
|
||||
ExtraType.THEME_VIDEO -> R.string.theme_videos
|
||||
ExtraType.FEATURETTE -> R.string.featurettes
|
||||
ExtraType.SHORT -> R.string.shorts
|
||||
ExtraType.BEHIND_THE_SCENES -> R.string.behind_the_scenes_title
|
||||
ExtraType.DELETED_SCENE -> R.string.deleted_scenes_title
|
||||
ExtraType.INTERVIEW -> R.string.interviews_title
|
||||
ExtraType.SCENE -> R.string.scenes_title
|
||||
ExtraType.SAMPLE -> R.string.samples_title
|
||||
ExtraType.THEME_SONG -> R.string.theme_songs_title
|
||||
ExtraType.THEME_VIDEO -> R.string.theme_videos_title
|
||||
ExtraType.FEATURETTE -> R.string.featurettes_title
|
||||
ExtraType.SHORT -> R.string.shorts_title
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue