Skip to content

Commit

Permalink
handle fabiayyi alai
Browse files Browse the repository at this point in the history
  • Loading branch information
alpancs committed Sep 22, 2024
1 parent e172199 commit 950d532
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/quranize.rs
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ mod tests {
q.assert_encode("yu'minun", &["يُؤمِنون"]);
q.assert_encode("hudan lil muttaqin", &["هُدًى لِلمُتَّقين"]);
q.assert_encode("majreeha wamursaha", &["مَجر۪ىٰها وَمُرسىٰها"]);
q.assert_encode("fabiayyi alai", &["فَبِأَىِّ ءالاءِ"]);
}

// #[test]
Expand Down
2 changes: 1 addition & 1 deletion src/quranize/transliterations.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ pub(super) fn map(c: char) -> &'static [&'static str] {
LETTER_NOON => &["n"],
LETTER_HEH => &["h"],
LETTER_WAW => &["w", "u", "uu"],
LETTER_ALEF_MAKSURA => &["a", "i"],
LETTER_ALEF_MAKSURA => &["a", "aa", "y", "i", "ii"],
LETTER_YEH => &["y", "i", "ii"],

FATHATAN => &["an", "on", ""],
Expand Down

0 comments on commit 950d532

Please sign in to comment.