Skip to content

Commit 1cc577d

Browse files
authored
Add time trial goal notifications to inform players when they reach their time trial goals. (#629)
* add session command ttr * Implement time trial record notification toast * change variable name * add translations and toast setting * fix time trial notification settings not being applied * fixed mapId variable data type and digit count issues * fix type in de.json
1 parent df73dc3 commit 1cc577d

18 files changed

Lines changed: 176 additions & 2 deletions

lang/ar.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,12 @@
309309
"badgeUnlocked": "تم الحصول على الشارة"
310310
}
311311
},
312+
"timeTrials": {
313+
"label": "Time Trials",
314+
"fields": {
315+
"goalReached": "Goal Reached"
316+
}
317+
},
312318
"screenshots": {
313319
"label": "لقطات الشاشة",
314320
"fields": {
@@ -931,6 +937,9 @@
931937
"saveUpToDate": "تم تحديث ملف الحفظ.",
932938
"saveCleared": "تم مسح بيانات مزامنة ملف الحفظ، لن يؤثر هذا على عمليات الحفظ الحالية على أي من أجهزتك.",
933939
"saveReminder": "تذكر أن تقوم بالحفظ بشكل متكرر وأن تقوم بعمل نسخة احتياطية من ملفات الحفظ الخاصة بك حتى لا تفقد تقدمك."
940+
},
941+
"timeTrials": {
942+
"timeTrialsComplete": "Goal! {CATEGORY} completed in {TIME}."
934943
}
935944
},
936945
"events": {

lang/de.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,12 @@
309309
"badgeUnlocked": "Abzeichen freigeschaltet"
310310
}
311311
},
312+
"timeTrials": {
313+
"label": "Time Trials",
314+
"fields": {
315+
"goalReached": "Goal Reached"
316+
}
317+
},
312318
"screenshots": {
313319
"label": "Screenshots",
314320
"fields": {
@@ -931,6 +937,9 @@
931937
"saveUpToDate": "Save ist up to date.",
932938
"saveCleared": "Save-Sync Datem wurden geleert. Dies beeinflusst existierende Saves auf deinen Geräten nicht.",
933939
"saveReminder": "Vergiss nicht oft zu speichern und deine Saves lokal als Backup herunterzuladen, um keinen Fortschritt zu verlieren."
940+
},
941+
"timeTrials": {
942+
"timeTrialsComplete": "Goal! {CATEGORY} completed in {TIME}."
934943
}
935944
},
936945
"events": {

lang/en.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,12 @@
309309
"badgeUnlocked": "Badge Unlocked"
310310
}
311311
},
312+
"timeTrials": {
313+
"label": "Time Trials",
314+
"fields": {
315+
"goalReached": "Goal Reached"
316+
}
317+
},
312318
"screenshots": {
313319
"label": "Screenshots",
314320
"fields": {
@@ -931,6 +937,9 @@
931937
"saveUpToDate": "Save data is up to date.",
932938
"saveCleared": "Save Sync data has been cleared. This will not affect existing saves on any of your devices.",
933939
"saveReminder": "Remember to save often and to backup your save files in order not to lose your progress."
940+
},
941+
"timeTrials": {
942+
"timeTrialsComplete": "Goal! {CATEGORY} completed in {TIME}."
934943
}
935944
},
936945
"events": {

lang/eo.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,12 @@
309309
"badgeUnlocked": "Insigno Malŝlosis"
310310
}
311311
},
312+
"timeTrials": {
313+
"label": "Time Trials",
314+
"fields": {
315+
"goalReached": "Goal Reached"
316+
}
317+
},
312318
"screenshots": {
313319
"label": "Ekrankopioj",
314320
"fields": {
@@ -931,6 +937,9 @@
931937
"saveUpToDate": "Konservdatumoj estas ĝisdataj.",
932938
"saveCleared": "Sinkronigitajn Konservdatumojn forigis. Ĉi tiu ago ne influos konservojn en iuj aliaj aparatoj.",
933939
"saveReminder": "Memoru konservi ofte kaj faru lokan sekurkopion de viaj konservdosieroj por ne perdi vian progreson."
940+
},
941+
"timeTrials": {
942+
"timeTrialsComplete": "Goal! {CATEGORY} completed in {TIME}."
934943
}
935944
},
936945
"events": {

lang/es.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,12 @@
309309
"badgeUnlocked": "Medalla Desbloqueada"
310310
}
311311
},
312+
"timeTrials": {
313+
"label": "Time Trials",
314+
"fields": {
315+
"goalReached": "Goal Reached"
316+
}
317+
},
312318
"screenshots": {
313319
"label": "Screenshots",
314320
"fields": {
@@ -931,6 +937,9 @@
931937
"saveUpToDate": "La ranura sincronizada se encuentra actualizada.",
932938
"saveCleared": "Se ha limpiado la información de sincronización de savefiles. Esto no afectará savefiles ya existentes en otros dispositivos.",
933939
"saveReminder": "Remember to save often and to backup your save files in order not to lose your progress."
940+
},
941+
"timeTrials": {
942+
"timeTrialsComplete": "You reached {LOCATION} in {TIME}."
934943
}
935944
},
936945
"events": {

lang/fr.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,12 @@
309309
"badgeUnlocked": "Badge débloqué"
310310
}
311311
},
312+
"timeTrials": {
313+
"label": "Time Trials",
314+
"fields": {
315+
"goalReached": "Goal Reached"
316+
}
317+
},
312318
"screenshots": {
313319
"label": "Captures d'écran",
314320
"fields": {
@@ -931,6 +937,9 @@
931937
"saveUpToDate": "Les données de sauvegarde sont à jour.",
932938
"saveCleared": "Les données de synchronisation de sauvegardes ont été effacées. Cela n'affectera pas les sauvegardes existantes sur aucun de vos appareils.",
933939
"saveReminder": "N'oubliez pas de sauvegarder souvent et de faire des copies de vos données de jeu de sorte à ce que vous ne puissiez pas perdre votre progression si un pépin vous arrive."
940+
},
941+
"timeTrials": {
942+
"timeTrialsComplete": "You reached {LOCATION} in {TIME}."
934943
}
935944
},
936945
"events": {

lang/it.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,12 @@
309309
"badgeUnlocked": "Medaglia Sbloccata"
310310
}
311311
},
312+
"timeTrials": {
313+
"label": "Time Trials",
314+
"fields": {
315+
"goalReached": "Goal Reached"
316+
}
317+
},
312318
"screenshots": {
313319
"label": "Screenshots",
314320
"fields": {
@@ -931,6 +937,9 @@
931937
"saveUpToDate": "Lo slot sincronizzato è stato aggiornato.",
932938
"saveCleared": "Le informazioni di sincronizzazione di questo dato di salvataggio sono state svuotate. Questo non influenzerà dati di salvataggio già esistenti su altri dispositivi.",
933939
"saveReminder": "Remember to save often and to backup your save files in order not to lose your progress."
940+
},
941+
"timeTrials": {
942+
"timeTrialsComplete": "You reached {LOCATION} in {TIME}."
934943
}
935944
},
936945
"events": {

lang/ja.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,12 @@
309309
"badgeUnlocked": "バッジ獲得通知"
310310
}
311311
},
312+
"timeTrials": {
313+
"label": "スピードラン",
314+
"fields": {
315+
"goalReached": "ゴール記録通知"
316+
}
317+
},
312318
"screenshots": {
313319
"label": "スクリーンショット",
314320
"fields": {
@@ -931,6 +937,9 @@
931937
"saveUpToDate": "セーブデータは最新です。",
932938
"saveCleared": "セーブデータ同期が消去されました。なお、端末内に保存されているセーブデータには影響ありません。",
933939
"saveReminder": "進行状況を失わないように、こまめなセーブとセーブファイルのバックアップを忘れずに。"
940+
},
941+
"timeTrials": {
942+
"timeTrialsComplete": "{CATEGORY} ゴール!\n記録: {TIME}"
934943
}
935944
},
936945
"events": {

lang/ko.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,12 @@
309309
"badgeUnlocked": "배지 해금"
310310
}
311311
},
312+
"timeTrials": {
313+
"label": "Time Trials",
314+
"fields": {
315+
"goalReached": "Goal Reached"
316+
}
317+
},
312318
"screenshots": {
313319
"label": "스크린샷",
314320
"fields": {
@@ -931,6 +937,9 @@
931937
"saveUpToDate": "세이브 데이터가 업데이트 되었습니다.",
932938
"saveCleared": "계정에 동기화된 세이브가 삭제되었습니다. 이것은 디바이스 로컬 스토리지 세이브에는 영향을 끼치지 않습니다.",
933939
"saveReminder": "진행 상황이 손실되지 않도록 자주 저장하고 세이브 파일을 백업하는 것을 잊지 마세요."
940+
},
941+
"timeTrials": {
942+
"timeTrialsComplete": "Goal! {CATEGORY} completed in {TIME}."
934943
}
935944
},
936945
"events": {

lang/pl.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,12 @@
309309
"badgeUnlocked": "Odznaka odblokowana"
310310
}
311311
},
312+
"timeTrials": {
313+
"label": "Time Trials",
314+
"fields": {
315+
"goalReached": "Goal Reached"
316+
}
317+
},
312318
"screenshots": {
313319
"label": "Zrzuty ekranu",
314320
"fields": {
@@ -931,6 +937,9 @@
931937
"saveUpToDate": "Masz już aktualny zapis.",
932938
"saveCleared": "Dane synchronizacji zapisów zostały oczyszczone. Nie usuwa to plików pobranych na twoich urządzeniach.",
933939
"saveReminder": "Pamiętaj, aby często zapisywwać grę i tworzyć kopie zapasowe zapisów aby nie utracić postępów."
940+
},
941+
"timeTrials": {
942+
"timeTrialsComplete": "Goal! {CATEGORY} completed in {TIME}."
934943
}
935944
},
936945
"events": {

0 commit comments

Comments
 (0)