Add single-language

This commit is contained in:
Fierelier 2023-03-28 23:28:54 +02:00
parent f2d4948f8d
commit b239ff2d8a
3 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1 @@
single-language

View File

@ -0,0 +1,4 @@
path-exclude /usr/share/locale/*
path-include /usr/share/locale/en/*
path-include /usr/share/locale/en_GB/*
path-include /usr/share/locale/en_US/*

2
mods/single-language/modscript Executable file
View File

@ -0,0 +1,2 @@
#!/bin/bash
find "$1/usr/share/locale" -mindepth 1 -maxdepth 1 ! -name "en" ! -name "en_US" ! -name "en_GB" | xargs rm -r