~aleteoryx/muditaos

c8ad07c3c00c5c41e81af4b54a5965f9b3551559 — Marcin Zieliński 2 years ago 7a084b8
[MOS-578] Fix misleading SMS notification text

Display "New message", translated accordingly - in
singular - in case there had been multiple unread
SMS messages and now only one remains unread.
M image/system_a/data/lang/Deutsch.json => image/system_a/data/lang/Deutsch.json +1 -0
@@ 274,6 274,7 @@
    "app_desktop_tools_title": "Werkzeuge",
    "app_desktop_unlock": "ENTSPERREN",
    "app_desktop_unread_messages": "<text>Ungelesene Nachrichten</text>",
    "app_desktop_unread_single_message": "<text>Ungelesene Nachricht</text>",
    "app_emoji_input_window": "Emoji",
    "app_meditation_countdown_desc": "Beginnt in",
    "app_meditation_interval_chime": "Glocken-Intervall",

M image/system_a/data/lang/English.json => image/system_a/data/lang/English.json +2 -1
@@ 277,6 277,7 @@
    "app_desktop_tools_title": "Tools",
    "app_desktop_unlock": "UNLOCK",
    "app_desktop_unread_messages": "<text>Unread messages</text>",
    "app_desktop_unread_single_message": "<text>Unread message</text>",
    "app_emoji_input_window": "Emoji",
    "app_meditation_countdown_desc": "Starts in",
    "app_meditation_interval_chime": "Interval chime",


@@ 721,4 722,4 @@
    "tethering_menu_access_decline": "<text>Tethering is on.<br /><br />To access menu,<br />turn tethering off.</text>",
    "tethering_phone_mode_change_prohibited": "<text>Tethering is on.<br /><br />Other modes (Connected, DND,<br />Offline) are overriden by this mode<br />and are not working.</text>",
    "tethering_turn_off_question": "Turn tethering off?"
}
\ No newline at end of file
}

M image/system_a/data/lang/Espanol.json => image/system_a/data/lang/Espanol.json +1 -0
@@ 273,6 273,7 @@
    "app_desktop_tools_title": "Herramientas",
    "app_desktop_unlock": "DESBLOQUEAR",
    "app_desktop_unread_messages": "<text>Mensajes no le\u00eddos</text>",
    "app_desktop_unread_single_message": "<text>Mensaje no le\u00eddo</text>",
    "app_emoji_input_window": "Emoji",
    "app_meditation_countdown_desc": "Empieza en",
    "app_meditation_interval_chime": "Campanilla de intervalo",

M image/system_a/data/lang/Francais.json => image/system_a/data/lang/Francais.json +1 -0
@@ 241,6 241,7 @@
    "app_desktop_tools_title": "Outils",
    "app_desktop_unlock": "D\u00c9V\u00c9ROUILLER",
    "app_desktop_unread_messages": "<text>Messages non lus</text>",
    "app_desktop_unread_single_message": "<text>Message non lu</text>",
    "app_emoji_input_window": "Emoji",
    "app_meditation_countdown_desc": "D\u00e9but dans",
    "app_meditation_interval_chime": "Carillon d'intervalle",

M image/system_a/data/lang/Polski.json => image/system_a/data/lang/Polski.json +1 -0
@@ 266,6 266,7 @@
    "app_desktop_tools_title": "Narz\u0119dzia",
    "app_desktop_unlock": "ODBLOKUJ",
    "app_desktop_unread_messages": "<text>Nowe wiadomo\u015bci</text>",
    "app_desktop_unread_single_message": "<text>Nowa wiadomo\u015b\u0107</text>",
    "app_emoji_input_window": "Emoji",
    "app_meditation_countdown_desc": "Startuje za",
    "app_meditation_interval_chime": "Cykliczny d\u017awi\u0119k",

M image/system_a/data/lang/Svenska.json => image/system_a/data/lang/Svenska.json +2 -1
@@ 144,6 144,7 @@
    "app_desktop_tools_title": "Verktyg",
    "app_desktop_unlock": "L\u00c5S UPP",
    "app_desktop_unread_messages": "<text>Ol\u00e4sta meddelanden</text>",
    "app_desktop_unread_single_message": "<text>Ol\u00e4st meddelande</text>",
    "app_emoji_input_window": "Emoji",
    "app_meditation_interval_chime": "Klinga d\u00e5 och d\u00e5",
    "app_meditation_interval_every_x_minutes": "Var %0:e minut",


@@ 523,4 524,4 @@
    "tethering_phone_mode_change_prohibited": "<text>Internetdelning \u00e4r p\u00e5.<br /><br />Andra l\u00e4gen (ansluten, DND, <br />offline) \u00e5sidos\u00e4tts av detta <br /> l\u00e4ge och fungerar inte.</text>",
    "tethering_turn_off_question": "St\u00e4nga av Internetdelning?",
    "volume_text": "LJUDVOLYM"
}
\ No newline at end of file
}

M module-apps/apps-common/notifications/NotificationsListPresenter.cpp => module-apps/apps-common/notifications/NotificationsListPresenter.cpp +4 -1
@@ 77,7 77,10 @@ auto NotificationsListPresenter::create(const notifications::NotSeenSMSNotificat
    -> NotificationListItem *
{
    auto item = new NotificationWithEventCounter(notifications::NotificationType::NotSeenSms, notification->getValue());
    setNotificationText(item, notification, "app_desktop_unread_messages");
    setNotificationText(item,
                        notification,
                        (notification->getValue() == 1) ? "app_desktop_unread_single_message"
                                                        : "app_desktop_unread_messages");
    item->deleteByList = false;
    return item;
}

M pure_changelog.md => pure_changelog.md +1 -0
@@ 40,6 40,7 @@
* Fixed unresponsive Templates window for user input after templates were changed via MC.
* Fixed USB charging port detection.
* Fixed Template window clearing after all templates are removed.
* Fixed wrong notification about multiple unread messages in case there's only one unread left

## [1.7.0 2023-03-23]
### Changed / Improved