l10n: Added plural form to string

Fix for #19304

Devs: Please verify. Changed are untested due to missing build environment.

Reported at Transifex.

Signed-off-by: rakekniven <mark.ziegler@rakekniven.de>
Signed-off-by: Gary Kim <gary@garykim.dev>
This commit is contained in:
rakekniven 2020-02-06 09:50:02 +01:00 committed by Gary Kim
parent 982df168c7
commit 18c67aaeae
No known key found for this signature in database
GPG key ID: 9349B59FB54594AC
22 changed files with 2 additions and 1 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -25,7 +25,7 @@
<div id="apps-list" class="apps-list" :class="{installed: (useBundleView || useListView), store: useAppStoreView}">
<template v-if="useListView">
<div v-if="showUpdateAll" class="counter">
{{ t('settings', '{counter} apps have an update available', {counter}) }}
{{ n('settings', '%n app has an update available', '%n apps have an update available', counter) }}
<button v-if="showUpdateAll"
id="app-list-update-all"
class="primary"

View file

@ -44,6 +44,7 @@ __webpack_public_path__ = OC.linkTo('settings', 'js/')
// bind to window
Vue.prototype.t = t
Vue.prototype.n = n
Vue.prototype.OC = OC
Vue.prototype.OCA = OCA
// eslint-disable-next-line camelcase