From 04257f904212ead77ef32507a146e46dd660a7f1 Mon Sep 17 00:00:00 2001 From: Youssef Fathy <32334265+0xzer0x@users.noreply.github.com> Date: Sat, 24 Aug 2024 18:48:24 +0300 Subject: [PATCH 1/4] feat: customizable downloads path --- dist/translations/template.ts | 147 ++++++++++++++++++++------------- src/dialogs/settingsdialog.cpp | 44 ++++++++++ src/dialogs/settingsdialog.h | 4 + src/dialogs/settingsdialog.ui | 38 +++++++++ src/utils/configuration.cpp | 15 +++- src/utils/configuration.h | 1 + src/utils/dirmanager.cpp | 50 +++++------ src/utils/dirmanager.h | 2 + 8 files changed, 219 insertions(+), 82 deletions(-) diff --git a/dist/translations/template.ts b/dist/translations/template.ts index f5304994..670e1cd6 100644 --- a/dist/translations/template.ts +++ b/dist/translations/template.ts @@ -457,7 +457,7 @@ MainWindow - + Quran Companion @@ -484,7 +484,7 @@ - + Navigation @@ -545,7 +545,7 @@ - + About Qt @@ -595,44 +595,44 @@ - + Now playing: - + Surah - - - + + + Files Missing - + The selected font files are missing, would you like to download it? - + The selected tafsir is missing, would you like to download it? - + The selected translation is missing, would you like to download it? - + Recitation not found - + The recitation files for the current surah is missing, would you like to download it? @@ -781,52 +781,52 @@ QuranPageBrowser - + Zoom In - + Zoom Out - + Copy Verse - + Select - + Play - + Tafsir - + Translation - + Thoughts - + Add Bookmark - + Remove Bookmark @@ -976,7 +976,7 @@ - + Features @@ -991,102 +991,112 @@ - + Reader - + + Downloads path + + + + Quran page - + + Change + + + + Foreground Highlight - + Adaptive font size - + Reader mode - + Single page - + Double page - + Page font - + QCF V1 - + QCF V2 - - - + + + size - + Verse font - + QCF - + Uthmanic - + Uthmanic (annotated) - + Side content - + Font Family - + Translation - + Shortcuts @@ -1096,50 +1106,71 @@ - + Description - + Key - - - - + + + + + Restart required - + Application theme was changed, restart now? - + + Select directory + + + + + Invalid path + + + + + The chosen path is not valid. Please select a writable path. + + + + Application language was changed, restart now? - + Reading mode was changed, restart now? - + + Application downloads path was changed, restart now? + + + + Restart is required to load new quran font, restart now? - + Apply - + Cancel @@ -1509,7 +1540,7 @@ - + End verse cannot be before start verse diff --git a/src/dialogs/settingsdialog.cpp b/src/dialogs/settingsdialog.cpp index f38a4039..16c8eeb5 100644 --- a/src/dialogs/settingsdialog.cpp +++ b/src/dialogs/settingsdialog.cpp @@ -5,6 +5,7 @@ #include "settingsdialog.h" #include "ui_settingsdialog.h" +#include #include #include #include @@ -27,6 +28,7 @@ SettingsDialog::SettingsDialog(QWidget* parent, VersePlayer* vPlayerPtr) ui->tableViewShortcuts->setModel(&m_shortcutsModel); ui->tableViewShortcuts->horizontalHeader()->setStretchLastSection(true); ui->tableViewShortcuts->setItemDelegate(new ShortcutDelegate); + ui->lbDownloadsPath->setText(m_downloadsDir.absolutePath()); fillLanguageCombobox(); setCurrentSettingsAsRef(); @@ -36,6 +38,10 @@ SettingsDialog::SettingsDialog(QWidget* parent, VersePlayer* vPlayerPtr) void SettingsDialog::setupConnections() { + connect(ui->btnChangeDownloadsPath, + &QPushButton::clicked, + this, + &SettingsDialog::selectDownloadsDir); connect(ui->buttonBox, &QDialogButtonBox::clicked, this, @@ -149,6 +155,26 @@ SettingsDialog::checkShortcuts() } } +void +SettingsDialog::selectDownloadsDir() +{ + QString path = QFileDialog::getExistingDirectory( + this, tr("Select directory"), m_downloadsDir.absolutePath()); + if (path.isEmpty()) + return; + + QFileInfo pathInfo(path); + if (!pathInfo.isWritable()) { + QMessageBox::warning( + this, + tr("Invalid path"), + tr("The chosen path is not valid. Please select a writable path.")); + return; + } + + ui->lbDownloadsPath->setText(path); +} + void SettingsDialog::updateTheme(int themeIdx) { @@ -179,6 +205,21 @@ SettingsDialog::updateLang(QLocale::Language lang) m_restartReq = btn == QMessageBox::Yes; } +void +SettingsDialog::updateDownloadsPath(QString path) +{ + m_config.settings().setValue("DownloadsDir", path); + if (m_restartReq) + return; + + QMessageBox::StandardButton btn = QMessageBox::question( + this, + tr("Restart required"), + tr("Application downloads path was changed, restart now?")); + + m_restartReq = btn == QMessageBox::Yes; +} + void SettingsDialog::updateDailyVerse(bool on) { @@ -311,6 +352,9 @@ SettingsDialog::applyAllChanges() if (ui->cmbTheme->currentIndex() != m_config.themeId()) updateTheme(ui->cmbTheme->currentIndex()); + if (ui->lbDownloadsPath->text() != m_downloadsDir.absolutePath()) + updateDownloadsPath(ui->lbDownloadsPath->text()); + if (ui->chkDailyVerse->isChecked() != m_votd) updateDailyVerse(ui->chkDailyVerse->isChecked()); diff --git a/src/dialogs/settingsdialog.h b/src/dialogs/settingsdialog.h index 9416041d..92b73850 100644 --- a/src/dialogs/settingsdialog.h +++ b/src/dialogs/settingsdialog.h @@ -70,6 +70,7 @@ public slots: * @param lang - QLocale::Language enum value representing the new language */ void updateLang(QLocale::Language lang); + void updateDownloadsPath(QString path); /** * @brief Update daily verse option * @param on - boolean flag representing the new setting value @@ -214,6 +215,9 @@ public slots: */ void closeEvent(QCloseEvent* event); +private slots: + void selectDownloadsDir(); + private: Ui::SettingsDialog* ui; Configuration& m_config; diff --git a/src/dialogs/settingsdialog.ui b/src/dialogs/settingsdialog.ui index 4c10d3c2..100be22c 100644 --- a/src/dialogs/settingsdialog.ui +++ b/src/dialogs/settingsdialog.ui @@ -135,6 +135,44 @@ + + + + + + Downloads path + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + /path/to/downloads/dir + + + + + + + Change + + + + + diff --git a/src/utils/configuration.cpp b/src/utils/configuration.cpp index 8f5e7ca4..5c8d0b7b 100644 --- a/src/utils/configuration.cpp +++ b/src/utils/configuration.cpp @@ -1,10 +1,10 @@ #include "configuration.h" -#include "dirmanager.h" #include #include #include #include #include +#include Configuration& Configuration::getInstance() @@ -19,6 +19,7 @@ Configuration::Configuration() QSettings::IniFormat) { checkGroups(); + setCustomPaths(); m_themeId = m_settings.value("Theme").toInt(); m_qcfVersion = m_settings.value("Reader/QCF").toInt(); m_language = qvariant_cast(m_settings.value("Language")); @@ -26,6 +27,17 @@ Configuration::Configuration() m_darkMode = m_themeId == 2; } +void +Configuration::setCustomPaths() +{ + QString path = m_settings.value("DownloadsDir").toString(); + if (!path.isEmpty()) { + QDir dir = QDir(path); + DirManager::getInstance().setDownloadsDir(dir); + } + DirManager::getInstance().createDirSkeleton(); +} + void Configuration::checkGroups() { @@ -50,6 +62,7 @@ Configuration::checkConfGroup(int gId) m_settings.setValue("VOTD", m_settings.value("VOTD", true)); m_settings.setValue("MissingFileWarning", m_settings.value("MissingFileWarning", true)); + m_settings.setValue("DownloadsDir", m_settings.value("DownloadsDir", "")); break; case 1: m_settings.beginGroup("Reader"); diff --git a/src/utils/configuration.h b/src/utils/configuration.h index 5bd840ad..84ec7439 100644 --- a/src/utils/configuration.h +++ b/src/utils/configuration.h @@ -42,6 +42,7 @@ class Configuration private: Configuration(); + void setCustomPaths(); int m_themeId; bool m_darkMode; int m_qcfVersion; diff --git a/src/utils/dirmanager.cpp b/src/utils/dirmanager.cpp index 310171e6..a2a988f9 100644 --- a/src/utils/dirmanager.cpp +++ b/src/utils/dirmanager.cpp @@ -12,35 +12,16 @@ DirManager::getInstance() DirManager::DirManager() { m_downloadsDir.setPath( - QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation)); + QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation) + + QDir::separator() + "QuranCompanion"); m_configDir.setPath( - QStandardPaths::writableLocation(QStandardPaths::GenericConfigLocation)); + QStandardPaths::writableLocation(QStandardPaths::GenericConfigLocation) + + QDir::separator() + "QuranCompanion"); m_assetsDir.setPath(QApplication::applicationDirPath() + QDir::separator() + "assets"); m_fontsDir.setPath(m_assetsDir.absoluteFilePath("fonts")); m_basmallahDir.setPath(QApplication::applicationDirPath() + QDir::separator() + "bismillah"); - - // config & downloads - if (!m_configDir.exists("QuranCompanion")) - m_configDir.mkpath("QuranCompanion"); - m_configDir.cd("QuranCompanion"); - - if (!m_downloadsDir.exists("QuranCompanion")) - m_downloadsDir.mkpath("QuranCompanion"); - m_downloadsDir.cd("QuranCompanion"); - - if (!m_downloadsDir.exists("recitations")) - m_downloadsDir.mkpath("recitations"); - - if (!m_downloadsDir.exists("QCFV2")) - m_downloadsDir.mkpath("QCFV2"); - - if (!m_downloadsDir.exists("tafasir")) - m_downloadsDir.mkpath("tafasir"); - - if (!m_downloadsDir.exists("translations")) - m_downloadsDir.mkpath("translations"); } void @@ -102,3 +83,26 @@ DirManager::basmallahDir() const { return m_basmallahDir; } + +void +DirManager::createDirSkeleton() const +{ + // config & downloads + if (!m_configDir.exists()) + m_configDir.mkpath(m_configDir.absolutePath()); + + if (!m_downloadsDir.exists()) + m_downloadsDir.mkpath(m_downloadsDir.absolutePath()); + + if (!m_downloadsDir.exists("recitations")) + m_downloadsDir.mkpath("recitations"); + + if (!m_downloadsDir.exists("QCFV2")) + m_downloadsDir.mkpath("QCFV2"); + + if (!m_downloadsDir.exists("tafasir")) + m_downloadsDir.mkpath("tafasir"); + + if (!m_downloadsDir.exists("translations")) + m_downloadsDir.mkpath("translations"); +} diff --git a/src/utils/dirmanager.h b/src/utils/dirmanager.h index 1575716c..8f8606ee 100644 --- a/src/utils/dirmanager.h +++ b/src/utils/dirmanager.h @@ -21,6 +21,8 @@ class DirManager const QDir& downloadsDir() const; const QDir& basmallahDir() const; + void createDirSkeleton() const; + private: DirManager(); QDir m_fontsDir; From a8348f26cc5cb18746d804d7346486f1fab2794c Mon Sep 17 00:00:00 2001 From: Youssef Fathy <32334265+0xzer0x@users.noreply.github.com> Date: Sat, 24 Aug 2024 18:51:45 +0300 Subject: [PATCH 2/4] fix: ci workflow status url --- README-AR.md | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README-AR.md b/README-AR.md index a8d040ac..5a19b03f 100644 --- a/README-AR.md +++ b/README-AR.md @@ -22,7 +22,7 @@ StandWithPalestine GitHub Release AUR Version - GitHub Actions Workflow Status + GitHub Actions Workflow Status GitHub issues

