updated string.xml
This commit is contained in:
@@ -277,7 +277,7 @@ fun ListContent(
|
|||||||
onClick = { backupDialogOpen = true }
|
onClick = { backupDialogOpen = true }
|
||||||
)
|
)
|
||||||
|
|
||||||
var textTorProxy = if (checked) "Disable" else "Enable"
|
var textTorProxy = if (checked) stringResource(R.string.disable) else stringResource(R.string.enable)
|
||||||
|
|
||||||
IconRow(
|
IconRow(
|
||||||
title = "$textTorProxy Tor",
|
title = "$textTorProxy Tor",
|
||||||
@@ -309,7 +309,7 @@ fun ListContent(
|
|||||||
|
|
||||||
if (openDialog.value) {
|
if (openDialog.value) {
|
||||||
AlertDialog(
|
AlertDialog(
|
||||||
text = { Text(text = "Do you really want to disable tor?") },
|
text = { Text(text = stringResource(R.string.do_you_really_want_to_disable_tor)) },
|
||||||
onDismissRequest = { },
|
onDismissRequest = { },
|
||||||
confirmButton = {
|
confirmButton = {
|
||||||
TextButton(
|
TextButton(
|
||||||
@@ -319,7 +319,7 @@ fun ListContent(
|
|||||||
enableTor(account, false, openDialog)
|
enableTor(account, false, openDialog)
|
||||||
}
|
}
|
||||||
) {
|
) {
|
||||||
Text(text = "Yes")
|
Text(text = stringResource(R.string.yes))
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
dismissButton = {
|
dismissButton = {
|
||||||
@@ -328,7 +328,7 @@ fun ListContent(
|
|||||||
openDialog.value = false
|
openDialog.value = false
|
||||||
}
|
}
|
||||||
) {
|
) {
|
||||||
Text(text = "No")
|
Text(text = stringResource(R.string.no))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -228,7 +228,7 @@ fun LoginPage(
|
|||||||
onCheckedChange = { useProxy.value = it }
|
onCheckedChange = { useProxy.value = it }
|
||||||
)
|
)
|
||||||
|
|
||||||
Text("Enable Tor")
|
Text(stringResource(R.string.connect_via_tor))
|
||||||
}
|
}
|
||||||
|
|
||||||
Spacer(modifier = Modifier.height(20.dp))
|
Spacer(modifier = Modifier.height(20.dp))
|
||||||
|
|||||||
@@ -292,4 +292,10 @@
|
|||||||
<string name="lightning_create_and_add_invoice">Create and Add</string>
|
<string name="lightning_create_and_add_invoice">Create and Add</string>
|
||||||
<string name="poll_author_no_vote">Poll authors can\'t vote in their own polls.</string>
|
<string name="poll_author_no_vote">Poll authors can\'t vote in their own polls.</string>
|
||||||
<string name="poll_hashtag" translatable="false">#zappoll</string>
|
<string name="poll_hashtag" translatable="false">#zappoll</string>
|
||||||
|
<string name="connect_via_tor">Connect via Tor</string>
|
||||||
|
<string name="do_you_really_want_to_disable_tor">Do you really want to disable tor?</string>
|
||||||
|
<string name="disable">Disable</string>
|
||||||
|
<string name="enable">Enable</string>
|
||||||
|
<string name="yes">Yes</string>
|
||||||
|
<string name="no">No</string>
|
||||||
</resources>
|
</resources>
|
||||||
|
|||||||
Reference in New Issue
Block a user