A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.
Merge remote-tracking branch 'github/feat/1.1.1/user-center' into beta.2/1.1.0
LinkinStars1de9ef6a8914
diff --cc i18n/en_US.yamlindex 65cb996c,c255d9fb..61c4df19--- a/i18n/en_US.yaml+++ b/i18n/en_US.yaml@@@ -12,25 -12,8 +12,27 @@@ backendother: Unauthorized.database_error:other: Data server error.+ forbidden_error:+ other: Forbidden.+ action:+ report:+ other: Flag+ edit:+ other: Edit+ delete:+ other: Delete+ close:+ other: Close+ reopen:+ other: Reopen+ pin:+ other: Pin+ hide:+ other: Unlist+ unpin:+ other: Unpin+ show:+ other: Listrole:name:user:@@@ -552,7 -530,6 +554,7 @@@ uitip_answer: >-Use comments to reply to other users or notify them of changes. If you areadding new information, edit your post instead of commenting.- tip_vote: It adds something useful to the post++ tip_vote: It adds something useful to the postedit_answer:title: Edit Answerdefault_reason: Edit answer@@@ -834,11 -807,6 +836,11 @@@answered: answeredclosed_in: Closed inshow_exist: Show existing question.+ useful: Useful- question_useful: It is useful and clear- question_un_useful: It is unclear or not useful++ question_useful: It is useful and clear++ question_un_useful: It is unclear or not useful+ answer_useful: It is useful+ answer_un_useful: It is not usefulanswers:title: Answersscore: Scorediff --cc internal/base/reason/reason.goindex 96b9033b,d155c4b5..21fff40f--- a/internal/base/reason/reason.go+++ b/internal/base/reason/reason.go@@@ -46,29 -48,28 +48,29 @@@ constTagNotContainSynonym = "error.tag.not_contain_synonym_tags"TagCannotUpdate = "error.tag.cannot_update"TagIsUsedCannotDelete = "error.tag.is_used_cannot_delete"- TagAlreadyExist = "error.tag.already_exist"- RankFailToMeetTheCondition = "error.rank.fail_to_meet_the_condition"+ TagAlreadyExist = "error.tag.already_exist"+ RankFailToMeetTheCondition = "error.rank.fail_to_meet_the_condition"+ VoteRankFailToMeetTheCondition = "error.rank.vote_fail_to_meet_the_condition"- ThemeNotFound = "error.theme.not_found"- LangNotFound = "error.lang.not_found"- ReportHandleFailed = "error.report.handle_failed"- ReportNotFound = "error.report.not_found"- ReadConfigFailed = "error.config.read_config_failed"- DatabaseConnectionFailed = "error.database.connection_failed"- InstallCreateTableFailed = "error.database.create_table_failed"- InstallConfigFailed = "error.install.create_config_failed"- SiteInfoNotFound = "error.site_info.not_found"- UploadFileSourceUnsupported = "error.upload.source_unsupported"- UploadFileUnsupportedFileFormat = "error.upload.unsupported_file_format"- RecommendTagNotExist = "error.tag.recommend_tag_not_found"- RecommendTagEnter = "error.tag.recommend_tag_enter"- RevisionReviewUnderway = "error.revision.review_underway"- RevisionNoPermission = "error.revision.no_permission"- UserCannotUpdateYourRole = "error.user.cannot_update_your_role"- TagCannotSetSynonymAsItself = "error.tag.cannot_set_synonym_as_itself"- NotAllowedRegistration = "error.user.not_allowed_registration"- SMTPConfigFromNameCannotBeEmail = "error.smtp.config_from_name_cannot_be_email"- AdminCannotUpdateTheirPassword = "error.admin.cannot_update_their_password"- AdminCannotModifySelfStatus = "error.admin.cannot_modify_self_status"+ ThemeNotFound = "error.theme.not_found"+ LangNotFound = "error.lang.not_found"+ ReportHandleFailed = "error.report.handle_failed"+ ReportNotFound = "error.report.not_found"+ ReadConfigFailed = "error.config.read_config_failed"+ DatabaseConnectionFailed = "error.database.connection_failed"+ InstallCreateTableFailed = "error.database.create_table_failed"+ InstallConfigFailed = "error.install.create_config_failed"+ SiteInfoNotFound = "error.site_info.not_found"+ UploadFileSourceUnsupported = "error.upload.source_unsupported"+ UploadFileUnsupportedFileFormat = "error.upload.unsupported_file_format"+ RecommendTagNotExist = "error.tag.recommend_tag_not_found"+ RecommendTagEnter = "error.tag.recommend_tag_enter"+ RevisionReviewUnderway = "error.revision.review_underway"+ RevisionNoPermission = "error.revision.no_permission"+ UserCannotUpdateYourRole = "error.user.cannot_update_your_role"+ TagCannotSetSynonymAsItself = "error.tag.cannot_set_synonym_as_itself"+ NotAllowedRegistration = "error.user.not_allowed_registration"+ SMTPConfigFromNameCannotBeEmail = "error.smtp.config_from_name_cannot_be_email"+ AdminCannotUpdateTheirPassword = "error.admin.cannot_update_their_password"+ AdminCannotModifySelfStatus = "error.admin.cannot_modify_self_status"UserExternalLoginUnbindingForbidden = "error.user.external_login_unbinding_forbidden")