Merge pull request #499 from akiomik/extract-block-report-resource

Extract string resource for Block / Report
This commit is contained in:
Vitor Pamplona
2023-07-13 12:55:33 -04:00
committed by GitHub
4 changed files with 5 additions and 2 deletions
@@ -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()
+1
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>
+1
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>
+2 -1
View File
@@ -20,4 +20,5 @@
<locale android:name="zh-rTW"/>
<locale android:name="en"/>
<locale android:name="en-GB"/>
</locale-config>
<locale android:name="ja"/>
</locale-config>