New languages (#256)
* Remove custom-onnxruntime-arm64.aar * Refactor remaining, hardcoded UI strings into localizable resources and added French and Russian to language list * Fix background auto-advance for Text-to-Speech (TTS)
This commit is contained in:
parent
224d12d1fb
commit
4582b506f3
33 changed files with 940 additions and 488 deletions
|
|
@ -243,7 +243,7 @@ fun EpubReaderDrawerSheet(
|
|||
Tab(
|
||||
selected = drawerPagerState.currentPage == 2,
|
||||
onClick = { drawerScope.launch { drawerPagerState.animateScrollToPage(2) } },
|
||||
text = { Text("Annotations") }
|
||||
text = { Text(stringResource(R.string.tab_annotations)) }
|
||||
)
|
||||
}
|
||||
|
||||
|
|
@ -408,13 +408,13 @@ private fun ChaptersList(
|
|||
horizontalArrangement = Arrangement.SpaceEvenly
|
||||
) {
|
||||
TextButton(onClick = { expandedEntryIndices = effectiveToc.indices.toSet() }) {
|
||||
Text("Expand All")
|
||||
Text(stringResource(R.string.action_expand_all))
|
||||
}
|
||||
TextButton(onClick = { expandedEntryIndices = emptySet() }) {
|
||||
Text("Collapse All")
|
||||
Text(stringResource(R.string.action_collapse_all))
|
||||
}
|
||||
TextButton(onClick = onScrollToCurrent) {
|
||||
Text("Locate")
|
||||
Text(stringResource(R.string.action_locate))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -884,4 +884,4 @@ private fun HighlightsList(
|
|||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue