|
1 | | -# i = Importer::QuranEnc.new |
2 | | -# i.import 'dagbani_ghatubo' |
3 | 1 | module Importer |
4 | 2 | class QuranEnc < Base |
5 | 3 | include Utils::StrongMemoize |
@@ -335,11 +333,6 @@ def create_translation_with_footnote(verse, resource, footnote_resource, quran_e |
335 | 333 | translation |
336 | 334 | end |
337 | 335 |
|
338 | | - def swahili_barawani(verse, resource, footnote_resource, quran_enc_key, data) |
339 | | - # this translation has footnote, but there is no footnote markers in translation. |
340 | | - create_translation_with_footnote(verse, resource, footnote_resource, quran_enc_key, data, report_foonote_issues: false) |
341 | | - end |
342 | | - |
343 | 336 | def parse_pashto_zakaria(verse, resource, footnote_resource, quran_enc_key, data) |
344 | 337 | data['translation'] = data['translation'].sub(/\d+-\d+/, '') |
345 | 338 |
|
@@ -421,7 +414,6 @@ def data_source |
421 | 414 | spanish_mokhtasar: /^(\d*,)?\d+.(\s)?/, # 2:3-4 |
422 | 415 | english_hilali_khan: /\([A-Z]\.\d+(?::\d+)?\)/, |
423 | 416 | ukrainian_yakubovych: /^\[[IVXLCDM]+\]/, |
424 | | - indonesian_affairs: /^\*?\d+\)/, |
425 | 417 | bengali_zakaria: /^\[\p{N}+\]/, |
426 | 418 | hausa_gummi: /^\*/, |
427 | 419 | punjabi_arif: /^[\d\p{M}\s]*/, |
@@ -449,7 +441,7 @@ def data_source |
449 | 441 | tajik_khawaja: [/\(\d+\)/, /\d+[.]/], |
450 | 442 | spanish_montada_eu: [/\[\d+\]/, /\[\d+\]/], |
451 | 443 | indonesian_complex: [/\d+/, /\d+[.\s]/], |
452 | | - indonesian_affairs: [/\d+\)/, /(?<!\()\*?\b\d+\)/], |
| 444 | + indonesian_affairs: [/\[\d+\]/, /\[\d+\]/], |
453 | 445 | french_montada: [/\[\d+\]/, /\[\d+\]/], |
454 | 446 | english_hilali_khan: [/\[\d+\]/, /\[\d+\]/], |
455 | 447 | english_saheeh: [/\[\d+\]/, /\[\d+\]-/], |
@@ -502,12 +494,13 @@ def data_source |
502 | 494 | ukrainian_yakubovych: [/\[[IVXLCDM]+\]/, /\[[IVXLCDM]+\]/], |
503 | 495 | russian_aboadel: [/\[\d+\]/, /\[\d+\]/], |
504 | 496 | romanian_project: [/\[\d+\]/, /\[\d+\]/], |
505 | | - swahili_rwwad: [/\[\d+\]/, /\[\d+\]/] |
| 497 | + swahili_rwwad: [/\[\d+\]/, /\[\d+\]/], |
| 498 | + oromo_rwwad: [/\[\d+\]/, /\[\d+\]/] |
506 | 499 | }.freeze |
507 | 500 |
|
508 | 501 | TRANSLATIONS_MAPPING = { |
509 | | - zulu_adel: {id: 1642}, |
510 | | - oromo_rwwad: {id: 1640}, |
| 502 | + zulu_adel: { id: 1642 }, |
| 503 | + oromo_rwwad: { id: 1640 }, |
511 | 504 | uzbek_sadiq_latin: { id: 55 }, |
512 | 505 | dutch_center: { language: 118, name: 'Dutch Islamic Center', id: 942 }, |
513 | 506 | pashto_rwwad: { language: 132, name: 'Rowwad Translation Center', id: 943 }, |
@@ -648,6 +641,7 @@ def data_source |
648 | 641 | }.freeze |
649 | 642 |
|
650 | 643 | TRANSLATIONS_WITH_FOOTNOTES = [ |
| 644 | + 'oromo_rwwad', |
651 | 645 | 'amharic_zain', |
652 | 646 | 'swahili_rwwad', |
653 | 647 | 'romanian_project', |
|
0 commit comments