You've already forked pigallery2
mirror of
https://github.com/bpatrik/pigallery2.git
synced 2025-11-25 22:32:52 +02:00
Adding missing translations
This commit is contained in:
@@ -127,7 +127,7 @@ const getLanguages = (): any[] | string[] => {
|
||||
}
|
||||
const dirCont = fs.readdirSync('./src/frontend/' + translationFolder);
|
||||
const files: string[] = dirCont.filter((elm): any => {
|
||||
return elm.match(/.*\.[a-zA-Z]+\.(xlf)/gi);
|
||||
return elm.match(/.*\.[a-zA-Z]+(-[a-zA-Z]+)?\.(xlf)/gi);
|
||||
});
|
||||
|
||||
// get languages to filter
|
||||
|
||||
Reference in New Issue
Block a user