From f6f31fa4839bb0b04e9b4de5aa82a2614466a534 Mon Sep 17 00:00:00 2001 From: tikiatua Date: Tue, 9 Jan 2018 17:34:57 +0100 Subject: [PATCH] adapt test --- test/index.html | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/test/index.html b/test/index.html index e005b14..751d418 100644 --- a/test/index.html +++ b/test/index.html @@ -107,7 +107,7 @@

Render list with translations and options

Second item of list {{$t('listing')}} -

Render translation with pluralization

+

Render translation with pluralization (specified with :::)

Number of Blocks:

@@ -115,6 +115,14 @@

Render translation with pluralization

+

Render translation with pluralization (specified as array)

+
+ Number of Blocks: +

+ {{ $t('plural_from_array', {count: count}, count) }} +

+
+

Use default values and identifier keys

Show the specified default value if the key does not exist in the current and the fallback locale:
@@ -253,6 +261,7 @@

Load missing translations asynchronously

'option2': 'test2' }, 'plural': 'We have one block ::: We have {count} blocks ::: We have no blocks', + 'plural_from_array': ['We have one block', 'We have {count} blocks', 'We have no blocks'], 'pluralization_singular': 'We have one block', 'pluralization_plural': 'We have {count} blocks', 'pluralization_none': 'We have no blocks'