Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This PR updates the move-to-folder snackbar messaging to use dedicated “moved to Spam” strings (including plural forms) when the destination folder is Spam.
Changes:
- Add new
snackbarMessageMovedToSpamandsnackbarThreadMovedToSpamstring resources across multiple locales. - Update
MainViewModel.showMoveSnackbar()to switch snackbar text based on whether the destination folder role isSPAM. - Refactor snackbar title construction into helper methods for threads vs. single message moves.
Reviewed changes
Copilot reviewed 14 out of 14 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| app/src/main/res/values/strings.xml | Adds new default-locale Spam snackbar string + plurals. |
| app/src/main/res/values-sv/strings.xml | Adds Swedish Spam snackbar string + plurals. |
| app/src/main/res/values-pt/strings.xml | Adds Portuguese Spam snackbar string + plurals. |
| app/src/main/res/values-pl/strings.xml | Adds Polish Spam snackbar string + plurals (with few/many). |
| app/src/main/res/values-nl/strings.xml | Adds Dutch Spam snackbar string + plurals. |
| app/src/main/res/values-nb/strings.xml | Adds Norwegian Bokmål Spam snackbar string + plurals. |
| app/src/main/res/values-it/strings.xml | Adds Italian Spam snackbar string + plurals. |
| app/src/main/res/values-fr/strings.xml | Adds French Spam snackbar string + plurals. |
| app/src/main/res/values-fi/strings.xml | Adds Finnish Spam snackbar string + plurals. |
| app/src/main/res/values-es/strings.xml | Adds Spanish Spam snackbar string + plurals. |
| app/src/main/res/values-el/strings.xml | Adds Greek Spam snackbar string + plurals. |
| app/src/main/res/values-de/strings.xml | Adds German Spam snackbar string + plurals. |
| app/src/main/res/values-da/strings.xml | Adds Danish Spam snackbar string + plurals. |
| app/src/main/java/com/infomaniak/mail/ui/MainViewModel.kt | Chooses Spam-specific snackbar text when destination role is Spam and extracts helpers. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
56370b9 to
c4b1f78
Compare
f5e9d15 to
86f16ce
Compare
|
FabianDevel
approved these changes
Apr 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



No description provided.