diff options
Diffstat (limited to 'apps/settings')
-rw-r--r-- | apps/settings/src/components/AdminAI.vue | 6 | ||||
-rw-r--r-- | apps/settings/src/components/AdminDelegating.vue | 2 | ||||
-rw-r--r-- | apps/settings/src/components/AdminTwoFactor.vue | 2 | ||||
-rw-r--r-- | apps/settings/src/components/BasicSettings/BackgroundJob.vue | 2 | ||||
-rw-r--r-- | apps/settings/src/components/Encryption.vue | 2 | ||||
-rw-r--r-- | apps/settings/src/components/GroupListItem.vue | 8 | ||||
-rw-r--r-- | apps/settings/src/components/PasswordSection.vue | 2 | ||||
-rw-r--r-- | apps/settings/src/components/UserList.vue | 4 | ||||
-rw-r--r-- | apps/settings/src/components/Users/UserRow.vue | 2 | ||||
-rw-r--r-- | apps/settings/src/components/Users/UserSettingsDialog.vue | 8 | ||||
-rw-r--r-- | apps/settings/src/views/Apps.vue | 23 | ||||
-rw-r--r-- | apps/settings/src/views/Users.vue | 14 |
12 files changed, 37 insertions, 38 deletions
diff --git a/apps/settings/src/components/AdminAI.vue b/apps/settings/src/components/AdminAI.vue index 174c9000a9e..51f5a301d89 100644 --- a/apps/settings/src/components/AdminAI.vue +++ b/apps/settings/src/components/AdminAI.vue @@ -1,6 +1,6 @@ <template> <div> - <NcSettingsSection :title="t('settings', 'Machine translation')" + <NcSettingsSection :name="t('settings', 'Machine translation')" :description="t('settings', 'Machine translation can be implemented by different apps. Here you can define the precedence of the machine translation apps you have installed at the moment.')"> <draggable v-model="settings['ai.translation_provider_preferences']" @change="saveChanges"> <div v-for="(providerClass, i) in settings['ai.translation_provider_preferences']" :key="providerClass" class="draggable__item"> @@ -18,7 +18,7 @@ </div> </draggable> </NcSettingsSection> - <NcSettingsSection :title="t('settings', 'Speech-To-Text')" + <NcSettingsSection :name="t('settings', 'Speech-To-Text')" :description="t('settings', 'Speech-To-Text can be implemented by different apps. Here you can set which app should be used.')"> <template v-for="provider in sttProviders"> <NcCheckboxRadioSwitch :key="provider.class" @@ -36,7 +36,7 @@ </NcCheckboxRadioSwitch> </template> </NcSettingsSection> - <NcSettingsSection :title="t('settings', 'Text processing')" + <NcSettingsSection :name="t('settings', 'Text processing')" :description="t('settings', 'Text processing tasks can be implemented by different apps. Here you can set which app should be used for which task.')"> <template v-for="type in Object.keys(settings['ai.textprocessing_provider_preferences'])"> <div :key="type"> diff --git a/apps/settings/src/components/AdminDelegating.vue b/apps/settings/src/components/AdminDelegating.vue index f3defc88207..c614b2bd2f4 100644 --- a/apps/settings/src/components/AdminDelegating.vue +++ b/apps/settings/src/components/AdminDelegating.vue @@ -1,5 +1,5 @@ <template> - <NcSettingsSection :title="t('settings', 'Administration privileges')" + <NcSettingsSection :name="t('settings', 'Administration privileges')" :description="t('settings', 'Here you can decide which group can access certain sections of the administration settings.')" :doc-url="authorizedSettingsDocLink"> <div class="setting-list"> diff --git a/apps/settings/src/components/AdminTwoFactor.vue b/apps/settings/src/components/AdminTwoFactor.vue index d45e7f7f6ff..aba6dc7537f 100644 --- a/apps/settings/src/components/AdminTwoFactor.vue +++ b/apps/settings/src/components/AdminTwoFactor.vue @@ -1,5 +1,5 @@ <template> - <NcSettingsSection :title="t('settings', 'Two-Factor Authentication')" + <NcSettingsSection :name="t('settings', 'Two-Factor Authentication')" :description="t('settings', 'Two-factor authentication can be enforced for all users and specific groups. If they do not have a two-factor provider configured, they will be unable to log into the system.')" :doc-url="twoFactorAdminDoc"> <p v-if="loading"> diff --git a/apps/settings/src/components/BasicSettings/BackgroundJob.vue b/apps/settings/src/components/BasicSettings/BackgroundJob.vue index 26ec73bd7ca..04ef607e03b 100644 --- a/apps/settings/src/components/BasicSettings/BackgroundJob.vue +++ b/apps/settings/src/components/BasicSettings/BackgroundJob.vue @@ -21,7 +21,7 @@ --> <template> - <NcSettingsSection :title="t('settings', 'Background jobs')" + <NcSettingsSection :name="t('settings', 'Background jobs')" :description="t('settings', 'For the server to work properly, it\'s important to configure background jobs correctly. Cron is the recommended setting. Please see the documentation for more information.')" :doc-url="backgroundJobsDocUrl"> <template v-if="lastCron !== 0"> diff --git a/apps/settings/src/components/Encryption.vue b/apps/settings/src/components/Encryption.vue index db7a7907761..b6a37b41c8b 100644 --- a/apps/settings/src/components/Encryption.vue +++ b/apps/settings/src/components/Encryption.vue @@ -21,7 +21,7 @@ --> <template> - <NcSettingsSection :title="t('settings', 'Server-side encryption')" + <NcSettingsSection :name="t('settings', 'Server-side encryption')" :description="t('settings', 'Server-side encryption makes it possible to encrypt files which are uploaded to this server. This comes with limitations like a performance penalty, so enable this only if needed.')" :doc-url="encryptionAdminDoc"> <NcCheckboxRadioSwitch :checked="encryptionEnabled || shouldDisplayWarning" diff --git a/apps/settings/src/components/GroupListItem.vue b/apps/settings/src/components/GroupListItem.vue index ee892730b1a..23333583000 100644 --- a/apps/settings/src/components/GroupListItem.vue +++ b/apps/settings/src/components/GroupListItem.vue @@ -23,7 +23,7 @@ <template> <NcAppNavigationItem :key="id" :exact="true" - :title="title" + :name="name" :to="{ name: 'group', params: { selectedGroup: encodeURIComponent(id) } }" icon="icon-group" :loading="loadingRenameGroup" @@ -40,7 +40,7 @@ ref="displayNameInput" icon="icon-edit" type="text" - :value="title" + :value="name" @submit="renameGroup(id)"> {{ t('settings', 'Rename group') }} </NcActionInput> @@ -90,9 +90,9 @@ export default { required: true, }, /** - * Title of this group + * Name of this group */ - title: { + name: { type: String, required: true, }, diff --git a/apps/settings/src/components/PasswordSection.vue b/apps/settings/src/components/PasswordSection.vue index b68de0365e0..201fdc2e3cb 100644 --- a/apps/settings/src/components/PasswordSection.vue +++ b/apps/settings/src/components/PasswordSection.vue @@ -17,7 +17,7 @@ - along with this program. If not, see <http://www.gnu.org/licenses/>. --> <template> - <NcSettingsSection :title="t('settings', 'Password')"> + <NcSettingsSection :name="t('settings', 'Password')"> <form id="passwordform" method="POST" @submit.prevent="changePassword"> <NcPasswordField id="old-pass" :label="t('settings', 'Current password')" diff --git a/apps/settings/src/components/UserList.vue b/apps/settings/src/components/UserList.vue index 9fcf4d4e526..b208a95d0c5 100644 --- a/apps/settings/src/components/UserList.vue +++ b/apps/settings/src/components/UserList.vue @@ -31,10 +31,10 @@ <NcEmptyContent v-if="filteredUsers.length === 0" class="empty" - :title="isInitialLoad && loading.users ? null : t('settings', 'No users')"> + :name="isInitialLoad && loading.users ? null : t('settings', 'No users')"> <template #icon> <NcLoadingIcon v-if="isInitialLoad && loading.users" - :title="t('settings', 'Loading users …')" + :name="t('settings', 'Loading users …')" :size="64" /> <NcIconSvgWrapper v-else :svg="usersSvg" /> diff --git a/apps/settings/src/components/Users/UserRow.vue b/apps/settings/src/components/Users/UserRow.vue index b230e9a9bf8..aee7c506052 100644 --- a/apps/settings/src/components/Users/UserRow.vue +++ b/apps/settings/src/components/Users/UserRow.vue @@ -27,7 +27,7 @@ <Fragment> <td class="row__cell row__cell--avatar"> <NcLoadingIcon v-if="isLoadingUser" - :title="t('settings', 'Loading user …')" + :name="t('settings', 'Loading user …')" :size="32" /> <NcAvatar v-else :key="user.id" diff --git a/apps/settings/src/components/Users/UserSettingsDialog.vue b/apps/settings/src/components/Users/UserSettingsDialog.vue index 818f5bd9c7f..79f7d72c5d5 100644 --- a/apps/settings/src/components/Users/UserSettingsDialog.vue +++ b/apps/settings/src/components/Users/UserSettingsDialog.vue @@ -23,9 +23,9 @@ <template> <NcAppSettingsDialog :open.sync="isModalOpen" :show-navigation="true" - :title="t('settings', 'User management settings')"> + :name="t('settings', 'User management settings')"> <NcAppSettingsSection id="visibility-settings" - :title="t('settings', 'Visibility')"> + :name="t('settings', 'Visibility')"> <NcCheckboxRadioSwitch type="switch" data-test="showLanguages" :checked.sync="showLanguages"> @@ -49,7 +49,7 @@ </NcAppSettingsSection> <NcAppSettingsSection id="email-settings" - :title="t('settings', 'Send email')"> + :name="t('settings', 'Send email')"> <NcCheckboxRadioSwitch type="switch" data-test="sendWelcomeMail" :checked.sync="sendWelcomeMail" @@ -59,7 +59,7 @@ </NcAppSettingsSection> <NcAppSettingsSection id="default-settings" - :title="t('settings', 'Defaults')"> + :name="t('settings', 'Defaults')"> <label for="default-quota-select">{{ t('settings', 'Default quota') }}</label> <NcSelect v-model="defaultQuota" input-id="default-quota-select" diff --git a/apps/settings/src/views/Apps.vue b/apps/settings/src/views/Apps.vue index 6cc5f2fb0e8..2eb8a479545 100644 --- a/apps/settings/src/views/Apps.vue +++ b/apps/settings/src/views/Apps.vue @@ -32,20 +32,20 @@ :to="{ name: 'apps' }" :exact="true" icon="icon-category-installed" - :title="t('settings', 'Your apps')" /> + :name="t('settings', 'Your apps')" /> <NcAppNavigationItem id="app-category-enabled" :to="{ name: 'apps-category', params: { category: 'enabled' } }" icon="icon-category-enabled" - :title="$options.APPS_SECTION_ENUM.enabled" /> + :name="$options.APPS_SECTION_ENUM.enabled" /> <NcAppNavigationItem id="app-category-disabled" :to="{ name: 'apps-category', params: { category: 'disabled' } }" icon="icon-category-disabled" - :title="$options.APPS_SECTION_ENUM.disabled" /> + :name="$options.APPS_SECTION_ENUM.disabled" /> <NcAppNavigationItem v-if="updateCount > 0" id="app-category-updates" :to="{ name: 'apps-category', params: { category: 'updates' } }" icon="icon-download" - :title="$options.APPS_SECTION_ENUM.updates"> + :name="$options.APPS_SECTION_ENUM.updates"> <template #counter> <NcCounterBubble>{{ updateCount }}</NcCounterBubble> </template> @@ -61,7 +61,7 @@ <NcAppNavigationItem id="app-category-your-bundles" :to="{ name: 'apps-category', params: { category: 'app-bundles' } }" icon="icon-category-app-bundles" - :title="$options.APPS_SECTION_ENUM['app-bundles']" /> + :name="$options.APPS_SECTION_ENUM['app-bundles']" /> <NcAppNavigationSpacer /> @@ -70,7 +70,7 @@ <NcAppNavigationItem id="app-category-featured" :to="{ name: 'apps-category', params: { category: 'featured' } }" icon="icon-favorite" - :title="$options.APPS_SECTION_ENUM.featured" /> + :name="$options.APPS_SECTION_ENUM.featured" /> <NcAppNavigationItem v-for="cat in categories" :key="'icon-category-' + cat.ident" @@ -79,11 +79,11 @@ name: 'apps-category', params: { category: cat.ident }, }" - :title="cat.displayName" /> + :name="cat.displayName" /> </template> <NcAppNavigationItem id="app-developer-docs" - :title="t('settings', 'Developer documentation') + ' ↗'" + :name="t('settings', 'Developer documentation') + ' ↗'" @click="openDeveloperDocumentation" /> </template> </NcAppNavigation> @@ -250,16 +250,15 @@ export default { : authorName(this.app.author) const license = t('settings', '{license}-licensed', { license: ('' + this.app.licence).toUpperCase() }) - const subtitle = t('settings', 'by {author}\n{license}', { author, license }) + const subname = t('settings', 'by {author}\n{license}', { author, license }) return { - subtitle, background: this.app.screenshot && this.screenshotLoaded ? this.app.screenshot : this.app.preview, compact: !(this.app.screenshot && this.screenshotLoaded), - title: this.app.name, - + name: this.app.name, + subname, } }, changelog() { diff --git a/apps/settings/src/views/Users.vue b/apps/settings/src/views/Users.vue index 449308104ea..ba59d38bcae 100644 --- a/apps/settings/src/views/Users.vue +++ b/apps/settings/src/views/Users.vue @@ -37,7 +37,7 @@ :edit-placeholder="t('settings', 'Enter group name')" :editable="true" :loading="loadingAddGroup" - :title="t('settings', 'Add group')" + :name="t('settings', 'Add group')" @click="showAddGroupForm" @new-item="createGroup"> <template #icon> @@ -46,7 +46,7 @@ </NcAppNavigationNewItem> <NcAppNavigationItem id="everyone" :exact="true" - :title="t('settings', 'Active users')" + :name="t('settings', 'Active users')" :to="{ name: 'users' }" icon="icon-contacts-dark"> <template #counter> @@ -58,7 +58,7 @@ <NcAppNavigationItem v-if="settings.isAdmin" id="admin" :exact="true" - :title="t('settings', 'Admins')" + :name="t('settings', 'Admins')" :to="{ name: 'group', params: { selectedGroup: 'admin' } }" icon="icon-user-admin"> <template v-if="adminGroupMenu.count > 0" #counter> @@ -72,7 +72,7 @@ <NcAppNavigationItem v-if="disabledGroupMenu.usercount > 0 || disabledGroupMenu.usercount === -1" id="disabled" :exact="true" - :title="t('settings', 'Disabled users')" + :name="t('settings', 'Disabled users')" :to="{ name: 'group', params: { selectedGroup: 'disabled' } }" icon="icon-disabled-users"> <template v-if="disabledGroupMenu.usercount > 0" #counter> @@ -82,18 +82,18 @@ </template> </NcAppNavigationItem> - <NcAppNavigationCaption v-if="groupList.length > 0" :title="t('settings', 'Groups')" /> + <NcAppNavigationCaption v-if="groupList.length > 0" :name="t('settings', 'Groups')" /> <GroupListItem v-for="group in groupList" :id="group.id" :key="group.id" :active="selectedGroupDecoded === group.id" - :title="group.title" + :name="group.title" :count="group.count" /> </template> <template #footer> <ul class="app-navigation-entry__settings"> - <NcAppNavigationItem :title="t('settings', 'User management settings')" + <NcAppNavigationItem :name="t('settings', 'User management settings')" @click="isDialogOpen = true"> <template #icon> <Cog :size="20" /> |