From 66e93561da9cc3c8396552729e7ec9e902c94741 Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Wed, 18 May 2016 11:23:23 +0200 Subject: Rename "not-assignble" to "restricted" --- core/js/systemtags/systemtags.js | 2 +- core/js/tests/specs/systemtags/systemtagsSpec.js | 2 +- core/js/tests/specs/systemtags/systemtagsinputfieldSpec.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'core/js') 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'); -- cgit v1.2.3