summaryrefslogtreecommitdiffstats
path: root/apps/settings/src
diff options
context:
space:
mode:
authorrakekniven <mark.ziegler@rakekniven.de>2020-02-06 09:50:02 +0100
committerGary Kim <gary@garykim.dev>2020-02-24 19:35:59 +0800
commit18c67aaeae0e774a540173210faa7408db006faf (patch)
tree71714f018f50f4407a7435b05c2308ccd092db73 /apps/settings/src
parent982df168c73ccfef1a33ae5b6ed0496513c82256 (diff)
downloadnextcloud-server-18c67aaeae0e774a540173210faa7408db006faf.tar.gz
nextcloud-server-18c67aaeae0e774a540173210faa7408db006faf.zip
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>
Diffstat (limited to 'apps/settings/src')
-rw-r--r--apps/settings/src/components/AppList.vue2
-rw-r--r--apps/settings/src/main-apps-users-management.js1
2 files changed, 2 insertions, 1 deletions
diff --git a/apps/settings/src/components/AppList.vue b/apps/settings/src/components/AppList.vue
index ec57d4b75aa..5aa68c29bc6 100644
--- a/apps/settings/src/components/AppList.vue
+++ b/apps/settings/src/components/AppList.vue
@@ -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"
diff --git a/apps/settings/src/main-apps-users-management.js b/apps/settings/src/main-apps-users-management.js
index 0847ed87062..52f48691427 100644
--- a/apps/settings/src/main-apps-users-management.js
+++ b/apps/settings/src/main-apps-users-management.js
@@ -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