Make Scan-QR-Code string translatable

Fixes https://gitlab.com/fdroid/fdroidclient/-/issues/2801
This commit is contained in:
Thore Goebel
2024-05-27 11:48:17 +02:00
parent 06fa581d3f
commit 5692b5c614
2 changed files with 2 additions and 1 deletions

View File

@@ -145,7 +145,7 @@ fun AddRepoIntroContent(paddingValues: PaddingValues, onFetchRepo: (String) -> U
}
}
FDroidButton(
"Scan QR code",
stringResource(R.string.repo_scan_qr_code),
imageVector = Icons.Filled.QrCode,
onClick = {
startForResult.launch(ScanOptions().apply {

View File

@@ -207,6 +207,7 @@ This often occurs with apps installed via Google Play or other sources, if they
<string name="choose_bt_send">Choose Bluetooth send method</string>
<string name="repo_intro">A repository is an additional source of apps. Third-party ones you add here have different standards than those providing apps built by F-Droid itself.\n\nPlease ensure that the repository you are adding is trustworthy.</string>
<string name="repo_scan_qr_code">Scan QR Code</string>
<string name="repo_state_fetching">Fetching repository…</string>
<string name="repo_state_adding">Adding repository…</string>
<string name="repo_enter_url">Enter repository URL manually</string>