From bba1cf59bd0915c78df4efb71a065a11b8f20c50 Mon Sep 17 00:00:00 2001 From: Eemeli Aro Date: Mon, 27 Oct 2025 19:27:32 +0200 Subject: [PATCH 1/2] Finalize :currency --- spec/functions/number.md | 4 ---- test/README.md | 13 +++++++------ test/schemas/v0/tests.schema.json | 1 + test/tests/functions/currency.json | 3 ++- 4 files changed, 10 insertions(+), 11 deletions(-) diff --git a/spec/functions/number.md b/spec/functions/number.md index a224738727..be98422a11 100644 --- a/spec/functions/number.md +++ b/spec/functions/number.md @@ -238,10 +238,6 @@ The _function_ `:offset` performs selection as described in [Number Selection](# #### The `:currency` function -> [!IMPORTANT] -> The _function_ `:currency` has a status of **Draft**. -> It is proposed for inclusion in a future release of this specification and is not Stable. - The _function_ `:currency` is a _formatter_ for currency values, which are a specialized form of numeric formatting. diff --git a/test/README.md b/test/README.md index 352795f964..766d200e2a 100644 --- a/test/README.md +++ b/test/README.md @@ -73,12 +73,13 @@ Tests for such features have a `tags` array attached to them to mark the features that they rely on. This may include one or more of the following: -| Tag | Feature | -| ---------- | ------------------------------------------------------------------------- | -| `:percent` | The [:percent](../spec/functions/number.md#the-percent-function) function | -| `u:dir` | The [u:dir](../spec/u-namespace.md#udir) option | -| `u:id` | The [u:id](../spec/u-namespace.md#uid) option | -| `u:locale` | The [u:locale](../spec/u-namespace.md#ulocale) option | +| Tag | Feature | +| ----------- | --------------------------------------------------------------------------- | +| `:currency` | The [:currency](../spec/functions/number.md#the-currency-function) function | +| `:percent` | The [:percent](../spec/functions/number.md#the-percent-function) function | +| `u:dir` | The [u:dir](../spec/u-namespace.md#udir) option | +| `u:id` | The [u:id](../spec/u-namespace.md#uid) option | +| `u:locale` | The [u:locale](../spec/u-namespace.md#ulocale) option | ## Test Functions diff --git a/test/schemas/v0/tests.schema.json b/test/schemas/v0/tests.schema.json index 11a0d8ca2f..0417548310 100644 --- a/test/schemas/v0/tests.schema.json +++ b/test/schemas/v0/tests.schema.json @@ -204,6 +204,7 @@ "type": "array", "items": { "enum": [ + ":currency", ":percent", "u:dir", "u:id", diff --git a/test/tests/functions/currency.json b/test/tests/functions/currency.json index 593ec54863..9a440d3e24 100644 --- a/test/tests/functions/currency.json +++ b/test/tests/functions/currency.json @@ -1,8 +1,9 @@ { "$schema": "../../schemas/v0/tests.schema.json", "scenario": "Currency function", - "description": "The built-in formatter and selector for currencies.", + "description": "The built-in formatter for currencies.", "defaultTestProperties": { + "tags": [":currency"], "bidiIsolation": "none", "locale": "en-US", "expErrors": [] From d1f9c7e2b0a7df2495322072c195d0ece3ea3dd6 Mon Sep 17 00:00:00 2001 From: Eemeli Aro Date: Mon, 27 Oct 2025 20:20:31 +0200 Subject: [PATCH 2/2] Fix pluralization Co-authored-by: Addison Phillips --- spec/functions/number.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/functions/number.md b/spec/functions/number.md index be98422a11..610416c8f5 100644 --- a/spec/functions/number.md +++ b/spec/functions/number.md @@ -239,7 +239,7 @@ The _function_ `:offset` performs selection as described in [Number Selection](# #### The `:currency` function The _function_ `:currency` is a _formatter_ for currency values, -which are a specialized form of numeric formatting. +which is a specialized form of numeric formatting. ##### `:currency` Operands