Skip to content

Commit

Permalink
Chattr / chflags: minor
Browse files Browse the repository at this point in the history
  • Loading branch information
akruphi committed Jan 21, 2025
1 parent 80dc762 commit bd5b81f
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 27 deletions.
18 changes: 9 additions & 9 deletions far2l/bootstrap/scripts/farlang.templ.m4
Original file line number Diff line number Diff line change
Expand Up @@ -14497,15 +14497,15 @@ MenuAttributes
"А&трыбуты файлаў Ctrl+A"

MenuChattr
"cha&ttr / chflags Ctrl+Alt+A"
"cha&ttr / chflags Ctrl+Alt+A"
upd:"cha&ttr / chflags Ctrl+Alt+A"
upd:"cha&ttr / chflags Ctrl+Alt+A"
upd:"cha&ttr / chflags Ctrl+Alt+A"
upd:"cha&ttr / chflags Ctrl+Alt+A"
upd:"cha&ttr / chflags Ctrl+Alt+A"
upd:"cha&ttr / chflags Ctrl+Alt+A"
upd:"cha&ttr / chflags Ctrl+Alt+A"
"chattr / chflag&s Ctrl+Alt+A"
"chattr / ch&flags Ctrl+Alt+A"
upd:"chattr / ch&flags Ctrl+Alt+A"
upd:"chattr / ch&flags Ctrl+Alt+A"
upd:"c&hattr / chflags Ctrl+Alt+A"
upd:"chattr / ch&flags Ctrl+Alt+A"
upd:"chattr / ch&flags Ctrl+Alt+A"
upd:"chattr / chflag&s Ctrl+Alt+A"
upd:"c&hattr / chflags Ctrl+Alt+A"

MenuApplyCommand
"Применить коман&ду Ctrl+G"
Expand Down
36 changes: 18 additions & 18 deletions far2l/src/chattr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -121,62 +121,62 @@ static struct {
// see actual constants in <sys/stat.h>
// Super-user and owner changeable flags
#ifdef UF_NODUMP // 0x00000001
{ UF_NODUMP, '+', "nodump: do not dump file (owner or super-user only)" },
{ UF_NODUMP, '+', "nodump: do not dump file (owner or super-user only)" },
#endif
#ifdef UF_IMMUTABLE // 0x00000002
{ UF_IMMUTABLE, '+', "uimmutable: file may not be changed (owner or super-user only)" },
{ UF_IMMUTABLE, '+', "uimmutable: file may not be changed (owner or super-user only)" },
#endif
#ifdef UF_APPEND // 0x00000004
{ UF_APPEND, '+', "uappend: writes to file may only append (owner or super-user only)" },
{ UF_APPEND, '+', "uappend: writes to file may only append (owner or super-user only)" },
#endif
#ifdef UF_OPAQUE // 0x00000008
{ UF_OPAQUE, '+', "opaque: directory is opaque wrt. union (owner or super-user only)" },
{ UF_OPAQUE, '+', "opaque: directory is opaque wrt. union (owner or super-user only)" },
#endif
#ifdef UF_NOUNLINK // 0x00000010
{ UF_NOUNLINK, '+', "uunlink: file may not be removed or renamed (owner or super-user only)" },
{ UF_NOUNLINK, '+', "uunlink: file may not be removed or renamed (owner or super-user only)" },
#endif
#ifdef UF_COMPRESSED // 0x00000020
{ UF_COMPRESSED, '+', "ucompressed: file is compressed (macOS only) (owner or super-user only)" },
#endif
#ifdef UF_TRACKED // 0x00000040
{ UF_TRACKED, '+', "utracked: renames and deletes are tracked (macOS only) (owner or super-user only)" },
{ UF_TRACKED, '+', "utracked: renames and deletes are tracked (macOS only) (owner or super-user only)" },
#endif
#ifdef UF_SYSTEM // 0x00000080
{ UF_SYSTEM, '+', "usystem: Windows system file bit (owner or super-user only)" },
{ UF_SYSTEM, '+', "usystem: Windows system file bit (owner or super-user only)" },
#endif
#ifdef UF_SPARSE // 0x00000100
{ UF_SPARSE, '+', "usparse: sparse file (owner or super-user only)" },
{ UF_SPARSE, '+', "usparse: sparse file (owner or super-user only)" },
#endif
#ifdef UF_OFFLINE // 0x00000200
{ UF_OFFLINE, '+', "uoffline: file is offline (owner or super-user only)" },
{ UF_OFFLINE, '+', "uoffline: file is offline (owner or super-user only)" },
#endif
#ifdef UF_REPARSE // 0x00000400
{ UF_REPARSE, '+', "ureparse: Windows reparse point file bit (owner or super-user only)" },
{ UF_REPARSE, '+', "ureparse: Windows reparse point file bit (owner or super-user only)" },
#endif
#ifdef UF_ARCHIVE // 0x00000800
{ UF_ARCHIVE, '+', "uarchive: file needs to be archived (owner or super-user only)" },
{ UF_ARCHIVE, '+', "uarchive: file needs to be archived (owner or super-user only)" },
#endif
#ifdef UF_READONLY // 0x00001000
{ UF_READONLY, '+', "ureadonly: Windows readonly file bit (owner or super-user only)" },
{ UF_READONLY, '+', "ureadonly: Windows readonly file bit (owner or super-user only)" },
#endif
#ifdef UF_HIDDEN // 0x00008000
{ UF_HIDDEN, '+', "uhidden: file is hidden (owner or super-user only)" },
{ UF_HIDDEN, '+', "uhidden: file is hidden (owner or super-user only)" },
#endif
// Super-user changeable flags
#ifdef SF_ARCHIVED // 0x00010000
{ SF_ARCHIVED, '+', "sarchive: file is archived (super-user only)" },
{ SF_ARCHIVED, '+', "sarchive: file is archived (super-user only)" },
#endif
#ifdef SF_IMMUTABLE // 0x00020000
{ SF_IMMUTABLE, '+', "simmutable: file may not be changed (super-user only)" },
{ SF_IMMUTABLE, '+', "simmutable: file may not be changed (super-user only)" },
#endif
#ifdef SF_APPEND // 0x00040000
{ SF_APPEND, '+', "sappend: writes to file may only append (super-user only)" },
{ SF_APPEND, '+', "sappend: writes to file may only append (super-user only)" },
#endif
#ifdef SF_NOUNLINK // 0x00100000
{ SF_NOUNLINK, '+', "sunlink: file may not be removed or renamed (super-user only)" },
{ SF_NOUNLINK, '+', "sunlink: file may not be removed or renamed (super-user only)" },
#endif
#ifdef SF_SNAPSHOT // 0x00200000
{ SF_SNAPSHOT, '+', "snapshot: snapshot inode (filesystems do not allow changing this flag)" },
{ SF_SNAPSHOT, '+', "snapshot: snapshot inode (filesystems do not allow changing this flag)" },
#endif
#endif
};
Expand Down

0 comments on commit bd5b81f

Please sign in to comment.