-
intrigeri authored
i18nspector's --language option takes "a 2- or 3-letter ISO 639 language code, possibly followed by underscore and a 2-letter ISO 3166 territory code" so we need to strip any "_<SCRIPT>" suffix when passing it the language we've detected from the PO file name. Otherwise, we get: i18nspector: error: invalid language
defc52db