aboutsummaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/internet/char-mappings.ts31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/modules/internet/char-mappings.ts b/src/modules/internet/char-mappings.ts
index 6b784379..83801a25 100644
--- a/src/modules/internet/char-mappings.ts
+++ b/src/modules/internet/char-mappings.ts
@@ -276,10 +276,41 @@ const farsiMapping: { [key: string]: string } = Object.fromEntries([
['ژ', 'zh'],
['ی', 'y'],
]);
+const hebrewMapping: { [key: string]: string } = Object.fromEntries([
+ ['א', 'a'],
+ ['ב', 'b'],
+ ['ג', 'g'],
+ ['ד', 'd'],
+ ['ה', 'h'],
+ ['ו', 'v'],
+ ['ז', 'z'],
+ ['ח', 'ch'],
+ ['ט', 't'],
+ ['י', 'y'],
+ ['כ', 'k'],
+ ['ך', 'kh'],
+ ['ל', 'l'],
+ ['ם', 'm'],
+ ['מ', 'm'],
+ ['ן', 'n'],
+ ['נ', 'n'],
+ ['ס', 's'],
+ ['ע', 'a'],
+ ['פ', 'f'],
+ ['ף', 'ph'],
+ ['צ', 'ts'],
+ ['ץ', 'ts'],
+ ['ק', 'k'],
+ ['ר', 'r'],
+ ['ש', 'sh'],
+ ['ת', 't'],
+ ['ו', 'v'],
+]);
export const charMapping: { [key: string]: string } = {
...cyrillicMapping,
...greekMapping,
...arabicMapping,
...farsiMapping,
...armenianMapping,
+ ...hebrewMapping,
};