Merge pull request #5888 from nextcloud/backport/5885/stable20

[stable20] Fixed a typo in l10n docs
This commit is contained in:
Morris Jobke 2021-01-06 14:28:23 +01:00 committed by GitHub
commit 72becb8ac1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -119,7 +119,7 @@ There are global functions **t()** and **n()** available for translating strings
.. code-block:: js
t('myapp', 'Hello World!');
t('myapp', '{name} is available. Get {linkstart}more information{linkend}}', {name: 'Nextcloud 16', linkstart: '<a href="...">', linkend: '</a>'});
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'});