diff --git a/build.sh b/build.sh index 7c87ee8f..effb18f2 100755 --- a/build.sh +++ b/build.sh @@ -263,6 +263,12 @@ if ! patch -Rf -N -p1 -s --dry-run < ../../patches/download-ipv4.patch; then fi echo "Done" +echo "Add Occitan translation support" +if ! patch -Rf -N -p1 -s --dry-run < ../../patches/luci-occitan.patch; then + patch -N -p1 -s < ../../patches/luci-occitan.patch +fi +echo "Done" + if [ -f target/linux/mediatek/patches-5.4/0999-hnat.patch ]; then rm -f target/linux/mediatek/patches-5.4/0999-hnat.patch fi diff --git a/patches/luci-occitan.patch b/patches/luci-occitan.patch new file mode 100644 index 00000000..4aba6102 --- /dev/null +++ b/patches/luci-occitan.patch @@ -0,0 +1,10 @@ +--- a/feeds/luci/luci.mk 2020-10-13 09:58:19.887513368 +0200 ++++ b/feeds/luci/luci.mk 2020-10-13 09:04:51.724277184 +0200 +@@ -34,6 +34,7 @@ + LUCI_LANG.mr=Marāṭhī (Marathi) + LUCI_LANG.ms=Bahasa Melayu (Malay) + LUCI_LANG.nb_NO=Norsk (Norwegian) ++LUCI_LANG.oc=Occitan + LUCI_LANG.pl=Polski (Polish) + LUCI_LANG.pt_BR=Português do Brasil (Brazilian Portuguese) + LUCI_LANG.pt=Português (Portuguese)