mirror of
https://github.com/nextcloud/documentation.git
synced 2025-10-26 11:18:02 +00:00
Merge pull request #4441 from nextcloud/backport/4438/stable19
[stable19] Add example of n function
This commit is contained in:
commit
bb88a18aec
@ -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