Skip to content

Commit

Permalink
Fix: Fixed string name (files-community#14315)
Browse files Browse the repository at this point in the history
  • Loading branch information
yaira2 authored Dec 30, 2023
1 parent 1c18f6e commit 732f13a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ public static ObservableCollection<AccessMaskItem> Initialize(AccessControlEntry
new(current)
{
AccessMask = AccessMaskFlags.Modify,
AccessMaskName = "SecurityModifyLabel/Text".GetLocalizedResource(),
AccessMaskName = "Modify".GetLocalizedResource(),
IsEditable = !isInherited
},
new(current)
Expand Down
2 changes: 1 addition & 1 deletion src/Files.App/Utils/Storage/Security/AccessControlEntry.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public string AccessMaskFlagsHumanized
if (FullControlAccess)
accessMaskStrings.Add("SecurityFullControlLabel/Text".GetLocalizedResource());
else if (ModifyAccess)
accessMaskStrings.Add("SecurityModifyLabel/Text".GetLocalizedResource());
accessMaskStrings.Add("Modify".GetLocalizedResource());
else if (ReadAndExecuteAccess)
accessMaskStrings.Add("SecurityReadAndExecuteLabel/Text".GetLocalizedResource());
else if (ReadAccess)
Expand Down

0 comments on commit 732f13a

Please sign in to comment.