Skip to content

Commit

Permalink
chore: fix bug for server text limit
Browse files Browse the repository at this point in the history
  • Loading branch information
AsteriskZuo committed Dec 13, 2023
1 parent 8a47341 commit 019073e
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion example/src/__dev__/test_report.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import {
const data = [
{
id: seqId('_rp').toString(),
title: 'Unwelcome commercial content or spam',
title: 'Unwelcome commercial content',
checked: true,
},
{
Expand Down
2 changes: 1 addition & 1 deletion example/src/screens/ReportScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export function ReportScreen(props: Props) {
const data = [
{
id: seqId('_rp').toString(),
title: 'Unwelcome commercial content or spam',
title: 'Unwelcome commercial content',
checked: false,
},
{
Expand Down
2 changes: 1 addition & 1 deletion src/biz/MessageList/MessageList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ function useGetReportDefaultData(_tr: (key: string, ...args: any[]) => string) {
return [
{
id: seqId('_rp').toString(),
title: 'Unwelcome commercial content or spam',
title: 'Unwelcome commercial content',
checked: false,
},
{
Expand Down
2 changes: 1 addition & 1 deletion src/i18n/StringSet.cn.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export function createStringSetCn(): StringSet {
'report_button_click_menu_button_cancel': '取消',
'report_button_click_menu_button_report': '举报',

'Unwelcome commercial content or spam': '不受欢迎的商业内容或垃圾内容',
'Unwelcome commercial content': '不受欢迎的商业内容',
'Pornographic or explicit content': '色情或露骨内容',
'Child abuse': '虐待儿童',
'Hate speech or graphic violence': '仇恨言论或过于写实的暴力内容',
Expand Down
3 changes: 1 addition & 2 deletions src/i18n/StringSet.en.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@ export function createStringSetEn(): StringSet {
'report_button_click_menu_button_cancel': 'Cancel',
'report_button_click_menu_button_report': 'Report',

'Unwelcome commercial content or spam':
'Unwelcome commercial content or spam',
'Unwelcome commercial content': 'Unwelcome commercial content',
'Pornographic or explicit content': 'Pornographic or explicit content',
'Child abuse': 'Child abuse',
'Hate speech or graphic violence': 'Hate speech or graphic violence',
Expand Down

0 comments on commit 019073e

Please sign in to comment.