%% The LaTeX package genealogytree - version 1.32 (2019/04/08)
%% gtrlang.spanish.code.tex: Spanish language
%%
%% -------------------------------------------------------------------------------------------
%% Copyright (c) 2013-2019 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de>
%% Translation by Francisco G. Perez Sanchez <ozo.froid at gmail dot com>
%% -------------------------------------------------------------------------------------------
%%
%% 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{1.32}

\gtrset{language@/spanish/.code={%
  \gtrset{symlang/.cd,
    Born=nacimiento,
    Bornoutofwedlock=nacimiento fuera del matrimonio,
    Stillborn=nacimiento muerto,
    Diedonbirthday=muri\'o al nacer,
    Baptized=bautizo,
    Engaged=compromiso,
    Married=matrimonio,
    Divorced=divorcio,
    Partnership=pareja no casada,
    Floruit=periodo de actividad,
    Died=muerte,
    Killed=muri\'o en acci\'on,
    Buried=entierro,
    Funeralurn=cremado,
    Female=mujer,
    Male=hombre,
    Neuter=neutro
  }%
  \gtrset{%
    month long/.cd,
    01/.initial=enero,
    02/.initial=febrero,
    03/.initial=marzo,
    04/.initial=abril,
    05/.initial=mayo,
    06/.initial=junio,
    07/.initial=julio,
    08/.initial=agosto,
    09/.initial=septiembre,
    10/.initial=octubre,
    11/.initial=noviembre,
    12/.initial=diciembre,
  }%
  \gtrset{%
    month short/.cd,
    01/.initial=ene\protect\dot,
    02/.initial=feb\protect\dot,
    03/.initial=mar\protect\dot,
    04/.initial=abr\protect\dot,
    05/.initial=may\protect\dot,
    06/.initial=jun\protect\dot,
    07/.initial=jul\protect\dot,
    08/.initial=ago\protect\dot,
    09/.initial=sep\protect\dot,
    10/.initial=oct\protect\dot,
    11/.initial=nov\protect\dot,
    12/.initial=dic\protect\dot,
  }%
  \gtrset{%
    set@typical@date@format=d month yyyy,
    calendar text for=AD is {}{ d.~C.},
    calendar text for=BC is {}{ a.~C.},
    calendar text for=GR is {}{\protect\textsuperscript{greg.}},
    calendar text for=JU is {}{\protect\textsuperscript{jul.}},
    calendar text for=caAD is {ca.~}{ d.~C.},
    calendar text for=caBC is {ca.~}{ a.~C.},
    calendar text for=ca is {ca.~}{},
    date range full={}{ a }{},
    date range before={antes de }{},
    date range after={despu\'es de }{},
    place text={en }{},
  }%
}}
