summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/xelatex/polyglossia/gloss-bahasam.ldf
blob: fa5b3da805d8e1a8b357dbe33120d0b344760a3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
\ProvidesFile{gloss-bahasam.ldf}[polyglossia: module for bahasa malaysia]
\makeatletter
\def\bahasam@font{\normalfontlatin}

\ifx\l@malay\@undefined
  \ifx\l@meyalu\@undefined
    \ifx\l@bahasam\@undefined
      \ifx\l@bahasa\@undefined
        \ifx\l@bahasai\@undefined
          \ifx\l@indon\@undefined
            \ifx\l@indonesian\@undefined
              \xpg@nopatterns{Bahasa Malaysia}
              \adddialect\l@malay0\relax
            \else
              \let\l@malay\l@indonesian
            \fi
          \else
            \let\l@malay\l@indon
          \fi
        \else
          \let\l@malay\l@bahasai
        \fi
      \else
        \let\l@malay\l@bahasa
      \fi
    \else
      \let\l@malay\l@bahasam
    \fi
  \else
    \let\l@malay\l@meyalu
  \fi
\fi

\def\captionsbahasam{%
   \def\refname{\textbahasam{Pustaka}}%
   \def\abstractname{\textbahasam{Ringkasan}}%
   \def\bibname{\textbahasam{Bibliografi}}%
   \def\prefacename{\textbahasam{Pendahuluan}}%
   \def\chaptername{\textbahasam{Bab}}%
   \def\appendixname{\textbahasam{Lampiran}}%
   \def\contentsname{\textbahasam{Kandungan}}%
   \def\listfigurename{\textbahasam{Senarai Gambar}}%
   \def\listtablename{\textbahasam{Senarai Jadual}}%
   \def\indexname{\textbahasam{Indeks}}%
   \def\figurename{\textbahasam{Gambar}}%
   \def\tablename{\textbahasam{Jadual}}%
   \def\thepart{}\textbahasam{}%
   \def\partname{\textbahasam{Bahagian}}%
   \def\pagename{\textbahasam{Halaman}}%
   \def\seename{\textbahasam{lihat}}%
   \def\alsoname{\textbahasam{lihat juga}}%
   \def\enclname{\textbahasam{Lampiran}}%
   \def\ccname{\textbahasam{cc}}%
   \def\headtoname{\textbahasam{Kepada}}%
   \def\proofname{\textbahasam{Bukti}}%
   \def\glossaryname{\textbahasam{Istilah}}%
   }
\def\datebahasam{%
   \def\today{\textbahasam{\number\day~\ifcase\month\or
    Januari\or Pebruari\or Mac\or April\or Mei\or Jun\or
    Julai\or Ogos\or September\or Oktober\or November\or Disember\fi
    \space \number\year}}}

\def\bahasam@language{\protect\language=\l@bahasam}

\setlocalhyphenmins{bahasam}{2}{2}

\endinput