simle-chat

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

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.