mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-09-26 21:36:24 +02:00
Add string resources to strings.xml
This commit is contained in:
@@ -186,7 +186,7 @@ fun ServerConfigHeader() {
|
|||||||
Spacer(modifier = Modifier.size(5.dp))
|
Spacer(modifier = Modifier.size(5.dp))
|
||||||
|
|
||||||
Text(
|
Text(
|
||||||
text = "Spam",
|
text = stringResource(R.string.spam),
|
||||||
maxLines = 1,
|
maxLines = 1,
|
||||||
fontSize = 14.sp,
|
fontSize = 14.sp,
|
||||||
modifier = Modifier.weight(1f),
|
modifier = Modifier.weight(1f),
|
||||||
|
@@ -829,7 +829,7 @@ fun NoteDropDownMenu(note: Note, popupExpanded: Boolean, onDismiss: () -> Unit,
|
|||||||
if (note.author == accountViewModel.accountLiveData.value?.account?.userProfile()) {
|
if (note.author == accountViewModel.accountLiveData.value?.account?.userProfile()) {
|
||||||
Divider()
|
Divider()
|
||||||
DropdownMenuItem(onClick = { accountViewModel.delete(note); onDismiss() }) {
|
DropdownMenuItem(onClick = { accountViewModel.delete(note); onDismiss() }) {
|
||||||
Text("Request Deletion")
|
Text(stringResource(R.string.request_deletion))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (note.author != accountViewModel.accountLiveData.value?.account?.userProfile()) {
|
if (note.author != accountViewModel.accountLiveData.value?.account?.userProfile()) {
|
||||||
|
@@ -23,6 +23,7 @@
|
|||||||
<string name="copy_user_pubkey">Copy Author ID</string>
|
<string name="copy_user_pubkey">Copy Author ID</string>
|
||||||
<string name="copy_note_id">Copy Note ID</string>
|
<string name="copy_note_id">Copy Note ID</string>
|
||||||
<string name="broadcast">Broadcast</string>
|
<string name="broadcast">Broadcast</string>
|
||||||
|
<string name="request_deletion">Request Deletion</string>
|
||||||
<string name="block_hide_user"><![CDATA[Block & Hide User]]></string>
|
<string name="block_hide_user"><![CDATA[Block & Hide User]]></string>
|
||||||
<string name="report_spam_scam">Report Spam / Scam</string>
|
<string name="report_spam_scam">Report Spam / Scam</string>
|
||||||
<string name="report_impersonation">Report Impersonation</string>
|
<string name="report_impersonation">Report Impersonation</string>
|
||||||
|
Reference in New Issue
Block a user