diff --git a/README.md b/README.md index d05bf03b..dfd36bb8 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ StandWithPalestine GitHub Release AUR Version - GitHub Actions Workflow Status + GitHub Actions Workflow Status GitHub issues

From f2f57c9a141e88d19e4c845746b71829ae7b7f39 Mon Sep 17 00:00:00 2001 From: Youssef Fathy <32334265+0xzer0x@users.noreply.github.com> Date: Sat, 24 Aug 2024 19:02:37 +0300 Subject: [PATCH 3/4] New Crowdin updates (#91) * crowdin: update Arabic translation * crowdin: update Russian translation * crowdin: update Turkish translation * crowdin: update Arabic translation --- dist/translations/out/qc_ar.ts | 147 ++++++++++++++++++++------------- dist/translations/out/qc_ru.ts | 147 ++++++++++++++++++++------------- dist/translations/out/qc_tr.ts | 147 ++++++++++++++++++++------------- 3 files changed, 267 insertions(+), 174 deletions(-) diff --git a/dist/translations/out/qc_ar.ts b/dist/translations/out/qc_ar.ts index fe060746..bc6530fa 100644 --- a/dist/translations/out/qc_ar.ts +++ b/dist/translations/out/qc_ar.ts @@ -457,7 +457,7 @@ MainWindow - + Quran Companion رفيق القرآن @@ -484,7 +484,7 @@ - + Navigation التصفح @@ -545,7 +545,7 @@ - + About Qt عن كيوت @@ -595,44 +595,44 @@ افتراضي - + Now playing: يقرأ الآن: - + Surah سورة - - - + + + Files Missing الملفات مفقودة - + The selected font files are missing, would you like to download it? ملفات الخط المحدد مفقودة، هل ترغب في تحميلها؟ - + The selected tafsir is missing, would you like to download it? التفسير المحدد مفقود، هل ترغب في تحميله؟ - + The selected translation is missing, would you like to download it? الترجمة المحددة مفقود، هل ترغب في تحميله؟ - + Recitation not found التلاوة غير موجودة - + The recitation files for the current surah is missing, would you like to download it? ملفات التلاوة الخاصة بالسورة الحالية غير متوفرة، هل تود الذَّهاب إلى صفحة التحميل؟ @@ -781,52 +781,52 @@ QuranPageBrowser - + Zoom In تكبير - + Zoom Out تصغير - + Copy Verse نسخ نص الآية - + Select اختر - + Play قراءة - + Tafsir التفسير - + Translation الترجمة - + Thoughts خواطر - + Add Bookmark اضافة علامة - + Remove Bookmark إزالة العلامة @@ -976,7 +976,7 @@ - + Features المميزات @@ -991,102 +991,112 @@ تحذير التلاوات المفقودة - + Reader القارئ - + + Downloads path + مسار التحميلات + + + Quran page صفحة القرآن - + + Change + تغيير + + + Foreground Highlight تظليل النص - + Adaptive font size حجم خط تلقائي - + Reader mode وضع القراءة - + Single page صفحة - + Double page صفحتين - + Page font خط الصفحة - + QCF V1 خط 1 - + QCF V2 خط 2 - - - + + + size الحجم - + Verse font خط الآيات - + QCF خط الصفحة - + Uthmanic عثماني - + Uthmanic (annotated) عثماني (مرمز) - + Side content المحتوى الجانبي - + Font Family نوع الخط - + Translation الترجمة - + Shortcuts الاختصارات @@ -1096,50 +1106,71 @@ التفسير - + Description الوصف - + Key المفتاح - - - - + + + + + Restart required مطلوب إعادة التشغيل - + Application theme was changed, restart now? تم تغيير مظهر التطبيق، هل تريد إعادة التشغيل الآن؟ - + + Select directory + حدد المجلد + + + + Invalid path + مسار غير صالح + + + + The chosen path is not valid. Please select a writable path. + المسار المختار غير صالح. الرجاء اختيار مسار قابل للكتابة. + + + Application language was changed, restart now? تم تغيير لغة التطبيق، هل تريد إعادة التشغيل الآن؟ - + Reading mode was changed, restart now? تم تغيير وضع القراءة، هل تريد إعادة التشغيل الآن؟ - + + Application downloads path was changed, restart now? + تم تغيير مسار تحميلات التطبيق، هل تريد إعادة التشغيل الآن؟ + + + Restart is required to load new quran font, restart now? إعادة التشغيل مطلوبة لتحميل خط القرآن الجديد، هل تريد إعادة التشغيل الآن؟ - + Apply طبّق - + Cancel ألغِ @@ -1509,7 +1540,7 @@ التكرارات - + End verse cannot be before start verse لا يمكن لآية النهاية أن تكون قبل آية البداية diff --git a/dist/translations/out/qc_ru.ts b/dist/translations/out/qc_ru.ts index 305802e9..089123b5 100644 --- a/dist/translations/out/qc_ru.ts +++ b/dist/translations/out/qc_ru.ts @@ -457,7 +457,7 @@ MainWindow - + Quran Companion Компаньон Корана @@ -484,7 +484,7 @@ - + Navigation Навигация @@ -545,7 +545,7 @@ - + About Qt О платформе Qt @@ -595,44 +595,44 @@ По умолчанию - + Now playing: Сейчас проигрывается: - + Surah Сура - - - + + + Files Missing Файл не найден - + The selected font files are missing, would you like to download it? Файлы выбранного шрифта отсутствуют, вы хотите загрузить их? - + The selected tafsir is missing, would you like to download it? Файлы выбранного тафсира отсутствуют, вы хотите загрузить его? - + The selected translation is missing, would you like to download it? Файлы выбранного перевода отсутствуют, вы хотите загрузить их? - + Recitation not found Чтец не найден - + The recitation files for the current surah is missing, would you like to download it? Файл чтения для текущей суры отсутствует, вы хотите скачать его? @@ -781,52 +781,52 @@ QuranPageBrowser - + Zoom In Увеличить масштаб - + Zoom Out Уменьшить масштаб - + Copy Verse Копировать аят - + Select Выбрать - + Play Воспроизвести - + Tafsir Тафсир - + Translation Перевод - + Thoughts Мысли - + Add Bookmark Добавить закладку - + Remove Bookmark Удалить закладку @@ -976,7 +976,7 @@ - + Features Особенности @@ -991,102 +991,112 @@ Отсутствует предупреждение о чтении - + Reader Читатель - + + Downloads path + Downloads path + + + Quran page Страница Корана - + + Change + Change + + + Foreground Highlight Подсветка переднего плана - + Adaptive font size Адаптивный размер шрифта - + Reader mode Режим чтения - + Single page Одностраничный - + Double page Двойная страница - + Page font Шрифт страницы - + QCF V1 QCF V1 - + QCF V2 QCF V2 - - - + + + size размер - + Verse font Шрифт аята - + QCF QCF - + Uthmanic Uthmanic - + Uthmanic (annotated) Uthmanic (аннотированный) - + Side content Содержимое боковой панели - + Font Family Семейство шрифта - + Translation Перевод - + Shortcuts Сочетания клавиш @@ -1096,50 +1106,71 @@ Тафсир - + Description Описание - + Key Клавиша - - - - + + + + + Restart required Требуется перезапуск - + Application theme was changed, restart now? Тема приложения изменена, перезапустить сейчас? - + + Select directory + Select directory + + + + Invalid path + Invalid path + + + + The chosen path is not valid. Please select a writable path. + The chosen path is not valid. Please select a writable path. + + + Application language was changed, restart now? Язык приложения изменён, перезапустить сейчас? - + Reading mode was changed, restart now? Режим чтения изменён, перезапустить сейчас? - + + Application downloads path was changed, restart now? + Application downloads path was changed, restart now? + + + Restart is required to load new quran font, restart now? Перезапуск необходим для загрузки нового шрифта, перезапустить сейчас? - + Apply Применить - + Cancel Отмена @@ -1509,7 +1540,7 @@ Repetitions - + End verse cannot be before start verse End verse cannot be before start verse diff --git a/dist/translations/out/qc_tr.ts b/dist/translations/out/qc_tr.ts index a64dc8e1..a3951735 100644 --- a/dist/translations/out/qc_tr.ts +++ b/dist/translations/out/qc_tr.ts @@ -457,7 +457,7 @@ MainWindow - + Quran Companion Kura-an'ı Kerim Arkadaşı @@ -484,7 +484,7 @@ - + Navigation Gezinme @@ -545,7 +545,7 @@ - + About Qt Qt Hakkında @@ -595,44 +595,44 @@ Varsayılan - + Now playing: Şimdi oynatılıyor: - + Surah Sure - - - + + + Files Missing Files Missing - + The selected font files are missing, would you like to download it? The selected font files are missing, would you like to download it? - + The selected tafsir is missing, would you like to download it? The selected tafsir is missing, would you like to download it? - + The selected translation is missing, would you like to download it? The selected translation is missing, would you like to download it? - + Recitation not found Kıraat bulunamadı - + The recitation files for the current surah is missing, would you like to download it? Güncel Surenin kıraat dosyaları eksik, indirmek ister misiniz? @@ -781,52 +781,52 @@ QuranPageBrowser - + Zoom In Yakınlaştır - + Zoom Out Uzaklaştır - + Copy Verse Ayeti kopyala - + Select Seç - + Play Oynat - + Tafsir Tefsir - + Translation Çeviri - + Thoughts Thoughts - + Add Bookmark Yer işareti Ekle - + Remove Bookmark Yer imini kaldır @@ -976,7 +976,7 @@ - + Features Özellikler @@ -991,102 +991,112 @@ Eksik okuyucu uyarısı - + Reader Okuyucu - + + Downloads path + Downloads path + + + Quran page Kuran sayfası - + + Change + Change + + + Foreground Highlight Ön Plan Vurgusu - + Adaptive font size Uyarlanabilir yazı tipi boyutu - + Reader mode Okuyucu modu - + Single page Tek sayfa - + Double page Çift sayfa - + Page font Page font - + QCF V1 QCF V1 - + QCF V2 QCF V2 - - - + + + size size - + Verse font Verse font - + QCF QCF - + Uthmanic Uthmanic - + Uthmanic (annotated) Uthmanic (annotated) - + Side content Yan içerik - + Font Family Yazı Tipi Ailesi - + Translation Çeviri - + Shortcuts Kısayollar @@ -1096,50 +1106,71 @@ Tefsir - + Description Açıklama - + Key Tuş - - - - + + + + + Restart required Yeniden başlatma gerekli - + Application theme was changed, restart now? Uygulama teması değiştirildi, şimdi yeniden başlatılsın mı? - + + Select directory + Select directory + + + + Invalid path + Invalid path + + + + The chosen path is not valid. Please select a writable path. + The chosen path is not valid. Please select a writable path. + + + Application language was changed, restart now? Uygulama dili değiştirildi, şimdi yeniden başlatılsın mı? - + Reading mode was changed, restart now? Okuma modu değiştirildi, şimdi yeniden başlatılsın mı? - + + Application downloads path was changed, restart now? + Application downloads path was changed, restart now? + + + Restart is required to load new quran font, restart now? Yeni Kuran yazı tipini yüklemek için yeniden başlatma gerekiyor, şimdi yeniden başlatılsın mı? - + Apply Uygula - + Cancel Vazgeç @@ -1509,7 +1540,7 @@ Repetitions - + End verse cannot be before start verse End verse cannot be before start verse From ad684369bc3c9de592bae0255023220372ee5845 Mon Sep 17 00:00:00 2001 From: Youssef Fathy <32334265+0xzer0x@users.noreply.github.com> Date: Sat, 24 Aug 2024 21:01:19 +0300 Subject: [PATCH 4/4] release: update sources --- CHANGELOG.md | 4 ++-- CMakeLists.txt | 2 +- README-AR.md | 4 ++-- README.md | 4 ++-- VERSION | 2 +- .../io.github._0xzer0x.qurancompanion.metainfo.xml | 13 ++++++++++++- snap/snapcraft.yaml | 6 +++--- src/main.cpp | 2 +- 8 files changed, 24 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0c9ceb15..be8ceb12 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,10 +2,10 @@ ### التحديثات 💭 -- تصليح عطل في مكان ظهور نافذة التكرار +- إضافة خاصية: تغيير مسار التحميلات (#88) ### What's Changed 💭 -- Bug fix in repeater widget positioning +- Added feature: Customizable downloads path (#88) diff --git a/CMakeLists.txt b/CMakeLists.txt index b48678cc..a2814e9e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.22) project( quran-companion LANGUAGES CXX - VERSION 1.2.8 + VERSION 1.2.9 DESCRIPTION "Quran reader and player" HOMEPAGE_URL "https://0xzer0x.github.io/projects/quran-companion/") diff --git a/README-AR.md b/README-AR.md index 5a19b03f..744e3f95 100644 --- a/README-AR.md +++ b/README-AR.md @@ -138,7 +138,7 @@ Download Flatpak - + Download AppImage @@ -329,4 +329,4 @@ cmake --build . [win-installer]: https://github.com/0xzer0x/quran-companion/releases/download/v1.1.9/qc_online_installer_x64_win.exe [translation-wiki]: https://github.com/0xzer0x/quran-companion/wiki/Contributing-Translations [recitations-wiki]: https://github.com/0xzer0x/quran-companion/wiki/Contributing-Recitations -[macos-dmg-url]: https://github.com/0xzer0x/quran-companion/releases/download/v1.2.8/Quran_Companion-1.2.8-x86_64.dmg +[macos-dmg-url]: https://github.com/0xzer0x/quran-companion/releases/download/v1.2.9/Quran_Companion-1.2.9-x86_64.dmg diff --git a/README.md b/README.md index dfd36bb8..352582fd 100644 --- a/README.md +++ b/README.md @@ -135,7 +135,7 @@ The application can be downloaded in any of the available packages (snap, flatpa Download Flatpak - + Download AppImage @@ -311,4 +311,4 @@ Distributed under the [Waqf General Public License](https://ojuba.org/waqf-2.0:% [win-installer]: https://github.com/0xzer0x/quran-companion/releases/download/v1.1.9/qc_online_installer_x64_win.exe [translation-wiki]: https://github.com/0xzer0x/quran-companion/wiki/Contributing-Translations [recitations-wiki]: https://github.com/0xzer0x/quran-companion/wiki/Contributing-Recitations -[macos-dmg-url]: https://github.com/0xzer0x/quran-companion/releases/download/v1.2.8/Quran_Companion-1.2.8-x86_64.dmg +[macos-dmg-url]: https://github.com/0xzer0x/quran-companion/releases/download/v1.2.9/Quran_Companion-1.2.9-x86_64.dmg diff --git a/VERSION b/VERSION index db6fb4a9..9d4f8239 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.2.8 +1.2.9 diff --git a/dist/xdg/io.github._0xzer0x.qurancompanion.metainfo.xml b/dist/xdg/io.github._0xzer0x.qurancompanion.metainfo.xml index 469cbab3..6b89b558 100644 --- a/dist/xdg/io.github._0xzer0x.qurancompanion.metainfo.xml +++ b/dist/xdg/io.github._0xzer0x.qurancompanion.metainfo.xml @@ -2,7 +2,7 @@ io.github._0xzer0x.qurancompanion Quran Companion - Cross-platform Quran reader and player + Read and listen to the Quran MIT LGPL-3.0-or-later @@ -15,6 +15,10 @@

Quran Companion is a cross-platform Quran reader and player with recitation download capabilities, verse highlighting, resizable quran font, and a variety of tafsir books and translations

+ + #8ab4f8 + #8ab4f8 + Youssef Fathy @@ -51,6 +55,13 @@ + + +
    +
  • Customizable downloads path
  • +
+
+
    diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 672f415b..98e9e6c0 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -1,11 +1,11 @@ name: quran-companion base: core22 -version: '1.2.8' +version: 1.2.9 title: Quran Companion website: https://0xzer0x.github.io/projects/quran-companion source-code: https://github.com/0xzer0x/quran-companion -contact: youssefessamasu@gmail.com -summary: Cross-platform Quran reader and player +contact: https://0xzer0x.github.io/contact +summary: Read and listen to the Quran description: | Quran Companion is a cross-platform Quran reader and player with recitation download capabilities, verse highlighting, re-sizable Quran font, and a variety of tafsir books and translations. diff --git a/src/main.cpp b/src/main.cpp index 86c8dccc..4bb07a04 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -28,7 +28,7 @@ main(int argc, char* argv[]) QApplication a(argc, argv); QApplication::setApplicationName("Quran Companion"); QApplication::setOrganizationName("0xzer0x"); - QApplication::setApplicationVersion("1.2.8"); + QApplication::setApplicationVersion("1.2.9"); QSplashScreen splash(QPixmap(":/resources/splash.png")); splash.show();