Extract string resource for Block / Report

This commit is contained in:
Akiomi Kamakura
2023-07-13 11:00:15 +09:00
parent ba50ec052b
commit cafe742cd8
3 changed files with 3 additions and 1 deletions

View File

@@ -427,7 +427,7 @@ fun NoteDropDownMenu(note: Note, popupExpanded: Boolean, onDismiss: () -> Unit,
}
} else {
DropdownMenuItem(onClick = { reportDialogShowing = true }) {
Text("Block / Report")
Text(stringResource(R.string.block_report))
}
}
Divider()

View File

@@ -22,6 +22,7 @@
<string name="copy_note_id">投稿IDをコピー</string>
<string name="broadcast">ブロードキャスト</string>
<string name="request_deletion">削除をリクエスト</string>
<string name="block_report">ブロック / 通報</string>
<string name="block_hide_user">ユーザをブロックして非表示</string>
<string name="report_spam_scam">スパム / 詐欺を通報</string>
<string name="report_impersonation">なりすましを通報</string>

View File

@@ -24,6 +24,7 @@
<string name="copy_note_id">Copy Note ID</string>
<string name="broadcast">Broadcast</string>
<string name="request_deletion">Request Deletion</string>
<string name="block_report">Block / Report</string>
<string name="block_hide_user"><![CDATA[Block & Hide User]]></string>
<string name="report_spam_scam">Report Spam / Scam</string>
<string name="report_impersonation">Report Impersonation</string>