Skip to content

Commit

Permalink
u
Browse files Browse the repository at this point in the history
  • Loading branch information
hadithmv committed Jan 10, 2024
1 parent 37b3907 commit 6ec2668
Show file tree
Hide file tree
Showing 7 changed files with 25,054 additions and 24,951 deletions.
2 changes: 1 addition & 1 deletion books/quranBakurube.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion books/quranHmv.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/json/quranHmv.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion js/json/raw/0 jsonToJs-andMinify.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ Set-Content ../quranBakurube.js -Value 'const quran_DB='
Get-Content quranBakurube.json | Add-Content ../quranBakurube.js
uglifyjs ../quranBakurube.js -c -m -o ../quranBakurube.js

# remember to remove the header
Set-Content ../quranHmv.js -Value 'const quran_DB='
Get-Content quranHmv.json | Add-Content ../quranHmv.js
uglifyjs ../quranHmv.js -c -m -o ../quranHmv.js
Expand Down
49,892 changes: 24,948 additions & 24,944 deletions js/json/raw/quranHmv.json

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion uc/quranBakurube.html
Original file line number Diff line number Diff line change
Expand Up @@ -1337,7 +1337,10 @@ <h3 class="mid">
ފެންނާން އޮތް ހަގޭގަތެއް ނޫންހެއްޔެވެ. އެކަމު ދެން ވެސް ފެންނާނެ
އަނެއް ހަގީގަތަކީ، ބައެއް މީހުން 350 ރުފިޔާއަށް އިޚްލާސްތެރިކަމުގެ
އިންޓެންސިވް ވޯކްޝޮޕްތައް ނަގައިދޭތަން ކަންނޭނގެއެވެ. وَاللَّهُ
المُستَعَانُ وَعَلَيهِ التُّكلَانُ.
المُستَعَانُ وَعَلَيهِ التُّكلَانُ. ދުއާއަކީ، އަހަރެމެންނަކީ ހެޔޮ
ކަންކަމަށްވާ ތަޅުދަނޑިތަކެއް ކަމުގައި ލައްވައި، ނުބައި
ކަންކަމަށްވާ ތަޅުތަކެއް ކަމުގައި ލެއްވުމެވެ. އަދި އޭގެ
އިދިކޮޅަށްވާ ބަޔަކު ކަމުގައި ނުލެއްވުމެވެ. އާމީން.
</p>

<hr class="lineVerticalSpace" />
Expand Down
101 changes: 99 additions & 2 deletions uc/quranHmv.html
Original file line number Diff line number Diff line change
Expand Up @@ -2215,7 +2215,10 @@ <h3 class="mid">
<p class="justi">
މި ސަފުހާގައިވާ އާޔަތްތައް ކޮޕީކުރުމަށް ފަހު، ޑެސްކްޓޮޕް ވޯޑުގައި
ރީތިކޮށް ދެއްކުމަށްޓަކައި، އުޘްމާން ޠާހާ
<a href="https://hadithmv.github.io/font/uthmanic_hafs_v20.ttf"
<a
href="https://hadithmv.github.io/font/uthmanic_hafs_v20.ttf"
rel="noopener noreferrer"
target="_blank"
>ފޮންޓު</a
>
ބޭނުން ކުރެވިދާނެއެވެ.
Expand All @@ -2230,17 +2233,111 @@ <h3 class="mid">
</p>

<p class="justi">
<a href="https://hassaanmv.com/post/waleed-and-quran"
<a
href="https://hassaanmv.com/post/waleed-and-quran"
rel="noopener noreferrer"
target="_blank"
>މުސްހަފުގެ ފްރޭމް</a
>
އަދި
<a
href="https://github.com/maaldheefee/Quran-Translation/blob/master/utils/gen_alternate.py"
rel="noopener noreferrer"
target="_blank"
>އަރަބި ތާނަކުރާ ސްކްރިޕްޓް</a
>
ހެދީ ޙައްސާން ޢަބްދުއްރައްޒާޤް. جَزَاهُ اللَّهُ خَيرًا.
</p>

<hr class="lineVerticalSpace" />

<div style="text-align: left; direction: ltr">
<h3 class="mid">
<a>Technical notes regarding the database text</a>
</h3>

<p>
In the json db, first column is surah number, written as
sans-serif digits.
<br />
Second column is juz number, written as sans-serif bold digits.
(these non-normal numbers were placed so as not to conflict with
the normal ones used elsewhere, and the non-normal numbers are
made normal in scripting instances where needed.)
<br />
Third column is ayah number, written as normal numbers.
<br />
Fourth column is basmalah, it only shows in the row at the
beginning of a new surah, with the exception of fatiha.
<br />
Fifth column is Quran Arabic Text, taken from
<a
href="https://tanzil.net/download"
rel="noopener noreferrer"
target="_blank"
>Tanzil</a
>.
<br />
A sixth, fililess arabic column is created when the page is
generated, using scripts to remove all taskheels.
<br />
<br />
Details about the Tanzil text:
<br />
(Version: 1.1, 12 February 2021)
<br />
(Quran text type: Simple) also included ۞ and the space that
comes with it before it.
<br />
Harmonized بِسْمِ اللَّهِ الرَّحْمَـٰنِ الرَّحِيمِ and بِّسْمِ
اللَّهِ الرَّحْمَـٰنِ الرَّحِيمِ where they occur. Only the one
without shadda on the first baa is used.
<br />
This arabic text was meant to be used as a normal plain quran
text, which would be easy to write, and easy to search. This
text is used as the primary arabic column in all
translations/tafsirs on this site.
<br />
<br />
As for the Rasm Uthmani column with fancy and complex unicode
characters, it is a more beautiful script that matches the
physical mushaf more closely than the Tanzil one, but it is not
easy to write or search according to that, due to the differing
unicode used. So this column is only used as a togglable extra
column in the Hmv translation, and not other books on this site.
<br />
This was taken from
<a
href="https://qurancomplex.gov.sa/en/techquran/dev"
rel="noopener noreferrer"
target="_blank"
>Qurancomplex</a
>.
<br />

Details about the Qurancomplex text:
<br />

Glorious Qur'an Platform for Developers, Unicode Uthmanic Font
(Hafs Narration) [not for smart devices],
<br />
(Version: 12.0, 7 September 2022)
<br />
Files, UthmanicHafs_v2-0.zip, data, hafsData_v2-0.[any format],
aya_text [column]
<br />
I removed the arabic numbers and the space that comes before
that.
<br />
(It seems that version 13.0 just introduces an additional space
right before: <br />
إِنَّ ٱلَّذِينَ كَفَرُواْ سَوَآءٌ عَلَيۡهِمۡ ءَأَنذَرۡتَهُمۡ
أَمۡ لَمۡ تُنذِرۡهُمۡ لَا يُؤۡمِنُونَ ﰅ <br />
which is of no consequence, so I kept using 12.0)
</p>
</div>
<!-- <div style="text-align: left; direction: ltr;"> -->

<!--
<p class="justi">
ވަކި ސޫރަތަކަށް ދިޔުމަށް: އެންމެ މަތީގައިވާ ’ޙަދީޘްއެމްވީ – ޤުރްއާން‘ ޖަހާފައިވާ މެނިއޫއަށް ފިތާލުމަށް ފަހު، ’ސޫރަތްތަކަށް‘
Expand Down

0 comments on commit 6ec2668

Please sign in to comment.