Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@
#define NOTIF_WINDOW_TIMEOUT_INFINITE ((uint32_t)~0)
#define NOTIF_WINDOW_TIMEOUT_DEFAULT (3 * MS_PER_MINUTE)

typedef enum {
NotificationSortNewestFirst = 0,
NotificationSortOldestFirst,
NotificationSortAlphabetical,
NotificationSortModeCount,
} NotificationSortMode;

void alerts_preferences_init(void);

AlertMask alerts_preferences_get_alert_mask(void);
Expand Down Expand Up @@ -52,6 +59,11 @@ NotificationStatusBarStyle alerts_preferences_get_notification_status_bar_style(

void alerts_preferences_set_notification_status_bar_style(NotificationStatusBarStyle style);

NotificationSortMode alerts_preferences_get_notification_sort_mode(void);
void alerts_preferences_set_notification_sort_mode(NotificationSortMode mode);
bool alerts_preferences_get_notification_grouping(void);
void alerts_preferences_set_notification_grouping(bool enable);

bool alerts_preferences_get_vibrate(void);

void alerts_preferences_set_vibrate(bool enable);
Expand Down Expand Up @@ -93,4 +105,3 @@ void alerts_preferences_unlock(void);
//! new value that was placed into the backing store.
//! @param[in] event pointer to the blob DB event
void alerts_preferences_handle_blob_db_event(PebbleBlobDBEvent *event);

21 changes: 21 additions & 0 deletions resources/normal/base/lang/ca_ES/tintin.po
Original file line number Diff line number Diff line change
Expand Up @@ -1246,6 +1246,27 @@ msgstr "Activat"
msgid "Off"
msgstr "Desactivat"

#: ../src/fw/apps/system/settings/notifications.c:54
msgid "Newest first"
msgstr "Més recents primer"

#: ../src/fw/apps/system/settings/notifications.c:54
msgid "Oldest first"
msgstr "Més antics primer"

#: ../src/fw/apps/system/settings/notifications.c:54
msgid "Alphabetical"
msgstr "Alfabètic"
#: ../src/fw/apps/system/settings/notifications.c:64
#: ../src/fw/apps/system/settings/notifications.c:309
msgid "Sort Order"
msgstr "Ordre de classificació"

#: ../src/fw/apps/system/settings/notifications.c:313
msgid "Group Notifications"
msgstr "Agrupa les notificacions"


#: ../src/fw/apps/system/settings/display.c:461
msgid "Ambient Sensor"
msgstr "Sensor ambiental"
Expand Down
12 changes: 12 additions & 0 deletions resources/normal/base/lang/de_DE/tintin.po
Original file line number Diff line number Diff line change
Expand Up @@ -482,6 +482,18 @@ msgstr "Start"
msgid "End"
msgstr "Ende"

msgid "Newest first"
msgstr "Neueste zuerst"
msgid "Oldest first"
msgstr "Älteste zuerst"
msgid "Alphabetical"
msgstr "Alphabetisch"
msgid "Sort Order"
msgstr "Sortierreihenfolge"
msgid "Group Notifications"
msgstr "Benachrichtigungen gruppieren"


#: ../src/fw/applib/voice/voice_window.c:200
msgid "Dictation is not available."
msgstr "Diktieren nicht verfügbar."
Expand Down
13 changes: 13 additions & 0 deletions resources/normal/base/lang/en_TW/tintin.po
Original file line number Diff line number Diff line change
Expand Up @@ -482,6 +482,19 @@ msgstr "Start"
msgid "End"
msgstr "End"

msgid "Newest first"
msgstr "Newest first"
msgid "Oldest first"
msgstr "Oldest first"
msgid "Alphabetical"
msgstr "Alphabetical"
msgid "Sort Order"
msgstr "Sort Order"
msgid "Group Notifications"
msgstr "Group Notifications"



#: ../src/fw/applib/voice/voice_window.c:200
msgid "Dictation is not available."
msgstr "Dictation is not available."
Expand Down
22 changes: 22 additions & 0 deletions resources/normal/base/lang/es_ES/tintin.po
Original file line number Diff line number Diff line change
Expand Up @@ -482,6 +482,28 @@ msgstr "Comienzo"
msgid "End"
msgstr "Final"


#: ../src/fw/apps/system/settings/notifications.c:54
msgid "Newest first"
msgstr "Más recientes primero"
#: ../src/fw/apps/system/settings/notifications.c:54
msgid "Oldest first"
msgstr "Más antiguos primero"

#: ../src/fw/apps/system/settings/notifications.c:54
msgid "Alphabetical"
msgstr "Alfabético"
#: ../src/fw/apps/system/settings/notifications.c:64
#: ../src/fw/apps/system/settings/notifications.c:309
msgid "Sort Order"
msgstr "Orden de clasificación"

#: ../src/fw/apps/system/settings/notifications.c:313
msgid "Group Notifications"
msgstr "Agrupar notificaciones"



#: ../src/fw/applib/voice/voice_window.c:200
msgid "Dictation is not available."
msgstr "Dictado no disponible."
Expand Down
20 changes: 20 additions & 0 deletions resources/normal/base/lang/fr_FR/tintin.po
Original file line number Diff line number Diff line change
Expand Up @@ -481,6 +481,26 @@ msgstr "Début"
msgid "End"
msgstr "Fin"

#: ../src/fw/apps/system/settings/notifications.c:54
msgid "Newest first"
msgstr "Plus récentes en premier"

#: ../src/fw/apps/system/settings/notifications.c:54
msgid "Oldest first"
msgstr "Plus anciennes en premier"
#: ../src/fw/apps/system/settings/notifications.c:54
msgid "Alphabetical"
msgstr "Alphabétique"

#: ../src/fw/apps/system/settings/notifications.c:64
#: ../src/fw/apps/system/settings/notifications.c:309
msgid "Sort Order"
msgstr "Ordre de tri"

#: ../src/fw/apps/system/settings/notifications.c:313
msgid "Group Notifications"
msgstr "Regrouper les notifications"

#: ../src/fw/applib/voice/voice_window.c:200
msgid "Dictation is not available."
msgstr "Dictation vocale indisponible"
Expand Down
21 changes: 21 additions & 0 deletions resources/normal/base/lang/it_IT/tintin.po
Original file line number Diff line number Diff line change
Expand Up @@ -482,6 +482,27 @@ msgstr "Avvia"
msgid "End"
msgstr "Fine"

#: ../src/fw/apps/system/settings/notifications.c:54
msgid "Newest first"
msgstr "Più recenti prima"

#: ../src/fw/apps/system/settings/notifications.c:54
msgid "Oldest first"
msgstr "Più vecchie prima"

#: ../src/fw/apps/system/settings/notifications.c:54
msgid "Alphabetical"
msgstr "Alfabetico"

#: ../src/fw/apps/system/settings/notifications.c:64
#: ../src/fw/apps/system/settings/notifications.c:309
msgid "Sort Order"
msgstr "Ordine di ordinamento"

#: ../src/fw/apps/system/settings/notifications.c:313
msgid "Group Notifications"
msgstr "Raggruppa notifiche"

#: ../src/fw/applib/voice/voice_window.c:200
msgid "Dictation is not available."
msgstr "Dettatura non disponibile"
Expand Down
23 changes: 23 additions & 0 deletions resources/normal/base/lang/ja_JP/tintin.po
Original file line number Diff line number Diff line change
Expand Up @@ -480,6 +480,29 @@ msgstr "開始"
msgid "End"
msgstr "終了"

#: ../src/fw/apps/system/settings/notifications.c:54
msgid "Newest first"
msgstr "新しい順"

#: ../src/fw/apps/system/settings/notifications.c:54
msgid "Oldest first"
msgstr "古い順"

#: ../src/fw/apps/system/settings/notifications.c:54
msgid "Alphabetical"
msgstr "アルファベット順"

#: ../src/fw/apps/system/settings/notifications.c:64
#: ../src/fw/apps/system/settings/notifications.c:309
msgid "Sort Order"
msgstr "並び順"

#: ../src/fw/apps/system/settings/notifications.c:313
msgid "Group Notifications"
msgstr "通知をグループ化"



#: ../src/fw/applib/voice/voice_window.c:200
msgid "Dictation is not available."
msgstr "音声入力は利用できません。"
Expand Down
23 changes: 23 additions & 0 deletions resources/normal/base/lang/nl_NL/tintin.po
Original file line number Diff line number Diff line change
Expand Up @@ -481,6 +481,29 @@ msgstr "Start"
msgid "End"
msgstr "End"


#: ../src/fw/apps/system/settings/notifications.c:54
msgid "Newest first"
msgstr "Nieuwste eerst"

#: ../src/fw/apps/system/settings/notifications.c:54
msgid "Oldest first"
msgstr "Oudste eerst"

#: ../src/fw/apps/system/settings/notifications.c:54
msgid "Alphabetical"
msgstr "Alfabetisch"

#: ../src/fw/apps/system/settings/notifications.c:64
#: ../src/fw/apps/system/settings/notifications.c:309
msgid "Sort Order"
msgstr "Sorteervolgorde"

#: ../src/fw/apps/system/settings/notifications.c:313
msgid "Group Notifications"
msgstr "Meldingen groeperen"


#: ../src/fw/applib/voice/voice_window.c:200
msgid "Dictation is not available."
msgstr "Dictation is not available."
Expand Down
19 changes: 19 additions & 0 deletions resources/normal/base/lang/pl_PL/tintin.po
Original file line number Diff line number Diff line change
Expand Up @@ -484,6 +484,25 @@ msgstr "Start"
msgid "End"
msgstr "Koniec"

#: ../src/fw/apps/system/settings/notifications.c:54
msgid "Newest first"
msgstr "Najnowsze najpierw"
#: ../src/fw/apps/system/settings/notifications.c:54
msgid "Oldest first"
msgstr "Najstarsze najpierw"
#: ../src/fw/apps/system/settings/notifications.c:54
msgid "Alphabetical"
msgstr "Alfabetycznie"

#: ../src/fw/apps/system/settings/notifications.c:64
#: ../src/fw/apps/system/settings/notifications.c:309
msgid "Sort Order"
msgstr "Kolejność sortowania"

#: ../src/fw/apps/system/settings/notifications.c:313
msgid "Group Notifications"
msgstr "Grupuj powiadomienia"

#: ../src/fw/applib/voice/voice_window.c:200
msgid "Dictation is not available."
msgstr "Dyktowanie jest niedostępne."
Expand Down
21 changes: 21 additions & 0 deletions resources/normal/base/lang/pt_PT/tintin.po
Original file line number Diff line number Diff line change
Expand Up @@ -482,6 +482,27 @@ msgstr "Inicio"
msgid "End"
msgstr "Fim"

#: ../src/fw/apps/system/settings/notifications.c:54
msgid "Newest first"
msgstr "Mais recentes primeiro"

#: ../src/fw/apps/system/settings/notifications.c:54
msgid "Oldest first"
msgstr "Mais antigas primeiro"

#: ../src/fw/apps/system/settings/notifications.c:54
msgid "Alphabetical"
msgstr "Alfabético"

#: ../src/fw/apps/system/settings/notifications.c:64
#: ../src/fw/apps/system/settings/notifications.c:309
msgid "Sort Order"
msgstr "Ordem de classificação"
#: ../src/fw/apps/system/settings/notifications.c:313
msgid "Group Notifications"
msgstr "Agrupar notificações"


#: ../src/fw/applib/voice/voice_window.c:200
msgid "Dictation is not available."
msgstr "Ditado não disponível."
Expand Down
20 changes: 20 additions & 0 deletions resources/normal/base/lang/ru_RU/tintin.po
Original file line number Diff line number Diff line change
Expand Up @@ -482,6 +482,26 @@ msgstr "Start"
msgid "End"
msgstr "End"

#: ../src/fw/apps/system/settings/notifications.c:54
msgid "Newest first"
msgstr "Newest first"
#: ../src/fw/apps/system/settings/notifications.c:54
msgid "Oldest first"
msgstr "Oldest first"
#: ../src/fw/apps/system/settings/notifications.c:54
msgid "Alphabetical"
msgstr "Alphabetical"

#: ../src/fw/apps/system/settings/notifications.c:64
#: ../src/fw/apps/system/settings/notifications.c:309
msgid "Sort Order"
msgstr "Sort Order"

#: ../src/fw/apps/system/settings/notifications.c:313
msgid "Group Notifications"
msgstr "Group Notifications"


#: ../src/fw/applib/voice/voice_window.c:200
msgid "Dictation is not available."
msgstr "Dictation is not available."
Expand Down
23 changes: 23 additions & 0 deletions resources/normal/base/lang/tintin.pot
Original file line number Diff line number Diff line change
Expand Up @@ -585,6 +585,29 @@ msgstr ""
msgid "End"
msgstr ""


#: ../src/fw/apps/system/settings/notifications.c:54
msgid "Newest first"
msgstr "Newest firs"

#: ../src/fw/apps/system/settings/notifications.c:54
msgid "Oldest first"
msgstr "Oldest first"

#: ../src/fw/apps/system/settings/notifications.c:54
msgid "Alphabetical"
msgstr "Alphabetical"

#: ../src/fw/apps/system/settings/notifications.c:64
#: ../src/fw/apps/system/settings/notifications.c:309
msgid "Sort Order"
msgstr "Sort Order"

#: ../src/fw/apps/system/settings/notifications.c:313
msgid "Group Notifications"
msgstr "Group Notifications"


#: ../src/fw/applib/voice/voice_window.c:200
msgid "Dictation is not available."
msgstr ""
Expand Down
20 changes: 20 additions & 0 deletions resources/normal/base/lang/uk-UA/tintin.po
Original file line number Diff line number Diff line change
Expand Up @@ -476,6 +476,26 @@ msgstr "Початок"
msgid "End"
msgstr "Кінець"

#: ../src/fw/apps/system/settings/notifications.c:54
msgid "Newest first"
msgstr "Спочатку новіші"

#: ../src/fw/apps/system/settings/notifications.c:54
msgid "Oldest first"
msgstr "Спочатку старіші"

#: ../src/fw/apps/system/settings/notifications.c:54
msgid "Alphabetical"
msgstr "За алфавітом"
#: ../src/fw/apps/system/settings/notifications.c:64
#: ../src/fw/apps/system/settings/notifications.c:309
msgid "Sort Order"
msgstr "Порядок сортування"

#: ../src/fw/apps/system/settings/notifications.c:313
msgid "Group Notifications"
msgstr "Групувати сповіщення"

#: ../src/fw/applib/voice/voice_window.c:200
msgid "Dictation is not available."
msgstr "Диктування не доступне."
Expand Down
Loading