diff options
author | Joas Schilling <213943+nickvergessen@users.noreply.github.com> | 2025-02-27 16:51:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-27 16:51:47 +0100 |
commit | 25268f2fdf60b228dfe8c7afbf212333173c4946 (patch) | |
tree | a757e20aefa8c46e455c922efbbce6ca1630f2c6 /apps | |
parent | 4ab69ec7f40220d8bd676f7b6f2abc946589ea72 (diff) | |
parent | ba38abe4cd89d0f193066da6d9155410b98a9f89 (diff) | |
download | nextcloud-server-25268f2fdf60b228dfe8c7afbf212333173c4946.tar.gz nextcloud-server-25268f2fdf60b228dfe8c7afbf212333173c4946.zip |
Merge pull request #51058 from nextcloud/backport/51049/stable31
[stable31] fix(l10n): Improve english source strings
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files/src/components/DragAndDropNotice.vue | 2 | ||||
-rw-r--r-- | apps/files/src/components/FilesListTableHeaderActions.vue | 2 | ||||
-rw-r--r-- | apps/files/src/components/FilesListVirtual.vue | 2 | ||||
-rw-r--r-- | apps/files/templates/list.php | 2 | ||||
-rw-r--r-- | apps/settings/lib/SetupChecks/AllowedAdminRanges.php | 2 | ||||
-rw-r--r-- | apps/settings/lib/SetupChecks/DatabaseHasMissingIndices.php | 2 | ||||
-rw-r--r-- | apps/sharebymail/lib/ShareByMailProvider.php | 2 | ||||
-rw-r--r-- | apps/user_ldap/lib/Access.php | 2 |
8 files changed, 8 insertions, 8 deletions
diff --git a/apps/files/src/components/DragAndDropNotice.vue b/apps/files/src/components/DragAndDropNotice.vue index 23ebf7cd296..bf9a318657f 100644 --- a/apps/files/src/components/DragAndDropNotice.vue +++ b/apps/files/src/components/DragAndDropNotice.vue @@ -85,7 +85,7 @@ export default defineComponent({ if (this.isQuotaExceeded) { return this.t('files', 'Your have used your space quota and cannot upload files anymore') } else if (!this.canUpload) { - return this.t('files', 'You don’t have permission to upload or create files here') + return this.t('files', 'You don\'t have permission to upload or create files here.') } return null }, diff --git a/apps/files/src/components/FilesListTableHeaderActions.vue b/apps/files/src/components/FilesListTableHeaderActions.vue index 8b9feec637a..23dd2f37ef3 100644 --- a/apps/files/src/components/FilesListTableHeaderActions.vue +++ b/apps/files/src/components/FilesListTableHeaderActions.vue @@ -300,7 +300,7 @@ export default defineComponent({ return } - showError(this.t('files', '"{displayName}" failed on some elements ', { displayName })) + showError(this.t('files', '"{displayName}" failed on some elements', { displayName })) return } diff --git a/apps/files/src/components/FilesListVirtual.vue b/apps/files/src/components/FilesListVirtual.vue index 812521330b9..10073b69d37 100644 --- a/apps/files/src/components/FilesListVirtual.vue +++ b/apps/files/src/components/FilesListVirtual.vue @@ -189,7 +189,7 @@ export default defineComponent({ caption() { const defaultCaption = t('files', 'List of files and folders.') const viewCaption = this.currentView.caption || defaultCaption - const cantUploadCaption = this.cantUpload ? t('files', 'You don’t have permission to upload or create files here.') : null + const cantUploadCaption = this.cantUpload ? t('files', 'You don\'t have permission to upload or create files here.') : null const quotaExceededCaption = this.isQuotaExceeded ? t('files', 'You have used your space quota and cannot upload files anymore.') : null const sortableCaption = t('files', 'Column headers with buttons are sortable.') const virtualListNote = t('files', 'This list is not fully rendered for performance reasons. The files will be rendered as you navigate through the list.') diff --git a/apps/files/templates/list.php b/apps/files/templates/list.php index 3dbcf5ae348..bc537f5fee7 100644 --- a/apps/files/templates/list.php +++ b/apps/files/templates/list.php @@ -13,7 +13,7 @@ </div> <div class="notCreatable notPublic hidden"> <div class="icon-alert-outline"></div> - <?php p($l->t('You do not have permission to upload or create files here'))?> + <?php p($l->t('You don\'t have permission to upload or create files here.'))?> </div> <?php /* Note: the template attributes are here only for the public page. These are normally loaded through ajax instead (updateStorageStatistics). diff --git a/apps/settings/lib/SetupChecks/AllowedAdminRanges.php b/apps/settings/lib/SetupChecks/AllowedAdminRanges.php index 87e11b06be7..5116676dd43 100644 --- a/apps/settings/lib/SetupChecks/AllowedAdminRanges.php +++ b/apps/settings/lib/SetupChecks/AllowedAdminRanges.php @@ -36,7 +36,7 @@ class AllowedAdminRanges implements ISetupCheck { $allowedAdminRanges === false || (is_array($allowedAdminRanges) && empty($allowedAdminRanges)) ) { - return SetupResult::success($this->l10n->t('Admin IP filtering isn’t applied.')); + return SetupResult::success($this->l10n->t('Admin IP filtering isn\'t applied.')); } if (!is_array($allowedAdminRanges)) { diff --git a/apps/settings/lib/SetupChecks/DatabaseHasMissingIndices.php b/apps/settings/lib/SetupChecks/DatabaseHasMissingIndices.php index 9854a039dd1..97e80c2aaa9 100644 --- a/apps/settings/lib/SetupChecks/DatabaseHasMissingIndices.php +++ b/apps/settings/lib/SetupChecks/DatabaseHasMissingIndices.php @@ -85,7 +85,7 @@ class DatabaseHasMissingIndices implements ISetupCheck { } } return SetupResult::warning( - $this->l10n->t('Detected some missing optional indices. Occasionally new indices are added (by Nextcloud or installed applications) to improve database performance. Adding indices can sometimes take awhile and temporarily hurt performance so this is not done automatically during upgrades. Once the indices are added, queries to those tables should be faster. Use the command `occ db:add-missing-indices` to add them. ') . $list . '.', + $this->l10n->t('Detected some missing optional indices. Occasionally new indices are added (by Nextcloud or installed applications) to improve database performance. Adding indices can sometimes take awhile and temporarily hurt performance so this is not done automatically during upgrades. Once the indices are added, queries to those tables should be faster. Use the command `occ db:add-missing-indices` to add them.') . "\n" . $list, $this->urlGenerator->linkToDocs('admin-long-running-migration-steps') ); } diff --git a/apps/sharebymail/lib/ShareByMailProvider.php b/apps/sharebymail/lib/ShareByMailProvider.php index d6a12c83123..7d0665ca630 100644 --- a/apps/sharebymail/lib/ShareByMailProvider.php +++ b/apps/sharebymail/lib/ShareByMailProvider.php @@ -426,7 +426,7 @@ class ShareByMailProvider extends DefaultShareProvider implements IShareProvider $initiatorDisplayName = ($initiatorUser instanceof IUser) ? $initiatorUser->getDisplayName() : $initiator; $initiatorEmailAddress = ($initiatorUser instanceof IUser) ? $initiatorUser->getEMailAddress() : null; - $plainBodyPart = $this->l->t("%1\$s shared %2\$s with you.\nYou should have already received a separate mail with a link to access it.\n", [$initiatorDisplayName, $filename]); + $plainBodyPart = $this->l->t('%1$s shared %2$s with you. You should have already received a separate mail with a link to access it.', [$initiatorDisplayName, $filename]); $htmlBodyPart = $this->l->t('%1$s shared %2$s with you. You should have already received a separate mail with a link to access it.', [$initiatorDisplayName, $filename]); $message = $this->mailer->createMessage(); diff --git a/apps/user_ldap/lib/Access.php b/apps/user_ldap/lib/Access.php index 88d34297bbd..8db35602b2f 100644 --- a/apps/user_ldap/lib/Access.php +++ b/apps/user_ldap/lib/Access.php @@ -342,7 +342,7 @@ class Access extends LDAPUtility { return @$this->invokeLDAPMethod('exopPasswd', $userDN, '', $password) || @$this->invokeLDAPMethod('modReplace', $userDN, $password); } catch (ConstraintViolationException $e) { - throw new HintException('Password change rejected.', Util::getL10N('user_ldap')->t('Password change rejected. Hint: ') . $e->getMessage(), (int)$e->getCode()); + throw new HintException('Password change rejected.', Util::getL10N('user_ldap')->t('Password change rejected. Hint: %s', $e->getMessage()), (int)$e->getCode()); } } |