%% The LaTeX package genealogytree - version 2.3.0 (2023/03/09)
%% gtrlang.catalan.code.tex: Catalan language
%%
%% -------------------------------------------------------------------------------------------
%% Copyright (c) 2013-2023 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de>
%% Translation by Josep Tebe i Ceto <JosepTebe at proton dot me>
%% -------------------------------------------------------------------------------------------
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3
%% of this license or (at your option) any later version.
%% The latest version of this license is in
%%   http://www.latex-project.org/lppl.txt
%% and version 1.3 or later is part of all distributions of LaTeX
%% version 2005/12/01 or later.
%%
%% This work has the LPPL maintenance status `author-maintained'.
%%
%% This work consists of all files listed in README
%%
\gtr@set@library@version{2.3.0}

\gtrset{language@/catalan/.code={%
  \gtrset{symlang/.cd,
    Born=nascut,
    Bornoutofwedlock=nascut fora del matrimoni,
    Stillborn=nascut mort,
    Diedonbirthday=mort al n\'eixer,
    Baptized=batejat,
    Engaged=comprom\`es,
    Married=casat,
    Divorced=divorciat,
    Partnership=uni\'o sense matrimoni,
    Floruit=per\'iode d'activitat,
    Died=mort,
    Killed=mort en acci\'o,
    Buried=enterrat,
    Funeralurn=incinerat,
    Female=dona,
    Male=home,
    Neuter=sexe desconegut
  }%
  \gtrset{%
    month long/.cd,
    01/.initial=gener,
    02/.initial=febrer,
    03/.initial=mar\c{c},
    04/.initial=abril,
    05/.initial=maig,
    06/.initial=juny,
    07/.initial=juliol,
    08/.initial=agost,
    09/.initial=setembre,
    10/.initial=octubre,
    11/.initial=novembre,
    12/.initial=desembre,
  }%
  \gtrset{%
    month short/.cd,
    01/.initial=gen\protect\dot,
    02/.initial=feb\protect\dot,
    03/.initial=mar\protect\dot,
    04/.initial=abr\protect\dot,
    05/.initial=mai\protect\dot,
    06/.initial=jun\protect\dot,
    07/.initial=jul\protect\dot,
    08/.initial=ago\protect\dot,
    09/.initial=set\protect\dot,
    10/.initial=oct\protect\dot,
    11/.initial=nov\protect\dot,
    12/.initial=des\protect\dot,
  }%
  \gtrset{%
    set@typical@date@format=d month yyyy,
    calendar text for=AD is {}{ dC},
    calendar text for=BC is {}{ aC},
    calendar text for=GR is {}{\protect\textsuperscript{greg.}},
    calendar text for=JU is {}{\protect\textsuperscript{jul.}},
    calendar text for=caAD is {ca.~}{ dC},
    calendar text for=caBC is {ca.~}{ aC},
    calendar text for=ca is {ca.~}{},
    date range full={}{ a }{},
    date range before={abans de }{},
    date range after={despr\'es de }{},
    place text={a }{},
  }%
}}
