From e8dff5e23bdf57493327e3f1b56272a2713dd8de Mon Sep 17 00:00:00 2001 From: Yura Imashev Date: Sun, 16 Mar 2014 12:45:14 -0700 Subject: [PATCH 1/2] Fixed place with a rough translation into Russian --- js/interface_localization.js | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/js/interface_localization.js b/js/interface_localization.js index ba96310..49aa560 100644 --- a/js/interface_localization.js +++ b/js/interface_localization.js @@ -797,7 +797,7 @@ if(preferredLanguage == "ru"){ "followed_by": "%{username} подписан", "Followers": "Читателей", "Following": "Читаемых", - "Following users": "Подписанные пользователи", + "Following users": "Читаемые пользователи", "Force connection to peer:": "Принудительно подключиться к пиру:", "General information": "Основное", "Generate blocks (send promoted messages)": "Генерация блоков (отправка рекламных сообщений)", @@ -859,7 +859,7 @@ if(preferredLanguage == "ru"){ "time_ago": "%{time} назад", // 5 minutes ago "Time of the last block:": "Время последнего блока: ", "Top Trends": "Тенденции", - "Type message here": "Введите ваше сообщение тут", + "Type message here": "Введите здесь ваше сообщение", "Unfollow": "Отписаться", "Update": "Обновить", "Updating status...": "Обновление информации...", // status of block chain @@ -874,20 +874,20 @@ if(preferredLanguage == "ru"){ "twister'a).\n\n" + "Хозяйке на заметку: Сейчас вы можете выбрать аватар!", "users_mentions": "Ответ от @%{username}", - "users_profile": "%{username}'s профиль", + "users_profile": "Профиль пользователя %{username}", "username_undefined": "Имя пользователя не определено, требуется войти.", "View": "Просмотреть", - "View All": "Просмотреть Всё", + "View All": "Просмотреть всё", "Who to Follow": "Кого почитать", - "Your message was sent!": "Ваше сообщение было отправлено!", + "Your message was sent!": "Ваше сообщение отправлено!", "twister login": "Вход в twister", - "Existing local users": "Уже зарегистрированные", + "Existing local users": "Предыдущие аккаунты", "Or...": "Или...", - "Create a new user": "Зарегистрировать нового пользователя", + "Create a new user": "Создать новый аккаунт", "Login": "Войти", - "Check availability": "Проверить на доступность", - "Create this nickname": "Зарегистировать этот ник", - "Type nickname here": "Введите ваш ник тут", + "Check availability": "Проверить, занят ли ник", + "Create this nickname": "Создать аккаунт", + "Type nickname here": "Введите ник", "Import secret key": "Импортировать секретный ключ", "52-characters secret": "52-значный ключ", "With nickname": "С логином", From 4aac7a4793ad077ac828d78e149aeb3e4d8d9bc9 Mon Sep 17 00:00:00 2001 From: Yura Imashev Date: Sun, 16 Mar 2014 13:19:12 -0700 Subject: [PATCH 2/2] Fix login error When you import a private key, nickname was not converted to lowercase, which is why an error occurred. --- js/twister_user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/twister_user.js b/js/twister_user.js index 3e8d33f..e30308e 100644 --- a/js/twister_user.js +++ b/js/twister_user.js @@ -171,7 +171,7 @@ function sendNewUserTransaction(username, cbFunc) { function importSecretKeypress() { var secretKey = $(".secret-key-import").val(); - var username = $(".username-import").val(); + var username = $(".username-import").val().toLowerCase(); var $importButton = $(".import-secret-key"); if( secretKey.length == 52 && username.length ) {