diff --git a/modules/core/client/app/trans-string-en.js b/modules/core/client/app/trans-string-en.js index 2b237b65..794db2c4 100644 --- a/modules/core/client/app/trans-string-en.js +++ b/modules/core/client/app/trans-string-en.js @@ -14,6 +14,7 @@ var string_en = { COMINGSOON: 'coming soon...', + DEMO_INFO: 'Welcome to demo site, you can sign up manual to create a normal account or sign in as demo admin with account demo and password demoAdmin12#, but don`t delete any demo data please, thanks!', //client topbar menu MENU_CHAT: 'Chat', @@ -468,6 +469,8 @@ SEND_INVITE_SUCCESSFULLY: 'Send invitation successfully', SEND_INVITE_ERROR: 'Send invitation failed', INVALID_INVITATION_TIP: 'Invalid invitation, maybe the invitation is expired.', + INVITATION_IS_EMPTY: 'There are no invitations available!', + INVITATION_USED_IS_EMPTY: 'There are no used invitations!', //user message box MESSAGES_BOX: 'Messages Box', diff --git a/modules/core/client/app/trans-string-zh.js b/modules/core/client/app/trans-string-zh.js index 5dcfa3cb..2c24076e 100644 --- a/modules/core/client/app/trans-string-zh.js +++ b/modules/core/client/app/trans-string-zh.js @@ -14,6 +14,7 @@ var string_zh = { COMINGSOON: '开发中,请稍候...', + DEMO_INFO: '欢迎进入meanTorrent演示站点, 您可以手动注册一个普通帐户或者使用admin演示帐号 demo 与密码 demoAdmin12#登录, 但请不要删除我们的演示数据, 谢谢!', //client topbar menu MENU_CHAT: '聊天室', @@ -468,6 +469,8 @@ SEND_INVITE_SUCCESSFULLY: '发送邀请成功', SEND_INVITE_ERROR: '发送邀请失败', INVALID_INVITATION_TIP: '无效的邀请, 该邀请可能已过期.', + INVITATION_IS_EMPTY: '没有可用的邀请函!', + INVITATION_USED_IS_EMPTY: '没有发送过的邀请!', //user message box MESSAGES_BOX: '站内消息', diff --git a/modules/invitations/client/views/detail.client.view.html b/modules/invitations/client/views/detail.client.view.html index 608dec59..60894dd2 100644 --- a/modules/invitations/client/views/detail.client.view.html +++ b/modules/invitations/client/views/detail.client.view.html @@ -8,7 +8,7 @@ -
+
@@ -21,7 +21,11 @@

-
+
+

{{ 'INVITATION_IS_EMPTY' | translate }}

+
+ +
@@ -58,7 +62,7 @@ -
+
@@ -71,7 +75,11 @@

-
+
+

{{ 'INVITATION_USED_IS_EMPTY' | translate }}

+
+ +
diff --git a/modules/messages/client/views/box.client.view.html b/modules/messages/client/views/box.client.view.html index fab4d31b..7b8b03d3 100644 --- a/modules/messages/client/views/box.client.view.html +++ b/modules/messages/client/views/box.client.view.html @@ -30,7 +30,7 @@
-

{{ 'MESSAGES_IS_EMPTY' | translate }}

+

{{ 'MESSAGES_IS_EMPTY' | translate }}