1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-21 11:35:34 +01:00

Remove unused i18n strings (#10220)

This commit is contained in:
Thomas Rittson 2024-07-26 04:02:42 +10:00 committed by GitHub
parent a950f2242e
commit 6830e471bb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 2 additions and 16 deletions

View File

@ -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();
}

View File

@ -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"
},

View File

@ -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
*/