Skip to content

Commit

Permalink
Added conversation notification strings.
Browse files Browse the repository at this point in the history
  • Loading branch information
TimOrtel committed Jun 13, 2023
1 parent 9585b4b commit 2022e58
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ private fun getLocalizedNotificationGroupName(groupName: String): String {
"tutor-notification" -> R.string.push_notification_settings_group_tutorNotifications
"editor-notification" -> R.string.push_notification_settings_group_editorNotifications
"instructor-notification" -> R.string.push_notification_settings_group_instructorNotifications
"user-notification" -> R.string.push_notification_settings_group_conversationNotification
else -> null
}

Expand Down Expand Up @@ -205,6 +206,8 @@ private fun getLocalizedNotificationSettingName(settingName: String): String {
"tutorial-group-delete-update" -> R.string.push_notification_settings_setting_tutorialGroupUpdateDelete
"tutorial-group-assign-unassign" -> R.string.push_notification_settings_setting_assignUnassignTutorialGroup
"quiz_start_reminder" -> R.string.push_notification_settings_setting_quizStartReminder
"conversation-message" -> R.string.push_notification_setting_setting_newConversationMessages
"new-reply-in-conversation" -> R.string.push_notification_setting_setting_newConversationReplies
else -> null
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
<string name="push_notification_settings_group_tutorNotifications">Tutor Notifications</string>
<string name="push_notification_settings_group_editorNotifications">Editor Notifications</string>
<string name="push_notification_settings_group_instructorNotifications">Instructor Notifications</string>
<string name="push_notification_settings_group_conversationNotification">Conversation Notifications</string>


<string name="push_notification_settings_setting_basicWeeklySummary">Basic Weekly Summary</string>
<string name="push_notification_settings_setting_exerciseReleased">Exercise released</string>
Expand All @@ -42,6 +44,8 @@
<string name="push_notification_settings_setting_tutorialGroupUpdateDelete">Update and Delete of Tutorial Groups</string>
<string name="push_notification_settings_setting_assignUnassignTutorialGroup">Assign and Unassign of Tutorial Groups</string>
<string name="push_notification_settings_setting_quizStartReminder">Quiz start</string>
<string name="push_notification_setting_setting_newConversationMessages">New messages in conversations</string>
<string name="push_notification_setting_setting_newConversationReplies">New replies in conversations</string>

<string name="push_notification_setting_setting_description_basicWeeklySummaryDescription">Receive a basic weekly summary every Friday at 5pm (e.g. what new exercises have been released this week and are still open)"</string>
<string name="push_notification_setting_setting_description_exerciseReleasedDescription">Get notified when a new exercise has been released"</string>
Expand Down

0 comments on commit 2022e58

Please sign in to comment.