kushalExplores's picture
Upload folder using huggingface_hub
53dbcc1 verified
# Author: Meir Kriheli
# Id: $Id: he.py 9452 2023-09-27 00:11:54Z milde $
# Copyright: This module has been placed in the public domain.
# New language mappings are welcome. Before doing a new translation, please
# read <https://docutils.sourceforge.io/docs/howto/i18n.html>.
# Two files must be translated for each language: one in docutils/languages,
# the other in docutils/parsers/rst/languages.
"""
Hebrew-language mappings for language-dependent features of Docutils.
"""
__docformat__ = 'reStructuredText'
labels = {
# fixed: language-dependent
'author': 'ืžื—ื‘ืจ',
'authors': 'ืžื—ื‘ืจื™',
'organization': 'ืืจื’ื•ืŸ',
'address': 'ื›ืชื•ื‘ืช',
'contact': 'ืื™ืฉ ืงืฉืจ',
'version': 'ื’ืจืกื”',
'revision': 'ืžื”ื“ื•ืจื”',
'status': 'ืกื˜ื˜ื•ืก',
'date': 'ืชืืจื™ืš',
'copyright': 'ื–ื›ื•ื™ื•ืช ืฉืžื•ืจื•ืช',
'dedication': 'ื”ืงื“ืฉื”',
'abstract': 'ืชืงืฆื™ืจ',
'attention': 'ืชืฉื•ืžืช ืœื‘',
'caution': 'ื–ื”ื™ืจื•ืช',
'danger': 'ืกื›ื ื”',
'error': 'ืฉื’ื™ืื”',
'hint': 'ืจืžื–',
'important': 'ื—ืฉื•ื‘',
'note': 'ื”ืขืจื”',
'tip': 'ื˜ื™ืค',
'warning': 'ืื–ื”ืจื”',
'contents': 'ืชื•ื›ืŸ',
}
"""Mapping of node class name to label text."""
bibliographic_fields = {
# language-dependent: fixed
'ืžื—ื‘ืจ': 'author',
'ืžื—ื‘ืจื™': 'authors',
'ืืจื’ื•ืŸ': 'organization',
'ื›ืชื•ื‘ืช': 'address',
'ืื™ืฉ ืงืฉืจ': 'contact',
'ื’ืจืกื”': 'version',
'ืžื”ื“ื•ืจื”': 'revision',
'ืกื˜ื˜ื•ืก': 'status',
'ืชืืจื™ืš': 'date',
'ื–ื›ื•ื™ื•ืช ืฉืžื•ืจื•ืช': 'copyright',
'ื”ืงื“ืฉื”': 'dedication',
'ืชืงืฆื™ืจ': 'abstract',
}
"""Hebrew to canonical name mapping for bibliographic fields."""
author_separators = [';', ',']
"""List of separator strings for the 'Authors' bibliographic field. Tried in
order."""