patch 9.1.1149: Unix Makefile does not support Brazilian lang for the installer
Commit: https://github.com/vim/vim/commit/aa8345a968915d53125807b71d050a120ab85418 Author: RestorerZ <resto...@mail2k.ru> Date: Tue Feb 25 20:35:41 2025 +0100 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 <resto...@mail2k.ru> Signed-off-by: Christian Brabandt <c...@256bit.org> diff --git a/src/Makefile b/src/Makefile index a4dd0f05d..fffbf722b 100644 --- a/src/Makefile +++ b/src/Makefile @@ -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. diff --git a/src/version.c b/src/version.c index 839509a78..523e4fc8e 100644 --- a/src/version.c +++ b/src/version.c @@ -704,6 +704,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1149, /**/ 1148, /**/ -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/vim_dev/E1tn0rZ-00CmGN-DG%40256bit.org.