From 9f8b04ce777caeaa2864ccd70e31fa32801eca07 Mon Sep 17 00:00:00 2001
From: vinibrsl
See
- Similar to Example: Similar to Example: Parses HTTP The Accept-Language request-header field is similar to Accept, but restricts
the set of natural languages that are preferred as a response to the request.
-Language tags function are provided in The format of an insert_all/2 but with the following differences:Repo.query!("create table ecto_ch_demo(a UInt64, b String) engine Null")
+insert_all/2 but with the following differences:
+{100_000, nil} = Repo.insert_stream("ecto_ch_demo", rows, types: [a: Ch.Types.u64(), b: :string])Repo.query!("create table ecto_ch_demo(a UInt64, b String) engine Null")
-defmodule Demo do
+defmodule Demo do
use Ecto.Schema
@primary_key false
- schema "ecto_ch_demo" do
+ schema "ecto_ch_demo" do
field :a, Ch, type: "UInt64"
field :b, :string
- end
-end
+ end
+end
-rows = Stream.map(1..100_000, fn i -> %{a: i, b: to_string(i)} end)
-{100_000, nil} = Repo.insert_stream(Demo, rows)
+rows = Stream.map(1..100_000, fn i -> %{a: i, b: to_string(i)} end)
+{100_000, nil} = Repo.insert_stream(Demo, rows)
# schemaless
-{100_000, nil} = Repo.insert_stream("ecto_ch_demo", rows, types: [a: Ch.Types.u64(), b: :string])Accept-Language header values as defined in
rfc2616.Cldr.LanguageTag.Accept-Language header is as follows in ABNF format: Accept-Language = "Accept-Language" ":"
+Language tags function are provided in Cldr.LanguageTag.
The format of an Accept-Language header is as follows in ABNF format:
Accept-Language = "Accept-Language" ":"
1#( language-range [ ";" "q" "=" qvalue ] )
- language-range = ( ( 1*8ALPHA *( "-" 1*8ALPHA ) ) | "*" )Each language-range MAY be given an associated quality value which represents an + language-range = ( ( 1*8ALPHA *( "-" 1*8ALPHA ) ) | "*" )
Each language-range MAY be given an associated quality value which represents an estimate of the user's preference for the languages specified by that range. The quality value defaults to "q=1". For example,
Accept-Language: da, en-gb;q=0.8, en;q=0.7would mean: "I prefer Danish, but will accept British English and other types of English."
@@ -145,7 +145,7 @@ quality value defaults to "q=1". For example,Parse an Accept-Language string and return the best match for
-a configured Cldr locale.
+a configured Cldr locale.
@@ -210,13 +210,13 @@ Functions
@spec best_match(String.t()) ::
- {:ok, Cldr.LanguageTag.t()}
+ {:ok, Cldr.LanguageTag.t()}
| {:error, {Cldr.AcceptLanguageError | Cldr.NoMatchingLocale, String.t()}}
Parse an Accept-Language string and return the best match for
-a configured Cldr locale.
+a configured Cldr locale.
arguments
@@ -234,54 +234,54 @@ a configured iex> Plausible.Cldr.AcceptLanguage.best_match("da;q=0.1,zh-TW;q=0.3", TestBackend.Cldr)
-{:ok,
- %Cldr.LanguageTag{
+iex> Plausible.Cldr.AcceptLanguage.best_match("da;q=0.1,zh-TW;q=0.3", TestBackend.Cldr)
+{:ok,
+ %Cldr.LanguageTag{
backend: TestBackend.Cldr,
canonical_locale_name: "zh-TW",
cldr_locale_name: :"zh-Hant",
- language_subtags: [],
- extensions: %{},
+ language_subtags: [],
+ extensions: %{},
gettext_locale_name: nil,
language: "zh",
- locale: %{},
- private_use: [],
+ locale: %{},
+ private_use: [],
rbnf_locale_name: :"zh-Hant",
requested_locale_name: "zh-TW",
script: :Hant,
territory: :TW,
- transform: %{},
- language_variants: []
- }}
+ transform: %{},
+ language_variants: []
+ }}
-iex> Plausible.Cldr.AcceptLanguage.best_match("da;q=0.1,zh-TW;q=0.3", TestBackend.Cldr)
-{:ok,
- %Cldr.LanguageTag{
+iex> Plausible.Cldr.AcceptLanguage.best_match("da;q=0.1,zh-TW;q=0.3", TestBackend.Cldr)
+{:ok,
+ %Cldr.LanguageTag{
backend: TestBackend.Cldr,
canonical_locale_name: "zh-TW",
cldr_locale_name: :"zh-Hant",
- language_subtags: [],
- extensions: %{},
+ language_subtags: [],
+ extensions: %{},
gettext_locale_name: nil,
language: "zh",
- locale: %{},
- private_use: [],
+ locale: %{},
+ private_use: [],
rbnf_locale_name: :"zh-Hant",
requested_locale_name: "zh-TW",
script: :Hant,
territory: :TW,
- transform: %{},
- language_variants: []
- }}
-
-iex> Plausible.Cldr.AcceptLanguage.best_match("xx,yy;q=0.3")
-{:error,
- {Cldr.NoMatchingLocale,
- "No configured locale could be matched to \"xx,yy;q=0.3\""}}
-
-iex> Plausible.Cldr.AcceptLanguage.best_match("invalid_tag")
-{:error, {Cldr.LanguageTag.ParseError,
- "Expected a BCP47 language tag. Could not parse the remaining \"g\" starting at position 11"}}
+ transform: %{},
+ language_variants: []
+ }}
+
+iex> Plausible.Cldr.AcceptLanguage.best_match("xx,yy;q=0.3")
+{:error,
+ {Cldr.NoMatchingLocale,
+ "No configured locale could be matched to \"xx,yy;q=0.3\""}}
+
+iex> Plausible.Cldr.AcceptLanguage.best_match("invalid_tag")
+{:error, {Cldr.LanguageTag.ParseError,
+ "Expected a BCP47 language tag. Could not parse the remaining \"g\" starting at position 11"}}
@spec parse([{float(), String.t()}, ...] | String.t()) ::
{:ok,
[
- {float(), Cldr.LanguageTag.t()}
+ {float(), Cldr.LanguageTag.t()}
| {:error, {Cldr.InvalidLanguageTag, String.t()}},
...
]}
@@ -328,7 +328,7 @@ or tokenized form to return a tuple of the form
accept-language is any string in the format defined by
rfc2616
backend is any module that includes use Cldr and therefore
-is a Cldr backend module
+is a Cldr backend module
returns
@@ -342,95 +342,95 @@ wuth an error tuple for each invalid tag added at the end of the list.
Example
-iex> Cldr.AcceptLanguage.parse("da,zh-TW;q=0.3", TestBackend.Cldr)
-{:ok,
- [
- {1.0,
- %Cldr.LanguageTag{
+iex> Cldr.AcceptLanguage.parse("da,zh-TW;q=0.3", TestBackend.Cldr)
+{:ok,
+ [
+ {1.0,
+ %Cldr.LanguageTag{
backend: TestBackend.Cldr,
canonical_locale_name: "da",
cldr_locale_name: :da,
- language_subtags: [],
- extensions: %{},
+ language_subtags: [],
+ extensions: %{},
gettext_locale_name: nil,
language: "da",
- locale: %{},
- private_use: [],
+ locale: %{},
+ private_use: [],
rbnf_locale_name: :da,
requested_locale_name: "da",
script: :Latn,
territory: :DK,
- transform: %{},
- language_variants: []
- }},
- {0.3,
- %Cldr.LanguageTag{
+ transform: %{},
+ language_variants: []
+ }},
+ {0.3,
+ %Cldr.LanguageTag{
backend: TestBackend.Cldr,
canonical_locale_name: "zh-TW",
cldr_locale_name: :"zh-Hant",
- language_subtags: [],
- extensions: %{},
+ language_subtags: [],
+ extensions: %{},
gettext_locale_name: nil,
language: "zh",
- locale: %{},
- private_use: [],
+ locale: %{},
+ private_use: [],
rbnf_locale_name: :"zh-Hant",
requested_locale_name: "zh-TW",
script: :Hant,
territory: :TW,
- transform: %{},
- language_variants: []
- }}
- ]}
-
-iex> Plausible.Cldr.AcceptLanguage.parse("invalid_tag")
-{:error,
- {Cldr.LanguageTag.ParseError,
- "Expected a BCP47 language tag. Could not parse the remaining \"g\" starting at position 11"}}
-
-iex> Plausible.Cldr.AcceptLanguage.parse("da,zh-TW;q=0.3,invalid_tag")
-{:ok,
- [
- {1.0,
- %Cldr.LanguageTag{
+ transform: %{},
+ language_variants: []
+ }}
+ ]}
+
+iex> Plausible.Cldr.AcceptLanguage.parse("invalid_tag")
+{:error,
+ {Cldr.LanguageTag.ParseError,
+ "Expected a BCP47 language tag. Could not parse the remaining \"g\" starting at position 11"}}
+
+iex> Plausible.Cldr.AcceptLanguage.parse("da,zh-TW;q=0.3,invalid_tag")
+{:ok,
+ [
+ {1.0,
+ %Cldr.LanguageTag{
backend: TestBackend.Cldr,
canonical_locale_name: "da",
cldr_locale_name: :da,
- language_subtags: [],
- extensions: %{},
+ language_subtags: [],
+ extensions: %{},
gettext_locale_name: nil,
language: "da",
- locale: %{},
- private_use: [],
+ locale: %{},
+ private_use: [],
rbnf_locale_name: :da,
requested_locale_name: "da",
script: :Latn,
territory: :DK,
- transform: %{},
- language_variants: []
- }},
- {0.3,
- %Cldr.LanguageTag{
+ transform: %{},
+ language_variants: []
+ }},
+ {0.3,
+ %Cldr.LanguageTag{
backend: TestBackend.Cldr,
canonical_locale_name: "zh-TW",
cldr_locale_name: :"zh-Hant",
- language_subtags: [],
- extensions: %{},
+ language_subtags: [],
+ extensions: %{},
gettext_locale_name: nil,
language: "zh",
- locale: %{},
- private_use: [],
+ locale: %{},
+ private_use: [],
rbnf_locale_name: :"zh-Hant",
requested_locale_name: "zh-TW",
script: :Hant,
territory: :TW,
- transform: %{},
- language_variants: []
- }},
- {:error,
- {Cldr.LanguageTag.ParseError,
- "Expected a BCP47 language tag. Could not parse the remaining \"g\" starting at position 11"}}
- ]}
+ transform: %{},
+ language_variants: []
+ }},
+ {:error,
+ {Cldr.LanguageTag.ParseError,
+ "Expected a BCP47 language tag. Could not parse the remaining \"g\" starting at position 11"}}
+ ]}
{:ok, [{quality, language_tag}, ...]} or
raises a Cldr.AcceptLanguageError exception
If at least one valid language tag is found but errors are also +
{:ok, [{quality, language_tag}, ...]} or
raises a Cldr.AcceptLanguageError exception
If at least one valid language tag is found but errors are also
detected on one more more tags, an {ok, list} tuple is returned
wuth an error tuple for each invalid tag added at the end of the list.
iex> Plausible.Cldr.AcceptLanguage.parse!("da,zh-TW;q=0.3")
-[
- {1.0,
- %Cldr.LanguageTag{
+iex> Plausible.Cldr.AcceptLanguage.parse!("da,zh-TW;q=0.3")
+[
+ {1.0,
+ %Cldr.LanguageTag{
backend: TestBackend.Cldr,
canonical_locale_name: "da",
cldr_locale_name: :da,
- language_subtags: [],
- extensions: %{},
+ language_subtags: [],
+ extensions: %{},
gettext_locale_name: nil,
language: "da",
- locale: %{},
- private_use: [],
+ locale: %{},
+ private_use: [],
rbnf_locale_name: :da,
requested_locale_name: "da",
script: :Latn,
territory: :DK,
- transform: %{},
- language_variants: []
- }},
- {0.3,
- %Cldr.LanguageTag{
+ transform: %{},
+ language_variants: []
+ }},
+ {0.3,
+ %Cldr.LanguageTag{
backend: TestBackend.Cldr,
canonical_locale_name: "zh-TW",
cldr_locale_name: :"zh-Hant",
- language_subtags: [],
- extensions: %{},
+ language_subtags: [],
+ extensions: %{},
gettext_locale_name: nil,
language: "zh",
- locale: %{},
- private_use: [],
+ locale: %{},
+ private_use: [],
rbnf_locale_name: :"zh-Hant",
requested_locale_name: "zh-TW",
script: :Hant,
territory: :TW,
- transform: %{},
- language_variants: []
- }}
-]
+ transform: %{},
+ language_variants: []
+ }}
+]
Plausible.Cldr.AcceptLanguage.parse! "invalid_tag"
** (Cldr.AcceptLanguageError) "Expected a BCP47 language tag. Could not parse the remaining "g" starting at position 11
(ex_cldr) lib/cldr/accept_language.ex:304: Cldr.AcceptLanguage.parse!/1
-iex> Plausible.Cldr.AcceptLanguage.parse!("da,zh-TW;q=0.3,invalid_tag")
-[
- {1.0,
- %Cldr.LanguageTag{
+iex> Plausible.Cldr.AcceptLanguage.parse!("da,zh-TW;q=0.3,invalid_tag")
+[
+ {1.0,
+ %Cldr.LanguageTag{
backend: TestBackend.Cldr,
canonical_locale_name: "da",
cldr_locale_name: :da,
- language_subtags: [],
- extensions: %{},
+ language_subtags: [],
+ extensions: %{},
gettext_locale_name: nil,
language: "da",
- locale: %{},
- private_use: [],
+ locale: %{},
+ private_use: [],
rbnf_locale_name: :da,
requested_locale_name: "da",
script: :Latn,
territory: :DK,
- transform: %{},
- language_variants: []
- }},
- {0.3,
- %Cldr.LanguageTag{
+ transform: %{},
+ language_variants: []
+ }},
+ {0.3,
+ %Cldr.LanguageTag{
backend: TestBackend.Cldr,
canonical_locale_name: "zh-TW",
cldr_locale_name: :"zh-Hant",
- language_subtags: [],
- extensions: %{},
+ language_subtags: [],
+ extensions: %{},
gettext_locale_name: nil,
language: "zh",
- locale: %{},
- private_use: [],
+ locale: %{},
+ private_use: [],
rbnf_locale_name: :"zh-Hant",
requested_locale_name: "zh-TW",
script: :Hant,
territory: :TW,
- transform: %{},
- language_variants: []
- }},
- {:error,
- {Cldr.LanguageTag.ParseError,
- "Expected a BCP47 language tag. Could not parse the remaining \"g\" starting at position 11"}}
-]
+ transform: %{},
+ language_variants: []
+ }},
+ {:error,
+ {Cldr.LanguageTag.ParseError,
+ "Expected a BCP47 language tag. Could not parse the remaining \"g\" starting at position 11"}}
+]
@spec currencies_for_locale( - Cldr.Locale.locale_name() | Cldr.LanguageTag.t(), + Cldr.Locale.locale_name() | Cldr.LanguageTag.t(), only :: Cldr.Currency.filter(), except :: Cldr.Currency.filter() ) :: {:ok, map()} | {:error, {module(), String.t()}}
@spec currencies_for_locale( - Cldr.Locale.locale_name() | Cldr.LanguageTag.t(), + Cldr.Locale.locale_name() | Cldr.LanguageTag.t(), only :: Cldr.Currency.filter(), except :: Cldr.Currency.filter() ) :: map() | no_return()@@ -376,7 +376,7 @@ a given locale.
MyApp.Cldr.known_locale_names/0
-or a Cldr.LanguageTag struct returned by MyApp.Cldr.Locale.new!/1currency_status is :all, :current, :historic,
+or a Cldr.LanguageTag struct returned by MyApp.Cldr.Locale.new!/1
currency_status is :all, :current, :historic,
unannotated or :tender; or a list of one or more status.
The default is :all. See Cldr.Currency.currency_filter/2.
:all. See FJD: %Cldr.Currency{
+ %{ FJD: %Cldr.Currency{
cash_digits: 2,
cash_rounding: 0,
code: "FJD",
- count: %{one: "Fijian dollar", other: "Fijian dollars"},
+ count: %{one: "Fijian dollar", other: "Fijian dollars"},
digits: 2,
from: nil,
iso_digits: 2,
@@ -406,12 +406,12 @@ The default is :all. See symbol: "FJD",
tender: true,
to: nil
- },
- SUR: %Cldr.Currency{
+ },
+ SUR: %Cldr.Currency{
cash_digits: 2,
cash_rounding: 0,
code: "SUR",
- count: %{one: "Soviet rouble", other: "Soviet roubles"},
+ count: %{one: "Soviet rouble", other: "Soviet roubles"},
digits: 2,
from: nil,
iso_digits: nil,
@@ -421,7 +421,7 @@ The default is :all. See symbol: "SUR",
tender: true,
to: nil
- },
+ },
...
}}
@@ -457,7 +457,7 @@ a given locale and raises on error.MyApp.Cldr.known_locale_names/0
-or a Cldr.LanguageTag struct returned by MyApp.Cldr.Locale.new!/1currency_status is :all, :current, :historic,
+or a Cldr.LanguageTag struct returned by MyApp.Cldr.Locale.new!/1
currency_status is :all, :current, :historic,
unannotated or :tender; or a list of one or more status.
The default is :all. See Cldr.Currency.currency_filter/2.
:all. See FJD: %Cldr.Currency{
+ => %{FJD: %Cldr.Currency{
cash_digits: 2,
cash_rounding: 0,
code: "FJD",
- count: %{one: "Fijian dollar", other: "Fijian dollars"},
+ count: %{one: "Fijian dollar", other: "Fijian dollars"},
digits: 2,
from: nil,
iso_digits: 2,
@@ -486,12 +486,12 @@ The default is :all. See symbol: "FJD",
tender: true,
to: nil
-},
-SUR: %Cldr.Currency{
+},
+SUR: %Cldr.Currency{
cash_digits: 2,
cash_rounding: 0,
code: "SUR",
- count: %{one: "Soviet rouble", other: "Soviet roubles"},
+ count: %{one: "Soviet rouble", other: "Soviet roubles"},
digits: 2,
from: nil,
iso_digits: nil,
@@ -501,7 +501,7 @@ The default is :all. See symbol: "SUR",
tender: true,
to: nil
-},
+},
...}
@@ -546,8 +546,8 @@ The default is:all. See :locale is any valid locale name returned by Cldr.known_locale_names/1
-or a Cldr.LanguageTag struct returned by Cldr.Locale.new!/2:locale is any valid locale name returned by Cldr.known_locale_names/1
+or a Cldr.LanguageTag struct returned by Cldr.Locale.new!/2returns
@@ -559,13 +559,13 @@ or a
Examples
iex> Plausible.Cldr.Currency.currency_for_code("AUD")
-{:ok,
- %Cldr.Currency{
+iex> Plausible.Cldr.Currency.currency_for_code("AUD")
+{:ok,
+ %Cldr.Currency{
cash_digits: 2,
cash_rounding: 0,
code: "AUD",
- count: %{one: "Australian dollar", other: "Australian dollars"},
+ count: %{one: "Australian dollar", other: "Australian dollars"},
digits: 2,
iso_digits: 2,
name: "Australian Dollar",
@@ -573,15 +573,15 @@ or a rounding: 0,
symbol: "A$",
tender: true
-}}
+}}
-iex> Plausible.Cldr.Currency.currency_for_code("THB")
-{:ok,
- %Cldr.Currency{
+iex> Plausible.Cldr.Currency.currency_for_code("THB")
+{:ok,
+ %Cldr.Currency{
cash_digits: 2,
cash_rounding: 0,
code: "THB",
- count: %{one: "Thai baht", other: "Thai baht"},
+ count: %{one: "Thai baht", other: "Thai baht"},
digits: 2,
iso_digits: 2,
name: "Thai Baht",
@@ -589,7 +589,7 @@ or a rounding: 0,
symbol: "THB",
tender: true
-}}
+}}
Options
:locale is any valid locale name returned by Cldr.known_locale_names/1
-or a Cldr.LanguageTag struct returned by Cldr.Locale.new!/2:locale is any valid locale name returned by Cldr.known_locale_names/1
+or a Cldr.LanguageTag struct returned by Cldr.Locale.new!/2returns
@@ -648,12 +648,12 @@ or a
Examples
iex> Plausible.Cldr.Currency.currency_for_code!("AUD")
-%Cldr.Currency{
+iex> Plausible.Cldr.Currency.currency_for_code!("AUD")
+%Cldr.Currency{
cash_digits: 2,
cash_rounding: 0,
code: "AUD",
- count: %{one: "Australian dollar", other: "Australian dollars"},
+ count: %{one: "Australian dollar", other: "Australian dollars"},
digits: 2,
iso_digits: 2,
name: "Australian Dollar",
@@ -661,14 +661,14 @@ or a rounding: 0,
symbol: "A$",
tender: true
-}
+}
-iex> Plausible.Cldr.Currency.currency_for_code!("THB")
-%Cldr.Currency{
+iex> Plausible.Cldr.Currency.currency_for_code!("THB")
+%Cldr.Currency{
cash_digits: 2,
cash_rounding: 0,
code: "THB",
- count: %{one: "Thai baht", other: "Thai baht"},
+ count: %{one: "Thai baht", other: "Thai baht"},
digits: 2,
iso_digits: 2,
name: "Thai Baht",
@@ -676,7 +676,7 @@ or a rounding: 0,
symbol: "THB",
tender: true
-}
+}
Arguments
locale is a Cldr.LanguageTag struct returned by
-Cldr.Locale.new!/2locale is a Cldr.LanguageTag struct returned by
+Cldr.Locale.new!/2returns
@@ -717,11 +717,11 @@ or a
Examples
iex> {:ok, locale} = Plausible.Cldr.validate_locale "en"
+iex> {:ok, locale} = Plausible.Cldr.validate_locale "en"
iex> Plausible.Cldr.Currency.currency_from_locale locale
:USD
-iex> {:ok, locale} = Plausible.Cldr.validate_locale "en-AU"
+iex> {:ok, locale} = Plausible.Cldr.validate_locale "en-AU"
iex> Plausible.Cldr.Currency.currency_from_locale locale
:AUD
@@ -750,7 +750,7 @@ or a
- @spec currency_history_for_locale(Cldr.LanguageTag.t() | Cldr.Locale.locale_name()) ::
+ @spec currency_history_for_locale(Cldr.LanguageTag.t() | Cldr.Locale.locale_name()) ::
map() | {:error, {module(), String.t()}}
locale is any valid locale name returned by MyApp.Cldr.known_locale_names/0
-or a Cldr.LanguageTag struct returned by MyApp.Cldr.Locale.new!/1Cldr.LanguageTag struct returned by MyApp.Cldr.Locale.new!/1example
Exampleiex> MyApp.Cldr.Currency.currency_history_for_locale "en"
-{:ok,
- %{
- USD: %{from: ~D[1792-01-01], to: nil},
- USN: %{tender: false},
- USS: %{from: nil, tender: false, to: ~D[2014-03-01]}
- }
-}
+{:ok,
+ %{
+ USD: %{from: ~D[1792-01-01], to: nil},
+ USN: %{tender: false},
+ USS: %{from: nil, tender: false, to: ~D[2014-03-01]}
+ }
+}
@spec currency_strings(
- Cldr.LanguageTag.t() | Cldr.Locale.locale_name(),
+ Cldr.LanguageTag.t() | Cldr.Locale.locale_name(),
only :: Cldr.Currency.filter(),
except :: Cldr.Currency.filter()
) :: {:ok, map()} | {:error, {module(), String.t()}}
@@ -821,7 +821,7 @@ representing a currency in a locale-specific manner.locale
is any valid locale name returned by MyApp.Cldr.known_locale_names/0
-or a Cldr.LanguageTag struct returned by MyApp.Cldr.Locale.new!/1currency_status is :all, :current, :historic,
+or a Cldr.LanguageTag struct returned by MyApp.Cldr.Locale.new!/1
currency_status is :all, :current, :historic,
unannotated or :tender; or a list of one or more status.
The default is :all. See Cldr.Currency.currency_filter/2.
:all. See MyApp.Cldr.Currency.currency_strings "en"
-=> {:ok,
- %{
+=> {:ok,
+ %{
"mexican silver pesos" => :MXP,
"sudanese dinar" => :SDD,
"bad" => :BAD,
@@ -847,7 +847,7 @@ The default is :all. See "guyanaese dollars" => :GYD,
"equatorial guinean ekwele" => :GQE,
...
- }}
+ }}
:all. See
@spec currency_strings!(
- Cldr.LanguageTag.t() | Cldr.Locale.locale_name(),
+ Cldr.LanguageTag.t() | Cldr.Locale.locale_name(),
only :: Cldr.Currency.filter(),
except :: Cldr.Currency.filter()
) :: map() | no_return()
@@ -892,7 +892,7 @@ representing a currency in a locale-specific manner.MyApp.Cldr.known_locale_names/0
-or a Cldr.LanguageTag struct returned by MyApp.Cldr.Locale.new!/1currency_status is :all, :current, :historic,
+or a Cldr.LanguageTag struct returned by MyApp.Cldr.Locale.new!/1
currency_status is :all, :current, :historic,
unannotated or :tender; or a list of one or more status.
The default is :all. See Cldr.Currency.currency_filter/2.
:all. See MyApp.Cldr.Currency.currency_strings! "en"
-=> %{
+=> %{
"mexican silver pesos" => :MXP,
"sudanese dinar" => :SDD,
"bad" => :BAD,
@@ -917,7 +917,7 @@ The default is :all. See "guyanaese dollars" => :GYD,
"equatorial guinean ekwele" => :GQE,
...
- }
+ }
MyApp.Cldr.known_locale_names/0
-or a Cldr.LanguageTag struct returned by MyApp.Cldr.Locale.new!/1Cldr.LanguageTag struct returned by MyApp.Cldr.Locale.new!/1example
@@ -986,7 +986,7 @@ or a
@spec current_territory_currencies() :: %{
- required(Cldr.Locale.territory_code()) => Cldr.Currency.code()
+ required(Cldr.Locale.territory_code()) => Cldr.Currency.code()
}
@@ -1006,7 +1006,7 @@ mapping is returned for that territory.iex> Plausible.Cldr.Currency.current_territory_currencies()
+iex> Plausible.Cldr.Currency.current_territory_currencies()
0.05. Optional.iex> Plausible.Cldr.Currency.new(:XAE, name: "Custom Name", digits: 0)
+{:ok,
+ %Cldr.Currency{
alt_code: :XAE,
cash_digits: 0,
cash_rounding: nil,
code: :XAE,
- count: %{other: "Custom Name"},
+ count: %{other: "Custom Name"},
digits: 0,
from: nil,
iso_digits: 0,
@@ -1266,11 +1266,11 @@ such as 0.05. Optional.symbol
: "XAE",
tender: false,
to: nil
- }}
-iex> MyApp.Cldr.Currency.new(:XAH, name: "Custom Name")
-{:error, "Required options are missing. Required options are [:name, :digits]"}
-iex> Plausible.Cldr.Currency.new(:XAE, name: "XAE", digits: 0)
-{:error, {Cldr.CurrencyAlreadyDefined, "Currency :XAE is already defined."}}
+ }}
+iex> MyApp.Cldr.Currency.new(:XAH, name: "Custom Name")
+{:error, "Required options are missing. Required options are [:name, :digits]"}
+iex> Plausible.Cldr.Currency.new(:XAE, name: "XAE", digits: 0)
+{:error, {Cldr.CurrencyAlreadyDefined, "Currency :XAE is already defined."}}
locale.locale is any valid locale name returned by MyApp.Cldr.known_locale_names/0
-or a Cldr.LanguageTag struct returned by MyApp.Cldr.Locale.new!/1. The
+or a Cldr.LanguageTag struct returned by MyApp.Cldr.Locale.new!/1. The
default is Plausible.Cldr.get_locale/0returns
@@ -1329,19 +1329,19 @@ default isPlaus
Examples
iex> Plausible.Cldr.Currency.pluralize 1, :USD
-{:ok, "US dollar"}
+{:ok, "US dollar"}
iex> Plausible.Cldr.Currency.pluralize 3, :USD
-{:ok, "US dollars"}
+{:ok, "US dollars"}
iex> Plausible.Cldr.Currency.pluralize 12, :USD, locale: "zh"
-{:ok, "美元"}
+{:ok, "美元"}
iex> Plausible.Cldr.Currency.pluralize 12, :USD, locale: "fr"
-{:ok, "dollars des États-Unis"}
+{:ok, "dollars des États-Unis"}
iex> Plausible.Cldr.Currency.pluralize 1, :USD, locale: "fr"
-{:ok, "dollar des États-Unis"}
+{:ok, "dollar des États-Unis"}
locale is any valid locale name returned by MyApp.Cldr.known_locale_names/0
-or a Cldr.LanguageTag struct returned by MyApp.Cldr.Locale.new!/1
Cldr.LanguageTag struct returned by MyApp.Cldr.Locale.new!/1returns
@@ -1384,7 +1384,7 @@ or a
iex> MyApp.Cldr.Currency.strings_for_currency :AUD, "en"
-["a$", "australian dollars", "aud", "australian dollar"]
+["a$", "australian dollars", "aud", "australian dollar"]
Returns the script direction for a locale.
@spec fallback_locale_names(Cldr.LanguageTag.t() | Cldr.Locale.locale_reference()) :: - {:ok, [Cldr.Locale.locale_name(), ...]} | {:error, {module(), String.t()}}+
@spec fallback_locale_names(Cldr.LanguageTag.t() | Cldr.Locale.locale_reference()) :: + {:ok, [Cldr.Locale.locale_name(), ...]} | {:error, {module(), String.t()}}
Fallbacks are a list of locate names which can be used to resolve translation or other localization data if such localised data does not exist for -this specific locale. After locale-specific fallbacks -are determined, the the default locale and its fallbacks -are added to the chain.
arguments
@@ -291,16 +299,16 @@ are added to the chain.iex> Plausible.Cldr.Locale.fallback_locale_names(:"fr-CA")
-{:ok, [:"fr-CA", :fr, :"en-001", :en]}
+iex> Plausible.Cldr.Locale.fallback_locale_names(:"fr-CA")
+{:ok, [:"fr-CA", :fr, :und]}
# Fallbacks are typically formed by progressively
# stripping variant, territory and script from the
# given locale name. But not always - there are
# certain fallbacks that take a different path.
-iex> Plausible.Cldr.Locale.fallback_locale_names(:nb)
-{:ok, [:nb, :no, :"en-001", :en]}
+iex> Plausible.Cldr.Locale.fallback_locale_names(:nb)
+{:ok, [:nb, :no, :und]}
@spec fallback_locales(Cldr.LanguageTag.t() | Cldr.Locale.locale_reference()) :: - {:ok, [Cldr.LanguageTag.t(), ...]} | {:error, {module(), String.t()}}+
@spec fallback_locales(Cldr.LanguageTag.t() | Cldr.Locale.locale_reference()) :: + {:ok, [Cldr.LanguageTag.t(), ...]} | {:error, {module(), String.t()}}
arguments
@@ -356,20 +362,20 @@ are added to the chain.Plausible.Cldr.Locale.fallback_locales(:"fr-CA")
-=> {:ok,
- [#Cldr.LanguageTag<fr-CA [validated]>, #Cldr.LanguageTag<fr [validated]>,
- #Cldr.LanguageTag<en [validated]>]}
+Plausible.Cldr.Locale.fallback_locales(:"fr-CA")
+=> {:ok,
+ [#Cldr.LanguageTag<fr-CA [validated]>, #Cldr.LanguageTag<fr [validated]>,
+ #Cldr.LanguageTag<und [validated]>]}
# Fallbacks are typically formed by progressively
# stripping variant, territory and script from the
# given locale name. But not always - there are
# certain fallbacks that take a different path.
-Plausible.Cldr.Locale.fallback_locales(:nb))
-=> {:ok,
- [#Cldr.LanguageTag<nb [validated]>, #Cldr.LanguageTag<no [validated]>,
- #Cldr.LanguageTag<en [validated]>]}
+Plausible.Cldr.Locale.fallback_locales(:nb))
+=> {:ok,
+ [#Cldr.LanguageTag<nb [validated]>, #Cldr.LanguageTag<no [validated]>,
+ #Cldr.LanguageTag<und [validated]>]}
@spec locale_for_territory(Cldr.Locale.territory_code()) :: - {:ok, Cldr.LanguageTag.t()} | {:error, {module(), String.t()}}+
@spec locale_for_territory(Cldr.Locale.territory_code()) :: + {:ok, Cldr.LanguageTag.t()} | {:error, {module(), String.t()}}
Cldr.validate_territory/1Cldr.validate_territory/1returns
@@ -457,7 +463,7 @@ code that can be validated by@spec locale_from_host(String.t(), Keyword.t()) ::
- {:ok, Cldr.LanguageTag.t()} | {:error, {module(), String.t()}}
+ {:ok, Cldr.LanguageTag.t()} | {:error, {module(), String.t()}}
@@ -476,7 +482,7 @@ is [].Cldr.Locale.locale_from_host/2 for the default
+See Cldr.Locale.locale_from_host/2 for the default
list.returns
@@ -500,15 +506,15 @@ generic top-level domain names.Returns the script direction for a locale.
arguments
+ + Arguments +language_tag is any language tag returned by Cldr.Locale.new/2
+or any locale_name returned by Cldr.known_locale_names/1.returns
+ + Returns +:ltr (for left-to-right
+scripts) or :rtl (for right-to-left scripts).examples
+ + Examples +iex> Plausible.Cldr.Locale.script_direction_from_locale "en-US"
+:ltr
+
+iex> Plausible.Cldr.Locale.script_direction_from_locale :ar
+:rtl
@spec territory_from_host(String.t()) ::
- {:ok, Cldr.Locale.territory_code()} | {:error, {module(), String.t()}}
+ {:ok, Cldr.Locale.territory_code()} | {:error, {module(), String.t()}}
@@ -602,12 +656,12 @@ be a territory.iex> Cldr.Locale.territory_from_host("a.b.com.au")
+{:ok, :AU}
-iex> Cldr.Locale.territory_from_host("a.b.com")
-{:error,
- {Cldr.UnknownLocaleError, "No locale was identified for territory \"com\""}}
+iex> Cldr.Locale.territory_from_host("a.b.com")
+{:error,
+ {Cldr.UnknownLocaleError, "No locale was identified for territory \"com\""}}
@spec territory_from_locale(Cldr.LanguageTag.t() | Cldr.Locale.locale_name()) ::
- Cldr.Locale.territory_code()
+ @spec territory_from_locale(Cldr.LanguageTag.t() | Cldr.Locale.locale_name()) ::
+ Cldr.Locale.territory_code()
@@ -690,7 +744,7 @@ or a locale name in the list returned by
@spec timezone_from_locale(Cldr.LanguageTag.t() | Cldr.Locale.locale_name()) :: +@spec timezone_from_locale(Cldr.LanguageTag.t() | Cldr.Locale.locale_name()) :: String.t() | {:error, {module(), String.t()}}
@spec known_locale_names() :: [Cldr.Locale.locale_name(), ...]+
@spec known_locale_names() :: [Cldr.Locale.locale_name(), ...]
The configured locales for which plural rules are defined.
Returns the intersection of Plausible.Cldr.known_locale_names/0 and
-the locales for which Cardinal plural rules are defined.
There are many Cldr locales which don't have their own plural
-rules so this list is the intersection of Cldr's configured
+the locales for which Cardinal plural rules are defined.
There are many Cldr locales which don't have their own plural
+rules so this list is the intersection of Cldr's configured
locales and those that have rules.
@spec plural_rule( - Cldr.Math.number_or_decimal(), - Cldr.Locale.locale_name() | Cldr.LanguageTag.t(), + Cldr.Math.number_or_decimal(), + Cldr.Locale.locale_name() | Cldr.LanguageTag.t(), atom() | pos_integer() -) :: Cldr.Number.PluralRule.plural_type()+) :: Cldr.Number.PluralRule.plural_type()
integer, float or Decimallocale is any locale returned by Cldr.Locale.new!/2 or any
+
number is any integer, float or Decimal
locale is any locale returned by Cldr.Locale.new!/2 or any
locale_name returned by Plausible.Cldr.known_locale_names/0
rounding is one of [:down, :up, :ceiling, :floor, :half_even, :half_up, :half_down]. The
default is :half_even.
:half_even.@spec plural_rules_for(Cldr.Locale.locale_name() | Cldr.LanguageTag.t()) :: [ +@spec plural_rules_for(Cldr.Locale.locale_name() | Cldr.LanguageTag.t()) :: [ {atom(), list()}, ... ]@@ -405,8 +405,8 @@ default is:half_even.
@spec pluralize( - Cldr.Math.number_or_decimal() | Range.t(), - Cldr.Locale.locale_reference(), + Cldr.Math.number_or_decimal() | Range.t(), + Cldr.Locale.locale_reference(), %{} ) :: any()@@ -428,31 +428,31 @@ The valid substitution keys are:zero,iex> Plausible.Cldr.Number.Cardinal.pluralize 1, "en", %{one: "one"} +diff --git a/Plausible.Cldr.Number.Format.html b/Plausible.Cldr.Number.Format.html index 4ec74c8da..eb1b9a8b4 100644 --- a/Plausible.Cldr.Number.Format.html +++ b/Plausible.Cldr.Number.Format.html @@ -13,7 +13,7 @@ - + @@ -302,7 +302,7 @@ Functionsiex> Plausible.Cldr.Number.Cardinal.pluralize 1, "en", %{one: "one"} "one" -iex> Plausible.Cldr.Number.Cardinal.pluralize 2, "en", %{one: "one"} +iex> Plausible.Cldr.Number.Cardinal.pluralize 2, "en", %{one: "one"} nil -iex> Plausible.Cldr.Number.Cardinal.pluralize 2, "en", %{one: "one", two: "two", other: "other"} +iex> Plausible.Cldr.Number.Cardinal.pluralize 2, "en", %{one: "one", two: "two", other: "other"} "other" -iex> Plausible.Cldr.Number.Cardinal.pluralize 22, "en", %{one: "one", two: "two", other: "other"} +iex> Plausible.Cldr.Number.Cardinal.pluralize 22, "en", %{one: "one", two: "two", other: "other"} "other" -iex> Plausible.Cldr.Number.Cardinal.pluralize Decimal.new(1), "en", %{one: "one"} +iex> Plausible.Cldr.Number.Cardinal.pluralize Decimal.new(1), "en", %{one: "one"} "one" -iex> Plausible.Cldr.Number.Cardinal.pluralize Decimal.new(2), "en", %{one: "one"} +iex> Plausible.Cldr.Number.Cardinal.pluralize Decimal.new(2), "en", %{one: "one"} nil -iex> Plausible.Cldr.Number.Cardinal.pluralize Decimal.new(2), "en", %{one: "one", two: "two"} +iex> Plausible.Cldr.Number.Cardinal.pluralize Decimal.new(2), "en", %{one: "one", two: "two"} nil -iex> Plausible.Cldr.Number.Cardinal.pluralize 1..10, "ar", %{one: "one", few: "few", other: "other"} +iex> Plausible.Cldr.Number.Cardinal.pluralize 1..10, "ar", %{one: "one", few: "few", other: "other"} "few" -iex> Plausible.Cldr.Number.Cardinal.pluralize 1..10, "en", %{one: "one", few: "few", other: "other"} +iex> Plausible.Cldr.Number.Cardinal.pluralize 1..10, "en", %{one: "one", few: "few", other: "other"} "other"-@@ -315,7 +315,7 @@ Functions@spec all_formats_for(Cldr.LanguageTag.t() | Cldr.Locale.locale_name()) :: +@spec all_formats_for(Cldr.LanguageTag.t() | Cldr.Locale.locale_name()) :: {:ok, map()} | {:error, {module(), String.t()}}
locale is any valid locale name returned by
Plausible.Cldr.known_locale_names/0
-or a Cldr.LanguageTag struct returned by
+or a Cldr.LanguageTag struct returned by
Plausible.Cldr.Locale.new!/1. The default
is Plausible.Cldr.get_locale/0.{:error, {exceptio
@spec all_formats_for!(Cldr.LanguageTag.t() | Cldr.Locale.locale_name()) ::
+
@spec all_formats_for!(Cldr.LanguageTag.t() | Cldr.Locale.locale_name()) ::
map() | no_return()
{:error, {exceptio
locale is any valid locale name returned by
Plausible.Cldr.known_locale_names/0
-or a Cldr.LanguageTag struct returned by
+or a Cldr.LanguageTag struct returned by
Plausible.Cldr.Locale.new!/1. The default
is Plausible.Cldr.get_locale/0.raises an exception
See
@spec currency_spacing( - Cldr.LanguageTag.t() | Cldr.Locale.locale_name(), - Cldr.Number.System.system_name() + Cldr.LanguageTag.t() | Cldr.Locale.locale_name(), + Cldr.Number.System.system_name() ) :: map() | {:error, {module(), String.t()}}
@spec decimal_format_list() :: [Cldr.Number.Format.format()]+
@spec decimal_format_list() :: [Cldr.Number.Format.format()]
@spec decimal_format_list_for(Cldr.LanguageTag.t() | Cldr.Locale.locale_name()) :: +@spec decimal_format_list_for(Cldr.LanguageTag.t() | Cldr.Locale.locale_name()) :: {:ok, [String.t()]} | {:error, {module(), String.t()}}@@ -490,7 +490,7 @@ to precompile all the known formats at compile time.locale is any valid locale name returned by
Plausible.Cldr.known_locale_names/0-or aCldr.LanguageTagstruct returned by +or aCldr.LanguageTagstruct returned byPlausible.Cldr.Locale.new!/1. The default isPlausible.Cldr.get_locale/0.This function exists to allow the decimal formatter to precompile all the known formats at compile time. Its use is not otherwise recommended.
@@ -499,8 +499,8 @@ the known formats at compile time. Its use is not otherwise recommended.
Example
-iex> Plausible.Cldr.Number.Format.decimal_format_list_for(:en) -{:ok, ["#,##0%", "#,##0.###", "#,##0.00", "#,##0.00;(#,##0.00)","#E0", ++ "¤ 000T", "¤ 00B", "¤ 00K", "¤ 00M", "¤ 00T", "¤ 0B", "¤ 0K", "¤ 0M", "¤ 0T"]}iex> Plausible.Cldr.Number.Format.decimal_format_list_for(:en) +{:ok, ["#,##0%", "#,##0.###", "#,##0.00", "#,##0.00;(#,##0.00)","#E0", "0 billion", "0 million", "0 thousand", "0 trillion", "00 billion", "00 million", "00 thousand", "00 trillion", "000 billion", "000 million", "000 thousand", "000 trillion", "000B", "000K", @@ -508,7 +508,7 @@ the known formats at compile time. Its use is not otherwise recommended."¤#,##0.00", "¤#,##0.00;(¤#,##0.00)", "¤000B", "¤000K", "¤000M", "¤000T", "¤00B", "¤00K", "¤00M", "¤00T", "¤0B", "¤0K", "¤0M", "¤0T", "¤ #,##0.00", "¤ #,##0.00;(¤ #,##0.00)", "¤ 000B", "¤ 000K", "¤ 000M", - "¤ 000T", "¤ 00B", "¤ 00K", "¤ 00M", "¤ 00T", "¤ 0B", "¤ 0K", "¤ 0M", "¤ 0T"]}
@spec default_grouping_for(Cldr.LanguageTag.t() | Cldr.Locale.locale_name()) :: +@spec default_grouping_for(Cldr.LanguageTag.t() | Cldr.Locale.locale_name()) :: {:ok, map()} | {:error, {module(), String.t()}}@@ -547,7 +547,7 @@ the known formats at compile time. Its use is not otherwise recommended.
localeis any valid locale name returned byPlausible.Cldr.known_locale_names/0-or aCldr.LanguageTagstruct returned by +or aCldr.LanguageTagstruct returned byPlausible.Cldr.Locale.new!/1. The default isPlausible.Cldr.get_locale/0.@@ -561,8 +561,8 @@ is
-Plausible.CldExamples+iex> Plausible.Cldr.Number.Format.default_grouping_for(:en) -{:ok, %{fraction: %{first: 0, rest: 0}, integer: %{first: 3, rest: 3}}}iex> Plausible.Cldr.Number.Format.default_grouping_for(:en) +{:ok, %{fraction: %{first: 0, rest: 0}, integer: %{first: 3, rest: 3}}}
Plausible.Cld
- @spec default_grouping_for!(Cldr.LanguageTag.t() | Cldr.Locale.locale_name()) ::
+ @spec default_grouping_for!(Cldr.LanguageTag.t() | Cldr.Locale.locale_name()) ::
map() | no_return()
@@ -600,7 +600,7 @@ or raises on error.locale
is any valid locale name returned by
Plausible.Cldr.known_locale_names/0
-or a Cldr.LanguageTag struct returned by
+or a Cldr.LanguageTag struct returned by
Plausible.Cldr.Locale.new!/1. The default
is Plausible.Cldr.get_locale/0.Plausible.Cld
Examples
iex> Plausible.Cldr.Number.Format.default_grouping_for!(:en)
-%{fraction: %{first: 0, rest: 0}, integer: %{first: 3, rest: 3}}
+iex> Plausible.Cldr.Number.Format.default_grouping_for!(:en)
+%{fraction: %{first: 0, rest: 0}, integer: %{first: 3, rest: 3}}
Plausible.Cld
- @spec formats_for(Cldr.LanguageTag.t() | binary(), atom() | String.t()) ::
+ @spec formats_for(Cldr.LanguageTag.t() | binary(), atom() | String.t()) ::
{:ok, map()} | {:error, {module(), String.t()}}
@@ -656,7 +656,7 @@ is Plausible.Cld
locale is any valid locale name returned by
Plausible.Cldr.known_locale_names/0
-or a Cldr.LanguageTag struct returned by
+or a Cldr.LanguageTag struct returned by
Plausible.Cldr.Locale.new!/1. The default
is Plausible.Cldr.get_locale/0.
number_system is any valid number system or number system type returned
by Plausible.Cldr.Number.System.number_systems_for/1.
percent: "#,##0 %",
scientific: "#E0",
standard: "#,##0.###"
- currency_short: [{"1000", [one: "0 k ¤", other: "0 k ¤"]},
- {"10000", [one: "00 k ¤", other: "00 k ¤"]},
- {"100000", [one: "000 k ¤", other: "000 k ¤"]},
- {"1000000", [one: "0 M ¤", other: "0 M ¤"]},
- {"10000000", [one: "00 M ¤", other: "00 M ¤"]},
- {"100000000", [one: "000 M ¤", other: "000 M ¤"]},
- {"1000000000", [one: "0 Md ¤", other: "0 Md ¤"]},
- {"10000000000", [one: "00 Md ¤", other: "00 Md ¤"]},
- {"100000000000", [one: "000 Md ¤", other: "000 Md ¤"]},
- {"1000000000000", [one: "0 Bn ¤", other: "0 Bn ¤"]},
- {"10000000000000", [one: "00 Bn ¤", other: "00 Bn ¤"]},
- {"100000000000000", [one: "000 Bn ¤", other: "000 Bn ¤"]}],
+ currency_short: [{"1000", [one: "0 k ¤", other: "0 k ¤"]},
+ {"10000", [one: "00 k ¤", other: "00 k ¤"]},
+ {"100000", [one: "000 k ¤", other: "000 k ¤"]},
+ {"1000000", [one: "0 M ¤", other: "0 M ¤"]},
+ {"10000000", [one: "00 M ¤", other: "00 M ¤"]},
+ {"100000000", [one: "000 M ¤", other: "000 M ¤"]},
+ {"1000000000", [one: "0 Md ¤", other: "0 Md ¤"]},
+ {"10000000000", [one: "00 Md ¤", other: "00 Md ¤"]},
+ {"100000000000", [one: "000 Md ¤", other: "000 Md ¤"]},
+ {"1000000000000", [one: "0 Bn ¤", other: "0 Bn ¤"]},
+ {"10000000000000", [one: "00 Bn ¤", other: "00 Bn ¤"]},
+ {"100000000000000", [one: "000 Bn ¤", other: "000 Bn ¤"]}],
...
}
@@ -714,8 +714,8 @@ by
@spec formats_for!(
- Cldr.LanguageTag.t() | Cldr.Locale.locale_name(),
- Cldr.Number.System.system_name()
+ Cldr.LanguageTag.t() | Cldr.Locale.locale_name(),
+ Cldr.Number.System.system_name()
) ::
map() | no_return()
@@ -747,7 +747,7 @@ by
- @spec minimum_grouping_digits_for(Cldr.LanguageTag.t() | Cldr.Locale.locale_name()) ::
+ @spec minimum_grouping_digits_for(Cldr.LanguageTag.t() | Cldr.Locale.locale_name()) ::
{:ok, non_neg_integer()} | {:error, {module(), String.t()}}
@@ -760,7 +760,7 @@ by
locale is any valid locale name returned by
Plausible.Cldr.known_locale_names/0
-or a Cldr.LanguageTag struct returned by
+or a Cldr.LanguageTag struct returned by
Plausible.Cldr.Locale.new!/1. The default
is Plausible.Cldr.get_locale/0.
@@ -774,8 +774,8 @@ is Plausible.Cld
Examples
-iex> Plausible.Cldr.Number.Format.minimum_grouping_digits_for("en")
-{:ok, 1}
+iex> Plausible.Cldr.Number.Format.minimum_grouping_digits_for("en")
+{:ok, 1}
@@ -799,7 +799,7 @@ is Plausible.Cld
- @spec minimum_grouping_digits_for!(Cldr.LanguageTag.t() | Cldr.Locale.locale_name()) ::
+ @spec minimum_grouping_digits_for!(Cldr.LanguageTag.t() | Cldr.Locale.locale_name()) ::
non_neg_integer() | no_return()
@@ -813,7 +813,7 @@ or raises on error.locale
is any valid locale name returned by
Plausible.Cldr.known_locale_names/0
-or a Cldr.LanguageTag struct returned by
+or a Cldr.LanguageTag struct returned by
Plausible.Cldr.Locale.new!/1. The default
is Plausible.Cldr.get_locale/0.
@@ -827,7 +827,7 @@ is Plausible.Cld
Examples
-iex> Plausible.Cldr.Number.Format.minimum_grouping_digits_for!("en")
+iex> Plausible.Cldr.Number.Format.minimum_grouping_digits_for!("en")
1
diff --git a/Plausible.Cldr.Number.Formatter.Decimal.html b/Plausible.Cldr.Number.Formatter.Decimal.html
index 062c985b5..a17efcc10 100644
--- a/Plausible.Cldr.Number.Formatter.Decimal.html
+++ b/Plausible.Cldr.Number.Formatter.Decimal.html
@@ -13,7 +13,7 @@
-
+
@@ -205,9 +205,9 @@ Functions
@spec to_string(
- Cldr.Math.number_or_decimal(),
- String.t() | Cldr.Number.Format.Meta.t(),
- Keyword.t() | Cldr.Number.Format.Options.t()
+ Cldr.Math.number_or_decimal(),
+ String.t() | Cldr.Number.Format.Meta.t(),
+ Keyword.t() | Cldr.Number.Format.Options.t()
) :: {:ok, String.t()} | {:error, {module(), String.t()}}
diff --git a/Plausible.Cldr.Number.Ordinal.html b/Plausible.Cldr.Number.Ordinal.html
index f78629321..67f88bcfe 100644
--- a/Plausible.Cldr.Number.Ordinal.html
+++ b/Plausible.Cldr.Number.Ordinal.html
@@ -13,7 +13,7 @@
-
+
@@ -249,13 +249,13 @@ Functions
- @spec known_locale_names() :: [Cldr.Locale.locale_name(), ...]
+ @spec known_locale_names() :: [Cldr.Locale.locale_name(), ...]
The configured locales for which plural rules are defined.
Returns the intersection of Plausible.Cldr.known_locale_names/0 and
-the locales for which Ordinal plural rules are defined.
There are many Cldr locales which don't have their own plural
-rules so this list is the intersection of Cldr's configured
+the locales for which Ordinal plural rules are defined.
There are many Cldr locales which don't have their own plural
+rules so this list is the intersection of Cldr's configured
locales and those that have rules.
@@ -283,10 +283,10 @@ locales and those that have rules.
@spec plural_rule(
- Cldr.Math.number_or_decimal(),
- Cldr.Locale.locale_name() | Cldr.LanguageTag.t(),
+ Cldr.Math.number_or_decimal(),
+ Cldr.Locale.locale_name() | Cldr.LanguageTag.t(),
atom() | pos_integer()
-) :: Cldr.Number.PluralRule.plural_type()
+) :: Cldr.Number.PluralRule.plural_type()
@@ -302,7 +302,7 @@ list or other content in a plural-sensitive way.number
is any integer, float or Decimal
locale is any locale returned by Cldr.Locale.new!/2 or any
+
number is any integer, float or Decimal
locale is any locale returned by Cldr.Locale.new!/2 or any
locale_name returned by Plausible.Cldr.known_locale_names/0
rounding is one of [:down, :up, :ceiling, :floor, :half_even, :half_up, :half_down]. The
default is :half_even.
@@ -366,7 +366,7 @@ default is :half_even.
- @spec plural_rules_for(Cldr.Locale.locale_name() | Cldr.LanguageTag.t()) :: [
+ @spec plural_rules_for(Cldr.Locale.locale_name() | Cldr.LanguageTag.t()) :: [
{atom(), list()},
...
]
@@ -405,8 +405,8 @@ default is :half_even.
@spec pluralize(
- Cldr.Math.number_or_decimal() | Range.t(),
- Cldr.Locale.locale_reference(),
+ Cldr.Math.number_or_decimal() | Range.t(),
+ Cldr.Locale.locale_reference(),
%{}
) :: any()
@@ -431,31 +431,31 @@ The valid substitution keys are :zero, iex> Plausible.Cldr.Number.Ordinal.pluralize 1, :en, %{one: "one"}
+iex> Plausible.Cldr.Number.Ordinal.pluralize 1, :en, %{one: "one"}
"one"
-iex> Plausible.Cldr.Number.Ordinal.pluralize 2, :en, %{one: "one"}
+iex> Plausible.Cldr.Number.Ordinal.pluralize 2, :en, %{one: "one"}
nil
-iex> Plausible.Cldr.Number.Ordinal.pluralize 2, :en, %{one: "one", two: "two"}
+iex> Plausible.Cldr.Number.Ordinal.pluralize 2, :en, %{one: "one", two: "two"}
"two"
-iex> Plausible.Cldr.Number.Ordinal.pluralize 22, :en, %{one: "one", two: "two", other: "other"}
+iex> Plausible.Cldr.Number.Ordinal.pluralize 22, :en, %{one: "one", two: "two", other: "other"}
"two"
-iex> Plausible.Cldr.Number.Ordinal.pluralize Decimal.new(1), :en, %{one: "one"}
+iex> Plausible.Cldr.Number.Ordinal.pluralize Decimal.new(1), :en, %{one: "one"}
"one"
-iex> Plausible.Cldr.Number.Ordinal.pluralize Decimal.new(2), :en, %{one: "one"}
+iex> Plausible.Cldr.Number.Ordinal.pluralize Decimal.new(2), :en, %{one: "one"}
nil
-iex> Plausible.Cldr.Number.Ordinal.pluralize Decimal.new(2), :en, %{one: "one", two: "two"}
+iex> Plausible.Cldr.Number.Ordinal.pluralize Decimal.new(2), :en, %{one: "one", two: "two"}
"two"
-iex> Plausible.Cldr.Number.Ordinal.pluralize 1..10, "ar", %{one: "one", few: "few", other: "other"}
+iex> Plausible.Cldr.Number.Ordinal.pluralize 1..10, "ar", %{one: "one", few: "few", other: "other"}
"other"
-iex> Plausible.Cldr.Number.Ordinal.pluralize 1..10, "en", %{one: "one", few: "few", other: "other"}
+iex> Plausible.Cldr.Number.Ordinal.pluralize 1..10, "en", %{one: "one", few: "few", other: "other"}
"other"
diff --git a/Plausible.Cldr.Number.PluralRule.Range.html b/Plausible.Cldr.Number.PluralRule.Range.html
index d8de84ecd..05fe93868 100644
--- a/Plausible.Cldr.Number.PluralRule.Range.html
+++ b/Plausible.Cldr.Number.PluralRule.Range.html
@@ -13,7 +13,7 @@
-
+
@@ -178,10 +178,10 @@ Functions
@spec plural_rule(
- first :: Cldr.Number.PluralRule.plural_type(),
- last :: Cldr.Number.PluralRule.plural_type(),
- locale :: Cldr.Locale.locale_name() | Cldr.LanguageTag.t()
-) :: Cldr.Number.PluralRule.plural_type()
+ first :: Cldr.Number.PluralRule.plural_type(),
+ last :: Cldr.Number.PluralRule.plural_type(),
+ locale :: Cldr.Locale.locale_name() | Cldr.LanguageTag.t()
+) :: Cldr.Number.PluralRule.plural_type()
diff --git a/Plausible.Cldr.Number.Symbol.html b/Plausible.Cldr.Number.Symbol.html
index 314e0b37e..55a7b8eb8 100644
--- a/Plausible.Cldr.Number.Symbol.html
+++ b/Plausible.Cldr.Number.Symbol.html
@@ -13,7 +13,7 @@
-
+
@@ -329,7 +329,7 @@ when builing a regular expression.
- @spec number_symbols_for(Cldr.LanguageTag.t() | Cldr.Locale.locale_name()) ::
+ @spec number_symbols_for(Cldr.LanguageTag.t() | Cldr.Locale.locale_name()) ::
{:ok, map()} | {:error, {module(), String.t()}}
@@ -343,7 +343,7 @@ of the number systems of a locale.
locale is any valid locale name returned by
Plausible.Cldr.known_locale_names/0
-or a Cldr.LanguageTag struct returned by
+or a Cldr.LanguageTag struct returned by
Plausible.Cldr.Locale.new!/1. The default
is Plausible.Cldr.get_locale/0.
@@ -351,9 +351,9 @@ is Plausible.Cld
Example:
-iex> Plausible.Cldr.Number.Symbol.number_symbols_for(:th)
-{:ok, %{
- latn: %Cldr.Number.Symbol{
+iex> Plausible.Cldr.Number.Symbol.number_symbols_for(:th)
+{:ok, %{
+ latn: %Cldr.Number.Symbol{
decimal: ".",
exponential: "E",
group: ",",
@@ -366,8 +366,8 @@ is Plausible.Cld
plus_sign: "+",
superscripting_exponent: "×",
time_separator: ":"
- },
- thai: %Cldr.Number.Symbol{
+ },
+ thai: %Cldr.Number.Symbol{
decimal: ".",
exponential: "E",
group: ",",
@@ -380,8 +380,8 @@ is Plausible.Cld
plus_sign: "+",
superscripting_exponent: "×",
time_separator: ":"
- }
- }}
+ }
+ }}
diff --git a/Plausible.Cldr.Number.System.html b/Plausible.Cldr.Number.System.html
index 2f2573592..dbd9bfb80 100644
--- a/Plausible.Cldr.Number.System.html
+++ b/Plausible.Cldr.Number.System.html
@@ -13,7 +13,7 @@
-
+
@@ -271,17 +271,17 @@ Functions
@spec number_system_for(
- Cldr.Locale.locale_reference(),
- Cldr.Number.System.system_name()
+ Cldr.Locale.locale_reference(),
+ Cldr.Number.System.system_name()
) ::
{:ok, [atom()]} | {:error, {module(), String.t()}}
-Returns the actual number system from a number system type.
locale is any valid locale name returned by Cldr.known_locale_names/0
-or a Cldr.LanguageTag struct returned by Cldr.Locale.new!/2
system_name is any number system name returned by
-Cldr.known_number_systems/0 or a number system type
-returned by Cldr.known_number_system_types/0
This function will decode a number system type into the actual
+
Returns the actual number system from a number system type.
locale is any valid locale name returned by Cldr.known_locale_names/0
+or a Cldr.LanguageTag struct returned by Cldr.Locale.new!/2
system_name is any number system name returned by
+Cldr.known_number_systems/0 or a number system type
+returned by Cldr.known_number_system_types/0
This function will decode a number system type into the actual
number system. If the number system provided can't be decoded
it is returned as is.
@@ -290,23 +290,23 @@ it is returned as is.iex> Plausible.Cldr.Number.System.number_system_for "th", :latn
-{:ok, %{digits: "0123456789", type: :numeric}}
+{:ok, %{digits: "0123456789", type: :numeric}}
iex> Plausible.Cldr.Number.System.number_system_for "en", :default
-{:ok, %{digits: "0123456789", type: :numeric}}
+{:ok, %{digits: "0123456789", type: :numeric}}
iex> Plausible.Cldr.Number.System.number_system_for "he", :traditional
-{:ok, %{rules: "hebrew", type: :algorithmic}}
+{:ok, %{rules: "hebrew", type: :algorithmic}}
iex> Plausible.Cldr.Number.System.number_system_for "en", :native
-{:ok, %{digits: "0123456789", type: :numeric}}
+{:ok, %{digits: "0123456789", type: :numeric}}
iex> Plausible.Cldr.Number.System.number_system_for "en", :finance
-{
+{
:error,
- {Cldr.UnknownNumberSystemError,
- "The number system :finance is unknown for the locale named :en. Valid number systems are %{default: :latn, native: :latn}"}
-}
+ {Cldr.UnknownNumberSystemError,
+ "The number system :finance is unknown for the locale named :en. Valid number systems are %{default: :latn, native: :latn}"}
+}
@@ -330,8 +330,8 @@ it is returned as is.
- @spec number_system_from_locale(Cldr.Locale.locale_reference()) ::
- Cldr.Number.System.system_name()
+ @spec number_system_from_locale(Cldr.Locale.locale_reference()) ::
+ Cldr.Number.System.system_name()
@@ -342,8 +342,8 @@ locale name.locale
is any language tag returned be Cldr.Locale.new/2
-or a locale name in the list returned by Cldr.known_locale_names/1locale is any language tag returned be Cldr.Locale.new/2
+or a locale name in the list returned by Cldr.known_locale_names/1returns
@@ -383,24 +383,24 @@ or a locale name in the list returned by -@spec number_system_names_for(Cldr.Locale.locale_reference()) :: +@spec number_system_names_for(Cldr.Locale.locale_reference()) :: {:ok, [atom()]} | {:error, {module(), String.t()}}Returns the number systems available for a locale or
{:error, message}if the locale is not known.
locale is any valid locale name returned by Plausible.Cldr.known_locale_names/0
-or a Cldr.LanguageTag struct returned by Plausible.Cldr.Locale.new!/1Cldr.LanguageTag struct returned by Plausible.Cldr.Locale.new!/1examples
Examplesiex> Plausible.Cldr.Number.System.number_system_names_for "en"
-{:ok, [:latn]}
+{:ok, [:latn]}
iex> Plausible.Cldr.Number.System.number_system_names_for "zz"
-{:error, {Cldr.InvalidLanguageError, "The language \"zz\" is invalid"}}
+{:error, {Cldr.InvalidLanguageError, "The language \"zz\" is invalid"}}
- @spec number_systems_for(Cldr.Locale.locale_reference()) ::
+ @spec number_systems_for(Cldr.Locale.locale_reference()) ::
{:ok, map()} | {:error, {module(), String.t()}}
Returns the number systems available for a locale
or {:error, message} if the locale is not known.
locale is any valid locale name returned by Plausible.Cldr.known_locale_names/0
-or a Cldr.LanguageTag struct returned by Plausible.Cldr.Locale.new!/1
+or a Cldr.LanguageTag struct returned by Plausible.Cldr.Locale.new!/1
examples
Examples
iex> Plausible.Cldr.Number.System.number_systems_for "en"
-{:ok, %{default: :latn, native: :latn}}
+{:ok, %{default: :latn, native: :latn}}
iex> Plausible.Cldr.Number.System.number_systems_for "th"
-{:ok, %{default: :latn, native: :thai}}
+{:ok, %{default: :latn, native: :thai}}
iex> Plausible.Cldr.Number.System.number_systems_for "zz"
-{:error, {Cldr.InvalidLanguageError, "The language \"zz\" is invalid"}}
+{:error, {Cldr.InvalidLanguageError, "The language \"zz\" is invalid"}}
@spec number_systems_like(
- Cldr.Locale.locale_reference(),
- Cldr.Number.System.system_name()
+ Cldr.Locale.locale_reference(),
+ Cldr.Number.System.system_name()
) ::
{:ok, list()} | {:error, tuple()}
@@ -567,8 +567,8 @@ or a
@spec system_name_from(
- Cldr.Number.System.system_name(),
- Cldr.Locale.locale_name() | Cldr.LanguageTag.t()
+ Cldr.Number.System.system_name(),
+ Cldr.Locale.locale_name() | Cldr.LanguageTag.t()
) :: {:ok, atom()} | {:error, {module(), String.t()}}
@@ -576,7 +576,7 @@ or a Returns a number system name for a given locale and number system reference.system_name is any number system name returned by
Plausible.Cldr.known_number_systems/0 or a number system type
returned by Plausible.Cldr.known_number_system_types/0
locale is any valid locale name returned by Plausible.Cldr.known_locale_names/0
-or a Cldr.LanguageTag struct returned by Plausible.Cldr.Locale.new!/1
Number systems can be references in one of two ways:
As a number system type such as :default, :native, :traditional and
+or a Cldr.LanguageTag struct returned by Plausible.Cldr.Locale.new!/1
Number systems can be references in one of two ways:
As a number system type such as :default, :native, :traditional and
:finance. This allows references to a number system for a locale in a
consistent fashion for a given use
WIth the number system name directly, such as :latn, :arab or any of the
other 70 or so
This function dereferences the supplied system_name and returns the
@@ -586,20 +586,20 @@ actual system name.
ex> Plausible.Cldr.Number.System.system_name_from(:default, "en")
-{:ok, :latn}
+ex> Plausible.Cldr.Number.System.system_name_from(:default, "en")
+{:ok, :latn}
-iex> Plausible.Cldr.Number.System.system_name_from("latn", "en")
-{:ok, :latn}
+iex> Plausible.Cldr.Number.System.system_name_from("latn", "en")
+{:ok, :latn}
-iex> Plausible.Cldr.Number.System.system_name_from(:native, "en")
-{:ok, :latn}
+iex> Plausible.Cldr.Number.System.system_name_from(:native, "en")
+{:ok, :latn}
-iex> Plausible.Cldr.Number.System.system_name_from(:nope, "en")
-{
+iex> Plausible.Cldr.Number.System.system_name_from(:nope, "en")
+{
:error,
- {Cldr.UnknownNumberSystemError, "The number system :nope is unknown"}
-}
Note that return value is not guaranteed to be a valid
+
{Cldr.UnknownNumberSystemError, "The number system :nope is unknown"}
+}
Note that return value is not guaranteed to be a valid
number system for the given locale as demonstrated in the third example.
This function converts numbers to a known number system only, it does not provide number formatting.
number is a float, integer or Decimal
system_name is any number system name returned by
-Cldr.known_number_systems/0 or a number system type
-returned by Cldr.known_number_system_types/0
There are two types of number systems in CLDR:
:numeric in which the number system defines
+Cldr.known_number_systems/0 or a number system type
+returned by Cldr.known_number_system_types/0
There are two types of number systems in CLDR:
:numeric in which the number system defines
a direct mapping between the latin digits 0..9
into a the number system equivalent. In this case,
-to_system/2 invokes Cldr.Number.Transliterate.transliterate_digits/3
+to_system/2 invokes Cldr.Number.Transliterate.transliterate_digits/3
for the given number.
:algorithmic in which the number system
does not have the same structure as the :latn
number system and therefore the conversion is
done algorithmically. For CLDR the algorithm
-is implemented through Cldr.Rbnf rulesets.
+is implemented through Cldr.Rbnf rulesets.
These rulesets are considered by CLDR to be
less rigorous than the :numeric number systems
and caution and testing for a specific use case
@@ -646,16 +646,16 @@ is recommended.
Cldr.Number.Transliterate.transliterate_digits/3This module includes Cldr.Number.Transliterate.transliterate_digits/3 which transliterates
digits between number systems. For example from :arabic to :latn. Since generating a
transliteration map is slow, pairs of transliterations can be configured so that the
transliteration map is created at compile time and therefore speeding up transliteration at
run time.
To configure these transliteration pairs, add the to the use Cldr configuration
-in a backend module:
defmodule MyApp.Cldr do
+in a backend module:defmodule MyApp.Cldr do
use Cldr,
- locale: ["en", "fr", "th"],
+ locale: ["en", "fr", "th"],
default_locale: "en",
- precompile_transliterations: [{:latn, :thai}, {:arab, :thai}]
-end
Where each tuple in the list configures one transliteration map. In this example, two maps are
-configured: from :latn to :thai and from :arab to :thai.
A list of configurable number systems is returned by Cldr.Number.System.systems_with_digits/0.
If a transliteration is requested between two number pairs that have not been configured for
+
precompile_transliterations: [{:latn, :thai}, {:arab, :thai}]
+endWhere each tuple in the list configures one transliteration map. In this example, two maps are
+configured: from :latn to :thai and from :arab to :thai.
A list of configurable number systems is returned by Cldr.Number.System.systems_with_digits/0.
If a transliteration is requested between two number pairs that have not been configured for precompilation, a warning is logged.
@@ -226,8 +226,8 @@ Functions@spec transliterate(
String.t(),
- Cldr.LanguageTag.t() | Cldr.Locale.locale_name(),
- Cldr.Number.System.system_name() | Cldr.Number.System.types()
+ Cldr.LanguageTag.t() | Cldr.Locale.locale_name(),
+ Cldr.Number.System.system_name() | Cldr.Number.System.types()
) :: String.t() | {:error, {module(), String.t()}}
@@ -246,7 +246,7 @@ is the actual name of a known number system. If epressed as an :default and :native but :traditional and :finance are also part of the
standard). See Plausible.Cldr.Number.System.number_systems_for/1 for a locale to
-see what number system types are defined. The default is :default.For available number systems see Cldr.Number.System.number_systems/0
+see what number system types are defined. The default is :default.
For available number systems see Cldr.Number.System.number_systems/0
and Plausible.Cldr.Number.System.number_systems_for/1. Also see
Plausible.Cldr.Number.Symbol.number_symbols_for/1.
Examples
iex> Plausible.Cldr.Number.Transliterate.transliterate("123556")
+iex> Plausible.Cldr.Number.Transliterate.transliterate("123556")
"123556"
-iex> Plausible.Cldr.Number.Transliterate.transliterate("123,556.000", "fr", :default)
+iex> Plausible.Cldr.Number.Transliterate.transliterate("123,556.000", "fr", :default)
"123 556,000"
-iex> Plausible.Cldr.Number.Transliterate.transliterate("123556", "th", :default)
+iex> Plausible.Cldr.Number.Transliterate.transliterate("123556", "th", :default)
"123556"
-iex> Plausible.Cldr.Number.Transliterate.transliterate("123556", "th", "thai")
+iex> Plausible.Cldr.Number.Transliterate.transliterate("123556", "th", "thai")
"๑๒๓๕๕๖"
-iex> Plausible.Cldr.Number.Transliterate.transliterate("123556", "th", :native)
+iex> Plausible.Cldr.Number.Transliterate.transliterate("123556", "th", :native)
"๑๒๓๕๕๖"
-iex> Plausible.Cldr.Number.Transliterate.transliterate("Some number is: 123556", "th", "thai")
+iex> Plausible.Cldr.Number.Transliterate.transliterate("Some number is: 123556", "th", "thai")
"Some number is: ๑๒๓๕๕๖"
@@ -318,14 +318,14 @@ and @spec transliterate_digits(
String.t(),
- Cldr.Number.System.system_name(),
- Cldr.Number.System.system_name()
+ Cldr.Number.System.system_name(),
+ Cldr.Number.System.system_name()
) :: String.t()
Transliterates digits from one number system to another number system
digits is binary representation of a number
from_system and to_system are number system names in atom form. See
-Cldr.Number.System.systems_with_digits/0 for available number systems.
Cldr.Number.System.systems_with_digits/0 for available number systems.example
diff --git a/Plausible.Cldr.Number.html b/Plausible.Cldr.Number.html index 7ea78e4c9..eca59810a 100644 --- a/Plausible.Cldr.Number.html +++ b/Plausible.Cldr.Number.html @@ -13,7 +13,7 @@ - + @@ -117,7 +117,7 @@ PlausibleFormats numbers and currencies based upon CLDR's decimal formats specification.
The format specification is documentated in Unicode TR35.
There are several classes of formatting including non-scientific, scientific,
rules based (for spelling and ordinal formats), compact formats that display 1k
-rather than 1,000 and so on. See Cldr.Number.to_string/2 for specific formatting
+rather than 1,000 and so on. See Cldr.Number.to_string/2 for specific formatting
options.
non-scientific-notation-formatting
@@ -414,19 +414,19 @@ using the Elixir standard library functions.iex> Plausible.Cldr.Number.parse("+1.000,34", locale: "de")
-{:ok, 1000.34}
+iex> Plausible.Cldr.Number.parse("+1.000,34", locale: "de")
+{:ok, 1000.34}
-iex> Plausible.Cldr.Number.parse("-1_000_000.34")
-{:ok, -1000000.34}
+iex> Plausible.Cldr.Number.parse("-1_000_000.34")
+{:ok, -1000000.34}
-iex> Plausible.Cldr.Number.parse("1.000", locale: "de", number: :integer)
-{:ok, 1000}
+iex> Plausible.Cldr.Number.parse("1.000", locale: "de", number: :integer)
+{:ok, 1000}
-iex> Plausible.Cldr.Number.parse("+1.000,34", locale: "de", number: :integer)
-{:error,
- {Cldr.Number.ParseError,
- "The string \"+1.000,34\" could not be parsed as a number"}}
+iex> Plausible.Cldr.Number.parse("+1.000,34", locale: "de", number: :integer)
+{:error,
+ {Cldr.Number.ParseError,
+ "The string \"+1.000,34\" could not be parsed as a number"}}
options
Options
:locale is any valid locale returned by Cldr.known_locale_names/1
-or a Cldr.LanguageTag struct returned by Cldr.Locale.new!/2
+
:locale is any valid locale returned by Cldr.known_locale_names/1
+or a Cldr.LanguageTag struct returned by Cldr.Locale.new!/2
The default is Plausible.Cldr.get_locale()
:only is an atom or list of atoms representing the
currencies or currency types to be considered for a match.
The equates to a list of acceptable currencies for parsing.
@@ -498,17 +498,17 @@ financial instruments.
iex> Plausible.Cldr.Number.scan("100 US dollars")
+iex> Plausible.Cldr.Number.scan("100 US dollars")
...> |> Plausible.Cldr.Number.resolve_currencies
-[100, :USD]
+[100, :USD]
-iex> Plausible.Cldr.Number.scan("100 eurosports")
-...> |> Plausible.Cldr.Number.resolve_currencies(fuzzy: 0.75)
-[100, :EUR]
+iex> Plausible.Cldr.Number.scan("100 eurosports")
+...> |> Plausible.Cldr.Number.resolve_currencies(fuzzy: 0.75)
+[100, :EUR]
-iex> Plausible.Cldr.Number.scan("100 dollars des États-Unis")
-...> |> Plausible.Cldr.Number.resolve_currencies(locale: "fr")
-[100, :USD]
+iex> Plausible.Cldr.Number.scan("100 dollars des États-Unis")
+...> |> Plausible.Cldr.Number.resolve_currencies(locale: "fr")
+[100, :USD]
options
Options
:locale is any valid locale returned by Cldr.known_locale_names/1
-or a Cldr.LanguageTag struct returned by Cldr.Locale.new!/2
+
:locale is any valid locale returned by Cldr.known_locale_names/1
+or a Cldr.LanguageTag struct returned by Cldr.Locale.new!/2
The default is Plausible.Cldr.get_locale()
:only is an atom or list of atoms representing the
currencies or currency types to be considered for a match.
The equates to a list of acceptable currencies for parsing.
@@ -585,19 +585,19 @@ financial instruments.
iex> Plausible.Cldr.Number.resolve_currency("US dollars")
+[:USD]
-iex> Plausible.Cldr.Number.resolve_currency("100 eurosports", fuzzy: 0.75)
-[:EUR]
+iex> Plausible.Cldr.Number.resolve_currency("100 eurosports", fuzzy: 0.75)
+[:EUR]
-iex> Plausible.Cldr.Number.resolve_currency("dollars des États-Unis", locale: "fr")
-[:USD]
+iex> Plausible.Cldr.Number.resolve_currency("dollars des États-Unis", locale: "fr")
+[:USD]
-iex> Plausible.Cldr.Number.resolve_currency("not a known currency", locale: "fr")
-{:error,
- {Cldr.UnknownCurrencyError,
- "The currency \"not a known currency\" is unknown or not supported"}}
+iex> Plausible.Cldr.Number.resolve_currency("not a known currency", locale: "fr")
+{:error,
+ {Cldr.UnknownCurrencyError,
+ "The currency \"not a known currency\" is unknown or not supported"}}
@spec resolve_per(String.t(), Keyword.t()) ::
- Cldr.Number.Parser.per()
- | [Cldr.Number.Parser.per() | String.t()]
+ Cldr.Number.Parser.per()
+ | [Cldr.Number.Parser.per() | String.t()]
| {:error, {module(), String.t()}}
@@ -646,8 +646,8 @@ and permille symbols are expectedreturnsoptions
Options
-
:locale is any valid locale returned by Cldr.known_locale_names/1
-or a Cldr.LanguageTag struct returned by Cldr.Locale.new!/2
+:locale is any valid locale returned by Cldr.known_locale_names/1
+or a Cldr.LanguageTag struct returned by Cldr.Locale.new!/2
The default is options[:backend].get_locale()
options[:backend].get_locale()
+[:percent, " of linguists ", :percent]iex> Plausible.Cldr.Number.resolve_per "11%"
-["11", :percent]
+["11", :percent]
iex> Plausible.Cldr.Number.resolve_per "% of linguists"
-[:percent, " of linguists"]
+[:percent, " of linguists"]
iex> Plausible.Cldr.Number.resolve_per "% of linguists %"
-[:percent, " of linguists ", :percent]options[:backend].get_locale()
@spec resolve_pers([String.t(), ...], Keyword.t()) :: [ - Cldr.Number.Parser.per() | String.t() + Cldr.Number.Parser.per() | String.t() ]
options
Options
-
:locale is any valid locale returned by Cldr.known_locale_names/1
-or a t:Cldr.LanguageTag struct returned by Cldr.Locale.new!/2
+:locale is any valid locale returned by Cldr.known_locale_names/1
+or a t:Cldr.LanguageTag struct returned by Cldr.Locale.new!/2
The default is options[:backend].get_locale()examples
Examplesiex> Plausible.Cldr.Number.scan("100%")
-...> |> Plausible.Cldr.Number.resolve_pers()
-[100, :percent]
+iex> Plausible.Cldr.Number.scan("100%")
+...> |> Plausible.Cldr.Number.resolve_pers()
+[100, :percent]
:integer, :float,
:decimal or nil. The default is nil
meaning that the type auto-detected as either
-an integer or a float.:locale is any locale returned by Cldr.known_locale_names/1
+an integer or a float.
:locale is any locale returned by Cldr.known_locale_names/1
or a Cldr.LanguageTag.t. The default is Plausible.Cldr.get_locale/0.
returns
@@ -779,27 +779,27 @@ or aCldr.LanguageTag.t. The default is Cldr.Number.Parser.parse/2
+Number parsing is performed by Cldr.Number.Parser.parse/2
and any options provided are passed to that function.
examples
Examplesiex> Plausible.Cldr.Number.scan("£1_000_000.34")
-["£", 1000000.34]
+iex> Plausible.Cldr.Number.scan("£1_000_000.34")
+["£", 1000000.34]
-iex> Plausible.Cldr.Number.scan("I want £1_000_000 dollars")
-["I want £", 1000000, " dollars"]
+iex> Plausible.Cldr.Number.scan("I want £1_000_000 dollars")
+["I want £", 1000000, " dollars"]
-iex> Plausible.Cldr.Number.scan("The prize is 23")
-["The prize is ", 23]
+iex> Plausible.Cldr.Number.scan("The prize is 23")
+["The prize is ", 23]
-iex> Plausible.Cldr.Number.scan("The lottery number is 23 for the next draw")
-["The lottery number is ", 23, " for the next draw"]
+iex> Plausible.Cldr.Number.scan("The lottery number is 23 for the next draw")
+["The lottery number is ", 23, " for the next draw"]
-iex> Plausible.Cldr.Number.scan("The loss is -1.000 euros", locale: "de", number: :integer)
-["The loss is ", -1000, " euros"]
+iex> Plausible.Cldr.Number.scan("The loss is -1.000 euros", locale: "de", number: :integer)
+["The loss is ", -1000, " euros"]
options is a keyword list defining how the number is to be formatted.
-See Cldr.Number.to_string/3 for a description of the available
+See Cldr.Number.to_string/3 for a description of the available
options.
example
@@ -846,7 +846,7 @@ options.options is a keyword list defining how the number is to be formatted.
-See Cldr.Number.to_string/3 for a description of the available
+See Cldr.Number.to_string/3 for a description of the available
options.
example
@@ -940,7 +940,7 @@ options.:range format for a locale and number system.
number is an integer, float or Decimal to be formatted
options is a keyword list defining how the number is to be formatted.
-See Cldr.Number.to_string/3 for a description of the available
+See Cldr.Number.to_string/3 for a description of the available
options.
example
@@ -987,7 +987,7 @@ options.iex> Plausible.Cldr.Number.to_range_string 1234..5678
-{:ok, "1,234–5,678"}
+{:ok, "1,234–5,678"}
format: the format style or a format string defining how the number is
-formatted. See Cldr.Number.Format for how format strings can be constructed.
-See Cldr.Number.Format.format_styles_for/3 to return available format styles
+formatted. See Cldr.Number.Format for how format strings can be constructed.
+See Cldr.Number.Format.format_styles_for/3 to return available format styles
for a locale. The default format is :standard.
If :format is set to :long or :short then the formatting depends on
whether :currency is specified. If not specified then the number is
formatted as :decimal_long or :decimal_short. If :currency is
specified the number is formatted as :currency_long or
:currency_short and :fractional_digits is set to 0 as a default.
:format may also be a format defined by CLDR's Rules Based Number
-Formats (RBNF). Further information is found in the module Cldr.Rbnf.
+Formats (RBNF). Further information is found in the module Cldr.Rbnf.
The most commonly used formats in this category are to spell out the
number in a the locales language. The applicable formats are :spellout,
:spellout_year, :ordinal. A number can also be formatted as roman
@@ -1065,10 +1065,10 @@ should be used to define the separators and digits for the formatted
number. If number_system is an atom then number_system is
interpreted as a number system. If the :number_system is
binary then it is interpreted as a number system name. See
-Cldr.Number.System.number_system_names_for/2. The default is :default.
:locale: determines the locale in which the number is formatted. See
-Cldr.known_locale_names/0. The default isCldr.get_locale/0 which is the
+Cldr.Number.System.number_system_names_for/2. The default is :default.
:locale: determines the locale in which the number is formatted. See
+Cldr.known_locale_names/0. The default isCldr.get_locale/0 which is the
locale currently in affect for this Process and which is set by
-Cldr.put_locale/1.
If :fractional_digits is set to a positive integer value then the number
+Cldr.put_locale/1.
If :fractional_digits is set to a positive integer value then the number
will be rounded to that number of digits and displayed accordingly - overriding
settings that would be applied by default. For example, currencies have
fractional digits defined reflecting each currencies minor unit. Setting
@@ -1106,21 +1106,21 @@ extensions.
iex> Cldr.Number.to_string(100, format: :currency, currency: :USD, wrapper: fn
...> string, :currency_symbol -> "<span class=\"symbol\">" <> string <> "</span>"
...> string, :number -> "<span class=\"number\">" <> string <> "</span>"
...> string, :currency_space -> "<span>" <> string <> "</span>"
...> string, _other -> string
-...> end)
-{:ok, "<span class=\"symbol\">$</span><span class=\"number\">100.00</span>"}It is also possible and recommended to use the Phoenix.HTML.Tag.content_tag/3
+
It is also possible and recommended to use the Phoenix.HTML.Tag.content_tag/3
function if wrapping HTML tags since these will ensure HTML entities are
-correctly encoded. For example:
iex> Cldr.Number.to_string(100, format: :currency, currency: :USD, wrapper: fn
-...> string, :currency_symbol -> Phoenix.HTML.Tag.content_tag(:span, string, class: "symbol")
-...> string, :number -> Phoenix.HTML.Tag.content_tag(:span, string, class: "number")
-...> string, :currency_space -> Phoenix.HTML.Tag.content_tag(:span, string)
+correctly encoded. For example:iex> Cldr.Number.to_string(100, format: :currency, currency: :USD, wrapper: fn
+...> string, :currency_symbol -> Phoenix.HTML.Tag.content_tag(:span, string, class: "symbol")
+...> string, :number -> Phoenix.HTML.Tag.content_tag(:span, string, class: "number")
+...> string, :currency_space -> Phoenix.HTML.Tag.content_tag(:span, string)
...> string, _other -> string
-...> end)
-{:ok, "<span class=\"symbol\">$</span><span class=\"number\">100.00</span>"}
When formatting a number the format is parsed into format elements that might include
+
...> end)
+{:ok, "<span class=\"symbol\">$</span><span class=\"number\">100.00</span>"}When formatting a number the format is parsed into format elements that might include a currency symbol, a literal string, inserted text between a currency symbol and the currency amount, a percent sign, the number itself and several other elements. In some cases it is helpful to be apply specific formatting to each element. @@ -1141,80 +1141,80 @@ inserted in the final formatted number.
errors
ErrorsAn error tuple {:error, reason} will be returned if an error is detected.
-The two most likely causes of an error return are:
iex> Plausible.Cldr.Number.to_string(12345, format: "0#")
- {:error, {Cldr.FormatCompileError,
- "Decimal format compiler: syntax error before: \"#\""}}locale and
+The two most likely causes of an error return are: iex> Plausible.Cldr.Number.to_string(12345, format: "0#")
+ {:error, {Cldr.FormatCompileError,
+ "Decimal format compiler: syntax error before: \"#\""}}locale and
number_system. This happens typically when the number system is
:algorithmic rather than the more common :numeric. In this case the error
-return looks like: iex> Plausible.Cldr.Number.to_string(1234, locale: "he", number_system: "hebr")
- {:error, {Cldr.UnknownFormatError,
- "The locale :he with number system :hebr does not define a format :standard"}}
+return looks like: iex> Plausible.Cldr.Number.to_string(1234, locale: "he", number_system: "hebr")
+ {:error, {Cldr.UnknownFormatError,
+ "The locale :he with number system :hebr does not define a format :standard"}}
@spec validate_number_system( - Cldr.Locale.locale_name() | Cldr.LanguageTag.t(), - Cldr.Number.System.system_name() | Cldr.Number.System.types() -) :: {:ok, Cldr.Number.System.system_name()} | {:error, {module(), String.t()}}+ Cldr.Locale.locale_name() | Cldr.LanguageTag.t(), + Cldr.Number.System.system_name() | Cldr.Number.System.types() +) :: {:ok, Cldr.Number.System.system_name()} | {:error, {module(), String.t()}}
Cldr.known_locale_names/1
-or a Cldr.LanguageTag struct returned by Cldr.Locale.new!/2system_name is any number system name returned by
-Cldr.known_number_systems/0 or a number system type
-returned by Cldr.known_number_system_types/0
locale is any valid locale name returned by Cldr.known_locale_names/1
+or a Cldr.LanguageTag struct returned by Cldr.Locale.new!/2
system_name is any number system name returned by
+Cldr.known_number_systems/0 or a number system type
+returned by Cldr.known_number_system_types/0
examples
Examplesiex> Plausible.Cldr.Number.validate_number_system "en", :latn
-{:ok, :latn}
+{:ok, :latn}
iex> Plausible.Cldr.Number.validate_number_system "en", :default
-{:ok, :latn}
+{:ok, :latn}
iex> Plausible.Cldr.Number.validate_number_system "en", :unknown
-{:error,
- {Cldr.UnknownNumberSystemError, "The number system :unknown is unknown"}}
+{:error,
+ {Cldr.UnknownNumberSystemError, "The number system :unknown is unknown"}}
iex> Plausible.Cldr.Number.validate_number_system "zz", :default
-{:error, {Cldr.InvalidLanguageError, "The language \"zz\" is invalid"}}
+{:error, {Cldr.InvalidLanguageError, "The language \"zz\" is invalid"}}
Functions to implement the number system rule-based-number-format rules of CLDR.
These rules are defined only on the "und" locale and represent specialised -number formatting.
The standard public API for RBNF is via the Cldr.Number.to_string/2 function.
The functions on this module are defined at compile time based upon the RBNF rules -defined in the Unicode CLDR data repository. Available rules are identified by:
iex> Plausible.Cldr.Rbnf.NumberSystem.rule_sets(:und)
-[:zz_default, :tamil, :roman_upper, :roman_lower, :hebrew_item,
- :hebrew, :greek_upper, :greek_lower, :georgian,
- :ethiopic, :cyrillic_lower, :armenian_upper, :armenian_lower]A rule can then be invoked on an available rule_set. For example
iex> Plausible.Cldr.Rbnf.NumberSystem.roman_upper(123, :und)
-"CXXIII"This particular call is equivalent to the call through the public API of:
iex> Plausible.Cldr.Number.to_string(123, format: :roman)
-{:ok, "CXXIII"}
+number formatting.The standard public API for RBNF is via the Cldr.Number.to_string/2 function.
The functions on this module are defined at compile time based upon the RBNF rules +defined in the Unicode CLDR data repository. Available rules are identified by:
iex> Plausible.Cldr.Rbnf.NumberSystem.rule_sets(:und)
+...> |> Enum.sort()
+[
+ :armenian_lower,
+ :armenian_upper,
+ :cyrillic_lower,
+ :ethiopic,
+ :georgian,
+ :greek_lower,
+ :greek_upper,
+ :hebrew,
+ :hebrew_item,
+ :roman_lower,
+ :roman_upper,
+ :tamil,
+ :zz_default
+]A rule can then be invoked on an available rule_set. For example
iex> Plausible.Cldr.Rbnf.NumberSystem.roman_upper(123, :und)
+"CXXIII"This particular call is equivalent to the call through the public API of:
iex> Plausible.Cldr.Number.to_string(123, format: :roman)
+{:ok, "CXXIII"}
Functions to implement the ordinal rule-based-number-format rules of CLDR.
As CLDR notes, the data is incomplete or non-existent for many languages. It -is considered complete for English however.
The standard public API for RBNF is via the Cldr.Number.to_string/2 function.
The functions on this module are defined at compile time based upon the RBNF rules -defined in the Unicode CLDR data repository. Available rules are identified by:
iex> Plausible.Cldr.Rbnf.Ordinal.rule_sets(:en)
-[:digits_ordinal]
-
-iex> Plausible.Cldr.Rbnf.Ordinal.rule_sets("fr")
-[
- :digits_ordinal_masculine_plural,
- :digits_ordinal_masculine,
- :digits_ordinal_feminine_plural,
+is considered complete for English however.The standard public API for RBNF is via the Cldr.Number.to_string/2 function.
The functions on this module are defined at compile time based upon the RBNF rules
+defined in the Unicode CLDR data repository. Available rules are identified by:
iex> Plausible.Cldr.Rbnf.Ordinal.rule_sets(:en)
+[:digits_ordinal]
+
+iex> Plausible.Cldr.Rbnf.Ordinal.rule_sets("fr")
+...> |> Enum.sort()
+[
+ :digits_ordinal,
:digits_ordinal_feminine,
- :digits_ordinal
-]
A rule can then be invoked on an available rule_set. For example
iex> Plausible.Cldr.Rbnf.Ordinal.digits_ordinal(123, :en)
-"123rd"
This call is equivalent to the call through the public API of:
iex> Plausible.Cldr.Number.to_string(123, format: :ordinal)
-{:ok, "123rd"}
+ :digits_ordinal_feminine_plural,
+ :digits_ordinal_masculine,
+ :digits_ordinal_masculine_plural
+]A rule can then be invoked on an available rule_set. For example
iex> Plausible.Cldr.Rbnf.Ordinal.digits_ordinal(123, :en)
+"123rd"This call is equivalent to the call through the public API of:
iex> Plausible.Cldr.Number.to_string(123, format: :ordinal)
+{:ok, "123rd"}
Functions to implement the spellout rule-based-number-format rules of CLDR.
As CLDR notes, the data is incomplete or non-existent for many languages. It -is considered complete for English however.
The standard public API for RBNF is via the Cldr.Number.to_string/2 function.
The functions on this module are defined at compile time based upon the RBNF rules -defined in the Unicode CLDR data repository. Available rules are identified by:
iex> Plausible.Cldr.Rbnf.Spellout.rule_sets("en")
-[:spellout_ordinal_verbose, :spellout_ordinal, :spellout_numbering_year,
- :spellout_numbering_verbose, :spellout_numbering, :spellout_cardinal_verbose,
- :spellout_cardinal]A rule can then be invoked on an available rule_set. For example:
iex> Plausible.Cldr.Rbnf.Spellout.spellout_ordinal(123, "en")
-"one hundred twenty-third"This call is equivalent to the call through the public API of:
iex> Plausible.Cldr.Number.to_string(123, format: :spellout)
-{:ok, "one hundred twenty-three"}
+is considered complete for English however.The standard public API for RBNF is via the Cldr.Number.to_string/2 function.
The functions on this module are defined at compile time based upon the RBNF rules +defined in the Unicode CLDR data repository. Available rules are identified by:
iex> Plausible.Cldr.Rbnf.Spellout.rule_sets("en")
+...> |> Enum.sort()
+[
+ :spellout_cardinal,
+ :spellout_cardinal_verbose,
+ :spellout_numbering,
+ :spellout_numbering_verbose,
+ :spellout_numbering_year,
+ :spellout_ordinal,
+ :spellout_ordinal_verbose
+]A rule can then be invoked on an available rule_set. For example:
iex> Plausible.Cldr.Rbnf.Spellout.spellout_ordinal(123, "en")
+"one hundred twenty-third"This call is equivalent to the call through the public API of:
iex> Plausible.Cldr.Number.to_string(123, format: :spellout)
+{:ok, "one hundred twenty-three"}
Returns either the Gettext locale_name in Cldr format or
false based upon whether the locale name is configured in
-Gettext.
Gettext.Returns a list of Gettext locale names but in CLDR format with
underscore replaced by hyphen in order to facilitate comparisons
-with Cldr locale names.
Cldr locale names.
@@ -249,7 +249,7 @@ with
Returns either the locale_name or false based upon
-whether the locale name is configured in Cldr.
+whether the locale name is configured in Cldr.
@@ -280,7 +280,7 @@ name is configured and available in Cldr.
- Returns a list of atoms representing the number systems types known to Cldr.
+ Returns a list of atoms representing the number systems types known to Cldr.
@@ -290,7 +290,7 @@ name is configured and available in Cldr.
-
+
@@ -301,7 +301,7 @@ name is configured and available in Cldr.
Returns either the RBNF locale_name or false based upon
-whether the locale name is configured in Cldr
+whether the locale name is configured in Cldr
and has RBNF rules defined.
@@ -335,7 +335,7 @@ formats (RBNF).
-
+
@@ -356,7 +356,7 @@ of common symbols in numbers, currencies and dates
- Set the current locale to be used for Cldr functions that
+
Set the current locale to be used for Cldr functions that
take an optional locale parameter for which a locale is not supplied.
@@ -388,7 +388,7 @@ but not known in CLDR.
-
+
@@ -398,7 +398,7 @@ but not known in CLDR.
-
+
@@ -418,7 +418,7 @@ but not known in CLDR.
-
+
@@ -438,7 +438,7 @@ but not known in CLDR.
-
+
@@ -486,7 +486,7 @@ Functions
-
+
@@ -510,7 +510,7 @@ Functions
- @spec default_locale() :: Cldr.LanguageTag.t() | no_return()
+ @spec default_locale() :: Cldr.LanguageTag.t() | no_return()
@@ -520,24 +520,24 @@ Functions
Example
iex> Plausible.Cldr.default_locale()
-%Cldr.LanguageTag{
+iex> Plausible.Cldr.default_locale()
+%Cldr.LanguageTag{
backend: Plausible.Cldr,
canonical_locale_name: "en-001",
cldr_locale_name: :"en-001",
- language_subtags: [],
- extensions: %{},
+ language_subtags: [],
+ extensions: %{},
gettext_locale_name: "en",
language: "en",
- locale: %{},
- private_use: [],
+ locale: %{},
+ private_use: [],
rbnf_locale_name: :en,
requested_locale_name: "en-001",
script: :Latn,
territory: :"001",
- transform: %{},
- language_variants: []
-}
+ transform: %{},
+ language_variants: []
+}
@spec default_territory() :: Cldr.Locale.territory_code()+
@spec default_territory() :: Cldr.Locale.territory_code()
iex> Plausible.Cldr.default_territory()
:"001"
String.t or a 2-element list
of String.t between which the ellipsis is inserted.backend is any module that includes use Cldr and therefore
-is a Cldr backend module. The default is Cldr.default_backend!/0.
-Note that Cldr.default_backend!/0 will raise an exception if
+is a Cldr backend module. The default is Cldr.default_backend!/0.
+Note that Cldr.default_backend!/0 will raise an exception if
no :default_backend is configured under the :ex_cldr key in
config.exs.
options is a keyword list of options
:default_backend is configured under the
Options
:locale is any valid locale name returned by Cldr.known_locale_names/1.
-The default is Cldr.get_locale/0.
:location determines where to place the ellipsis. The options are
+
:locale is any valid locale name returned by Cldr.known_locale_names/1.
+The default is Cldr.get_locale/0.
:location determines where to place the ellipsis. The options are
:after (the default for a single string argument), :between
(the default and only valid location for an argument that is a list
of two strings) and :before.
:format formats based upon whether the ellipsis
@@ -635,13 +635,13 @@ is inserted between words or sentences. The valid options are
iex> Plausible.Cldr.ellipsis "And furthermore"
"And furthermore…"
-iex> Plausible.Cldr.ellipsis ["And furthermore", "there is much to be done"], locale: :ja
+iex> Plausible.Cldr.ellipsis ["And furthermore", "there is much to be done"], locale: :ja
"And furthermore…there is much to be done"
iex> Plausible.Cldr.ellipsis "And furthermore", format: :word
"And furthermore …"
-iex> Plausible.Cldr.ellipsis ["And furthermore", "there is much to be done"], locale: :ja, format: :word
+iex> Plausible.Cldr.ellipsis ["And furthermore", "there is much to be done"], locale: :ja, format: :word
"And furthermore … there is much to be done"
@@ -666,34 +666,34 @@ is inserted between words or sentences. The valid options are
@spec get_locale() :: Cldr.LanguageTag.t()+
@spec get_locale() :: Cldr.LanguageTag.t()
Return the current locale to be used for Cldr functions that
+
Return the current locale to be used for Cldr functions that
take an optional locale parameter for which a locale is not supplied.
example
Exampleiex> Plausible.Cldr.put_locale("pl")
+iex> Plausible.Cldr.put_locale("pl")
iex> Plausible.Cldr.get_locale
-%Cldr.LanguageTag{
+%Cldr.LanguageTag{
backend: Elixir.Plausible.Cldr,
canonical_locale_name: "pl",
cldr_locale_name: :pl,
- extensions: %{},
+ extensions: %{},
language: "pl",
- locale: %{},
- private_use: [],
+ locale: %{},
+ private_use: [],
rbnf_locale_name: :pl,
territory: :PL,
requested_locale_name: "pl",
script: :Latn,
- transform: %{},
- language_variants: []
- }
+ transform: %{},
+ language_variants: []
+ }
locale_name in Cldr format or
false based upon whether the locale name is configured in
-Gettext.Gettext.arguments
@@ -826,10 +826,10 @@ name is configured and available in Gettext.iex> Plausible.Cldr.known_gettext_locale_name?("en")
true
-iex> Plausible.Cldr.known_gettext_locale_name?("!!")
+iex> Plausible.Cldr.known_gettext_locale_name?("!!")
false
CldrCldr locale names.
- @spec known_locale_name(Cldr.Locale.locale_name()) :: String.t() | false
+ @spec known_locale_name(Cldr.Locale.locale_name()) :: String.t() | false
Returns either the locale_name or false based upon
-whether the locale name is configured in Cldr.
This is helpful when building a list of or expressions
+whether the locale name is configured in Cldr.
This is helpful when building a list of or expressions
to return the first known locale name from a list.
arguments
@@ -931,7 +931,7 @@ to return the first known locale name from a list.
- @spec known_locale_name?(Cldr.Locale.locale_name()) :: boolean()
+ @spec known_locale_name?(Cldr.Locale.locale_name()) :: boolean()
@@ -948,10 +948,10 @@ name is configured and available in Cldr.iex> Plausible.Cldr.known_locale_name?(:en)
+iex> Plausible.Cldr.known_locale_name?(:en)
true
-iex> Plausible.Cldr.known_locale_name?(:"!!")
+iex> Plausible.Cldr.known_locale_name?(:"!!")
false
Gettext.
+in this module or in Gettext.
Returns a list of atoms representing the number systems types known to Cldr.
Returns a list of atoms representing the number systems types known to Cldr.
example
Exampleiex> Plausible.Cldr.known_number_system_types
-[:default, :finance, :native, :traditional]
+[:default, :finance, :native, :traditional]
@spec known_rbnf_locale_name(Cldr.Locale.locale_name()) :: String.t() | false
+ @spec known_rbnf_locale_name(Cldr.Locale.locale_name()) :: String.t() | false
Returns either the RBNF locale_name or false based upon
-whether the locale name is configured in Cldr
+whether the locale name is configured in Cldr
and has RBNF rules defined.
arguments
@@ -1099,7 +1099,7 @@ and has RBNF rules defined.@spec known_rbnf_locale_name?(Cldr.Locale.locale_name()) :: boolean()
+ @spec known_rbnf_locale_name?(Cldr.Locale.locale_name()) :: boolean()
@@ -1117,10 +1117,10 @@ rules based number formats (RBNF).iex> Plausible.Cldr.known_rbnf_locale_name?(:en)
true
-iex> Plausible.Cldr.known_rbnf_locale_name?(:"!!")
+iex> Plausible.Cldr.known_rbnf_locale_name?(:"!!")
false
@spec known_rbnf_locale_names() :: [Cldr.Locale.locale_name()]
+ @spec known_rbnf_locale_names() :: [Cldr.Locale.locale_name()]
@@ -1172,7 +1172,7 @@ formats (RBNF).
@spec put_locale(Cldr.Locale.locale_reference()) :: - {:ok, Cldr.LanguageTag.t()} | {:error, {module(), String.t()}}+
@spec put_locale(Cldr.Locale.locale_reference()) :: + {:ok, Cldr.LanguageTag.t()} | {:error, {module(), String.t()}}
Set the current locale to be used for Cldr functions that
+
Set the current locale to be used for Cldr functions that
take an optional locale parameter for which a locale is not supplied.
arguments
@@ -1241,29 +1241,29 @@ of a language tag.iex> Plausible.Cldr.put_locale("en")
-{:ok,
- %Cldr.LanguageTag{
+iex> Plausible.Cldr.put_locale("en")
+{:ok,
+ %Cldr.LanguageTag{
backend: Plausible.Cldr,
canonical_locale_name: "en",
cldr_locale_name: :en,
- language_subtags: [],
- extensions: %{},
+ language_subtags: [],
+ extensions: %{},
gettext_locale_name: "en",
language: "en",
- locale: %{},
- private_use: [],
+ locale: %{},
+ private_use: [],
rbnf_locale_name: :en,
requested_locale_name: "en",
script: :Latn,
territory: :US,
- transform: %{},
- language_variants: []
- }}
+ transform: %{},
+ language_variants: []
+ }}
-iex> Plausible.Cldr.put_locale("invalid-locale!")
-{:error, {Cldr.LanguageTag.ParseError,
- "Expected a BCP47 language tag. Could not parse the remaining \"!\" starting at position 15"}}
+iex> Plausible.Cldr.put_locale("invalid-locale!")
+{:error, {Cldr.LanguageTag.ParseError,
+ "Expected a BCP47 language tag. Could not parse the remaining \"!\" starting at position 15"}}
locale is any valid locale name returned by Cldr.known_locale_names/1.
-The default is Cldr.get_locale/0locale is any valid locale name returned by Cldr.known_locale_names/1.
+The default is Cldr.get_locale/0examples
@@ -1340,7 +1340,7 @@ The default is -@spec unknown_locale_names() :: [Cldr.Locale.locale_name()]
+ @spec unknown_locale_names() :: [Cldr.Locale.locale_name()]
@@ -1369,7 +1369,7 @@ return an empty list.
@spec validate_locale(Cldr.Locale.locale_name() | Cldr.LanguageTag.t() | String.t()) :: - {:ok, Cldr.LanguageTag.t()} | {:error, {module(), String.t()}}+
@spec validate_locale(Cldr.Locale.locale_name() | Cldr.LanguageTag.t() | String.t()) :: + {:ok, Cldr.LanguageTag.t()} | {:error, {module(), String.t()}}
locale is any valid locale name returned by Plausible.Cldr.known_locale_names/0
-or a Cldr.LanguageTag struct returned by Plausible.Cldr.Locale.new!/1Cldr.LanguageTag struct returned by Plausible.Cldr.Locale.new!/1returns
@@ -1446,47 +1446,47 @@ of a language tag.iex> Plausible.Cldr.validate_locale(:en)
+{:ok,
+%Cldr.LanguageTag{
backend: Plausible.Cldr,
canonical_locale_name: "en",
cldr_locale_name: :en,
- extensions: %{},
+ extensions: %{},
gettext_locale_name: "en",
language: "en",
- locale: %{},
- private_use: [],
+ locale: %{},
+ private_use: [],
rbnf_locale_name: :en,
requested_locale_name: "en",
script: :Latn,
territory: :US,
- transform: %{},
- language_variants: []
-}}
+ transform: %{},
+ language_variants: []
+}}
-iex> Plausible.Cldr.validate_locale Plausible.Cldr.default_locale()
-{:ok,
-%Cldr.LanguageTag{
+iex> Plausible.Cldr.validate_locale Plausible.Cldr.default_locale()
+{:ok,
+%Cldr.LanguageTag{
backend: Plausible.Cldr,
canonical_locale_name: "en-001",
cldr_locale_name: :"en-001",
- extensions: %{},
+ extensions: %{},
gettext_locale_name: "en",
language: "en",
- locale: %{},
- private_use: [],
+ locale: %{},
+ private_use: [],
rbnf_locale_name: :en,
requested_locale_name: "en-001",
script: :Latn,
territory: :"001",
- transform: %{},
- language_variants: []
-}}
+ transform: %{},
+ language_variants: []
+}}
-iex> Plausible.Cldr.validate_locale("zzz")
-{:error, {Cldr.InvalidLanguageError, "The language \"zzz\" is invalid"}}
+iex> Plausible.Cldr.validate_locale("zzz")
+{:error, {Cldr.InvalidLanguageError, "The language \"zzz\" is invalid"}}
Cldr.known_number_system_types/1Cldr.known_number_system_types/1returns
@@ -1557,22 +1557,22 @@ of a language tag.@spec with_locale(Cldr.LanguageTag.t(), (... -> any())) :: any()
+ @spec with_locale(Cldr.LanguageTag.t(), (... -> any())) :: any()
- @spec with_locale(Cldr.Locale.locale_name(), (... -> any())) :: any()
+ @spec with_locale(Cldr.Locale.locale_name(), (... -> any())) :: any()
@@ -1633,7 +1633,7 @@ current locale is restored after the function.Cldr.known_locale_names/1.fun is any 0-arity function or function capture.
locale is any valid locale name returned by Cldr.known_locale_names/1.
fun is any 0-arity function or function capture.
returns
diff --git a/Plausible.ClickhouseEventV2.html b/Plausible.ClickhouseEventV2.html index bf6d4a2fc..1ee77bab2 100644 --- a/Plausible.ClickhouseEventV2.html +++ b/Plausible.ClickhouseEventV2.html @@ -13,7 +13,7 @@ - + diff --git a/Plausible.ClickhouseRepo.html b/Plausible.ClickhouseRepo.html index f9ec95a9e..ba9f537fa 100644 --- a/Plausible.ClickhouseRepo.html +++ b/Plausible.ClickhouseRepo.html @@ -13,7 +13,7 @@ - + @@ -818,23 +818,23 @@ pool to disconnect within the given interval.See
- Similar to Example: Similar to Example:insert_all/2 but with the following differences:Repo.query!("create table ecto_ch_demo(a UInt64, b String) engine Null")
+insert_all/2 but with the following differences:
+{100_000, nil} = Repo.insert_stream("ecto_ch_demo", rows, types: [a: Ch.Types.u64(), b: :string])Repo.query!("create table ecto_ch_demo(a UInt64, b String) engine Null")
-defmodule Demo do
+defmodule Demo do
use Ecto.Schema
@primary_key false
- schema "ecto_ch_demo" do
+ schema "ecto_ch_demo" do
field :a, Ch, type: "UInt64"
field :b, :string
- end
-end
+ end
+end
-rows = Stream.map(1..100_000, fn i -> %{a: i, b: to_string(i)} end)
-{100_000, nil} = Repo.insert_stream(Demo, rows)
+rows = Stream.map(1..100_000, fn i -> %{a: i, b: to_string(i)} end)
+{100_000, nil} = Repo.insert_stream(Demo, rows)
# schemaless
-{100_000, nil} = Repo.insert_stream("ecto_ch_demo", rows, types: [a: Ch.Types.u64(), b: :string])
In the case of a DB-IP database:
iex> database_type()
-"DBIP-City-Lite"In the case of a MaxMind database:
iex> database_type()
+ In the case of a DB-IP database:
iex> database_type()
+"DBIP-City-Lite"
In the case of a MaxMind database:
iex> database_type()
"GeoLite2-City"
@@ -274,8 +274,8 @@ asynchronously.
Examples
- Loading from a local file:
iex> load_db(path: "/etc/plausible/dbip-city.mmdb")
-:ok
Downloading a MaxMind DB (this license key is no longer active):
iex> load_db(license_key: "LNpsJCCKPis6XvBP", edition: "GeoLite2-City", async: true)
+ Loading from a local file:
iex> load_db(path: "/etc/plausible/dbip-city.mmdb")
+:ok
Downloading a MaxMind DB (this license key is no longer active):
iex> load_db(license_key: "LNpsJCCKPis6XvBP", edition: "GeoLite2-City", async: true)
:ok
@@ -304,21 +304,21 @@ asynchronously.
Examples
-iex> lookup("8.7.6.5")
-%{
- "city" => %{
+iex> lookup("8.7.6.5")
+%{
+ "city" => %{
"geoname_id" => 5349755,
- "names" => %{
+ "names" => %{
"de" => "Fontana",
"en" => "Fontana",
"ja" => "フォンタナ",
"ru" => "Фонтана"
- }
- },
- "continent" => %{
+ }
+ },
+ "continent" => %{
"code" => "NA",
"geoname_id" => 6255149,
- "names" => %{
+ "names" => %{
"de" => "Nordamerika",
"en" => "North America",
"es" => "Norteamérica",
@@ -327,12 +327,12 @@ asynchronously."pt-BR" => "América do Norte",
"ru" => "Северная Америка",
"zh-CN" => "北美洲"
- }
- },
- "country" => %{
+ }
+ },
+ "country" => %{
"geoname_id" => 6252001,
"iso_code" => "US",
- "names" => %{
+ "names" => %{
"de" => "Vereinigte Staaten",
"en" => "United States",
"es" => "Estados Unidos",
@@ -341,20 +341,20 @@ asynchronously."pt-BR" => "EUA",
"ru" => "США",
"zh-CN" => "美国"
- }
- },
- "location" => %{
+ }
+ },
+ "location" => %{
"accuracy_radius" => 50,
"latitude" => 34.1211,
"longitude" => -117.4362,
"metro_code" => 803,
"time_zone" => "America/Los_Angeles"
- },
- "postal" => %{"code" => "92336"},
- "registered_country" => %{
+ },
+ "postal" => %{"code" => "92336"},
+ "registered_country" => %{
"geoname_id" => 6252001,
"iso_code" => "US",
- "names" => %{
+ "names" => %{
"de" => "Vereinigte Staaten",
"en" => "United States",
"es" => "Estados Unidos",
@@ -363,13 +363,13 @@ asynchronously."pt-BR" => "EUA",
"ru" => "США",
"zh-CN" => "美国"
- }
- },
- "subdivisions" => [
- %{
+ }
+ },
+ "subdivisions" => [
+ %{
"geoname_id" => 5332921,
"iso_code" => "CA",
- "names" => %{
+ "names" => %{
"de" => "Kalifornien",
"en" => "California",
"es" => "California",
@@ -378,10 +378,10 @@ asynchronously."pt-BR" => "Califórnia",
"ru" => "Калифорния",
"zh-CN" => "加州"
- }
- }
- ]
-}
+ }
+ }
+ ]
+}
diff --git a/Plausible.Goal.html b/Plausible.Goal.html
index 96bfc8334..19e84163c 100644
--- a/Plausible.Goal.html
+++ b/Plausible.Goal.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Goals.html b/Plausible.Goals.html
index 6fca3b079..82e29817a 100644
--- a/Plausible.Goals.html
+++ b/Plausible.Goals.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Google.Api.Mock.html b/Plausible.Google.Api.Mock.html
index 4533e6568..3a99bba27 100644
--- a/Plausible.Google.Api.Mock.html
+++ b/Plausible.Google.Api.Mock.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Google.Api.html b/Plausible.Google.Api.html
index bb557ee45..143a896be 100644
--- a/Plausible.Google.Api.html
+++ b/Plausible.Google.Api.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Google.Buffer.html b/Plausible.Google.Buffer.html
index 3f6113bcf..a91dbbd32 100644
--- a/Plausible.Google.Buffer.html
+++ b/Plausible.Google.Buffer.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Google.HTTP.html b/Plausible.Google.HTTP.html
index 17c318ef9..0f026301b 100644
--- a/Plausible.Google.HTTP.html
+++ b/Plausible.Google.HTTP.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Google.ReportRequest.html b/Plausible.Google.ReportRequest.html
index 24e75c1c2..988ffc5e0 100644
--- a/Plausible.Google.ReportRequest.html
+++ b/Plausible.Google.ReportRequest.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.HTTPClient.Interface.html b/Plausible.HTTPClient.Interface.html
index 221ff5390..c1388ecb2 100644
--- a/Plausible.HTTPClient.Interface.html
+++ b/Plausible.HTTPClient.Interface.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.HTTPClient.Non200Error.html b/Plausible.HTTPClient.Non200Error.html
index e19bc8351..1689c0aaa 100644
--- a/Plausible.HTTPClient.Non200Error.html
+++ b/Plausible.HTTPClient.Non200Error.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.HTTPClient.html b/Plausible.HTTPClient.html
index 82fc4f631..52b33deb1 100644
--- a/Plausible.HTTPClient.html
+++ b/Plausible.HTTPClient.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.ImportDeletionRepo.html b/Plausible.ImportDeletionRepo.html
index d149007f7..65252754c 100644
--- a/Plausible.ImportDeletionRepo.html
+++ b/Plausible.ImportDeletionRepo.html
@@ -13,7 +13,7 @@
-
+
@@ -1116,23 +1116,23 @@ pool to disconnect within the given interval.See
-Similar to insert_all/2 but with the following differences:
- accepts rows as streams or lists
- sends rows as a chunked request
- doesn't autogenerate ids or does any other preprocessing
Example:
Repo.query!("create table ecto_ch_demo(a UInt64, b String) engine Null")
+Similar to insert_all/2 but with the following differences:
- accepts rows as streams or lists
- sends rows as a chunked request
- doesn't autogenerate ids or does any other preprocessing
Example:
Repo.query!("create table ecto_ch_demo(a UInt64, b String) engine Null")
-defmodule Demo do
+defmodule Demo do
use Ecto.Schema
@primary_key false
- schema "ecto_ch_demo" do
+ schema "ecto_ch_demo" do
field :a, Ch, type: "UInt64"
field :b, :string
- end
-end
+ end
+end
-rows = Stream.map(1..100_000, fn i -> %{a: i, b: to_string(i)} end)
-{100_000, nil} = Repo.insert_stream(Demo, rows)
+rows = Stream.map(1..100_000, fn i -> %{a: i, b: to_string(i)} end)
+{100_000, nil} = Repo.insert_stream(Demo, rows)
# schemaless
-{100_000, nil} = Repo.insert_stream("ecto_ch_demo", rows, types: [a: Ch.Types.u64(), b: :string])
+{100_000, nil} = Repo.insert_stream("ecto_ch_demo", rows, types: [a: Ch.Types.u64(), b: :string])
diff --git a/Plausible.Imported.html b/Plausible.Imported.html
index 1d0601cea..f2a5ab8c1 100644
--- a/Plausible.Imported.html
+++ b/Plausible.Imported.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.IngestRepo.html b/Plausible.IngestRepo.html
index d81cabd15..a482eab09 100644
--- a/Plausible.IngestRepo.html
+++ b/Plausible.IngestRepo.html
@@ -13,7 +13,7 @@
-
+
@@ -1116,23 +1116,23 @@ pool to disconnect within the given interval.
See
-Similar to insert_all/2 but with the following differences:
- accepts rows as streams or lists
- sends rows as a chunked request
- doesn't autogenerate ids or does any other preprocessing
Example:
Repo.query!("create table ecto_ch_demo(a UInt64, b String) engine Null")
+Similar to insert_all/2 but with the following differences:
- accepts rows as streams or lists
- sends rows as a chunked request
- doesn't autogenerate ids or does any other preprocessing
Example:
Repo.query!("create table ecto_ch_demo(a UInt64, b String) engine Null")
-defmodule Demo do
+defmodule Demo do
use Ecto.Schema
@primary_key false
- schema "ecto_ch_demo" do
+ schema "ecto_ch_demo" do
field :a, Ch, type: "UInt64"
field :b, :string
- end
-end
+ end
+end
-rows = Stream.map(1..100_000, fn i -> %{a: i, b: to_string(i)} end)
-{100_000, nil} = Repo.insert_stream(Demo, rows)
+rows = Stream.map(1..100_000, fn i -> %{a: i, b: to_string(i)} end)
+{100_000, nil} = Repo.insert_stream(Demo, rows)
# schemaless
-{100_000, nil} = Repo.insert_stream("ecto_ch_demo", rows, types: [a: Ch.Types.u64(), b: :string])
+{100_000, nil} = Repo.insert_stream("ecto_ch_demo", rows, types: [a: Ch.Types.u64(), b: :string])
diff --git a/Plausible.Ingestion.Counters.Buffer.html b/Plausible.Ingestion.Counters.Buffer.html
index e786b9b5b..1fee1fb11 100644
--- a/Plausible.Ingestion.Counters.Buffer.html
+++ b/Plausible.Ingestion.Counters.Buffer.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Ingestion.Counters.Record.html b/Plausible.Ingestion.Counters.Record.html
index 50539f2be..22d88eef4 100644
--- a/Plausible.Ingestion.Counters.Record.html
+++ b/Plausible.Ingestion.Counters.Record.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Ingestion.Counters.TelemetryHandler.html b/Plausible.Ingestion.Counters.TelemetryHandler.html
index 1bcda6b38..8c9b5ffa2 100644
--- a/Plausible.Ingestion.Counters.TelemetryHandler.html
+++ b/Plausible.Ingestion.Counters.TelemetryHandler.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Ingestion.Counters.html b/Plausible.Ingestion.Counters.html
index 433218a1e..8e9506d69 100644
--- a/Plausible.Ingestion.Counters.html
+++ b/Plausible.Ingestion.Counters.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Ingestion.Event.html b/Plausible.Ingestion.Event.html
index 9a47def13..d0e5fb68f 100644
--- a/Plausible.Ingestion.Event.html
+++ b/Plausible.Ingestion.Event.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Ingestion.Request.html b/Plausible.Ingestion.Request.html
index 56ff0fe83..ac333e303 100644
--- a/Plausible.Ingestion.Request.html
+++ b/Plausible.Ingestion.Request.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Mailer.html b/Plausible.Mailer.html
index 4743d5573..3813fcdbd 100644
--- a/Plausible.Mailer.html
+++ b/Plausible.Mailer.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.OpenTelemetry.Sampler.html b/Plausible.OpenTelemetry.Sampler.html
index 31a52ce67..ff84059dd 100644
--- a/Plausible.OpenTelemetry.Sampler.html
+++ b/Plausible.OpenTelemetry.Sampler.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.PaddleApi.Mock.html b/Plausible.PaddleApi.Mock.html
index 5151357ec..651d46a97 100644
--- a/Plausible.PaddleApi.Mock.html
+++ b/Plausible.PaddleApi.Mock.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.PromEx.Plugins.PlausibleMetrics.html b/Plausible.PromEx.Plugins.PlausibleMetrics.html
index 5bff2b853..a7ab9783c 100644
--- a/Plausible.PromEx.Plugins.PlausibleMetrics.html
+++ b/Plausible.PromEx.Plugins.PlausibleMetrics.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.PromEx.html b/Plausible.PromEx.html
index f5ddcf987..e134d4f77 100644
--- a/Plausible.PromEx.html
+++ b/Plausible.PromEx.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Purge.html b/Plausible.Purge.html
index 2035bd365..7b56db387 100644
--- a/Plausible.Purge.html
+++ b/Plausible.Purge.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Release.html b/Plausible.Release.html
index 24da7217c..e231cf33a 100644
--- a/Plausible.Release.html
+++ b/Plausible.Release.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Repo.html b/Plausible.Repo.html
index d3e574b2f..5dd1409ff 100644
--- a/Plausible.Repo.html
+++ b/Plausible.Repo.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Sentry.Client.html b/Plausible.Sentry.Client.html
index 1602462cc..e0e9aabcf 100644
--- a/Plausible.Sentry.Client.html
+++ b/Plausible.Sentry.Client.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.SentryFilter.html b/Plausible.SentryFilter.html
index 412d1364c..9e4e60801 100644
--- a/Plausible.SentryFilter.html
+++ b/Plausible.SentryFilter.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Session.CacheStore.html b/Plausible.Session.CacheStore.html
index a1fdec921..e9590ac53 100644
--- a/Plausible.Session.CacheStore.html
+++ b/Plausible.Session.CacheStore.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Session.Salts.html b/Plausible.Session.Salts.html
index 6906b8de1..16b0fe904 100644
--- a/Plausible.Session.Salts.html
+++ b/Plausible.Session.Salts.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Session.WriteBuffer.html b/Plausible.Session.WriteBuffer.html
index 97c4908e2..8ffd89a3d 100644
--- a/Plausible.Session.WriteBuffer.html
+++ b/Plausible.Session.WriteBuffer.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Site.Cache.Warmer.All.html b/Plausible.Site.Cache.Warmer.All.html
index 1d6fabb0e..af35c3d1c 100644
--- a/Plausible.Site.Cache.Warmer.All.html
+++ b/Plausible.Site.Cache.Warmer.All.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Site.Cache.Warmer.RecentlyUpdated.html b/Plausible.Site.Cache.Warmer.RecentlyUpdated.html
index aa7a86644..0708e4de6 100644
--- a/Plausible.Site.Cache.Warmer.RecentlyUpdated.html
+++ b/Plausible.Site.Cache.Warmer.RecentlyUpdated.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Site.Cache.Warmer.html b/Plausible.Site.Cache.Warmer.html
index 6178d8850..ce7242b2d 100644
--- a/Plausible.Site.Cache.Warmer.html
+++ b/Plausible.Site.Cache.Warmer.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Site.Cache.html b/Plausible.Site.Cache.html
index fcb205149..c35a07359 100644
--- a/Plausible.Site.Cache.html
+++ b/Plausible.Site.Cache.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Site.CustomDomain.html b/Plausible.Site.CustomDomain.html
index 625aad1a5..b647a4d4b 100644
--- a/Plausible.Site.CustomDomain.html
+++ b/Plausible.Site.CustomDomain.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Site.Domain.html b/Plausible.Site.Domain.html
index 69de9732c..b520b0b7b 100644
--- a/Plausible.Site.Domain.html
+++ b/Plausible.Site.Domain.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Site.GateKeeper.html b/Plausible.Site.GateKeeper.html
index 743e0f660..394a99fac 100644
--- a/Plausible.Site.GateKeeper.html
+++ b/Plausible.Site.GateKeeper.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Site.GoogleAuth.html b/Plausible.Site.GoogleAuth.html
index f6908ce26..7a7f626c6 100644
--- a/Plausible.Site.GoogleAuth.html
+++ b/Plausible.Site.GoogleAuth.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Site.ImportedData.html b/Plausible.Site.ImportedData.html
index c6fee8665..b0cfa55bd 100644
--- a/Plausible.Site.ImportedData.html
+++ b/Plausible.Site.ImportedData.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Site.Membership.html b/Plausible.Site.Membership.html
index 3c6c60162..77daff842 100644
--- a/Plausible.Site.Membership.html
+++ b/Plausible.Site.Membership.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Site.MonthlyReport.html b/Plausible.Site.MonthlyReport.html
index 6e409e8b9..811b55172 100644
--- a/Plausible.Site.MonthlyReport.html
+++ b/Plausible.Site.MonthlyReport.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Site.Removal.html b/Plausible.Site.Removal.html
index 4edbfe01d..9d9c9b079 100644
--- a/Plausible.Site.Removal.html
+++ b/Plausible.Site.Removal.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Site.SharedLink.html b/Plausible.Site.SharedLink.html
index 0e7740886..d9006b104 100644
--- a/Plausible.Site.SharedLink.html
+++ b/Plausible.Site.SharedLink.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Site.SpikeNotification.html b/Plausible.Site.SpikeNotification.html
index d88c1a8ef..803984f16 100644
--- a/Plausible.Site.SpikeNotification.html
+++ b/Plausible.Site.SpikeNotification.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Site.WeeklyReport.html b/Plausible.Site.WeeklyReport.html
index f48c94adb..b51e188cd 100644
--- a/Plausible.Site.WeeklyReport.html
+++ b/Plausible.Site.WeeklyReport.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Site.html b/Plausible.Site.html
index c5f20cae4..4b57eaae6 100644
--- a/Plausible.Site.html
+++ b/Plausible.Site.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.SiteAdmin.html b/Plausible.SiteAdmin.html
index 43e5ce576..d8842e293 100644
--- a/Plausible.SiteAdmin.html
+++ b/Plausible.SiteAdmin.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Sites.html b/Plausible.Sites.html
index b4b5e8299..20130c45d 100644
--- a/Plausible.Sites.html
+++ b/Plausible.Sites.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Stats.Aggregate.html b/Plausible.Stats.Aggregate.html
index 46a5bf8b7..0bb6a8df9 100644
--- a/Plausible.Stats.Aggregate.html
+++ b/Plausible.Stats.Aggregate.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Stats.Base.html b/Plausible.Stats.Base.html
index c5b857961..df3a65cb7 100644
--- a/Plausible.Stats.Base.html
+++ b/Plausible.Stats.Base.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Stats.Breakdown.html b/Plausible.Stats.Breakdown.html
index 310572f4d..b7597dc4e 100644
--- a/Plausible.Stats.Breakdown.html
+++ b/Plausible.Stats.Breakdown.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Stats.Clickhouse.html b/Plausible.Stats.Clickhouse.html
index c5782013b..534a7917d 100644
--- a/Plausible.Stats.Clickhouse.html
+++ b/Plausible.Stats.Clickhouse.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Stats.Compare.html b/Plausible.Stats.Compare.html
index e745ee702..21c9df3d3 100644
--- a/Plausible.Stats.Compare.html
+++ b/Plausible.Stats.Compare.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Stats.Comparisons.html b/Plausible.Stats.Comparisons.html
index 147bedfcd..e8d4f6d44 100644
--- a/Plausible.Stats.Comparisons.html
+++ b/Plausible.Stats.Comparisons.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Stats.CurrentVisitors.html b/Plausible.Stats.CurrentVisitors.html
index 2933cf6c3..1b91e1f9b 100644
--- a/Plausible.Stats.CurrentVisitors.html
+++ b/Plausible.Stats.CurrentVisitors.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Stats.CustomProps.html b/Plausible.Stats.CustomProps.html
index 0e309d9a1..6f81e17cd 100644
--- a/Plausible.Stats.CustomProps.html
+++ b/Plausible.Stats.CustomProps.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Stats.FilterParser.html b/Plausible.Stats.FilterParser.html
index 817a18214..ed448ced1 100644
--- a/Plausible.Stats.FilterParser.html
+++ b/Plausible.Stats.FilterParser.html
@@ -13,7 +13,7 @@
-
+
@@ -180,14 +180,14 @@ Functions
Examples:
-
iex> FilterParser.parse_filters("{\"page\":\"/blog/**\"}")
-%{"page" => "/blog/**"}
+iex> FilterParser.parse_filters("{\"page\":\"/blog/**\"}")
+%{"page" => "/blog/**"}
-iex> FilterParser.parse_filters("visit:browser!=Chrome")
-%{"visit:browser" => {:is_not, "Chrome"}}
+iex> FilterParser.parse_filters("visit:browser!=Chrome")
+%{"visit:browser" => {:is_not, "Chrome"}}
-iex> FilterParser.parse_filters(nil)
-%{}
+iex> FilterParser.parse_filters(nil)
+%{}
diff --git a/Plausible.Stats.FilterSuggestions.html b/Plausible.Stats.FilterSuggestions.html
index 41cba9809..1f999cb43 100644
--- a/Plausible.Stats.FilterSuggestions.html
+++ b/Plausible.Stats.FilterSuggestions.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Stats.Filters.html b/Plausible.Stats.Filters.html
index f1e31767c..de3d1eb93 100644
--- a/Plausible.Stats.Filters.html
+++ b/Plausible.Stats.Filters.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Stats.Fragments.html b/Plausible.Stats.Fragments.html
index 8ff6b3265..e6d05eea9 100644
--- a/Plausible.Stats.Fragments.html
+++ b/Plausible.Stats.Fragments.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Stats.Funnel.html b/Plausible.Stats.Funnel.html
index 5fc5d1a5b..4ea4e9bc0 100644
--- a/Plausible.Stats.Funnel.html
+++ b/Plausible.Stats.Funnel.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Stats.Imported.html b/Plausible.Stats.Imported.html
index 9d7c0c420..569b37b20 100644
--- a/Plausible.Stats.Imported.html
+++ b/Plausible.Stats.Imported.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Stats.Interval.html b/Plausible.Stats.Interval.html
index b3c9f0459..6b014a782 100644
--- a/Plausible.Stats.Interval.html
+++ b/Plausible.Stats.Interval.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Stats.Props.html b/Plausible.Stats.Props.html
index 3956cf430..eef443177 100644
--- a/Plausible.Stats.Props.html
+++ b/Plausible.Stats.Props.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Stats.Query.html b/Plausible.Stats.Query.html
index 4fdb88f68..097957420 100644
--- a/Plausible.Stats.Query.html
+++ b/Plausible.Stats.Query.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Stats.Timeseries.html b/Plausible.Stats.Timeseries.html
index b68cebbde..32b492506 100644
--- a/Plausible.Stats.Timeseries.html
+++ b/Plausible.Stats.Timeseries.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Stats.Util.html b/Plausible.Stats.Util.html
index 61eb676f6..9c37a75a8 100644
--- a/Plausible.Stats.Util.html
+++ b/Plausible.Stats.Util.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Stats.html b/Plausible.Stats.html
index 0dad805e6..78ca7ebc8 100644
--- a/Plausible.Stats.html
+++ b/Plausible.Stats.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Test.Support.HTML.html b/Plausible.Test.Support.HTML.html
index 7fba80288..5baf6cabd 100644
--- a/Plausible.Test.Support.HTML.html
+++ b/Plausible.Test.Support.HTML.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.TestUtils.html b/Plausible.TestUtils.html
index daeb55e74..7f8b3a1f6 100644
--- a/Plausible.TestUtils.html
+++ b/Plausible.TestUtils.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Themes.html b/Plausible.Themes.html
index 1a019ac30..fa92ad531 100644
--- a/Plausible.Themes.html
+++ b/Plausible.Themes.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Timezones.html b/Plausible.Timezones.html
index 5c86885d2..b8c8d40d5 100644
--- a/Plausible.Timezones.html
+++ b/Plausible.Timezones.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Workers.CheckUsage.html b/Plausible.Workers.CheckUsage.html
index e6d176fe6..1cf4a7e10 100644
--- a/Plausible.Workers.CheckUsage.html
+++ b/Plausible.Workers.CheckUsage.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Workers.CleanEmailVerificationCodes.html b/Plausible.Workers.CleanEmailVerificationCodes.html
index b6137042e..91295be87 100644
--- a/Plausible.Workers.CleanEmailVerificationCodes.html
+++ b/Plausible.Workers.CleanEmailVerificationCodes.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Workers.CleanInvitations.html b/Plausible.Workers.CleanInvitations.html
index d0ead0ab8..198dda9b3 100644
--- a/Plausible.Workers.CleanInvitations.html
+++ b/Plausible.Workers.CleanInvitations.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Workers.ExpireDomainChangeTransitions.html b/Plausible.Workers.ExpireDomainChangeTransitions.html
index 71ebdadb4..7f8fdc102 100644
--- a/Plausible.Workers.ExpireDomainChangeTransitions.html
+++ b/Plausible.Workers.ExpireDomainChangeTransitions.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Workers.ImportGoogleAnalytics.html b/Plausible.Workers.ImportGoogleAnalytics.html
index 3078583ef..c4584b8c0 100644
--- a/Plausible.Workers.ImportGoogleAnalytics.html
+++ b/Plausible.Workers.ImportGoogleAnalytics.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Workers.LockSites.html b/Plausible.Workers.LockSites.html
index a7becabf6..fd0c7f6eb 100644
--- a/Plausible.Workers.LockSites.html
+++ b/Plausible.Workers.LockSites.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Workers.NotifyAnnualRenewal.html b/Plausible.Workers.NotifyAnnualRenewal.html
index dd3dceb39..4d17ec8d4 100644
--- a/Plausible.Workers.NotifyAnnualRenewal.html
+++ b/Plausible.Workers.NotifyAnnualRenewal.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Workers.RotateSalts.html b/Plausible.Workers.RotateSalts.html
index 40e4753a9..2f1727f07 100644
--- a/Plausible.Workers.RotateSalts.html
+++ b/Plausible.Workers.RotateSalts.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Workers.ScheduleEmailReports.html b/Plausible.Workers.ScheduleEmailReports.html
index f7d233db1..71f229885 100644
--- a/Plausible.Workers.ScheduleEmailReports.html
+++ b/Plausible.Workers.ScheduleEmailReports.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Workers.SendCheckStatsEmails.html b/Plausible.Workers.SendCheckStatsEmails.html
index 2918908c1..36dd00084 100644
--- a/Plausible.Workers.SendCheckStatsEmails.html
+++ b/Plausible.Workers.SendCheckStatsEmails.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Workers.SendEmailReport.html b/Plausible.Workers.SendEmailReport.html
index 98d6aa191..01096d393 100644
--- a/Plausible.Workers.SendEmailReport.html
+++ b/Plausible.Workers.SendEmailReport.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Workers.SendSiteSetupEmails.html b/Plausible.Workers.SendSiteSetupEmails.html
index 18ff83d2f..51675e57b 100644
--- a/Plausible.Workers.SendSiteSetupEmails.html
+++ b/Plausible.Workers.SendSiteSetupEmails.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Workers.SendTrialNotifications.html b/Plausible.Workers.SendTrialNotifications.html
index 4a5130462..cc4fb1285 100644
--- a/Plausible.Workers.SendTrialNotifications.html
+++ b/Plausible.Workers.SendTrialNotifications.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Workers.SpikeNotifier.html b/Plausible.Workers.SpikeNotifier.html
index e4e59e83e..152ebdb3d 100644
--- a/Plausible.Workers.SpikeNotifier.html
+++ b/Plausible.Workers.SpikeNotifier.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.epub b/Plausible.epub
index ccda9b0f0053b6d36a7d011f2a944603e9542a36..1c272abba598526cb2908b2fbea7ba23294529f6 100644
GIT binary patch
delta 126721
zcmYIvbyQr>D=PyF0YFySuv-hvIIUuz~VM
z8>p;M-zX_NF;vgb5s8S%rF^f$k6>jRKPvDZ?7YcO7;^T=l)GGc3Gk2(|Eex#Q<{;H
zJ9Vn)Zj;WpUSeV6Sj6%gkO3ko_@9MdHmb#>47C@3!nWB_z8HZp{
zcFa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