patch 9.1.1149: Unix Makefile does not support Brazilian lang for the installer
Problem: Unix Makefile does not support Brazilian lang for the
installer
Solution: add support for language code pt_br (RestorerZ)
This is in preparation of the Portuguese Brazilian translation
that will be merged a bit later.
related: #16692
closes: #16732
Signed-off-by: RestorerZ <restorer@mail2k.ru>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
6c0128385e
commit
aa8345a968
@ -2642,7 +2642,7 @@ install-languages: languages $(DEST_LANG) $(DEST_KMAP) $(DEST_RT)
|
||||
elif test -n "$(LC_MESSAGES)" ; then \
|
||||
lngusr=$${LC_MESSAGES%%.*} ; \
|
||||
fi; \
|
||||
if test "$$lngusr" = "zh_TW" -o "$$lngusr" = "zh_CN" ; then \
|
||||
if test "$$lngusr" = "zh_TW" -o "$$lngusr" = "zh_CN" -o "$$lngusr" = "pt_BR" ; then \
|
||||
lngusr=`echo $$lngusr | tr '[:upper:]' '[:lower:]'` ; \
|
||||
elif test -n "$$lngusr" -a "$$lngusr" != "C" -a "$$lngusr" != "POSIX" ; then \
|
||||
lngusr=$${lngusr%%_*} ; \
|
||||
@ -2920,7 +2920,9 @@ uninstall_runtime:
|
||||
-rmdir $(DEST_FTP) $(DEST_AUTO)/dist $(DEST_AUTO)/xml $(DEST_AUTO)/cargo $(DEST_AUTO)/rust $(DEST_AUTO)
|
||||
-rmdir $(DEST_IMPORT)/dist $(DEST_IMPORT)
|
||||
-rm -f $(DEST_RT)/README.??.txt
|
||||
-rm -f $(DEST_RT)/README.??_??.txt
|
||||
-rm -f $(DEST_RT)/LICENSE.??.txt
|
||||
-rm -f $(DEST_RT)/LICENSE.??_??.txt
|
||||
-rm -f $(DEST_RT)/README.txt $(DEST_RT)/LICENSE
|
||||
-rmdir $(DEST_PLUG) $(DEST_RT)
|
||||
# This will fail when other Vim versions are installed, no worries.
|
||||
|
||||
Reference in New Issue
Block a user