Skip to content

Commit aa8345a

Browse files
RestorerZchrisbra
authored andcommitted
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>
1 parent 6c01283 commit aa8345a

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

src/Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2642,7 +2642,7 @@ install-languages: languages $(DEST_LANG) $(DEST_KMAP) $(DEST_RT)
26422642
elif test -n "$(LC_MESSAGES)" ; then \
26432643
lngusr=$${LC_MESSAGES%%.*} ; \
26442644
fi; \
2645-
if test "$$lngusr" = "zh_TW" -o "$$lngusr" = "zh_CN" ; then \
2645+
if test "$$lngusr" = "zh_TW" -o "$$lngusr" = "zh_CN" -o "$$lngusr" = "pt_BR" ; then \
26462646
lngusr=`echo $$lngusr | tr '[:upper:]' '[:lower:]'` ; \
26472647
elif test -n "$$lngusr" -a "$$lngusr" != "C" -a "$$lngusr" != "POSIX" ; then \
26482648
lngusr=$${lngusr%%_*} ; \
@@ -2920,7 +2920,9 @@ uninstall_runtime:
29202920
-rmdir $(DEST_FTP) $(DEST_AUTO)/dist $(DEST_AUTO)/xml $(DEST_AUTO)/cargo $(DEST_AUTO)/rust $(DEST_AUTO)
29212921
-rmdir $(DEST_IMPORT)/dist $(DEST_IMPORT)
29222922
-rm -f $(DEST_RT)/README.??.txt
2923+
-rm -f $(DEST_RT)/README.??_??.txt
29232924
-rm -f $(DEST_RT)/LICENSE.??.txt
2925+
-rm -f $(DEST_RT)/LICENSE.??_??.txt
29242926
-rm -f $(DEST_RT)/README.txt $(DEST_RT)/LICENSE
29252927
-rmdir $(DEST_PLUG) $(DEST_RT)
29262928
# This will fail when other Vim versions are installed, no worries.

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -704,6 +704,8 @@ static char *(features[]) =
704704

705705
static int included_patches[] =
706706
{ /* Add new patch number below this line */
707+
/**/
708+
1149,
707709
/**/
708710
1148,
709711
/**/

0 commit comments

Comments
 (0)