Skip to content

Commit ed89f4d

Browse files
PabloAlexis611brechtm
authored andcommitted
Add support for Hungarian language
1 parent 80bd53a commit ed89f4d

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed

doc/api/language.rst

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ The following languages are supported:
2525

2626
.. autodata:: FR
2727

28+
.. autodata:: HU
29+
2830
.. autodata:: IT
2931

3032
.. autodata:: NL

src/rinoh/language/hu.py

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# This file is part of rinohtype, the Python document preparation system.
2+
#
3+
# Copyright (c) Brecht Machiels.
4+
#
5+
# Use of this source code is subject to the terms of the GNU Affero General
6+
# Public License v3. See the LICENSE file or http://www.gnu.org/licenses/.
7+
8+
9+
from .cls import Language
10+
from ..structure import SectionTitles, AdmonitionTitles
11+
12+
13+
HU = Language('hu', 'Hungarian')
14+
15+
SectionTitles(
16+
contents='Tartalomjegyzék',
17+
list_of_figures='Ábrák Listája',
18+
list_of_tables='Asztalok Listája',
19+
chapter='Fejezet',
20+
index='Index',
21+
) in HU
22+
23+
AdmonitionTitles(
24+
attention='Figyelem!',
25+
caution='Vigyázat!!',
26+
danger='!VESZÉLY!',
27+
error='Hiba',
28+
hint='Tanács',
29+
important='Fontos',
30+
note='Megjegyzés',
31+
tip='Tipp',
32+
warning='Figyelmeztetés',
33+
seealso='Lásd még',
34+
) in HU

0 commit comments

Comments
 (0)