فهرست منبع

1、过滤获取version的url日志打印
2、增加en_gb的国际化

rayson 8 ماه پیش
والد
کامیت
d66b032a34

+ 7 - 3
citu-framework/citu-spring-boot-starter-web/src/main/java/com/citu/framework/i18n/config/LocaleInterceptor.java

@@ -31,16 +31,20 @@ public class LocaleInterceptor implements HandlerInterceptor {
 
         String language = request.getHeader(HttpHeaders.ACCEPT_LANGUAGE);
         Locale locale = null;
-
+        boolean isNotPrint = !request.getRequestURL().toString().contains("/version");
         if (StringUtils.hasText(language)) {
             locale = parseAcceptLanguageHeader(language.replace("-", "_"));
-            log.warn("解析请求国际化语言[{}]", locale);
+            if (isNotPrint) {
+                log.warn("解析请求国际化语言[{}]", locale);
+            }
         }
 
         if (null == locale) {
             // 如果无法解析语言头或者解析失败,则使用默认语言
             locale = Locale.getDefault();
-            log.warn("获取默认国际化语言[{}]", locale);
+            if (isNotPrint) {
+                log.warn("获取默认国际化语言[{}]", locale);
+            }
 
         }
         LocaleContextHolder.setLocale(locale, true);

+ 416 - 0
menduner/menduner-system-biz/src/main/resources/i18n/messages_en_GB.properties

@@ -0,0 +1,416 @@
+# ========== 系统 ==========
+0=Successful
+# ========== 客户端错误段 ==========
+400=incorrect request parameters
+401=account not logged in
+403=no permission for this operation
+404=request not found
+405=incorrect request method
+423=request failed, please try again later # concurrent request, not allowed
+429=request too frequent, please try again later
+
+# ========== 服务端错误段 ==========
+500=system abnormality
+501=function not implemented/not enabled
+502=incorrect configuration item
+# ========== 自定义错误段 ==========
+900=duplicate request, please try again later # duplicate request
+901=demonstration mode, write operation prohibited
+999=unknown error
+# ========== 公共 1_099_000_000 ==========
+1_099_000_001=Status cannot be empty
+1_099_000_002=The modification status must be {value}
+1_099_000_003=Display order cannot be empty
+1_099_000_004=Superior ID cannot be empty
+1_099_000_005=id cannot be empty
+1_099_000_006=User ID cannot be empty
+1_099_000_007=Enterprise ID cannot be empty
+1_099_000_008=User Type cannot be empty
+1_099_000_009=The file format is incorrect and only supports.
+1_099_000_010=File attachment cannot be empty
+1_099_000_011=Illegal request
+# ========== 人才信息-人才档案 1_100_001_000 ==========
+1_100_001_001=Personal Profile Does Not Exist
+1_100_001_002=Personal advantage cannot be empty
+1_100_001_003=Real name cannot be empty
+1_100_001_004=Contact phone number cannot be empty
+1_100_001_005=Birthdate cannot be empty
+1_100_001_006=Work experience cannot be empty
+1_100_001_007=Education cannot be empty
+1_100_001_008=Job search status cannot be empty
+1_100_001_009=City cannot be empty
+1_100_001_010=Frequently used email cannot be empty
+1_100_001_011=Please fill in your personal basic information first
+1_100_001_012=Email number is invalid, please enter the correct email address
+1_100_001_013=Invalid phone number, please enter the correct phone number
+# ========== 行业信息 1_100_002_000 ==========
+1_100_002_001=Industry information does not exist
+# ========== 职位信息 1_100_003_000 ==========
+1_100_003_001=Position information does not exist
+1_100_003_002=Position type cannot be empty
+1_100_003_003=Position name cannot be empty
+# ========== 地区 1_100_004_000 ==========
+1_100_004_001=Region does not exist
+1_100_004_002=Popular regions already exist, please do not add them again
+1_100_004_003=Work area cannot be empty
+# ========== 简历附件 1_100_005_000 ==========
+1_100_005_001=Resume attachment does not exist
+1_100_005_002=Upload a maximum of 5 resume attachments
+# ========== 教育经历 1_100_006_000 ==========
+1_100_006_001=Educational experience does not exist
+1_100_006_002=No education selected
+1_100_006_003=No educational system type selected
+1_100_006_004=No school start date selected
+1_100_006_005=No end date selected for school
+# ========== 求职意向 1_100_007_000 ==========
+1_100_007_001=Job search intention does not exist
+1_100_007_002=No expected position selected
+1_100_007_003=No expected industry selected
+1_100_007_004=No job search type selected
+1_100_007_005=No minimum salary requirement filled in
+1_100_007_006=No maximum salary requirement filled in
+1_100_007_007=No work city selected
+# ========== 专业 1_100_008_000 ==========
+1_100_008_001=Major does not exist
+# ========== 职位标签 1_100_009_000 ==========
+1_100_009_001=Position tag does not exist
+1_100_009_002=Position tag cannot be empty
+# ========== 学校 1_100_010_000 ==========
+1_100_010_001=School does not exist
+# ========== 人才证书 1_100_011_000 ==========
+1_100_011_001=Personnel certificate does not exist
+1_100_011_002=Certificate Chinese name cannot be empty
+1_100_011_003=Certificate English name cannot be empty
+# ========== 工作经历 1_100_012_000 ==========
+1_100_012_001=Work experience does not exist
+1_100_012_002=No start date selected for employment
+1_100_027_003=No end time selected for employment
+# ========== 人才技能 1_100_013_000 ==========
+1_100_013_001=Personnel skill does not exist
+1_100_013_002=The skill already exists
+# ========== 证书 1_100_014_000 ==========
+1_100_014_001=Certificate does not exist
+# ========== 访问量 1_100_015_000 ==========
+1_100_015_001=The traffic does not exist
+1_100_015_002=Business type does not exist
+1_100_015_003=Business ID does not exist
+1_100_015_004=Access date does not exist
+# ========== 用户登录 1_100_016_000 ==========
+1_100_016_001=User does not exist
+1_100_016_002=Unregistered with phone number
+1_100_016_003=Modifying phone failed, the phone number ({}) has already been used
+1_100_016_004=User account already exists
+1_100_016_005=Phone number already exists
+1_100_016_006=Email already exists
+1_100_016_007=Phone number cannot be empty
+1_100_016_008=Importing user data cannot be empty!
+1_100_016_009=User password verification failed
+1_100_016_010=The user named [{}] has been disabled
+1_100_016_011=User creation failed due to exceeding the maximum tenant quota ({}) for tenants!
+1_100_016_012=The new password cannot be empty
+1_100_016_013=Phone verification code cannot be empty
+1_100_016_014=The length of the mobile verification code is 4-6 digits
+1_100_016_015=The length of the phone number is 8-11 digits
+1_100_016_016=Phone verification codes must all be numbers
+1_100_016_017=Password length is 8-36 bits
+1_100_016_018=User ID cannot be empty
+1_100_016_019=Password cannot be empty
+1_100_016_020=User account cannot be empty
+1_100_016_021=This email has been used by another user
+1_100_016_022=Email format incorrect
+1_100_016_023=Email length cannot exceed 255 characters
+1_100_016_024=Email cannot be empty
+1_100_016_025=This phone number has already been used by another user
+# ========== AUTH 模块 1_100_017_000 ==========
+1_100_017_001=Login failed, incorrect account and password
+1_100_017_002=Login failed, account disabled
+1_100_017_003=Login failed, unable to resolve third-party login information
+1_100_017_004=The phone number has already been used
+1_100_017_005=Incorrect verification code, reason: {}
+1_100_017_006=Account not bound, needs to be bound
+1_100_017_007=Token has expired
+1_100_017_008=Phone number does not exist
+1_100_017_009=Sending scene cannot be empty
+1_100_017_010=Phone code cannot be empty
+1_100_017_011=Login code cannot be empty
+1_100_017_012=State cannot be empty
+1_100_017_013=Authorization code cannot be empty
+1_100_017_014=The type of social platform cannot be empty
+1_100_017_015=The verification code cannot be empty
+1_100_017_016=No enterprise selected
+1_100_017_017=Unregistered user, please register individual user first before applying for enterprise user
+1_100_017_018=Access token cannot be empty
+1_100_017_019=Email number not registered
+1_100_017_020=Email verification code incorrect
+1_100_017_021=This is your first login, and the initialization password has been sent to your email
+1_100_017_022=Password is not secure, please change your password and log in
+1_100_017_023=Phone number tried multiple times, please try again after 8 hours
+# ========== 角色模块 1_100_018_000 ==========
+1_100_018_001=Character does not exist
+1_100_018_002=A role named [{}] already exists
+1_100_018_003=A role with code [{}] already exists
+1_100_018_004=Cannot operate on roles with built-in system types
+1_100_018_005=The character named [{}] has been disabled
+1_100_018_006=Encoding [{}] cannot be used
+1_100_018_007=Role number cannot be empty
+1_100_018_008=Role name cannot be empty
+1_100_018_009=The length of the character name cannot exceed 30 characters
+1_100_018_010=Character flag cannot be empty
+1_100_018_011=The character flag cannot exceed 100 characters in length
+1_100_018_012=Data range cannot be empty
+1_100_018_013=The data range must be {value}
+# ========== 企业信息 1_100_019_000 ==========
+1_100_019_001=Enterprise information does not exist
+1_100_019_002=Enterprise code cannot be empty
+1_100_019_003=No company name filled in
+1_100_019_004=Enterprise alias not filled in
+1_100_019_005=Company profile not filled in
+1_100_019_006=No industry selected
+1_100_019_007=No financing stage selected
+1_100_019_008=No personnel size selected
+1_100_019_009=No work hours filled in
+# ========== 企业工商信息  1_100_020_001 ==========
+1_100_020_001=Enterprise business information does not exist
+1_100_020_002=No company name filled in
+1_100_020_003=Unified social credit code not filled in
+1_100_020_004=Business license image recognition failed, please upload clear and legal images again
+# ========== 企业注册申请 1_100_021_000 ==========
+1_100_021_001=The enterprise registration application does not exist
+1_100_021_002=Enterprise registration application has been approved
+1_100_021_003=The enterprise registration application has been approved and cannot be rejected
+1_100_021_004=Enterprise name cannot be empty
+1_100_021_005=Contact number cannot be empty
+1_100_021_006=Contact email cannot be empty
+1_100_021_007=Business license not uploaded
+1_100_021_008=Unified social credit code cannot be empty
+1_100_021_009=Enterprise registered
+1_100_021_010=The enterprise has applied for review, please do not resubmit
+1_100_021_011=Incorrect format of unified social credit code
+1_100_021_012=Unified Social Credit Code has been registered
+1_100_021_013=Contact name cannot be empty
+1_100_021_014=Password cannot be empty
+1_100_021_015=Password length is 8-36 digits
+1_100_021_016=Enterprise registration application in progress
+1_100_021_017=This email has been registered by another company
+# ========== 企业地址 1_100_022_001 ==========
+1_100_022_001=The company address does not exist
+# ========== 企业登录用户 1_100_023_000 ==========
+1_100_023_001=Enterprise login user does not exist
+1_100_023_002=Name cannot be empty
+1_100_023_003=The account has been disabled
+1_100_023_004=This account is an administrator account and cannot be operated
+1_100_023_005=New password cannot be empty
+1_100_023_006=The length of the new password is 8-36 digits
+1_100_023_007=This email has been registered by another company
+1_100_023_008=Enterprise user email cannot be empty
+1_100_023_009=Enterprise user login email format incorrect
+# ========== 企业岗位信息 1_100_024_000 ==========
+1_100_024_001=Enterprise position information does not exist
+1_100_024_002=The Chinese name of the position cannot be empty
+1_100_024_003=Position English cannot be empty
+# ========== 招聘职位 1_100_025_000 ==========
+1_100_025_001=Recruitment position does not exist
+1_100_025_002=Recruitment position ID cannot be empty
+1_100_025_003=Position name cannot be empty
+1_100_025_004=Recruitment type cannot be empty
+1_100_025_005=The publishing user ID cannot be empty
+1_100_025_006=Work experience cannot be empty
+1_100_025_007=Educational requirements cannot be empty
+1_100_025_008=Insufficient account balance
+1_100_025_009=Insufficient account points
+1_100_025_010=Unable to modify the reward balance for published positions
+1_100_025_011=Cannot modify reward points for published positions
+1_100_025_012=Position name ({}) already exists, please modify and save again
+1_100_025_013=The expiration time cannot be less than the current time
+1_100_025_014=Position has been opened, please do not repeat the operation
+1_100_025_015=Position closed, please do not repeat operation
+# ========== 企业招聘者浏览 1_100_026_000 ==========
+1_100_026_001=Enterprise recruiter browsing does not exist
+# ========== 人才-企业关注订阅 1_100_027_000 ==========
+1_100_027_001=Enterprise follow subscription does not exist
+1_100_027_002=Enterprise has followed and subscribed, please do not click again
+# ========== 人才-浏览记录 1_100_028_000 ==========
+1_100_028_001=Browsing history does not exist
+# ========== 人才-招聘职位收藏 1_100_029_000 ==========
+1_100_029_001=Recruitment position collection does not exist
+1_100_029_002=Position has been saved, please do not click again
+# ========== 培训经历 1_100_030_000 ==========
+1_100_030_001=Training experience does not exist
+1_100_030_002=Training start time cannot be empty
+1_100_030_003=Training end time cannot be empty
+1_100_030_004=Training institution name cannot be empty
+1_100_030_005=Training course cannot be empty
+# ========== 项目经历 1_100_031_000 ==========
+1_100_031_001=Project experience does not exist
+1_100_031_002=Project name not filled in
+1_100_031_003=Project start time cannot be empty
+1_100_031_004=Project end time cannot be empty
+# ========== 职业技能 1_100_032_000 ==========
+1_100_032_001=Vocational skill does not exist
+1_100_032_002=There are sub profession skills that cannot be deleted
+1_100_032_003=Parent level vocational skill does not exist
+1_100_032_004=Unable to set oneself as a parent vocational skill
+1_100_032_005=There is already a vocational skill with the Chinese name for this skill
+1_100_032_006=Cannot set one's own child Skill as the parent Skill
+# ========== 面试邀请 1_100_033_000 ==========
+1_100_033_001=Interview invitation does not exist
+1_100_033_002=Invited user ID cannot be empty
+1_100_033_003=Invited user ID cannot be empty
+1_100_033_004=No recruitment position selected
+1_100_033_005=Interview type cannot be empty
+1_100_033_006=Interview time cannot be empty
+1_100_033_007=The contact phone number of the invited party cannot be empty
+1_100_033_008=The contact phone number of the inviting party cannot be empty
+1_100_033_009=Interview address cannot be empty
+1_100_033_010=Interview status cannot be empty
+1_100_033_011=The current interview has not been completed
+1_100_033_012=The current employee has not yet joined and cannot be settled
+1_100_033_013=Settlement function maintenance in progress
+1_100_033_014=Other interviewees have already made appointments during this time period
+1_100_033_015=The interview time cannot be less than the current time
+1_100_033_016=Invitation party's contact phone number format is incorrect
+# ========== 企业用户申请 1_100_034_000 ==========
+1_100_034_001=Enterprise user application does not exist
+1_100_034_002=User application has been approved
+1_100_034_003=The user's application has been approved and cannot be rejected
+1_100_034_005=Applied for review, please do not resubmit
+# ========== 招聘职位简历投递 1_100_035_000 ==========
+1_100_035_001=Recruitment position resume submission does not exist
+1_100_035_002=The position has been submitted
+1_100_035_003=No resume attachment selected
+1_100_035_004=Recruitment position ID cannot be empty
+1_100_035_005=This position is currently not allowed for delivery
+1_100_035_006=Recruitment for this position has been suspended
+1_100_035_007=Resume attachment title cannot be empty
+1_100_035_008=Resume attachment address cannot be empty
+1_100_035_009=Resume status submitted cannot be empty
+1_100_035_010=Resume has been viewed and cannot be retracted
+# ========== 众聘-简历投递 1_100_036_000 ==========
+1_100_036_001=The submitted resume does not exist
+1_100_036_002=The posted position ID cannot be empty
+1_100_036_003=The user ID for posting positions cannot be empty
+1_100_036_004=Referee ID cannot be empty
+1_100_036_005=The delivery user ID cannot be empty
+1_100_036_006=The name of the sender cannot be empty
+1_100_036_007=The contact phone number of the deliveryman cannot be empty
+1_100_036_008=Resume attachment cannot be empty
+# ========== 众聘-佣金比例 1_100_037_000 ==========
+1_100_037_001=Commission ratio does not exist
+1_100_037_002=Commission ratio cannot be empty
+1_100_037_003=Commission ratio cannot be less than 0
+1_100_037_004=The total commission ratio cannot be less than or greater than 100%
+# ========== 用户账户 1_100_038_000 ==========
+1_100_038_001=User account does not exist
+# ========== 账户相关 1_100_039_000 ============
+1_100_039_001=User does not exist
+1_100_039_002=Insufficient user points balance
+1_100_039_003=Variable integral cannot be empty
+1_100_039_004=User balance insufficient
+1_100_039_005=Variable balance cannot be empty
+# ========== 企业邀请码 1_100_040_000 ==========
+1_100_040_001=Enterprise invitation code does not exist
+1_100_040_002=Enterprise ID cannot be empty
+1_100_040_003=User ID cannot be empty
+1_100_040_004=Type cannot be empty
+1_100_040_005=Invitation code cannot be empty
+1_100_040_006=Failure days cannot be empty
+# ========== 企业邀请记录 1_100_041_000 ==========
+1_100_041_001=Enterprise invitation record does not exist
+1_100_041_002=Invited enterprise ID cannot be empty
+1_100_041_003=Invited user ID cannot be empty
+1_100_041_004=Invitation enterprise ID cannot be empty
+1_100_041_005=Invited user ID cannot be empty
+1_100_041_006=Type cannot be empty
+1_100_041_007=Invitation code cannot be empty
+1_100_041_008=Not an enterprise administrator cannot operate to become a subsidiary
+1_100_041_009=The company already has a superior and cannot be operated as a subsidiary
+1_100_041_010=Already joined the enterprise and cannot be operated repeatedly
+1_100_041_011=Please complete personal basic information first
+1_100_041_012=Cannot join the same enterprise
+# ========== 企业实名认证 1_100_043_000 ==========
+1_100_043_001=Enterprise real name authentication does not exist
+1_100_043_002=Authentication user ID cannot be empty
+1_100_043_003=Name cannot be empty
+1_100_043_004=ID card number cannot be empty
+1_100_043_005=ID card front not uploaded
+1_100_043_006=ID card reverse not uploaded
+# ========== 标签管理 1_100_044_000 ==========
+1_100_044_001=Label management does not exist
+1_100_044_002=Chinese name cannot be empty
+1_100_044_003=English name cannot be empty
+1_100_044_004=Label type cannot be empty
+# ========== 猎寻服务 1_100_045_000 ==========
+1_100_045_001=Hunting service does not exist
+1_100_045_002=Name cannot be empty
+1_100_045_003=Enterprise name cannot be empty
+1_100_045_004=Contact information cannot be empty
+1_100_045_005=Data submission frequency has exceeded today's maximum submission count
+# ========== 订单 1_100_046_000 ==========
+1_100_046_001=Order does not exist
+1_100_046_002=Order update payment status failed, order is not in the 'Unpaid' status
+1_100_046_003=Order update payment status failed, payment order number does not match
+1_100_046_004=Order update payment status failed, payment status is not in the 'Payment Successful' state
+1_100_046_005=Order update payment status failed, payment amount does not match
+1_100_046_006=Refund initiated failed, order unpaid
+1_100_046_007=Failed to initiate refund, order has been refunded
+1_100_046_008=Failed to initiate refund, refund order does not exist
+1_100_046_009=Refund initiated failed, refund order not refunded successfully
+1_100_046_010=Failed to initiate refund, refund order number does not match
+1_100_046_011=Failed to initiate refund, refund amount does not match
+1_100_046_012=Product name cannot be empty
+1_100_046_013=Product amount cannot be empty
+1_100_046_014=Transaction order cancellation failed, order is not in the 'Pending Payment' status
+1_100_046_015=Order type cannot be empty
+# ========== 用户实名制 1_100_047_000 ==========
+1_100_047_001=User real name system does not exist
+# ========== 品牌 1_100_048_000 ==========
+1_100_048_001=Brand does not exist
+# ========== 兑换 1_100_049_000 ==========
+1_100_049_001=Exchange does not exist
+1_100_049_002=Product name cannot be empty
+1_100_049_003=Product image address cannot be empty
+1_100_049_004=Redemption points cannot be empty
+1_100_049_005=Contact name cannot be empty
+1_100_049_006=Contact phone number cannot be empty
+1_100_049_007=Product type cannot be empty
+# ========== 人才屏蔽企业关系 1_100_050_000 ==========
+1_100_050_001=Talent blocking enterprise relationship does not exist
+1_100_050_002=Enterprise blocked, please do not click again
+# ========== 用户套餐 1_100_051_000 ==========
+1_100_051_001=User package does not exist
+1_100_051_002=Package name cannot be empty
+1_100_051_003=Package price cannot be empty
+1_100_051_004=Days cannot be empty
+1_100_051_005=Recommended cannot be empty
+1_100_051_006=Instruction text cannot be empty
+1_100_051_007=Resume refresh count cannot be empty
+1_100_051_008=Whether to enable resume blocking cannot be empty
+1_100_051_009=Whether to enable priority recommendation cannot be empty
+1_100_051_010=Whether to enable resume template download cannot be empty
+1_100_051_011=Is it enabled? Who has seen it? I cannot leave it blank
+1_100_051_012=Whether to enable salary report cannot be empty
+# ========== 用户权益记录 1_100_052_000 ==========
+1_100_052_001=User rights record does not exist
+# ========== 企业套餐 1_100_053_000 ==========
+1_100_053_001=Enterprise package does not exist
+1_100_053_002=Package name cannot be empty
+1_100_053_003=Package price cannot be empty
+1_100_053_004=Days cannot be empty
+1_100_053_005=Does it default to not being empty
+1_100_053_006=Recommended cannot be empty
+1_100_053_007=Instruction text cannot be empty
+1_100_053_008=The number of positions allowed to be published cannot be empty
+1_100_053_009=The number of talents allowed to be searched cannot be empty
+# ========== 企业权益记录 1_100_054_000 ==========
+1_100_054_001=Enterprise equity record does not exist
+1_100_054_002=Enterprise credit limit has exceeded
+# ========== 早报资讯 1_100_055_000 ==========
+1_100_055_001=Morning News does not exist
+# ========== 招聘会 1_100_056_000 ==========
+1_100_056_001=The job fair does not exist
+1_100_056_002=Recruitment position ID cannot be empty
+1_100_056_003=The name of the job fair cannot be empty
+1_100_056_004=The job fair time has passed, recruitment is temporarily suspended
+1_100_056_005=You do not have permission to attend this job fair
+# ========== 招聘职位扩展 1_100_057_000 ==========
+1_100_057_001=Recruitment position ID cannot be empty