From 6485eb0c29177ad258bbe22f0d72dc277fc2db9c Mon Sep 17 00:00:00 2001 From: byhturk-G <37812659+byhturkll@users.noreply.github.com> Date: Wed, 5 Nov 2025 04:17:15 +0300 Subject: [PATCH] Turkish Notification Template (#5696) Co-authored-by: byhturk --- templates/notifications/tr/alarm.vm | 15 +++++++++++++ templates/notifications/tr/commandResult.vm | 13 +++++++++++ .../notifications/tr/deviceExpiration.vm | 8 +++++++ .../tr/deviceExpirationReminder.vm | 8 +++++++ templates/notifications/tr/deviceFuelDrop.vm | 14 ++++++++++++ .../notifications/tr/deviceFuelIncrease.vm | 14 ++++++++++++ templates/notifications/tr/deviceInactive.vm | 15 +++++++++++++ templates/notifications/tr/deviceMoving.vm | 13 +++++++++++ templates/notifications/tr/deviceOffline.vm | 12 ++++++++++ templates/notifications/tr/deviceOnline.vm | 12 ++++++++++ templates/notifications/tr/deviceOverspeed.vm | 22 +++++++++++++++++++ templates/notifications/tr/deviceStopped.vm | 13 +++++++++++ templates/notifications/tr/deviceUnknown.vm | 12 ++++++++++ templates/notifications/tr/driverChanged.vm | 18 +++++++++++++++ templates/notifications/tr/geofenceEnter.vm | 13 +++++++++++ templates/notifications/tr/geofenceExit.vm | 13 +++++++++++ templates/notifications/tr/ignitionOff.vm | 13 +++++++++++ templates/notifications/tr/ignitionOn.vm | 13 +++++++++++ templates/notifications/tr/maintenance.vm | 13 +++++++++++ templates/notifications/tr/media.vm | 14 ++++++++++++ templates/notifications/tr/passwordReset.vm | 9 ++++++++ .../notifications/tr/queuedCommandSent.vm | 12 ++++++++++ templates/notifications/tr/scheduledReport.vm | 9 ++++++++ templates/notifications/tr/userExpiration.vm | 8 +++++++ .../tr/userExpirationReminder.vm | 8 +++++++ 25 files changed, 314 insertions(+) create mode 100644 templates/notifications/tr/alarm.vm create mode 100644 templates/notifications/tr/commandResult.vm create mode 100644 templates/notifications/tr/deviceExpiration.vm create mode 100644 templates/notifications/tr/deviceExpirationReminder.vm create mode 100644 templates/notifications/tr/deviceFuelDrop.vm create mode 100644 templates/notifications/tr/deviceFuelIncrease.vm create mode 100644 templates/notifications/tr/deviceInactive.vm create mode 100644 templates/notifications/tr/deviceMoving.vm create mode 100644 templates/notifications/tr/deviceOffline.vm create mode 100644 templates/notifications/tr/deviceOnline.vm create mode 100644 templates/notifications/tr/deviceOverspeed.vm create mode 100644 templates/notifications/tr/deviceStopped.vm create mode 100644 templates/notifications/tr/deviceUnknown.vm create mode 100644 templates/notifications/tr/driverChanged.vm create mode 100644 templates/notifications/tr/geofenceEnter.vm create mode 100644 templates/notifications/tr/geofenceExit.vm create mode 100644 templates/notifications/tr/ignitionOff.vm create mode 100644 templates/notifications/tr/ignitionOn.vm create mode 100644 templates/notifications/tr/maintenance.vm create mode 100644 templates/notifications/tr/media.vm create mode 100644 templates/notifications/tr/passwordReset.vm create mode 100644 templates/notifications/tr/queuedCommandSent.vm create mode 100644 templates/notifications/tr/scheduledReport.vm create mode 100644 templates/notifications/tr/userExpiration.vm create mode 100644 templates/notifications/tr/userExpirationReminder.vm diff --git a/templates/notifications/tr/alarm.vm b/templates/notifications/tr/alarm.vm new file mode 100644 index 000000000..68108e658 --- /dev/null +++ b/templates/notifications/tr/alarm.vm @@ -0,0 +1,15 @@ +#set($subject = "$device.name: alarm!") +#set($alarmKey = $event.getString('alarm')) +#set($alarmName = $translations.get("alarm${alarmKey.substring(0, 1).toUpperCase()}${alarmKey.substring(1)}")) +#set($digest = "$device.name alarm: $alarmName at $dateTool.format('yyyy-MM-dd HH:mm:ss', $event.eventTime, $locale, $timezone)") + + + +Cihaz: $device.name
+Alarm: $alarmName
+Zaman: $dateTool.format('yyyy-MM-dd HH:mm:ss', $event.eventTime, $locale, $timezone)
+Konum: #{if}($position.address)$position.address#{else}$position.latitude°, $position.longitude°#{end}
+
+Bildirim Aboneliğini İptal Et + + diff --git a/templates/notifications/tr/commandResult.vm b/templates/notifications/tr/commandResult.vm new file mode 100644 index 000000000..2d99c2b4b --- /dev/null +++ b/templates/notifications/tr/commandResult.vm @@ -0,0 +1,13 @@ +#set($subject = "$device.name: command result received") +#set($digest = "$device.name command result received: $position.getString('result') at $dateTool.format('yyyy-MM-dd HH:mm:ss', $event.eventTime, $locale, $timezone)") + + + +Cihaz: $device.name
+Sonuç: $position.getString('result')
+Zaman: $dateTool.format('yyyy-MM-dd HH:mm:ss', $event.eventTime, $locale, $timezone)
+Link: $webUrl/event/$event.id
+
+Bildirim Aboneliğini İptal Et + + diff --git a/templates/notifications/tr/deviceExpiration.vm b/templates/notifications/tr/deviceExpiration.vm new file mode 100644 index 000000000..8e30867e0 --- /dev/null +++ b/templates/notifications/tr/deviceExpiration.vm @@ -0,0 +1,8 @@ +#set($subject = "Cihaz Süresi Bitti") +#set($digest = "Cihaz $device.name Süresi Bitti") + + + +Mevcut Cihazınız: $device.name Geçerlilik tarihi sona ermiştir. + + diff --git a/templates/notifications/tr/deviceExpirationReminder.vm b/templates/notifications/tr/deviceExpirationReminder.vm new file mode 100644 index 000000000..2c80f125c --- /dev/null +++ b/templates/notifications/tr/deviceExpirationReminder.vm @@ -0,0 +1,8 @@ +#set($subject = "Cihaz Süre Hatırlatma") +#set($digest = "Cihaz $device.name Bitiş Tarihi: $dateTool.format('yyyy-MM-dd', $expiration, $locale, $timezone)") + + + +Mevcut Cihazınız: $device.name şu tarihte süresi bitecektir: $dateTool.format('yyyy-MM-dd', $expiration, $locale, $timezone). + + diff --git a/templates/notifications/tr/deviceFuelDrop.vm b/templates/notifications/tr/deviceFuelDrop.vm new file mode 100644 index 000000000..f377307c1 --- /dev/null +++ b/templates/notifications/tr/deviceFuelDrop.vm @@ -0,0 +1,14 @@ +#set($subject = "$device.name: Yakıt Azalıyor") +#set($digest = "$device.name Yakıt Azalıyor $dateTool.format('yyyy-MM-dd HH:mm:ss', $event.eventTime, $locale, $timezone)") + + + +Cihaz: $device.name
+Zaman: $dateTool.format('yyyy-MM-dd HH:mm:ss', $event.eventTime, $locale, $timezone)
+Ölçüm Öncesi: $event.attributes.before
+Ölçüm Sonrası: $event.attributes.after
+Konum: #{if}($position.address)$position.address#{else}$position.latitude°, $position.longitude°#{end}
+
+Bildirim Aboneliğini İptal Et + + diff --git a/templates/notifications/tr/deviceFuelIncrease.vm b/templates/notifications/tr/deviceFuelIncrease.vm new file mode 100644 index 000000000..c653adca4 --- /dev/null +++ b/templates/notifications/tr/deviceFuelIncrease.vm @@ -0,0 +1,14 @@ +#set($subject = "$device.name: Yakıt Dolduruluyor") +#set($digest = "$device.name Yakıt Dolduruluyor. $dateTool.format('yyyy-MM-dd HH:mm:ss', $event.eventTime, $locale, $timezone)") + + + +Cihaz: $device.name
+Zaman: $dateTool.format('yyyy-MM-dd HH:mm:ss', $event.eventTime, $locale, $timezone)
+Ölçüm Öncesi: $event.attributes.before
+Ölçüm Sonrası: $event.attributes.after
+Konum: #{if}($position.address)$position.address#{else}$position.latitude°, $position.longitude°#{end}
+
+Bildirim Aboneliğini İptal Et + + diff --git a/templates/notifications/tr/deviceInactive.vm b/templates/notifications/tr/deviceInactive.vm new file mode 100644 index 000000000..ad54879db --- /dev/null +++ b/templates/notifications/tr/deviceInactive.vm @@ -0,0 +1,15 @@ +#set($subject = "$device.name: Aktif değil") +#set($lastUpdate = $dateTool.getDate()) +#set($ignore = $lastUpdate.setTime($event.getLong('lastUpdate'))) +#set($digest = "$device.name İnaktif: $dateTool.format('yyyy-MM-dd HH:mm:ss', $lastUpdate, $locale, $timezone)") + + + +Cihaz: $device.name
+İnaktif
+Son Güncelleme:: $dateTool.format('yyyy-MM-dd HH:mm:ss', $lastUpdate, $locale, $timezone)
+Link: $webUrl/event/$event.id
+
+Bildirim Aboneliğini İptal Et + + diff --git a/templates/notifications/tr/deviceMoving.vm b/templates/notifications/tr/deviceMoving.vm new file mode 100644 index 000000000..1bf7ebaa5 --- /dev/null +++ b/templates/notifications/tr/deviceMoving.vm @@ -0,0 +1,13 @@ +#set($subject = "$device.name: Hareket Halinde") +#set($digest = "$device.name Hareket Halinde $dateTool.format('yyyy-MM-dd HH:mm:ss', $event.eventTime, $locale, $timezone)") + + + +Cihaz: $device.name
+Hareket Halinde
+Zaman: $dateTool.format('yyyy-MM-dd HH:mm:ss', $event.eventTime, $locale, $timezone)
+Konum: #{if}($position.address)$position.address#{else}$position.latitude°, $position.longitude°#{end}
+
+Bildirim Aboneliğini İptal Et + + diff --git a/templates/notifications/tr/deviceOffline.vm b/templates/notifications/tr/deviceOffline.vm new file mode 100644 index 000000000..7f9bbb103 --- /dev/null +++ b/templates/notifications/tr/deviceOffline.vm @@ -0,0 +1,12 @@ +#set($subject = "$device.name: Çevrimdışı") +#set($digest = "$device.name Çevrimdışı $dateTool.format('yyyy-MM-dd HH:mm:ss', $event.eventTime, $locale, $timezone)") + + + +Cihaz: $device.name
+Çevrimdışı
+Zaman: $dateTool.format('yyyy-MM-dd HH:mm:ss', $event.eventTime, $locale, $timezone)
+
+Bildirim Aboneliğini İptal Et + + diff --git a/templates/notifications/tr/deviceOnline.vm b/templates/notifications/tr/deviceOnline.vm new file mode 100644 index 000000000..cee70c6c7 --- /dev/null +++ b/templates/notifications/tr/deviceOnline.vm @@ -0,0 +1,12 @@ +#set($subject = "$device.name: Çevrimiçi") +#set($digest = "$device.name online at $dateTool.format('yyyy-MM-dd HH:mm:ss', $event.eventTime, $locale, $timezone)") + + + +Cihaz: $device.name
+Çevrimiçi
+Zaman: $dateTool.format('yyyy-MM-dd HH:mm:ss', $event.eventTime, $locale, $timezone)
+
+Bildirim Aboneliğini İptal Et + + diff --git a/templates/notifications/tr/deviceOverspeed.vm b/templates/notifications/tr/deviceOverspeed.vm new file mode 100644 index 000000000..5896a8ea5 --- /dev/null +++ b/templates/notifications/tr/deviceOverspeed.vm @@ -0,0 +1,22 @@ +#set($subject = "$device.name: Hız İhlali") +#if($speedUnit == "kmh") +#set($speedValue = $position.speed * 1.852) +#set($speedString = $numberTool.format('0.0 km/h', $speedValue)) +#elseif($speedUnit == "mph") +#set($speedValue = $position.speed * 1.15078) +#set($speedString = $numberTool.format('0.0 mph', $speedValue)) +#else +#set($speedString = $numberTool.format('0.0 kn', $position.speed)) +#end +#set($digest = "$device.name Hız İhlali $speedString#{if}($geofence) Bölge $geofence.name#{else}#{end} Zaman $dateTool.format('yyyy-MM-dd HH:mm:ss', $event.eventTime, $locale, $timezone)") + + + +Cihaz: $device.name
+Hız İhlali: $speedString#{if}($geofence) in $geofence.name#{else}#{end}
+Zaman: $dateTool.format('yyyy-MM-dd HH:mm:ss', $event.eventTime, $locale, $timezone)
+Konum: #{if}($position.address)$position.address#{else}$position.latitude°, $position.longitude°#{end}
+
+Bildirim Aboneliğini İptal Et + + diff --git a/templates/notifications/tr/deviceStopped.vm b/templates/notifications/tr/deviceStopped.vm new file mode 100644 index 000000000..9fec1c249 --- /dev/null +++ b/templates/notifications/tr/deviceStopped.vm @@ -0,0 +1,13 @@ +#set($subject = "$device.name: Durdu") +#set($digest = "$device.name Durdu $dateTool.format('yyyy-MM-dd HH:mm:ss', $event.eventTime, $locale, $timezone)") + + + +Cihaz: $device.name
+Durdu
+Zaman: $dateTool.format('yyyy-MM-dd HH:mm:ss', $event.eventTime, $locale, $timezone)
+Konum: #{if}($position.address)$position.address#{else}$position.latitude°, $position.longitude°#{end}
+
+Bildirim Aboneliğini İptal Et + + diff --git a/templates/notifications/tr/deviceUnknown.vm b/templates/notifications/tr/deviceUnknown.vm new file mode 100644 index 000000000..95b7ee183 --- /dev/null +++ b/templates/notifications/tr/deviceUnknown.vm @@ -0,0 +1,12 @@ +#set($subject = "$device.name: Durum Bilinmiyor") +#set($digest = "$device.name Durum Bilinmiyor $dateTool.format('yyyy-MM-dd HH:mm:ss', $event.eventTime, $locale, $timezone)") + + + +Cihaz: $device.name
+Durum Bilinmiyor
+Zaman: $dateTool.format('yyyy-MM-dd HH:mm:ss', $event.eventTime, $locale, $timezone)
+
+Bildirim Aboneliğini İptal Et + + diff --git a/templates/notifications/tr/driverChanged.vm b/templates/notifications/tr/driverChanged.vm new file mode 100644 index 000000000..f56820ff6 --- /dev/null +++ b/templates/notifications/tr/driverChanged.vm @@ -0,0 +1,18 @@ +#set($subject = "$device.name: Sürücü Değişti") +#if($driver) +#set($driverName = $driver.name) +#else +#set($driverName = $event.getString('driverUniqueId')) +#end +#set($digest = "Sürücü $driverName Cihaz $device.name Zaman $dateTool.format('yyyy-MM-dd HH:mm:ss', $event.eventTime, $locale, $timezone)") + + + +Cihaz: $device.name
+Zaman: $dateTool.format('yyyy-MM-dd HH:mm:ss', $event.eventTime, $locale, $timezone)
+Konum: #{if}($position.address)$position.address#{else}$position.latitude°, $position.longitude°#{end}
+Sürücü: $driverName
+
+Bildirim Aboneliğini İptal Et + + diff --git a/templates/notifications/tr/geofenceEnter.vm b/templates/notifications/tr/geofenceEnter.vm new file mode 100644 index 000000000..c48cf167a --- /dev/null +++ b/templates/notifications/tr/geofenceEnter.vm @@ -0,0 +1,13 @@ +#set($subject = "$device.name: Bölge Girişi") +#set($digest = "$device.name Bölge Girişi $geofence.name Zaman $dateTool.format('yyyy-MM-dd HH:mm:ss', $event.eventTime, $locale, $timezone)") + + + +Cihaz: $device.name
+Bölge Girişi: $geofence.name
+Zaman: $dateTool.format('yyyy-MM-dd HH:mm:ss', $event.eventTime, $locale, $timezone)
+Konum: #{if}($position.address)$position.address#{else}$position.latitude°, $position.longitude°#{end}
+
+Bildirim Aboneliğini İptal Et + + diff --git a/templates/notifications/tr/geofenceExit.vm b/templates/notifications/tr/geofenceExit.vm new file mode 100644 index 000000000..07c04ceb2 --- /dev/null +++ b/templates/notifications/tr/geofenceExit.vm @@ -0,0 +1,13 @@ +#set($subject = "$device.name: Bölge Çıkışı") +#set($digest = "$device.name Bölge Çıkışı $geofence.name Zaman $dateTool.format('yyyy-MM-dd HH:mm:ss', $event.eventTime, $locale, $timezone)") + + + +Cihaz: $device.name
+Bölge Çıkışı: $geofence.name
+Zaman: $dateTool.format('yyyy-MM-dd HH:mm:ss', $event.eventTime, $locale, $timezone)
+Konum: #{if}($position.address)$position.address#{else}$position.latitude°, $position.longitude°#{end}
+
+Bildirim Aboneliğini İptal Et + + diff --git a/templates/notifications/tr/ignitionOff.vm b/templates/notifications/tr/ignitionOff.vm new file mode 100644 index 000000000..79d393644 --- /dev/null +++ b/templates/notifications/tr/ignitionOff.vm @@ -0,0 +1,13 @@ +#set($subject = "$device.name: Kontak kapalı") +#set($digest = "$device.name Kontak kapalı $dateTool.format('yyyy-MM-dd HH:mm:ss', $event.eventTime, $locale, $timezone)") + + + +Cihaz: $device.name
+Kontak kapalı
+Zaman: $dateTool.format('yyyy-MM-dd HH:mm:ss', $event.eventTime, $locale, $timezone)
+Konum: #{if}($position.address)$position.address#{else}$position.latitude°, $position.longitude°#{end}
+
+Bildirim Aboneliğini İptal Et + + diff --git a/templates/notifications/tr/ignitionOn.vm b/templates/notifications/tr/ignitionOn.vm new file mode 100644 index 000000000..b568d4d04 --- /dev/null +++ b/templates/notifications/tr/ignitionOn.vm @@ -0,0 +1,13 @@ +#set($subject = "$device.name: Kontak Açık") +#set($digest = "$device.name Kontak Açık $dateTool.format('yyyy-MM-dd HH:mm:ss', $event.eventTime, $locale, $timezone)") + + + +Cihaz: $device.name
+Kontak Açık
+Zaman: $dateTool.format('yyyy-MM-dd HH:mm:ss', $event.eventTime, $locale, $timezone)
+Konum: #{if}($position.address)$position.address#{else}$position.latitude°, $position.longitude°#{end}
+
+Bildirim Aboneliğini İptal Et + + diff --git a/templates/notifications/tr/maintenance.vm b/templates/notifications/tr/maintenance.vm new file mode 100644 index 000000000..3da43f46b --- /dev/null +++ b/templates/notifications/tr/maintenance.vm @@ -0,0 +1,13 @@ +#set($subject = "$device.name: Bakım Gerekli") +#set($digest = "$device.name Bakım: $maintenance.name Bakım Gerekli $dateTool.format('yyyy-MM-dd HH:mm:ss', $event.eventTime, $locale, $timezone)") + + + +Cihaz: $device.name
+Bakım Gerekli: $maintenance.name
+Zaman: $dateTool.format('yyyy-MM-dd HH:mm:ss', $event.eventTime, $locale, $timezone)
+Konum: #{if}($position.address)$position.address#{else}$position.latitude°, $position.longitude°#{end}
+
+Bildirim Aboneliğini İptal Et + + diff --git a/templates/notifications/tr/media.vm b/templates/notifications/tr/media.vm new file mode 100644 index 000000000..f69a23d13 --- /dev/null +++ b/templates/notifications/tr/media.vm @@ -0,0 +1,14 @@ +#set($subject = "$device.name: media dosyası alındı") +#set($digest = "$device.name $event.getString('media') alındı: $event.getString('file') zaman $dateTool.format('yyyy-MM-dd HH:mm:ss', $event.eventTime, $locale, $timezone)") + + + +Cihaz: $device.name
+Type: $event.getString('media')
+Dosya: $event.getString('file')
+Zaman: $dateTool.format('yyyy-MM-dd HH:mm:ss', $event.eventTime, $locale, $timezone)
+Link: $webUrl/event/$event.id
+
+Bildirim Aboneliğini İptal Et + + diff --git a/templates/notifications/tr/passwordReset.vm b/templates/notifications/tr/passwordReset.vm new file mode 100644 index 000000000..60bd4fb06 --- /dev/null +++ b/templates/notifications/tr/passwordReset.vm @@ -0,0 +1,9 @@ +#set($subject = "Şifre Sıfırlama ve Oluşturma") +#set($digest = "Şifre Sıfırlama Linki: $webUrl/reset-password?passwordReset=$token") + + + +Lütfen yeni şifrenizi belirlemek için aşağıdaki linke tıklayınız:
+$webUrl/reset-password?passwordReset=$token
+ + diff --git a/templates/notifications/tr/queuedCommandSent.vm b/templates/notifications/tr/queuedCommandSent.vm new file mode 100644 index 000000000..38b47eb59 --- /dev/null +++ b/templates/notifications/tr/queuedCommandSent.vm @@ -0,0 +1,12 @@ +#set($subject = "$device.name: Kuyruktaki Komut Gönderildi") +#set($digest = "Kuyruktaki Komut Gönderildi $device.name zaman $dateTool.format('yyyy-MM-dd HH:mm:ss', $event.eventTime, $locale, $timezone)") + + + +Cihaz: $device.name
+Kuyruktaki Komut Gönderildi
+Zaman: $dateTool.format('yyyy-MM-dd HH:mm:ss', $event.eventTime, $locale, $timezone)
+
+Bildirim Aboneliğini İptal Et + + diff --git a/templates/notifications/tr/scheduledReport.vm b/templates/notifications/tr/scheduledReport.vm new file mode 100644 index 000000000..693f2bb22 --- /dev/null +++ b/templates/notifications/tr/scheduledReport.vm @@ -0,0 +1,9 @@ +#set($subject = "Raporlar") +#set($digest = "Zamanlanmış Rapor: $webUrl$reportUrl") + + + +Zamanlanmış Raporunuz Hazır:
+$webUrl$reportUrl
+ + diff --git a/templates/notifications/tr/userExpiration.vm b/templates/notifications/tr/userExpiration.vm new file mode 100644 index 000000000..8038cf524 --- /dev/null +++ b/templates/notifications/tr/userExpiration.vm @@ -0,0 +1,8 @@ +#set($subject = "Hesap Süresi Geçerlilik Tarihi Bitti") +#set($digest = "Hesap Süresi Doldu") + + + +Hesabınızın mevcut Geçerlilik tarihi sona ermiştir. + + diff --git a/templates/notifications/tr/userExpirationReminder.vm b/templates/notifications/tr/userExpirationReminder.vm new file mode 100644 index 000000000..568d6d56e --- /dev/null +++ b/templates/notifications/tr/userExpirationReminder.vm @@ -0,0 +1,8 @@ +#set($subject = "Hesap Geçerlilik Tarihi Hatırlatması") +#set($digest = "Hesabınızın geçerliliği $dateTool.format('yyyy-MM-dd', $expiration, $locale, $timezone) tarihinde sona erecektir.") + + + +Hesabınızın geçerliliği şu tarihte sona erecektir. $dateTool.format('yyyy-MM-dd', $expiration, $locale, $timezone). + +