simle-chat
117 строк · 2.9 Кб
1export default {2translation: {3header: {4logoText: 'Hexlet Chat',5button: 'Log Out',6},7authorization: {8login: {9title: 'Log In',10button: 'Log In',11footer: {12text: "Don't have an account? ",13link: 'Sign Up',14},15inputName: {16label: 'Your Nickname',17placeholder: 'Your Nickname',18},19inputPass: {20label: 'Password',21placeholder: 'Password',22},23errors: {24invalidNameOrPass: 'Invalid username or password',25},26},27signUp: {28title: 'Sign Up',29button: 'Sign Up',30inputName: {31label: 'Username',32placeholder: '3 to 20 characters',33},34inputPass: {35label: 'Password',36placeholder: 'At least 6 characters',37},38inputConfirmPass: {39label: 'Confirm Password',40placeholder: 'Passwords must match',41},42},43},44chatPage: {45channels: {46title: 'Channels',47prefix: '# ',48addButton: '+',49changeButton: 'Channel Management',50deleteChannel: 'Delete',51renameChannel: 'Rename',52},53chatField: {54prefix: '# ',55messageCount: {56counter: {57count_one: '{{count}} message',58count_few: '{{count}} messages',59count_many: '{{count}} messages',60},61},62messageInput: {63lable: 'New Message',64placeholder: 'Type your message...',65},66sendButton: 'Send',67},68},69modals: {70addAndRename: {71addChannel: 'Add Channel',72renameChannel: 'Rename Channel',73inputPlaceholder: 'Channel Name',74button: 'Send',75},76delete: {77title: 'Delete Channel',78body: 'Are you sure?',79button: 'Delete',80},81cancelButton: 'Cancel',82},83notFound: {84errorNumber: 404,85exclamation: 'Oops!',86notFound: 'Page Not Found',87goOut: 'But you can go back to the main page',88button: 'Go Back',89},90validationError: {91wronglengthName: '3 to 20 characters',92wronglengthPass: 'At least 6 characters',93invalidPassConfirm: 'Passwords must match',94requiredField: 'This field is required',95thisUserExists: 'This user already exists',96thisNameExists: 'Must be unique',97},98toasts: {99auth: {100unknownErr: 'Unknown error',101networkErr: 'Connection error',102},103addChannel: {104success: 'Channel created',105error: 'Error creating channel',106},107renameChannel: {108success: 'Channel renamed',109error: 'Error renaming channel',110},111deleteChannel: {112success: 'Channel deleted',113error: 'Error deleting channel',114},115},116},117};118