Mercurial > vim
comparison runtime/tutor/tutor.vim @ 9555:9560a5b782ee
commit https://github.com/vim/vim/commit/42ebd066422d73cdb7bda6a1dc828a3dd022dec8
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jul 17 13:35:14 2016 +0200
Update runtime files.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 17 Jul 2016 13:45:05 +0200 |
parents | 7b83c190d370 |
children | a62eeee5f116 |
comparison
equal
deleted
inserted
replaced
9554:d32c969007f9 | 9555:9560a5b782ee |
---|---|
1 " Vim tutor support file | 1 " Vim tutor support file |
2 " Author: Eduardo F. Amatria <eferna1@platea.pntic.mec.es> | 2 " Author: Eduardo F. Amatria <eferna1@platea.pntic.mec.es> |
3 " Maintainer: Bram Moolenaar | 3 " Maintainer: Bram Moolenaar |
4 " Last Change: 2014 Jun 25 | 4 " Last Change: 2016 Jul 16 |
5 | 5 |
6 " This Vim script is used for detecting if a translation of the | 6 " This Vim script is used for detecting if a translation of the |
7 " tutor file exist, i.e., a tutor.xx file, where xx is the language. | 7 " tutor file exist, i.e., a tutor.xx file, where xx is the language. |
8 " If the translation does not exist, or no extension is given, | 8 " If the translation does not exist, or no extension is given, |
9 " it defaults to the english version. | 9 " it defaults to the english version. |
40 let s:ext = ".sr" | 40 let s:ext = ".sr" |
41 elseif s:lang =~ "Czech" | 41 elseif s:lang =~ "Czech" |
42 let s:ext = ".cs" | 42 let s:ext = ".cs" |
43 elseif s:lang =~ "Dutch" | 43 elseif s:lang =~ "Dutch" |
44 let s:ext = ".nl" | 44 let s:ext = ".nl" |
45 elseif s:lang =~ "Bulgarian" | |
46 let s:ext = ".bg" | |
45 else | 47 else |
46 let s:ext = "." . strpart(s:lang, 0, 2) | 48 let s:ext = "." . strpart(s:lang, 0, 2) |
47 endif | 49 endif |
48 endif | 50 endif |
49 endif | 51 endif |