Skip to content

Commit

Permalink
update known network error
Browse files Browse the repository at this point in the history
  • Loading branch information
AderanFeng committed Feb 27, 2024
1 parent 5faef7a commit 87cae6b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ object FlatErrorHandler {

FlatErrorCode.Web.RoomCreateLimit -> context.getString(R.string.pay_room_reached_limit)

else -> context.getString(R.string.error_string_network, "${error.code}")
else -> context.getString(R.string.error_string_known_network, "${error.code}")
}
}
}
2 changes: 1 addition & 1 deletion app/src/main/res/values-zh/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ Flat 账号一旦被注销相关数据将不可恢复,请你在操作注销之
<string name="error_request_too_frequently">请求太过频繁</string>
<string name="error_request_common_fail">请求失败</string>
<string name="request_common_success">操作成功</string>
<string name="error_string_network">请求失败(%1$s),请检查网络</string>
<string name="error_string_known_network">未知网络错误(%1$s)</string>

<string name="error_user_not_found">用户不存在</string>
<string name="error_user_room_list_not_empty">房间列表非空</string>
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ Translated with www.DeepL.com/Translator (free version)"</string>
<string name="error_request_too_frequently">request too frequently</string>
<string name="error_request_common_fail">request fail</string>
<string name="request_common_success">success</string>
<string name="error_string_network">network error (%1$s)</string>
<string name="error_string_known_network">known network error (%1$s)</string>

<string name="error_user_not_found">user not found</string>
<string name="error_user_room_list_not_empty">room list not empty</string>
Expand Down

0 comments on commit 87cae6b

Please sign in to comment.