Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate novu #2033

Merged
merged 22 commits into from
Nov 2, 2023
Merged
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
8 changes: 8 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,11 @@ LOKALISE_PROJECT_ID=
NEXT_PUBLIC_TARTEEL_VS_API_KEY=
NEXT_PUBLIC_ENABLE_FS_LOGGING=
NEXT_PUBLIC_SANITY_PROJECT_ID=

NEXT_PUBLIC_NOVU_BACKEND_URL=
NEXT_PUBLIC_NOVU_SOCKET_URL=
NEXT_PUBLIC_NOVU_APP_ID=

NEXT_PUBLIC_SENTRY_DSN=
NEXT_PUBLIC_SERVER_SENTRY_ENABLED=false
NEXT_PUBLIC_CLIENT_SENTRY_ENABLED=true
18 changes: 16 additions & 2 deletions locales/ar/common.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
{
"about": "معلومات عنا",
"allow": "يسمح",
"and": "و",
"announcements": {
"auth-onboarding": {
"data-sync": {
"action": "التالي",
"description": "سواء كنت تستخدم موقع قرآن دوت كوم على هاتفك أو حاسوبك المحمول، ستتوفر إشاراتك المرجعية وآخر آيات قرأتها وتفضيلاتك",
"title": "ستتم مزامنة بياناتك <br> <\/br> عبر الأجهزة"
"title": "ستتم مزامنة بياناتك <br><\/br> عبر الأجهزة"
},
"feedback": {
"action": "حسنا، فهمت",
Expand All @@ -25,7 +26,7 @@
},
"welcome": {
"action": "أرني ما الجديد",
"title": "مرحبا بكم في حساب المستخدم التجريبي لموقع قرآن دوت كوم <br> <\/br>"
"title": "مرحبا بكم في حساب المستخدم التجريبي لموقع قرآن دوت كوم <br><\/br>"
}
},
"collections-announcement": {
Expand Down Expand Up @@ -113,6 +114,12 @@
"title": "تواصل اجتماعي"
},
"complete-sign-up": "إتمام عملية التسجيل",
"consents": {
"communication": {
"body": "🚀 عزز تقدمك من خلال إشعارات <boldSpan> المخصصة <\/boldSpan> حول تقدم هدفك، والحفاظ على الخطوط، وتحسين استخدامك لميزاتنا الحالية. <br><\/br> <br><\/br> هل يمكننا أن نبقيك على اطلاع دائم عبر البريد الإلكتروني والقنوات الأخرى؟ أنت المتحكم، فلا تتردد في تعديل هذه التفضيلات في أي وقت من خلال إعدادات حسابك. <br><\/br> <br><\/br> ما عليك سوى تحديد \"السماح\" لتذكيرات <boldSpan> الملهمة <\/boldSpan> أو \"ليس الآن\" للرفض.",
"header": "نود أن نساعدك على البقاء <boldSpan> ملتزمًا ومتسقًا <\/boldSpan> مع رحلتك لنمو القرآن! 📖🌟"
}
},
"continue": "أكمل",
"copied": "نُسِخ",
"copied-to-clipboard": "نُسِخَ إلى الحافظة",
Expand Down Expand Up @@ -207,7 +214,14 @@
"next": "التالي",
"next-ayah": "الآية التالية",
"no": "لا",
"no-notifications": "لا توجد إخطارات حتى الآن",
"none": "لا شيء",
"not-now": "ليس الآن",
"notification": {
"mark-all-as-read": "اشر عليها بانها قرات",
"mark-as-read": "ضع إشارة مقروء"
},
"notifications": "إشعارات",
"off": "إيقاف",
"on": "تشغيل",
"page": "صفحة",
Expand Down
18 changes: 16 additions & 2 deletions locales/bn/common.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
{
"about": "আমাদের সম্পর্কে",
"allow": "অনুমতি দিন",
"and": "এবং",
"announcements": {
"auth-onboarding": {
"data-sync": {
"action": "পরবর্তী",
"description": "আপনি আপনার ফোনে বা আপনার ল্যাপটপে Quran.com ব্যবহার করছেন কিনা, আপনার বুকমার্ক, শেষ পঠিত আয়াত এবং আপনার পছন্দগুলি উপলব্ধ থাকবে",
"title": "আপনার ডেটা <br> <\/br> ডিভাইস জুড়ে সিঙ্ক করা হবে"
"title": "আপনার ডেটা <br><\/br> ডিভাইস জুড়ে সিঙ্ক করা হবে"
},
"feedback": {
"action": "আচ্ছা আমি বুঝে গেছি",
Expand All @@ -25,7 +26,7 @@
},
"welcome": {
"action": "নতুন কি দেখুন",
"title": "Quran.com <br> <\/br> ব্যবহারকারী অ্যাকাউন্টে স্বাগতম"
"title": "Quran.com <br><\/br> ব্যবহারকারী অ্যাকাউন্টে স্বাগতম"
}
},
"collections-announcement": {
Expand Down Expand Up @@ -113,6 +114,12 @@
"title": "সম্প্রদায়"
},
"complete-sign-up": "আপনার নিবন্ধন সম্পূর্ণ করুন",
"consents": {
"communication": {
"body": "🚀 আপনার লক্ষ্য অগ্রগতি, স্ট্রীক বজায় রাখা এবং আমাদের বর্তমান বৈশিষ্ট্যগুলির আপনার ব্যবহার উন্নত করার বিষয়ে <boldSpan> ব্যক্তিগতকৃত <\/boldSpan> বিজ্ঞপ্তিগুলির মাধ্যমে আপনার অগ্রগতি সুপারচার্জ করুন। <br><\/br> <br><\/br> আমরা কি আপনাকে ইমেল এবং অন্যান্য চ্যানেলের মাধ্যমে লুপে রাখতে পারি? আপনি নিয়ন্ত্রণে আছেন – আপনার অ্যাকাউন্ট সেটিংসে যেকোনো সময় এই পছন্দগুলিকে বিনা দ্বিধায় সামঞ্জস্য করুন৷ <br><\/br> <br><\/br> <boldSpan> অনুপ্রেরণামূলক অনুস্মারক <\/boldSpan> বা প্রত্যাখ্যান করতে 'এখন নয়'-এর জন্য 'অনুমতি দিন' নির্বাচন করুন৷",
"header": "আমরা আপনাকে আপনার কোরান গ্রোথ জার্নির সাথে <boldSpan> প্রতিশ্রুতিবদ্ধ এবং ধারাবাহিক <\/boldSpan> থাকতে সাহায্য করতে চাই! 📖🌟"
}
},
"continue": "চালিয়ে যান",
"copied": "কপি করা হয়েছে",
"copied-to-clipboard": "ক্লিপবোর্ডে কপি করা হয়েছে",
Expand Down Expand Up @@ -207,7 +214,14 @@
"next": "পরবর্তী",
"next-ayah": "পরবর্তী আয়াত",
"no": "না",
"no-notifications": "এখনও কোন বিজ্ঞপ্তি নেই",
"none": "কোনোটিই নয়",
"not-now": "এখন না",
"notification": {
"mark-all-as-read": "সবগুলো পঠিত বলে সনাক্ত কর",
"mark-as-read": "পঠিত হিসেবে চিহ্নিত করুন"
},
"notifications": "বিজ্ঞপ্তি",
"off": "বন্ধ",
"on": "চালু",
"page": "পাতা",
Expand Down
14 changes: 14 additions & 0 deletions locales/en/common.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"about": "About Us",
"allow": "Allow",
"and": "and",
"announcements": {
"auth-onboarding": {
Expand Down Expand Up @@ -113,6 +114,12 @@
"title": "Community"
},
"complete-sign-up": "Complete your registration",
"consents": {
"communication": {
"body": "🚀 Supercharge your progress through <boldSpan>personalized<\/boldSpan> notifications about your goal progress, maintaining streaks, and enhancing your usage of our current features.<br><\/br><br><\/br> Can we keep you in the loop through email and other channels? You're in control – feel free to adjust these preferences anytime in your account settings.<br><\/br><br><\/br> Simply select 'Allow' for <boldSpan>inspiring reminders<\/boldSpan> or 'Not Now' to decline.",
"header": "We'd love to help you stay <boldSpan>committed and consistent<\/boldSpan> with your Quran Growth Journey! 📖🌟"
}
},
"continue": "Continue",
"copied": "Copied",
"copied-to-clipboard": "Copied to clipboard",
Expand Down Expand Up @@ -207,7 +214,14 @@
"next": "Next",
"next-ayah": "Next Ayah",
"no": "No",
"no-notifications": "No notifications yet",
"none": "None",
"not-now": "Not Now",
"notification": {
"mark-all-as-read": "Mark all as read",
"mark-as-read": "Mark as read"
},
"notifications": "Notifications",
"off": "Off",
"on": "On",
"page": "Page",
Expand Down
18 changes: 16 additions & 2 deletions locales/fa/common.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
{
"about": "درباره ما",
"allow": "اجازه",
"and": "و",
"announcements": {
"auth-onboarding": {
"data-sync": {
"action": "بعد",
"description": "چه از Quran.com در تلفن یا لپ تاپ خود استفاده می کنید، نشانک ها، آخرین آیات خوانده شده و تنظیمات برگزیده شما در دسترس خواهند بود.",
"title": "داده‌های شما <br> <\/br> در بین دستگاه‌ها همگام‌سازی خواهند شد"
"title": "داده‌های شما <br><\/br> در بین دستگاه‌ها همگام‌سازی خواهند شد"
},
"feedback": {
"action": "باشه فهمیدم",
Expand All @@ -25,7 +26,7 @@
},
"welcome": {
"action": "ببینید چه چیز جدیدی است",
"title": "به حساب کاربری <br> <\/br> خوش آمدید"
"title": "به حساب کاربری <br><\/br> خوش آمدید"
}
},
"collections-announcement": {
Expand Down Expand Up @@ -113,6 +114,12 @@
"title": "انجمن"
},
"complete-sign-up": "ثبت نام خود را تکمیل کنید",
"consents": {
"communication": {
"body": "🚀 با اعلان‌های <boldSpan> شخصی‌سازی‌شده <\/boldSpan> در مورد پیشرفت هدفتان، حفظ رگه‌ها و افزایش استفاده از ویژگی‌های فعلی ما، پیشرفت خود را افزایش دهید. <br><\/br> <br><\/br> آیا می‌توانیم شما را از طریق ایمیل و کانال‌های دیگر در جریان نگه داریم؟ شما کنترل را در دست دارید - هر زمان خواستید این تنظیمات برگزیده را در تنظیمات حساب خود تنظیم کنید. <br><\/br> <br><\/br> برای رد کردن، کافی است «مجاز» را برای <boldSpan> یادآورهای الهام بخش <\/boldSpan> یا «اکنون نه» انتخاب کنید.",
"header": "ما دوست داریم به شما کمک کنیم <boldSpan> متعهد و سازگار <\/boldSpan> در سفر رشد قرآن خود بمانید! 📖🌟"
}
},
"continue": "ادامه هید",
"copied": "کپی شده است",
"copied-to-clipboard": "در کلیپ بورد کپی شد",
Expand Down Expand Up @@ -207,7 +214,14 @@
"next": "بعد",
"next-ayah": "آیه بعدی",
"no": "خیر",
"no-notifications": "هنوز اطلاعیه ای وجود ندارد",
"none": "هیچ یک",
"not-now": "الان نه",
"notification": {
"mark-all-as-read": "همه را به عنوان خوانده شده علامت بزن",
"mark-as-read": "به عنوان خوانده شده علامت بزن"
},
"notifications": "اطلاعیه",
"off": "خاموش",
"on": "بر",
"page": "صفحه",
Expand Down
18 changes: 16 additions & 2 deletions locales/fr/common.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
{
"about": "À propos de nous",
"allow": "Permettre",
"and": "et",
"announcements": {
"auth-onboarding": {
"data-sync": {
"action": "Prochain",
"description": "Que vous utilisiez Quran.com sur votre téléphone ou votre ordinateur portable, vos signets, les derniers versets lus et vos préférences seront disponibles",
"title": "Vos données seront synchronisées <br> <\/br> sur tous les appareils"
"title": "Vos données seront synchronisées <br><\/br> sur tous les appareils"
},
"feedback": {
"action": "OK, j'ai compris",
Expand All @@ -25,7 +26,7 @@
},
"welcome": {
"action": "Regardez ce qu'il y a de nouveau",
"title": "Bienvenue sur Quran.com <br> <\/br> Compte utilisateur"
"title": "Bienvenue sur Quran.com <br><\/br> Compte utilisateur"
}
},
"collections-announcement": {
Expand Down Expand Up @@ -113,6 +114,12 @@
"title": "Communauté"
},
"complete-sign-up": "Complétez votre inscription",
"consents": {
"communication": {
"body": "🚀 Boostez vos progrès grâce à des notifications <boldSpan> personnalisées <\/boldSpan> sur la progression de votre objectif, le maintien de séquences et l'amélioration de votre utilisation de nos fonctionnalités actuelles. <br><\/br> <br><\/br> Pouvons-nous vous tenir au courant par e-mail et par d'autres canaux ? Vous avez le contrôle – n'hésitez pas à ajuster ces préférences à tout moment dans les paramètres de votre compte. <br><\/br> <br><\/br> Sélectionnez simplement « Autoriser » pour <boldSpan> rappels inspirants <\/boldSpan> ou « Pas maintenant » pour refuser.",
"header": "Nous serions ravis de vous aider à rester <boldSpan> engagé et cohérent <\/boldSpan> dans votre parcours de croissance du Coran ! 📖🌟"
}
},
"continue": "Continuer",
"copied": "Copié",
"copied-to-clipboard": "Copié dans le presse-papier",
Expand Down Expand Up @@ -207,7 +214,14 @@
"next": "Prochain",
"next-ayah": "Ayah suivant",
"no": "Non",
"no-notifications": "Aucune notification pour l'instant",
"none": "Rien",
"not-now": "Pas maintenant",
"notification": {
"mark-all-as-read": "tout marquer comme lu",
"mark-as-read": "Marquer comme lu"
},
"notifications": "Notifications",
"off": "Désactivé",
"on": "Au",
"page": "Page",
Expand Down
18 changes: 16 additions & 2 deletions locales/id/common.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
{
"about": "Tentang kami",
"allow": "Mengizinkan",
"and": "dan",
"announcements": {
"auth-onboarding": {
"data-sync": {
"action": "Lanjut",
"description": "Baik Anda menggunakan Quran.com di ponsel atau laptop Anda, bookmark Anda, ayat yang terakhir dibaca, dan preferensi Anda akan tersedia",
"title": "Data Anda akan disinkronkan <br> <\/br> di seluruh perangkat"
"title": "Data Anda akan disinkronkan <br><\/br> di seluruh perangkat"
},
"feedback": {
"action": "OK saya mengerti",
Expand All @@ -25,7 +26,7 @@
},
"welcome": {
"action": "Lihat apa yang baru",
"title": "Selamat datang di Quran.com <br> <\/br> Akun Pengguna"
"title": "Selamat datang di Quran.com <br><\/br> Akun Pengguna"
}
},
"collections-announcement": {
Expand Down Expand Up @@ -113,6 +114,12 @@
"title": "Komunitas"
},
"complete-sign-up": "Lengkapi pendaftaran Anda",
"consents": {
"communication": {
"body": "🚀 Tingkatkan kemajuan Anda melalui pemberitahuan <boldSpan> yang dipersonalisasi <\/boldSpan> tentang kemajuan tujuan Anda, pertahankan rekor, dan tingkatkan penggunaan fitur kami saat ini. <br><\/br> <br><\/br> Bisakah kami terus mengabari Anda melalui email dan saluran lainnya? Anda memegang kendali – silakan sesuaikan preferensi ini kapan saja di pengaturan akun Anda. <br><\/br> <br><\/br> Cukup pilih 'Izinkan' untuk <boldSpan> pengingat yang menginspirasi <\/boldSpan> atau 'Jangan Sekarang' untuk menolaknya.",
"header": "Kami ingin membantu Anda tetap <boldSpan> berkomitmen dan konsisten <\/boldSpan> dengan Perjalanan Pertumbuhan Quran Anda! 📖🌟"
}
},
"continue": "Melanjutkan",
"copied": "disalin",
"copied-to-clipboard": "Disalin ke papan klip",
Expand Down Expand Up @@ -207,7 +214,14 @@
"next": "Lanjut",
"next-ayah": "Ayat Berikutnya",
"no": "Tidak",
"no-notifications": "Belum ada pemberitahuan",
"none": "Tidak ada",
"not-now": "Tidak sekarang",
"notification": {
"mark-all-as-read": "tandai semua telah dibaca",
"mark-as-read": "tandai sebagai membaca"
},
"notifications": "Pemberitahuan",
"off": "Mati",
"on": "Hidup",
"page": "Halaman",
Expand Down
18 changes: 16 additions & 2 deletions locales/it/common.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
{
"about": "Chi siamo",
"allow": "Permettere",
"and": "e",
"announcements": {
"auth-onboarding": {
"data-sync": {
"action": "Prossimo",
"description": "Sia che tu stia utilizzando Quran.com sul tuo telefono o sul tuo laptop, i tuoi segnalibri, gli ultimi versetti letti e le tue preferenze saranno disponibili",
"title": "I tuoi dati verranno sincronizzati <br> <\/br> su tutti i dispositivi"
"title": "I tuoi dati verranno sincronizzati <br><\/br> su tutti i dispositivi"
},
"feedback": {
"action": "Ok, capito",
Expand All @@ -25,7 +26,7 @@
},
"welcome": {
"action": "Guarda cosa c'è di nuovo",
"title": "Benvenuto su Quran.com <br> <\/br> Account utente"
"title": "Benvenuto su Quran.com <br><\/br> Account utente"
}
},
"collections-announcement": {
Expand Down Expand Up @@ -113,6 +114,12 @@
"title": "Comunità"
},
"complete-sign-up": "Completa la tua registrazione",
"consents": {
"communication": {
"body": "🚀 Potenzia i tuoi progressi tramite notifiche <boldSpan> personalizzate <\/boldSpan> sui progressi del tuo obiettivo, sul mantenimento dei successi e sul miglioramento dell'utilizzo delle nostre funzionalità attuali. <br><\/br> <br><\/br> Possiamo tenerti aggiornato tramite e-mail e altri canali? Hai il controllo: sentiti libero di modificare queste preferenze in qualsiasi momento nelle impostazioni del tuo account. <br><\/br> <br><\/br> Seleziona semplicemente \"Consenti\" per <boldSpan> promemoria stimolanti <\/boldSpan> o \"Non ora\" per rifiutarli.",
"header": "Ci piacerebbe aiutarti a rimanere <boldSpan> impegnato e coerente <\/boldSpan> nel tuo percorso di crescita nel Corano! 📖🌟"
}
},
"continue": "Continua",
"copied": "copiato",
"copied-to-clipboard": "Copiato negli appunti",
Expand Down Expand Up @@ -207,7 +214,14 @@
"next": "Prossimo",
"next-ayah": "Avanti Sì",
"no": "No",
"no-notifications": "Nessuna notifica ancora",
"none": "Nessuno",
"not-now": "Non adesso",
"notification": {
"mark-all-as-read": "Segna tutti come letti",
"mark-as-read": "segna come letto"
},
"notifications": "Notifiche",
"off": "Spento",
"on": "Sopra",
"page": "Pagina",
Expand Down
Loading
Loading