diff --git a/README.md b/README.md
index 485922d449..b08b6c3a84 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,5 @@
#
-[](https://travis-ci.org/nodebb/nodebb)
+[](https://travis-ci.org/NodeBB/NodeBB)
[](https://david-dm.org/nodebb/nodebb)
[](https://codeclimate.com/github/designcreateplay/NodeBB)
diff --git a/package.json b/package.json
index 9440e3b6b3..01592c9035 100644
--- a/package.json
+++ b/package.json
@@ -58,7 +58,7 @@
"validator": "~3.16.1",
"winston": "~0.7.2",
"xregexp": "~2.0.0",
- "templates.js": "0.0.8"
+ "templates.js": "0.0.13"
},
"devDependencies": {
"mocha": "~1.13.0"
@@ -67,7 +67,7 @@
"url": "https://github.com/NodeBB/NodeBB/issues"
},
"engines": {
- "node": ">=0.8"
+ "node": ">=0.10"
},
"maintainers": [
{
diff --git a/public/language/en_GB/modules.json b/public/language/en_GB/modules.json
index fdaf14dd5b..9bf107bec6 100644
--- a/public/language/en_GB/modules.json
+++ b/public/language/en_GB/modules.json
@@ -13,7 +13,7 @@
"chat.pop-out": "Pop out chat",
"chat.maximize": "Maximize",
- "composer.user_said_in": "%1 said in %2:\n",
- "composer.user_said": "%1 said:\n",
+ "composer.user_said_in": "%1 said in %2:",
+ "composer.user_said": "%1 said:",
"composer.discard": "Are you sure you wish to discard this post?"
}
\ No newline at end of file
diff --git a/public/language/en_GB/pages.json b/public/language/en_GB/pages.json
index a91aec5e8e..3d444963e1 100644
--- a/public/language/en_GB/pages.json
+++ b/public/language/en_GB/pages.json
@@ -5,6 +5,7 @@
"recent": "Recent Topics",
"users": "Registered Users",
"notifications": "Notifications",
+ "tags": "Topics tagged under \"%1\"",
"user.edit": "Editing \"%1\"",
"user.following": "People %1 Follows",
"user.followers": "People who Follow %1",
diff --git a/public/language/en_GB/topic.json b/public/language/en_GB/topic.json
index 8c77751419..c6fe5bc4ad 100644
--- a/public/language/en_GB/topic.json
+++ b/public/language/en_GB/topic.json
@@ -105,6 +105,7 @@
"more_users_and_guests": "%1 more user(s) and %2 guest(s)",
"more_users": "%1 more user(s)",
"more_guests": "%1 more guest(s)",
+ "users_and_others": "%1 and %2 others",
"sort_by": "Sort by",
"oldest_to_newest": "Oldest to Newest",
diff --git a/public/language/et/global.json b/public/language/et/global.json
index 45608e00bf..3cfa44bef3 100644
--- a/public/language/et/global.json
+++ b/public/language/et/global.json
@@ -50,9 +50,9 @@
"read_more": "loe veel",
"posted_ago_by_guest": "postitatud %1 tagasi külalise poolt",
"posted_ago_by": "postitatud %1 tagasi kasutaja %2 poolt",
- "posted_ago": "postitatud %1 tagasi",
+ "posted_ago": "postitatud %1",
"posted_in_ago_by_guest": "postitatud kategooriasse %1 %2 tagasi külalise poolt",
- "posted_in_ago_by": "postitatud kategooriasse %1 %2 aega tagasi kasutaja %3 poolt",
+ "posted_in_ago_by": "postitatud kategooriasse %1 %2 kasutaja %3 poolt",
"posted_in_ago": "postitatud kategooriasse %1 %2 tagasi",
"replied_ago": "vastas %1",
"user_posted_ago": "kasutaja %1 postitas %2 tagasi",
diff --git a/public/language/et/topic.json b/public/language/et/topic.json
index ff182da119..2bb35ffe5a 100644
--- a/public/language/et/topic.json
+++ b/public/language/et/topic.json
@@ -41,7 +41,7 @@
"thread_tools.pin": "Tõsta esile teema",
"thread_tools.unpin": "Märgista teema",
"thread_tools.lock": "Lukusta teema",
- "thread_tools.unlock": "Eemalda märgistatud teema",
+ "thread_tools.unlock": "Taasava teema",
"thread_tools.move": "Liiguta teema",
"thread_tools.move_all": "Liiguta kõik",
"thread_tools.fork": "Fork Topic",
diff --git a/public/language/pt_BR/email.json b/public/language/pt_BR/email.json
index 98e591ab02..92f058e6ff 100644
--- a/public/language/pt_BR/email.json
+++ b/public/language/pt_BR/email.json
@@ -1,20 +1,20 @@
{
- "password-reset-requested": "Password Reset Requested - %1!",
- "welcome-to": "Welcome to %1",
- "greeting_no_name": "Hello",
- "greeting_with_name": "Hello %1",
- "welcome.text1": "Thank you for registering with %1!",
+ "password-reset-requested": "Recuperação de Senha Solicitada - %1!",
+ "welcome-to": "Bem vindo a %1",
+ "greeting_no_name": "Olá",
+ "greeting_with_name": "Olà %1",
+ "welcome.text1": "Obrigado por se registrar com %1!",
"welcome.text2": "To fully activate your account, we need to verify that you own the email address you registered with.",
- "welcome.cta": "Click here to confirm your email address",
+ "welcome.cta": "Clique aqui para confirmar seu endereço de email",
"reset.text1": "We received a request to reset your password, possibly because you have forgotten it. If this is not the case, please ignore this email.",
"reset.text2": "To continue with the password reset, please click on the following link:",
- "reset.cta": "Click here to reset your password",
+ "reset.cta": "Clique aqui para recuperar sua senha",
"digest.notifications": "You have some unread notifications from %1:",
- "digest.latest_topics": "Latest topics from %1",
- "digest.cta": "Click here to visit %1",
+ "digest.latest_topics": "Últimos tópicos de %1",
+ "digest.cta": "Clique aqui para visitar %1",
"digest.unsub.info": "This digest was sent to you due to your subscription settings.",
- "digest.unsub.cta": "Click here to alter those settings",
+ "digest.unsub.cta": "Clique aqui para alterar suas configurações",
"digest.daily.no_topics": "There have been no active topics in the past day",
"test.text1": "This is a test email to verify that the emailer is set up correctly for your NodeBB.",
- "closing": "Thanks!"
+ "closing": "Obrigado!"
}
\ No newline at end of file
diff --git a/public/language/pt_BR/error.json b/public/language/pt_BR/error.json
index 0f1f906336..9dca9b0ae2 100644
--- a/public/language/pt_BR/error.json
+++ b/public/language/pt_BR/error.json
@@ -25,7 +25,7 @@
"no-user": "Usuário não existe",
"no-teaser": "Chamada não existe",
"no-privileges": "Você não possui permissões para esta ação.",
- "no-emailers-configured": "No email plugins were loaded, so a test email could not be sent",
+ "no-emailers-configured": "Nenhum plugin de email foi carregado, por isso o email de teste não pode ser enviado",
"category-disabled": "Categoria desativada",
"topic-locked": "Tópico trancado",
"still-uploading": "Aguarde a conclusão dos uploads.",
diff --git a/public/language/pt_BR/notifications.json b/public/language/pt_BR/notifications.json
index 58e0bda322..08a4240c19 100644
--- a/public/language/pt_BR/notifications.json
+++ b/public/language/pt_BR/notifications.json
@@ -4,9 +4,9 @@
"see_all": "Visualizar todas as notificações",
"back_to_home": "Voltar para %1",
"outgoing_link": "Link Externo",
- "outgoing_link_message": "You are now leaving %1.",
- "continue_to": "Continue to %1",
- "return_to": "Return to %1",
+ "outgoing_link_message": "Você deixou de seguir %1.",
+ "continue_to": "Continuar para %1",
+ "return_to": "Voltar para %1",
"new_notification": "Nova notificação",
"you_have_unread_notifications": "Você possui notificações não lidas.",
"new_message_from": "Nova mensagem de %1",
diff --git a/public/language/ru/email.json b/public/language/ru/email.json
index 98e591ab02..d0fc8fabed 100644
--- a/public/language/ru/email.json
+++ b/public/language/ru/email.json
@@ -1,20 +1,20 @@
{
- "password-reset-requested": "Password Reset Requested - %1!",
- "welcome-to": "Welcome to %1",
- "greeting_no_name": "Hello",
- "greeting_with_name": "Hello %1",
- "welcome.text1": "Thank you for registering with %1!",
- "welcome.text2": "To fully activate your account, we need to verify that you own the email address you registered with.",
- "welcome.cta": "Click here to confirm your email address",
- "reset.text1": "We received a request to reset your password, possibly because you have forgotten it. If this is not the case, please ignore this email.",
- "reset.text2": "To continue with the password reset, please click on the following link:",
- "reset.cta": "Click here to reset your password",
- "digest.notifications": "You have some unread notifications from %1:",
- "digest.latest_topics": "Latest topics from %1",
- "digest.cta": "Click here to visit %1",
- "digest.unsub.info": "This digest was sent to you due to your subscription settings.",
- "digest.unsub.cta": "Click here to alter those settings",
- "digest.daily.no_topics": "There have been no active topics in the past day",
- "test.text1": "This is a test email to verify that the emailer is set up correctly for your NodeBB.",
- "closing": "Thanks!"
+ "password-reset-requested": "Пароль сброшен - %1!",
+ "welcome-to": "Добро пожаловать на %1",
+ "greeting_no_name": "Здравствуйте!",
+ "greeting_with_name": "Здравствуйте, %1!",
+ "welcome.text1": "Благодарим за регистрацию %1! ",
+ "welcome.text2": "Для активации вашей учетной записи мы должны убедиться, что вы указали верный email адрес.",
+ "welcome.cta": "Перейдите по ссылке для подтверждения вашего email",
+ "reset.text1": "Мы получили запрос на изменение вашего пароля. Если не подавали запрос на изменение пароля, пожалуйста, проигнорируйте это сообщение.",
+ "reset.text2": "Для продолжения процедуры изменения пароля, пожалуйста, перейдите по ссылке:",
+ "reset.cta": "Кликните здесь для изменения пароля",
+ "digest.notifications": "У вас есть непрочитанные уведомления от %1:",
+ "digest.latest_topics": "Последние темы %1",
+ "digest.cta": "Кликните здесь для просмотра %1",
+ "digest.unsub.info": "Вам была выслана сводка новостей в соответствии с вашими настройками.",
+ "digest.unsub.cta": "Кликните здесь для изменения ваших настроек.",
+ "digest.daily.no_topics": "За минувший день новых тем нет.",
+ "test.text1": "Это тестовое сообщение для проверки почтового сервиса NodeBB.",
+ "closing": "Спасибо!"
}
\ No newline at end of file
diff --git a/public/language/ru/error.json b/public/language/ru/error.json
index e3afcd6dda..63a6a93355 100644
--- a/public/language/ru/error.json
+++ b/public/language/ru/error.json
@@ -15,7 +15,7 @@
"invalid-pagination-value": "Неверное значение пагинации",
"username-taken": "Имя пользователя занято",
"email-taken": "Email занят",
- "email-not-confirmed": "Your email is not confirmed, please click here to confirm your email.",
+ "email-not-confirmed": "Ваш email не подтвержден, нажмите для подтверждения.",
"username-too-short": "Слишком короткое имя пользователя",
"user-banned": "Пользователь заблокирован",
"no-category": "Несуществующая категория",
@@ -25,10 +25,10 @@
"no-user": "Несуществующий пользователь",
"no-teaser": "Несуществующее превью",
"no-privileges": "У вас недостаточно прав, чтобы совершить данное действие.",
- "no-emailers-configured": "No email plugins were loaded, so a test email could not be sent",
+ "no-emailers-configured": "Не подключен ни один плагин для отправки почты, поэтому тестовый email не может быть отправлен",
"category-disabled": "Категория отключена",
- "topic-locked": "Тема закрыт",
- "still-uploading": "Пожалуйста, подождите завершения загрузки",
+ "topic-locked": "Тема закрыта",
+ "still-uploading": "Пожалуйста, подождите завершения загрузки.",
"content-too-short": "Пост должен содержать минимум %1 символов.",
"title-too-short": "Заголовок должен содержать минимум %1 символов.",
"title-too-long": "Заголовок не может быть длиннее %1 символов.",
diff --git a/public/language/ru/global.json b/public/language/ru/global.json
index ced82c04eb..e83c49da26 100644
--- a/public/language/ru/global.json
+++ b/public/language/ru/global.json
@@ -13,7 +13,7 @@
"please_log_in": "Пожалуйста, войдите под своим аккаунтом",
"logout": "Выйти",
"posting_restriction_info": "Сообщения могут оставлять только зарегистрированные пользователи, нажмите сюда, чтобы войти",
- "welcome_back": "Welcome Back",
+ "welcome_back": "С возвращением",
"you_have_successfully_logged_in": "Вы вышли из аккаунта",
"save_changes": "Сохранить изменения",
"close": "Закрыть",
diff --git a/public/language/ru/groups.json b/public/language/ru/groups.json
index c00c111e11..a82a2bfc4b 100644
--- a/public/language/ru/groups.json
+++ b/public/language/ru/groups.json
@@ -1,7 +1,7 @@
{
- "view_group": "View Group",
- "details.title": "Group Details",
- "details.members": "Member List",
- "details.has_no_posts": "This group's members have not made any posts.",
- "details.latest_posts": "Latest Posts"
+ "view_group": "Просмотр группы",
+ "details.title": "Информация о группе",
+ "details.members": "Список пользователей",
+ "details.has_no_posts": "Пользователями этой группы не публиковали никаких записей",
+ "details.latest_posts": "Последние записи"
}
\ No newline at end of file
diff --git a/public/language/ru/modules.json b/public/language/ru/modules.json
index 92d22ffa20..5cd840d3d0 100644
--- a/public/language/ru/modules.json
+++ b/public/language/ru/modules.json
@@ -1,18 +1,18 @@
{
"chat.chatting_with": "Чат с ",
- "chat.placeholder": "Type chat message here, press enter to send",
+ "chat.placeholder": "Введите сообщение, нажмите ENTER для отправки",
"chat.send": "Отправить",
"chat.no_active": "У вас нет активных чатов.",
"chat.user_typing": "%1 печатает ...",
"chat.user_has_messaged_you": "%1 отправил вам сообщение.",
"chat.see_all": "Просмотр всех диалогов",
- "chat.no-messages": "Please select a recipient to view chat message history",
- "chat.recent-chats": "Recent Chats",
- "chat.contacts": "Contacts",
- "chat.message-history": "Message History",
- "chat.pop-out": "Pop out chat",
- "chat.maximize": "Maximize",
- "composer.user_said_in": "%1 said in %2:",
- "composer.user_said": "%1 said:",
+ "chat.no-messages": "Пожалуйста, выберите собеседника для просмотра истории сообщений",
+ "chat.recent-chats": "Последние переписки",
+ "chat.contacts": "Контакты",
+ "chat.message-history": "История сообщений",
+ "chat.pop-out": "Покинуть диалог",
+ "chat.maximize": "Развернуть",
+ "composer.user_said_in": "%1 сказал %2:",
+ "composer.user_said": "%1 сказал:",
"composer.discard": "Вы уверены, что хотите отказаться от этого поста?"
}
\ No newline at end of file
diff --git a/public/language/ru/notifications.json b/public/language/ru/notifications.json
index fa840319ba..1648ebc8f8 100644
--- a/public/language/ru/notifications.json
+++ b/public/language/ru/notifications.json
@@ -4,9 +4,9 @@
"see_all": "Просмотреть все уведомления",
"back_to_home": "Назад к %1",
"outgoing_link": "Внешняя ссылка",
- "outgoing_link_message": "You are now leaving %1.",
- "continue_to": "Continue to %1",
- "return_to": "Return to %1",
+ "outgoing_link_message": "Вы покидаете %1.",
+ "continue_to": "Перейти на %1",
+ "return_to": "Вернуться к %1",
"new_notification": "Новое Уведомление",
"you_have_unread_notifications": "У вас есть непрочитанные уведомления",
"new_message_from": "Новое сообщение от %1",
diff --git a/public/language/ru/recent.json b/public/language/ru/recent.json
index 6e0ecb69ad..7dabef695e 100644
--- a/public/language/ru/recent.json
+++ b/public/language/ru/recent.json
@@ -3,6 +3,6 @@
"day": "День",
"week": "Неделя",
"month": "Месяц",
- "year": "Year",
+ "year": "Год",
"no_recent_topics": "Нет свежих тем."
}
\ No newline at end of file
diff --git a/public/language/ru/search.json b/public/language/ru/search.json
index d0ffc64f36..5f0a069bef 100644
--- a/public/language/ru/search.json
+++ b/public/language/ru/search.json
@@ -1,3 +1,3 @@
{
- "results_matching": "%1 result(s) matching \"%2\", (%3 seconds)"
+ "results_matching": "%1 результатов по фразе \"%2\", (%3 секунды) "
}
\ No newline at end of file
diff --git a/public/language/ru/topic.json b/public/language/ru/topic.json
index ba7e7662c2..554d1371de 100644
--- a/public/language/ru/topic.json
+++ b/public/language/ru/topic.json
@@ -54,7 +54,7 @@
"topic_move_success": "Эта тема успешно перемещена в %1",
"post_delete_confirm": "Вы уверены, что хотите удалить этот пост?",
"post_restore_confirm": "Вы уверены, что хотите восстановить этот пост?",
- "post_purge_confirm": "Are you sure you want to purge this post?",
+ "post_purge_confirm": "Вы уверены, что хотите очистить эту запись?",
"load_categories": "Загружаем Категории",
"disabled_categories_note": "Отключенные категории затемненны",
"confirm_move": "Перенести",
diff --git a/public/language/ru/user.json b/public/language/ru/user.json
index c3493e26ce..6f3e7c92e2 100644
--- a/public/language/ru/user.json
+++ b/public/language/ru/user.json
@@ -3,7 +3,7 @@
"offline": "Не в сети",
"username": "Имя пользователя",
"email": "Email",
- "confirm_email": "Confirm Email",
+ "confirm_email": "Подтвердить Email",
"fullname": "Полное имя",
"website": "Сайт",
"location": "Откуда",
diff --git a/public/language/ru/users.json b/public/language/ru/users.json
index b4121f10c8..46ebc41b69 100644
--- a/public/language/ru/users.json
+++ b/public/language/ru/users.json
@@ -6,5 +6,5 @@
"enter_username": "Введите имя пользователя для поиска",
"load_more": "Загрузить еще",
"user-not-found": "Пользователь не найден!",
- "users-found-search-took": "Нашел %1 пользователя(ей)! Поиск занял %2 ms."
+ "users-found-search-took": "Нашел %1 пользователя(ей)! Поиск занял %2 мс."
}
\ No newline at end of file
diff --git a/public/language/tr/email.json b/public/language/tr/email.json
index 98e591ab02..96fd81431e 100644
--- a/public/language/tr/email.json
+++ b/public/language/tr/email.json
@@ -1,20 +1,20 @@
{
- "password-reset-requested": "Password Reset Requested - %1!",
- "welcome-to": "Welcome to %1",
- "greeting_no_name": "Hello",
- "greeting_with_name": "Hello %1",
- "welcome.text1": "Thank you for registering with %1!",
- "welcome.text2": "To fully activate your account, we need to verify that you own the email address you registered with.",
- "welcome.cta": "Click here to confirm your email address",
- "reset.text1": "We received a request to reset your password, possibly because you have forgotten it. If this is not the case, please ignore this email.",
- "reset.text2": "To continue with the password reset, please click on the following link:",
- "reset.cta": "Click here to reset your password",
- "digest.notifications": "You have some unread notifications from %1:",
- "digest.latest_topics": "Latest topics from %1",
- "digest.cta": "Click here to visit %1",
- "digest.unsub.info": "This digest was sent to you due to your subscription settings.",
- "digest.unsub.cta": "Click here to alter those settings",
- "digest.daily.no_topics": "There have been no active topics in the past day",
- "test.text1": "This is a test email to verify that the emailer is set up correctly for your NodeBB.",
- "closing": "Thanks!"
+ "password-reset-requested": "Parola Değiştirme İsteği Gönderildi",
+ "welcome-to": "Hoşgeldiniz",
+ "greeting_no_name": "Merhaba",
+ "greeting_with_name": "Merhaba %1",
+ "welcome.text1": "Kaydolduğunuz için teşekkürler!",
+ "welcome.text2": "Hesabınızı aktif hale getirmek için, kaydolduğunuz e-posta adresinin size ait olduğunu onaylamamız gerekiyor.",
+ "welcome.cta": "E-posta adresinizi onaylamak için buraya tıklayın",
+ "reset.text1": "Şifrenizi değiştirmek istediğinize dair bir ileti aldık. Eğer böyle bir istek göndermediyseniz, lütfen bu e-postayı görmezden gelin.",
+ "reset.text2": "Parola değiştirme işlemine devam etmek için aşağıdaki bağlantıya tıklayın:",
+ "reset.cta": "Parolanızı değiştirmek için buraya tıklayın",
+ "digest.notifications": "Okunmamış bazı bildirimleriniz var",
+ "digest.latest_topics": "En güncel konular",
+ "digest.cta": "Ziyaret etmek için buraya tıklayın",
+ "digest.unsub.info": "Bu e-posta seçtiğiniz ayarlar nedeniyle gönderildi.",
+ "digest.unsub.cta": "Bu ayarları değiştirmek için buraya tıklayın",
+ "digest.daily.no_topics": "Geçtiğimiz gün içinde aktif bir konu yok.",
+ "test.text1": "Bu ileti NodeBB e-posta ayarlarınızın doğru çalışıp çalışmadığını kontrol etmek için gönderildi.",
+ "closing": "Teşekkürler!"
}
\ No newline at end of file
diff --git a/public/language/tr/groups.json b/public/language/tr/groups.json
index c00c111e11..804046d192 100644
--- a/public/language/tr/groups.json
+++ b/public/language/tr/groups.json
@@ -1,7 +1,7 @@
{
- "view_group": "View Group",
- "details.title": "Group Details",
- "details.members": "Member List",
- "details.has_no_posts": "This group's members have not made any posts.",
- "details.latest_posts": "Latest Posts"
+ "view_group": "Grubu Gör",
+ "details.title": "Grup Detayları",
+ "details.members": "Üye Listesi",
+ "details.has_no_posts": "Bu grubun üyeleri henüz bir ileti göndermedi.",
+ "details.latest_posts": "En son iletiler"
}
\ No newline at end of file
diff --git a/public/language/tr/search.json b/public/language/tr/search.json
index d0ffc64f36..b384c82c72 100644
--- a/public/language/tr/search.json
+++ b/public/language/tr/search.json
@@ -1,3 +1,3 @@
{
- "results_matching": "%1 result(s) matching \"%2\", (%3 seconds)"
+ "results_matching": "%1 tane “%2“ bulundu (%3 saniye)"
}
\ No newline at end of file
diff --git a/public/language/zh_CN/email.json b/public/language/zh_CN/email.json
index 98e591ab02..ae359e04fb 100644
--- a/public/language/zh_CN/email.json
+++ b/public/language/zh_CN/email.json
@@ -1,20 +1,20 @@
{
- "password-reset-requested": "Password Reset Requested - %1!",
- "welcome-to": "Welcome to %1",
- "greeting_no_name": "Hello",
- "greeting_with_name": "Hello %1",
- "welcome.text1": "Thank you for registering with %1!",
- "welcome.text2": "To fully activate your account, we need to verify that you own the email address you registered with.",
- "welcome.cta": "Click here to confirm your email address",
- "reset.text1": "We received a request to reset your password, possibly because you have forgotten it. If this is not the case, please ignore this email.",
- "reset.text2": "To continue with the password reset, please click on the following link:",
- "reset.cta": "Click here to reset your password",
- "digest.notifications": "You have some unread notifications from %1:",
- "digest.latest_topics": "Latest topics from %1",
- "digest.cta": "Click here to visit %1",
- "digest.unsub.info": "This digest was sent to you due to your subscription settings.",
- "digest.unsub.cta": "Click here to alter those settings",
- "digest.daily.no_topics": "There have been no active topics in the past day",
- "test.text1": "This is a test email to verify that the emailer is set up correctly for your NodeBB.",
- "closing": "Thanks!"
+ "password-reset-requested": "密码重设申请 - %1!",
+ "welcome-to": "欢迎来到 %1",
+ "greeting_no_name": "您好",
+ "greeting_with_name": "%1,您好",
+ "welcome.text1": "谢谢您使用 %1 注册帐户!",
+ "welcome.text2": "如需完全激活您的帐户,我们需要校验您注册的电子邮箱地址。",
+ "welcome.cta": "点击这里确认您的电子邮箱地址",
+ "reset.text1": "我们收到了重置您密码的申请,可能因为您忘记了密码。如果不是,请忽略这封邮件。",
+ "reset.text2": "如需继续重置密码,请点击下面的链接:",
+ "reset.cta": "点击这里重设您的密码",
+ "digest.notifications": "您有一些来自 %1 的未读通知:",
+ "digest.latest_topics": "来自 %1 的最新主题",
+ "digest.cta": "点击这里访问 %1",
+ "digest.unsub.info": "根据您的订阅设置,为您发送此摘要。",
+ "digest.unsub.cta": "点击这里修改这些设置",
+ "digest.daily.no_topics": "最近几天有一些未激活的主题",
+ "test.text1": "这是一封测试邮件,用来验证 NodeBB 的邮件配置是否设置正确。",
+ "closing": "谢谢!"
}
\ No newline at end of file
diff --git a/public/language/zh_CN/groups.json b/public/language/zh_CN/groups.json
index c00c111e11..42cd7e9ccd 100644
--- a/public/language/zh_CN/groups.json
+++ b/public/language/zh_CN/groups.json
@@ -1,7 +1,7 @@
{
- "view_group": "View Group",
- "details.title": "Group Details",
- "details.members": "Member List",
- "details.has_no_posts": "This group's members have not made any posts.",
- "details.latest_posts": "Latest Posts"
+ "view_group": "查看用户组",
+ "details.title": "用户组详情",
+ "details.members": "会员列表",
+ "details.has_no_posts": "此用户组的会员尚未发表任何帖子。",
+ "details.latest_posts": "最新帖子"
}
\ No newline at end of file
diff --git a/public/language/zh_CN/search.json b/public/language/zh_CN/search.json
index d0ffc64f36..acbed61943 100644
--- a/public/language/zh_CN/search.json
+++ b/public/language/zh_CN/search.json
@@ -1,3 +1,3 @@
{
- "results_matching": "%1 result(s) matching \"%2\", (%3 seconds)"
+ "results_matching": "%1 条结果,匹配 \"%2\",(耗时 %3 秒)"
}
\ No newline at end of file
diff --git a/public/src/ajaxify.js b/public/src/ajaxify.js
index fb02bd675c..06e5731983 100644
--- a/public/src/ajaxify.js
+++ b/public/src/ajaxify.js
@@ -96,12 +96,13 @@ var ajaxify = ajaxify || {};
translator.translate(template, function(translatedTemplate) {
setTimeout(function() {
$('#content').html(translatedTemplate);
+
+ ajaxify.variables.parse();
+
ajaxify.widgets.render(tpl_url, url, function() {
$(window).trigger('action:ajaxify.end', {url: url});
});
- ajaxify.variables.parse();
-
$(window).trigger('action:ajaxify.contentLoaded', {url: url});
ajaxify.loadScript(tpl_url);
@@ -203,7 +204,6 @@ var ajaxify = ajaxify || {};
}
var location = document.location || window.location,
- api_url = (url === '' || url === '/') ? 'home' : url,
tpl_url = ajaxify.getCustomTemplateMapping(url.split('?')[0]);
if (!tpl_url) {
@@ -211,7 +211,7 @@ var ajaxify = ajaxify || {};
}
apiXHR = $.ajax({
- url: RELATIVE_PATH + '/api/' + api_url,
+ url: RELATIVE_PATH + '/api/' + url,
cache: false,
success: function(data) {
if (!data) {
@@ -329,9 +329,9 @@ var ajaxify = ajaxify || {};
templates.registerLoader(ajaxify.loadTemplate);
- $.when($.getJSON(RELATIVE_PATH + '/templates/config.json'), $.getJSON(RELATIVE_PATH + '/api/get_templates_listing')).done(function (config_data, templates_data) {
- templatesConfig = config_data[0];
- availableTemplates = templates_data[0];
+ $.getJSON(RELATIVE_PATH + '/api/get_templates_listing', function (data) {
+ templatesConfig = data.templatesConfig;
+ availableTemplates = data.availableTemplates;
app.load();
});
diff --git a/public/src/app.js b/public/src/app.js
index eff176c266..64e5e3e15c 100644
--- a/public/src/app.js
+++ b/public/src/app.js
@@ -413,8 +413,8 @@ var socket,
if (utils.findBootstrapEnvironment() === 'xs') {
return;
}
- $('#header-menu li i[title]').each(function() {
- $(this).parents('a').tooltip({
+ $('#header-menu li [title]').each(function() {
+ $(this).tooltip({
placement: 'bottom',
title: $(this).attr('title')
});
@@ -441,7 +441,7 @@ var socket,
searchButton.show();
}
- searchButton.off().on('click', function(e) {
+ searchButton.on('click', function(e) {
if (!config.loggedIn && !config.allowGuestSearching) {
app.alert({
message:'[[error:search-requires-login]]',
diff --git a/public/src/forum/admin/themes.js b/public/src/forum/admin/themes.js
index c76fea0c9a..6a1b3db477 100644
--- a/public/src/forum/admin/themes.js
+++ b/public/src/forum/admin/themes.js
@@ -1,5 +1,5 @@
"use strict";
-/*global define, socket, app, bootbox, tabIndent, config, RELATIVE_PATH*/
+/*global define, socket, app, bootbox, tabIndent, config, RELATIVE_PATH, templates */
define('forum/admin/themes', ['forum/admin/settings'], function(Settings) {
var Themes = {};
@@ -71,17 +71,17 @@ define('forum/admin/themes', ['forum/admin/settings'], function(Settings) {
if (confirm) {
socket.emit('admin.themes.set', {
type: 'local',
- id: 'nodebb-theme-cerulean'
+ id: 'nodebb-theme-vanilla'
}, function(err) {
if (err) {
return app.alertError(err.message);
}
- highlightSelectedTheme('nodebb-theme-cerulean');
+ highlightSelectedTheme('nodebb-theme-vanilla');
app.alert({
alert_id: 'admin:theme',
type: 'success',
title: 'Theme Changed',
- message: 'You have successfully reverted your NodeBB back to it\'s default theme. Restarting your NodeBB ',
+ message: 'You have successfully reverted your NodeBB back to it\'s default theme.',
timeout: 3500
});
});
@@ -95,34 +95,19 @@ define('forum/admin/themes', ['forum/admin/settings'], function(Settings) {
return app.alertError(err.message);
}
- var instListEl = $('#installed_themes').empty(), liEl;
+ var instListEl = $('#installed_themes');
if (!themes.length) {
instListEl.append($('