patch 9.1.1058: translation(sr): Missing Serbian translation for the tutor
Problem: translation(sr): Missing Serbian translation for the tutor
Solution: include new Serbian translation for the new tutor,
include translation for chapter 2 of the traditional tutor,
update the Makefiles for installing the runtime files
(Ivan Pešić)
closes: #16550
Signed-off-by: Ivan Pešić <27575106+eevan78@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
diff --git a/src/Makefile b/src/Makefile
index 3e9a240..a4dd0f0 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -2352,7 +2352,9 @@
$(DEST_AUTO) $(DEST_AUTO)/dist $(DEST_AUTO)/xml \
$(DEST_AUTO)/rust $(DEST_AUTO)/cargo \
$(DEST_IMPORT) $(DEST_IMPORT)/dist \
- $(DEST_PLUG) $(DEST_TUTOR) $(DEST_TUTOR)/en $(DEST_TUTOR)/it $(DEST_SPELL) $(DEST_COMP)
+ $(DEST_PLUG) \
+ $(DEST_TUTOR) $(DEST_TUTOR)/en $(DEST_TUTOR)/it $(DEST_TUTOR)/sr \
+ $(DEST_SPELL) $(DEST_COMP)
-$(SHELL) ./installman.sh install $(DEST_MAN) "" $(INSTALLMANARGS)
# Generate the help tags with ":helptags" to handle all languages.
# Move the distributed tags file aside and restore it, to avoid it being
@@ -2482,14 +2484,16 @@
$(INSTALL_DATA) gvimtutor $(DEST_BIN)/$(GVIMNAME)tutor
chmod $(SCRIPTMOD) $(DEST_BIN)/$(GVIMNAME)tutor
-installtutor: $(DEST_RT) $(DEST_TUTOR)/en $(DEST_TUTOR)/it
+installtutor: $(DEST_RT) $(DEST_TUTOR)/en $(DEST_TUTOR)/it $(DEST_TUTOR)/sr
-$(INSTALL_DATA) $(TUTORSOURCE)/README* $(TUTORSOURCE)/tutor* $(DEST_TUTOR)
-$(INSTALL_DATA) $(TUTORSOURCE)/en/* $(DEST_TUTOR)/en/
-$(INSTALL_DATA) $(TUTORSOURCE)/it/* $(DEST_TUTOR)/it/
+ -$(INSTALL_DATA) $(TUTORSOURCE)/sr/* $(DEST_TUTOR)/sr/
-rm -f $(DEST_TUTOR)/*.info
chmod $(HELPMOD) $(DEST_TUTOR)/*
chmod $(DIRMOD) $(DEST_TUTOR)/en
chmod $(DIRMOD) $(DEST_TUTOR)/it
+ chmod $(DIRMOD) $(DEST_TUTOR)/sr
# Install the spell files, if they exist. This assumes at least the English
# spell file is there.
@@ -2709,8 +2713,9 @@
$(DEST_SYN)/modula2 $(DEST_SYN)/modula2/opt \
$(DEST_IND) $(DEST_FTP) \
$(DEST_LANG) $(DEST_KMAP) $(DEST_COMP) $(DEST_MACRO) \
- $(DEST_PACK) $(DEST_TOOLS) $(DEST_TUTOR) $(DEST_TUTOR)/en \
- $(DEST_TUTOR)/it \
+ $(DEST_PACK) $(DEST_TOOLS) \
+ $(DEST_TUTOR) $(DEST_TUTOR)/en $(DEST_TUTOR)/it \
+ $(DEST_TUTOR)/sr \
$(DEST_SPELL) \
$(DEST_AUTO) $(DEST_AUTO)/dist $(DEST_AUTO)/xml \
$(DEST_AUTO)/cargo $(DEST_AUTO)/rust \
@@ -2896,6 +2901,7 @@
-rm -rf $(DEST_PACK)
-rm -rf $(DEST_TUTOR)/en
-rm -rf $(DEST_TUTOR)/it
+ -rm -rf $(DEST_TUTOR)/sr
-rm -rf $(DEST_TUTOR)
-rm -rf $(DEST_SPELL)
-rm -rf $(DEST_TOOLS)
diff --git a/src/version.c b/src/version.c
index edec15e..e69088d 100644
--- a/src/version.c
+++ b/src/version.c
@@ -705,6 +705,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1058,
+/**/
1057,
/**/
1056,