One-electron and two-electron-one-photon electric dipole transitions in the Mg-like argon spectrum