Merge pull request #137 from lamoboos223/devel

added Arabic localization
This commit is contained in:
Gene
2025-05-28 12:54:38 +03:00
committed by GitHub
2 changed files with 1660 additions and 4 deletions
+6 -1
View File
@@ -53,6 +53,10 @@ const i18n = {
'zh-TW': { 'zh-TW': {
'new_message': "新訊息", 'new_message': "新訊息",
'new_chat': "新聊天", 'new_chat': "新聊天",
},
'ar': {
'new_message': "رسالة جديدة",
'new_chat': "محادثة جديدة",
} }
}; };
@@ -119,7 +123,8 @@ self.addEventListener('notificationclick', event => {
event.waitUntil(self.clients.matchAll({ event.waitUntil(self.clients.matchAll({
type: 'window', type: 'window',
includeUncontrolled: true}) includeUncontrolled: true
})
.then(windowClients => { .then(windowClients => {
let anyClient = null; let anyClient = null;
for (let i = 0; i < windowClients.length; i++) { for (let i = 0; i < windowClients.length; i++) {
+1651
View File
File diff suppressed because it is too large Load Diff