Fix compilation without fftw3
Improve the Ukrainian translation. Closes #1828.