qt5-translation: improve locale detection (#38)
qt5-translation: improve locale detection (#38)

If one path element to ${D} contains a '_' then the logic fails to
split only the locale string. Fix this by first single out only the
file's basename and then split off the locale.

Signed-off-by: Max Krummenacher <2adf29ceaf73d2cea8fff1ff57e7b25e74cc8f1f@toradex.com>
schnitzeltony/meta-qt5-extra,schnitzeltony/meta-qt5-extra,schnitzeltony/meta-qt5-extra