Remove unused i18n strings (#10220)
This commit is contained in:
parent
a950f2242e
commit
6830e471bb
|
@ -59,7 +59,7 @@ export class AccessSelectorComponent implements ControlValueAccessor, OnInit, On
|
|||
/**
|
||||
* Updates the enabled/disabled state of provided row form group based on the item's readonly state.
|
||||
* If a row is enabled, it also updates the enabled/disabled state of the permission control
|
||||
* based on the item's accessAllItems state and the current value of `permissionMode`.
|
||||
* based on the current value of `permissionMode`.
|
||||
* @param controlRow - The form group for the row to update
|
||||
* @param item - The access item that is represented by the row
|
||||
*/
|
||||
|
@ -74,7 +74,7 @@ export class AccessSelectorComponent implements ControlValueAccessor, OnInit, On
|
|||
controlRow.enable();
|
||||
|
||||
// The enable() above also enables the permission control, so we need to disable it again
|
||||
// Disable permission control if accessAllItems is enabled or not in Edit mode
|
||||
// Disable permission control if not in Edit mode
|
||||
if (this.permissionMode != PermissionMode.Edit) {
|
||||
controlRow.controls.permission.disable();
|
||||
}
|
||||
|
|
|
@ -2799,12 +2799,6 @@
|
|||
"accessControl": {
|
||||
"message": "Access control"
|
||||
},
|
||||
"groupAccessAllItems": {
|
||||
"message": "This group can access and modify all items."
|
||||
},
|
||||
"groupAccessSelectedCollections": {
|
||||
"message": "This group can access only the selected collections."
|
||||
},
|
||||
"readOnly": {
|
||||
"message": "Read only"
|
||||
},
|
||||
|
@ -2850,12 +2844,6 @@
|
|||
"userUsingTwoStep": {
|
||||
"message": "This user is using two-step login to protect their account."
|
||||
},
|
||||
"userAccessAllItems": {
|
||||
"message": "This user can access and modify all items."
|
||||
},
|
||||
"userAccessSelectedCollections": {
|
||||
"message": "This user can access only the selected collections."
|
||||
},
|
||||
"search": {
|
||||
"message": "Search"
|
||||
},
|
||||
|
|
|
@ -37,8 +37,6 @@ export class AccessPolicySelectorComponent implements ControlValueAccessor, OnIn
|
|||
|
||||
/**
|
||||
* Updates the enabled/disabled state of provided row form group based on the item's readonly state.
|
||||
* If a row is enabled, it also updates the enabled/disabled state of the permission control
|
||||
* based on the item's accessAllItems state and the current value of `permissionMode`.
|
||||
* @param controlRow - The form group for the row to update
|
||||
* @param item - The access item that is represented by the row
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue