| /* |
| * Licensed to the Apache Software Foundation (ASF) under one or more |
| * contributor license agreements. See the NOTICE file distributed with |
| * this work for additional information regarding copyright ownership. |
| * The ASF licenses this file to You under the Apache License, Version 2.0 |
| * (the "License"); you may not use this file except in compliance with |
| * the License. You may obtain a copy of the License at |
| * |
| * https://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, software |
| * distributed under the License is distributed on an "AS IS" BASIS, |
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| * See the License for the specific language governing permissions and |
| * limitations under the License. |
| */ |
| export default { |
| api: { |
| operationFailed: 'Operation failed', |
| errorTip: 'Error Tip', |
| errorMessage: 'The operation failed, the system is abnormal!', |
| timeoutMessage: 'Login timed out, please log in again!', |
| apiTimeoutMessage: 'The interface request timed out, please refresh the page and try again!', |
| apiRequestFailed: 'The interface request failed, please try again later!', |
| networkException: 'network anomaly', |
| networkExceptionMsg: |
| 'Please check if your network connection is normal! The network is abnormal', |
| |
| errMsg401: 'The user does not have permission (token, user name, password error)!', |
| errMsg403: 'The user is authorized, but access is forbidden!', |
| errMsg404: 'Network request error, the resource was not found!', |
| errMsg405: 'Network request error, request method not allowed!', |
| errMsg408: 'Network request timed out!', |
| errMsg500: 'Server error, please contact the administrator!', |
| errMsg501: 'The network is not implemented!', |
| errMsg502: 'Network Error!', |
| errMsg503: 'The service is unavailable, the server is temporarily overloaded or maintained!', |
| errMsg504: 'Network timeout!', |
| errMsg505: 'The http version does not support the request!', |
| error403: |
| "Sorry, you can't access. May be because you don't have permissions or the Sign In is invalid", |
| error404: 'Sorry, resource not found', |
| error501: '<a href="https://streampark.apache.org/">View the official documentation?</a>', |
| error502: |
| '<a href="https://github.com/apache/incubator-streampark/issues/new/choose">report issue ?</a>', |
| errorMsg: 'System error,Please contact the administrator', |
| }, |
| app: { |
| logoutTip: 'Reminder', |
| logoutMessage: 'Confirm to exit the system?', |
| menuLoading: 'Menu loading...', |
| }, |
| errorLog: { |
| tableTitle: 'Error log list', |
| tableColumnType: 'Type', |
| tableColumnDate: 'Time', |
| tableColumnFile: 'File', |
| tableColumnMsg: 'Error message', |
| tableColumnStackMsg: 'Stack info', |
| |
| tableActionDesc: 'Details', |
| |
| modalTitle: 'Error details', |
| |
| fireVueError: 'Fire vue error', |
| fireResourceError: 'Fire resource error', |
| fireAjaxError: 'Fire ajax error', |
| |
| enableMessage: 'Only effective when useErrorHandle=true in `/src/settings/projectSetting.ts`.', |
| }, |
| exception: { |
| backLogin: 'Back Login', |
| backHome: 'Back Home', |
| subTitle403: "Sorry, you don't have access to this page.", |
| subTitle404: 'Sorry, the page you visited does not exist.', |
| subTitle500: 'Sorry, the server is reporting an error.', |
| noDataTitle: 'No data on the current page.', |
| networkErrorTitle: 'Network Error', |
| networkErrorSubTitle: |
| 'Sorry,Your network connection has been disconnected, please check your network!', |
| }, |
| lock: { |
| unlock: 'Click to unlock', |
| alert: 'Lock screen password error', |
| backToLogin: 'Back to login', |
| entry: 'Enter the system', |
| placeholder: 'Please enter the lock screen password or user password', |
| }, |
| login: { |
| backSignIn: 'Back sign in', |
| mobileSignInFormTitle: 'Mobile sign in', |
| qrSignInFormTitle: 'Qr code sign in', |
| signInFormTitle: 'Sign in', |
| signUpFormTitle: 'Sign up', |
| forgetFormTitle: 'Reset password', |
| |
| signInTitle: 'Make stream processing easier!', |
| signInDesc: 'easy-to-use streaming application development framework and operation platform', |
| policy: 'I agree to the xxx Privacy Policy', |
| scanSign: `scanning the code to complete the login`, |
| |
| loginButton: 'Sign in', |
| registerButton: 'Sign up', |
| rememberMe: 'Remember me', |
| forgetPassword: 'Forget Password?', |
| otherSignIn: 'Sign in with', |
| ssoSignIn: 'Sign in with SSO', |
| |
| ldapTip: 'Sign in by LDAP', |
| passwordTip: 'Sign in by password', |
| |
| // notify |
| loginSuccessTitle: 'Login successful', |
| loginSuccessDesc: 'Welcome back', |
| |
| // placeholder |
| accountPlaceholder: 'Please input username', |
| passwordPlaceholder: 'Please input password', |
| oldPasswordPlaceholder: 'Please input old password', |
| newPasswordPlaceholder: 'Please input new password', |
| confirmPasswordPlaceholder: 'Please input confirm password', |
| smsPlaceholder: 'Please input sms code', |
| mobilePlaceholder: 'Please input mobile', |
| policyPlaceholder: 'Register after checking', |
| diffPwd: 'The two passwords are inconsistent', |
| userName: 'Username', |
| password: 'Password', |
| selectTeam: 'Please select a team', |
| oldPassword: 'Old password', |
| newPassword: 'New password', |
| confirmPassword: 'Confirm password', |
| email: 'Email', |
| smsCode: 'SMS code', |
| mobile: 'Mobile', |
| }, |
| permission: { |
| noPermission: 'No permission, please contact the administrator', |
| }, |
| modifyPassword: { |
| title: 'Change Password', |
| success: 'The password has been changed successfully, and you are about to exit the system', |
| logout: 'Immediate exit', |
| }, |
| }; |