String extraction (#174)
* Refactored the EPUB reader to use localized string resources instead of hardcoded strings across multiple components. * Refactored the PDF viewer and annotation components to use centralized string resources instead of hardcoded text. * Updated `strings.xml` with extensive translation hints and localization metadata.
This commit is contained in:
parent
17a0097d4a
commit
b027331bd1
20 changed files with 716 additions and 313 deletions
|
|
@ -664,7 +664,7 @@ fun AboutDialog(onDismiss: () -> Unit) {
|
|||
tint = MaterialTheme.colorScheme.primary
|
||||
)
|
||||
},
|
||||
text = stringResource(R.string.about_privacy),
|
||||
text = stringResource(R.string.legal_privacy_policy),
|
||||
subtitle = stringResource(R.string.about_privacy_desc),
|
||||
onClick = { uriHandler.openUri(PRIVACY_POLICY_URL) }
|
||||
)
|
||||
|
|
@ -680,7 +680,7 @@ fun AboutDialog(onDismiss: () -> Unit) {
|
|||
tint = MaterialTheme.colorScheme.primary
|
||||
)
|
||||
},
|
||||
text = stringResource(R.string.about_terms),
|
||||
text = stringResource(R.string.legal_terms_of_service),
|
||||
subtitle = stringResource(R.string.about_terms_desc),
|
||||
onClick = { uriHandler.openUri(TERMS_URL) }
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue