1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-29 07:52:50 -05:00

i18n: Add japanese + i18n service

This commit is contained in:
bbedward
2025-10-08 16:25:06 -04:00
parent 3909ce3350
commit ed1a5bfded
88 changed files with 3778 additions and 944 deletions

View File

@@ -166,8 +166,8 @@ Singleton {
try {
const date = new Date(isoString)
if (index === 0) return qsTr("Today")
if (index === 1) return qsTr("Tomorrow")
if (index === 0) return I18n.tr("Today")
if (index === 1) return I18n.tr("Tomorrow")
const locale = Qt.locale()
return locale.dayName(date.getDay(), Locale.ShortFormat)