summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2016-05-18 11:23:23 +0200
committerVincent Petry <pvince81@owncloud.com>2016-05-20 17:56:02 +0200
commit66e93561da9cc3c8396552729e7ec9e902c94741 (patch)
treeba5787cfaac2990c446b889453becce144c2d153 /core
parentc7373798ba64688bf5b51605177a801d6bf03ac2 (diff)
downloadnextcloud-server-66e93561da9cc3c8396552729e7ec9e902c94741.tar.gz
nextcloud-server-66e93561da9cc3c8396552729e7ec9e902c94741.zip
Rename "not-assignble" to "restricted"
Diffstat (limited to 'core')
-rw-r--r--core/js/systemtags/systemtags.js2
-rw-r--r--core/js/tests/specs/systemtags/systemtagsSpec.js2
-rw-r--r--core/js/tests/specs/systemtags/systemtagsinputfieldSpec.js2
3 files changed, 3 insertions, 3 deletions
diff --git a/core/js/systemtags/systemtags.js b/core/js/systemtags/systemtags.js
index 042f49bb8ed..05ead6f3dcd 100644
--- a/core/js/systemtags/systemtags.js
+++ b/core/js/systemtags/systemtags.js
@@ -36,7 +36,7 @@
var scope;
if (!tag.userAssignable) {
- scope = t('core', 'not assignable');
+ scope = t('core', 'restricted');
}
if (!tag.userVisible) {
// invisible also implicitly means not assignable
diff --git a/core/js/tests/specs/systemtags/systemtagsSpec.js b/core/js/tests/specs/systemtags/systemtagsSpec.js
index 515b75258a0..f6d99e62a3c 100644
--- a/core/js/tests/specs/systemtags/systemtagsSpec.js
+++ b/core/js/tests/specs/systemtags/systemtagsSpec.js
@@ -64,6 +64,6 @@ describe('OC.SystemTags tests', function() {
testScope(true, true, 'Fourty Two');
testScope(false, true, 'Fourty Two (invisible)');
testScope(false, false, 'Fourty Two (invisible)');
- testScope(true, false, 'Fourty Two (not assignable)');
+ testScope(true, false, 'Fourty Two (restricted)');
});
});
diff --git a/core/js/tests/specs/systemtags/systemtagsinputfieldSpec.js b/core/js/tests/specs/systemtags/systemtagsinputfieldSpec.js
index cafc6e7842b..503bef7cf2b 100644
--- a/core/js/tests/specs/systemtags/systemtagsinputfieldSpec.js
+++ b/core/js/tests/specs/systemtags/systemtagsinputfieldSpec.js
@@ -487,7 +487,7 @@ describe('OC.SystemTags.SystemTagsInputField tests', function() {
expect(models[0].locked).toBeFalsy();
expect(models[1].id).toEqual('3');
expect(models[1].name).toEqual('test3');
- // not assignable / cannot assign locks the entry
+ // restricted / cannot assign locks the entry
expect(models[1].locked).toEqual(true);
expect(models[2].id).toEqual('4');
expect(models[2].name).toEqual('test4');