mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 17:51:40 +09:00
Support user config of notification types, fixes #994
코어에서 지원하는 알림 종류 및 알림 수신 방법이 늘어남에 따라, 관리자가 설정한 범위 내에서 회원들이 알림 수신 방법을 선택할 수 있도록 합니다. 기존에는 수신 여부만 선택할 수 있었으나 이제 더 세부적인 설정이 가능합니다. 예를 들어 웹 알림과 푸시알림은 받고, 메일 알림과 문자 알림은 끌 수 있습니다. 이 기능을 지원하기 위해 ncenterlite_user_set 테이블 스키마를 대폭 조정합니다. 기존 설정은 가능하면 그대로 유지하려고 노력하였습니다.
This commit is contained in:
parent
3032784ca7
commit
c52187a8f2
14 changed files with 435 additions and 531 deletions
|
|
@ -2,15 +2,18 @@
|
|||
$lang->ncenterlite = 'Notification Center Lite';
|
||||
$lang->ncenterlite_install_version = 'Installed version';
|
||||
$lang->ncenterlite_advenced_config = 'Advenced Setting';
|
||||
$lang->ncenterlite_document = 'document';
|
||||
$lang->ncenterlite_document = 'post';
|
||||
$lang->ncenterlite_comment = 'comment';
|
||||
$lang->ncenterlite_mention = 'Mention';
|
||||
$lang->ncenterlite_cmd_vote = 'Vote';
|
||||
$lang->ncenterlite_cmd_scrap = 'Scrap';
|
||||
$lang->ncenterlite_comment_comment = 'Reply to Comment';
|
||||
$lang->ncenterlite_admin_content = 'Admin Notification';
|
||||
$lang->ncenterlite_custom = 'Other';
|
||||
$lang->ncenterlite_type_message = 'message';
|
||||
$lang->ncenterlite_type_document = 'New document';
|
||||
$lang->ncenterlite_type_comment = 'New comment';
|
||||
$lang->ncenterlite_type_comment_comment = 'Reply on comment';
|
||||
$lang->ncenterlite_type_mention = 'Mention';
|
||||
$lang->ncenterlite_type_vote = 'Vote';
|
||||
$lang->ncenterlite_type_scrap = 'Scrap';
|
||||
$lang->ncenterlite_type_message = 'Direct message';
|
||||
$lang->ncenterlite_type_test = 'Test notification';
|
||||
$lang->ncenterlite_type_admin_content = 'Admin notification';
|
||||
$lang->ncenterlite_type_custom = 'Other';
|
||||
$lang->ncenterlite_sender = 'Sender';
|
||||
$lang->ncenterlite_addressee = 'Recipient';
|
||||
$lang->ncenterlite_noti_contents = 'Contents';
|
||||
|
|
@ -23,14 +26,14 @@ $lang->ncenterlite_my_settings = 'My notification settings';
|
|||
$lang->ncenterlite_user_settings = 'User notification settings';
|
||||
$lang->ncenterlite_userconfig_title = 'Notification Center Settings of %s';
|
||||
$lang->ncenterlite_userconfig_about = 'Personalized settings of notification center can be controlled by you.';
|
||||
$lang->ncenterlite_comment_noti = 'Comment notice';
|
||||
$lang->ncenterlite_comment_noti_about = 'Get notice of a comment after someone replies to my documents or comments.';
|
||||
$lang->ncenterlite_mention_noti = 'New Direct Message';
|
||||
$lang->ncenterlite_mention_noti_about = 'Get notice of a mention after someone mention me on documents and/or comments. ( @Nickname to mention )';
|
||||
$lang->ncenterlite_message_noti = 'New Message';
|
||||
$lang->ncenterlite_message_noti_about = 'Get notice of a message after someone send the message to me.';
|
||||
$lang->ncenterlite_comment_comment_noti = 'New Comment';
|
||||
$lang->ncenterlite_vote_noti = 'New Upvote';
|
||||
$lang->ncenterlite_comment_noti_about = 'Receive notifications for new comments on my posts.';
|
||||
$lang->ncenterlite_comment_comment_noti_about = 'Receive notifications for replies to my comments.';
|
||||
$lang->ncenterlite_mention_noti_about = 'Receive notifications for mentions (@%s).';
|
||||
$lang->ncenterlite_message_noti_about = 'Receive notifications for direct messages.';
|
||||
$lang->ncenterlite_vote_noti_about = 'Receive notifications when someone votes on my post or comment.';
|
||||
$lang->ncenterlite_scrap_noti_about = 'Receive notifications when someone scraps my post.';
|
||||
$lang->ncenterlite_admin_content_noti_about = 'Receive administrator notifications.';
|
||||
$lang->ncenterlite_custom_noti_about = 'Receive all other notifications.';
|
||||
$lang->ncenterlite_activate = 'Activate';
|
||||
$lang->ncenterlite_inactivate = 'Inactivate';
|
||||
$lang->ncenterlite_userconfig_about_warning = 'Watch out! You are controlling other user\'s settings via this page.';
|
||||
|
|
@ -65,7 +68,6 @@ $lang->ncenterlite_not_have_message = 'You have no new notifications.';
|
|||
$lang->ncenterlite_thisistest = '[*] This is a test notice.';
|
||||
$lang->ncenterlite_delete_all = 'delete all';
|
||||
$lang->ncenterlite_more = 'More';
|
||||
$lang->ncenterlite_stop_login_required = 'Sign in to control your own notification settings.';
|
||||
$lang->ncenterlite_stop_no_permission_other_user = 'You don\'t have the authority to read settings of other members.';
|
||||
$lang->ncenterlite_stop_no_permission_other_user_settings = 'You don\'t have the authority to control settings of other members.';
|
||||
$lang->ncenterlite_message_delete_notification_before = 'Notifications before %s are deleted.';
|
||||
|
|
@ -125,6 +127,11 @@ $lang->anonymous_scrap = 'anonymous scrap';
|
|||
$lang->about_anonymous_scrap = 'anonymize scrapper in scrap notification';
|
||||
$lang->highlight_effect = 'highlight effect';
|
||||
$lang->about_highlight_effect = 'it gives highlight effect to the comment when access the comment URL.';
|
||||
$lang->fail_module_install = 'Failed to install module.';
|
||||
$lang->cmd_web_notify = 'Web';
|
||||
$lang->cmd_mail_notify = 'Email';
|
||||
$lang->cmd_sms_notify = 'SMS';
|
||||
$lang->cmd_push_notify = 'Push';
|
||||
$lang->msg_denger_rhymix_user = '<strong>Warning!</strong> Rhymix includes notification center by default.<br />Please remove this XE-only module and reinstall the Rhymix native version.';
|
||||
|
||||
$lang->ncenterlite_content_type = 'Type of the contents';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue