]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.1.1149: Unix Makefile does not support Brazilian lang for the installer v9.1.1149
authorRestorerZ <restorer@mail2k.ru>
Tue, 25 Feb 2025 19:35:41 +0000 (20:35 +0100)
committerChristian Brabandt <cb@256bit.org>
Tue, 25 Feb 2025 19:35:41 +0000 (20:35 +0100)
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>
src/Makefile
src/version.c

index a4dd0f05d74e6a24db0e85fffaa2be5a0e51d657..fffbf722b67a72f23f6b453639b9f71d249b9f1f 100644 (file)
@@ -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.
index 839509a789e431c013195a6c4b7deac279564d4d..523e4fc8e8fb1726607dc6eba03f9271f847d713 100644 (file)
@@ -704,6 +704,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1149,
 /**/
     1148,
 /**/