In this paper, we consider a special class of \((\bar{\lambda },\theta ,\ell )\) -monomial codes over finite fields, where we describe the Galois duals of one-generator \((\bar{\lambda },\theta ,\ell )\) -monomial codes generated by a generator of the form \((g(x), g(x)f_1(x), \ldots , g(x)f_{\ell -1}(x))\) . We give necessary and sufficient conditions to obtain the Galois self-orthogonality and Galois LCD properties. Furthermore, we construct certain maximum-distance-separable quantum error-correcting codes (MDS QECCs) using the CSS construction from Euclidean and Hermitian self-orthogonal codes. Similarly, we utilize LCD codes to construct certain maximum-distance-separable entanglement-assisted quantum error-correcting codes (MDS EAQECCs).