-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e8e68fb
commit 70f413b
Showing
15 changed files
with
278 additions
and
111 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
import { exists } from "i18next"; | ||
|
||
export default { | ||
translation: { | ||
loginForm: { | ||
title: 'Login', | ||
username: 'Your nickname', | ||
password: 'Password', | ||
span: 'Don\'t have an account?', | ||
error: 'Incorrect username or password', | ||
}, | ||
navBar: { | ||
title: 'Hexlet Chat', | ||
button: 'Logout', | ||
}, | ||
channels: { | ||
title: 'Channels', | ||
setupChannel: 'Manage channel', | ||
dropdownButtonRemove: 'Delete', | ||
dropdownButtonRename: 'Rename', | ||
create: 'Channel created', | ||
rename: 'Channel renamed', | ||
delete: 'Channel deleted', | ||
}, | ||
modal: { | ||
name: 'Channel Name', | ||
addButton: 'Add Channel', | ||
cancel: 'Cancel', | ||
send: 'Send', | ||
removeChannel: 'Remove Channel', | ||
removeText: 'Are you sure?', | ||
removeButton: 'Remove', | ||
renameChannel: 'Rename Channel', | ||
schema: { | ||
required: 'Required field', | ||
minMax: '3 to 20 characters', | ||
notOneOf: 'Must be unique', | ||
} | ||
}, | ||
countMessages: { | ||
messages_one: '{{count}} message', | ||
messages_few: '{{count}} messages', | ||
messages_many: '{{count}} messages', | ||
}, | ||
isChannelsLoading: 'Loading...', | ||
formMesseges: { | ||
placeholder: 'Enter a message...', | ||
button: 'Submit', | ||
input: 'New message', | ||
}, | ||
errors: { | ||
axiosError: 'Connection error', | ||
pageNotFound: 'Page not found', | ||
}, | ||
redirect: 'But you can go to ', | ||
redirectOnMainPage: 'the main page', | ||
signUpForm: { | ||
signUp: 'Register', | ||
username: 'Username', | ||
confirmPassword: 'Confirm password', | ||
invalidConfirmPassword: 'Passwords must match', | ||
signUpButton: 'Register', | ||
minSymbolForPassword: 'At least 6 characters', | ||
oneOfPassword: 'Passwords must match', | ||
existsUser: 'This user already exists', | ||
} | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
import ru from './ru.js'; | ||
import en from './en.js'; | ||
|
||
export default { | ||
ru, | ||
en, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters