# vim:syntax=apparmor

  abi <abi/3.0>,

# Rules for changing per-application language settings on KDE. Some KDE
# applications have "Help -> Switch Application Language..." option, that needs
# write access to language settings file.

  # User files

  owner @{HOME}/.config/#[0-9]* rw,
  owner @{HOME}/.config/klanguageoverridesrc rw,
  owner @{HOME}/.config/klanguageoverridesrc.?????? rwl -> @{HOME}/.config/#[0-9]*,
  owner @{HOME}/.config/klanguageoverridesrc.lock rwk,


  # Include additions to the abstraction
  include if exists <abstractions/kde-language-write.d>
