Merge pull request #19313 from nextcloud/rakekniven-patch-1
l10n: Added plural form to string
This commit is contained in:
commit
b6a9cf21a3
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.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue