mirror of
https://github.com/f-droid/fdroidclient.git
synced 2026-06-22 14:50:24 -04:00
Make Scan-QR-Code string translatable
Fixes https://gitlab.com/fdroid/fdroidclient/-/issues/2801
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user