refactor: moving "notification_action_replied" string to strings_mo.xml

This commit is contained in:
LucasGGamerM
2023-03-04 10:07:28 -03:00
parent e964b76302
commit 338e164143
3 changed files with 3 additions and 7 deletions

View File

@@ -290,7 +290,7 @@ public class PushNotificationReceiver extends BroadcastReceiver{
.setDefaults(Notification.DEFAULT_SOUND | Notification.DEFAULT_VIBRATE); .setDefaults(Notification.DEFAULT_SOUND | Notification.DEFAULT_VIBRATE);
Notification repliedNotification = builder.setSmallIcon(R.drawable.ic_ntf_logo) Notification repliedNotification = builder.setSmallIcon(R.drawable.ic_ntf_logo)
.setContentText(context.getString(R.string.sk_notification_action_replied, notification.status.account.getDisplayUsername())) .setContentText(context.getString(R.string.mo_notification_action_replied, notification.status.account.getDisplayUsername()))
.build(); .build();
notificationManager.notify(accountID, notificationId, repliedNotification); notificationManager.notify(accountID, notificationId, repliedNotification);
} }

View File

@@ -26,6 +26,8 @@
<string name="mo_disable_relocate_publish_button_to_enable_customization">Disable "Relocate publish button" to allow customization</string> <string name="mo_disable_relocate_publish_button_to_enable_customization">Disable "Relocate publish button" to allow customization</string>
<string name="mo_disable_reminder_to_add_alt_text">Disable reminder to add alt text</string> <string name="mo_disable_reminder_to_add_alt_text">Disable reminder to add alt text</string>
<string name="mo_add_custom_server_local_timeline">Add a custom server\'s local timeline</string> <string name="mo_add_custom_server_local_timeline">Add a custom server\'s local timeline</string>
<string name="mo_notification_action_replied">Successfully replied to the post by %s</string>
<!-- accessibility labels--> <!-- accessibility labels-->
<string name="mo_poll_option_add">Add new poll option</string> <string name="mo_poll_option_add">Add new poll option</string>

View File

@@ -262,10 +262,4 @@
<string name="sk_follow_as">Follow from other account</string> <string name="sk_follow_as">Follow from other account</string>
<string name="sk_followed_as">Followed from %s</string> <string name="sk_followed_as">Followed from %s</string>
<string name="sk_settings_hide_fab">Auto-hide Compose button</string> <string name="sk_settings_hide_fab">Auto-hide Compose button</string>
<string name="sk_notification_action_favorite">Favorite</string>
<string name="sk_notification_action_bookmark">Bookmark</string>
<string name="sk_notification_action_boost">Boost</string>
<string name="sk_notification_action_unboost">Unboost</string>
<string name="sk_notification_action_reply">Reply</string>
<string name="sk_notification_action_replied">Successfully replied to the post by %s</string>
</resources> </resources>