mirror of
https://github.com/nextcloud/documentation.git
synced 2025-10-26 11:18:02 +00:00
Add example of n function
This commit is contained in:
parent
c867bf4423
commit
65ca339f34
@ -120,6 +120,7 @@ There are global functions **t()** and **n()** available for translating strings
|
||||
|
||||
t('myapp', 'Hello World!');
|
||||
t('myapp', '{name} is available. Get {linkstart}more information{linkend}}', {name: 'Nextcloud 16', linkstart: '<a href="...">', linkend: '</a>'});
|
||||
n('myapp', 'Import %n calendar into {collection}', 'Import %n calendars into {collection}', selectionLength, {collection: 'Nextcloud'});
|
||||
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user