From 77ca79f697e1002997b5ce5b1bd06c91be507d72 Mon Sep 17 00:00:00 2001 From: Valdnet <47037905+Valdnet@users.noreply.github.com> Date: Thu, 22 Apr 2021 20:07:39 +0200 Subject: [PATCH] l10n: Spelling unification Spelling unification in Transifex. Signed-off-by: Valdnet 47037905+Valdnet@users.noreply.github.com --- apps/files_external/lib/Lib/Backend/SMB.php | 2 +- apps/files_external/lib/Lib/Backend/SMB_OC.php | 2 +- apps/user_ldap/js/wizard/wizardTabLoginFilter.js | 4 ++-- apps/user_ldap/js/wizard/wizardTabUserFilter.js | 2 +- apps/user_ldap/lib/Settings/Section.php | 4 ++-- apps/user_ldap/templates/part.wizard-loginfilter.php | 6 +++--- apps/user_ldap/templates/settings.php | 2 +- apps/user_ldap/tests/Settings/SectionTest.php | 6 +++--- 8 files changed, 14 insertions(+), 14 deletions(-) diff --git a/apps/files_external/lib/Lib/Backend/SMB.php b/apps/files_external/lib/Lib/Backend/SMB.php index 5344bf5f78..a21beb6e01 100644 --- a/apps/files_external/lib/Lib/Backend/SMB.php +++ b/apps/files_external/lib/Lib/Backend/SMB.php @@ -45,7 +45,7 @@ class SMB extends Backend { ->setIdentifier('smb') ->addIdentifierAlias('\OC\Files\Storage\SMB')// legacy compat ->setStorageClass('\OCA\Files_External\Lib\Storage\SMB') - ->setText($l->t('SMB / CIFS')) + ->setText($l->t('SMB/CIFS')) ->addParameters([ new DefinitionParameter('host', $l->t('Host')), new DefinitionParameter('share', $l->t('Share')), diff --git a/apps/files_external/lib/Lib/Backend/SMB_OC.php b/apps/files_external/lib/Lib/Backend/SMB_OC.php index 439d85164c..dfec19d11d 100644 --- a/apps/files_external/lib/Lib/Backend/SMB_OC.php +++ b/apps/files_external/lib/Lib/Backend/SMB_OC.php @@ -43,7 +43,7 @@ class SMB_OC extends Backend { $this ->setIdentifier('\OC\Files\Storage\SMB_OC') ->setStorageClass('\OCA\Files_External\Lib\Storage\SMB') - ->setText($l->t('SMB / CIFS using OC login')) + ->setText($l->t('SMB/CIFS using OC login')) ->addParameters([ new DefinitionParameter('host', $l->t('Host')), (new DefinitionParameter('username_as_share', $l->t('Username as share'))) diff --git a/apps/user_ldap/js/wizard/wizardTabLoginFilter.js b/apps/user_ldap/js/wizard/wizardTabLoginFilter.js index 0eef632d85..616fb6ea35 100644 --- a/apps/user_ldap/js/wizard/wizardTabLoginFilter.js +++ b/apps/user_ldap/js/wizard/wizardTabLoginFilter.js @@ -159,9 +159,9 @@ OCA = OCA || {}; if(message === 'Bad search filter') { message = t('user_ldap', 'The search filter is invalid, probably due to syntax issues like uneven number of opened and closed brackets. Please revise.'); } else if(message === 'connection error') { - message = t('user_ldap', 'A connection error to LDAP / AD occurred, please check host, port and credentials.'); + message = t('user_ldap', 'A connection error to LDAP/AD occurred, please check host, port and credentials.'); } else if(message === 'missing placeholder') { - message = t('user_ldap', 'The "%uid" placeholder is missing. It will be replaced with the login name when querying LDAP / AD.'); + message = t('user_ldap', 'The "%uid" placeholder is missing. It will be replaced with the login name when querying LDAP/AD.'); } } OC.Notification.showTemporary(message, {isHTML: isHtml}); diff --git a/apps/user_ldap/js/wizard/wizardTabUserFilter.js b/apps/user_ldap/js/wizard/wizardTabUserFilter.js index da7cb77568..b57aa54db6 100644 --- a/apps/user_ldap/js/wizard/wizardTabUserFilter.js +++ b/apps/user_ldap/js/wizard/wizardTabUserFilter.js @@ -131,7 +131,7 @@ OCA = OCA || {}; if( key === 'ldap_userfilter_groups' && message === 'memberOf is not supported by the server' ) { - message = t('user_ldap', 'The group box was disabled, because the LDAP / AD server does not support memberOf.'); + message = t('user_ldap', 'The group box was disabled, because the LDAP/AD server does not support memberOf.'); } return message; } diff --git a/apps/user_ldap/lib/Settings/Section.php b/apps/user_ldap/lib/Settings/Section.php index 308cf6b86e..b854b0303d 100644 --- a/apps/user_ldap/lib/Settings/Section.php +++ b/apps/user_ldap/lib/Settings/Section.php @@ -55,13 +55,13 @@ class Section implements IIconSection { } /** - * returns the translated name as it should be displayed, e.g. 'LDAP / AD + * returns the translated name as it should be displayed, e.g. 'LDAP/AD * integration'. Use the L10N service to translate it. * * @return string */ public function getName() { - return $this->l->t('LDAP / AD integration'); + return $this->l->t('LDAP/AD integration'); } /** diff --git a/apps/user_ldap/templates/part.wizard-loginfilter.php b/apps/user_ldap/templates/part.wizard-loginfilter.php index c7cbabb7ab..1cc46ff52c 100644 --- a/apps/user_ldap/templates/part.wizard-loginfilter.php +++ b/apps/user_ldap/templates/part.wizard-loginfilter.php @@ -5,16 +5,16 @@
" + title="t('Allows login against the LDAP/AD username, which is either "uid" or "sAMAccountName" and will be detected.'));?>" name="ldap_loginfilter_username" value="1" />