summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/accessibility/l10n/eo.js2
-rw-r--r--apps/accessibility/l10n/eo.json2
-rw-r--r--apps/provisioning_api/lib/Controller/UsersController.php2
-rw-r--r--apps/provisioning_api/tests/Controller/UsersControllerTest.php2
4 files changed, 4 insertions, 4 deletions
diff --git a/apps/accessibility/l10n/eo.js b/apps/accessibility/l10n/eo.js
index 627f91916b9..12ee915c1a0 100644
--- a/apps/accessibility/l10n/eo.js
+++ b/apps/accessibility/l10n/eo.js
@@ -13,6 +13,6 @@ OC.L10N.register(
"Web Content Accessibility Guidelines" : "gvidnormoj pri alirebleco de la TTT-enhavo",
"our issue tracker" : "problem-spuradilo",
"our design team" : "nian teamon de fasonistoj",
- "Enable" : "Ŝalti"
+ "Enable" : "Ŝalti la opcion"
},
"nplurals=2; plural=(n != 1);");
diff --git a/apps/accessibility/l10n/eo.json b/apps/accessibility/l10n/eo.json
index 6abfa4be430..b37019dbc6a 100644
--- a/apps/accessibility/l10n/eo.json
+++ b/apps/accessibility/l10n/eo.json
@@ -11,6 +11,6 @@
"Web Content Accessibility Guidelines" : "gvidnormoj pri alirebleco de la TTT-enhavo",
"our issue tracker" : "problem-spuradilo",
"our design team" : "nian teamon de fasonistoj",
- "Enable" : "Ŝalti"
+ "Enable" : "Ŝalti la opcion"
},"pluralForm" :"nplurals=2; plural=(n != 1);"
} \ No newline at end of file
diff --git a/apps/provisioning_api/lib/Controller/UsersController.php b/apps/provisioning_api/lib/Controller/UsersController.php
index c7625a26f59..b993188c97e 100644
--- a/apps/provisioning_api/lib/Controller/UsersController.php
+++ b/apps/provisioning_api/lib/Controller/UsersController.php
@@ -773,7 +773,7 @@ class UsersController extends AUserData {
if (count($userSubAdminGroups) <= 1) {
// Subadmin must not be able to remove a user from all their subadmin groups.
- throw new OCSException('Cannot remove user from this group as this is the only remaining group you are a SubAdmin of', 105);
+ throw new OCSException('Not viable to remove user from the last group you are SubAdmin of', 105);
}
}
diff --git a/apps/provisioning_api/tests/Controller/UsersControllerTest.php b/apps/provisioning_api/tests/Controller/UsersControllerTest.php
index c6e0082c4b0..7a7f0144524 100644
--- a/apps/provisioning_api/tests/Controller/UsersControllerTest.php
+++ b/apps/provisioning_api/tests/Controller/UsersControllerTest.php
@@ -2516,7 +2516,7 @@ class UsersControllerTest extends TestCase {
/**
* @expectedException \OCP\AppFramework\OCS\OCSException
* @expectedExceptionCode 105
- * @expectedExceptionMessage Cannot remove user from this group as this is the only remaining group you are a SubAdmin of
+ * @expectedExceptionMessage Not viable to remove user from the last group you are SubAdmin of
*/
public function testRemoveFromGroupAsSubAdminFromLastSubAdminGroup() {
$loggedInUser = $this->getMockBuilder(IUser::class)->disableOriginalConstructor()->getMock();