From: Christian Brabandt Date: Mon, 16 Dec 2024 19:11:04 +0000 (+0100) Subject: patch 9.1.0932: new Italian tutor not installed X-Git-Tag: v9.1.0932^0 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f7d584e967e28ca9d3dab0b4726106bbcb5094d;p=thirdparty%2Fvim.git patch 9.1.0932: new Italian tutor not installed Problem: new Italian tutor not installed Solution: add Makefile rule, include it into the Filelist ("Philip H." <47042125+pheiduck@users.noreply.github.com>), update the tutors help file closes: #16215 Co-authored-by: Philip H. <47042125+pheiduck@users.noreply.github.com> Signed-off-by: Philip H. <47042125+pheiduck@users.noreply.github.com> Signed-off-by: Christian Brabandt --- diff --git a/Filelist b/Filelist index 221ad79f44..0a1d9936a2 100644 --- a/Filelist +++ b/Filelist @@ -769,6 +769,8 @@ RT_ALL = \ runtime/tutor/tutor1 \ runtime/tutor/en/vim-01-beginner.tutor \ runtime/tutor/en/vim-01-beginner.tutor.json \ + runtime/tutor/it/vim-01-beginner.tutor \ + runtime/tutor/it/vim-01-beginner.tutor.json \ runtime/tutor/tutor.tutor \ runtime/tutor/tutor.tutor.json \ runtime/tutor/tutor.vim \ diff --git a/runtime/doc/pi_tutor.txt b/runtime/doc/pi_tutor.txt index 618fe745ac..f4f86e87bd 100644 --- a/runtime/doc/pi_tutor.txt +++ b/runtime/doc/pi_tutor.txt @@ -1,4 +1,4 @@ -*pi_tutor.txt* For Vim version 9.1. Last change: 2024 Nov 09 +*pi_tutor.txt* For Vim version 9.1. Last change: 2024 Dec 16 INTERACTIVE TUTORIALS FOR VIM *vim-tutor-mode* @@ -16,21 +16,28 @@ by double-clicking them. 1.1 Commands ------------ *:Tutor* -:Tutor {tutorial} Opens a tutorial. Command-line completion for - {tutorial} is provided, the candidates are a list of - '.tutor' files found in the 'tutor/' folder in - the 'runtimepath'. Tutorials prefixed with 'vim-' +:Tutor [tutorial] Opens a tutorial. Command-line completion for + [tutorial] is provided, the candidates are a list of + ".tutor" files found in the "tutor//" folder in + the 'runtimepath'. Tutorials prefixed with "vim-" will always be shown first. - If no {tutorial} is provided, the command starts the - 'vim-01-beginner' tutorial, which is equivalent to - Vim's `vimtutor`. + If no [tutorial] is provided, the command starts the + "vim-01-beginner" tutorial, which is equivalent to + Vim's `vimtutor`, chapter 1. + Uses the translated tutorial for the current message + language if possible (|v:lang|), e.g. to open the + chapter 1 of the Italian tutor, use: > + + :lang it_IT.utf-8 + :Tutor +< ============================================================================= 2. Creating tutorials *vim-tutor-create* Writing vim-tutor-mode tutorials is easy. For an overview of the format used, -please consult the 'tutor.tutor' file: > +please consult the "tutor.tutor" file: > :Tutor tutor < diff --git a/runtime/doc/usr_01.txt b/runtime/doc/usr_01.txt index 8a513e8bb2..70a3f9bcbb 100644 --- a/runtime/doc/usr_01.txt +++ b/runtime/doc/usr_01.txt @@ -1,4 +1,4 @@ -*usr_01.txt* For Vim version 9.1. Last change: 2024 Nov 03 +*usr_01.txt* For Vim version 9.1. Last change: 2024 Dec 16 VIM USER MANUAL - by Bram Moolenaar @@ -110,8 +110,8 @@ For more info see |vimrc| and |compatible-default|. For the interactive tutor, see |vim-tutor-mode| Instead of reading the text (boring!) you can use the vimtutor to learn your -first Vim commands. This is a 30-minute tutorial that teaches the most basic -Vim functionality hands-on. +first Vim commands. This is a 30-minute tutorial provided in 2 chapters, that +teaches the most basic Vim functionality hands-on. On Unix, if Vim has been properly installed, you can start it from the shell: > diff --git a/src/Makefile b/src/Makefile index 7bb0a7ebd6..f3adaeca61 100644 --- a/src/Makefile +++ b/src/Makefile @@ -2346,7 +2346,7 @@ installrtbase: $(HELPSOURCE)/vim.1 $(DEST_VIM) $(VIMTARGET) $(DEST_RT) \ $(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_SPELL) $(DEST_COMP) + $(DEST_PLUG) $(DEST_TUTOR) $(DEST_TUTOR)/en $(DEST_TUTOR)/it $(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 @@ -2473,10 +2473,11 @@ installgtutorbin: $(DEST_BIN) installtutor: $(DEST_RT) $(DEST_TUTOR) -$(INSTALL_DATA) $(TUTORSOURCE)/README* $(TUTORSOURCE)/tutor* $(DEST_TUTOR) - -$(INSTALL_DATA) $(TUTORSOURCE)/en/* $(DEST_TUTOR)/en/ + -$(INSTALL_DATA) $(TUTORSOURCE)/en/* $(DEST_TUTOR)/en/ $(DEST_TUTOR)/it/* $(DEST_TUTOR)/it/ -rm -f $(DEST_TUTOR)/*.info chmod $(HELPMOD) $(DEST_TUTOR)/* chmod $(DIRMOD) $(DEST_TUTOR)/en + chmod $(DIRMOD) $(DEST_TUTOR)/it # Install the spell files, if they exist. This assumes at least the English # spell file is there. @@ -2674,6 +2675,7 @@ $(DESTDIR)$(exec_prefix) $(DEST_BIN) \ $(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_SPELL) \ $(DEST_AUTO) $(DEST_AUTO)/dist $(DEST_AUTO)/xml \ $(DEST_AUTO)/cargo $(DEST_AUTO)/rust \ @@ -2858,6 +2860,7 @@ uninstall_runtime: -rm -rf $(DEST_MACRO) -rm -rf $(DEST_PACK) -rm -rf $(DEST_TUTOR)/en + -rm -rf $(DEST_TUTOR)/it -rm -rf $(DEST_TUTOR) -rm -rf $(DEST_SPELL) -rm -rf $(DEST_TOOLS) diff --git a/src/version.c b/src/version.c index 82d353f1d4..307848f63e 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 */ +/**/ + 932, /**/ 931, /**/