-module(internals@locales). -compile([no_auto_import, nowarn_unused_vars, nowarn_unused_function, nowarn_nomatch, inline]). -define(FILEPATH, "src/internals/locales.gleam"). -export([locales_raw/0, default_raw/0]). -if(?OTP_RELEASE >= 27). -define(MODULEDOC(Str), -moduledoc(Str)). -define(DOC(Str), -doc(Str)). -else. -define(MODULEDOC(Str), -compile([])). -define(DOC(Str), -compile([])). -endif. -file("src/internals/locales.gleam", 14). ?DOC( " Internal localization data for built-in locales.\n" "\n" " Data is stored as raw tuples to avoid circular dependencies with\n" " the public `LocaleData` type.\n" "\n" " Tuple layout:\n" " #(ago, in_, now, conj, ago_prefix, units)\n" "\n" " `ago_prefix` — when `True` the \"ago\" word is placed **before** the time\n" " core (e.g. FR \"il y a 2 heures\", ES \"hace 1 día\"). When `False` it goes\n" " **after** (e.g. EN \"1 hour ago\", IT \"1 ora fa\").\n" "\n" " Built-in locales mapping.\n" ). -spec locales_raw() -> list({binary(), {binary(), binary(), binary(), binary(), boolean(), list({integer(), binary(), binary()})}}). locales_raw() -> [{<<"it"/utf8>>, {<<"fa"/utf8>>, <<"tra"/utf8>>, <<"adesso"/utf8>>, <<" e "/utf8>>, false, [{31536000, <<"anno"/utf8>>, <<"anni"/utf8>>}, {2592000, <<"mese"/utf8>>, <<"mesi"/utf8>>}, {86400, <<"giorno"/utf8>>, <<"giorni"/utf8>>}, {3600, <<"ora"/utf8>>, <<"ore"/utf8>>}, {60, <<"minuto"/utf8>>, <<"minuti"/utf8>>}, {1, <<"secondo"/utf8>>, <<"secondi"/utf8>>}]}}, {<<"en"/utf8>>, {<<"ago"/utf8>>, <<"in"/utf8>>, <<"now"/utf8>>, <<" and "/utf8>>, false, [{31536000, <<"year"/utf8>>, <<"years"/utf8>>}, {2592000, <<"month"/utf8>>, <<"months"/utf8>>}, {86400, <<"day"/utf8>>, <<"days"/utf8>>}, {3600, <<"hour"/utf8>>, <<"hours"/utf8>>}, {60, <<"minute"/utf8>>, <<"minutes"/utf8>>}, {1, <<"second"/utf8>>, <<"seconds"/utf8>>}]}}, {<<"es"/utf8>>, {<<"hace"/utf8>>, <<"en"/utf8>>, <<"ahora"/utf8>>, <<" y "/utf8>>, true, [{31536000, <<"año"/utf8>>, <<"años"/utf8>>}, {2592000, <<"mes"/utf8>>, <<"meses"/utf8>>}, {86400, <<"día"/utf8>>, <<"días"/utf8>>}, {3600, <<"hora"/utf8>>, <<"horas"/utf8>>}, {60, <<"minuto"/utf8>>, <<"minutos"/utf8>>}, {1, <<"segundo"/utf8>>, <<"segundos"/utf8>>}]}}, {<<"fr"/utf8>>, {<<"il y a"/utf8>>, <<"dans"/utf8>>, <<"maintenant"/utf8>>, <<" et "/utf8>>, true, [{31536000, <<"an"/utf8>>, <<"ans"/utf8>>}, {2592000, <<"mois"/utf8>>, <<"mois"/utf8>>}, {86400, <<"jour"/utf8>>, <<"jours"/utf8>>}, {3600, <<"heure"/utf8>>, <<"heures"/utf8>>}, {60, <<"minute"/utf8>>, <<"minutes"/utf8>>}, {1, <<"seconde"/utf8>>, <<"secondes"/utf8>>}]}}, {<<"de"/utf8>>, {<<"vor"/utf8>>, <<"in"/utf8>>, <<"jetzt"/utf8>>, <<" und "/utf8>>, true, [{31536000, <<"Jahr"/utf8>>, <<"Jahre"/utf8>>}, {2592000, <<"Monat"/utf8>>, <<"Monate"/utf8>>}, {86400, <<"Tag"/utf8>>, <<"Tage"/utf8>>}, {3600, <<"Stunde"/utf8>>, <<"Stunden"/utf8>>}, {60, <<"Minute"/utf8>>, <<"Minuten"/utf8>>}, {1, <<"Sekunde"/utf8>>, <<"Sekunden"/utf8>>}]}}, {<<"pt"/utf8>>, {<<"há"/utf8>>, <<"em"/utf8>>, <<"agora"/utf8>>, <<" e "/utf8>>, true, [{31536000, <<"ano"/utf8>>, <<"anos"/utf8>>}, {2592000, <<"mês"/utf8>>, <<"meses"/utf8>>}, {86400, <<"dia"/utf8>>, <<"dias"/utf8>>}, {3600, <<"hora"/utf8>>, <<"horas"/utf8>>}, {60, <<"minuto"/utf8>>, <<"minutos"/utf8>>}, {1, <<"segundo"/utf8>>, <<"segundos"/utf8>>}]}}]. -file("src/internals/locales.gleam", 91). ?DOC(" Fallback locale data (English).\n"). -spec default_raw() -> {binary(), binary(), binary(), binary(), boolean(), list({integer(), binary(), binary()})}. default_raw() -> {<<"ago"/utf8>>, <<"in"/utf8>>, <<"now"/utf8>>, <<" and "/utf8>>, false, [{31536000, <<"year"/utf8>>, <<"years"/utf8>>}, {2592000, <<"month"/utf8>>, <<"months"/utf8>>}, {86400, <<"day"/utf8>>, <<"days"/utf8>>}, {3600, <<"hour"/utf8>>, <<"hours"/utf8>>}, {60, <<"minute"/utf8>>, <<"minutes"/utf8>>}, {1, <<"second"/utf8>>, <<"seconds"/utf8>>}]}.