diff --git a/.cirrus.yml b/.cirrus.yml deleted file mode 100644 index a97451419e..0000000000 --- a/.cirrus.yml +++ /dev/null @@ -1,31 +0,0 @@ -env: - CIRRUS_CLONE_DEPTH: 3 - FEATURES: huge - -freebsd_task: - name: FreeBSD - matrix: - - name: FreeBSD 15.0 - freebsd_instance: - image_family: freebsd-15-0-amd64-ufs - timeout_in: 20m - install_script: - - pkg install -y gettext diffutils - build_script: - - NPROC=$(getconf _NPROCESSORS_ONLN) - - ./configure --with-features=${FEATURES} - - make -j${NPROC} - test_script: - - src/vim --version - # run tests as user "cirrus" instead of root - - pw useradd cirrus -m - - chown -R cirrus:cirrus . - - sudo -u cirrus make test - on_failure: - test_artifacts: - name: "Cirrus-${CIRRUS_BUILD_ID}-freebsd-failed-tests" - path: | - runtime/indent/testdir/*.fail - runtime/syntax/testdir/failed/* - src/testdir/failed/* - type: application/octet-stream diff --git a/.editorconfig b/.editorconfig index 7b09a2cae1..3225dd7b96 100644 --- a/.editorconfig +++ b/.editorconfig @@ -41,10 +41,13 @@ trim_trailing_whitespace = false trim_trailing_whitespace = false # -# Some custom files do not use tabs +# Some custom files and git commit message do not use tabs # [src/sign.c] indent_style = space [src/sound.c] indent_style = space + +[.git/COMMIT_EDITMSG] +indent_style = space diff --git a/.github/MAINTAINERS b/.github/MAINTAINERS index fb7ebddf0c..10f8ecbac3 100644 --- a/.github/MAINTAINERS +++ b/.github/MAINTAINERS @@ -9,7 +9,8 @@ # So if a pull request only touches javascript files, only these owners # will be requested to review. -nsis/lang/russian.nsi @RestorerZ +runtime/autoload/beancount.vim @nathangrigg +runtime/autoload/beancountcomplete.vim @nathangrigg runtime/autoload/context.vim @lifepillar runtime/autoload/freebasic.vim @dkearns runtime/autoload/hare.vim @selenebun @@ -50,6 +51,7 @@ runtime/colors/wildcharm.vim @habamax @romainl @neutaaaaan runtime/colors/zaibatsu.vim @habamax @romainl @neutaaaaan runtime/colors/zellner.vim @habamax @romainl @neutaaaaan runtime/compiler/bash.vim @Konfekt +runtime/compiler/bean_check.vim @nathangrigg runtime/compiler/biome.vim @Konfekt runtime/compiler/cabal.vim @mateoxh runtime/compiler/checkstyle.vim @dkearns @@ -143,6 +145,7 @@ runtime/ftplugin/asy.vim @avidseeker runtime/ftplugin/autohotkey.vim @telemachus runtime/ftplugin/awk.vim @dkearns runtime/ftplugin/basic.vim @dkearns +runtime/ftplugin/beancount.vim @nathangrigg runtime/ftplugin/bicep.vim @scottmckendry runtime/ftplugin/bicep-params.vim @scottmckendry runtime/ftplugin/brighterscript.vim @ribru17 @@ -251,6 +254,7 @@ runtime/ftplugin/liquid.vim @tpope runtime/ftplugin/logtalk.dict @pmoura runtime/ftplugin/logtalk.vim @pmoura runtime/ftplugin/lua.vim @dkearns +runtime/ftplugin/luau.vim @lopi-py runtime/ftplugin/lynx.vim @dkearns runtime/ftplugin/m17ndb.vim @dseomn runtime/ftplugin/m3build.vim @dkearns @@ -363,6 +367,7 @@ runtime/import/dist/vimhighlight.vim @lacygoill runtime/indent/arduino.vim @k-takata runtime/indent/astro.vim @wuelnerdotexe runtime/indent/basic.vim @dkearns +runtime/indent/beancount.vim @nathangrigg runtime/indent/bpftrace.vim @sgruszka runtime/indent/bst.vim @tpope runtime/indent/cdl.vim @dkearns @@ -415,6 +420,7 @@ runtime/indent/less.vim @genoma runtime/indent/liquid.vim @tpope runtime/indent/logtalk.vim @pmoura runtime/indent/lua.vim @marcuscf +runtime/indent/luau.vim @lopi-py runtime/indent/m17ndb.vim @dseomn runtime/indent/make.vim @dkearns runtime/indent/meson.vim @Liambeguin @@ -491,6 +497,7 @@ runtime/syntax/asy.vim @avidseeker runtime/syntax/autohotkey.vim @mmikeww runtime/syntax/awk.vim @dkearns runtime/syntax/basic.vim @dkearns +runtime/syntax/beancount.vim @nathangrigg runtime/syntax/bpftrace.vim @sgruszka runtime/syntax/bst.vim @tpope runtime/syntax/bzl.vim @dbarnett @@ -603,6 +610,7 @@ runtime/syntax/liquid.vim @tpope runtime/syntax/log.vim @mao-yining runtime/syntax/logtalk.vim @pmoura runtime/syntax/lua.vim @marcuscf +runtime/syntax/luau.vim @lopi-py runtime/syntax/lynx.vim @dkearns runtime/syntax/lyrics.vim @ObserverOfTime runtime/syntax/m17ndb.vim @dseomn @@ -725,8 +733,9 @@ runtime/syntax/wks.vim @anakin4747 runtime/syntax/xbl.vim @dkearns runtime/syntax/xcompose.vim @ObserverOfTime runtime/syntax/xml.vim @chrisbra +runtime/syntax/xsd.vim @chrisbra runtime/syntax/xs.vim @petdance -runtime/syntax/xslt.vim @Boobies +runtime/syntax/xslt.vim @chrisbra runtime/syntax/zserio.vim @dpelle runtime/syntax/zsh.vim @chrisbra runtime/tools/preproc_indent.vim @h-east diff --git a/.github/actions/universal-package/action.yml b/.github/actions/universal-package/action.yml index 24d6f885d0..81a4532dee 100644 --- a/.github/actions/universal-package/action.yml +++ b/.github/actions/universal-package/action.yml @@ -60,6 +60,7 @@ runs: FORMULA_DIR="$(brew --repository)/Library/Taps/macvim-dev/homebrew-deps/Formula/" mkdir -p "$FORMULA_DIR" cp ${formula}.rb "$FORMULA_DIR" + brew trust macvim-dev/deps # Uninstall the already installed formula because we want to build our own brew uninstall --ignore-dependencies ${formula} || true diff --git a/.github/labeler.yml b/.github/labeler.yml index 157f791e70..6ecb29399e 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -4,7 +4,6 @@ CI: - all: - changed-files: - any-glob-to-any-file: - - '.cirrus.yml' - '.github/dependabot.yml' - '.github/labeler.yml' - '.github/workflows/*' diff --git a/.github/workflows/ci-linux.yml b/.github/workflows/ci-linux.yml index 987fcecc8b..2bd08c452a 100644 --- a/.github/workflows/ci-linux.yml +++ b/.github/workflows/ci-linux.yml @@ -83,7 +83,7 @@ jobs: steps: - name: Checkout repository from GitHub - uses: actions/checkout@v6 + uses: actions/checkout@v6.0.3 - name: Build timeout-minutes: 15 @@ -170,7 +170,7 @@ jobs: - name: Codecov timeout-minutes: 20 if: matrix.coverage - uses: codecov/codecov-action@v6 + uses: codecov/codecov-action@v7 with: flags: linux,${{ matrix.features }}-${{ matrix.compiler }}-${{ join(matrix.extra, '-') }} token: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/ci-linux_asan.yml b/.github/workflows/ci-linux_asan.yml index daa1e25937..54dcd2dca6 100644 --- a/.github/workflows/ci-linux_asan.yml +++ b/.github/workflows/ci-linux_asan.yml @@ -37,7 +37,7 @@ jobs: steps: - name: Checkout repository from GitHub - uses: actions/checkout@v6 + uses: actions/checkout@v6.0.3 - name: Build timeout-minutes: 15 diff --git a/.github/workflows/ci-macos.yml b/.github/workflows/ci-macos.yml index 390f27effa..2ab16012c2 100644 --- a/.github/workflows/ci-macos.yml +++ b/.github/workflows/ci-macos.yml @@ -32,7 +32,7 @@ jobs: steps: - name: Checkout repository from GitHub - uses: actions/checkout@v6 + uses: actions/checkout@v6.0.3 - name: Install packages if: matrix.features == 'huge' diff --git a/.github/workflows/ci-windows.yml b/.github/workflows/ci-windows.yml index 1f676b2ca9..013d5142b1 100644 --- a/.github/workflows/ci-windows.yml +++ b/.github/workflows/ci-windows.yml @@ -117,7 +117,7 @@ jobs: echo "SODIUM_DIR=${SODIUM_DIR}" >> $GITHUB_ENV echo "GETTEXT_PATH=D:\gettext${{ matrix.arch == 'x64' && '64' || '32' }}" >> $GITHUB_ENV - - uses: msys2/setup-msys2@v2.31.1 + - uses: msys2/setup-msys2@v2.32.0 if: matrix.toolchain == 'mingw' with: update: true @@ -128,7 +128,7 @@ jobs: release: false - name: Checkout repository from GitHub - uses: actions/checkout@v6 + uses: actions/checkout@v6.0.3 - name: Create a list of download URLs shell: cmd @@ -355,7 +355,7 @@ jobs: - name: Codecov timeout-minutes: 20 if: matrix.coverage - uses: codecov/codecov-action@v6 + uses: codecov/codecov-action@v7 with: directory: src flags: windows,${{ matrix.toolchain }}-${{ matrix.arch }}-${{ matrix.features }} diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 24ef96eaf0..e5c02fbb9a 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -44,11 +44,11 @@ jobs: steps: - name: Checkout repository from github - uses: actions/checkout@v6 + uses: actions/checkout@v6.0.3 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v4.36.0 + uses: github/codeql-action/init@v4.36.2 with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. @@ -59,7 +59,7 @@ jobs: # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # If this step fails, then you should remove it and run the build manually (see below) - name: Autobuild - uses: github/codeql-action/autobuild@v4.36.0 + uses: github/codeql-action/autobuild@v4.36.2 # â„¹ï¸ Command-line programs to run using the OS shell. # 📚 https://git.io/JvXDl @@ -73,4 +73,4 @@ jobs: # make release - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v4.36.0 + uses: github/codeql-action/analyze@v4.36.2 diff --git a/.github/workflows/coverity.yml b/.github/workflows/coverity.yml deleted file mode 100644 index 04859a9758..0000000000 --- a/.github/workflows/coverity.yml +++ /dev/null @@ -1,85 +0,0 @@ -name: Coverity -on: - schedule: - - cron: '42 0 * * *' # Run once per day, to avoid Coverity's submission limits - workflow_dispatch: - -permissions: - contents: read # to fetch code (actions/checkout) - -jobs: - scan: - runs-on: ubuntu-24.04 - - env: - CC: gcc - DEBIAN_FRONTEND: noninteractive - TOKEN: ${{ secrets.COVERITY_SCAN_TOKEN }} - - steps: - - name: Checkout repository from github - if: env.TOKEN - uses: actions/checkout@v6 - - - name: Download Coverity - if: env.TOKEN - run: | - wget -q https://scan.coverity.com/download/cxx/linux64 --post-data "token=$TOKEN&project=vim" -O coverity_tool.tgz - mkdir cov-scan - tar ax -f coverity_tool.tgz --strip-components=1 -C cov-scan - - - name: Install packages - if: env.TOKEN - run: | - sudo apt-get update && sudo apt-get install -y \ - autoconf \ - gettext \ - libcanberra-dev \ - libperl-dev \ - python3-dev \ - liblua5.4-dev \ - lua5.4 \ - ruby-dev \ - tcl-dev \ - libgtk2.0-dev \ - desktop-file-utils \ - libtool-bin \ - libsodium-dev - - - name: Set up environment - if: env.TOKEN - run: | - echo "$(pwd)/cov-scan/bin" >> $GITHUB_PATH - ( - echo "NPROC=$(getconf _NPROCESSORS_ONLN)" - echo "CONFOPT=--enable-perlinterp --enable-python3interp --enable-rubyinterp --enable-luainterp --enable-tclinterp" - ) >> $GITHUB_ENV - - - name: Configure - if: env.TOKEN - run: | - ./configure --with-features=huge ${CONFOPT} --enable-fail-if-missing - # Append various warning flags to CFLAGS. - sed -i -f ci/config.mk.sed src/auto/config.mk - sed -i -f ci/config.mk.${CC}.sed src/auto/config.mk - # -O2 gives false warning and turns it into an error: - # warning: function may return address of local variable [-Wreturn-local-addr] - sed -i 's/-O2 \?//' src/auto/config.mk - - - name: Build/scan vim - if: env.TOKEN - run: | - cov-build --dir cov-int make -j${NPROC} - - - name: Submit results - if: env.TOKEN - run: | - tar zcf cov-scan.tgz cov-int - curl --form token=$TOKEN \ - --form email=$EMAIL \ - --form file=@cov-scan.tgz \ - --form version="$(git rev-parse HEAD)" \ - --form description="Automatic GHA scan" \ - 'https://scan.coverity.com/builds?project=vim' - env: - EMAIL: ${{ secrets.COVERITY_SCAN_EMAIL }} diff --git a/.github/workflows/link-check.yml b/.github/workflows/link-check.yml index 4eac572158..da69554647 100644 --- a/.github/workflows/link-check.yml +++ b/.github/workflows/link-check.yml @@ -8,7 +8,7 @@ jobs: lychee: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v6.0.3 - name: Run Lychee uses: lycheeverse/lychee-action@v2 with: diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 6b14c623fe..41de1d0b50 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -130,7 +130,7 @@ can be translated: - Menus, see [runtime/lang/README.txt][2] - Vim tutor, see [runtime/tutor/README.txt][3] - Manual pages, see [runtime/doc/\*.1][4] for examples -- Installer, see [nsis/lang/README.txt][5] +- Installer, see [nsis/lang/README.txt][5] in the [vim-win32-installer][20] repository The help files can be translated and made available separately. See https://www.vim.org/translations.php for examples. @@ -157,7 +157,7 @@ mailing list. For other questions you can join [`#vim`][19], use the [2]: https://github.com/vim/vim/blob/master/runtime/lang/README.txt [3]: https://github.com/vim/vim/blob/master/runtime/tutor/README.txt [4]: https://github.com/vim/vim/blob/master/runtime/doc/vim.1 -[5]: https://github.com/vim/vim/blob/master/nsis/lang/README.txt +[5]: https://github.com/vim/vim-win32-installer/blob/master/nsis/lang/README.txt [6]: https://github.com/vim/vim/discussions/13087 [7]: https://github.com/vim/vim/blob/master/runtime/doc/develop.txt [8]: https://vi.stackexchange.com @@ -172,3 +172,4 @@ mailing list. For other questions you can join [`#vim`][19], use the [17]: https://github.com/vim/vim/issues [18]: https://github.com/vim/vim/blob/master/src/testdir/test_codestyle.vim [19]: https://web.libera.chat/#vim +[20]: https://github.com/vim/vim-win32-installer diff --git a/Filelist b/Filelist index 53113b456a..8f36b1c66f 100644 --- a/Filelist +++ b/Filelist @@ -3,7 +3,6 @@ # Source files for all source archives. SRC_ALL = \ - .cirrus.yml \ .gitattributes \ .git-blame-ignore-revs \ .github/MAINTAINERS \ @@ -15,7 +14,6 @@ SRC_ALL = \ .github/workflows/ci-windows.yml \ .github/workflows/ci.yml \ .github/workflows/codeql-analysis.yml \ - .github/workflows/coverity.yml \ .github/workflows/link-check.yml \ .github/actions/build_vim_on_linux/action.yml \ .github/actions/test_artifacts/action.yml \ @@ -149,6 +147,9 @@ SRC_ALL = \ src/session.c \ src/sha256.c \ src/sign.c \ + src/sixel.c \ + src/kitty.c \ + src/cairo.c \ src/socketserver.c \ src/sound.c \ src/spell.c \ @@ -349,6 +350,9 @@ SRC_ALL = \ src/proto/session.pro \ src/proto/sha256.pro \ src/proto/sign.pro \ + src/proto/sixel.pro \ + src/proto/kitty.pro \ + src/proto/cairo.pro \ src/proto/socketserver.pro \ src/proto/sound.pro \ src/proto/spell.pro \ @@ -507,6 +511,12 @@ SRC_UNIX = \ src/gui_gtk4.c \ src/gui_gtk4_f.c \ src/gui_gtk4_f.h \ + src/gui_gtk4_cb.c \ + src/gui_gtk4_cb.h \ + src/gui_gtk4_da.c \ + src/gui_gtk4_da.h \ + src/gui_gtk4_tb.c \ + src/gui_gtk4_tb.h \ src/gui_gtk_res.xml \ src/gui_motif.c \ src/gui_xmdlg.c \ @@ -652,13 +662,7 @@ SRC_DOS = \ src/tee/tee.c \ src/xxd/Make_ming.mak \ src/xxd/Make_mvc.mak \ - nsis/auxiliary.nsh \ - nsis/gvim.nsi \ - nsis/Makefile \ - nsis/Make_mvc.mak \ nsis/README.txt \ - nsis/lang/*.nsi \ - nsis/lang/README.txt \ uninstall.txt \ # Source files for MS Windows without CR/LF translation (also in the extra archive). @@ -676,7 +680,6 @@ SRC_DOS_BIN = \ src/xpm/x86/lib-vc14/libXpm.lib \ src/xpm/x86/lib/libXpm.a \ runtime/bitmaps/vim.ico \ - nsis/icons.zip \ # Source files for Amiga, DOS, etc. (also in the extra archive). SRC_AMI_DOS = \ diff --git a/Makefile b/Makefile index 94fd244601..2552083a51 100644 --- a/Makefile +++ b/Makefile @@ -205,23 +205,7 @@ MINOR = 2 # - in this directory: # > make dosbin # NSIS self installing exe: -# - To get NSIS see http://nsis.sourceforge.net -# - Make sure gvim_ole.exe, vimw32.exe, installw32.exe, -# uninstallw32.exe, teew32.exe and xxdw32.exe have been build as mentioned -# above. -# - copy these files (get them from a binary archive or build them): -# gvimext.dll in src/GvimExt -# gvimext64.dll in src/GvimExt -# gvimext64.dll can be obtained from: -# https://github.com/vim/vim-win32-installer/releases -# It is part of gvim_9.1.*_x64.zip as vim/vim91/GvimExt/gvimext64.dll. -# - Make sure there is a diff.exe two levels up (get it from a previous Vim -# version). Also put winpty32.dll and winpty-agent.exe there. -# - go to ../nsis and do: -# > nmake.exe -f Make_mvc.mak all -# (takes a few minutes). -# See nsis/README.txt for details. -# - Copy gvim##.exe to the dist directory. +# See https://github.com/vim/vim-win32-installer # # 64 bit builds (these are not in the normal distribution, the 32 bit build # works just fine on 64 bit systems). @@ -410,7 +394,7 @@ amisrc: dist prepare mv dist/vim$(VERSION)src.tar.gz dist/vim$(VERSION)src.tgz # MS-DOS sources -dossrc: dist dist/$(COMMENT_SRC) license +dossrc: dist dist/$(COMMENT_SRC) -rm -rf dist/vim$(VERSION)src.zip -rm -rf dist/vim mkdir dist/vim @@ -428,9 +412,6 @@ dossrc: dist dist/$(COMMENT_SRC) license rmdir dist/vim/$(VIMRTDIR)/runtime cd dist && zip -9 -rD -z vim$(VERSION)src.zip vim <$(COMMENT_SRC) -license: - cd nsis && $(MAKE) -f Makefile $@ - dosrt: dist dist/$(COMMENT_RT) dosrt_files -rm -rf dist/vim$(VERSION)rt.zip cd dist && zip -9 -rD -z vim$(VERSION)rt.zip vim <$(COMMENT_RT) diff --git a/README_vim.md b/README_vim.md index 3e57f0e8c6..387e5b2bca 100644 --- a/README_vim.md +++ b/README_vim.md @@ -1,9 +1,7 @@ # [![Vim The editor](https://github.com/vim/vim/raw/master/runtime/vimlogo.gif)](https://www.vim.org) [![Github Build status](https://github.com/vim/vim/workflows/GitHub%20CI/badge.svg)](https://github.com/vim/vim/actions?query=workflow%3A%22GitHub+CI%22) -[![Cirrus Build Status](https://api.cirrus-ci.com/github/vim/vim.svg)](https://cirrus-ci.com/github/vim/vim) [![Coverage Status](https://codecov.io/gh/vim/vim/coverage.svg?branch=master)](https://codecov.io/gh/vim/vim?branch=master) -[![Coverity Scan](https://scan.coverity.com/projects/241/badge.svg)](https://scan.coverity.com/projects/vim) [![Debian CI](https://badges.debian.net/badges/debian/testing/vim/version.svg)](https://buildd.debian.org/vim) [![Packages](https://repology.org/badge/tiny-repos/vim.svg)](https://repology.org/metapackage/vim) [![Fossies codespell report](https://fossies.org/linux/test/vim-master.tar.gz/codespell.svg)](https://fossies.org/linux/test/vim-master.tar.gz/codespell.html) diff --git a/READMEdir/README_extra.txt b/READMEdir/README_extra.txt index 65372dd7d4..393ca5c6db 100644 --- a/READMEdir/README_extra.txt +++ b/READMEdir/README_extra.txt @@ -33,8 +33,6 @@ src/if_ole.* OLE automation interface, for MS Windows. src/GvimExt/* DLL for the "Edit with Vim" context menu entry -nsis/* NSIS script to build the self-installing MS-Windows exe - runtime/doc/*.man Preprocessed manual pages. runtime/macros/file_select.vim Vim script to browse directories (Unix only). diff --git a/ci/lychee.toml b/ci/lychee.toml index 8b9f0099f2..515e4f54d9 100644 --- a/ci/lychee.toml +++ b/ci/lychee.toml @@ -26,7 +26,6 @@ exclude = [ '^file://.*', '^https?://(www\.)?badges\.debian\.net/.*$', '^https?://(www\.)?repology\.org/.*$', - '^https?://scan\.coverity\.com/.*$', '^https?://(www\.)?img\.shields\.io/.*$', '^https?://(www\.)?fossies\.org/.*$', '^https?://(www\.)?adobe\.com.*$', diff --git a/lang/LICENSE.ja.txt b/lang/LICENSE.ja.txt new file mode 100644 index 0000000000..700064180d --- /dev/null +++ b/lang/LICENSE.ja.txt @@ -0,0 +1,73 @@ +注æ„: ã“ã®æ—¥æœ¬èªžè¨³ã¯å‚考ã®ãŸã‚ã«ç¤ºã™ã‚‚ã®ã§ã‚ã‚Šã€æ³•的効力をæŒã¡ã¾ã›ã‚“。 + å¿…ãšåŽŸæ–‡ã‚’å‚ç…§ã—ã¦ãã ã•ã„。 + +VIM ライセンス + +I) Vim ã®ã‚³ãƒ”ーを変更ã›ãšã«é…布ã™ã‚‹ã“ã¨ã¯ã€ã“ã®ãƒ©ã‚¤ã‚»ãƒ³ã‚¹æ–‡ã‚’å«ã‚ãªã‘れã°ãª + らãªã„ã“ã¨ä»¥å¤–ã«åˆ¶é™ã•れã¾ã›ã‚“。ã¾ãŸã€å¤‰æ›´ã‚’加ãˆã¦ã„ãªã„ Vim ã®ä¸€éƒ¨åˆ†ã  + ã‘ã‚’é…布ã™ã‚‹ã“ã¨ã‚‚åŒæ§˜ã«ã€ã“ã®ãƒ©ã‚¤ã‚»ãƒ³ã‚¹æ–‡ã‚’å«ã‚ãªã‘れã°ãªã‚‰ãªã„ã“ã¨ä»¥å¤– + ã«åˆ¶é™ã•れã¾ã›ã‚“。é…布物ã«ã¯ã€å¤‰æ›´ã‚’加ãˆã¦ã„ãªã„ Vim ã®ã‚½ãƒ¼ã‚¹ã‹ã‚‰ä½œæˆã— + ãŸå®Ÿè¡Œå¯èƒ½ãƒ•ァイルやã€ã‚ãªãŸç‹¬è‡ªã®èª¬æ˜Žæ›¸ã‚„ Vim script ã‚’å«ã‚ã‚‹ã“ã¨ã‚‚ã§ãã¾ + ã™ã€‚ + +II) 以下㮠4 ã¤ã®æ¡ä»¶ã‚’満ãŸã™å ´åˆã«é™ã‚Šã€Vim ã«å¤‰æ›´ (ã¾ãŸã¯æ‹¡å¼µ) を加ãˆãŸç‰© + ã‚’ã€å®Ÿè¡Œå¯èƒ½ãƒ•ァイルやソースコードもå«ã‚ã¦é…布ã™ã‚‹ã“ã¨ãŒèªã‚られã¦ã„ã¾ã™: + 1) ã“ã®ãƒ©ã‚¤ã‚»ãƒ³ã‚¹æ–‡ã‚’変更ã›ãšã«é…布物ã«å«ã‚ã‚‹ã“ã¨ã€‚ + 2) 変更ã•れ㟠Vim ã¯ä»¥ä¸‹ã® 5 ã¤ã®æ–¹æ³•ã®ã©ã‚Œã‹ã§é…布ã—ãªã‘れã°ãªã‚‰ãªã„。 + a) Vim ã«ç‹¬è‡ªã®å¤‰æ›´ã‚’加ãˆãŸå ´åˆã€é…布物ã«ã‚ãªãŸã®é€£çµ¡å…ˆã‚’明確ã«ç¤ºã—㦠+ ãã ã•ã„。メンテナーãŒã‚ãªãŸãŒé…布ã—ãŸå¤‰æ›´ã•れ㟠Vim ã®ã‚³ãƒ”ーã«ã¤ã„ + 㦠(何ã‹ã‚’) å°‹ã­ãŸã¨ãã«ã€ã‚ãªãŸãŒåŠ ãˆãŸå¤‰æ›´ã‚’ã€ã‚½ãƒ¼ã‚¹ã‚³ãƒ¼ãƒ‰ã‚‚å«ã‚ + ã¦ã€ç„¡å„Ÿã§ã€ãƒ¡ãƒ³ãƒ†ãƒŠãƒ¼ãŒåˆ©ç”¨ã§ãるよã†ã«ã—ãªã‘れã°ãªã‚Šã¾ã›ã‚“。メン + テナーã¯å…¬å¼ãªãƒãƒ¼ã‚¸ãƒ§ãƒ³ã® Vim ã«ã‚ãªãŸã®å¤‰æ›´ã‚’å–り込むãŸã‚ã®æ¨©åˆ©ã‚’ + ä¿æœ‰ã—ã¾ã™ã€‚メンテナーãŒã‚ãªãŸã®å¤‰æ›´ã‚’ã©ã®ã‚ˆã†ã«ã—ã€ã©ã†ã„ã£ãŸãƒ©ã‚¤ + センスã§é…布ã™ã‚‹ã‹ã‚’交渉ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚交渉ãŒè¡Œã‚れãªã‘れã°ã€ + ã“ã®ãƒ©ã‚¤ã‚»ãƒ³ã‚¹ã€ã‚‚ã—ãã¯ã“ã‚Œã®æ–°ã—ã„ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã®ãƒ©ã‚¤ã‚»ãƒ³ã‚¹ãŒã‚ãªãŸ + ã®å¤‰æ›´ã«é©ç”¨ã•れã¾ã™ã€‚ç¾åœ¨ã®ãƒ¡ãƒ³ãƒ†ãƒŠãƒ¼ã¯ã“ã“ã«ãƒªã‚¹ãƒˆã•れã¦ã„ã¾ã™: + https://github.com/orgs/vim/people + ã“れãŒå¤‰æ›´ã•れるã¨ãã¯é©åˆ‡ãªå ´æ‰€ã§å‘ŠçŸ¥ã•れã¾ã™(ãŠãらã vim.sf.net + ã‚„ www.vim.org ãã—㦠comp.editors)ã€‚ã‚‚ã—æœ¬å½“ã«ãƒ¡ãƒ³ãƒ†ãƒŠãƒ¼ã¨é€£çµ¡ãŒå– + れãªã„å ´åˆã«ã¯ã€ã‚ãªãŸã®å¤‰æ›´ã‚’æå‡ºã™ã‚‹ç¾©å‹™ã¯ã‚りã¾ã›ã‚“。一旦ã€ãƒ¡ãƒ³ãƒ† + ナーãŒã‚ãªãŸã®å¤‰æ›´ã‚’å—ã‘å–ã£ãŸã“ã¨ã‚’確èªã§ããŸãªã‚‰ã€å†åº¦æå‡ºã™ã‚‹å¿…è¦ + ã¯ã‚りã¾ã›ã‚“。 + b) a) ã«åŸºã¥ã„ã¦é…布ã•れãŸå¤‰æ›´ã•れ㟠Vim ã‚’å—ã‘å–ã£ãŸå ´åˆã€ãれを変更 + ã™ã‚‹ã“ã¨ãªã—ã«ã€I) ã«åŸºã¥ã„ã¦å†é…布ã§ãã¾ã™ã€‚ã•らãªã‚‹å¤‰æ›´ã‚’加ãˆãŸ + å ´åˆã€ãã®å¤‰æ›´ã«ã¯ a) ãŒé©ç”¨ã•れã¾ã™ã€‚ + c) 変更ã•れ㟠Vim ã®é…布物全ã¦ã«ã€ã‚½ãƒ¼ã‚¹ã‚³ãƒ¼ãƒ‰ã‚‚å«ã‚ã¦ã€å…¨ã¦ã®å¤‰æ›´ç‚¹ã‚’ + æä¾›ã—ã¦ãã ã•ã„。ã“れ㯠context diff ã®å½¢å¼ã§è¡Œã†ã“ã¨ãŒã§ãã¾ã™ã€‚ + ã‚ãªãŸã¯ã€ã‚ãªãŸãŒåŠ ãˆãŸæ–°ã—ã„コードã«å¯¾ã—ã¦ã©ã®ãƒ©ã‚¤ã‚»ãƒ³ã‚¹ã‚’é©ç”¨ã™ + ã‚‹ã‹é¸æŠžã§ãã¾ã™ã€‚ãã®å¤‰æ›´ã¨ãƒ©ã‚¤ã‚»ãƒ³ã‚¹ã¯ã€å…¬å¼ãªãƒãƒ¼ã‚¸ãƒ§ãƒ³ã® Vim + ã«å–り込むã“ã¨ã§ã€ä»–ã®ã‚‚ã®ã‚’制é™ã—ã¦ã¯ã„ã‘ã¾ã›ã‚“。 + d) c) ã«åŸºã¥ã„ã¦é…布ã•れãŸå¤‰æ›´ã•れ㟠Vim ãŒã‚ã‚‹ã¨ãã€æ¬¡ã®æ¡ä»¶ã‚’満ãŸã™ + å ´åˆã«é™ã‚Šã€ãã®ã‚½ãƒ¼ã‚¹ã‚³ãƒ¼ãƒ‰ã‚’å«ã‚ãšã«é…布ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™: + - ãã®å¤‰æ›´ã«é©ç”¨ã•れã¦ã„るライセンスãŒã€ãã®å¤‰æ›´ã‚’無償ã§åˆ¶é™ãªã—ã« + Vim ã®ãƒ¡ãƒ³ãƒ†ãƒŠãƒ¼ã«æä¾›ã™ã‚‹ã“ã¨ã‚’èªã‚ã€ãã—ã¦ã€Vim ã®ãƒ¡ãƒ³ãƒ†ãƒŠãƒ¼ãŒ + ãã®å¤‰æ›´ã‚’å…¬å¼ãªãƒãƒ¼ã‚¸ãƒ§ãƒ³ã® Vim ã«å–り込むã“ã¨ã‚’無償ã§åˆ¶é™ãªã—ã« + èªã‚ã¦ã„る。 + - ãã®å¤‰æ›´ã•れ㟠Vim ã®å¤‰æ›´ç‚¹ã‚’ã€æœ€å¾Œã«é…布ã—ãŸã¨ãã‹ã‚‰å°‘ãªãã¨ã‚‚ + 3 å¹´ã¯ä¿æŒã—ã¦ãã ã•ã„。ãã®æœŸé–“内ã«ã€ãƒ¡ãƒ³ãƒ†ãƒŠãƒ¼ã‚„誰ã‹ãŒãã®å¤‰æ›´ + ã«ã¤ã„㦠(何ã‹ã‚’) å°‹ã­ãŸå ´åˆã€å½¼ã‚‰ãŒãã®å¤‰æ›´ã‚’利用ã§ãるよã†ã«ã— + ãªã‘れã°ãªã‚Šã¾ã›ã‚“。 + - ãã®é…布物ã«ã‚ãªãŸã®é€£çµ¡å…ˆã‚’明確ã«ç¤ºã—ã¦ãã ã•ã„。ãã®é€£çµ¡æ–¹æ³•ã¯ã€ + ãã®å¤‰æ›´ã•れ㟠Vim ã«ç›¸å½“ã™ã‚‹é…å¸ƒç‰©ãŒæœ€å¾Œã«æä¾›ã•れã¦ã‹ã‚‰ã€å°‘ãªã + ã¨ã‚‚ 3 å¹´ã€ãã—ã¦å¯èƒ½ãªé™ã‚Šé•·ãã€æœ‰åйã§ãªã‘れã°ãªã‚Šã¾ã›ã‚“。 + e) ãã®å¤‰æ›´ã« GNU General Public License (GPL) ãŒé©ç”¨ã•れã¦ã„ã‚‹å ´åˆã€ + GNU GPL ãƒãƒ¼ã‚¸ãƒ§ãƒ³ 2ã€ã¾ãŸã¯ãれより新ã—ã„ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã«åŸºã¥ã„ã¦ã€ãã® + 変更ã•れ㟠Vim ã‚’é…布ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚ + 3) ãã®å¤‰æ›´ã•れ㟠Vim を利用ã—ã¦ã„るユーザーãŒã€ãれãŒå¤‰æ›´ã•れã¦ã„ã‚‹ã¨ç¢º + èªã§ãるよã†ã«ã€å°‘ãªãã¨ã‚‚ã€":version" ã‚³ãƒžãƒ³ãƒ‰ã‚„èµ·å‹•æ™‚ã®æŒ¨æ‹¶ãƒ¡ãƒƒã‚»ãƒ¼ + ジã«ã€å¤‰æ›´ã•れã¦ã„る旨を表示ã—ãªã‘れã°ãªã‚Šã¾ã›ã‚“。ãã®é…布物㌠2)e) + ã«ã‚ˆã‚‹ã‚‚ã®ã§ã‚ã‚‹å ´åˆã€ãã®ãƒ©ã‚¤ã‚»ãƒ³ã‚¹ãŒå¤‰æ›´å‰ã®ã‚‚ã®ã¨çŸ›ç›¾ã—ã¦ã„ãªã„〠+ ã¨ã„ã†æ—¨ã®ãƒ¡ãƒƒã‚»ãƒ¼ã‚¸ã ã‘ãŒå¿…è¦ã§ã™ã€‚ + 4) 2)a) 㨠2)d) ã«ã‚ˆã‚Šè¦æ±‚ã•れã¦ã„る連絡方法をã€ãã®æœ¬äººãŒè¨‚æ­£ã™ã‚‹ä»¥å¤– + ã«ã€å¤‰æ›´ã—ãŸã‚Šå‰Šé™¤ã—ã¦ã¯ã„ã‘ã¾ã›ã‚“。 + +III) 変更ã•れ㟠Vim ã‚’é…布ã™ã‚‹å ´åˆã€ã‚ãªãŸã®å¤‰æ›´ã« Vim ã®ãƒ©ã‚¤ã‚»ãƒ³ã‚¹ã‚’使ã„〠+ ãã®å¤‰æ›´ã‚’ã€ã‚½ãƒ¼ã‚¹ã‚³ãƒ¼ãƒ‰ã‚‚å«ã‚ã¦ã€ãƒ¡ãƒ³ãƒ†ãƒŠãƒ¼ãŒåˆ©ç”¨ã§ãるよã†ã«ã™ã‚‹ã“ã¨ãŒ + 奨励ã•れã¦ã„ã¾ã™ã€‚ãã®ãŸã‚ã«ã¯é›»å­ãƒ¡ãƒ¼ãƒ«ã§é€ã‚‹ã‹ã€ã‚µãƒ¼ãƒãƒ¼ã«ã‚¢ãƒƒãƒ—ロード + ã—ã¦ãã® URL ã‚’é›»å­ãƒ¡ãƒ¼ãƒ«ã§çŸ¥ã‚‰ã›ã‚‹ã®ãŒæœ›ã¾ã—ã„ã§ã™ã€‚å°‘ã—ã®å¤‰æ›´ãªã‚‰ (例㈠+ ã° Makefile ã®å¤‰æ›´ãªã©) context diff ã‚’é›»å­ãƒ¡ãƒ¼ãƒ«ã§é€ã‚‹ã®ãŒã„ã„ã§ã—ょã†ã€‚ + é›»å­ãƒ¡ãƒ¼ãƒ«ã®é€ã‚Šå…ˆã¯ ã§ã™ã€‚ + +IV) Vim ã®ã‚½ãƒ¼ã‚¹ã‚„ã€ãã®ä¸€éƒ¨ã€ã¾ãŸã¯å¤‰æ›´ã•れ㟠Vimã€ã®é…布物ã‹ã‚‰ã“ã®ãƒ©ã‚¤ã‚»ãƒ³ + スを削除ã™ã‚‹ã“ã¨ã¯èªã‚られã¦ã„ã¾ã›ã‚“。望むãªã‚‰ã€ä»¥å‰ã® Vim リリースã«ã€ + ãã®æ™‚点ã®ãƒ©ã‚¤ã‚»ãƒ³ã‚¹ã§ã¯ãªãã€ã“ã®ãƒ©ã‚¤ã‚»ãƒ³ã‚¹ã‚’é©ç”¨ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚ diff --git a/lang/README.ja.txt b/lang/README.ja.txt new file mode 100644 index 0000000000..793282f804 --- /dev/null +++ b/lang/README.ja.txt @@ -0,0 +1,146 @@ +Vim ãƒãƒ¼ã‚¸ãƒ§ãƒ³ 9.2 用 README.txt: Vi IMproved + + +VIM ã¨ã¯ï¼Ÿ + +Vim ã¯ã€å¤ãã‹ã‚‰è¦ªã—ã¾ã‚Œã¦ã㟠UNIX エディタ Vi ã‚’å¤§å¹…ã«æ”¹è‰¯ã—ãŸãƒãƒ¼ã‚¸ãƒ§ãƒ³ã§ +ã™ã€‚多ãã®æ–°æ©Ÿèƒ½ãŒè¿½åŠ ã•れã¦ã„ã¾ã™ã€‚多段階ã®ã‚¢ãƒ³ãƒ‰ã‚¥ã€æ§‹æ–‡ãƒã‚¤ãƒ©ã‚¤ãƒˆã€ã‚³ãƒžãƒ³ãƒ‰ +ライン履歴ã€ã‚ªãƒ³ãƒ©ã‚¤ãƒ³ãƒ˜ãƒ«ãƒ—ã€ã‚¹ãƒšãƒ«ãƒã‚§ãƒƒã‚¯ã€ãƒ•ァイルå補完ã€ãƒ–ロックæ“作ã€ã‚¹ +クリプト言語ãªã©ã§ã™ã€‚ã¾ãŸã€ã‚°ãƒ©ãƒ•ィカルユーザーインターフェース (GUI) も利用 +å¯èƒ½ã§ã™ã€‚Vi ã¨ã®äº’æ›æ€§ã‚‚ç¶­æŒã•れã¦ã„ã‚‹ãŸã‚ã€Vi ã‚’ä½¿ã„æ…£ã‚Œã¦ã„るユーザーã¯ã™ã +ã«é¦´æŸ“ã‚ã‚‹ã§ã—ょã†ã€‚Vi ã¨ã®é•ã„ã«ã¤ã„ã¦ã¯ã€"runtime/doc/vi_diff.txt" ã‚’å‚ç…§ã— +ã¦ãã ã•ã„。 + +ã“ã®ã‚¨ãƒ‡ã‚£ã‚¿ã¯ã€ãƒ—ログラムやãã®ä»–ã®ãƒ—レーンテキストファイルã®ç·¨é›†ã«éžå¸¸ã«ä¾¿åˆ© +ã§ã™ã€‚ã™ã¹ã¦ã®ã‚³ãƒžãƒ³ãƒ‰ã¯é€šå¸¸ã®ã‚­ãƒ¼ãƒœãƒ¼ãƒ‰æ–‡å­—ã§å…¥åŠ›ã§ãã‚‹ãŸã‚ã€10æœ¬ã®æŒ‡ã§ã‚¿ã‚¤ãƒ” +ングã§ãるユーザーã¯éžå¸¸ã«é«˜é€Ÿã«ä½œæ¥­ã§ãã¾ã™ã€‚ã•らã«ã€ãƒ•ァンクションキーをコマ +ンドã«å‰²ã‚Šå½“ã¦ã‚‹ã“ã¨ãŒã§ãã€ãƒžã‚¦ã‚¹ã‚‚使用ã§ãã¾ã™ã€‚ + +Vim ã¯ã€æœ€å°é™ã®æ©Ÿèƒ½ã‚»ãƒƒãƒˆ (通常㯠vim.tiny ã¨å‘¼ã°ã‚Œã‚‹) ã§ã‚³ãƒ³ãƒ‘イルã—ãŸå ´åˆã€ +(ã»ã¼) POSIX 互æ›ã® vi 実装をæä¾›ã™ã‚‹ã“ã¨ã‚’目指ã—ã¦ã„ã¾ã™ã€‚ã“れã¯ã€å¤šãã® +Linux ディストリビューションã§ãƒ‡ãƒ•ォルト㮠vi エディタã¨ã—ã¦ä½¿ç”¨ã•れã¦ã„ã¾ã™ã€‚ + +Vim ã¯ã€MS-Windows (7ã€8ã€10ã€11)ã€macOSã€Haikuã€VMSã€ãã—ã¦ã»ã¼ã™ã¹ã¦ã® UNIX +ç³» OS ã§å‹•作ã—ã¾ã™ã€‚ä»–ã®ã‚·ã‚¹ãƒ†ãƒ ã¸ã®ç§»æ¤ã¯ãれã»ã©é›£ã—ããªã„ã¯ãšã§ã™ã€‚ +å¤ã„ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã® Vim ã¯ã€MS-DOSã€MS-Windows 95/98/Me/NT/2000/XP/Vistaã€Amiga +DOSã€Atari MiNTã€BeOSã€RISC OSã€OS/2 ã§å‹•作ã—ã¦ã„ã¾ã—ãŸãŒã€ã“れらã¯ç¾åœ¨ãƒ¡ãƒ³ãƒ† +ナンスã•れã¦ã„ã¾ã›ã‚“。 + + +é…布 + +多ãã®å ´åˆã€ãŠå¥½ã¿ã®ãƒ‘ッケージマãƒãƒ¼ã‚¸ãƒ£ã‚’使用ã—㦠Vim をインストールã§ãã¾ã™ã€‚ +Mac 㨠Linux ã«ã¯ã€Vim ã®è»½é‡ç‰ˆãŒãƒ—リインストールã•れã¦ã„ã¾ã™ãŒã€ã‚ˆã‚Šå¤šãã®æ©Ÿ +能ãŒå¿…è¦ãªå ´åˆã¯ã€åˆ¥é€” Vim をインストールã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ + +Unixã€PCã€Amigaã€ãã®ä»–ã„ãã¤ã‹ã®ã‚·ã‚¹ãƒ†ãƒ å‘ã‘ã«ã€ãれãžã‚Œåˆ¥ã®ãƒ‡ã‚£ã‚¹ãƒˆãƒªãƒ“ュー +ションãŒç”¨æ„ã•れã¦ã„ã¾ã™ã€‚ +ã“ã® README.txt ファイルã¯ãƒ©ãƒ³ã‚¿ã‚¤ãƒ ã‚¢ãƒ¼ã‚«ã‚¤ãƒ–ã«åŒæ¢±ã•れã¦ã„ã¾ã™ã€‚ã“れã«ã¯ã€ +ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã€æ§‹æ–‡ãƒ•ァイルã€ãŠã‚ˆã³ãƒ©ãƒ³ã‚¿ã‚¤ãƒ ã§ä½¿ç”¨ã•れるãã®ä»–ã®ãƒ•ァイルãŒå«ã¾ +れã¦ã„ã¾ã™ã€‚Vim を実行ã™ã‚‹ã«ã¯ã€ãƒã‚¤ãƒŠãƒªã‚¢ãƒ¼ã‚«ã‚¤ãƒ–ã¾ãŸã¯ã‚½ãƒ¼ã‚¹ã‚¢ãƒ¼ã‚«ã‚¤ãƒ–ã®ã„ãš +れã‹ã‚’入手ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ +ã©ã¡ã‚‰ãŒå¿…è¦ã‹ã¯ã€å®Ÿè¡Œã—ãŸã„システムã¨ã€è‡ªåˆ†ã§ã‚³ãƒ³ãƒ‘イルã™ã‚‹å¿…è¦ãŒã‚ã‚‹ã‹ã©ã†ã‹ +ã«ã‚ˆã£ã¦ç•°ãªã‚Šã¾ã™ã€‚ +ç¾åœ¨åˆ©ç”¨å¯èƒ½ãªãƒ‡ã‚£ã‚¹ãƒˆãƒªãƒ“ãƒ¥ãƒ¼ã‚·ãƒ§ãƒ³ã®æ¦‚è¦ã«ã¤ã„ã¦ã¯ã€ +"https://www.vim.org/download.php" ã‚’å‚ç…§ã—ã¦ãã ã•ã„。 + +最新版㮠Vim を入手ã§ãる一般的ãªå ´æ‰€: +* GitHub ã® Git リãƒã‚¸ãƒˆãƒªã‚’確èªã—ã¦ãã ã•ã„: https://github.com/vim/vim +* ソースコードをアーカイブã¨ã—ã¦å…¥æ‰‹ã§ãã¾ã™: https://github.com/vim/vim/tags +* vim-win32-installer リãƒã‚¸ãƒˆãƒªã‹ã‚‰ Windows 実行ファイルを入手ã§ãã¾ã™: + https://github.com/vim/vim-win32-installer/releases + + +コンパイル + +ãƒã‚¤ãƒŠãƒªç‰ˆã‚’入手ã—ãŸå ´åˆã¯ã€Vim をコンパイルã™ã‚‹å¿…è¦ã¯ã‚りã¾ã›ã‚“。ソース版を入 +手ã—ãŸå ´åˆã¯ã€Vim ã®ã‚³ãƒ³ãƒ‘イルã«å¿…è¦ãªã™ã¹ã¦ã®ãƒ•ァイル㌠"src" ディレクトリ㫠+ã‚りã¾ã™ã€‚手順㯠src/INSTALL ファイルをå‚ç…§ã—ã¦ãã ã•ã„。 + + +インストール + +システム固有ã®ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«æ‰‹é †ã«ã¤ã„ã¦ã¯ã€ä»¥ä¸‹ã®ã„ãšã‚Œã‹ã®ãƒ•ァイルをå‚ç…§ã—ã¦ã +ã ã•ã„。READMEdir ディレクトリ(リãƒã‚¸ãƒˆãƒªå†…)ã¾ãŸã¯æœ€ä¸Šä½ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªï¼ˆã‚¢ãƒ¼ã‚« +イブを解å‡ã—ãŸå ´åˆï¼‰ã«ã€ä»¥ä¸‹ã®ãƒ•ァイルãŒã‚りã¾ã™ã€‚ + +README_ami.txt Amiga +README_unix.txt Unix +README_dos.txt MS-DOS ãŠã‚ˆã³ MS-Windows +README_mac.txt Macintosh +README_haiku.txt Haiku +README_vms.txt VMS + +使用ã—ã¦ã„るディストリビューションã«ã‚ˆã£ã¦ã¯ã€ä»–ã«ã‚‚ README_*.txt ファイルãŒå­˜ +在ã™ã‚‹å ´åˆãŒã‚りã¾ã™ã€‚ + + +ドキュメント + +Vim ãƒãƒ¥ãƒ¼ã‚¿ãƒ¼ã¯ã€åˆå¿ƒè€…å‘ã‘ã® 1 時間ã®ãƒˆãƒ¬ãƒ¼ãƒ‹ãƒ³ã‚°ã‚³ãƒ¼ã‚¹ã§ã™ã€‚多ãã®å ´åˆã€ +"vimtutor" ã§èµ·å‹•ã§ãã¾ã™ã€‚詳ã—ãã¯ã€":help tutor" ã‚’å‚ç…§ã—ã¦ãã ã•ã„。 + +Vim ã§ã¯ã€":help" を使用ã™ã‚‹ã®ãŒæœ€é©ã§ã™ã€‚実行ファイルãŒãªã„å ´åˆã¯ã€ +"runtime/doc/help.txt" ã‚’ãŠèª­ã¿ãã ã•ã„。他ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆãƒ•ァイルã¸ã®ãƒªãƒ³ã‚¯ãŒ +å«ã¾ã‚Œã¦ã„ã¾ã™ã€‚ +ユーザーマニュアルã¯ã¾ã‚‹ã§æœ¬ã®ã‚ˆã†ã«èª­ã¿ã‚„ã™ãã€Vim ã®ä½¿ã„方を学ã¶ã®ã«ãŠå‹§ã‚ã§ +ã™ã€‚":help user-manual" ã‚’å‚ç…§ã—ã¦ãã ã•ã„。 + + +複製・é…布æ¡ä»¶ + +Vim ã¯ãƒãƒ£ãƒªãƒ†ã‚£ã‚¦ã‚§ã‚¢ã§ã™ã€‚自由ã«åˆ©ç”¨ãƒ»ã‚³ãƒ”ーã§ãã¾ã™ãŒã€ã‚¦ã‚¬ãƒ³ãƒ€ã®å­¤å…支æ´ã® +ãŸã‚ã®å¯„付ã«ã”å”力ã„ãŸã ã‘れã°å¹¸ã„ã§ã™ã€‚詳細ã¯ã€"runtime/doc/uganda.txt" ファ +イルをã”覧ãã ã•ã„(Vim 内㧠":help uganda" ã¨å…¥åŠ›ã—ã¦ãã ã•ã„)。 + +ãƒ©ã‚¤ã‚»ãƒ³ã‚¹ã®æ¦‚è¦: Vim ã®æœªæ”¹å¤‰ã‚³ãƒ”ーã®ä½¿ç”¨ãƒ»é…布ã«åˆ¶é™ã¯ã‚りã¾ã›ã‚“。Vim ã®ä¸€éƒ¨ +ã‚’é…布ã™ã‚‹ã“ã¨ã‚‚å¯èƒ½ã§ã™ãŒã€ãƒ©ã‚¤ã‚»ãƒ³ã‚¹æ–‡ã‚’å¿…ãšå«ã‚ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚改変版ã«ã¯ +ã„ãã¤ã‹ã®åˆ¶é™ãŒã‚りã¾ã™ã€‚ライセンス㯠GPL 互æ›ã§ã™ã€‚GPL ライブラリを使用ã—㦠+Vim をコンパイルã—ã€é…布ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚ + + +スãƒãƒ³ã‚µãƒ¼ã‚·ãƒƒãƒ— + +ãƒã‚°ä¿®æ­£ã‚„新機能ã®è¿½åŠ ã«ã¯ã€å¤šãã®æ™‚é–“ã¨åŠ´åŠ›ãŒå¿…è¦ã§ã™ã€‚Vim ã®é–‹ç™ºã¸ã®æ„Ÿè¬ã®æ°— +æŒã¡ã‚’表ã—ã€é–‹ç™ºè€…ã®ãƒ¢ãƒãƒ™ãƒ¼ã‚·ãƒ§ãƒ³ã‚’高ã‚ã‚‹ãŸã‚ã«ã€ãœã²ã”寄付をãŠé¡˜ã„ã„ãŸã—ã¾ +ã™ã€‚ + +ã”寄付ã„ãŸã ã„ãŸè³‡é‡‘ã¯ã€ä¸»ã«ã‚¦ã‚¬ãƒ³ãƒ€ã®å­ã©ã‚‚ãŸã¡ã®æ”¯æ´ã«æ´»ç”¨ã•ã›ã¦ã„ãŸã ãã¾ +ã™ã€‚詳細㯠"runtime/doc/uganda.txt" ã‚’ã”覧ãã ã•ã„ã€‚åŒæ™‚ã«ã€ã”寄付ã¯é–‹ç™ºãƒãƒ¼ãƒ  +ã® Vim 開発ã¸ã®æ„欲を高ã‚ã‚‹ã“ã¨ã«ã‚‚繋ãŒã‚Šã¾ã™ã€‚ + +スãƒãƒ³ã‚µãƒ¼ã‚·ãƒƒãƒ—ã«é–¢ã™ã‚‹æœ€æ–°æƒ…å ±ã¯ã€Vim ウェブサイトをã”覧ãã ã•ã„。 + https://www.vim.org/sponsor/ + + +貢献ã«ã¤ã„㦠+ +Vim ã®æ”¹å–„ã«ã”å”力ã„ãŸã ã‘ã‚‹æ–¹ã¯ã€CONTRIBUTING.md ファイルをã”覧ãã ã•ã„。 + + +情報 + +macOS ã‚’ã”利用ã®å ´åˆã¯ã€MacVim ã‚’ã”利用ã„ãŸã ã‘ã¾ã™: https://macvim.org + +Vim ã«é–¢ã™ã‚‹æœ€æ–°æƒ…å ±ã¯ã€Vim ã®ãƒ›ãƒ¼ãƒ ãƒšãƒ¼ã‚¸ã‚’ã”覧ãã ã•ã„: + https://www.vim.org/ + +å•題ãŒç™ºç”Ÿã—ãŸå ´åˆã¯ã€Vim ã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã¾ãŸã¯ãƒ’ントをã”覧ãã ã•ã„: + https://www.vim.org/docs.php + https://vim.fandom.com/wiki/Vim_Tips_Wiki + +ãれã§ã‚‚å•題ãŒè§£æ±ºã—ãªã„å ´åˆã€ã¾ãŸã¯ãã®ä»–ã®ã”質å•ãŒã‚ã‚‹å ´åˆã¯ã€ä»¥ä¸‹ã®ãƒ¡ãƒ¼ãƒªãƒ³ +グリストをã”利用ãã ã•ã„。Vim ユーザーや開発者ã¨è­°è«–ã§ãã¾ã™: + https://www.vim.org/maillist.php + +ãれã§ã‚‚解決ã—ãªã„å ´åˆã¯ã€vim-dev メーリングリストã«ç›´æŽ¥ãƒã‚°ã‚’報告ã—ã¦ãã ã•ã„: + + + +主ãªè‘—者 + +Vim ã®å¤§éƒ¨åˆ†ã¯ã€Bram Moolenaar ã«ã‚ˆã£ã¦ä½œæˆã•れã¾ã—ãŸã€‚ +":help Bram-Moolenaar" + +ãã®ä»–ã®ã”æ„見ã€ãƒ‘ッãƒã€ã”ææ¡ˆã¯ã€vim-devメーリングリストã¾ã§ãŠé€ã‚Šãã ã•ã„: + diff --git a/nsis/Make_mvc.mak b/nsis/Make_mvc.mak deleted file mode 100644 index a1f1ae4b34..0000000000 --- a/nsis/Make_mvc.mak +++ /dev/null @@ -1,95 +0,0 @@ -# -# Makefile for MS Windows for create self-installing exe of Vim. -# 2025-10-03, Restorer, restorer@mail2k.ru -# - - -# included common tools -!INCLUDE ..\src\auto\nmake\tools.mak - -.SUFFIXES : - -!IFDEF PROGRAMW6432 -ProgFiles=%%PROGRAMFILES(x86)%% -!ELSE -ProgFiles=$(PROGRAMFILES) -!ENDIF - -!IFDEF VIMSRC -MKNSISFLAGS = /D"VIMSRC=$(VIMSRC)" -!ENDIF - -!IFDEF VIMRT -MKNSISFLAGS = $(MKNSISFLAGS) /D"VIMRT=$(VIMRT)" -!ENDIF - -!IFDEF VIMTOOLS -MKNSISFLAGS = $(MKNSISFLAGS) /D"VIMTOOLS=$(VIMTOOLS)" -!ENDIF - -!IFDEF GETTEXT -MKNSISFLAGS = $(MKNSISFLAGS) /D"GETTEXT=$(GETTEXT)" -!ENDIF - -!IFDEF HAVE_UPX -MKNSISFLAGS = $(MKNSISFLAGS) /DHAVE_UPX=$(HAVE_UPX) -!ENDIF - -!IFDEF HAVE_NLS -MKNSISFLAGS = $(MKNSISFLAGS) /DHAVE_NLS=$(HAVE_NLS) -!ENDIF - -!IFDEF HAVE_MULTI_LANG -MKNSISFLAGS = $(MKNSISFLAGS) /DHAVE_MULTI_LANG=$(HAVE_MULTI_LANG) -!ENDIF - -!IFDEF WIN64 -MKNSISFLAGS = $(MKNSISFLAGS) /DWIN64=$(WIN64) -!ENDIF - -!IFDEF ARM64 -MKNSISFLAGS = $(MKNSISFLAGS) /DARM64=$(ARM64) -!ENDIF - -!IFDEF INCLUDE_LIBGCC -MKNSISFLAGS = $(MKNSISFLAGS) /DINCLUDE_LIBGCC=$(INCLUDE_LIBGCC) -!ENDIF - -!IFDEF X -XX = /X"$(X:;=" /X")" -!ENDIF - -# If necessary, correct the full path of the NSIS compiler in the next line. -# Please do not enclose the path in quotation marks. -MKNSIS = $(ProgFiles)\NSIS\makensis.exe - -MKNSISFLAGS = /INPUTCHARSET UTF8 $(MKNSISFLAGS) - - -all : makeinst - -makeinst : prepare - ^"$(MKNSIS)" $(MKNSISFLAGS) gvim.nsi $(XX) - -prepare : unzipicons license rename - -unzipicons : icons.zip - @ if exist %|fF\nul $(RD) %|fF - @ $(PS) $(PSFLAGS) \ - Add-Type -AssemblyName 'System.IO.Compression.FileSystem'; \ - [System.IO.Compression.ZipFile]::ExtractToDirectory('$**', '.') - -license : ..\lang\LICENSE.*.txt ..\LICENSE - !@ $(PS) $(PSFLAGS) \ - Get-Content -Path '$**' -Encoding UTF8 ^| \ - Set-Content -Path '..\lang\$(**B).nsis.txt' -Enc Unicode -Force - -rename : - @ ..\tools\rename.bat "$(SRC)" "$(DST)" 1> nul - -clean : - @ if exist ..\lang\LICENSE*.nsis.txt $(RM) ..\lang\LICENSE*.nsis.txt - @ if exist .\icons\nul $(RD) .\icons - @ if exist .\gvim??.exe $(RM) .\gvim??.exe - -# vim: set noet sw=8 ts=8 sts=0 wm=0 tw=79 ft=make: diff --git a/nsis/Makefile b/nsis/Makefile deleted file mode 100644 index 4b51b2ac71..0000000000 --- a/nsis/Makefile +++ /dev/null @@ -1,82 +0,0 @@ -# -# Makefile for UNIX-like for create self-installing exe of Vim. -# 2025-10-03, Restorer, restorer@mail2k.ru -# - - -.SUFFIXES: -.PHONY: all makeinst prepare rename clean - -ifdef VIMSRC -MKNSISFLAGS := -D"VIMSRC=$(VIMSRC)" -endif - -ifdef VIMRT -MKNSISFLAGS := $(MKNSISFLAGS) -D"VIMRT=$(VIMRT)" -endif - -ifdef VIMTOOLS -MKNSISFLAGS := $(MKNSISFLAGS) -D"VIMTOOLS=$(VIMTOOLS)" -endif - -ifdef GETTEXT -MKNSISFLAGS := $(MKNSISFLAGS) -D"GETTEXT=$(GETTEXT)" -endif - -ifdef HAVE_UPX -MKNSISFLAGS := $(MKNSISFLAGS) -DHAVE_UPX=$(HAVE_UPX) -endif - -ifdef HAVE_NLS -MKNSISFLAGS := $(MKNSISFLAGS) -DHAVE_NLS=$(HAVE_NLS) -endif - -ifdef HAVE_MULTI_LANG -MKNSISFLAGS := $(MKNSISFLAGS) -DHAVE_MULTI_LANG=$(HAVE_MULTI_LANG) -endif - -ifdef WIN64 -MKNSISFLAGS := $(MKNSISFLAGS) -DWIN64=$(WIN64) -endif - -ifdef ARM64 -MKNSISFLAGS := $(MKNSISFLAGS) -DARM64=$(ARM64) -endif - -ifdef INCLUDE_LIBGCC -MKNSISFLAGS := $(MKNSISFLAGS) -DINCLUDE_LIBGCC=$(INCLUDE_LIBGCC) -endif - -ifdef X -XX := -X"$(X:;=" -X")" -endif - -MKNSISFLAGS := -INPUTCHARSET UTF8 $(MKNSISFLAGS) - -all: makeinst - -makeinst: prepare - makensis $(MKNSISFLAGS) gvim.nsi $(XX) - -prepare: unzipicons license rename - -unzipicons: icons.zip - if test -d `basename $? .zip` ; then rm -rf `basename $? .zip` ; fi - unzip $? - -license: ../lang/LICENSE.*.txt ../LICENSE - for lic in $? ; do \ - bn=`basename $$lic .txt` ; \ - awk 'sub("$$", "\r")' < $$lic | \ - iconv -f UTF-8 -t UTF-16 > ../lang/$$bn.nsis.txt ; \ - done - -rename: - ../tools/rename.bat "$(SRC)" "$(DST)" - -clean: - rm -f ../lang/LICENSE*.nsis.txt - if test -d icons ; then rm -rf icons ; fi - if test -f gvim??.exe ; then rm -f gvim??.exe ; fi - -# vim: set noet sw=8 ts=8 sts=0 wm=0 tw=0 ft=make: diff --git a/nsis/README.txt b/nsis/README.txt index 01c6c5d3b0..f7e72a02e3 100644 --- a/nsis/README.txt +++ b/nsis/README.txt @@ -1,112 +1,4 @@ -This builds a one-click install for Vim for MS Windows using the Nullsoft -Installation System (NSIS), available at http://nsis.sourceforge.net/ +The code for the one-click installer for Vim for MS Windows has been moved to +the vim-win32-installer repository. -To build the installable .exe file: - -Preparatory stage - -1. Clone using the git tool the Vim repository or download its zip file - available at: - https://github.com/vim/vim - -2. Go to the "/src" directory and build the Vim editor, making sure to use the - following variable values: "GUI=yes"; "OLE=yes"; "VIMDLL=yes". See - INSTALLpc.txt and Make_mvc.mak for details. - -3. Go to the GvimExt directory and build gvimext.dll (or get it from a binary - archive). Both 64- and 32-bit versions are needed and should be placed - as follows: - 64-bit: src/GvimExt/gvimext64.dll - 32-bit: src/GvimExt/gvimext.dll - -4. Get a "diff.exe" program. If you skip this the built-in diff will always - be used (which is fine for most users). - You can find one in previous Vim versions or in this archive: - https://www.mediafire.com/file/9edk4g3xvfgzby0/diff4Vim.zip/file - When will you have "diff.exe" put it in the "../.." directory (above the - "vim91" directory, it's the same for all Vim versions). However, you can - specify a different directory by specifying the appropriate makefile value. - How to do this is described below. - -5. For the terminal window to work in Vim, the library winpty is required. - You can get it at the following url: - https://github.com/rprichard/winpty/releases/download/0.4.3/winpty-0.4.3-msvc2015.zip - For the 32-bit version, rename "winpty.dll" from ia32/bin to "winpty32.dll", - and for the 64-bit version — "winpty.dll" from x64/bin to "winpty64.dll". - Put the renamed file and "winpty-agent.exe" in "../.." (above the "vim91" - directory). However, you can specify a different directory by specifying - the appropriate makefile value. How to do this is described below. - -6. To use stronger encryption, add the Sodium library. You can get it here: - https://github.com/jedisct1/libsodium/releases/download/1.0.19-RELEASE/libsodium-1.0.19-msvc.zip - Unpack the archive. Put the "libsodium.dll" from - path/to/libsodium/Win32/Release/v143/dynamic for the 32â€bit version or - path/to/libsodium/X64/Release/v143/dynamic for the 64â€bit version in the - "../.." directory (above the "vim91" directory, where "diff.exe" and - "winpty{32|64}.dll"). - -7. Get gettext and iconv DLLs from the following site: - https://github.com/mlocati/gettext-iconv-windows/releases - Both 64- and 32-bit versions are needed. - Download the files gettextX.X.X.X-iconvX.XX-shared-{32,64}.zip, extract - DLLs and place them as follows: - - - | - + gettext32/ - | libintl-8.dll - | libiconv-2.dll - | libgcc_s_sjlj-1.dll - | - + gettext64/ - libintl-8.dll - libiconv-2.dll - - The default is "../..". However, you can specify a - different directory by specifying the appropriate makefile value. How to do - this is described below. - -8. Install NSIS if you didn't do that already. - Download Unicode version the ShellExecAsUser plug-in for NSIS from: - https://nsis.sourceforge.io/ShellExecAsUser_plug-in - and put "ShellExecAsUser.dll" to path\to\NSIS\Plugins\x86-unicode - -Installer assembly stage - - On MS Windows, open the Developer Command Prompt for VS and go to the - "/nsis" directory and type the command - nmake.exe -lf Make_mvc.mak [variables] all - - After the installer is created and you copy it to the desired location, run - the following command in the "/nsis" directory - nmake.exe -lf Make_mvc.mak clean - - On UNIX-like systems, go to the "/nsis" directory and type the command - make -f Makefile [variables] all - - After the installer is created and you copy it to the desired location, run - the following command in the "/nsis" directory - make -f Makefile clean - -Variables and their values available for building the installer (not mandatory): - - "VIMSRC=" — directory where location of gvim_ole.exe, vimw32.exe, - GvimExt/*, etc. - "VIMRT=" — directory where location of runtime files. - "VIMTOOLS=" — directory where location of extra tools: diff.exe, - winpty{32|64}.dll, winpty-agent.exe, libsodium.dll. - "GETTEXT=" — directory where location of gettext libraries. - "HAVE_UPX=1" — additional compression of the installer. UPX program - must be installed. - "HAVE_NLS=0" — do not add native language support. - "HAVE_MULTI_LANG=0" — to create an English-only the installer. - "WIN64=1" — to create a 64-bit the installer. - "ARM64=1" — to create the installer for ARM64. The WIN64 variable - must be set to 1. - "X=" — executes scriptcmd in script. If multiple scriptcmd - are specified, they are separated by a semicolon. - Example "X=OutFile MyVim.exe;XPMode on" - "MKNSIS=" — the directory where the "makensis.exe" program is - located. - -Note: for icons used in the installer, see the README.txt in the icons.zip + https://github.com/vim/vim-win32-installer/tree/master/nsis diff --git a/nsis/auxiliary.nsh b/nsis/auxiliary.nsh deleted file mode 100644 index c350f69e0b..0000000000 --- a/nsis/auxiliary.nsh +++ /dev/null @@ -1,148 +0,0 @@ -# -*- coding: utf-8 -*- -# NSIS helper file for creating a self-installing exe for Vim. -# Contains service macros and functions. -# Last Change: 2025-09-03 -# - -!ifndef __AUXILIARY__NSH__ - !define __AUXILIARY__NSH__ - -# See https://nsis.sourceforge.io/LogicLib -;FileExists is already part of LogicLib, but returns true for directories -;as well as files - !macro _FileExists2 _a _b _t _f - !insertmacro _LOGICLIB_TEMP - StrCpy $_LOGICLIB_TEMP "0" -;if path is not blank, continue to next check - StrCmp `${_b}` `` +4 0 -;if path exists, continue to next check (IfFileExists returns true if this -;is a directory) - IfFileExists `${_b}` `0` +3 -;if path is not a directory, continue to confirm exists - IfFileExists `${_b}\*.*` +2 0 - StrCpy $_LOGICLIB_TEMP "1" ;file exists -;now we have a definitive value - the file exists or it does not - StrCmp $_LOGICLIB_TEMP "1" `${_t}` `${_f}` - !macroend - !undef FileExists - !define FileExists `"" FileExists2` - !macro _DirExists _a _b _t _f - !insertmacro _LOGICLIB_TEMP - StrCpy $_LOGICLIB_TEMP "0" -;if path is not blank, continue to next check - StrCmp `${_b}` `` +3 0 -;if directory exists, continue to confirm exists - IfFileExists `${_b}\*.*` 0 +2 - StrCpy $_LOGICLIB_TEMP "1" - StrCmp $_LOGICLIB_TEMP "1" `${_t}` `${_f}` - !macroend - !define DirExists `"" DirExists` - -# Get parent directory -# Share this function both on installer and uninstaller - !macro GetParent un - Function ${un}GetParent - Exch $0 ; old $0 is on top of stack - Push $1 - Push $2 - StrCpy $1 -1 - ${Do} - StrCpy $2 $0 1 $1 - ${If} $2 == "" - ${OrIf} $2 == "\" - ${ExitDo} - ${EndIf} - IntOp $1 $1 - 1 - ${Loop} - StrCpy $0 $0 $1 - Pop $2 - Pop $1 - Exch $0 ; put $0 on top of stack, restore $0 to original value - FunctionEnd - !macroend - - !insertmacro GetParent "" - !insertmacro GetParent "un." - -# Get home directory - !macro GetHomeDir un - Function ${un}GetHomeDir - Push $0 - Push $1 - ReadEnvStr $0 "HOME" - ${If} $0 == "" - ReadEnvStr $0 "HOMEDRIVE" - ReadEnvStr $1 "HOMEPATH" - StrCpy $0 "$0$1" - ${If} $0 == "" - ReadEnvStr $0 "USERPROFILE" - ${EndIf} - ${EndIf} - Pop $1 - Exch $0 ; put $0 on top of stack, restore $0 to original value - FunctionEnd - !macroend - - !insertmacro GetHomeDir "" - !insertmacro GetHomeDir "un." - -# Saving the status of sections of the current installation in the registry - !macro SaveSectionSelection section_id reg_value - ${If} ${SectionIsSelected} ${section_id} - WriteRegDWORD HKLM "${UNINST_REG_KEY_VIM}" ${reg_value} 1 - ${Else} - WriteRegDWORD HKLM "${UNINST_REG_KEY_VIM}" ${reg_value} 0 - ${EndIf} - !macroend - -# Reading the status of sections from the registry of the previous installation - !macro LoadSectionSelection section_id reg_value - ClearErrors - ReadRegDWORD $3 HKLM "${UNINST_REG_KEY_VIM}" ${reg_value} - ${IfNot} ${Errors} - ${If} $3 = 1 - !insertmacro SelectSection ${section_id} - ${Else} - !insertmacro UnselectSection ${section_id} - ${EndIf} - ${EndIf} - !macroend - -# Reading the settings for _vimrc from the registry of a previous installation - !macro LoadDefaultVimrc out_var reg_value default_value - ClearErrors - ReadRegStr ${out_var} HKLM "${UNINST_REG_KEY_VIM}" ${reg_value} - ${If} ${Errors} - ${OrIf} ${out_var} == "" - StrCpy ${out_var} ${default_value} - ${EndIf} - !macroend - -# Get user locale - !if ${HAVE_NLS} - Var lng_usr ; variable containing the locale of the current user - - !include "StrFunc.nsh" - ${StrRep} - - Function GetUserLocale - ClearErrors - System::Call \ - 'kernel32::GetUserDefaultLocaleName(t.r19, *i${NSIS_MAX_STRLEN})' - StrCmp $R9 "zh-cn" coincide 0 - StrCmp $R9 "zh-tw" coincide 0 - StrCmp $R9 "pt-br" 0 part - coincide: - System::Call 'User32::CharLower(t r19 r19)*i${NSIS_MAX_STRLEN}' - ${StrRep} $lng_usr "$R9" "-" "_" - Goto done - part: - StrCpy $lng_usr $R9 2 - done: - FunctionEnd - !endif - - - -!endif # __AUXILIARY__NSH__ -# vi:set ts=8 sw=2 sts=2 tw=79 wm=0 ft=nsis: diff --git a/nsis/gvim.nsi b/nsis/gvim.nsi deleted file mode 100644 index 02751ce90a..0000000000 --- a/nsis/gvim.nsi +++ /dev/null @@ -1,1157 +0,0 @@ -# -*- coding: utf-8 -*- -# NSIS file to create a self-installing exe for Vim. -# It requires NSIS version 3.0 or later. -# Last Change: 2025-09-30 -# - -Unicode true ; !include defaults to UTF-8 after Unicode True since 3.0 Alpha 2 - -# WARNING: if you make changes to this script, look out for $0 to be valid, -# because uninstall deletes most files in $0. - -# Location of gvim_ole.exe, vimw32.exe, GvimExt/*, etc. -!ifndef VIMSRC - !define VIMSRC "..\src" -!endif - -# Location of runtime files -!ifndef VIMRT - !define VIMRT "..\runtime" -!endif - -# Location of extra tools: diff.exe, winpty{32|64}.dll, winpty-agent.exe, etc. -!ifndef VIMTOOLS - !define VIMTOOLS "..\.." -!endif - -# Location of gettext. -# It must contain two directories: gettext32 and gettext64. -# See README.txt for detail. -!ifndef GETTEXT - !define GETTEXT ${VIMTOOLS} -!endif - -# If you have UPX, use the switch /DHAVE_UPX=1 on the command line makensis.exe. -# This property will be set to 1. Get it at https://upx.github.io/ -!ifndef HAVE_UPX - !define HAVE_UPX 0 -!endif - -# If you do not want to add Native Language Support, use the switch /DHAVE_NLS=0 -# in the command line makensis.exe. This property will be set to 0. -!ifndef HAVE_NLS - !define HAVE_NLS 1 -!endif - -# To create an English-only the installer, use the switch /DHAVE_MULTI_LANG=0 on -# the command line makensis.exe. This property will be set to 0. -!ifndef HAVE_MULTI_LANG - !define HAVE_MULTI_LANG 1 -!endif - -# if you want to create a 64-bit the installer, use the switch /DWIN64=1 on -# the command line makensis.exe. This property will be set to 1. -!ifndef WIN64 - !define WIN64 0 -!endif - -# if you want to create the installer for ARM64, use the /DARM64=1 on -# the command line makensis.exe. This property will be set to 1. -!ifndef ARM64 - !define ARM64 0 -!else - !if ${ARM64} > 0 - !if ${WIN64} < 1 - !define /redef WIN64 1 - !endif - !endif -!endif - -# if you don't want to include libgcc_s_sjlj-1.dll in the package, use the -# switch /DINCLUDE_LIBGCC=0 on the command line makensis.exe. -!ifndef INCLUDE_LIBGCC - !define INCLUDE_LIBGCC 1 -!endif - -# Get version numbers -!getdllversion "${VIMSRC}\gvim_ole.exe" VimVer_ -!echo "Vim version MAJOR=${VimVer_1} MINOR=${VimVer_2} PATCHLEVEL=${VimVer_3}" - -!ifndef VER_MAJOR - !define VER_MAJOR ${VimVer_1} -!endif -!ifndef VER_MINOR - !define VER_MINOR ${VimVer_2} -!endif -!ifndef PATCHLEVEL - !define PATCHLEVEL ${VimVer_3} -!endif - -# ----------- No configurable settings below this line ----------- - -########################################################## -# Installer Attributes, Including headers, Plugins and etc. - -CRCCheck force - -SetCompressor /SOLID lzma -SetCompressorDictSize 64 -SetDatablockOptimize on - -!if ${HAVE_UPX} - !packhdr temp.dat "upx.exe --best --compress-icons=1 temp.dat" -!endif - -RequestExecutionLevel highest -ManifestDPIAware true -# https://github.com/NSIS-Dev/nsis/blob/691211035c2aaaebe8fbca48ee02d4de93594a52/Docs/src/attributes.but#L292 -ManifestDPIAwareness "PerMonitorV2,System" -ManifestSupportedOS \ - {35138b9a-5d96-4fbd-8e2d-a2440225f93a} /* WinNT 6.1 */ \ - {4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38} /* WinNT 6.2 */ \ - {1f676c76-80e1-4239-95bb-83d0f6d0da78} /* WinNT 6.3 */ \ - {8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a} /* WinNT 10/11 */ - -!define PRODUCT "Vim ${VER_MAJOR}.${VER_MINOR}" -!define UNINST_REG_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall" -!define UNINST_REG_KEY_VIM "${UNINST_REG_KEY}\${PRODUCT}" - -!if ${WIN64} - !define BIT 64 -# This adds '\Vim' to the user choice automagically. The actual value is -# obtained below with CheckOldVim. - !define DEFAULT_INSTDIR "$PROGRAMFILES64\Vim" - !if ${ARM64} - Name "${PRODUCT} (ARM64)" - !else - Name "${PRODUCT} (x64)" - !endif -!else - !define BIT 32 - !define DEFAULT_INSTDIR "$PROGRAMFILES\Vim" - Name "${PRODUCT}" -!endif - -OutFile gvim${VER_MAJOR}${VER_MINOR}.exe -InstallDir ${DEFAULT_INSTDIR} -BrandingText "Vim - the text editor" - -# Types of installs we can perform: -InstType $(str_type_typical) -InstType $(str_type_minimal) -InstType $(str_type_full) - -SilentInstall normal - -########################################################## -# Version resources - -VIFileVersion ${VER_MAJOR}.${VER_MINOR}.${PATCHLEVEL}.0 -VIProductVersion ${VER_MAJOR}.${VER_MINOR}.${PATCHLEVEL}.0 -VIAddVersionKey /LANG=0 "ProductName" "Vim" -VIAddVersionKey /LANG=0 "CompanyName" "The Vim Project" -VIAddVersionKey /LANG=0 "LegalTrademarks" "Vim" -VIAddVersionKey /LANG=0 "LegalCopyright" "Copyright (C) 1996" -VIAddVersionKey /LANG=0 "FileDescription" \ - "Vi Improved - A Text Editor" -VIAddVersionKey /LANG=0 "ProductVersion" \ - "${VER_MAJOR}.${VER_MINOR}.${PATCHLEVEL}.0" -VIAddVersionKey /LANG=0 "FileVersion" \ - "${VER_MAJOR}.${VER_MINOR}.${PATCHLEVEL}.0" - -########################################################## -# including headers - -!include "Library.nsh" ; for DLL install -!include "LogicLib.nsh" -!include "MUI2.nsh" ; new user interface -!include "nsDialogs.nsh" -!include "Sections.nsh" ; for section control -!include "x64.nsh" - -!include .\auxiliary.nsh ; helper file - -########################################################## -# MUI2 settings - -!define MUI_ABORTWARNING -!define MUI_UNABORTWARNING - -!define MUI_ICON "icons\in_vim_32bpp.ico" -!define MUI_UNICON "icons\un_vim_32bpp.ico" - -# Show all languages, despite user's codepage: -!define MUI_LANGDLL_ALLLANGUAGES -# Always show dialog choice language -#!define MUI_LANGDLL_ALWAYSSHOW -!define MUI_LANGDLL_REGISTRY_ROOT "HKCU" -!define MUI_LANGDLL_REGISTRY_KEY "Software\Vim" -!define MUI_LANGDLL_REGISTRY_VALUENAME "Installer Language" - -!define MUI_WELCOMEFINISHPAGE_BITMAP "icons\in_welcome.bmp" -!define MUI_UNWELCOMEFINISHPAGE_BITMAP "icons\un_welcome.bmp" -!define MUI_HEADERIMAGE -!define MUI_HEADERIMAGE_BITMAP "icons\in_header.bmp" -!define MUI_HEADERIMAGE_UNBITMAP "icons\un_header.bmp" - -!define MUI_WELCOMEFINISHPAGE_BITMAP_STRETCH "AspectFitHeight" -!define MUI_UNWELCOMEFINISHPAGE_BITMAP_STRETCH "AspectFitHeight" -!define MUI_HEADERIMAGE_BITMAP_STRETCH "AspectFitHeight" -!define MUI_HEADERIMAGE_UNBITMAP_STRETCH "AspectFitHeight" - -!define MUI_COMPONENTSPAGE_SMALLDESC -!define MUI_LICENSEPAGE_CHECKBOX -!define MUI_FINISHPAGE_SHOWREADME -!define MUI_FINISHPAGE_SHOWREADME_TEXT $(str_show_readme) -!define MUI_FINISHPAGE_SHOWREADME_FUNCTION LaunchApplication - -# Installer pages: -!insertmacro MUI_PAGE_WELCOME -!insertmacro MUI_PAGE_LICENSE $(page_lic_file) -!insertmacro MUI_PAGE_COMPONENTS -Page custom SetCustom ValidateCustom -!insertmacro MUI_PAGE_DIRECTORY -!insertmacro MUI_PAGE_INSTFILES -!define MUI_FINISHPAGE_NOREBOOTSUPPORT -!insertmacro MUI_PAGE_FINISH - -# Uninstaller pages: -!insertmacro MUI_UNPAGE_CONFIRM -!insertmacro MUI_UNPAGE_COMPONENTS -!insertmacro MUI_UNPAGE_INSTFILES -!define MUI_FINISHPAGE_NOREBOOTSUPPORT -!insertmacro MUI_UNPAGE_FINISH - -########################################################## -# Languages Files - -!insertmacro MUI_RESERVEFILE_LANGDLL -!include "lang\english.nsi" - -# Include support for other languages: -!if ${HAVE_MULTI_LANG} - !include "lang\danish.nsi" - !include "lang\dutch.nsi" - !include "lang\german.nsi" - !include "lang\greek.nsi" - !include "lang\italian.nsi" - !include "lang\japanese.nsi" - !include "lang\portuguesebr.nsi" - !include "lang\russian.nsi" - !include "lang\serbian.nsi" - !include "lang\simpchinese.nsi" - !include "lang\swedish.nsi" - !include "lang\tradchinese.nsi" - !include "lang\turkish.nsi" -!endif - -########################################################## -# Global variables -Var vim_dialog -Var vim_nsd_compat -Var vim_nsd_keymap -Var vim_nsd_mouse -Var vim_compat_stat -Var vim_keymap_stat -Var vim_mouse_stat - -########################################################## -# Reserve files -ReserveFile ${VIMSRC}\installw32.exe - -########################################################## -# Functions - -# Check if Vim is already installed. -# return: Installed directory. If not found, it will be empty. -Function CheckOldVim - Push $0 - Push $R0 - Push $R1 - Push $R2 - - ${If} ${RunningX64} - SetRegView 64 - ${EndIf} - - ClearErrors - StrCpy $0 "" ; Installed directory - StrCpy $R0 0 ; Sub-key index - StrCpy $R1 "" ; Sub-key - ${Do} - # Enumerate the sub-key: - EnumRegKey $R1 HKLM ${UNINST_REG_KEY} $R0 - - # Stop if no more sub-key: - ${If} ${Errors} - ${OrIf} $R1 == "" - ${ExitDo} - ${EndIf} - - # Move to the next sub-key: - IntOp $R0 $R0 + 1 - - # Check if the key is Vim uninstall key or not: - StrCpy $R2 $R1 4 - ${If} $R2 S!= "Vim " - ${Continue} - ${EndIf} - - # Verifies required sub-keys: - ReadRegStr $R2 HKLM "${UNINST_REG_KEY}\$R1" "DisplayName" - ${If} ${Errors} - ${OrIf} $R2 == "" - ${Continue} - ${EndIf} - - ReadRegStr $R2 HKLM "${UNINST_REG_KEY}\$R1" "UninstallString" - ${If} ${Errors} - ${OrIf} $R2 == "" - ${Continue} - ${EndIf} - - # Found - Push $R2 - call GetParent - call GetParent - Pop $0 ; Vim directory - ${ExitDo} - - ${Loop} - - ${If} ${RunningX64} - SetRegView lastused - ${EndIf} - - Pop $R2 - Pop $R1 - Pop $R0 - Exch $0 ; put $0 on top of stack, restore $0 to original value -FunctionEnd - -Function LaunchApplication - SetOutPath $0 - !if ${HAVE_NLS} - ShellExecAsUser::ShellExecAsUser "" "$0\gvim.exe" \ - '-R "$0\$(vim_readme_file)"' - !else - ShellExecAsUser::ShellExecAsUser "" "$0\gvim.exe" '-R "$0\README.txt"' - !endif -FunctionEnd - -########################################################## -# Installer Functions and Sections - -Section "$(str_section_old_ver)" id_section_old_ver - SectionIn 1 2 3 RO - - # run the install program to check for already installed versions - SetOutPath $TEMP - File /oname=install.exe ${VIMSRC}\installw32.exe - DetailPrint "$(str_msg_uninstalling)" - ${Do} - nsExec::Exec "$TEMP\install.exe -uninstall-check" - Pop $3 - - call CheckOldVim - Pop $3 - ${If} $3 == "" - ${ExitDo} - ${Else} - # It seems that the old version is still remaining. - # TODO: Should we show a warning and run the uninstaller again? - - ${ExitDo} ; Just ignore for now. - ${EndIf} - ${Loop} - Delete $TEMP\install.exe - Delete $TEMP\vimini.ini ; install.exe creates this, but we don't need it. - - # We may have been put to the background when uninstall did something. - BringToFront -SectionEnd - -########################################################## -Section "$(str_section_exe)" id_section_exe - SectionIn 1 2 3 RO - - # we need also this here if the user changes the instdir - StrCpy $0 "$INSTDIR\vim${VER_MAJOR}${VER_MINOR}" - - SetOutPath $0 - File /oname=gvim.exe ${VIMSRC}\gvim_ole.exe - !if /FileExists "${VIMSRC}\vim${BIT}.dll" - File ${VIMSRC}\vim${BIT}.dll - !endif - File /oname=install.exe ${VIMSRC}\installw32.exe - File /oname=uninstall.exe ${VIMSRC}\uninstallw32.exe - File ${VIMSRC}\vimrun.exe - File /oname=tee.exe ${VIMSRC}\teew32.exe - File /oname=xxd.exe ${VIMSRC}\xxdw32.exe - File ..\vimtutor.bat - File ..\README.txt - File /oname=LICENSE.txt ..\LICENSE - File ..\uninstall.txt - File ${VIMRT}\*.vim - - !if /FileExists "${VIMTOOLS}\diff.exe" - File ${VIMTOOLS}\diff.exe - !endif - !if /FileExists "${VIMTOOLS}\winpty${BIT}.dll" - File ${VIMTOOLS}\winpty${BIT}.dll - !endif - !if /FileExists "${VIMTOOLS}\winpty-agent.exe" - File ${VIMTOOLS}\winpty-agent.exe - !endif - !if /FileExists "${VIMTOOLS}\libsodium.dll" - File ${VIMTOOLS}\libsodium.dll - !endif - - SetOutPath $0\colors - File /r ${VIMRT}\colors\*.* - - SetOutPath $0\compiler - File ${VIMRT}\compiler\*.* - - SetOutPath $0\doc - File /x uganda.nsis.txt ${VIMRT}\doc\*.txt - File ${VIMRT}\doc\tags - - SetOutPath $0\ftplugin - File ${VIMRT}\ftplugin\*.* - - SetOutPath $0\indent - File ${VIMRT}\indent\README.txt - File ${VIMRT}\indent\*.vim - - SetOutPath $0\keymap - File ${VIMRT}\keymap\README.txt - File ${VIMRT}\keymap\*.vim - - SetOutPath $0\macros - File /r /x *.info ${VIMRT}\macros\*.* - - SetOutPath $0\pack - File /r ${VIMRT}\pack\*.* - - SetOutPath $0\plugin - File ${VIMRT}\plugin\*.* - - SetOutPath $0\autoload - File /r ${VIMRT}\autoload\*.* - - SetOutPath $0\import\dist - File ${VIMRT}\import\dist\*.* - - SetOutPath $0\bitmaps - File ${VIMSRC}\vim.ico - - SetOutPath $0\syntax - File /r /x testdir /x generator /x Makefile ${VIMRT}\syntax\*.* - - SetOutPath $0\spell - File ${VIMRT}\spell\*.txt - File ${VIMRT}\spell\*.vim - File ${VIMRT}\spell\*.spl - File ${VIMRT}\spell\*.sug - - SetOutPath $0\tools - File ${VIMRT}\tools\*.* - - SetOutPath $0\tutor - File /r /x *.info ${VIMRT}\tutor\*.* -SectionEnd - -########################################################## -Section "$(str_section_console)" id_section_console - SectionIn 1 3 - - SetOutPath $0 - File /oname=vim.exe ${VIMSRC}\vimw32.exe - StrCpy $2 "$2 vim view vimdiff" -SectionEnd - -########################################################## -Section "$(str_section_batch)" id_section_batch - SectionIn 3 - - StrCpy $1 "$1 -create-batfiles $2" -SectionEnd - -########################################################## -SectionGroup $(str_group_icons) id_group_icons - Section "$(str_section_desktop)" id_section_desktop - SectionIn 1 3 - - StrCpy $1 "$1 -install-icons" - SectionEnd - - Section "$(str_section_start_menu)" id_section_startmenu - SectionIn 1 3 - - StrCpy $1 "$1 -add-start-menu" - SectionEnd -SectionGroupEnd - -########################################################## -Section "$(str_section_edit_with)" id_section_editwith - SectionIn 1 3 - - SetOutPath $0 - - ${If} ${RunningX64} - # Install 64-bit gvimext.dll into the GvimExt64 directory. - SetOutPath $0\GvimExt64 - ClearErrors - !define LIBRARY_SHELL_EXTENSION - !define LIBRARY_X64 - !insertmacro InstallLib DLL NOTSHARED REBOOT_NOTPROTECTED \ - "${VIMSRC}\GvimExt\gvimext64.dll" "$0\GvimExt64\gvimext.dll" "$0" - !undef LIBRARY_X64 - !undef LIBRARY_SHELL_EXTENSION - ${EndIf} - - # Install 32-bit gvimext.dll into the GvimExt32 directory. - SetOutPath $0\GvimExt32 - ClearErrors - !define LIBRARY_SHELL_EXTENSION - !insertmacro InstallLib DLL NOTSHARED REBOOT_NOTPROTECTED \ - "${VIMSRC}\GvimExt\gvimext.dll" "$0\GvimExt32\gvimext.dll" "$0" - !undef LIBRARY_SHELL_EXTENSION - - # We don't have a separate entry for the "Open With..." menu, assume - # the user wants either both or none. - StrCpy $1 "$1 -install-popup -install-openwith" -SectionEnd - -########################################################## -Section "$(str_section_vim_rc)" id_section_vimrc - SectionIn 1 3 - - StrCpy $1 "$1 -create-vimrc" - - ${If} ${RunningX64} - SetRegView 64 - ${EndIf} - WriteRegStr HKLM "${UNINST_REG_KEY_VIM}" "vim_compat" "$vim_compat_stat" - WriteRegStr HKLM "${UNINST_REG_KEY_VIM}" "vim_keyremap" "$vim_keymap_stat" - WriteRegStr HKLM "${UNINST_REG_KEY_VIM}" "vim_mouse" "$vim_mouse_stat" - ${If} ${RunningX64} - SetRegView lastused - ${EndIf} - - ${If} $vim_compat_stat == "vi" - StrCpy $1 "$1 -vimrc-compat vi" - ${ElseIf} $vim_compat_stat == "vim" - StrCpy $1 "$1 -vimrc-compat vim" - ${ElseIf} $vim_compat_stat == "defaults" - StrCpy $1 "$1 -vimrc-compat defaults" - ${Else} - StrCpy $1 "$1 -vimrc-compat all" - ${EndIf} - - ${If} $vim_keymap_stat == "default" - StrCpy $1 "$1 -vimrc-remap no" - ${Else} - StrCpy $1 "$1 -vimrc-remap win" - ${EndIf} - - ${If} $vim_mouse_stat == "default" - StrCpy $1 "$1 -vimrc-behave default" - ${ElseIf} $vim_mouse_stat == "windows" - StrCpy $1 "$1 -vimrc-behave mswin" - ${Else} - StrCpy $1 "$1 -vimrc-behave unix" - ${EndIf} -SectionEnd - -########################################################## -SectionGroup $(str_group_plugin) id_group_plugin - Section "$(str_section_plugin_home)" id_section_pluginhome - SectionIn 1 3 - # use ShellExecAsUser below instead - # StrCpy $1 "$1 -create-directories home" - SectionEnd - - Section "$(str_section_plugin_vim)" id_section_pluginvim - SectionIn 3 - StrCpy $1 "$1 -create-directories vim" - SectionEnd -SectionGroupEnd - -########################################################## -!if ${HAVE_NLS} - Section "$(str_section_nls)" id_section_nls - SectionIn 1 3 - - SetOutPath $INSTDIR - !if /FileExists "..\lang\README.*.txt" - File ..\lang\README.*.txt - CopyFiles /SILENT /FILESONLY $INSTDIR\README.$lng_usr.txt \ - $INSTDIR\vim${VER_MAJOR}${VER_MINOR}\README.$lng_usr.txt - Delete $INSTDIR\README.*.txt - !endif - StrCpy $R7 0 - !if /FileExists "..\lang\LICENSE.??.txt" - File ..\lang\LICENSE.??.txt - IntOp $R7 $R7 + 1 - !endif - !if /FileExists "..\lang\LICENSE.??_??.txt" - File ..\lang\LICENSE.??_??.txt - IntOp $R7 $R7 + 1 - !endif - IntCmp $R7 0 notcpy notcpy cpy - cpy: - CopyFiles /SILENT /FILESONLY $INSTDIR\LICENSE.$lng_usr.txt \ - $INSTDIR\vim${VER_MAJOR}${VER_MINOR}\LICENSE.$lng_usr.txt - Delete $INSTDIR\LICENSE.*.txt - notcpy: - - SetOutPath $0\lang - File /r /x Makefile ${VIMRT}\lang\*.* - SetOutPath $0 - !insertmacro InstallLib DLL NOTSHARED REBOOT_NOTPROTECTED \ - "${GETTEXT}\gettext${BIT}\libintl-8.dll" "$0\libintl-8.dll" "$0" - !insertmacro InstallLib DLL NOTSHARED REBOOT_NOTPROTECTED \ - "${GETTEXT}\gettext${BIT}\libiconv-2.dll" "$0\libiconv-2.dll" "$0" - # Install libgcc_s_sjlj-1.dll only if it is needed. - !if ${INCLUDE_LIBGCC} - !if /FileExists "${GETTEXT}\gettext${BIT}\libgcc_s_sjlj-1.dll" - !insertmacro InstallLib DLL NOTSHARED REBOOT_NOTPROTECTED \ - "${GETTEXT}\gettext${BIT}\libgcc_s_sjlj-1.dll" \ - "$0\libgcc_s_sjlj-1.dll" "$0" - !endif - !endif - - ${If} ${SectionIsSelected} ${id_section_editwith} - ${If} ${RunningX64} - # Install DLLs for 64-bit gvimext.dll into the GvimExt64 directory. - SetOutPath $0\GvimExt64 - ClearErrors - !define LIBRARY_X64 - !insertmacro InstallLib DLL NOTSHARED REBOOT_NOTPROTECTED \ - "${GETTEXT}\gettext64\libintl-8.dll" \ - "$0\GvimExt64\libintl-8.dll" "$0\GvimExt64" - !insertmacro InstallLib DLL NOTSHARED REBOOT_NOTPROTECTED \ - "${GETTEXT}\gettext64\libiconv-2.dll" \ - "$0\GvimExt64\libiconv-2.dll" "$0\GvimExt64" - !undef LIBRARY_X64 - ${EndIf} - - !if ! ${ARM64} - # Install DLLs for 32-bit gvimext.dll into the GvimExt32 directory. - SetOutPath $0\GvimExt32 - ClearErrors - !insertmacro InstallLib DLL NOTSHARED REBOOT_NOTPROTECTED \ - "${GETTEXT}\gettext32\libintl-8.dll" \ - "$0\GvimExt32\libintl-8.dll" "$0\GvimExt32" - !insertmacro InstallLib DLL NOTSHARED REBOOT_NOTPROTECTED \ - "${GETTEXT}\gettext32\libiconv-2.dll" \ - "$0\GvimExt32\libiconv-2.dll" "$0\GvimExt32" - # Install libgcc_s_sjlj-1.dll only if it is needed. - !if ${INCLUDE_LIBGCC} - !if /FileExists "${GETTEXT}\gettext32\libgcc_s_sjlj-1.dll" - !insertmacro InstallLib DLL NOTSHARED REBOOT_NOTPROTECTED \ - "${GETTEXT}\gettext32\libgcc_s_sjlj-1.dll" \ - "$0\GvimExt32\libgcc_s_sjlj-1.dll" "$0\GvimExt32" - !endif - !endif - !endif - ${EndIf} - SectionEnd -!endif - -########################################################## -Section -call_install_exe - SetOutPath $0 - DetailPrint "$(str_msg_registering)" - nsExec::Exec "$0\install.exe $1" - Pop $3 - - ${If} ${SectionIsSelected} ${id_section_pluginhome} - ReadEnvStr $3 "COMSPEC" - Call GetHomeDir - Pop $4 - ShellExecAsUser::ShellExecAsUser "" "$3" '/c "cd /d "$4" & mkdir vimfiles \ - & cd vimfiles & mkdir colors compiler doc ftdetect ftplugin indent \ - keymap plugin syntax"' SW_HIDE - ${EndIf} -SectionEnd - -########################################################## -Section -post - # Get estimated install size - SectionGetSize ${id_section_exe} $3 - ${If} ${SectionIsSelected} ${id_section_console} - SectionGetSize ${id_section_console} $4 - IntOp $3 $3 + $4 - ${EndIf} - ${If} ${SectionIsSelected} ${id_section_editwith} - SectionGetSize ${id_section_editwith} $4 - IntOp $3 $3 + $4 - ${EndIf} - !if ${HAVE_NLS} - ${If} ${SectionIsSelected} ${id_section_nls} - SectionGetSize ${id_section_nls} $4 - IntOp $3 $3 + $4 - ${EndIf} - !endif - - # Register EstimatedSize and AllowSilent. - # Other information will be set by the install.exe (dosinst.c). - ${If} ${RunningX64} - SetRegView 64 - ${EndIf} - WriteRegDWORD HKLM "${UNINST_REG_KEY_VIM}" "EstimatedSize" $3 - WriteRegDWORD HKLM "${UNINST_REG_KEY_VIM}" "AllowSilent" 1 - ${If} ${RunningX64} - SetRegView lastused - ${EndIf} - - # Store the selections to the registry. - ${If} ${RunningX64} - SetRegView 64 - ${EndIf} - !insertmacro SaveSectionSelection ${id_section_console} "select_console" - !insertmacro SaveSectionSelection ${id_section_batch} "select_batch" - !insertmacro SaveSectionSelection ${id_section_desktop} "select_desktop" - !insertmacro SaveSectionSelection ${id_section_startmenu} "select_startmenu" - !insertmacro SaveSectionSelection ${id_section_editwith} "select_editwith" - !insertmacro SaveSectionSelection ${id_section_vimrc} "select_vimrc" - !insertmacro SaveSectionSelection ${id_section_pluginhome} \ - "select_pluginhome" - !insertmacro SaveSectionSelection ${id_section_pluginvim} "select_pluginvim" - !if ${HAVE_NLS} - !insertmacro SaveSectionSelection ${id_section_nls} "select_nls" - !endif - ${If} ${RunningX64} - SetRegView lastused - ${EndIf} - - BringToFront -SectionEnd - -########################################################## -Function .onInit - !if ${HAVE_MULTI_LANG} - # Select a language (or read from the registry). - !insertmacro MUI_LANGDLL_DISPLAY - !endif - - !if ${HAVE_NLS} - call GetUserLocale - !endif - - ${If} $INSTDIR == ${DEFAULT_INSTDIR} - # Check $VIM - ReadEnvStr $3 "VIM" - ${If} $3 != "" - StrCpy $INSTDIR $3 - ${EndIf} - ${EndIf} - - call CheckOldVim - Pop $3 - ${If} $3 == "" - # No old versions of Vim found. Unselect and hide the section. - !insertmacro UnselectSection ${id_section_old_ver} - SectionSetInstTypes ${id_section_old_ver} 0 - SectionSetText ${id_section_old_ver} "" - ${Else} - ${If} $INSTDIR == ${DEFAULT_INSTDIR} - StrCpy $INSTDIR $3 - ${EndIf} - ${EndIf} - - ${If} ${RunningX64} - SetRegView 64 - ${EndIf} - # Load the selections from the registry (if any). - !insertmacro LoadSectionSelection ${id_section_console} "select_console" - !insertmacro LoadSectionSelection ${id_section_batch} "select_batch" - !insertmacro LoadSectionSelection ${id_section_desktop} "select_desktop" - !insertmacro LoadSectionSelection ${id_section_startmenu} "select_startmenu" - !insertmacro LoadSectionSelection ${id_section_editwith} "select_editwith" - !insertmacro LoadSectionSelection ${id_section_vimrc} "select_vimrc" - !insertmacro LoadSectionSelection ${id_section_pluginhome} \ - "select_pluginhome" - !insertmacro LoadSectionSelection ${id_section_pluginvim} "select_pluginvim" - !if ${HAVE_NLS} - !insertmacro LoadSectionSelection ${id_section_nls} "select_nls" - !endif - # Load the default _vimrc settings from the registry (if any). - !insertmacro LoadDefaultVimrc $vim_compat_stat "vim_compat" "all" - !insertmacro LoadDefaultVimrc $vim_keymap_stat "vim_keyremap" "default" - !insertmacro LoadDefaultVimrc $vim_mouse_stat "vim_mouse" "default" - ${If} ${RunningX64} - SetRegView lastused - ${EndIf} - - # User variables: - # $0 - holds the directory the executables are installed to - # $1 - holds the parameters to be passed to install.exe. Starts with OLE - # registration (since a non-OLE gvim will not complain, and we want to - # always register an OLE gvim). - # $2 - holds the names to create batch files for - StrCpy $0 "$INSTDIR\vim${VER_MAJOR}${VER_MINOR}" - StrCpy $1 "-register-OLE" - StrCpy $2 "gvim evim gview gvimdiff vimtutor" -FunctionEnd - -Function .onInstSuccess - WriteUninstaller vim${VER_MAJOR}${VER_MINOR}\uninstall-gui.exe -FunctionEnd - -Function .onInstFailed - MessageBox MB_OK|MB_ICONEXCLAMATION "$(str_msg_install_fail)" /SD IDOK -FunctionEnd - -########################################################## -Function SetCustom - # Display the _vimrc setting dialog using nsDialogs. - - # Check if a _vimrc should be created - ${IfNot} ${SectionIsSelected} ${id_section_vimrc} - Abort - ${EndIf} - - !insertmacro MUI_HEADER_TEXT \ - $(str_vimrc_page_title) $(str_vimrc_page_subtitle) - - nsDialogs::Create 1018 - Pop $vim_dialog - - ${If} $vim_dialog == error - Abort - ${EndIf} - - ${If} ${RunningX64} - SetRegView 64 - ${EndIf} - - GetFunctionAddress $3 ValidateCustom - nsDialogs::OnBack $3 - - # 1st group - Compatibility - ${NSD_CreateGroupBox} 0u 0u 296u 44u $(str_msg_compat_title) - Pop $3 - - ${NSD_CreateLabel} 16u 14u 269u 10u $(str_msg_compat_desc) - Pop $3 - ${NSD_CreateDropList} 42u 26u 237u 13u "" - Pop $vim_nsd_compat - ${NSD_CB_AddString} $vim_nsd_compat $(str_msg_compat_vi) - ${NSD_CB_AddString} $vim_nsd_compat $(str_msg_compat_vim) - ${NSD_CB_AddString} $vim_nsd_compat $(str_msg_compat_defaults) - ${NSD_CB_AddString} $vim_nsd_compat $(str_msg_compat_all) - - ${If} $vim_compat_stat == "defaults" - StrCpy $4 2 - ${ElseIf} $vim_compat_stat == "vim" - StrCpy $4 1 - ${ElseIf} $vim_compat_stat == "vi" - StrCpy $4 0 - ${Else} ; default - StrCpy $4 3 - ${EndIf} - ${NSD_CB_SetSelectionIndex} $vim_nsd_compat $4 - - # 2nd group - Key remapping - ${NSD_CreateGroupBox} 0u 48u 296u 44u $(str_msg_keymap_title) - Pop $3 - - ${NSD_CreateLabel} 16u 62u 269u 10u $(str_msg_keymap_desc) - Pop $3 - ${NSD_CreateDropList} 42u 74u 236u 13u "" - Pop $vim_nsd_keymap - ${NSD_CB_AddString} $vim_nsd_keymap $(str_msg_keymap_default) - ${NSD_CB_AddString} $vim_nsd_keymap $(str_msg_keymap_windows) - - ${If} $vim_keymap_stat == "windows" - StrCpy $4 1 - ${Else} ; default - StrCpy $4 0 - ${EndIf} - ${NSD_CB_SetSelectionIndex} $vim_nsd_keymap $4 - - # 3rd group - Mouse behavior - ${NSD_CreateGroupBox} 0u 95u 296u 44u $(str_msg_mouse_title) - Pop $3 - - ${NSD_CreateLabel} 16u 108u 269u 10u $(str_msg_mouse_desc) - Pop $3 - ${NSD_CreateDropList} 42u 121u 237u 13u "" - Pop $vim_nsd_mouse - ${NSD_CB_AddString} $vim_nsd_mouse $(str_msg_mouse_default) - ${NSD_CB_AddString} $vim_nsd_mouse $(str_msg_mouse_windows) - ${NSD_CB_AddString} $vim_nsd_mouse $(str_msg_mouse_unix) - - ${If} $vim_mouse_stat == "xterm" - StrCpy $4 2 - ${ElseIf} $vim_mouse_stat == "windows" - StrCpy $4 1 - ${Else} ; default - StrCpy $4 0 - ${EndIf} - ${NSD_CB_SetSelectionIndex} $vim_nsd_mouse $4 - - ${If} ${RunningX64} - SetRegView lastused - ${EndIf} - - nsDialogs::Show -FunctionEnd - -Function ValidateCustom - ${NSD_CB_GetSelectionIndex} $vim_nsd_compat $3 - ${If} $3 = 0 - StrCpy $vim_compat_stat "vi" - ${ElseIf} $3 = 1 - StrCpy $vim_compat_stat "vim" - ${ElseIf} $3 = 2 - StrCpy $vim_compat_stat "defaults" - ${Else} - StrCpy $vim_compat_stat "all" - ${EndIf} - - ${NSD_CB_GetSelectionIndex} $vim_nsd_keymap $3 - ${If} $3 = 0 - StrCpy $vim_keymap_stat "default" - ${Else} - StrCpy $vim_keymap_stat "windows" - ${EndIf} - - ${NSD_CB_GetSelectionIndex} $vim_nsd_mouse $3 - ${If} $3 = 0 - StrCpy $vim_mouse_stat "default" - ${ElseIf} $3 = 1 - StrCpy $vim_mouse_stat "windows" - ${Else} - StrCpy $vim_mouse_stat "xterm" - ${EndIf} -FunctionEnd - -########################################################## -# Description for Installer Sections - -!insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN - !insertmacro MUI_DESCRIPTION_TEXT ${id_section_old_ver} $(str_desc_old_ver) - !insertmacro MUI_DESCRIPTION_TEXT ${id_section_exe} $(str_desc_exe) - !insertmacro MUI_DESCRIPTION_TEXT ${id_section_console} $(str_desc_console) - !insertmacro MUI_DESCRIPTION_TEXT ${id_section_batch} $(str_desc_batch) - !insertmacro MUI_DESCRIPTION_TEXT ${id_group_icons} $(str_desc_icons) - !insertmacro MUI_DESCRIPTION_TEXT ${id_section_desktop} $(str_desc_desktop) - !insertmacro MUI_DESCRIPTION_TEXT ${id_section_startmenu} \ - $(str_desc_start_menu) - !insertmacro MUI_DESCRIPTION_TEXT ${id_section_editwith} \ - $(str_desc_edit_with) - !insertmacro MUI_DESCRIPTION_TEXT ${id_section_vimrc} $(str_desc_vim_rc) - !insertmacro MUI_DESCRIPTION_TEXT ${id_group_plugin} $(str_desc_plugin) - !insertmacro MUI_DESCRIPTION_TEXT ${id_section_pluginhome} \ - $(str_desc_plugin_home) - !insertmacro MUI_DESCRIPTION_TEXT ${id_section_pluginvim} \ - $(str_desc_plugin_vim) - !if ${HAVE_NLS} - !insertmacro MUI_DESCRIPTION_TEXT ${id_section_nls} $(str_desc_nls) - !endif -!insertmacro MUI_FUNCTION_DESCRIPTION_END - - -########################################################## -# Uninstaller Functions and Sections - -Function un.onInit - !if ${HAVE_MULTI_LANG} - # Get the language from the registry. - !insertmacro MUI_UNGETLANGUAGE - !endif -FunctionEnd - -Section "un.$(str_unsection_register)" id_unsection_register - SectionIn RO - - # Apparently $INSTDIR is set to the directory where the uninstaller is - # created. Thus the "vim91" directory is included in it. - StrCpy $0 "$INSTDIR" - - # delete the context menu entry and batch files - DetailPrint "$(str_msg_unregistering)" - nsExec::Exec "$0\uninstall.exe -nsis" - Pop $3 - - # We may have been put to the background when uninstall did something. - BringToFront - - # Delete the installer language setting. - DeleteRegKey ${MUI_LANGDLL_REGISTRY_ROOT} ${MUI_LANGDLL_REGISTRY_KEY} -SectionEnd - -Section "un.$(str_unsection_exe)" id_unsection_exe - StrCpy $0 "$INSTDIR" - - # Delete gettext and iconv DLLs - ${If} ${FileExists} "$0\libiconv-2.dll" - !insertmacro UninstallLib DLL NOTSHARED REBOOT_NOTPROTECTED \ - "$0\libiconv-2.dll" - ${EndIf} - ${If} ${FileExists} "$0\libintl-8.dll" - !insertmacro UninstallLib DLL NOTSHARED REBOOT_NOTPROTECTED \ - "$0\libintl-8.dll" - ${EndIf} - ${If} ${FileExists} "$0\libgcc_s_sjlj-1.dll" - !insertmacro UninstallLib DLL NOTSHARED REBOOT_NOTPROTECTED \ - "$0\libgcc_s_sjlj-1.dll" - ${EndIf} - - # Delete other DLLs - Delete /REBOOTOK $0\*.dll - - # Delete 64-bit GvimExt - ${If} ${RunningX64} - !define LIBRARY_X64 - ${If} ${FileExists} "$0\GvimExt64\gvimext.dll" - !insertmacro UninstallLib DLL NOTSHARED REBOOT_NOTPROTECTED \ - "$0\GvimExt64\gvimext.dll" - ${EndIf} - ${If} ${FileExists} "$0\GvimExt64\libiconv-2.dll" - !insertmacro UninstallLib DLL NOTSHARED REBOOT_NOTPROTECTED \ - "$0\GvimExt64\libiconv-2.dll" - ${EndIf} - ${If} ${FileExists} "$0\GvimExt64\libintl-8.dll" - !insertmacro UninstallLib DLL NOTSHARED REBOOT_NOTPROTECTED \ - "$0\GvimExt64\libintl-8.dll" - ${EndIf} - ${If} ${FileExists} "$0\GvimExt64\libwinpthread-1.dll" - !insertmacro UninstallLib DLL NOTSHARED REBOOT_NOTPROTECTED \ - "$0\GvimExt64\libwinpthread-1.dll" - ${EndIf} - !undef LIBRARY_X64 - RMDir /r $0\GvimExt64 - ${EndIf} - - # Delete 32-bit GvimExt - ${If} ${FileExists} "$0\GvimExt32\gvimext.dll" - !insertmacro UninstallLib DLL NOTSHARED REBOOT_NOTPROTECTED \ - "$0\GvimExt32\gvimext.dll" - ${EndIf} - ${If} ${FileExists} "$0\GvimExt32\libiconv-2.dll" - !insertmacro UninstallLib DLL NOTSHARED REBOOT_NOTPROTECTED \ - "$0\GvimExt32\libiconv-2.dll" - ${EndIf} - ${If} ${FileExists} "$0\GvimExt32\libintl-8.dll" - !insertmacro UninstallLib DLL NOTSHARED REBOOT_NOTPROTECTED \ - "$0\GvimExt32\libintl-8.dll" - ${EndIf} - ${If} ${FileExists} "$0\GvimExt32\libgcc_s_sjlj-1.dll" - !insertmacro UninstallLib DLL NOTSHARED REBOOT_NOTPROTECTED \ - "$0\GvimExt32\libgcc_s_sjlj-1.dll" - ${EndIf} - RMDir /r $0\GvimExt32 - - ClearErrors - # Remove everything but *.dll files. Avoids that - # a lot remains when gvimext.dll cannot be deleted. - RMDir /r $0\autoload - RMDir /r $0\colors - RMDir /r $0\compiler - RMDir /r $0\doc - RMDir /r $0\ftplugin - RMDir /r $0\import - RMDir /r $0\indent - RMDir /r $0\macros - RMDir /r $0\pack - RMDir /r $0\plugin - RMDir /r $0\spell - RMDir /r $0\syntax - RMDir /r $0\tools - RMDir /r $0\tutor - RMDir /r $0\lang - RMDir /r $0\keymap - RMDir /r $0\bitmaps - Delete $0\*.exe - Delete $0\*.bat - Delete $0\*.vim - Delete $0\*.txt - - ${If} ${Errors} - MessageBox MB_OK|MB_ICONEXCLAMATION $(str_msg_rm_exe_fail) /SD IDOK - ${EndIf} - - # No error message if the "vim91" directory can't be removed, the - # gvimext.dll may still be there. - RMDir $0 -SectionEnd - -# Remove "vimfiles" directory under the specified directory. -!macro RemoveVimfiles dir - ${If} ${FileExists} ${dir}\_viminfo - Delete ${dir}\_viminfo - ${EndIf} - ${If} ${DirExists} ${dir}\vimfiles - RMDir ${dir}\vimfiles\colors - RMDir ${dir}\vimfiles\compiler - RMDir ${dir}\vimfiles\doc - RMDir ${dir}\vimfiles\ftdetect - RMDir ${dir}\vimfiles\ftplugin - RMDir ${dir}\vimfiles\indent - RMDir ${dir}\vimfiles\keymap - RMDir ${dir}\vimfiles\plugin - RMDir ${dir}\vimfiles\syntax - ${If} ${FileExists} ${dir}\vimfiles\.netrwhist* - Delete ${dir}\vimfiles\.netrwhist* - ${EndIf} - RMDir ${dir}\vimfiles - ${EndIf} -!macroend - -SectionGroup "un.$(str_ungroup_plugin)" id_ungroup_plugin - Section /o "un.$(str_unsection_plugin_home)" id_unsection_plugin_home - # get the home dir - Call un.GetHomeDir - Pop $0 - - ${If} $0 != "" - !insertmacro RemoveVimfiles $0 - ${EndIf} - SectionEnd - - Section "un.$(str_unsection_plugin_vim)" id_unsection_plugin_vim - # get the parent dir of the installation - Push $INSTDIR - Call un.GetParent - Pop $0 - - # if a plugin dir was created at installation remove it - !insertmacro RemoveVimfiles $0 - SectionEnd -SectionGroupEnd - -Section "un.$(str_unsection_rootdir)" id_unsection_rootdir -# get the parent dir of the installation - Push $INSTDIR - Call un.GetParent - Pop $0 - - ${IfNot} ${Silent} - Delete $0\_vimrc - ${Endif} - RMDir $0 -SectionEnd - -########################################################## -# Description for Uninstaller Sections - -!insertmacro MUI_UNFUNCTION_DESCRIPTION_BEGIN - !insertmacro MUI_DESCRIPTION_TEXT ${id_unsection_register} \ - $(str_desc_unregister) - !insertmacro MUI_DESCRIPTION_TEXT ${id_unsection_exe} $(str_desc_rm_exe) - !insertmacro MUI_DESCRIPTION_TEXT ${id_ungroup_plugin} $(str_desc_rm_plugin) - !insertmacro MUI_DESCRIPTION_TEXT ${id_unsection_plugin_home} \ - $(str_desc_rm_plugin_home) - !insertmacro MUI_DESCRIPTION_TEXT ${id_unsection_plugin_vim} \ - $(str_desc_rm_plugin_vim) - !insertmacro MUI_DESCRIPTION_TEXT ${id_unsection_rootdir} \ - $(str_desc_rm_rootdir) -!insertmacro MUI_UNFUNCTION_DESCRIPTION_END - -# vi:set ts=8 sw=2 sts=2 tw=79 wm=0 ft=nsis: diff --git a/nsis/icons.zip b/nsis/icons.zip deleted file mode 100644 index c480bcc89e..0000000000 Binary files a/nsis/icons.zip and /dev/null differ diff --git a/nsis/lang/README.txt b/nsis/lang/README.txt deleted file mode 100644 index 0340c308b1..0000000000 --- a/nsis/lang/README.txt +++ /dev/null @@ -1,63 +0,0 @@ -This directory contains a file with text strings for gVim installer. -It also contains files with translations of the text strings for gVim installer -into different languages. - -For translators. - -If you want to prepare a translation for the gVim installer, use the file -"english.nsi" as a master file. See the other translation files in this -directory. -Note that in the definition of the MUI_LANGUAGE macro, the name of the language -to be translated must be the English name of the language. -The name of the file with the translation must match the name of the target -language. -Also, when translating strings, pay attention to some restrictions on the -allowable length of strings. For example: - component description field - 117 characters; - description above the drop-down lists on the .vimrc page - 53 characters; - drop-down lists on the .vimrc page - 55 characters. -Characters in this case mean characters of the English alphabet. - -Once the message translation file is ready, it must be included in the -"gvim.nsi" file. -Find the line "# Include support for other languages:" in the file "gvim.nsi" -and specify the name of the file with your translation below the line -!if ${HAVE_MULTI_LANG}, similar to the entries already there. File names are -specified in alphabetical order. - -If you do not yet have a translated "LICENSE" file and/or a main "README.txt" -file, set the following values: - -for the license file -LicenseLangString page_lic_file 0 "..\lang\LICENSE.nsis.txt" - -for the readme.txt file -LangString vim_readme_file 0 "README.txt" - -Once you have the translations of these files, then set the values for these -variables similarly to what is done in the other translation files. -Translation files should be located in the "lang" subdirectory of the root -directory. The name of the files is as follows: "README.xx.txt", where xx is the -language code according to ISO639. - - -There are two ways to test the installer in different languages: - -1. Find and uncomment the "!define MUI_LANGDLL_ALWAYSSHOW" line in the - "gvim.nsi" file and rebuild the installer. - Now every time you run it, you will see a dialog box with the possibility to - select the language of the installer. - -2. If the Vim editor is already installed in your system, delete the - "Installer Language" parameter in the Windows registry under - "HKEY_CURRENT_USER\Software\Vim". - Or you can create a file "NoLangInstallerVim.reg" with the following content: - - Windows Registry Editor Version 5.00 - - [HKEY_CURRENT_USER\Software\Vim] - "Installer Language"=- - - and apply it by double-clicking on it. - After these steps, when you start the installer, a window with the installer - language selection will also be displayed. diff --git a/nsis/lang/danish.nsi b/nsis/lang/danish.nsi deleted file mode 100644 index c4000312f2..0000000000 --- a/nsis/lang/danish.nsi +++ /dev/null @@ -1,187 +0,0 @@ -# vi:set ts=8 sts=4 sw=4 et fdm=marker: -# -# danish.nsi: Danish language strings for gvim NSIS installer. -# -# Locale ID : 1030 -# Locale Name : da -# fileencoding : UTF-8 -# Author : scootergrisen - -!insertmacro MUI_LANGUAGE "Danish" - - -# Overwrite the default translation. -# These strings should be always English. Otherwise dosinst.c fails. -LangString ^SetupCaption ${LANG_DANISH} "$(^Name) Setup" -LangString ^UninstallCaption ${LANG_DANISH} "$(^Name) Uninstall" - -############################################################################## -# Translated license file for the license page {{{1 -############################################################################## - -LicenseLangString page_lic_file 0 "..\lang\LICENSE.nsis.txt" -#LicenseLangString page_lic_file ${LANG_DANISH} "..\lang\LICENSE.da.nsis.txt" - -############################################################################## -# Translated README.txt file, which is opened after installation {{{1 -############################################################################## - -LangString vim_readme_file 0 "README.txt" -#LangString vim_readme_file ${LANG_DANISH} "README.da.txt" - -############################################################################## -# MUI Configuration Strings {{{1 -############################################################################## - -#LangString str_dest_folder ${LANG_DANISH} "Destinationsmappe (skal slutte med $\"vim$\")" - -LangString str_show_readme ${LANG_DANISH} "Vis README efter installationen er gennemført" - -# Install types: -LangString str_type_typical ${LANG_DANISH} "Typisk" - -LangString str_type_minimal ${LANG_DANISH} "Minimal" - -LangString str_type_full ${LANG_DANISH} "Fuld" - - -############################################################################## -# Section Titles & Description {{{1 -############################################################################## - -LangString str_section_old_ver ${LANG_DANISH} "Afinstaller eksisterende version(er)" -LangString str_desc_old_ver ${LANG_DANISH} "Afinstaller eksisterende Vim-version(er) fra dit system." - -LangString str_section_exe ${LANG_DANISH} "Vim GUI og afviklingsfiler" -LangString str_desc_exe ${LANG_DANISH} "Vim GUI-eksekverbare- og afviklingsfiler. Komponenten kræves." - -LangString str_section_console ${LANG_DANISH} "Vim-konsolprogram" -LangString str_desc_console ${LANG_DANISH} "Konsolversion af Vim (vim.exe)." - -LangString str_section_batch ${LANG_DANISH} "Opret .bat-filer" -LangString str_desc_batch ${LANG_DANISH} "Opret .bat-filer til Vim-varianter i Windows-mappen til brug fra kommandolinjen." - -LangString str_group_icons ${LANG_DANISH} "Opret ikoner til Vim" -LangString str_desc_icons ${LANG_DANISH} "Opret ikoner til Vim diverse steder for at hjælpe med at gøre adgangen let." - -LangString str_section_desktop ${LANG_DANISH} "PÃ¥ skrivebordet" -LangString str_desc_desktop ${LANG_DANISH} "Opret ikoner til gVim-eksekverbare pÃ¥ skrivebordet." - -LangString str_section_start_menu ${LANG_DANISH} "I Programmer-mappen i menuen Start" -LangString str_desc_start_menu ${LANG_DANISH} "Tilføj Vim i Programmer-mappen i menuen Start." - -#LangString str_section_quick_launch ${LANG_DANISH} "I værktøjslinjen Hurtig start" -#LangString str_desc_quick_launch ${LANG_DANISH} "Tilføj Vim-genvej i værktøjslinjen Hurtig start." - -LangString str_section_edit_with ${LANG_DANISH} "Tilføj Vim-genvejsmenu" -LangString str_desc_edit_with ${LANG_DANISH} "Tilføj Vim til listen i $\"Ã…bn med...$\"-genvejsmenuen." - -#LangString str_section_edit_with32 ${LANG_DANISH} "32-bit-version" -#LangString str_desc_edit_with32 ${LANG_DANISH} "Tilføj Vim til listen i $\"Ã…bn med...$\"-genvejsmenuen for 32-bit-programmer." - -#LangString str_section_edit_with64 ${LANG_DANISH} "64-bit-version" -#LangString str_desc_edit_with64 ${LANG_DANISH} "Tilføj Vim til listen i $\"Ã…bn med...$\"-genvejsmenuen for 64-bit-programmer." - -LangString str_section_vim_rc ${LANG_DANISH} "Opret standardkonfiguration" -LangString str_desc_vim_rc ${LANG_DANISH} "Opret en standardkonfigurationsfil (_vimrc) hvis der ikke allerede findes en." - -LangString str_group_plugin ${LANG_DANISH} "Opret plugin-mapper" -LangString str_desc_plugin ${LANG_DANISH} "Opret plugin-mapper. Plugin-mapper giver mulighed for at udvide Vim ved at slippe en fil i en mappen." - -LangString str_section_plugin_home ${LANG_DANISH} "Private" -LangString str_desc_plugin_home ${LANG_DANISH} "Opret plugin-mapper i HOME (hvis du har defineret et) eller Vim-installationsmappe." - -LangString str_section_plugin_vim ${LANG_DANISH} "Delte" -LangString str_desc_plugin_vim ${LANG_DANISH} "Opret plugin-mapper i Vim-installationsmappe, det bruges af alle pÃ¥ systemet." - -LangString str_section_nls ${LANG_DANISH} "Understøttelse af modersmÃ¥l" -LangString str_desc_nls ${LANG_DANISH} "Installer filer til understøttelse af modersmÃ¥l." - -LangString str_unsection_register ${LANG_DANISH} "Afregistrer Vim" -LangString str_desc_unregister ${LANG_DANISH} "Afregistrer Vim fra systemet." - -LangString str_unsection_exe ${LANG_DANISH} "Fjern Vim-eksekverbare-/afviklingsfiler" -LangString str_desc_rm_exe ${LANG_DANISH} "Fjern alle Vim-eksekverbare- og afviklingsfiler." - -LangString str_ungroup_plugin ${LANG_DANISH} "Fjern plugin-mapper" -LangString str_desc_rm_plugin ${LANG_DANISH} "Fjern plugin-mapperne, hvis de er tomme." - -LangString str_unsection_plugin_home ${LANG_DANISH} "Private" -LangString str_desc_rm_plugin_home ${LANG_DANISH} "Fjern plugin-mapperne fra HOME-mappen." - -LangString str_unsection_plugin_vim ${LANG_DANISH} "Delte" -LangString str_desc_rm_plugin_vim ${LANG_DANISH} "Fjern plugin-mapperne fra Vim-installationsmappen." - -LangString str_unsection_rootdir ${LANG_DANISH} "Fjern Vim-rodmappen" -LangString str_desc_rm_rootdir ${LANG_DANISH} "Fjern Vim-rodmappen. Den indeholder dine Vim-konfigurationsfiler!" - - -############################################################################## -# Messages {{{1 -############################################################################## - -#LangString str_msg_too_many_ver ${LANG_DANISH} "Fandt $vim_old_ver_count Vim-versioner pÃ¥ dit system.$\r$\nInstallationsguiden kan højst hÃ¥ndtere ${VIM_MAX_OLD_VER}-versioner.$\r$\nFjern venligst nogle versioner og start igen." - -#LangString str_msg_invalid_root ${LANG_DANISH} "Ugyldig installationssti: $vim_install_root!$\r$\nDen skal slutte med $\"vim$\"." - -#LangString str_msg_bin_mismatch ${LANG_DANISH} "Uoverensstemmelse i binære sti!$\r$\n$\r$\nForventede at den binære sti var $\"$vim_bin_path$\",$\r$\nmen systemet indikerer at den binære sti er $\"$INSTDIR$\"." - -#LangString str_msg_vim_running ${LANG_DANISH} "Vim kører stadig pÃ¥ dit system.$\r$\nLuk venligst alle instanser af Vim inden du fortsætter." - -#LangString str_msg_register_ole ${LANG_DANISH} "Forsøger at registrere Vim med OLE. Der er ingen meddelelse til at indikere om det virker eller ej." - -#LangString str_msg_unreg_ole ${LANG_DANISH} "Forsøger at afregistrere Vim med OLE. Der er ingen meddelelse til at indikere om det virker eller ej." - -#LangString str_msg_rm_start ${LANG_DANISH} "Afinstallerer følgende version:" - -#LangString str_msg_rm_fail ${LANG_DANISH} "Kunne ikke afinstallere følgende version:" - -#LangString str_msg_no_rm_key ${LANG_DANISH} "Kan ikke finde registreringsdatabasenøgle for afinstallationsguiden." - -#LangString str_msg_no_rm_reg ${LANG_DANISH} "Kan ikke finde afinstallationsguiden fra registreringsdatabasen." - -#LangString str_msg_no_rm_exe ${LANG_DANISH} "Kan ikke tilgÃ¥ afinstallationsguide." - -#LangString str_msg_rm_copy_fail ${LANG_DANISH} "Kunne ikke kopiere afinstallationsguide til midlertidig mappe." - -#LangString str_msg_rm_run_fail ${LANG_DANISH} "Kunne ikke køre afinstallationsguide." - -#LangString str_msg_abort_install ${LANG_DANISH} "Installationsguiden vil afbryde." - -LangString str_msg_install_fail ${LANG_DANISH} "Installationen mislykkedes. Bedre held næste gang." - -LangString str_msg_rm_exe_fail ${LANG_DANISH} "Nogle filer i $0 er ikke blevet slettet!$\r$\nDu skal gøre det manuelt." - -#LangString str_msg_rm_root_fail ${LANG_DANISH} "ADVARSEL: Kan ikke fjerne $\"$vim_install_root$\", den er ikke tom!" - -LangString str_msg_uninstalling ${LANG_DANISH} "Afinstallerer den gamle version..." - -LangString str_msg_registering ${LANG_DANISH} "Registrerer..." - -LangString str_msg_unregistering ${LANG_DANISH} "Afregistrerer..." - - -############################################################################## -# Dialog Box {{{1 -############################################################################## - -LangString str_vimrc_page_title ${LANG_DANISH} "Vælg _vimrc-indstillinger" -LangString str_vimrc_page_subtitle ${LANG_DANISH} "Vælg indstillingerne til forbedring, tastatur og mus." - -LangString str_msg_compat_title ${LANG_DANISH} " Vi- / Vim-opførsel " -LangString str_msg_compat_desc ${LANG_DANISH} "&Kompatibilitet og forbedringer" -LangString str_msg_compat_vi ${LANG_DANISH} "Vi-kompatibel" -LangString str_msg_compat_vim ${LANG_DANISH} "Vim original" -LangString str_msg_compat_defaults ${LANG_DANISH} "Vim med nogle forbedringer (indlæs defaults.vim)" -LangString str_msg_compat_all ${LANG_DANISH} "Vim med alle forbedringer (indlæs vimrc_example.vim) (standard)" - -LangString str_msg_keymap_title ${LANG_DANISH} " Tilknytninger " -LangString str_msg_keymap_desc ${LANG_DANISH} "&Gentilknyt nogle fÃ¥ taster for Windows (Ctrl-V, Ctrl-C, Ctrl-A, Ctrl-S, Ctrl-F osv.)" -LangString str_msg_keymap_default ${LANG_DANISH} "Gentilknyt ikke taster (standard)" -LangString str_msg_keymap_windows ${LANG_DANISH} "Gentilknyt nogle fÃ¥ taster" - -LangString str_msg_mouse_title ${LANG_DANISH} " Mus " -LangString str_msg_mouse_desc ${LANG_DANISH} "&Opførsel af højre og venstre knapper" -LangString str_msg_mouse_default ${LANG_DANISH} "Højre: genvejsmenu, venstre: visuel tilstand (standard)" -LangString str_msg_mouse_windows ${LANG_DANISH} "Højre: genvejsmenu, venstre: vælg-tilstand (Windows)" -LangString str_msg_mouse_unix ${LANG_DANISH} "Højre: udvider markering, venstre: visuel tilstand (Unix)" diff --git a/nsis/lang/dutch.nsi b/nsis/lang/dutch.nsi deleted file mode 100644 index 5a2ba14ce5..0000000000 --- a/nsis/lang/dutch.nsi +++ /dev/null @@ -1,290 +0,0 @@ -# vi:set ts=8 sts=4 sw=4 et fdm=marker: -# -# dutch.nsi : Dutch language strings for gvim NSIS installer. -# -# Locale ID : 1043 -# Locale Name : nl -# fileencoding : UTF-8 -# Author : Peter Odding - -!insertmacro MUI_LANGUAGE "Dutch" - - -# Overwrite the default translation. -# These strings should be always English. Otherwise dosinst.c fails. -LangString ^SetupCaption ${LANG_DUTCH} \ - "$(^Name) Setup" -LangString ^UninstallCaption ${LANG_DUTCH} \ - "$(^Name) Uninstall" - -############################################################################## -# Translated license file for the license page {{{1 -############################################################################## - -LicenseLangString page_lic_file 0 "..\lang\LICENSE.nsis.txt" -#LicenseLangString page_lic_file ${LANG_DUTCH} "..\lang\LICENSE.nl.nsis.txt" - -############################################################################## -# Translated README.txt file, which is opened after installation {{{1 -############################################################################## - -LangString vim_readme_file 0 "README.txt" -#LangString vim_readme_file ${LANG_DUTCH} "README.nl.txt" - -############################################################################## -# MUI Configuration Strings {{{1 -############################################################################## - -#LangString str_dest_folder ${LANG_DUTCH} \ -# "Doelmap (moet eindigen op $\"vim$\")" - -LangString str_show_readme ${LANG_DUTCH} \ - "README weergeven na installatie" - -# Install types: -LangString str_type_typical ${LANG_DUTCH} \ - "Gebruikelijk" - -LangString str_type_minimal ${LANG_DUTCH} \ - "Minimaal" - -LangString str_type_full ${LANG_DUTCH} \ - "Volledig" - - -############################################################################## -# Section Titles & Description {{{1 -############################################################################## - -LangString str_section_old_ver ${LANG_DUTCH} \ - "Bestaande versie(s) de-installeren" -LangString str_desc_old_ver ${LANG_DUTCH} \ - "Bestaande Vim versie(s) van je systeem verwijderen." - -LangString str_section_exe ${LANG_DUTCH} \ - "Vim GUI" -LangString str_desc_exe ${LANG_DUTCH} \ - "Vim GUI uitvoerbare bestanden en runtime bestanden. Dit component is vereist." - -LangString str_section_console ${LANG_DUTCH} \ - "Vim console programma" -LangString str_desc_console ${LANG_DUTCH} \ - "Console versie van Vim (vim.exe)." - -LangString str_section_batch ${LANG_DUTCH} \ - "Creëer .bat bestanden" -LangString str_desc_batch ${LANG_DUTCH} \ - "Creëer .bat bestanden voor Vim varianten in de Windows map voor \ - commando regel gebruik." - -LangString str_group_icons ${LANG_DUTCH} \ - "Creëer pictogrammen for Vim" -LangString str_desc_icons ${LANG_DUTCH} \ - "Creëer pictogrammen voor Vim op verschillende locaties voor gemakkelijke toegang." - -LangString str_section_desktop ${LANG_DUTCH} \ - "Op het bureaublad" -LangString str_desc_desktop ${LANG_DUTCH} \ - "Creëer pictogrammen voor Vim uitvoerbare bestanden op het bureaublad." - -LangString str_section_start_menu ${LANG_DUTCH} \ - "In de Programma's map in het start menu" -LangString str_desc_start_menu ${LANG_DUTCH} \ - "Voeg Vim toe aan de programma's map in het start menu. \ - Van toepassing op Windows 95 en later." - -#LangString str_section_quick_launch ${LANG_DUTCH} \ -# "In de snel starten balk" -#LangString str_desc_quick_launch ${LANG_DUTCH} \ -# "Voeg Vim snelkoppeling toe aan de snel starten balk." - -LangString str_section_edit_with ${LANG_DUTCH} \ - "Voeg Vim contextmenu toe" -LangString str_desc_edit_with ${LANG_DUTCH} \ - "Voeg Vim toe aan de $\"Openen met...$\" contextmenu lijst." - -#LangString str_section_edit_with32 ${LANG_DUTCH} \ -# "32-bit versie" -#LangString str_desc_edit_with32 ${LANG_DUTCH} \ -# "Voeg Vim toe aan de $\"Openen met...$\" contextmenu lijst \ -# voor 32-bit toepassingen." - -#LangString str_section_edit_with64 ${LANG_DUTCH} \ -# "64-bit versie" -#LangString str_desc_edit_with64 ${LANG_DUTCH} \ -# "Voeg Vim toe aan de $\"Openen met...$\" contextmenu lijst \ -# voor 64-bit toepassingen." - -LangString str_section_vim_rc ${LANG_DUTCH} \ - "Creëer standaard configuratie" -LangString str_desc_vim_rc ${LANG_DUTCH} \ - "Creëer een standaard configuratie bestand (_vimrc) als er nog geen bestaat." - -LangString str_group_plugin ${LANG_DUTCH} \ - "Creëer Plugin mappen" -LangString str_desc_plugin ${LANG_DUTCH} \ - "Creëer plugin mappen. Plugin mappen maken het mogelijk om \ - Vim uit te breiden door een bestand in een map te plaatsen." - -LangString str_section_plugin_home ${LANG_DUTCH} \ - "Privé" -LangString str_desc_plugin_home ${LANG_DUTCH} \ - "Create plugin directories in HOME directory." - -LangString str_section_plugin_vim ${LANG_DUTCH} \ - "Gedeeld" -LangString str_desc_plugin_vim ${LANG_DUTCH} \ - "Creëer plugin mappen in Vim installatie map, deze worden gebruikt \ - voor iedereen op het systeem." - -LangString str_section_nls ${LANG_DUTCH} \ - "Ondersteuning voor andere talen" -LangString str_desc_nls ${LANG_DUTCH} \ - "Bestanden voor ondersteuning van andere talen dan Engels installeren." - -LangString str_unsection_register ${LANG_DUTCH} \ - "Vim afmelden" -LangString str_desc_unregister ${LANG_DUTCH} \ - "Registratie van Vim in het systeem ongedaan maken." - -LangString str_unsection_exe ${LANG_DUTCH} \ - "Vim uitvoerbare/runtime bestanden verwijderen" -LangString str_desc_rm_exe ${LANG_DUTCH} \ - "Verwijder alle Vim uitvoerbare bestanden en runtime bestanden." - -LangString str_ungroup_plugin ${LANG_DUTCH} \ - "Remove plugin directories" -LangString str_desc_rm_plugin ${LANG_DUTCH} \ - "Remove the plugin directories if they are empty." - -LangString str_unsection_plugin_home ${LANG_DUTCH} \ - "Privé" -LangString str_desc_rm_plugin_home ${LANG_DUTCH} \ - "Remove the plugin directories from HOME directory." - -LangString str_unsection_plugin_vim ${LANG_DUTCH} \ - "Gedeeld" -LangString str_desc_rm_plugin_vim ${LANG_DUTCH} \ - "Remove the plugin directories from Vim install directory." - -LangString str_unsection_rootdir ${LANG_DUTCH} \ - "Remove the Vim root directory" -LangString str_desc_rm_rootdir ${LANG_DUTCH} \ - "Remove the Vim root directory. It contains your Vim configuration files!" - - -############################################################################## -# Messages {{{1 -############################################################################## - -#LangString str_msg_too_many_ver ${LANG_DUTCH} \ -# "Er zijn $vim_old_ver_count Vim versies op je systeem gevonden.$\r$\n\ -# Deze installatie kan omgaan met maximaal ${VIM_MAX_OLD_VER} versies.$\r$\n\ -# Verwijder a.u.b. wat versies en probeer het dan opnieuw." - -#LangString str_msg_invalid_root ${LANG_DUTCH} \ -# "Ongeldig installatiepad: $vim_install_root!$\r$\n\ -# Het moet eindelijk op $\"vim$\"." - -#LangString str_msg_bin_mismatch ${LANG_DUTCH} \ -# "Binair pad onjuist!$\r$\n$\r$\n\ -# Het binaire pad zou $\"$vim_bin_path$\" moeten zijn,$\r$\n\ -# maar het systeem geeft aan dat het binaire pad $\"$INSTDIR$\" is." - -#LangString str_msg_vim_running ${LANG_DUTCH} \ -# "Vim is nog actief op je systeem.$\r$\n\ -# Sluit a.u.b. alle instanties van Vim voordat je verder gaat." - -#LangString str_msg_register_ole ${LANG_DUTCH} \ -# "Bezig met proberen om Vim te registreren met OLE. \ -# Er is geen bericht dat aangeeft of deze operatie slaagt." - -#LangString str_msg_unreg_ole ${LANG_DUTCH} \ -# "Bezig met proberen om Vim te de-registreren met OLE. \ -# Er is geen bericht dat aangeeft of deze operatie slaagt." - -#LangString str_msg_rm_start ${LANG_DUTCH} \ -# "De volgende versies worden verwijderd:" - -#LangString str_msg_rm_fail ${LANG_DUTCH} \ -# "De volgende versies konden niet worden verwijderd:" - -#LangString str_msg_no_rm_key ${LANG_DUTCH} \ -# "Kan de uninstaller register sleutel niet vinden." - -#LangString str_msg_no_rm_reg ${LANG_DUTCH} \ -# "Kan de uninstaller niet vinden via het register." - -#LangString str_msg_no_rm_exe ${LANG_DUTCH} \ -# "Kan geen toegang krijgen tot de uninstaller." - -#LangString str_msg_rm_copy_fail ${LANG_DUTCH} \ -# "Kon de uninstaller niet naar een tijdelijke map kopiëren." - -#LangString str_msg_rm_run_fail ${LANG_DUTCH} \ -# "Kon de uninstaller niet uitvoeren." - -#LangString str_msg_abort_install ${LANG_DUTCH} \ -# "Installatie wordt gestopt." - -LangString str_msg_install_fail ${LANG_DUTCH} \ - "Installatie is mislukt." - -LangString str_msg_rm_exe_fail ${LANG_DUTCH} \ - "Sommige bestanden in $0 zijn niet verwijderd!$\r$\n\ - Dit moet je handmatig doen." - -#LangString str_msg_rm_root_fail ${LANG_DUTCH} \ -# "WAARSCHUWING: Kan $\"$vim_install_root$\" niet verwijderen omdat het niet leeg is!" - -LangString str_msg_uninstalling ${LANG_DUTCH} \ - "Uninstalling the old version..." - -LangString str_msg_registering ${LANG_DUTCH} \ - "Registering..." - -LangString str_msg_unregistering ${LANG_DUTCH} \ - "Unregistering..." - - -############################################################################## -# Dialog Box {{{1 -############################################################################## - -LangString str_vimrc_page_title ${LANG_DUTCH} \ - "Choose _vimrc settings" -LangString str_vimrc_page_subtitle ${LANG_DUTCH} \ - "Choose the settings for enhancement, keyboard and mouse." - -LangString str_msg_compat_title ${LANG_DUTCH} \ - " Vi / Vim behavior " -LangString str_msg_compat_desc ${LANG_DUTCH} \ - "&Compatibility and enhancements" -LangString str_msg_compat_vi ${LANG_DUTCH} \ - "Vi compatible" -LangString str_msg_compat_vim ${LANG_DUTCH} \ - "Vim original" -LangString str_msg_compat_defaults ${LANG_DUTCH} \ - "Vim with some enhancements (load defaults.vim)" -LangString str_msg_compat_all ${LANG_DUTCH} \ - "Vim with all enhancements (load vimrc_example.vim) (Default)" - -LangString str_msg_keymap_title ${LANG_DUTCH} \ - " Mappings " -LangString str_msg_keymap_desc ${LANG_DUTCH} \ - "&Remap a few keys for Windows (Ctrl-V, Ctrl-C, Ctrl-A, Ctrl-S, Ctrl-F, etc)" -LangString str_msg_keymap_default ${LANG_DUTCH} \ - "Do not remap keys (Default)" -LangString str_msg_keymap_windows ${LANG_DUTCH} \ - "Remap a few keys" - -LangString str_msg_mouse_title ${LANG_DUTCH} \ - " Mouse " -LangString str_msg_mouse_desc ${LANG_DUTCH} \ - "&Behavior of right and left buttons" -LangString str_msg_mouse_default ${LANG_DUTCH} \ - "Right: popup menu, Left: visual mode (Default)" -LangString str_msg_mouse_windows ${LANG_DUTCH} \ - "Right: popup menu, Left: select mode (Windows)" -LangString str_msg_mouse_unix ${LANG_DUTCH} \ - "Right: extends selection, Left: visual mode (Unix)" diff --git a/nsis/lang/english.nsi b/nsis/lang/english.nsi deleted file mode 100644 index d80f6f3686..0000000000 --- a/nsis/lang/english.nsi +++ /dev/null @@ -1,288 +0,0 @@ -# vi:set ts=8 sts=4 sw=4 et fdm=marker: -# -# english.nsi: English language strings for gvim NSIS installer. -# -# Locale ID : 1033 -# Locale Name : en -# fileencoding : UTF-8 -# Author : Guopeng Wen, Ken Takata - -!insertmacro MUI_LANGUAGE "English" - - -# Overwrite the default translation. -# These strings should be always English. Otherwise dosinst.c fails. -LangString ^SetupCaption ${LANG_ENGLISH} \ - "$(^Name) Setup" -LangString ^UninstallCaption ${LANG_ENGLISH} \ - "$(^Name) Uninstall" - -############################################################################## -# License file for the license page {{{1 -############################################################################## - -LicenseLangString page_lic_file ${LANG_ENGLISH} "..\lang\LICENSE.nsis.txt" - -############################################################################## -# README.txt file, which is opened after installation {{{1 -############################################################################## - -LangString vim_readme_file ${LANG_ENGLISH} "README.txt" - -############################################################################## -# MUI Configuration Strings {{{1 -############################################################################## - -#LangString str_dest_folder ${LANG_ENGLISH} \ -# "Destination Folder (Must end with $\"vim$\")" - -LangString str_show_readme ${LANG_ENGLISH} \ - "Show README after installation finished" - -# Install types: -LangString str_type_typical ${LANG_ENGLISH} \ - "Typical" - -LangString str_type_minimal ${LANG_ENGLISH} \ - "Minimal" - -LangString str_type_full ${LANG_ENGLISH} \ - "Full" - - -############################################################################## -# Section Titles & Description {{{1 -############################################################################## - -LangString str_section_old_ver ${LANG_ENGLISH} \ - "Uninstall Existing Version(s)" -LangString str_desc_old_ver ${LANG_ENGLISH} \ - "Uninstall existing Vim version(s) from your system." - -LangString str_section_exe ${LANG_ENGLISH} \ - "Vim GUI and runtime files" -LangString str_desc_exe ${LANG_ENGLISH} \ - "Vim GUI executables and runtime files. This component is required." - -LangString str_section_console ${LANG_ENGLISH} \ - "Vim console program" -LangString str_desc_console ${LANG_ENGLISH} \ - "Console version of Vim (vim.exe)." - -LangString str_section_batch ${LANG_ENGLISH} \ - "Create .bat files" -LangString str_desc_batch ${LANG_ENGLISH} \ - "Create .bat files for Vim variants in the Windows directory for \ - command line use." - -LangString str_group_icons ${LANG_ENGLISH} \ - "Create icons for Vim" -LangString str_desc_icons ${LANG_ENGLISH} \ - "Create icons for Vim at various locations to facilitate easy access." - -LangString str_section_desktop ${LANG_ENGLISH} \ - "On the Desktop" -LangString str_desc_desktop ${LANG_ENGLISH} \ - "Create icons for gVim executables on the desktop." - -LangString str_section_start_menu ${LANG_ENGLISH} \ - "In the Start Menu Programs Folder" -LangString str_desc_start_menu ${LANG_ENGLISH} \ - "Add Vim in the programs folder of the start menu." - -#LangString str_section_quick_launch ${LANG_ENGLISH} \ -# "In the Quick Launch Bar" -#LangString str_desc_quick_launch ${LANG_ENGLISH} \ -# "Add Vim shortcut in the quick launch bar." - -LangString str_section_edit_with ${LANG_ENGLISH} \ - "Add Vim Context Menu" -LangString str_desc_edit_with ${LANG_ENGLISH} \ - "Add Vim to the $\"Open With...$\" context menu list." - -#LangString str_section_edit_with32 ${LANG_ENGLISH} \ -# "32-bit Version" -#LangString str_desc_edit_with32 ${LANG_ENGLISH} \ -# "Add Vim to the $\"Open With...$\" context menu list \ -# for 32-bit applications." - -#LangString str_section_edit_with64 ${LANG_ENGLISH} \ -# "64-bit Version" -#LangString str_desc_edit_with64 ${LANG_ENGLISH} \ -# "Add Vim to the $\"Open With...$\" context menu list \ -# for 64-bit applications." - -LangString str_section_vim_rc ${LANG_ENGLISH} \ - "Create Default Config" -LangString str_desc_vim_rc ${LANG_ENGLISH} \ - "Create a default config file (_vimrc) if one does not already exist." - -LangString str_group_plugin ${LANG_ENGLISH} \ - "Create Plugin Directories" -LangString str_desc_plugin ${LANG_ENGLISH} \ - "Create plugin directories. Plugin directories allow extending Vim \ - by dropping a file into a directory." - -LangString str_section_plugin_home ${LANG_ENGLISH} \ - "Private" -LangString str_desc_plugin_home ${LANG_ENGLISH} \ - "Create plugin directories in HOME directory." - -LangString str_section_plugin_vim ${LANG_ENGLISH} \ - "Shared" -LangString str_desc_plugin_vim ${LANG_ENGLISH} \ - "Create plugin directories in Vim install directory, it is used for \ - everybody on the system." - -LangString str_section_nls ${LANG_ENGLISH} \ - "Native Language Support" -LangString str_desc_nls ${LANG_ENGLISH} \ - "Install files for native language support." - -LangString str_unsection_register ${LANG_ENGLISH} \ - "Unregister Vim" -LangString str_desc_unregister ${LANG_ENGLISH} \ - "Unregister Vim from the system." - -LangString str_unsection_exe ${LANG_ENGLISH} \ - "Remove Vim Executables/Runtime Files" -LangString str_desc_rm_exe ${LANG_ENGLISH} \ - "Remove all Vim executables and runtime files." - -LangString str_ungroup_plugin ${LANG_ENGLISH} \ - "Remove plugin directories" -LangString str_desc_rm_plugin ${LANG_ENGLISH} \ - "Remove the plugin directories if they are empty." - -LangString str_unsection_plugin_home ${LANG_ENGLISH} \ - "Private" -LangString str_desc_rm_plugin_home ${LANG_ENGLISH} \ - "Remove the plugin directories from HOME directory." - -LangString str_unsection_plugin_vim ${LANG_ENGLISH} \ - "Shared" -LangString str_desc_rm_plugin_vim ${LANG_ENGLISH} \ - "Remove the plugin directories from Vim install directory." - -LangString str_unsection_rootdir ${LANG_ENGLISH} \ - "Remove the Vim root directory" -LangString str_desc_rm_rootdir ${LANG_ENGLISH} \ - "Remove the Vim root directory. It contains your Vim configuration files!" - - -############################################################################## -# Messages {{{1 -############################################################################## - -#LangString str_msg_too_many_ver ${LANG_ENGLISH} \ -# "Found $vim_old_ver_count Vim versions on your system.$\r$\n\ -# This installer can only handle ${VIM_MAX_OLD_VER} versions \ -# at most.$\r$\n\ -# Please remove some versions and start again." - -#LangString str_msg_invalid_root ${LANG_ENGLISH} \ -# "Invalid install path: $vim_install_root!$\r$\n\ -# It should end with $\"vim$\"." - -#LangString str_msg_bin_mismatch ${LANG_ENGLISH} \ -# "Binary path mismatch!$\r$\n$\r$\n\ -# Expect the binary path to be $\"$vim_bin_path$\",$\r$\n\ -# but system indicates the binary path is $\"$INSTDIR$\"." - -#LangString str_msg_vim_running ${LANG_ENGLISH} \ -# "Vim is still running on your system.$\r$\n\ -# Please close all instances of Vim before you continue." - -#LangString str_msg_register_ole ${LANG_ENGLISH} \ -# "Attempting to register Vim with OLE. \ -# There is no message indicates whether this works or not." - -#LangString str_msg_unreg_ole ${LANG_ENGLISH} \ -# "Attempting to unregister Vim with OLE. \ -# There is no message indicates whether this works or not." - -#LangString str_msg_rm_start ${LANG_ENGLISH} \ -# "Uninstalling the following version:" - -#LangString str_msg_rm_fail ${LANG_ENGLISH} \ -# "Fail to uninstall the following version:" - -#LangString str_msg_no_rm_key ${LANG_ENGLISH} \ -# "Cannot find uninstaller registry key." - -#LangString str_msg_no_rm_reg ${LANG_ENGLISH} \ -# "Cannot find uninstaller from registry." - -#LangString str_msg_no_rm_exe ${LANG_ENGLISH} \ -# "Cannot access uninstaller." - -#LangString str_msg_rm_copy_fail ${LANG_ENGLISH} \ -# "Fail to copy uninstaller to temporary directory." - -#LangString str_msg_rm_run_fail ${LANG_ENGLISH} \ -# "Fail to run uninstaller." - -#LangString str_msg_abort_install ${LANG_ENGLISH} \ -# "Installer will abort." - -LangString str_msg_install_fail ${LANG_ENGLISH} \ - "Installation failed. Better luck next time." - -LangString str_msg_rm_exe_fail ${LANG_ENGLISH} \ - "Some files in $0 have not been deleted!$\r$\n\ - You must do it manually." - -#LangString str_msg_rm_root_fail ${LANG_ENGLISH} \ -# "WARNING: Cannot remove $\"$vim_install_root$\", it is not empty!" - -LangString str_msg_uninstalling ${LANG_ENGLISH} \ - "Uninstalling the old version..." - -LangString str_msg_registering ${LANG_ENGLISH} \ - "Registering..." - -LangString str_msg_unregistering ${LANG_ENGLISH} \ - "Unregistering..." - - -############################################################################## -# Dialog Box {{{1 -############################################################################## - -LangString str_vimrc_page_title ${LANG_ENGLISH} \ - "Choose _vimrc settings" -LangString str_vimrc_page_subtitle ${LANG_ENGLISH} \ - "Choose the settings for enhancement, keyboard and mouse." - -LangString str_msg_compat_title ${LANG_ENGLISH} \ - " Vi / Vim behavior " -LangString str_msg_compat_desc ${LANG_ENGLISH} \ - "&Compatibility and enhancements" -LangString str_msg_compat_vi ${LANG_ENGLISH} \ - "Vi compatible" -LangString str_msg_compat_vim ${LANG_ENGLISH} \ - "Vim original" -LangString str_msg_compat_defaults ${LANG_ENGLISH} \ - "Vim with some enhancements (load defaults.vim)" -LangString str_msg_compat_all ${LANG_ENGLISH} \ - "Vim with all enhancements (load vimrc_example.vim) (Default)" - -LangString str_msg_keymap_title ${LANG_ENGLISH} \ - " Mappings " -LangString str_msg_keymap_desc ${LANG_ENGLISH} \ - "&Remap a few keys for Windows (Ctrl-V, Ctrl-C, Ctrl-A, Ctrl-S, Ctrl-F, etc)" -LangString str_msg_keymap_default ${LANG_ENGLISH} \ - "Do not remap keys (Default)" -LangString str_msg_keymap_windows ${LANG_ENGLISH} \ - "Remap a few keys" - -LangString str_msg_mouse_title ${LANG_ENGLISH} \ - " Mouse " -LangString str_msg_mouse_desc ${LANG_ENGLISH} \ - "&Behavior of right and left buttons" -LangString str_msg_mouse_default ${LANG_ENGLISH} \ - "Right: popup menu, Left: visual mode (Default)" -LangString str_msg_mouse_windows ${LANG_ENGLISH} \ - "Right: popup menu, Left: select mode (Windows)" -LangString str_msg_mouse_unix ${LANG_ENGLISH} \ - "Right: extends selection, Left: visual mode (Unix)" diff --git a/nsis/lang/german.nsi b/nsis/lang/german.nsi deleted file mode 100644 index 59d65a3425..0000000000 --- a/nsis/lang/german.nsi +++ /dev/null @@ -1,290 +0,0 @@ -# vi:set ts=8 sts=4 sw=4 et fdm=marker: -# -# german.nsi : German language strings for gvim NSIS installer. -# -# Locale ID : 1031 -# Locale Name : de -# fileencoding : UTF-8 -# Author : Christian Brabandt, tux - -!insertmacro MUI_LANGUAGE "German" - - -# Overwrite the default translation. -# These strings should be always English. Otherwise dosinst.c fails. -LangString ^SetupCaption ${LANG_GERMAN} \ - "$(^Name) Setup" -LangString ^UninstallCaption ${LANG_GERMAN} \ - "$(^Name) Uninstall" - -############################################################################## -# Translated license file for the license page {{{1 -############################################################################## - -LicenseLangString page_lic_file 0 "..\lang\LICENSE.nsis.txt" -#LicenseLangString page_lic_file ${LANG_GERMAN} "..\lang\LICENSE.de.nsis.txt" - -############################################################################## -# Translated README.txt file, which is opened after installation {{{1 -############################################################################## - -LangString vim_readme_file 0 "README.txt" -#LangString vim_readme_file ${LANG_GERMAN} "README.de.txt" - -############################################################################## -# MUI Configuration Strings {{{1 -############################################################################## - -#LangString str_dest_folder ${LANG_GERMAN} \ -# "Zielverzeichnis auswählen (muss auf $\"vim$\" enden)" - -LangString str_show_readme ${LANG_GERMAN} \ - "README-Datei nach der Installation anzeigen" - -# Install types: -LangString str_type_typical ${LANG_GERMAN} \ - "Typisch" - -LangString str_type_minimal ${LANG_GERMAN} \ - "Minimal" - -LangString str_type_full ${LANG_GERMAN} \ - "Vollständig" - - -############################################################################## -# Section Titles & Description {{{1 -############################################################################## - -LangString str_section_old_ver ${LANG_GERMAN} \ - "Vorherige Version deinstallieren" -LangString str_desc_old_ver ${LANG_GERMAN} \ - "Vorherige installierte Versionen auf diesem System deinstallieren." - -LangString str_section_exe ${LANG_GERMAN} \ - "Vim GUI" -LangString str_desc_exe ${LANG_GERMAN} \ - "Vim (Anwendung) und Laufzeitdateien (Dieser Teil ist zwingend \ - erforderlich)." - -LangString str_section_console ${LANG_GERMAN} \ - "Vim Konsolenanwendung" -LangString str_desc_console ${LANG_GERMAN} \ - "Konsolenversion von Vim." - -LangString str_section_batch ${LANG_GERMAN} \ - ".bat-Dateien erstellen" -LangString str_desc_batch ${LANG_GERMAN} \ - ".bat-Dateien erstellen, um Vim in der Konsole auszuführen." - -LangString str_group_icons ${LANG_GERMAN} \ - "Vim-Verknüpfungen erstellen" -LangString str_desc_icons ${LANG_GERMAN} \ - "Verknüpfungen mit Vim für einfachen Aufruf erstellen." - -LangString str_section_desktop ${LANG_GERMAN} \ - "Auf dem Desktop" -LangString str_desc_desktop ${LANG_GERMAN} \ - "Icons für GVim auf dem Desktop erstellen." - -LangString str_section_start_menu ${LANG_GERMAN} \ - "Im Startmenü" -LangString str_desc_start_menu ${LANG_GERMAN} \ - "Vim im Programmverzeichnis des Startmenüs hinzufügen." - -#LangString str_section_quick_launch ${LANG_GERMAN} \ -# "In der Schnellstartleiste" -#LangString str_desc_quick_launch ${LANG_GERMAN} \ -# "Verknüpfung zu Vim in der Schnellstartleiste ablegen." - -LangString str_section_edit_with ${LANG_GERMAN} \ - "Vim zum Kontextmenü hinzufügen" -LangString str_desc_edit_with ${LANG_GERMAN} \ - "Vim in das $\"Öffnen mit...$\"-Kontextmenü einfügen." - -#LangString str_section_edit_with32 ${LANG_GERMAN} \ -# "32-Bit-Version" -#LangString str_desc_edit_with32 ${LANG_GERMAN} \ -# "Vim in das $\"Öffnen mit...$\"-Kontextmenü \ -# für 32-Bit-Anwendungen integrieren." - -#LangString str_section_edit_with64 ${LANG_GERMAN} \ -# "64-Bit-Version" -#LangString str_desc_edit_with64 ${LANG_GERMAN} \ -# "Vim in das $\"Öffnen mit...$\"-Kontextmenü \ -# für 64-Bit-Anwendungen integrieren." - -LangString str_section_vim_rc ${LANG_GERMAN} \ - "Standard-Konfigurationsdatei erstellen" -LangString str_desc_vim_rc ${LANG_GERMAN} \ - "Eine Standard-Konfigurationsdatei (_vimrc) erstellen, \ - falls noch keine existiert." - -LangString str_group_plugin ${LANG_GERMAN} \ - "Plugin-Verzeichnisse anlegen" -LangString str_desc_plugin ${LANG_GERMAN} \ - "Plugin-Verzeichnisse anlegen. Plugins erlauben es, Vim \ - um zusätzliche Funktionen zu erweitern." - -LangString str_section_plugin_home ${LANG_GERMAN} \ - "Privat" -LangString str_desc_plugin_home ${LANG_GERMAN} \ - "Erstelle Plugin-Verzeichnis im HOME Benutzerverzeichnis." - -LangString str_section_plugin_vim ${LANG_GERMAN} \ - "Freigegeben" -LangString str_desc_plugin_vim ${LANG_GERMAN} \ - "Plugin-Verzeichnisse im Vim-Installationsverzeichnis erstellen. Diese werden \ - für alle Benutzer dieses Systems genutzt." - -LangString str_section_nls ${LANG_GERMAN} \ - "Unterstützung für andere Sprachen" -LangString str_desc_nls ${LANG_GERMAN} \ - "Dateien zur Unterstützung anderer Sprachen als Englisch installieren." - -LangString str_unsection_register ${LANG_GERMAN} \ - "Vim deinstallieren" -LangString str_desc_unregister ${LANG_GERMAN} \ - "Vim vom System entfernen." - -LangString str_unsection_exe ${LANG_GERMAN} \ - "Vim-Anwendung und Laufzeitdateien entfernen" -LangString str_desc_rm_exe ${LANG_GERMAN} \ - "Alle Vim-Anwendungen und Laufzeitdateien von diesem System entfernen." - -LangString str_ungroup_plugin ${LANG_GERMAN} \ - "Entferne Plugin-Verzeichnisse" -LangString str_desc_rm_plugin ${LANG_GERMAN} \ - "Entferne Plugin-Verzeichnisse, falls sie leer sind." - -LangString str_unsection_plugin_home ${LANG_GERMAN} \ - "Privat" -LangString str_desc_rm_plugin_home ${LANG_GERMAN} \ - "Entfernt die Plugin-Verzeichnisse aus dem HOME Benutzerverzeichnis." - -LangString str_unsection_plugin_vim ${LANG_GERMAN} \ - "Freigegeben" -LangString str_desc_rm_plugin_vim ${LANG_GERMAN} \ - "Entfernt das Plugin-Verzeichnis aus dem Vim-Installationsverzeichnis." - -LangString str_unsection_rootdir ${LANG_GERMAN} \ - "Entferne Vim Installationsverzeichnis" -LangString str_desc_rm_rootdir ${LANG_GERMAN} \ - "Entfernt das Vim Installationsverzeichnis. Es enthält die Vim Konfigurationsdateien!" - - -############################################################################## -# Messages {{{1 -############################################################################## - -#LangString str_msg_too_many_ver ${LANG_GERMAN} \ -# "$vim_old_ver_count Vim-Versionen auf diesem System gefunden..$\r$\n\ -# Dieser Installer kann maximal ${VIM_MAX_OLD_VER} Versionen \ -# handhaben.$\r$\n\ -# Bitte alte Versionen entfernen und noch einmal probieren." - -#LangString str_msg_invalid_root ${LANG_GERMAN} \ -# "Nicht gültiges Installationsverzeichnis: $vim_install_root!$\r$\n\ -# Der Pfad muss auf $\"vim$\" enden." - -#LangString str_msg_bin_mismatch ${LANG_GERMAN} \ -# "Pfaddiskrepanz!$\r$\n$\r$\n\ -# Erwarte Anwendungsverzeichnis $\"$vim_bin_path$\",$\r$\n\ -# aber fand Anwendungspfad $\"$INSTDIR$\" vor." - -#LangString str_msg_vim_running ${LANG_GERMAN} \ -# "Laufender Vim-Prozess erkannt.$\r$\n\ -# Bitte alle laufenden Vim-Prozesse vor dem Fortfahren beenden." - -#LangString str_msg_register_ole ${LANG_GERMAN} \ -# "Versuche OLE-Registrierung durchzuführen." - -#LangString str_msg_unreg_ole ${LANG_GERMAN} \ -# "Versuche OLE-Registrierung zu löschen." - -#LangString str_msg_rm_start ${LANG_GERMAN} \ -# "Deinstalliere die folgende Version:" - -#LangString str_msg_rm_fail ${LANG_GERMAN} \ -# "Deinstallation der Version fehlgeschlagen:" - -#LangString str_msg_no_rm_key ${LANG_GERMAN} \ -# "Deinstallationsschlüssel in der Registrierungsdatenbank nicht gefunden." - -#LangString str_msg_no_rm_reg ${LANG_GERMAN} \ -# "Kein Uninstaller in der Registrierungsdatenbank gefunden." - -#LangString str_msg_no_rm_exe ${LANG_GERMAN} \ -# "Kein Zugriff auf den Uninstaller." - -#LangString str_msg_rm_copy_fail ${LANG_GERMAN} \ -# "Fehler beim Kopieren des Uninstallers in ein temporäres Verzeichnis." - -#LangString str_msg_rm_run_fail ${LANG_GERMAN} \ -# "Fehler beim Aufruf des Uninstallers." - -#LangString str_msg_abort_install ${LANG_GERMAN} \ -# "Installation wird abgebrochen." - -LangString str_msg_install_fail ${LANG_GERMAN} \ - "Installation fehlerhaft beendet." - -LangString str_msg_rm_exe_fail ${LANG_GERMAN} \ - "Einige Dateien im Pfad $0 konnten nicht gelöscht werden!$\r$\n\ - Diese Dateien müssen manuell gelöscht werden." - -#LangString str_msg_rm_root_fail ${LANG_GERMAN} \ -# "Achtung: Kann Verzeichnis $\"$vim_install_root$\" nicht entfernen, \ -# weil es nicht leer ist!" - -LangString str_msg_uninstalling ${LANG_GERMAN} \ - "Deinstalliere alte Version..." - -LangString str_msg_registering ${LANG_GERMAN} \ - "Registriere..." - -LangString str_msg_unregistering ${LANG_GERMAN} \ - "Entferne Registrierung..." - - -############################################################################## -# Dialog Box {{{1 -############################################################################## - -LangString str_vimrc_page_title ${LANG_GERMAN} \ - "Wähle _vimrc Konfigurationsoptionen" -LangString str_vimrc_page_subtitle ${LANG_GERMAN} \ - "Wähle Einstellungen zur Kompatibilität, Tastatur und Maus." - -LangString str_msg_compat_title ${LANG_GERMAN} \ - " Vi / Vim Verhalten " -LangString str_msg_compat_desc ${LANG_GERMAN} \ - "&Kompatibilität und Erweiterungen" -LangString str_msg_compat_vi ${LANG_GERMAN} \ - "Vi-kompatibel" -LangString str_msg_compat_vim ${LANG_GERMAN} \ - "Vim Original" -LangString str_msg_compat_defaults ${LANG_GERMAN} \ - "Vim mit einigen Erweiterungen (Lädt defaults.vim)" -LangString str_msg_compat_all ${LANG_GERMAN} \ - "Vim mit allen Erweiterungen (Lädt vimrc_example.vim) (Standard)" - -LangString str_msg_keymap_title ${LANG_GERMAN} \ - " Mappings für Windows Standard Tastenkombinationen " -LangString str_msg_keymap_desc ${LANG_GERMAN} \ - "&Einige Tasten umkonfigurieren (Ctrl-V, Ctrl-C, Ctrl-A, Ctrl-S, Ctrl-F, etc)" -LangString str_msg_keymap_default ${LANG_GERMAN} \ - "Keine Tasten umkonfigurieren (Standard)" -LangString str_msg_keymap_windows ${LANG_GERMAN} \ - "Einige Tasten umkonfigurieren" - -LangString str_msg_mouse_title ${LANG_GERMAN} \ - " Maus " -LangString str_msg_mouse_desc ${LANG_GERMAN} \ - "&Verhalten der linken und rechten Buttons" -LangString str_msg_mouse_default ${LANG_GERMAN} \ - "Rechts: Popup Menü, Links: Visueller Modus (Standard)" -LangString str_msg_mouse_windows ${LANG_GERMAN} \ - "Rechts: Popup Menü, Links: Auswahl Modus (Windows)" -LangString str_msg_mouse_unix ${LANG_GERMAN} \ - "Rechts: Auswahl erweitern, Links: Visueller Modus (Unix)" diff --git a/nsis/lang/greek.nsi b/nsis/lang/greek.nsi deleted file mode 100644 index d746cb3a2c..0000000000 --- a/nsis/lang/greek.nsi +++ /dev/null @@ -1,291 +0,0 @@ -# vi:set ts=8 sts=4 sw=4 et fdm=marker: -# -# greek.nsi: Greek language strings for gvim NSIS installer. -# -# Locale ID : 1032 -# Locale Name : el -# fileencoding : UTF-8 -# Author : Christos Longros - -!insertmacro MUI_LANGUAGE "Greek" - - -# Overwrite the default translation. -# These strings should be always English. Otherwise dosinst.c fails. -LangString ^SetupCaption ${LANG_GREEK} \ - "$(^Name) Setup" -LangString ^UninstallCaption ${LANG_GREEK} \ - "$(^Name) Uninstall" - -############################################################################## -# Translated license file for the license page {{{1 -############################################################################## - -LicenseLangString page_lic_file 0 "..\lang\LICENSE.nsis.txt" -#LicenseLangString page_lic_file ${LANG_GREEK} "..\lang\LICENSE.el.nsis.txt" - -############################################################################## -# Translated README.txt file, which is opened after installation {{{1 -############################################################################## - -LangString vim_readme_file 0 "README.txt" -#LangString vim_readme_file ${LANG_GREEK} "README.el.txt" - -############################################################################## -# MUI Configuration Strings {{{1 -############################################################################## - -#LangString str_dest_folder ${LANG_GREEK} \ -# "Φάκελος Ï€ÏοοÏισμός (ΠÏέπει να τελειώνει σε $\"vim$\")" - -LangString str_show_readme ${LANG_GREEK} \ - "Εμφάνιση README μετά την ολοκλήÏωση της εγκατάστασης" - -# Install types: -LangString str_type_typical ${LANG_GREEK} \ - "Typical" - -LangString str_type_minimal ${LANG_GREEK} \ - "Minimal" - -LangString str_type_full ${LANG_GREEK} \ - "Full" - - -############################################################################## -# Section Titles & Description {{{1 -############################################################################## - -LangString str_section_old_ver ${LANG_GREEK} \ - "Απεγκατάσταση υπάÏχουσων εκδόσεων" -LangString str_desc_old_ver ${LANG_GREEK} \ - "Απεγκατάσταση υπάÏχουσων εκδόσεων Vim από το σÏστημά σας." - -LangString str_section_exe ${LANG_GREEK} \ - "Vim GUI and runtime files" -LangString str_desc_exe ${LANG_GREEK} \ - "Vim GUI executables and runtime files. This component is required." - -LangString str_section_console ${LANG_GREEK} \ - "Vim console program" -LangString str_desc_console ${LANG_GREEK} \ - "Console version of Vim (vim.exe)." - -LangString str_section_batch ${LANG_GREEK} \ - "ΔημιουÏγία αÏχείων .bat" -LangString str_desc_batch ${LANG_GREEK} \ - "ΔημιουÏγία αÏχείων .bat από παÏάγωγα Vim στον κατάλογο των Windows για \ - χÏήση γÏαμμής εντολών." - -LangString str_group_icons ${LANG_GREEK} \ - "ΔημιουÏγία εικονιδίων Vim" -LangString str_desc_icons ${LANG_GREEK} \ - "ΔημιουÏγία εικονιδίων για τον Vim σε διάφοÏες τοποθεσίες για την διευκόλυνση της Ï€Ïοσβασιμότητας." - -LangString str_section_desktop ${LANG_GREEK} \ - "Στην επιφάνεια εÏγασίας" -LangString str_desc_desktop ${LANG_GREEK} \ - "ΔημιουÏγία εικονιδίων για gVim εκτελέσιμα στην επιφάνεια εÏγασίας." - -LangString str_section_start_menu ${LANG_GREEK} \ - "In the Start Menu Programs Folder" -LangString str_desc_start_menu ${LANG_GREEK} \ - "ΠÏοσθήκη του Vim στον φάκελο Ï€ÏογÏαμμάτων του Î¼ÎµÎ½Î¿Ï ÎµÎºÎºÎ¯Î½Î·ÏƒÎ·Ï‚." - -#LangString str_section_quick_launch ${LANG_GREEK} \ -# "In the Quick Launch Bar" -#LangString str_desc_quick_launch ${LANG_GREEK} \ -# "Add Vim shortcut in the quick launch bar." - -LangString str_section_edit_with ${LANG_GREEK} \ - "Add Vim Context Menu" -LangString str_desc_edit_with ${LANG_GREEK} \ - "Add Vim to the $\"Open With...$\" context menu list." - -#LangString str_section_edit_with32 ${LANG_GREEK} \ -# "32-bit Version" -#LangString str_desc_edit_with32 ${LANG_GREEK} \ -# "Add Vim to the $\"Open With...$\" context menu list \ -# for 32-bit applications." - -#LangString str_section_edit_with64 ${LANG_GREEK} \ -# "64-bit Version" -#LangString str_desc_edit_with64 ${LANG_GREEK} \ -# "Add Vim to the $\"Open With...$\" context menu list \ -# for 64-bit applications." - -LangString str_section_vim_rc ${LANG_GREEK} \ - "ΔημιουÏγία Ï€Ïοεπιλεγμένων Ïυθμίσεων" -LangString str_desc_vim_rc ${LANG_GREEK} \ - "ΔημιουÏγία Ï€Ïοεπιλεγμένου αÏχείου Ïυθμίσεων (_vimrc) αν δεν υπάÏχει ήδη." - -LangString str_group_plugin ${LANG_GREEK} \ - "ΔημιουÏγία καταλόγων Plugin" -LangString str_desc_plugin ${LANG_GREEK} \ - "ΔημιουÏγία καταλόγων plugin. Οι κατάλογοι Plugin επιτÏέπουν την επέκταση του Vim \ - με την μεταφοÏά ενός αÏχείου σε έναν κατάλογο." - -LangString str_section_plugin_home ${LANG_GREEK} \ - "Private" -LangString str_desc_plugin_home ${LANG_GREEK} \ - "ΔημιουÏγία καταλόγων plugin στον κατάλογο HOME." - -LangString str_section_plugin_vim ${LANG_GREEK} \ - "Shared" -LangString str_desc_plugin_vim ${LANG_GREEK} \ - "ΔημιουÏγία καταλόγων plugin στον κατάλογο εγκατάστασης του Vim, χÏησιμοποιείται από \ - όλους στο σÏστημα." - -LangString str_section_nls ${LANG_GREEK} \ - "Native Language Support" -LangString str_desc_nls ${LANG_GREEK} \ - "Install files for native language support." - -LangString str_unsection_register ${LANG_GREEK} \ - "Unregister Vim" -LangString str_desc_unregister ${LANG_GREEK} \ - "Unregister Vim from the system." - -LangString str_unsection_exe ${LANG_GREEK} \ - "Remove Vim Executables/Runtime Files" -LangString str_desc_rm_exe ${LANG_GREEK} \ - "Remove all Vim executables and runtime files." - -LangString str_ungroup_plugin ${LANG_GREEK} \ - "Remove plugin directories" -LangString str_desc_rm_plugin ${LANG_GREEK} \ - "Remove the plugin directories if they are empty." - -LangString str_unsection_plugin_home ${LANG_GREEK} \ - "Private" -LangString str_desc_rm_plugin_home ${LANG_GREEK} \ - "Remove the plugin directories from HOME directory." - -LangString str_unsection_plugin_vim ${LANG_GREEK} \ - "Shared" -LangString str_desc_rm_plugin_vim ${LANG_GREEK} \ - "Remove the plugin directories from Vim install directory." - -LangString str_unsection_rootdir ${LANG_GREEK} \ - "Remove the Vim root directory" -LangString str_desc_rm_rootdir ${LANG_GREEK} \ - "Remove the Vim root directory. It contains your Vim configuration files!" - - -############################################################################## -# Messages {{{1 -############################################################################## - -#LangString str_msg_too_many_ver ${LANG_GREEK} \ -# "Found $vim_old_ver_count Vim versions on your system.$\r$\n\ -# This installer can only handle ${VIM_MAX_OLD_VER} versions \ -# at most.$\r$\n\ -# Please remove some versions and start again." - -#LangString str_msg_invalid_root ${LANG_GREEK} \ -# "Invalid install path: $vim_install_root!$\r$\n\ -# It should end with $\"vim$\"." - -#LangString str_msg_bin_mismatch ${LANG_GREEK} \ -# "Binary path mismatch!$\r$\n$\r$\n\ -# Expect the binary path to be $\"$vim_bin_path$\",$\r$\n\ -# but system indicates the binary path is $\"$INSTDIR$\"." - -#LangString str_msg_vim_running ${LANG_GREEK} \ -# "Vim is still running on your system.$\r$\n\ -# Please close all instances of Vim before you continue." - -#LangString str_msg_register_ole ${LANG_GREEK} \ -# "Attempting to register Vim with OLE. \ -# There is no message indicates whether this works or not." - -#LangString str_msg_unreg_ole ${LANG_GREEK} \ -# "Attempting to unregister Vim with OLE. \ -# There is no message indicates whether this works or not." - -#LangString str_msg_rm_start ${LANG_GREEK} \ -# "Uninstalling the following version:" - -#LangString str_msg_rm_fail ${LANG_GREEK} \ -# "Fail to uninstall the following version:" - -#LangString str_msg_no_rm_key ${LANG_GREEK} \ -# "Cannot find uninstaller registry key." - -#LangString str_msg_no_rm_reg ${LANG_GREEK} \ -# "Cannot find uninstaller from registry." - -#LangString str_msg_no_rm_exe ${LANG_GREEK} \ -# "Cannot access uninstaller." - -#LangString str_msg_rm_copy_fail ${LANG_GREEK} \ -# "Fail to copy uninstaller to temporary directory." - -#LangString str_msg_rm_run_fail ${LANG_GREEK} \ -# "Αποτυχία εκτέλεσης της λειτουÏγίας απεγκατάστασης." - -#LangString str_msg_abort_install ${LANG_GREEK} \ -# "Installer will abort." - -LangString str_msg_install_fail ${LANG_GREEK} \ - "Η εγκατάσταση απέτυχε. Better luck next time." - -LangString str_msg_rm_exe_fail ${LANG_GREEK} \ - "ΜεÏικά αÏχεία στο $0 δεν έχουν διαγÏαφεί!$\r$\n\ - ΠÏέπει να το κάνετε χειÏοκίνητα." - -#LangString str_msg_rm_root_fail ${LANG_GREEK} \ -# "ΠΡΟΕΙΔΟΠΟΙΗΣΗ: ΑδÏνατη η αφαίÏεση $\"$vim_install_root$\", δεν είναι κενό!" - -LangString str_msg_uninstalling ${LANG_GREEK} \ - "Απεγκατάσταση παλιάς έκδοσης the old version..." - -LangString str_msg_registering ${LANG_GREEK} \ - "ΚαταχώÏηση..." - -LangString str_msg_unregistering ${LANG_GREEK} \ - "Unregistering..." - - -############################################################################## -# Dialog Box {{{1 -############################################################################## - -LangString str_vimrc_page_title ${LANG_GREEK} \ - "Επιλογή Ïυθμίσεων _vimrc" -LangString str_vimrc_page_subtitle ${LANG_GREEK} \ - "Choose the settings for enhancement, keyboard and mouse." - -LangString str_msg_compat_title ${LANG_GREEK} \ - " ΣυμπεÏιφοÏά Vi / Vim " -LangString str_msg_compat_desc ${LANG_GREEK} \ - "&Compatibility and enhancements" -LangString str_msg_compat_vi ${LANG_GREEK} \ - "Vi compatible" -LangString str_msg_compat_vim ${LANG_GREEK} \ - "Vim original" -LangString str_msg_compat_defaults ${LANG_GREEK} \ - "Vim with some enhancements (load defaults.vim)" -LangString str_msg_compat_all ${LANG_GREEK} \ - "Vim with all enhancements (load vimrc_example.vim) (Default)" - -LangString str_msg_keymap_title ${LANG_GREEK} \ - " Mappings " -LangString str_msg_keymap_desc ${LANG_GREEK} \ - "&Remap a few keys for Windows (Ctrl-V, Ctrl-C, Ctrl-A, Ctrl-S, Ctrl-F, etc)" -LangString str_msg_keymap_default ${LANG_GREEK} \ - "Do not remap keys (Default)" -LangString str_msg_keymap_windows ${LANG_GREEK} \ - "Remap a few keys" - -LangString str_msg_mouse_title ${LANG_GREEK} \ - " Ποντίκι " -LangString str_msg_mouse_desc ${LANG_GREEK} \ - "&Behavior of right and left buttons" -LangString str_msg_mouse_default ${LANG_GREEK} \ - "Right: popup menu, Left: visual mode (Default)" -LangString str_msg_mouse_windows ${LANG_GREEK} \ - "Right: popup menu, Left: select mode (Windows)" -LangString str_msg_mouse_unix ${LANG_GREEK} \ - "Right: extends selection, Left: visual mode (Unix)" - diff --git a/nsis/lang/italian.nsi b/nsis/lang/italian.nsi deleted file mode 100644 index 629d476589..0000000000 --- a/nsis/lang/italian.nsi +++ /dev/null @@ -1,288 +0,0 @@ -# vi:set ts=8 sts=4 sw=4 et fdm=marker: -# -# italian.nsi : Italian language strings for gvim NSIS installer. -# -# Locale ID : 1040 -# Locale Name : it -# fileencoding : UTF-8 -# Author : Antonio Colombo, bovirus - revision: 12.05.2023 - -!insertmacro MUI_LANGUAGE "Italian" - - -# Overwrite the default translation. -# These strings should be always English. Otherwise dosinst.c fails. -LangString ^SetupCaption ${LANG_ITALIAN} \ - "$(^Name) Setup" -LangString ^UninstallCaption ${LANG_ITALIAN} \ - "$(^Name) Uninstall" - -############################################################################## -# Translated license file for the license page {{{1 -############################################################################## - -LicenseLangString page_lic_file ${LANG_ITALIAN} "..\lang\LICENSE.it.nsis.txt" - -############################################################################## -# Translated README.txt file, which is opened after installation {{{1 -############################################################################## - -LangString vim_readme_file ${LANG_ITALIAN} "README.it.txt" - -############################################################################## -# MUI Configuration Strings {{{1 -############################################################################## - -#LangString str_dest_folder ${LANG_ITALIAN} \ -# "Cartella installazione (il percorso deve finire con $\"vim$\")" - -LangString str_show_readme ${LANG_ITALIAN} \ - "Visualizza file README a fine installazione" - -# Install types: -LangString str_type_typical ${LANG_ITALIAN} \ - "Tipica" - -LangString str_type_minimal ${LANG_ITALIAN} \ - "Minima" - -LangString str_type_full ${LANG_ITALIAN} \ - "Completa" - - -############################################################################## -# Section Titles & Description {{{1 -############################################################################## - -LangString str_section_old_ver ${LANG_ITALIAN} \ - "Disinstalla versioni esistenti" -LangString str_desc_old_ver ${LANG_ITALIAN} \ - "Disinstalla versioni esistenti di Vim." - -LangString str_section_exe ${LANG_ITALIAN} \ - "GUI e file supporto Vim" -LangString str_desc_exe ${LANG_ITALIAN} \ - "GUI programmi e file di supporto Vim. Questa componente è indispensabile." - -LangString str_section_console ${LANG_ITALIAN} \ - "Console Vim (vim.exe per MS-DOS)" -LangString str_desc_console ${LANG_ITALIAN} \ - "Versione console di Vim (vim.exe)." - -LangString str_section_batch ${LANG_ITALIAN} \ - "Crea file .bat" -LangString str_desc_batch ${LANG_ITALIAN} \ - "Crea file .bat per varianti di Vim nella cartella \ - di Windows, per utilizzo da riga di comando." - -LangString str_group_icons ${LANG_ITALIAN} \ - "Crea icone Vim" -LangString str_desc_icons ${LANG_ITALIAN} \ - "Crea icone Vim per rendere facile l'accesso." - -LangString str_section_desktop ${LANG_ITALIAN} \ - "Icone sul Desktop" -LangString str_desc_desktop ${LANG_ITALIAN} \ - "Crea icone programma gVim sul desktop." - -LangString str_section_start_menu ${LANG_ITALIAN} \ - "Gruppo programmi menù START" -LangString str_desc_start_menu ${LANG_ITALIAN} \ - "Aggiunge gruppo programmi al menù START." - -#LangString str_section_quick_launch ${LANG_ITALIAN} \ -# "Barra avvio veloce" -#LangString str_desc_quick_launch ${LANG_ITALIAN} \ -# "Aggiunge un collegamento a Vim nella barra di avvio veloce." - -LangString str_section_edit_with ${LANG_ITALIAN} \ - "Aggiungi Vim al menù contestuale" -LangString str_desc_edit_with ${LANG_ITALIAN} \ - "Aggiunge Vim al menu contestuale $\"Apri con...$\"." - -#LangString str_section_edit_with32 ${LANG_ITALIAN} \ -# "Versione a 32 bit" -#LangString str_desc_edit_with32 ${LANG_ITALIAN} \ -# "Aggiungi Vim al menu contestuale $\"Apri con...$\" \ -# per applicazioni a 32 bit." - -#LangString str_section_edit_with64 ${LANG_ITALIAN} \ -# "Versione a 64 bit" -#LangString str_desc_edit_with64 ${LANG_ITALIAN} \ -# "Aggiunge Vim al menu contestuale $\"Apri con...$\" \ -# per applicazioni a 64 bit." - -LangString str_section_vim_rc ${LANG_ITALIAN} \ - "Crea configurazione predefinita" -LangString str_desc_vim_rc ${LANG_ITALIAN} \ - "Crea, se non ne esiste già uno, un file configurazione predefinito (_vimrc) ." - -LangString str_group_plugin ${LANG_ITALIAN} \ - "Crea cartella plugin" -LangString str_desc_plugin ${LANG_ITALIAN} \ - "Crea cartella plugin. I plugin consentono di aggiungere funzionalità \ - a Vim copiando i relativi file in una di queste cartelle." - -LangString str_section_plugin_home ${LANG_ITALIAN} \ - "Privata" -LangString str_desc_plugin_home ${LANG_ITALIAN} \ - "Crea cartella plugin nella cartella HOME." - -LangString str_section_plugin_vim ${LANG_ITALIAN} \ - "Condivisa" -LangString str_desc_plugin_vim ${LANG_ITALIAN} \ - "Crea cartella plugin nella cartella di installazione di Vim \ - per uso da parte di tutti gli utenti di questo sistema." - -LangString str_section_nls ${LANG_ITALIAN} \ - "Supporto nativo lingua (NLS)" -LangString str_desc_nls ${LANG_ITALIAN} \ - "Installa i file per il supporto nativo multilingua." - -LangString str_unsection_register ${LANG_ITALIAN} \ - "Rimuovi Vim dal registro" -LangString str_desc_unregister ${LANG_ITALIAN} \ - "Rimuove Vim dal registro di configurazione sistema." - -LangString str_unsection_exe ${LANG_ITALIAN} \ - "Elimina programmi/file di supporto Vim" -LangString str_desc_rm_exe ${LANG_ITALIAN} \ - "Elimina tutti i programmi/file di supporto di Vim." - -LangString str_ungroup_plugin ${LANG_ITALIAN} \ - "Elimina cartelle plugin" -LangString str_desc_rm_plugin ${LANG_ITALIAN} \ - "Elimina le cartelle plugin se sono vuote." - -LangString str_unsection_plugin_home ${LANG_ITALIAN} \ - "Private" -LangString str_desc_rm_plugin_home ${LANG_ITALIAN} \ - "Elimina cartelle plugin nella cartella HOME." - -LangString str_unsection_plugin_vim ${LANG_ITALIAN} \ - "Condivise" -LangString str_desc_rm_plugin_vim ${LANG_ITALIAN} \ - "Elimina cartelle plugin nella cartella di installazione di Vim." - -LangString str_unsection_rootdir ${LANG_ITALIAN} \ - "Elimina la cartella di installazione di Vim" -LangString str_desc_rm_rootdir ${LANG_ITALIAN} \ - "Elimina la cartella di installazione di Vim. Contiene i file di configurazione!" - - -############################################################################## -# Messages {{{1 -############################################################################## - -#LangString str_msg_too_many_ver ${LANG_ITALIAN} \ -# "Rilevate nel sistema $vim_old_ver_count versioni di Vim.$\r$\n\ -# Questo programma di installazione può gestire solo \ -# ${VIM_MAX_OLD_VER} versioni.$\r$\n\ -# Disinstalla qualche versione precedente e ricomincia." - -#LangString str_msg_invalid_root ${LANG_ITALIAN} \ -# "Nome cartella di installazione non valida: $vim_install_root!$\r$\n\ -# Dovrebbe terminare con $\"vim$\"." - -#LangString str_msg_bin_mismatch ${LANG_ITALIAN} \ -# "Conflitto nella cartella di installazione!$\r$\n$\r$\n\ -# La cartella di installazione dev'essere $\"$vim_bin_path$\",$\r$\n\ -# ma il sistema indica che il percorso è $\"$INSTDIR$\"." - -#LangString str_msg_vim_running ${LANG_ITALIAN} \ -# "Vim è ancora in esecuzione nel sistema.$\r$\n\ -# Per continuare chiudi tutte le sessioni attive di Vim." - -#LangString str_msg_register_ole ${LANG_ITALIAN} \ -# "Tentativo di registrazione di Vim con OLE. \ -# Non ci sono messaggi che indicano se l'operazione è riuscita." - -#LangString str_msg_unreg_ole ${LANG_ITALIAN} \ -# "Tentativo di rimozione di VIM dal registro via OLE. \ -# Non ci sono messaggi che indicano se l'operazione è riuscita." - -#LangString str_msg_rm_start ${LANG_ITALIAN} \ -# "Disinstallazione della versione:" - -#LangString str_msg_rm_fail ${LANG_ITALIAN} \ -# "Disinstallazione non riuscita per la versione:" - -#LangString str_msg_no_rm_key ${LANG_ITALIAN} \ -# "Impossibile trovare chiave disinstallazione nel registro." - -#LangString str_msg_no_rm_reg ${LANG_ITALIAN} \ -# "Impossibile trovare programma disinstallazione nel registro." - -#LangString str_msg_no_rm_exe ${LANG_ITALIAN} \ -# "Impossibile trovare programma disinstallazione." - -#LangString str_msg_rm_copy_fail ${LANG_ITALIAN} \ -# "Impossibile copiare il programma disinstallazione in una cartella temporanea." - -#LangString str_msg_rm_run_fail ${LANG_ITALIAN} \ -# "Impossibile eseguire programma disinstallazione." - -#LangString str_msg_abort_install ${LANG_ITALIAN} \ -# "Il programma di disinstallazione verrà chiuso senza aver eseguito nessuna modifica." - -LangString str_msg_install_fail ${LANG_ITALIAN} \ - "Installazione non riuscita." - -LangString str_msg_rm_exe_fail ${LANG_ITALIAN} \ - "Alcuni file in $0 non sono stati eliminati!$\r$\n\ - I file vanno rimossi manualmente." - -#LangString str_msg_rm_root_fail ${LANG_ITALIAN} \ -# "AVVISO: impossibile eliminare $\"$vim_install_root$\", non è vuota!" - -LangString str_msg_uninstalling ${LANG_ITALIAN} \ - "Disinstallazione vecchia versione Vim..." - -LangString str_msg_registering ${LANG_ITALIAN} \ - "Aggiunta di Vim al registro..." - -LangString str_msg_unregistering ${LANG_ITALIAN} \ - "Rimozione di Vim dal registro..." - - -############################################################################## -# Dialog Box {{{1 -############################################################################## - -LangString str_vimrc_page_title ${LANG_ITALIAN} \ - "Scelta impostazioni _vimrc" -LangString str_vimrc_page_subtitle ${LANG_ITALIAN} \ - "Scelta impostazioni funzionalità aggiuntive, tastiera e mouse." - -LangString str_msg_compat_title ${LANG_ITALIAN} \ - " Comportamento come Vi / Vim " -LangString str_msg_compat_desc ${LANG_ITALIAN} \ - "&Compatibilità e funzionalità" -LangString str_msg_compat_vi ${LANG_ITALIAN} \ - "Compatibile Vi" -LangString str_msg_compat_vim ${LANG_ITALIAN} \ - "Vim originale" -LangString str_msg_compat_defaults ${LANG_ITALIAN} \ - "Vim con alcune funzionalità aggiuntive (defaults.vim)" -LangString str_msg_compat_all ${LANG_ITALIAN} \ - "Vim con tutte le funzionalità aggiuntive (vimrc_example.vim) (predefinito)" - -LangString str_msg_keymap_title ${LANG_ITALIAN} \ - " Mappature tastiera " -LangString str_msg_keymap_desc ${LANG_ITALIAN} \ - "&Rimappa alcuni tasti Windows (Ctrl-V, Ctrl-C, Ctrl-A, Ctrl-S, Ctrl-F, etc.)" -LangString str_msg_keymap_default ${LANG_ITALIAN} \ - "Non rimappare i tasti (predefinito)" -LangString str_msg_keymap_windows ${LANG_ITALIAN} \ - "Rimappa solo alcuni tasti" - -LangString str_msg_mouse_title ${LANG_ITALIAN} \ - " Mouse " -LangString str_msg_mouse_desc ${LANG_ITALIAN} \ - "&Comportamento pulsanti destro/sinistro" -LangString str_msg_mouse_default ${LANG_ITALIAN} \ - "Destro: menu popup, Sinistro: modalità visuale (predefinito)" -LangString str_msg_mouse_windows ${LANG_ITALIAN} \ - "Destro: menu popup, Sinistro: selezione modalità (Windows)" -LangString str_msg_mouse_unix ${LANG_ITALIAN} \ - "Destro: estensione selezione, Sinistro: modalità visuale (Unix)" diff --git a/nsis/lang/japanese.nsi b/nsis/lang/japanese.nsi deleted file mode 100644 index 6bacf4930f..0000000000 --- a/nsis/lang/japanese.nsi +++ /dev/null @@ -1,297 +0,0 @@ -# vi:set ts=8 sts=4 sw=4 et fdm=marker: -# -# japanese.nsi: Japanese language strings for gvim NSIS installer. -# -# Locale ID : 1041 -# Locale Name : ja -# fileencoding : UTF-8 -# Author : Ken Takata - -!insertmacro MUI_LANGUAGE "Japanese" - - -# Overwrite the default translation. -# These strings should be always English. Otherwise dosinst.c fails. -LangString ^SetupCaption ${LANG_JAPANESE} \ - "$(^Name) Setup" -LangString ^UninstallCaption ${LANG_JAPANESE} \ - "$(^Name) Uninstall" - -# Workarounds for NSIS Japanese translation. The messages are too long. -# These should be better to be fixed by the NSIS upstream. -LangString ^SpaceAvailable ${LANG_JAPANESE} \ - "利用å¯èƒ½ãªãƒ‡ã‚£ã‚¹ã‚¯å®¹é‡ï¼š" -LangString ^SpaceRequired ${LANG_JAPANESE} \ - "å¿…è¦ãªãƒ‡ã‚£ã‚¹ã‚¯å®¹é‡ï¼š" -# Fix another NSIS Japanese translation. The access key was missing. -LangString ^InstallBtn ${LANG_JAPANESE} \ - "インストール(&I)" - -############################################################################## -# Translated license file for the license page {{{1 -############################################################################## - -LicenseLangString page_lic_file 0 "..\lang\LICENSE.nsis.txt" -#LicenseLangString page_lic_file ${LANG_JAPANESE} "..\lang\LICENSE.ja.txt" - -############################################################################## -# Translated README.txt file, which is opened after installation {{{1 -############################################################################## - -LangString vim_readme_file 0 "README.txt" -#LangString vim_readme_file ${LANG_JAPANESE} "README.jax.txt" - -############################################################################## -# MUI Configuration Strings {{{1 -############################################################################## - -#LangString str_dest_folder ${LANG_JAPANESE} \ -# "Destination Folder (Must end with $\"vim$\")" - -LangString str_show_readme ${LANG_JAPANESE} \ - "インストール完了後㫠README を表示ã™ã‚‹" - -# Install types: -LangString str_type_typical ${LANG_JAPANESE} \ - "通常" - -LangString str_type_minimal ${LANG_JAPANESE} \ - "最å°" - -LangString str_type_full ${LANG_JAPANESE} \ - "å…¨ã¦" - - -############################################################################## -# Section Titles & Description {{{1 -############################################################################## - -LangString str_section_old_ver ${LANG_JAPANESE} \ - "既存ã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã‚’アンインストール" -LangString str_desc_old_ver ${LANG_JAPANESE} \ - "ã™ã§ã«ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã•れã¦ã„ã‚‹ Vim をシステムã‹ã‚‰å‰Šé™¤ã—ã¾ã™ã€‚" - -LangString str_section_exe ${LANG_JAPANESE} \ - "Vim GUI ã¨ãƒ©ãƒ³ã‚¿ã‚¤ãƒ ãƒ•ァイル" -LangString str_desc_exe ${LANG_JAPANESE} \ - "Vim GUI 実行ファイルã¨ãƒ©ã‚¤ãƒ³ã‚¿ã‚¤ãƒ ãƒ•ァイル。ã“ã®ã‚³ãƒ³ãƒãƒ¼ãƒãƒ³ãƒˆã¯å¿…é ˆã§ã™ã€‚" - -LangString str_section_console ${LANG_JAPANESE} \ - "Vim コンソールプログラム" -LangString str_desc_console ${LANG_JAPANESE} \ - "コンソール版㮠Vim (vim.exe)。" - -LangString str_section_batch ${LANG_JAPANESE} \ - ".bat ファイルを作æˆ" -LangString str_desc_batch ${LANG_JAPANESE} \ - "コマンドラインã‹ã‚‰ Vim ã¨é–¢é€£ã‚³ãƒžãƒ³ãƒ‰ã‚’実行ã§ãるよã†ã«ã€.bat ファイルを Windows ディレクトリã«ä½œæˆã—ã¾ã™ã€‚" - -LangString str_group_icons ${LANG_JAPANESE} \ - "Vim ã®ã‚¢ã‚¤ã‚³ãƒ³ã‚’作æˆ" -LangString str_desc_icons ${LANG_JAPANESE} \ - "Vim ã‚’ç°¡å˜ã«å®Ÿè¡Œã§ãるよã†ã«ã€ã„ãã¤ã‹ã®å ´æ‰€ã«ã‚¢ã‚¤ã‚³ãƒ³ã‚’作æˆã—ã¾ã™ã€‚" - -LangString str_section_desktop ${LANG_JAPANESE} \ - "デスクトップ上" -LangString str_desc_desktop ${LANG_JAPANESE} \ - "gVim 実行ファイルã®ã‚¢ã‚¤ã‚³ãƒ³ã‚’デスクトップ上ã«ä½œæˆã—ã¾ã™ã€‚" - -LangString str_section_start_menu ${LANG_JAPANESE} \ - "スタートメニューã®ãƒ—ログラムフォルダー上" -LangString str_desc_start_menu ${LANG_JAPANESE} \ - "Vim ã®ã‚¢ã‚¤ã‚³ãƒ³ã‚’スタートメニューã®ãƒ—ログラムフォルダー上ã«ä½œæˆã—ã¾ã™ã€‚" - -#LangString str_section_quick_launch ${LANG_JAPANESE} \ -# "In the Quick Launch Bar" -#LangString str_desc_quick_launch ${LANG_JAPANESE} \ -# "Add Vim shortcut in the quick launch bar." - -LangString str_section_edit_with ${LANG_JAPANESE} \ - "Vim ã®ã‚³ãƒ³ãƒ†ã‚­ã‚¹ãƒˆãƒ¡ãƒ‹ãƒ¥ãƒ¼ã‚’追加" -LangString str_desc_edit_with ${LANG_JAPANESE} \ - "$\"Vimã§ç·¨é›†ã™ã‚‹$\" をコンテキストメニューã«è¿½åŠ ã—ã¾ã™ã€‚" - -#LangString str_section_edit_with32 ${LANG_JAPANESE} \ -# "32-bit Version" -#LangString str_desc_edit_with32 ${LANG_JAPANESE} \ -# "Add Vim to the $\"Open With...$\" context menu list \ -# for 32-bit applications." - -#LangString str_section_edit_with64 ${LANG_JAPANESE} \ -# "64-bit Version" -#LangString str_desc_edit_with64 ${LANG_JAPANESE} \ -# "Add Vim to the $\"Open With...$\" context menu list \ -# for 64-bit applications." - -LangString str_section_vim_rc ${LANG_JAPANESE} \ - "既定ã®ã‚³ãƒ³ãƒ•ィグを作æˆ" -LangString str_desc_vim_rc ${LANG_JAPANESE} \ - "ã‚‚ã—ç„¡ã‘れã°ã€æ—¢å®šã®ã‚³ãƒ³ãƒ•ィグファイル (_vimrc) を作æˆã—ã¾ã™ã€‚" - -LangString str_group_plugin ${LANG_JAPANESE} \ - "プラグインディレクトリを作æˆ" -LangString str_desc_plugin ${LANG_JAPANESE} \ - "プラグインディレクトリを作æˆã—ã¾ã™ã€‚ãã“ã«ãƒ—ラグインファイルを置ãã“ã¨ã§ Vim ã‚’æ‹¡å¼µã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚" - -LangString str_section_plugin_home ${LANG_JAPANESE} \ - "個人用" -LangString str_desc_plugin_home ${LANG_JAPANESE} \ - "プラグインディレクトリをホームディレクトリã«ä½œæˆã—ã¾ã™ã€‚" - -LangString str_section_plugin_vim ${LANG_JAPANESE} \ - "共用" -LangString str_desc_plugin_vim ${LANG_JAPANESE} \ - "プラグインディレクトリを Vim ã®ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã«ä½œæˆã—ã¾ã™ã€‚システムã®å…¨å“¡ã§å…±æœ‰ã•れã¾ã™ã€‚" - -LangString str_section_nls ${LANG_JAPANESE} \ - "多言語サãƒãƒ¼ãƒˆ" -LangString str_desc_nls ${LANG_JAPANESE} \ - "多言語サãƒãƒ¼ãƒˆç”¨ã®ãƒ•ァイルをインストールã—ã¾ã™ã€‚" - -LangString str_unsection_register ${LANG_JAPANESE} \ - "Vim を登録解除" -LangString str_desc_unregister ${LANG_JAPANESE} \ - "Vim をシステムã‹ã‚‰ç™»éŒ²è§£é™¤ã—ã¾ã™ã€‚" - -LangString str_unsection_exe ${LANG_JAPANESE} \ - "Vim ã®å®Ÿè¡Œãƒ•ァイル/ランタイムファイルを削除" -LangString str_desc_rm_exe ${LANG_JAPANESE} \ - "å…¨ã¦ã® Vim ã®å®Ÿè¡Œãƒ•ァイルã¨ãƒ©ãƒ³ã‚¿ã‚¤ãƒ ãƒ•ァイルを削除ã—ã¾ã™ã€‚" - -LangString str_ungroup_plugin ${LANG_JAPANESE} \ - "プラグインディレクトリを削除" -LangString str_desc_rm_plugin ${LANG_JAPANESE} \ - "プラグインディレクトリãŒç©ºã§ã‚れã°ãれを削除ã—ã¾ã™ã€‚" - -LangString str_unsection_plugin_home ${LANG_JAPANESE} \ - "個人用" -LangString str_desc_rm_plugin_home ${LANG_JAPANESE} \ - "プラグインディレクトリをホームディレクトリã‹ã‚‰å‰Šé™¤ã—ã¾ã™ã€‚" - -LangString str_unsection_plugin_vim ${LANG_JAPANESE} \ - "共用" -LangString str_desc_rm_plugin_vim ${LANG_JAPANESE} \ - "プラグインディレクトリを Vim ã®ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã‹ã‚‰å‰Šé™¤ã—ã¾ã™ã€‚" - -LangString str_unsection_rootdir ${LANG_JAPANESE} \ - "Vim ã®ãƒˆãƒƒãƒ—ディレクトリを削除" -LangString str_desc_rm_rootdir ${LANG_JAPANESE} \ - "Vim ã®ãƒˆãƒƒãƒ—ディレクトリを削除ã—ã¾ã™ã€‚ã‚ãªãŸã® Vim ã®è¨­å®šãƒ•ァイルもå«ã¾ã‚Œã¦ã„ã‚‹ã“ã¨ã«æ³¨æ„ã—ã¦ãã ã•ã„ï¼" - - -############################################################################## -# Messages {{{1 -############################################################################## - -#LangString str_msg_too_many_ver ${LANG_JAPANESE} \ -# "Found $vim_old_ver_count Vim versions on your system.$\r$\n\ -# This installer can only handle ${VIM_MAX_OLD_VER} versions \ -# at most.$\r$\n\ -# Please remove some versions and start again." - -#LangString str_msg_invalid_root ${LANG_JAPANESE} \ -# "Invalid install path: $vim_install_root!$\r$\n\ -# It should end with $\"vim$\"." - -#LangString str_msg_bin_mismatch ${LANG_JAPANESE} \ -# "Binary path mismatch!$\r$\n$\r$\n\ -# Expect the binary path to be $\"$vim_bin_path$\",$\r$\n\ -# but system indicates the binary path is $\"$INSTDIR$\"." - -#LangString str_msg_vim_running ${LANG_JAPANESE} \ -# "Vim is still running on your system.$\r$\n\ -# Please close all instances of Vim before you continue." - -#LangString str_msg_register_ole ${LANG_JAPANESE} \ -# "Attempting to register Vim with OLE. \ -# There is no message indicates whether this works or not." - -#LangString str_msg_unreg_ole ${LANG_JAPANESE} \ -# "Attempting to unregister Vim with OLE. \ -# There is no message indicates whether this works or not." - -#LangString str_msg_rm_start ${LANG_JAPANESE} \ -# "Uninstalling the following version:" - -#LangString str_msg_rm_fail ${LANG_JAPANESE} \ -# "Fail to uninstall the following version:" - -#LangString str_msg_no_rm_key ${LANG_JAPANESE} \ -# "Cannot find uninstaller registry key." - -#LangString str_msg_no_rm_reg ${LANG_JAPANESE} \ -# "Cannot find uninstaller from registry." - -#LangString str_msg_no_rm_exe ${LANG_JAPANESE} \ -# "Cannot access uninstaller." - -#LangString str_msg_rm_copy_fail ${LANG_JAPANESE} \ -# "Fail to copy uninstaller to temporary directory." - -#LangString str_msg_rm_run_fail ${LANG_JAPANESE} \ -# "Fail to run uninstaller." - -#LangString str_msg_abort_install ${LANG_JAPANESE} \ -# "Installer will abort." - -LangString str_msg_install_fail ${LANG_JAPANESE} \ - "インストールã«å¤±æ•—ã—ã¾ã—ãŸã€‚次ã¯ã†ã¾ãã„ãã“ã¨ã‚’祈りã¾ã™ã€‚" - -LangString str_msg_rm_exe_fail ${LANG_JAPANESE} \ - "$0 内ã®ä¸€éƒ¨ã®ãƒ•ァイルã¯å‰Šé™¤ã§ãã¾ã›ã‚“ã§ã—ãŸ!$\r$\n\ - 手動ã§å‰Šé™¤ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚" - -#LangString str_msg_rm_root_fail ${LANG_JAPANESE} \ -# "WARNING: Cannot remove $\"$vim_install_root$\", it is not empty!" - -LangString str_msg_uninstalling ${LANG_JAPANESE} \ - "å¤ã„ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã‚’アンインストールã—ã¦ã„ã¾ã™..." - -LangString str_msg_registering ${LANG_JAPANESE} \ - "登録中..." - -LangString str_msg_unregistering ${LANG_JAPANESE} \ - "登録解除中..." - - -############################################################################## -# Dialog Box {{{1 -############################################################################## - -LangString str_vimrc_page_title ${LANG_JAPANESE} \ - "_vimrc ã®è¨­å®šã‚’é¸ã‚“ã§ãã ã•ã„" -LangString str_vimrc_page_subtitle ${LANG_JAPANESE} \ - "拡張やキーボードã€ãƒžã‚¦ã‚¹ã®è¨­å®šã‚’é¸ã‚“ã§ãã ã•ã„。" - -LangString str_msg_compat_title ${LANG_JAPANESE} \ - " Vi / Vim ã®å‹•作 " -LangString str_msg_compat_desc ${LANG_JAPANESE} \ - "äº’æ›æ€§ã¨æ‹¡å¼µ(&C)" -LangString str_msg_compat_vi ${LANG_JAPANESE} \ - "Vi 互æ›" -LangString str_msg_compat_vim ${LANG_JAPANESE} \ - "Vim 独自" -LangString str_msg_compat_defaults ${LANG_JAPANESE} \ - "Vim 独自ã¨å¤šå°‘ã®æ‹¡å¼µ (defaults.vim を読ã¿è¾¼ã¿)" -LangString str_msg_compat_all ${LANG_JAPANESE} \ - "Vim 独自ã¨å…¨ã¦ã®æ‹¡å¼µ (vimrc_example.vim を読ã¿è¾¼ã¿) (既定)" - -LangString str_msg_keymap_title ${LANG_JAPANESE} \ - " マッピング " -LangString str_msg_keymap_desc ${LANG_JAPANESE} \ - "Windows用ã«ä¸€éƒ¨ã®ã‚­ãƒ¼ã‚’リマップã™ã‚‹(&R) (例: Ctrl-V, Ctrl-C, Ctrl-A, Ctrl-S, Ctrl-F ãªã©)" -LangString str_msg_keymap_default ${LANG_JAPANESE} \ - "リマップã—ãªã„ (既定)" -LangString str_msg_keymap_windows ${LANG_JAPANESE} \ - "リマップã™ã‚‹" - -LangString str_msg_mouse_title ${LANG_JAPANESE} \ - " マウス " -LangString str_msg_mouse_desc ${LANG_JAPANESE} \ - "å³ãƒœã‚¿ãƒ³ã¨å·¦ãƒœã‚¿ãƒ³ã®å‹•作(&B)" -LangString str_msg_mouse_default ${LANG_JAPANESE} \ - "å³ï¼šãƒãƒƒãƒ—アップメニューã€å·¦ï¼šãƒ“ジュアルモード (既定)" -LangString str_msg_mouse_windows ${LANG_JAPANESE} \ - "å³ï¼šãƒãƒƒãƒ—アップメニューã€å·¦ï¼šé¸æŠžãƒ¢ãƒ¼ãƒ‰ (Windows)" -LangString str_msg_mouse_unix ${LANG_JAPANESE} \ - "å³ï¼šé¸æŠžã‚’æ‹¡å¼µã€å·¦ï¼šãƒ“ジュアルモード (Unix)" diff --git a/nsis/lang/portuguesebr.nsi b/nsis/lang/portuguesebr.nsi deleted file mode 100644 index ea92f54e80..0000000000 --- a/nsis/lang/portuguesebr.nsi +++ /dev/null @@ -1,291 +0,0 @@ -# vi:set ts=8 sts=4 sw=4 et fdm=marker: -# -# portuguesebr.nsi: Brazilian Portuguese strings for gvim NSIS installer. -# -# Locale ID : 1046 -# Locale Name : pt-BR -# fileencoding : UTF-8 -# Author : Rafael Fontenelle - -!insertmacro MUI_LANGUAGE "PortugueseBR" - - -# Overwrite the default translation. -# These strings should be always English. Otherwise dosinst.c fails. -LangString ^SetupCaption ${LANG_PORTUGUESEBR} \ - "Configuração do $(^Name)" -LangString ^UninstallCaption ${LANG_PORTUGUESEBR} \ - "Desinstalação do $(^Name)" - -############################################################################## -# License file for the license page {{{1 -############################################################################## - -LicenseLangString page_lic_file ${LANG_PORTUGUESEBR} "..\lang\LICENSE.pt_br.nsis.txt" - -############################################################################## -# README.txt file, which is opened after installation {{{1 -############################################################################## - -LangString vim_readme_file ${LANG_PORTUGUESEBR} "README.pt_br.txt" - -############################################################################## -# MUI Configuration Strings {{{1 -############################################################################## - -#LangString str_dest_folder ${LANG_PORTUGUESEBR} \ -# "Pasta de destino (Deve terminar com $\"vim$\")" - -LangString str_show_readme ${LANG_PORTUGUESEBR} \ - "Mostrar o README ao concluir a instalação" - -# Install types: -LangString str_type_typical ${LANG_PORTUGUESEBR} \ - "Típica" - -LangString str_type_minimal ${LANG_PORTUGUESEBR} \ - "Mínima" - -LangString str_type_full ${LANG_PORTUGUESEBR} \ - "Completa" - - -############################################################################## -# Section Titles & Description {{{1 -############################################################################## - -LangString str_section_old_ver ${LANG_PORTUGUESEBR} \ - "Desinstalar versões existentes" -LangString str_desc_old_ver ${LANG_PORTUGUESEBR} \ - "Desinstala versões do Vim existentes no seu sistema." - -LangString str_section_exe ${LANG_PORTUGUESEBR} \ - "Vim GUI e arquivos de runtime" -LangString str_desc_exe ${LANG_PORTUGUESEBR} \ - "Executáveis ​​e arquivos de runtime do Vim GUI. Este componente \ - é obrigatório." - -LangString str_section_console ${LANG_PORTUGUESEBR} \ - "Programa de console do Vim" -LangString str_desc_console ${LANG_PORTUGUESEBR} \ - "Versão de console do Vim (vim.exe)." - -LangString str_section_batch ${LANG_PORTUGUESEBR} \ - "Criar arquivos .bat" -LangString str_desc_batch ${LANG_PORTUGUESEBR} \ - "Cria arquivos .bat para variantes do Vim no diretório Windows para \ - usar na linha de comando." - -LangString str_group_icons ${LANG_PORTUGUESEBR} \ - "Criar ícones para o Vim" -LangString str_desc_icons ${LANG_PORTUGUESEBR} \ - "Cria ícones para Vim em vários locais para facilitar o acesso rápido." - -LangString str_section_desktop ${LANG_PORTUGUESEBR} \ - "Na área de trabalho" -LangString str_desc_desktop ${LANG_PORTUGUESEBR} \ - "Cria ícones para executáveis do gVim na área de trabalho." - -LangString str_section_start_menu ${LANG_PORTUGUESEBR} \ - "Na pasta Programas do Menu Iniciar" -LangString str_desc_start_menu ${LANG_PORTUGUESEBR} \ - "Adiciona Vim na pasta de programas do menu iniciar." - -#LangString str_section_quick_launch ${LANG_PORTUGUESEBR} \ -# "Na barra de Inicialização Rápida" -#LangString str_desc_quick_launch ${LANG_PORTUGUESEBR} \ -# "Adiciona um atalho para o Vim na barra de inicialização rápida." - -LangString str_section_edit_with ${LANG_PORTUGUESEBR} \ - "Adicionar menu de contexto do Vim" -LangString str_desc_edit_with ${LANG_PORTUGUESEBR} \ - "Adiciona o Vim à lista $\"Abrir com...$\" do menu de contexto." - -#LangString str_section_edit_with32 ${LANG_PORTUGUESEBR} \ -# "Versão 32 bits" -#LangString str_desc_edit_with32 ${LANG_PORTUGUESEBR} \ -# "Adiciona o Vim à lista $\"Abrir com...$\" do menu de contexto \ -# para aplicativos 32 bits." - -#LangString str_section_edit_with64 ${LANG_PORTUGUESEBR} \ -# "Versão 64 bits" -#LangString str_desc_edit_with64 ${LANG_PORTUGUESEBR} \ -# "Adiciona o Vim à lista $\"Abrir com...$\" do menu de contexto \ -# para aplicativos 64 bits." - -LangString str_section_vim_rc ${LANG_PORTUGUESEBR} \ - "Criar configuração padrão" -LangString str_desc_vim_rc ${LANG_PORTUGUESEBR} \ - "Cria um arquivo de configuração padrão (_vimrc) se não já existir." - -LangString str_group_plugin ${LANG_PORTUGUESEBR} \ - "Criar diretórios de plugins" -LangString str_desc_plugin ${LANG_PORTUGUESEBR} \ - "Cria diretórios de plugins. Diretórios de plugins permitem estender \ - o Vim adicionando um arquivo a um direótrio." - -LangString str_section_plugin_home ${LANG_PORTUGUESEBR} \ - "Privados" -LangString str_desc_plugin_home ${LANG_PORTUGUESEBR} \ - "Cria diretórios de plugins no diretório HOME." - -LangString str_section_plugin_vim ${LANG_PORTUGUESEBR} \ - "Compartilhados" -LangString str_desc_plugin_vim ${LANG_PORTUGUESEBR} \ - "Cria diretórios de plugins no diretório de instalação do Vim, \ - o qual é usado por todos os usuários do sistema." - -LangString str_section_nls ${LANG_PORTUGUESEBR} \ - "Suporte ao idioma nativo" -LangString str_desc_nls ${LANG_PORTUGUESEBR} \ - "Instala arquivos para suporte ao idioma nativo." - -LangString str_unsection_register ${LANG_PORTUGUESEBR} \ - "Desregistrar Vim" -LangString str_desc_unregister ${LANG_PORTUGUESEBR} \ - "Remove os registras do Vim do sistema." - -LangString str_unsection_exe ${LANG_PORTUGUESEBR} \ - "Remover arquivos executáveis/runtime do Vim" -LangString str_desc_rm_exe ${LANG_PORTUGUESEBR} \ - "Remove todos os arquivos executáveis e de runtime do Vim." - -LangString str_ungroup_plugin ${LANG_PORTUGUESEBR} \ - "Remover diretórios de plugins" -LangString str_desc_rm_plugin ${LANG_PORTUGUESEBR} \ - "Remove os diretórios de plugins se eles estiverem vazios." - -LangString str_unsection_plugin_home ${LANG_PORTUGUESEBR} \ - "Privados" -LangString str_desc_rm_plugin_home ${LANG_PORTUGUESEBR} \ - "Remove os diretórios de plugins do diretório HOME." - -LangString str_unsection_plugin_vim ${LANG_PORTUGUESEBR} \ - "Compartilhados" -LangString str_desc_rm_plugin_vim ${LANG_PORTUGUESEBR} \ - "Remove os diretórios de plugins do diretório de instalação do Vim." - -LangString str_unsection_rootdir ${LANG_PORTUGUESEBR} \ - "Remover diretório raiz do Vim" -LangString str_desc_rm_rootdir ${LANG_PORTUGUESEBR} \ - "Remove o diretório raiz do Vim. Ele contém seus \ - arquivos de configuração do Vim!" - - -############################################################################## -# Messages {{{1 -############################################################################## - -#LangString str_msg_too_many_ver ${LANG_PORTUGUESEBR} \ -# "Encontradas $vim_old_ver_count versões do Vim em seu sistema.$\r$\n\ -# Este instalador só consegue lidar com ${VIM_MAX_OLD_VER} versões\ -# no máximo.$\r$\n\ -# Por favor, remova algumas versões e comece novamente." - -#LangString str_msg_invalid_root ${LANG_PORTUGUESEBR} \ -# "Caminho de instalação inválido: $vim_install_root!$\r$\n\ -# Ele deve terminar com $\"vim$\"." - -#LangString str_msg_bin_mismatch ${LANG_PORTUGUESEBR} \ -# "Incompatibilidade de caminho de binários!$\r$\n$\r$\n\ -# Esperava que o caminho de binários fosse $\"$vim_bin_path$\",$\r$\n\ -# mas o sistema indica que o caminho de binários é $\"$INSTDIR$\"." - -#LangString str_msg_vim_running ${LANG_PORTUGUESEBR} \ -# "Vim ainda está em execução em seu sistema.$\r$\n\ -# Por favor, feche todas as instâncias do Vim para poder continuar." - -#LangString str_msg_register_ole ${LANG_PORTUGUESEBR} \ -# "Tentativa de registrar o Vim com OLE. \ -# Não há mensagem que indique se isso funciona ou não." - -#LangString str_msg_unreg_ole ${LANG_PORTUGUESEBR} \ -# "Tentando desregistrar o Vim com OLE. \ -# Não há mensagem que indique se isso funciona ou não." - -#LangString str_msg_rm_start ${LANG_PORTUGUESEBR} \ -# "Desinstalando a seguinte versão:" - -#LangString str_msg_rm_fail ${LANG_PORTUGUESEBR} \ -# "Falha ao desinstalar a seguinte versão:" - -#LangString str_msg_no_rm_key ${LANG_PORTUGUESEBR} \ -# "Não foi possível encontrar a chave de registro do desinstalador." - -#LangString str_msg_no_rm_reg ${LANG_PORTUGUESEBR} \ -# "Não foi possível encontrar o desinstalador a partir do registro." - -#LangString str_msg_no_rm_exe ${LANG_PORTUGUESEBR} \ -# "Não foi possível acessar o desinstalador." - -#LangString str_msg_rm_copy_fail ${LANG_PORTUGUESEBR} \ -# "Falha ao copiar o desinstalador para um diretório temporário." - -#LangString str_msg_rm_run_fail ${LANG_PORTUGUESEBR} \ -# "Falha ao executar o desinstalador." - -#LangString str_msg_abort_install ${LANG_PORTUGUESEBR} \ -# "Instalador será interrompido." - -LangString str_msg_install_fail ${LANG_PORTUGUESEBR} \ - "A instalação falhou. Mais sorte na próxima vez." - -LangString str_msg_rm_exe_fail ${LANG_PORTUGUESEBR} \ - "Alguns arquivos em $0 não foram excluídos!$\r$\n\ - Você deve fazê-lo manualmente." - -#LangString str_msg_rm_root_fail ${LANG_PORTUGUESEBR} \ -# "AVISO: Não foi possível remover $\"$vim_install_root$\", \ -# pois não está vazio!" - -LangString str_msg_uninstalling ${LANG_PORTUGUESEBR} \ - "Desinstalando a versão antiga..." - -LangString str_msg_registering ${LANG_PORTUGUESEBR} \ - "Registrando..." - -LangString str_msg_unregistering ${LANG_PORTUGUESEBR} \ - "Desregistrando..." - - -############################################################################## -# Dialog Box {{{1 -############################################################################## - -LangString str_vimrc_page_title ${LANG_PORTUGUESEBR} \ - "Escolher configurações do _vimrc" -LangString str_vimrc_page_subtitle ${LANG_PORTUGUESEBR} \ - "Escolha as configurações para melhorias, teclado e mouse." - -LangString str_msg_compat_title ${LANG_PORTUGUESEBR} \ - " Comportamento Vi / Vim " -LangString str_msg_compat_desc ${LANG_PORTUGUESEBR} \ - "&Compatibilidade e melhorias" -LangString str_msg_compat_vi ${LANG_PORTUGUESEBR} \ - "Compatível com Vi" -LangString str_msg_compat_vim ${LANG_PORTUGUESEBR} \ - "Vim original" -LangString str_msg_compat_defaults ${LANG_PORTUGUESEBR} \ - "Vim com algumas melhorias (carrega defaults.vim)" -LangString str_msg_compat_all ${LANG_PORTUGUESEBR} \ - "Vim com todas as melhorias (carrega vimrc_example.vim) (Padrão)" - -LangString str_msg_keymap_title ${LANG_PORTUGUESEBR} \ - " Mapeamentos " -LangString str_msg_keymap_desc ${LANG_PORTUGUESEBR} \ - "&Remapear algumas teclas para o Windows (Ctrl-V, Ctrl-C, Ctrl-A, Ctrl-S, Ctrl-F, etc)" -LangString str_msg_keymap_default ${LANG_PORTUGUESEBR} \ - "Não remapear teclas (Padrão)" -LangString str_msg_keymap_windows ${LANG_PORTUGUESEBR} \ - "Remapear algumas teclas" - -LangString str_msg_mouse_title ${LANG_PORTUGUESEBR} \ - " Mouse " -LangString str_msg_mouse_desc ${LANG_PORTUGUESEBR} \ - "&Comportamento de botões direito e esquerdo" -LangString str_msg_mouse_default ${LANG_PORTUGUESEBR} \ - "Direito: menu popup, Esquerdo: modo visual (Padrão)" -LangString str_msg_mouse_windows ${LANG_PORTUGUESEBR} \ - "Direito: menu popup, Esquerdo: modo de seleção (Windows)" -LangString str_msg_mouse_unix ${LANG_PORTUGUESEBR} \ - "Direito: estende seleção, Esquerdo: modo visual (Unix)" diff --git a/nsis/lang/russian.nsi b/nsis/lang/russian.nsi deleted file mode 100644 index bcb54672fd..0000000000 --- a/nsis/lang/russian.nsi +++ /dev/null @@ -1,304 +0,0 @@ -# vi:set ts=8 sts=4 sw=4 et fdm=marker: -# -# russian.nsi: Russian language strings for gvim NSIS installer. -# -# Locale ID : 1049 -# Locale name : ru -# fileencoding : UTF-8 -# Author : Restorer - -!insertmacro MUI_LANGUAGE "Russian" - - -# Overwrite the default translation. -# These strings should be always English. Otherwise dosinst.c fails. -LangString ^SetupCaption ${LANG_RUSSIAN} \ - "$(^Name) Setup" -LangString ^UninstallCaption ${LANG_RUSSIAN} \ - "$(^Name) Uninstall" - -############################################################################## -# Translated license file for the license page {{{1 -############################################################################## - -LicenseLangString page_lic_file ${LANG_RUSSIAN} "..\lang\LICENSE.ru.nsis.txt" - -############################################################################## -# Translated README.txt file, which is opened after installation {{{1 -############################################################################## - -LangString vim_readme_file ${LANG_RUSSIAN} "README.ru.txt" - -############################################################################## -# MUI Configuration Strings {{{1 -############################################################################## - -#LangString str_dest_folder ${LANG_RUSSIAN} \ -# "Маршрут уÑтановки программы (должен завершатьÑÑ ÐºÐ°Ñ‚Ð°Ð»Ð¾Ð³Ð¾Ð¼ $\"vim$\")" - -LangString str_show_readme ${LANG_RUSSIAN} \ - " ОзнакомитьÑÑ Ñ ÐºÑ€Ð°Ñ‚ÐºÐ¸Ð¼ опиÑанием программы" - -# Install types: -LangString str_type_typical ${LANG_RUSSIAN} \ - "Стандартный" - -LangString str_type_minimal ${LANG_RUSSIAN} \ - "Минимальный" - -LangString str_type_full ${LANG_RUSSIAN} \ - "Полный" - - -############################################################################## -# Section Titles & Description {{{1 -############################################################################## - -LangString str_section_old_ver ${LANG_RUSSIAN} \ - "Удаление предыдущих верÑий" -LangString str_desc_old_ver ${LANG_RUSSIAN} \ - "Будут удалены предыдущие уÑтановленные верÑии программы" - -LangString str_section_exe ${LANG_RUSSIAN} \ - "ГрафичеÑкий Ð¸Ð½Ñ‚ÐµÑ€Ñ„ÐµÐ¹Ñ Ð¸ вÑпомогательные файлы" -LangString str_desc_exe ${LANG_RUSSIAN} \ - "ИÑполнÑемые файлы и вÑе необходимые Ð´Ð»Ñ Ñ€Ð°Ð±Ð¾Ñ‚Ñ‹ программы файлы. \ - Это обÑзательный компонент" - -LangString str_section_console ${LANG_RUSSIAN} \ - "КонÑÐ¾Ð»ÑŒÐ½Ð°Ñ Ð¿Ñ€Ð¾Ð³Ñ€Ð°Ð¼Ð¼Ð° Vim" -LangString str_desc_console ${LANG_RUSSIAN} \ - "Вариант редактора Vim (vim.exe), иÑпользуемый Ð´Ð»Ñ Ñ€Ð°Ð±Ð¾Ñ‚Ñ‹ в командной \ - оболочке" - -LangString str_section_batch ${LANG_RUSSIAN} \ - "Создать командные файлы" -LangString str_desc_batch ${LANG_RUSSIAN} \ - "Создание командных bat-файлов в каталоге Windows Ð´Ð»Ñ Ñ€Ð°Ð±Ð¾Ñ‚Ñ‹ Ñ Ñ€ÐµÐ´Ð°ÐºÑ‚Ð¾Ñ€Ð¾Ð¼ \ - Vim из командной Ñтроки" - -LangString str_group_icons ${LANG_RUSSIAN} \ - "Создать Ñрлыки Ð´Ð»Ñ Ñ€ÐµÐ´Ð°ÐºÑ‚Ð¾Ñ€Ð° Vim" -LangString str_desc_icons ${LANG_RUSSIAN} \ - "Создание Ñрлыков программы Ð´Ð»Ñ ÑƒÐ´Ð¾Ð±Ð½Ð¾Ð³Ð¾ и быÑтрого запуÑка редактора Vim" - -LangString str_section_desktop ${LANG_RUSSIAN} \ - "Ðа Рабочем Ñтоле" -LangString str_desc_desktop ${LANG_RUSSIAN} \ - "Создание Ñрлыков редактора Vim на Рабочем Ñтоле" - -LangString str_section_start_menu ${LANG_RUSSIAN} \ - "Ð’ меню кнопки ПуÑк" -LangString str_desc_start_menu ${LANG_RUSSIAN} \ - "Создание Ñрлыков редактора Vim в меню кнопки ПуÑк" - -#LangString str_section_quick_launch ${LANG_RUSSIAN} \ -# "Ðа панели быÑтрого запуÑка" -#LangString str_desc_quick_launch ${LANG_RUSSIAN} \ -# "Создание Ñрлыков редактора Vim на панели быÑтрого запуÑка" - -LangString str_section_edit_with ${LANG_RUSSIAN} \ - "ЗапуÑк редактора Vim из контекÑтного меню" -LangString str_desc_edit_with ${LANG_RUSSIAN} \ - "Добавление необходимой Ñтроки в пункт контекÑтного меню \ - «Открыть Ñ Ð¿Ð¾Ð¼Ð¾Ñ‰ÑŒÑŽ...»" - -#LangString str_section_edit_with32 ${LANG_RUSSIAN} \ -# "Ð”Ð»Ñ 32-разрÑдной верÑии программы" -#LangString str_desc_edit_with32 ${LANG_RUSSIAN} \ -# "Добавление в пункт контекÑтного меню \ -# «Открыть Ñ Ð¿Ð¾Ð¼Ð¾Ñ‰ÑŒÑŽ...» 32-разрÑдных приложений" - -#LangString str_section_edit_with64 ${LANG_RUSSIAN} \ -# "Ð”Ð»Ñ 64-разрÑдной верÑии программы" -#LangString str_desc_edit_with64 ${LANG_RUSSIAN} \ -# "Добавление в пункт контекÑтного меню \ -# «Открыть Ñ Ð¿Ð¾Ð¼Ð¾Ñ‰ÑŒÑŽ...» 64-разрÑдных приложений" - -LangString str_section_vim_rc ${LANG_RUSSIAN} \ - "ÐÐ°Ñ‡Ð°Ð»ÑŒÐ½Ð°Ñ Ð½Ð°Ñтройка программы" -LangString str_desc_vim_rc ${LANG_RUSSIAN} \ - "Создание файла _vimrc Ñ Ð¿Ñ€ÐµÐ´ÑƒÑтановленными наÑтройками, еÑли нет других \ - файлов наÑтроек" - -LangString str_group_plugin ${LANG_RUSSIAN} \ - "Создать каталог Ð´Ð»Ñ Ð¿Ð¾Ð´ÐºÐ»ÑŽÑ‡Ð°ÐµÐ¼Ñ‹Ñ… модулей" -LangString str_desc_plugin ${LANG_RUSSIAN} \ - "Создание каталога Ð´Ð»Ñ Ð¿Ð¾Ð´ÐºÐ»ÑŽÑ‡Ð°ÐµÐ¼Ñ‹Ñ… модулей, которые раÑширÑÑŽÑ‚ возможноÑти \ - редактора Vim" - -LangString str_section_plugin_home ${LANG_RUSSIAN} \ - "Личный каталог" -LangString str_desc_plugin_home ${LANG_RUSSIAN} \ - "Ð’ домашнем каталоге пользователÑ. Модули в Ñтом каталоге доÑтупны только \ - Ñтому пользователю" - -LangString str_section_plugin_vim ${LANG_RUSSIAN} \ - "Общий каталог" -LangString str_desc_plugin_vim ${LANG_RUSSIAN} \ - "Ð’ каталоге уÑтановки редактора Vim. Модули в Ñтом каталоге доÑтупны Ð´Ð»Ñ \ - вÑех пользователей" - -#LangString str_section_vis_vim ${LANG_RUSSIAN} \ -# "Подключаемый модуль VisVim" -#LangString str_desc_vis_vim ${LANG_RUSSIAN} \ -# "Подключаемый модуль VisVim иÑпользуетÑÑ Ð´Ð»Ñ Ð¸Ð½Ñ‚ÐµÐ³Ñ€Ð°Ñ†Ð¸Ð¸ Ñ \ -# Microsoft Visual Studio" - -LangString str_section_nls ${LANG_RUSSIAN} \ - "Поддержка региональных Ñзыков" -LangString str_desc_nls ${LANG_RUSSIAN} \ - "УÑтановка файлов Ð´Ð»Ñ Ñ€Ð°Ð±Ð¾Ñ‚Ñ‹ программе на различных региональных Ñзыках" - -LangString str_unsection_register ${LANG_RUSSIAN} \ - "Отменить региÑтрацию компонентов программы Vim" -LangString str_desc_unregister ${LANG_RUSSIAN} \ - "Отмена региÑтрации компонентов программы Vim в операционной ÑиÑтеме" - -LangString str_unsection_exe ${LANG_RUSSIAN} \ - "Удалить файлы редактора Vim" -LangString str_desc_rm_exe ${LANG_RUSSIAN} \ - "Удаление вÑех иÑполнÑемых и вÑпомогательных файлов редактора Vim" - -LangString str_ungroup_plugin ${LANG_RUSSIAN} \ - "Удалить каталог подключаемых модулей" -LangString str_desc_rm_plugin ${LANG_RUSSIAN} \ - "Удаление каталога подключаемых модулей, еÑли в нём нет файлов" - -LangString str_unsection_plugin_home ${LANG_RUSSIAN} \ - "Личный каталог" -LangString str_desc_rm_plugin_home ${LANG_RUSSIAN} \ - "Удаление каталога подключаемых модулей из домашнего каталога пользователÑ" - -LangString str_unsection_plugin_vim ${LANG_RUSSIAN} \ - "Общий каталог" -LangString str_desc_rm_plugin_vim ${LANG_RUSSIAN} \ - "Удаление каталога подключаемых модулей из каталога уÑтановки редактора Vim" - -LangString str_unsection_rootdir ${LANG_RUSSIAN} \ - "Удалить оÑновной каталог программы Vim" -LangString str_desc_rm_rootdir ${LANG_RUSSIAN} \ - "Удаление оÑновного каталога программы Vim. Ð’ Ñтом каталоге находÑÑ‚ÑÑ \ - файлы наÑтроек!" - - -############################################################################## -# Messages {{{1 -############################################################################## - -#LangString str_msg_too_many_ver ${LANG_RUSSIAN} \ -# "Обнаружено предыдущих верÑий программы Vim: $vim_old_ver_count.$\r$\n\ -# Ð”Ð°Ð½Ð½Ð°Ñ Ð¿Ñ€Ð¾Ð³Ñ€Ð°Ð¼Ð¼Ð° уÑтановки может удалить не более ${VIM_MAX_OLD_VER}.$\r$\n\ -# Удалить лишние верÑии программы Vim и повторите уÑтановку" - -#LangString str_msg_invalid_root ${LANG_RUSSIAN} \ -# "ÐедопуÑтимый каталог уÑтановки программы Vim $vim_install_root!$\r$\n\ -# Маршрут уÑтановки должен оканчиватьÑÑ ÐºÐ°Ñ‚Ð°Ð»Ð¾Ð³Ð¾Ð¼ $\"vim$\"" - -#LangString str_msg_bin_mismatch ${LANG_RUSSIAN} \ -# "ÐедопуÑтимый маршрут к каталогу Ñ Ð¸ÑполнÑемыми файлами!$\r$\n$\r$\n\ -# Маршрут к каталогу Ñ Ð¸ÑполнÑемыми файлами должен быть $\"$vim_bin_path$\",$\r$\n\ -# но от операционной ÑиÑтемы получен как $\"$INSTDIR$\"." - -#LangString str_msg_vim_running ${LANG_RUSSIAN} \ -# "Программа Vim ÑÐµÐ¹Ñ‡Ð°Ñ Ñ€Ð°Ð±Ð¾Ñ‚Ð°ÐµÑ‚.$\r$\n\ -# Прежде чем продолжить, закройте вÑе работающие редакторы Vim" - -#LangString str_msg_register_ole ${LANG_RUSSIAN} \ -# "Попытка зарегиÑтрировать компоненты программы Vim в проÑтранÑтве OLE. \ -# Ðо не получено уведомление об уÑпешноÑти данной операции" - -#LangString str_msg_unreg_ole ${LANG_RUSSIAN} \ -# "Попытка отменить региÑтрацию компонентов программы Vim в проÑтранÑтве OLE. \ -# Ðо не получено уведомление об уÑпешноÑти данной операции" - -#LangString str_msg_rm_start ${LANG_RUSSIAN} \ -# "ВыполнÑетÑÑ ÑƒÐ´Ð°Ð»ÐµÐ½Ð¸Ðµ Ñледующих верÑий программы:" - -#LangString str_msg_rm_fail ${LANG_RUSSIAN} \ -# "Произошёл Ñбой при выполнении ÑƒÐ´Ð°Ð»ÐµÐ½Ð¸Ñ Ñледующих верÑий программы:" - -#LangString str_msg_no_rm_key ${LANG_RUSSIAN} \ -# "Ðе удалоÑÑŒ найти раздел рееÑтра, Ñодержащий информацию об удалении \ -# программы" - -#LangString str_msg_no_rm_reg ${LANG_RUSSIAN} \ -# "Ðе удалоÑÑŒ найти указанную в рееÑтре программу, ÐºÐ¾Ñ‚Ð¾Ñ€Ð°Ñ Ð²Ñ‹Ð¿Ð¾Ð»Ð½Ñет удаление" - -#LangString str_msg_no_rm_exe ${LANG_RUSSIAN} \ -# "ОтÑутÑтвуют права на доÑтуп к программе, выполнÑющей удаление" - -#LangString str_msg_rm_copy_fail ${LANG_RUSSIAN} \ -# "Произошла ошибка при копировании программы ÑƒÐ´Ð°Ð»ÐµÐ½Ð¸Ñ Ð²Ð¾ временный каталог" - -#LangString str_msg_rm_run_fail ${LANG_RUSSIAN} \ -# "Произошёл Ñбой при запуÑке программы, выполнÑющей удаление" - -#LangString str_msg_abort_install ${LANG_RUSSIAN} \ -# "УÑтановка программы была отменена" - -LangString str_msg_install_fail ${LANG_RUSSIAN} \ - "Произошла ошибка при уÑтановке программы. Попробуйте повторить уÑтановку \ - немного попозже" -# когда Луна будет в другой фазе и ветер должен дуть Ñ ÑŽÐ³Ð¾â€Ð·Ð°Ð¿Ð°Ð´Ð° - -LangString str_msg_rm_exe_fail ${LANG_RUSSIAN} \ - "Ðекоторые файлы не были удалены из каталога $0 $\r$\n\ - Ðеобходимо выполнить их удаление ÑамоÑтоÑтельно" - -#LangString str_msg_rm_root_fail ${LANG_RUSSIAN} \ -# "Внимание! Ð’ каталоге $\"$vim_install_root$\" ÑодержатÑÑ Ñ„Ð°Ð¹Ð»Ñ‹. Удаление \ -# каталога не выполнено" - -LangString str_msg_uninstalling ${LANG_RUSSIAN} \ - "Удаление предыдущих верÑий программ..." - -LangString str_msg_registering ${LANG_RUSSIAN} \ - "РегиÑÑ‚Ñ€Ð°Ñ†Ð¸Ñ ÐºÐ¾Ð¼Ð¿Ð¾Ð½ÐµÐ½Ñ‚Ð¾Ð² программы в ÑиÑтеме..." - -LangString str_msg_unregistering ${LANG_RUSSIAN} \ - "Отмена региÑтрации компонентов программы в ÑиÑтеме..." - - -############################################################################## -# Dialog Box {{{1 -############################################################################## - -LangString str_vimrc_page_title ${LANG_RUSSIAN} \ - "УÑтановка параметров программы" -LangString str_vimrc_page_subtitle ${LANG_RUSSIAN} \ - "Параметры, иÑпользуемые Ð´Ð»Ñ ÐºÐ»Ð°Ð²Ð¸Ð°Ñ‚ÑƒÑ€Ñ‹, манипулÑтора «мышь» и \ - функциональноÑти программы" - -LangString str_msg_compat_title ${LANG_RUSSIAN} \ - " Варианты иÑÐ¿Ð¾Ð»ÑŒÐ·Ð¾Ð²Ð°Ð½Ð¸Ñ Ð¿Ñ€Ð¾Ð³Ñ€Ð°Ð¼Ð¼Ñ‹ " -LangString str_msg_compat_desc ${LANG_RUSSIAN} \ - "СовмеÑтимоÑть и функциональноÑть программы" -LangString str_msg_compat_vi ${LANG_RUSSIAN} \ - "Работа в варианте ÑовмеÑтимоÑти Ñ Ñ€ÐµÐ´Ð°ÐºÑ‚Ð¾Ñ€Ð¾Ð¼ Vi" -LangString str_msg_compat_vim ${LANG_RUSSIAN} \ - "Работа в варианте функциональноÑти редактора Vim" -LangString str_msg_compat_defaults ${LANG_RUSSIAN} \ - "Включить некоторые ÑƒÐ»ÑƒÑ‡ÑˆÐµÐ½Ð¸Ñ (из файла defaults.vim)" -LangString str_msg_compat_all ${LANG_RUSSIAN} \ - "Включить вÑе ÑƒÐ»ÑƒÑ‡ÑˆÐµÐ½Ð¸Ñ (из файла vimrc_example.vim). Стандартно" - -LangString str_msg_keymap_title ${LANG_RUSSIAN} \ - " Клавиатурные команды " -LangString str_msg_keymap_desc ${LANG_RUSSIAN} \ - "Изменение клавиатурных команд CTRL+V, CTRL+C, CTRL+S, CTRL+F и Ñ‚. п." -LangString str_msg_keymap_default ${LANG_RUSSIAN} \ - "Без изменениÑ, иÑпользовать как принÑто в редакторе Vim" -LangString str_msg_keymap_windows ${LANG_RUSSIAN} \ - "Изменить и иÑпользовать как принÑто в ОС Windows" - -LangString str_msg_mouse_title ${LANG_RUSSIAN} \ - " МанипулÑтор «мышь» " -LangString str_msg_mouse_desc ${LANG_RUSSIAN} \ - "ДейÑÑ‚Ð²Ð¸Ñ Ð¿Ñ€Ð°Ð²Ð¾Ð¹ и левой кнопки манипулÑтора «мышь»" -LangString str_msg_mouse_default ${LANG_RUSSIAN} \ - "ÐŸÑ€Ð°Ð²Ð°Ñ â€” вÑплывающее меню, Ð»ÐµÐ²Ð°Ñ â€” режим визуальный (Vim)" -LangString str_msg_mouse_windows ${LANG_RUSSIAN} \ - "ÐŸÑ€Ð°Ð²Ð°Ñ â€” вÑплывающее меню, Ð»ÐµÐ²Ð°Ñ â€” режим выборки (Windows)" -LangString str_msg_mouse_unix ${LANG_RUSSIAN} \ - "ÐŸÑ€Ð°Ð²Ð°Ñ â€” раÑширение выборки, Ð»ÐµÐ²Ð°Ñ â€” режим визуальный (UNIX)" diff --git a/nsis/lang/serbian.nsi b/nsis/lang/serbian.nsi deleted file mode 100644 index 9b829ef961..0000000000 --- a/nsis/lang/serbian.nsi +++ /dev/null @@ -1,290 +0,0 @@ -# vi:set ts=8 sts=4 sw=4 et fdm=marker: -# -# serbian.nsi: Serbian language strings for gvim NSIS installer. -# -# Locale ID : 3098 -# Locale Name : sr -# fileencoding : UTF-8 -# Author : Ivan PeÅ¡ić - -!insertmacro MUI_LANGUAGE "Serbian" - - -# Overwrite the default translation. -# These strings should be always English. Otherwise dosinst.c fails. -LangString ^SetupCaption ${LANG_SERBIAN} \ - "$(^Name) Setup" -LangString ^UninstallCaption ${LANG_SERBIAN} \ - "$(^Name) Uninstall" - -############################################################################## -# Translated license file for the license page {{{1 -############################################################################## - -LicenseLangString page_lic_file 0 "..\lang\LICENSE.nsis.txt" -#LicenseLangString page_lic_file ${LANG_SERBIAN} "..\lang\LICENSE.sr.nsis.txt" - -############################################################################## -# Translated README.txt file, which is opened after installation {{{1 -############################################################################## - -LangString vim_readme_file 0 "README.txt" -#LangString vim_readme_file ${LANG_SERBIAN} "README.sr.txt" - -############################################################################## -# MUI Configuration Strings {{{1 -############################################################################## - -#LangString str_dest_folder ${LANG_SERBIAN} \ -# "Destination Folder (Must end with $\"vim$\")" - -LangString str_show_readme ${LANG_SERBIAN} \ - "Прикажи ПРОЧИТÐЈМЕ када Ñе заврши инÑталација" - -# Install types: -LangString str_type_typical ${LANG_SERBIAN} \ - "Типична" - -LangString str_type_minimal ${LANG_SERBIAN} \ - "Минимална" - -LangString str_type_full ${LANG_SERBIAN} \ - "Пуна" - - -############################################################################## -# Section Titles & Description {{{1 -############################################################################## - -LangString str_section_old_ver ${LANG_SERBIAN} \ - "Уклањање поÑтојећ(е/их) верзиј(е/а)" -LangString str_desc_old_ver ${LANG_SERBIAN} \ - "Уклања поÑтојећ(у/е) Vim верзииј(у/е) из вашег ÑиÑтема." - -LangString str_section_exe ${LANG_SERBIAN} \ - "Vim ГКИ и фајлови потребни за извршавање" -LangString str_desc_exe ${LANG_SERBIAN} \ - "Vim ГКИ извршни фајлови и фајлови потребни током извршавања. Ова компонента је неопходна." - -LangString str_section_console ${LANG_SERBIAN} \ - "Vim конзолни програм" -LangString str_desc_console ${LANG_SERBIAN} \ - "Конзолна верзија програма Vim (vim.exe)." - -LangString str_section_batch ${LANG_SERBIAN} \ - "Креирај .bat фајлове" -LangString str_desc_batch ${LANG_SERBIAN} \ - "Креира у Windows директоријуму .bat фајлове за Vim варијанте \ - у циљу коришћења из командне линије." - -LangString str_group_icons ${LANG_SERBIAN} \ - "Креирај иконе за Vim" -LangString str_desc_icons ${LANG_SERBIAN} \ - "Креира иконе за Vim на различитим меÑтима, како би Ñе олакшао приÑтуп." - -LangString str_section_desktop ${LANG_SERBIAN} \ - "Ðа радној површини" -LangString str_desc_desktop ${LANG_SERBIAN} \ - "Креира иконе за gVim извршне фајлове на радној површини." - -LangString str_section_start_menu ${LANG_SERBIAN} \ - "У фаÑцикли Програми унутар Старт менија" -LangString str_desc_start_menu ${LANG_SERBIAN} \ - "Додаје Vim у фолдер Програми Старт менија." - -#LangString str_section_quick_launch ${LANG_SERBIAN} \ -# "In the Quick Launch Bar" -#LangString str_desc_quick_launch ${LANG_SERBIAN} \ -# "Add Vim shortcut in the quick launch bar." - -LangString str_section_edit_with ${LANG_SERBIAN} \ - "Додај Vim контекÑтни мени" -LangString str_desc_edit_with ${LANG_SERBIAN} \ - "Додаје Vim у $\"Отвори помоћу...$\" лиÑту контекÑтног менија." - -#LangString str_section_edit_with32 ${LANG_SERBIAN} \ -# "32-bit Version" -#LangString str_desc_edit_with32 ${LANG_SERBIAN} \ -# "Add Vim to the $\"Open With...$\" context menu list \ -# for 32-bit applications." - -#LangString str_section_edit_with64 ${LANG_SERBIAN} \ -# "64-bit Version" -#LangString str_desc_edit_with64 ${LANG_SERBIAN} \ -# "Add Vim to the $\"Open With...$\" context menu list \ -# for 64-bit applications." - -LangString str_section_vim_rc ${LANG_SERBIAN} \ - "Креирај Подразумевану конфигурацију" -LangString str_desc_vim_rc ${LANG_SERBIAN} \ - "Креира подразумевани конфиг фајл (_vimrc) ако неки већ не поÑтоји." - -LangString str_group_plugin ${LANG_SERBIAN} \ - "Креира директоријуме додатака" -LangString str_desc_plugin ${LANG_SERBIAN} \ - "Креира директоријуме додатака. Ови директоријуми омогућавају проширење програма Vim \ - убацивањем фајла у директоријум." - -LangString str_section_plugin_home ${LANG_SERBIAN} \ - "Приватне" -LangString str_desc_plugin_home ${LANG_SERBIAN} \ - "Креира директоријуме додатака у HOME директоријуму." - -LangString str_section_plugin_vim ${LANG_SERBIAN} \ - "Дељене" -LangString str_desc_plugin_vim ${LANG_SERBIAN} \ - "Креира директоријуме додатака у Vim инÑталационом директоријуму, кориÑте их Ñви \ - на ÑиÑтему." - -LangString str_section_nls ${LANG_SERBIAN} \ - "Подршка за домаћи језик" -LangString str_desc_nls ${LANG_SERBIAN} \ - "ИнÑталира фајлове за домаћу језичку подршку." - -LangString str_unsection_register ${LANG_SERBIAN} \ - "Поништи региÑтрацију Vim" -LangString str_desc_unregister ${LANG_SERBIAN} \ - "Поништава региÑтрацију програма Vim на ÑиÑтему." - -LangString str_unsection_exe ${LANG_SERBIAN} \ - "Уклони Vim извршне фајлове/фајлове потребне у време извршавања" -LangString str_desc_rm_exe ${LANG_SERBIAN} \ - "Уклања Ñве Vim извршне фајлове и оне потребне у време извршавања." - -LangString str_ungroup_plugin ${LANG_SERBIAN} \ - "Укони директоријуме додатака" -LangString str_desc_rm_plugin ${LANG_SERBIAN} \ - "Уклања директоријуме додатака ако Ñу празни." - -LangString str_unsection_plugin_home ${LANG_SERBIAN} \ - "Приватне" -LangString str_desc_rm_plugin_home ${LANG_SERBIAN} \ - "Уклања директоријуме додатака из HOME директоријума." - -LangString str_unsection_plugin_vim ${LANG_SERBIAN} \ - "Дељене" -LangString str_desc_rm_plugin_vim ${LANG_SERBIAN} \ - "Уклања директоријуме додатака из Vim инÑталациониг директоријума." - -LangString str_unsection_rootdir ${LANG_SERBIAN} \ - "Уклони Vim корени директоријум" -LangString str_desc_rm_rootdir ${LANG_SERBIAN} \ - "Уклања Vim корени директоријум. Он Ñадржи ваше Vim конфигурационе фајлове!" - - -############################################################################## -# Messages {{{1 -############################################################################## - -#LangString str_msg_too_many_ver ${LANG_SERBIAN} \ -# "Found $vim_old_ver_count Vim versions on your system.$\r$\n\ -# This installer can only handle ${VIM_MAX_OLD_VER} versions \ -# at most.$\r$\n\ -# Please remove some versions and start again." - -#LangString str_msg_invalid_root ${LANG_SERBIAN} \ -# "Invalid install path: $vim_install_root!$\r$\n\ -# It should end with $\"vim$\"." - -#LangString str_msg_bin_mismatch ${LANG_SERBIAN} \ -# "Binary path mismatch!$\r$\n$\r$\n\ -# Expect the binary path to be $\"$vim_bin_path$\",$\r$\n\ -# but system indicates the binary path is $\"$INSTDIR$\"." - -#LangString str_msg_vim_running ${LANG_SERBIAN} \ -# "Vim is still running on your system.$\r$\n\ -# Please close all instances of Vim before you continue." - -#LangString str_msg_register_ole ${LANG_SERBIAN} \ -# "Attempting to register Vim with OLE. \ -# There is no message indicates whether this works or not." - -#LangString str_msg_unreg_ole ${LANG_SERBIAN} \ -# "Attempting to unregister Vim with OLE. \ -# There is no message indicates whether this works or not." - -#LangString str_msg_rm_start ${LANG_SERBIAN} \ -# "Uninstalling the following version:" - -#LangString str_msg_rm_fail ${LANG_SERBIAN} \ -# "Fail to uninstall the following version:" - -#LangString str_msg_no_rm_key ${LANG_SERBIAN} \ -# "Cannot find uninstaller registry key." - -#LangString str_msg_no_rm_reg ${LANG_SERBIAN} \ -# "Cannot find uninstaller from registry." - -#LangString str_msg_no_rm_exe ${LANG_SERBIAN} \ -# "Cannot access uninstaller." - -#LangString str_msg_rm_copy_fail ${LANG_SERBIAN} \ -# "Fail to copy uninstaller to temporary directory." - -#LangString str_msg_rm_run_fail ${LANG_SERBIAN} \ -# "Fail to run uninstaller." - -#LangString str_msg_abort_install ${LANG_SERBIAN} \ -# "Installer will abort." - -LangString str_msg_install_fail ${LANG_SERBIAN} \ - "ИнÑталација није уÑпела. Више Ñреће идући пут." - -LangString str_msg_rm_exe_fail ${LANG_SERBIAN} \ - "Ðеки фајлови у $0 ниÑу обриÑани!$\r$\n\ - Морате то ручно да обавите." - -#LangString str_msg_rm_root_fail ${LANG_SERBIAN} \ -# "WARNING: Cannot remove $\"$vim_install_root$\", it is not empty!" - -LangString str_msg_uninstalling ${LANG_SERBIAN} \ - "Уклањање Ñтаре верзије..." - -LangString str_msg_registering ${LANG_SERBIAN} \ - "РегиÑтровање..." - -LangString str_msg_unregistering ${LANG_SERBIAN} \ - "Поништавање региÑтрације..." - - -############################################################################## -# Dialog Box {{{1 -############################################################################## - -LangString str_vimrc_page_title ${LANG_SERBIAN} \ - "Изаберите _vimrc подешавања" -LangString str_vimrc_page_subtitle ${LANG_SERBIAN} \ - "Изаберите подешавања за побољшања, таÑтатуру и миша." - -LangString str_msg_compat_title ${LANG_SERBIAN} \ - " Vi / Vim понашање " -LangString str_msg_compat_desc ${LANG_SERBIAN} \ - "&КомпатибилноÑÑ‚ и побољшања" -LangString str_msg_compat_vi ${LANG_SERBIAN} \ - "Vi компатибилно" -LangString str_msg_compat_vim ${LANG_SERBIAN} \ - "Vim оригинално" -LangString str_msg_compat_defaults ${LANG_SERBIAN} \ - "Vim Ñа неким побољшањима (учитава defaults.vim)" -LangString str_msg_compat_all ${LANG_SERBIAN} \ - "Vim Ñа Ñвим побољшањима (учитава vimrc_example.vim) (Подразумевано)" - -LangString str_msg_keymap_title ${LANG_SERBIAN} \ - " Мапирања " -LangString str_msg_keymap_desc ${LANG_SERBIAN} \ - "&Ремапира неколико таÑтера за Windows (Ctrl-V, Ctrl-C, Ctrl-A, Ctrl-S, Ctrl-F, итд.)" -LangString str_msg_keymap_default ${LANG_SERBIAN} \ - "Ðемој да ремапираш таÑтере (Подразумевано)" -LangString str_msg_keymap_windows ${LANG_SERBIAN} \ - "Ремапира неколико таÑтера" - -LangString str_msg_mouse_title ${LANG_SERBIAN} \ - " Миш " -LangString str_msg_mouse_desc ${LANG_SERBIAN} \ - "&Понашање левог и деÑног таÑтера" -LangString str_msg_mouse_default ${LANG_SERBIAN} \ - "ДеÑни: иÑкачући мени, Леви: визуелни режим (Подразумевано)" -LangString str_msg_mouse_windows ${LANG_SERBIAN} \ - "ДеÑни: иÑкачући мени, Леви: режим избора (Windows)" -LangString str_msg_mouse_unix ${LANG_SERBIAN} \ - "ДеÑни: проширује избор, Леви: визуелни режим (Unix)" diff --git a/nsis/lang/simpchinese.nsi b/nsis/lang/simpchinese.nsi deleted file mode 100644 index fb4d5087f7..0000000000 --- a/nsis/lang/simpchinese.nsi +++ /dev/null @@ -1,286 +0,0 @@ -# vi:set ts=8 sts=4 sw=4 et fdm=marker: -# -# simpchinese.nsi: Simplified Chinese language strings for gvim NSIS -# installer. -# -# Locale ID : 2052 -# Locale Name : cn -# fileencoding : UTF-8 -# Author : Guopeng Wen, David Liu - -!insertmacro MUI_LANGUAGE "SimpChinese" - - -# Overwrite the default translation. -# These strings should be always English. Otherwise dosinst.c fails. -LangString ^SetupCaption ${LANG_SIMPCHINESE} \ - "$(^Name) Setup" -LangString ^UninstallCaption ${LANG_SIMPCHINESE} \ - "$(^Name) Uninstall" - -############################################################################## -# Translated license file for the license page {{{1 -############################################################################## - -LicenseLangString page_lic_file ${LANG_SIMPCHINESE} \ - "..\lang\LICENSE.zh_cn.nsis.txt" - -############################################################################## -# Translated README.txt file, which is opened after installation {{{1 -############################################################################## - -LangString vim_readme_file ${LANG_SIMPCHINESE} "README.zh_cn.txt" - -############################################################################## -# MUI Configuration Strings {{{1 -############################################################################## - -#LangString str_dest_folder ${LANG_SIMPCHINESE} \ -# "安装路径 (必须以 vim 结尾)" - -LangString str_show_readme ${LANG_SIMPCHINESE} \ - "安装完æˆåŽæ˜¾ç¤º README 文件" - -# Install types: -LangString str_type_typical ${LANG_SIMPCHINESE} \ - "典型安装" - -LangString str_type_minimal ${LANG_SIMPCHINESE} \ - "最å°å®‰è£…" - -LangString str_type_full ${LANG_SIMPCHINESE} \ - "完全安装" - - -############################################################################## -# Section Titles & Description {{{1 -############################################################################## - -LangString str_section_old_ver ${LANG_SIMPCHINESE} \ - "å¸è½½æ—§ç‰ˆæœ¬" -LangString str_desc_old_ver ${LANG_SIMPCHINESE} \ - "å¸è½½ç³»ç»Ÿä¸Šå·²å­˜åœ¨çš„ Vim 版本" - -LangString str_section_exe ${LANG_SIMPCHINESE} \ - "安装 Vim 图形界é¢" -LangString str_desc_exe ${LANG_SIMPCHINESE} \ - "安装 Vim 图形界é¢åŠè¿è¡Œæ—¶æ–‡ä»¶ã€‚此项为必选。" - -LangString str_section_console ${LANG_SIMPCHINESE} \ - "安装 Vim 控制å°ç‰ˆæœ¬" -LangString str_desc_console ${LANG_SIMPCHINESE} \ - "安装 Vim 的控制å°ç‰ˆæœ¬ï¼ˆvim.exe)。" - -LangString str_section_batch ${LANG_SIMPCHINESE} \ - "å®‰è£…æ‰¹å¤„ç†æ–‡ä»¶" -LangString str_desc_batch ${LANG_SIMPCHINESE} \ - "为 Vim çš„å„ç§å˜ä½“åˆ›å»ºæ‰¹å¤„ç†æ–‡ä»¶ï¼Œä»¥ä¾¿åœ¨å‘½ä»¤è¡Œä¸‹è¿è¡Œ Vim。" - -LangString str_group_icons ${LANG_SIMPCHINESE} \ - "创建图标" -LangString str_desc_icons ${LANG_SIMPCHINESE} \ - "为 Vim 创建若干图标,以方便使用 Vim。" - -LangString str_section_desktop ${LANG_SIMPCHINESE} \ - "桌é¢å›¾æ ‡" -LangString str_desc_desktop ${LANG_SIMPCHINESE} \ - "创建 Vim 的桌é¢å¿«æ·æ–¹å¼å›¾æ ‡ã€‚" - -LangString str_section_start_menu ${LANG_SIMPCHINESE} \ - "「开始ã€èœå•程åºç»„" -LangString str_desc_start_menu ${LANG_SIMPCHINESE} \ - "在开始èœå•中添加 Vim 程åºç»„(适用于 Windows 95 åŠä»¥ä¸Šç‰ˆæœ¬ï¼‰" - -#LangString str_section_quick_launch ${LANG_SIMPCHINESE} \ -# "在快速å¯åЍå¯åЍæ ä¸­" -#LangString str_desc_quick_launch ${LANG_SIMPCHINESE} \ -# "在快速å¯åЍæ ä¸­æ·»åŠ  Vim 图标。" - -LangString str_section_edit_with ${LANG_SIMPCHINESE} \ - "添加到快æ·èœå•" -LangString str_desc_edit_with ${LANG_SIMPCHINESE} \ - "将“用 Vim ç¼–è¾‘â€æ·»åŠ åˆ°å¿«æ·èœå•中。" - -#LangString str_section_edit_with32 ${LANG_SIMPCHINESE} \ -# "32 ä½ç‰ˆæœ¬" -#LangString str_desc_edit_with32 ${LANG_SIMPCHINESE} \ -# "å°† Vim 添加到 32 ä½ç¨‹åºçš„“打开方å¼â€å¿«æ·èœå•中。" - -#LangString str_section_edit_with64 ${LANG_SIMPCHINESE} \ -# "64 ä½ç‰ˆæœ¬" -#LangString str_desc_edit_with64 ${LANG_SIMPCHINESE} \ -# "å°† Vim 添加到 64 ä½ç¨‹åºçš„“打开方å¼â€å¿«æ·èœå•中。" - -LangString str_section_vim_rc ${LANG_SIMPCHINESE} \ - "创建默认é…置文件" -LangString str_desc_vim_rc ${LANG_SIMPCHINESE} \ - "在安装目录下生æˆé»˜è®¤çš„ Vim é…置文件(_vimrc)。\ - 如果该文件已ç»å­˜åœ¨ï¼Œåˆ™è·³è¿‡è¯¥é¡¹ã€‚" - -LangString str_group_plugin ${LANG_SIMPCHINESE} \ - "创建æ’件目录" -LangString str_desc_plugin ${LANG_SIMPCHINESE} \ - "创建(空的)æ’件目录结构。æ’件目录用于安装 Vim 扩展æ’件,\ - åªè¦å°†æ–‡ä»¶å¤åˆ¶åˆ°ç›¸å…³çš„å­ç›®å½•中å³å¯ã€‚" - -LangString str_section_plugin_home ${LANG_SIMPCHINESE} \ - "ç§æœ‰æ’件目录" -LangString str_desc_plugin_home ${LANG_SIMPCHINESE} \ - "åœ¨ä¸»ç›®å½•åˆ›å»ºç§æœ‰æ’件目录。" - -LangString str_section_plugin_vim ${LANG_SIMPCHINESE} \ - "公共æ’件目录" -LangString str_desc_plugin_vim ${LANG_SIMPCHINESE} \ - "在 Vim 安装目录下创建(空的)æ’件目录结构,系统上所有用户都能使用安装在\ - 该目录下的扩展æ’件。" - -LangString str_section_nls ${LANG_SIMPCHINESE} \ - "安装多语言支æŒ" -LangString str_desc_nls ${LANG_SIMPCHINESE} \ - "安装用于多语言支æŒçš„æ–‡ä»¶ã€‚" - -LangString str_unsection_register ${LANG_SIMPCHINESE} \ - "删除 Vim 系统é…ç½®" -LangString str_desc_unregister ${LANG_SIMPCHINESE} \ - "删除和 Vim 相关的系统é…置。" - -LangString str_unsection_exe ${LANG_SIMPCHINESE} \ - "删除 Vim 执行文件以åŠè„šæœ¬" -LangString str_desc_rm_exe ${LANG_SIMPCHINESE} \ - "删除 Vim 的所有执行文件åŠè„šæœ¬ã€‚" - -LangString str_ungroup_plugin ${LANG_SIMPCHINESE} \ - "移除æ’件目录" -LangString str_desc_rm_plugin ${LANG_SIMPCHINESE} \ - "移除æ’件目录(如果目录为空)。" - -LangString str_unsection_plugin_home ${LANG_SIMPCHINESE} \ - "ç§æœ‰æ’件目录" -LangString str_desc_rm_plugin_home ${LANG_SIMPCHINESE} \ - "ä»Žä¸»ç›®å½•ä¸­ç§»é™¤ç§æœ‰æ’件目录。" - -LangString str_unsection_plugin_vim ${LANG_SIMPCHINESE} \ - "公共æ’件目录" -LangString str_desc_rm_plugin_vim ${LANG_SIMPCHINESE} \ - "从 Vim 安装目录下移除æ’件目录。" - -LangString str_unsection_rootdir ${LANG_SIMPCHINESE} \ - "移除 Vim 主目录" -LangString str_desc_rm_rootdir ${LANG_SIMPCHINESE} \ - "移除 Vim çš„ä¸»ç›®å½•ï¼Œè¯¥ç›®å½•åŒ…å«æ‚¨çš„é…置文件ï¼" - - -############################################################################## -# Messages {{{1 -############################################################################## - -#LangString str_msg_too_many_ver ${LANG_SIMPCHINESE} \ -# "您的系统上安装了 $vim_old_ver_count 个ä¸åŒç‰ˆæœ¬çš„ Vim,$\r$\n\ -# ä½†æœ¬å®‰è£…ç¨‹åºæœ€å¤šåªèƒ½å¤„ç† ${VIM_MAX_OLD_VER} 个版本。$\r$\n\ -# 请您手工删除一些旧版本以åŽå†è¿è¡Œæœ¬å®‰è£…程åºã€‚" - -#LangString str_msg_invalid_root ${LANG_SIMPCHINESE} \ -# "安装路径“$vim_install_rootâ€æ— æ•ˆï¼$\r$\n\ -# 该路径必须以 vim 结尾。" - -#LangString str_msg_bin_mismatch ${LANG_SIMPCHINESE} \ -# "Vim 执行程åºå®‰è£…路径异常ï¼$\r$\n$\r$\n\ -# 该版本 Vim 的执行程åºå®‰è£…路径应该是“$vim_bin_pathâ€,$\r$\n\ -# è€Œç³»ç»Ÿå´æŒ‡ç¤ºè¯¥è·¯å¾„为“$INSTDIRâ€ã€‚" - -#LangString str_msg_vim_running ${LANG_SIMPCHINESE} \ -# "æ‚¨çš„ç³»ç»Ÿä¸Šä»æœ‰ Vim 在è¿è¡Œï¼Œ$\r$\n\ -# 请您在执行åŽç»­æ­¥éª¤å‰é€€å‡ºè¿™äº› Vim。" - -#LangString str_msg_register_ole ${LANG_SIMPCHINESE} \ -# "试图注册 Vim OLE æœåŠ¡å™¨ã€‚è¯·æ³¨æ„æ— è®ºæˆåŠŸä¸Žå¦éƒ½ä¸å†æ˜¾ç¤ºè¿›ä¸€æ­¥çš„ä¿¡æ¯ã€‚" - -#LangString str_msg_unreg_ole ${LANG_SIMPCHINESE} \ -# "试图注销 Vim OLE æœåŠ¡å™¨ã€‚è¯·æ³¨æ„æ— è®ºæˆåŠŸä¸Žå¦éƒ½ä¸å†æ˜¾ç¤ºè¿›ä¸€æ­¥çš„ä¿¡æ¯ã€‚" - -#LangString str_msg_rm_start ${LANG_SIMPCHINESE} \ -# "开始å¸è½½ä»¥ä¸‹ç‰ˆæœ¬ï¼š" - -#LangString str_msg_rm_fail ${LANG_SIMPCHINESE} \ -# "以下版本å¸è½½å¤±è´¥ï¼š" - -#LangString str_msg_no_rm_key ${LANG_SIMPCHINESE} \ -# "找ä¸åˆ°å¸è½½ç¨‹åºçš„æ³¨å†Œè¡¨é”®ã€‚" - -#LangString str_msg_no_rm_reg ${LANG_SIMPCHINESE} \ -# "在注册表中未找到å¸è½½ç¨‹åºè·¯å¾„。" - -#LangString str_msg_no_rm_exe ${LANG_SIMPCHINESE} \ -# "找ä¸åˆ°å¸è½½ç¨‹åºã€‚" - -#LangString str_msg_rm_copy_fail ${LANG_SIMPCHINESE} \ -# "无法将å¸è½½ç¨‹åºå¤åˆ¶åˆ°ä¸´æ—¶ç›®å½•。" - -#LangString str_msg_rm_run_fail ${LANG_SIMPCHINESE} \ -# "执行å¸è½½ç¨‹åºå¤±è´¥ã€‚" - -#LangString str_msg_abort_install ${LANG_SIMPCHINESE} \ -# "安装程åºå°†é€€å‡ºã€‚" - -LangString str_msg_install_fail ${LANG_SIMPCHINESE} \ - "å®‰è£…å¤±è´¥ã€‚ç¥æ‚¨ä¸‹æ¬¡å¥½è¿ã€‚" - -LangString str_msg_rm_exe_fail ${LANG_SIMPCHINESE} \ - "目录“$0â€ä¸‹æœ‰éƒ¨åˆ†æ–‡ä»¶åˆ é™¤å¤±è´¥ï¼$\r$\n\ - 您åªèƒ½æ‰‹å·¥åˆ é™¤è¯¥ç›®å½•。" - -#LangString str_msg_rm_root_fail ${LANG_SIMPCHINESE} \ -# "警告:无法删除 Vim 安装目录“$vim_install_rootâ€ï¼Œ\ -# è¯¥ç›®å½•ä¸‹ä»æœ‰å…¶ä»–文件。" - -LangString str_msg_uninstalling ${LANG_SIMPCHINESE} \ - "正在å¸è½½æ—§ç‰ˆæœ¬..." - -LangString str_msg_registering ${LANG_SIMPCHINESE} \ - "正在注册..." - -LangString str_msg_unregistering ${LANG_SIMPCHINESE} \ - "æ­£åœ¨å–æ¶ˆæ³¨å†Œ..." - - -############################################################################## -# Dialog Box {{{1 -############################################################################## - -LangString str_vimrc_page_title ${LANG_SIMPCHINESE} \ - "设置 _vimrc" -LangString str_vimrc_page_subtitle ${LANG_SIMPCHINESE} \ - "选择键盘ã€é¼ æ ‡å’Œæ‰©å±•设置。" - -LangString str_msg_compat_title ${LANG_SIMPCHINESE} \ - "Vi / Vim 行为" -LangString str_msg_compat_desc ${LANG_SIMPCHINESE} \ - "兼容性与扩展(&B)" -LangString str_msg_compat_vi ${LANG_SIMPCHINESE} \ - "原始 Vi" -LangString str_msg_compat_vim ${LANG_SIMPCHINESE} \ - "原始 Vim" -LangString str_msg_compat_defaults ${LANG_SIMPCHINESE} \ - "Vim 原始版本和部分扩展 (加载 defaults.vim)" -LangString str_msg_compat_all ${LANG_SIMPCHINESE} \ - "Vim 原始版本和所有扩展 (加载 vimrc_example.vim) (缺çœ)" - -LangString str_msg_keymap_title ${LANG_SIMPCHINESE} \ - "键盘映射" -LangString str_msg_keymap_desc ${LANG_SIMPCHINESE} \ - "为 Windows 映射按键(&R) (例如:Ctrl-V, Ctrl-C, Ctrl-A, Ctrl-S, Ctrl-F ç­‰)" -LangString str_msg_keymap_default ${LANG_SIMPCHINESE} \ - "䏿˜ å°„按键 (缺çœ)" -LangString str_msg_keymap_windows ${LANG_SIMPCHINESE} \ - "映射一些按键" - -LangString str_msg_mouse_title ${LANG_SIMPCHINESE} \ - "é¼ æ ‡" -LangString str_msg_mouse_desc ${LANG_SIMPCHINESE} \ - "左键和å³é”®è¡Œä¸º(&B)" -LangString str_msg_mouse_default ${LANG_SIMPCHINESE} \ - "å³é”®ï¼šå¼¹å‡ºèœå•, 左键:å¯è§†åŒ–æ¨¡å¼ (缺çœ)" -LangString str_msg_mouse_windows ${LANG_SIMPCHINESE} \ - "å³é”®ï¼šå¼¹å‡ºèœå•, 左键:é€‰æ‹©æ¨¡å¼ (Windows)" -LangString str_msg_mouse_unix ${LANG_SIMPCHINESE} \ - "å³é”®ï¼š 扩展选择, 左键:å¯è§†åŒ–æ¨¡å¼ (Unix)" diff --git a/nsis/lang/swedish.nsi b/nsis/lang/swedish.nsi deleted file mode 100644 index b512175a91..0000000000 --- a/nsis/lang/swedish.nsi +++ /dev/null @@ -1,288 +0,0 @@ -# vi:set ts=8 sts=4 sw=4 et fdm=marker: -# -# swedish.nsi: Svenska strängar för gvim NSIS-installationsprogram. -# -# Lokalisering-ID : 1053 -# Lokalt namn : sv -# filkodning : UTF-8 -# Översättare : Daniel Nylander - -!insertmacro MUI_LANGUAGE "Swedish" - - -# Skriv över standardöversättningen. -# Dessa strängar ska alltid vara pÃ¥ engelska. Annars misslyckas dosinst.c. -LangString ^SetupCaption ${LANG_SWEDISH} \ - "$(^Name) Setup" -LangString ^UninstallCaption ${LANG_SWEDISH} \ - "$(^Name) Uninstall" - -############################################################################## -# Licensfil för licenssidan {{{1 -############################################################################## - -LicenseLangString page_lic_file ${LANG_SWEDISH} "..\lang\LICENSE.sv.nsis.txt" - -############################################################################## -# README.txt-fil, som öppnas efter installationen {{{1 -############################################################################## - -LangString vim_readme_file ${LANG_SWEDISH} "README.sv.txt" - -############################################################################## -# MUI-konfigurationssträngar {{{1 -############################################################################## - -#LangString str_dest_folder ${LANG_SWEDISH} \ -# "MÃ¥lmapp (mÃ¥ste sluta med $\"vim$\")" - -LangString str_show_readme ${LANG_SWEDISH} \ - "Visa README efter avslutad installation" - -# Installationstyper: -LangString str_type_typical ${LANG_SWEDISH} \ - "Typisk" - -LangString str_type_minimal ${LANG_SWEDISH} \ - "Minimal" - -LangString str_type_full ${LANG_SWEDISH} \ - "Fullständig" - - -############################################################################## -# Avsnittstitlar och beskrivning {{{1 -############################################################################## - -LangString str_section_old_ver ${LANG_SWEDISH} \ - "Avinstallera befintliga versioner" -LangString str_desc_old_ver ${LANG_SWEDISH} \ - "Avinstallera befintliga Vim-versioner frÃ¥n ditt system." - -LangString str_section_exe ${LANG_SWEDISH} \ - "Vim GUI och runtime-filer" -LangString str_desc_exe ${LANG_SWEDISH} \ - "Vim GUI-körbara filer och runtime-filer. Denna komponent krävs." - -LangString str_section_console ${LANG_SWEDISH} \ - "Vim-konsolprogram" -LangString str_desc_console ${LANG_SWEDISH} \ - "Konsolversion av Vim (vim.exe)." - -LangString str_section_batch ${LANG_SWEDISH} \ - "Skapa .bat-filer" -LangString str_desc_batch ${LANG_SWEDISH} \ - "Skapa .bat-filer för Vim-varianter i Windows-katalogen för \ - kommandoradsanvändning." - -LangString str_group_icons ${LANG_SWEDISH} \ - "Skapa ikoner för Vim" -LangString str_desc_icons ${LANG_SWEDISH} \ - "Skapa ikoner för Vim pÃ¥ olika platser för att underlätta Ã¥tkomsten." - -LangString str_section_desktop ${LANG_SWEDISH} \ - "PÃ¥ skrivbordet" -LangString str_desc_desktop ${LANG_SWEDISH} \ - "Skapa ikoner för gVim-körbara filer pÃ¥ skrivbordet." - -LangString str_section_start_menu ${LANG_SWEDISH} \ - "I startmenyns programmapp" -LangString str_desc_start_menu ${LANG_SWEDISH} \ - "Lägg till Vim i programmappen i startmenyn." - -#LangString str_section_quick_launch ${LANG_SWEDISH} \ -# "I snabbstartfältet" -#LangString str_desc_quick_launch ${LANG_SWEDISH} \ -# "Lägg till Vim-genväg i snabbstartfältet." - -LangString str_section_edit_with ${LANG_SWEDISH} \ - "Lägg till Vim-kontextmeny" -LangString str_desc_edit_with ${LANG_SWEDISH} \ - "Lägg till Vim i listan över snabbmenyn $\"Öppna med...$\"." - -#LangString str_section_edit_with32 ${LANG_SWEDISH} \ -# "32-bitarsversion" -#LangString str_desc_edit_with32 ${LANG_SWEDISH} \ -# "Lägg till Vim i listan över snabbmenyn $\"Öppna med...$\" \ -# för 32-bitarsprogram." - -#LangString str_section_edit_with64 ${LANG_SWEDISH} \ -# "64-bitarsversion" -#LangString str_desc_edit_with64 ${LANG_SWEDISH} \ -# "Lägg till Vim i listan över kontextmenyn $\"Öppna med...$\" \ -# för 64-bitarsprogram." - -LangString str_section_vim_rc ${LANG_SWEDISH} \ - "Skapa standardkonfiguration" -LangString str_desc_vim_rc ${LANG_SWEDISH} \ - "Skapa en standardkonfigurationsfil (_vimrc) om det inte redan finns en." - -LangString str_group_plugin ${LANG_SWEDISH} \ - "Skapa plugin-kataloger" -LangString str_desc_plugin ${LANG_SWEDISH} \ - "Skapa plugin-kataloger. Plugin-kataloger gör det möjligt att utöka Vim \ - genom att släppa en fil i en katalog." - -LangString str_section_plugin_home ${LANG_SWEDISH} \ - "Privat" -LangString str_desc_plugin_home ${LANG_SWEDISH} \ - "Skapa plugin-kataloger i HOME-katalogen." - -LangString str_section_plugin_vim ${LANG_SWEDISH} \ - "Delad" -LangString str_desc_plugin_vim ${LANG_SWEDISH} \ - "Skapa plugin-kataloger i Vim-installationskatalogen, den används för \ - alla pÃ¥ systemet." - -LangString str_section_nls ${LANG_SWEDISH} \ - "Stöd för modersmÃ¥l" -LangString str_desc_nls ${LANG_SWEDISH} \ - "Installera filer för stöd för modersmÃ¥l." - -LangString str_unsection_register ${LANG_SWEDISH} \ - "Avregistrera Vim" -LangString str_desc_unregister ${LANG_SWEDISH} \ - "Avregistrera Vim frÃ¥n systemet." - -LangString str_unsection_exe ${LANG_SWEDISH} \ - "Ta bort Vim-körbara filer/körningsfiler" -LangString str_desc_rm_exe ${LANG_SWEDISH} \ - "Ta bort alla Vim-körbara filer och runtime-filer." - -LangString str_ungroup_plugin ${LANG_SWEDISH} \ - "Ta bort plugin-kataloger" -LangString str_desc_rm_plugin ${LANG_SWEDISH} \ - "Ta bort plugin-katalogerna om de är tomma." - -LangString str_unsection_plugin_home ${LANG_SWEDISH} \ - "Privat" -LangString str_desc_rm_plugin_home ${LANG_SWEDISH} \ - "Ta bort plugin-katalogerna frÃ¥n HOME-katalogen." - -LangString str_unsection_plugin_vim ${LANG_SWEDISH} \ - "Delad" -LangString str_desc_rm_plugin_vim ${LANG_SWEDISH} \ - "Ta bort plugin-katalogerna frÃ¥n Vim-installationskatalogen." - -LangString str_unsection_rootdir ${LANG_SWEDISH} \ - "Ta bort Vim-rotkatalogen" -LangString str_desc_rm_rootdir ${LANG_SWEDISH} \ - "Ta bort Vim-rotkatalogen. Den innehÃ¥ller dina Vim-konfigurationsfiler!" - - -############################################################################## -# Meddelanden {{{1 -############################################################################## - -#LangString str_msg_too_many_ver ${LANG_SWEDISH} \ -# "Hittade $vim_old_ver_count Vim-versioner pÃ¥ ditt system.$\r$\n\ -# Denna installationsprogram kan endast hantera ${VIM_MAX_OLD_VER} versioner \ -# .$\r$\n\ -# Ta bort nÃ¥gra versioner och börja om." - -#LangString str_msg_invalid_root ${LANG_SWEDISH} \ -# "Ogiltig installationsväg: $vim_install_root!$\r$\n\ -# Den ska sluta med $\"vim$\"." - -#LangString str_msg_bin_mismatch ${LANG_SWEDISH} \ -# "Binär sökväg stämmer inte!$\r$\n$\r$\n\ -# Förväntar mig att binärvägen är $\"$vim_bin_path$\",$\r$\n\ -# men systemet anger att binärvägen är $\"$INSTDIR$\"." - -#LangString str_msg_vim_running ${LANG_SWEDISH} \ -# "Vim körs fortfarande pÃ¥ ditt system.$\r$\n\ -# Stäng alla instanser av Vim innan du fortsätter." - -#LangString str_msg_register_ole ${LANG_SWEDISH} \ -# "Försöker registrera Vim med OLE. \ -# Det finns inget meddelande som anger om detta fungerar eller inte." - -#LangString str_msg_unreg_ole ${LANG_SWEDISH} \ -# "Försöker avregistrera Vim frÃ¥n OLE. \ -# Det finns inget meddelande som anger om detta fungerar eller inte." - -#LangString str_msg_rm_start ${LANG_SWEDISH} \ -# "Avinstallera följande version:" - -#LangString str_msg_rm_fail ${LANG_SWEDISH} \ -# "Det gick inte att avinstallera följande version:" - -#LangString str_msg_no_rm_key ${LANG_SWEDISH} \ -# "Kan inte hitta avinstallationsnyckeln i registret." - -#LangString str_msg_no_rm_reg ${LANG_SWEDISH} \ -# "Kan inte hitta avinstallationsprogrammet i registret." - -#LangString str_msg_no_rm_exe ${LANG_SWEDISH} \ -# "Kan inte komma Ã¥t avinstallationsprogrammet." - -#LangString str_msg_rm_copy_fail ${LANG_SWEDISH} \ -# "Det gick inte att kopiera avinstallationsprogrammet till den tillfälliga katalogen." - -#LangString str_msg_rm_run_fail ${LANG_SWEDISH} \ -# "Det gick inte att köra avinstallationsprogrammet." - -#LangString str_msg_abort_install ${LANG_SWEDISH} \ -# "Installationsprogrammet avbryts." - -LangString str_msg_install_fail ${LANG_SWEDISH} \ - "Installationen misslyckades. Bättre lycka nästa gÃ¥ng." - -LangString str_msg_rm_exe_fail ${LANG_SWEDISH} \ - "Vissa filer i $0 har inte raderats!$\r$\n\ - Du mÃ¥ste göra det manuellt." - -#LangString str_msg_rm_root_fail ${LANG_SWEDISH} \ -# "VARNING: Kan inte ta bort $\"$vim_install_root$\", den är inte tom!" - -LangString str_msg_uninstalling ${LANG_SWEDISH} \ - "Avinstallerar den gamla versionen..." - -LangString str_msg_registering ${LANG_SWEDISH} \ - "Registrerar..." - -LangString str_msg_unregistering ${LANG_SWEDISH} \ - "Avregistrerar..." - - -############################################################################## -# Dialogruta {{{1 -############################################################################## - -LangString str_vimrc_page_title ${LANG_SWEDISH} \ - "Välj _vimrc-inställningar" -LangString str_vimrc_page_subtitle ${LANG_SWEDISH} \ - "Välj inställningar för förbättringar, tangentbord och mus." - -LangString str_msg_compat_title ${LANG_SWEDISH} \ - " Vi / Vim-beteende " -LangString str_msg_compat_desc ${LANG_SWEDISH} \ - "&Kompatibilitet och förbättringar" -LangString str_msg_compat_vi ${LANG_SWEDISH} \ - "Vi-kompatibel" -LangString str_msg_compat_vim ${LANG_SWEDISH} \ - "Vim original" -LangString str_msg_compat_defaults ${LANG_SWEDISH} \ - "Vim med vissa förbättringar (ladda defaults.vim)" -LangString str_msg_compat_all ${LANG_SWEDISH} \ - "Vim med alla förbättringar (ladda vimrc_example.vim) (Standard)" - -LangString str_msg_keymap_title ${LANG_SWEDISH} \ - " Mappningar " -LangString str_msg_keymap_desc ${LANG_SWEDISH} \ - "&Omkonfigurera nÃ¥gra tangenter för Windows (Ctrl-V, Ctrl-C, Ctrl-A, Ctrl-S, Ctrl-F, etc)" -LangString str_msg_keymap_default ${LANG_SWEDISH} \ - "Omkonfigurera inte tangenter (standard)" -LangString str_msg_keymap_windows ${LANG_SWEDISH} \ - "Omkonfigurera nÃ¥gra tangenter" - -LangString str_msg_mouse_title ${LANG_SWEDISH} \ - " Mus " -LangString str_msg_mouse_desc ${LANG_SWEDISH} \ - "&Funktion för höger- och vänsterknapp" -LangString str_msg_mouse_default ${LANG_SWEDISH} \ - "Höger: popup-meny, Vänster: visuellt läge (Standard)" -LangString str_msg_mouse_windows ${LANG_SWEDISH} \ - "Höger: popup-meny, Vänster: välj läge (Windows)" -LangString str_msg_mouse_unix ${LANG_SWEDISH} \ - "Höger: utökar valet, Vänster: visuellt läge (Unix)" diff --git a/nsis/lang/tradchinese.nsi b/nsis/lang/tradchinese.nsi deleted file mode 100644 index 5d9a5d3a56..0000000000 --- a/nsis/lang/tradchinese.nsi +++ /dev/null @@ -1,289 +0,0 @@ -# vi:set ts=8 sts=4 sw=4 et fdm=marker: -# -# tradchinese.nsi: Traditional Chinese language strings for gvim NSIS -# installer. -# -# Locale ID : 1028 -# Locale Name : tw -# fileencoding : UTF-8 -# Author : Guopeng Wen - -!insertmacro MUI_LANGUAGE "TradChinese" - - -# Overwrite the default translation. -# These strings should be always English. Otherwise dosinst.c fails. -LangString ^SetupCaption ${LANG_TRADCHINESE} \ - "$(^Name) Setup" -LangString ^UninstallCaption ${LANG_TRADCHINESE} \ - "$(^Name) Uninstall" - -############################################################################## -# Translated license file for the license page {{{1 -############################################################################## - -LicenseLangString page_lic_file 0 "..\lang\LICENSE.nsis.txt" -#LicenseLangString page_lic_file ${LANG_TRADCHINESE} \ -# "..\lang\LICENSE.zh_tw.nsis.txt" - -############################################################################## -# Translated README.txt file, which is opened after installation {{{1 -############################################################################## - -LangString vim_readme_file 0 "README.txt" -#LangString vim_readme_file ${LANG_TRADCHINESE} "README.zh_tw.txt" - -############################################################################## -# MUI Configuration Strings {{{1 -############################################################################## - -#LangString str_dest_folder ${LANG_TRADCHINESE} \ -# "安è£è³‡æ–™å¤¾ (必須以 vim çµå°¾)" - -LangString str_show_readme ${LANG_TRADCHINESE} \ - "安è£å®Œæˆå¾Œé¡¯ç¤º README 檔案" - -# Install types: -LangString str_type_typical ${LANG_TRADCHINESE} \ - "典型安è£" - -LangString str_type_minimal ${LANG_TRADCHINESE} \ - "最å°å®‰è£" - -LangString str_type_full ${LANG_TRADCHINESE} \ - "完全安è£" - - -############################################################################## -# Section Titles & Description {{{1 -############################################################################## - -LangString str_section_old_ver ${LANG_TRADCHINESE} \ - "移除舊版本" -LangString str_desc_old_ver ${LANG_TRADCHINESE} \ - "移除閣下電腦上舊版本的 Vim。" - -LangString str_section_exe ${LANG_TRADCHINESE} \ - "å®‰è£ Vim 圖形界é¢ç¨‹å¼" -LangString str_desc_exe ${LANG_TRADCHINESE} \ - "å®‰è£ Vim 圖形界é¢ç¨‹å¼åŠè…³æœ¬ã€‚此為必é¸å®‰è£ã€‚" - -LangString str_section_console ${LANG_TRADCHINESE} \ - "å®‰è£ Vim 命令行程å¼" -LangString str_desc_console ${LANG_TRADCHINESE} \ - "å®‰è£ Vim å‘½ä»¤è¡Œç¨‹å¼ (vim.exe)。該程å¼åœ¨æŽ§åˆ¶è‡ºçª—å£ä¸­é‹è¡Œã€‚" - -LangString str_section_batch ${LANG_TRADCHINESE} \ - "å®‰è£æ‰¹æ¬¡æª”案" -LangString str_desc_batch ${LANG_TRADCHINESE} \ - "為 Vim çš„å„種變體創建批次檔,以便在命令行下啟動 Vim。" - -LangString str_group_icons ${LANG_TRADCHINESE} \ - "建立 Vim 圖示" -LangString str_desc_icons ${LANG_TRADCHINESE} \ - "建立若干 Vim 圖示,以便于使用 Vim。" - -LangString str_section_desktop ${LANG_TRADCHINESE} \ - "於桌é¢" -LangString str_desc_desktop ${LANG_TRADCHINESE} \ - "建立若干 Vim 圖示於桌é¢ä¸Šï¼Œä»¥æ–¹ä¾¿å•Ÿå‹• Vim。" - -LangString str_section_start_menu ${LANG_TRADCHINESE} \ - "於「開始ã€åŠŸèƒ½è¡¨çš„ã€Œç¨‹å¼ã€é›†" -LangString str_desc_start_menu ${LANG_TRADCHINESE} \ - "在「開始ã€åŠŸèƒ½è¡¨çš„ã€Œç¨‹å¼ã€é›†ä¸­å»ºç«‹ Vim 啟動組。\ - é©ç”¨äºŽ Windows 95 åŠä»¥ä¸Šç‰ˆæœ¬ã€‚" - -#LangString str_section_quick_launch ${LANG_TRADCHINESE} \ -# "於快速啟動列" -#LangString str_desc_quick_launch ${LANG_TRADCHINESE} \ -# "在快速啟動列中建立 Vim 圖示。" - -LangString str_section_edit_with ${LANG_TRADCHINESE} \ - "安è£å¿«æ·é¸å–®" -LangString str_desc_edit_with ${LANG_TRADCHINESE} \ - "在「打開方å¼ã€å¿«æ·é¸å–®ä¸­æ·»åŠ  Vim 項。" - -#LangString str_section_edit_with32 ${LANG_TRADCHINESE} \ -# "32 ä½å…ƒç‰ˆæœ¬" -#LangString str_desc_edit_with32 ${LANG_TRADCHINESE} \ -# "在 32 ä½å…ƒç¨‹å¼çš„「打開方å¼ã€å¿«æ·é¸å–®ä¸­æ·»åŠ  Vim 項。" - -#LangString str_section_edit_with64 ${LANG_TRADCHINESE} \ -# "64 ä½å…ƒç‰ˆæœ¬" -#LangString str_desc_edit_with64 ${LANG_TRADCHINESE} \ -# "在 64 ä½å…ƒç¨‹å¼çš„「打開方å¼ã€å¿«æ·é¸å–®ä¸­æ·»åŠ  Vim 項。" - -LangString str_section_vim_rc ${LANG_TRADCHINESE} \ - "建立默èªè¨­å®šæª”" -LangString str_desc_vim_rc ${LANG_TRADCHINESE} \ - "在安è£è³‡æ–™å¤¾ä¸‹å»ºç«‹é»˜èªçš„ Vim 設定檔(_vimrc)。\ - è‹¥è©²è¨­å®šæª”å·²ç¶“å­˜åœ¨ï¼Œå‰‡ç•¥éŽæ­¤é …。" - -LangString str_group_plugin ${LANG_TRADCHINESE} \ - "建立æ’件資料夾" -LangString str_desc_plugin ${LANG_TRADCHINESE} \ - "建立(空的)æ’ä»¶è³‡æ–™å¤¾çµæ§‹ã€‚æ’ä»¶è³‡æ–™å¤¾ç”¨äºŽå®‰è£ Vim 的擴展æ’件,\ - åªè¦å°‡æª”案復制到相關的å­è³‡æ–™å¤¾ä¸­å³å¯ã€‚" - -LangString str_section_plugin_home ${LANG_TRADCHINESE} \ - "建立æ’件資料夾" -LangString str_desc_plugin_home ${LANG_TRADCHINESE} \ - "Create plugin directories in HOME directory." - -LangString str_section_plugin_vim ${LANG_TRADCHINESE} \ - "建立共享æ’件資料夾" -LangString str_desc_plugin_vim ${LANG_TRADCHINESE} \ - "在 Vim 安è£è³‡æ–™å¤¾ä¸‹å»ºç«‹(空的)æ’ä»¶è³‡æ–™å¤¾çµæ§‹ï¼Œé›»è…¦ä¸Šæ‰€æœ‰ç”¨æˆ¶éƒ½èƒ½ä½¿ç”¨å®‰è£\ - 在該資料夾里的擴展æ’件。" - -LangString str_section_nls ${LANG_TRADCHINESE} \ - "å®‰è£æœ¬åœ°èªžè¨€æ”¯æŒ" -LangString str_desc_nls ${LANG_TRADCHINESE} \ - "安è£ç”¨äºŽæ”¯æŒæœ¬åœ°èªžè¨€çš„æª”案。" - -LangString str_unsection_register ${LANG_TRADCHINESE} \ - "移除 Vim 系統設定" -LangString str_desc_unregister ${LANG_TRADCHINESE} \ - "移除與 Vim 相關的系統設定。" - -LangString str_unsection_exe ${LANG_TRADCHINESE} \ - "移除 Vim 程å¼åŠè…³æœ¬" -LangString str_desc_rm_exe ${LANG_TRADCHINESE} \ - "移除所有的 Vim 程å¼åŠè…³æœ¬ã€‚" - -LangString str_ungroup_plugin ${LANG_TRADCHINESE} \ - "Remove plugin directories" -LangString str_desc_rm_plugin ${LANG_TRADCHINESE} \ - "Remove the plugin directories if they are empty." - -LangString str_unsection_plugin_home ${LANG_TRADCHINESE} \ - "Private" -LangString str_desc_rm_plugin_home ${LANG_TRADCHINESE} \ - "Remove the vimfiles directory in HOME directory." - -LangString str_unsection_plugin_vim ${LANG_TRADCHINESE} \ - "Shared" -LangString str_desc_rm_plugin_vim ${LANG_TRADCHINESE} \ - "Remove the vimfiles directory in Vim install directory." - -LangString str_unsection_rootdir ${LANG_TRADCHINESE} \ - "Remove the Vim root directory" -LangString str_desc_rm_rootdir ${LANG_TRADCHINESE} \ - "Remove the Vim root directory. It contains your Vim configuration files!" - - -############################################################################## -# Messages {{{1 -############################################################################## - -#LangString str_msg_too_many_ver ${LANG_TRADCHINESE} \ -# "閣下的電腦上安è£äº† $vim_old_ver_count 個ä¸åŒç‰ˆæœ¬çš„ Vim,$\r$\n\ -# 但是本安è£ç¨‹å¼æœ€å¤šåªèƒ½è™•ç† ${VIM_MAX_OLD_VER} 個版本。$\r$\n\ -# 煩請閣下手工移除一些版本以åŽå†é‹è¡Œæœ¬å®‰è£ç¨‹å¼ã€‚" - -#LangString str_msg_invalid_root ${LANG_TRADCHINESE} \ -# "安è£è³‡æ–™å¤¾ã€Œ$vim_install_rootã€ç„¡æ•ˆï¼$\r$\n\ -# 該資料夾必須以「vimã€çµå°¾ã€‚" - -#LangString str_msg_bin_mismatch ${LANG_TRADCHINESE} \ -# "Vim 執行程å¼å®‰è£è·¯å¾‘異常ï¼$\r$\n$\r$\n\ -# 該版本 Vim 的執行程å¼å®‰è£è·¯å¾‘應該是「$vim_bin_pathã€,$\r$\n\ -# è€Œç³»çµ±å»æŒ‡ç¤ºè©²è·¯å¾‘為「$INSTDIRã€ã€‚" - -#LangString str_msg_vim_running ${LANG_TRADCHINESE} \ -# "閣下的電腦上尚有正在é‹è¡Œä¹‹ Vim,$\r$\n\ -# 煩請閣下在執行åŽçºŒæ­¥é©Ÿå‰å°‡å…¶å…¨éƒ¨é€€å‡ºã€‚" - -#LangString str_msg_register_ole ${LANG_TRADCHINESE} \ -# "試圖注冊 Vim OLE 伺æœç¨‹å¼ã€‚請注æ„ä¸è«–æˆåŠŸèˆ‡å¦éƒ½ä¸å†é¡¯ç¤ºé€²ä¸€æ­¥çš„ä¿¡æ¯ã€‚" - -#LangString str_msg_unreg_ole ${LANG_TRADCHINESE} \ -# "試圖注銷 Vim OLE 伺æœç¨‹å¼ã€‚請注æ„ä¸è«–æˆåŠŸèˆ‡å¦éƒ½ä¸å†é¡¯ç¤ºé€²ä¸€æ­¥çš„ä¿¡æ¯ã€‚" - -#LangString str_msg_rm_start ${LANG_TRADCHINESE} \ -# "正移除如下版本:" - -#LangString str_msg_rm_fail ${LANG_TRADCHINESE} \ -# "以下版本移除失敗:" - -#LangString str_msg_no_rm_key ${LANG_TRADCHINESE} \ -# "找ä¸åˆ°å安è£ç¨‹å¼çš„登錄檔入å£ã€‚" - -#LangString str_msg_no_rm_reg ${LANG_TRADCHINESE} \ -# "在登錄檔中未找到å安è£ç¨‹å¼è·¯å¾‘。" - -#LangString str_msg_no_rm_exe ${LANG_TRADCHINESE} \ -# "找ä¸åˆ°å安è£ç¨‹å¼ã€‚" - -#LangString str_msg_rm_copy_fail ${LANG_TRADCHINESE} \ -# "無法將法將å安è£ç¨‹å¼å¤åˆ¶åˆ°è‡¨æ™‚目錄。" - -#LangString str_msg_rm_run_fail ${LANG_TRADCHINESE} \ -# "執行å安è£ç¨‹å¼å¤±æ•—。" - -#LangString str_msg_abort_install ${LANG_TRADCHINESE} \ -# "安è£ç¨‹å¼å°‡é€€å‡ºã€‚" - -LangString str_msg_install_fail ${LANG_TRADCHINESE} \ - "安è£å¤±æ•—。é ç¥ä¸‹æ¬¡å¥½é‹ã€‚" - -LangString str_msg_rm_exe_fail ${LANG_TRADCHINESE} \ - "資料夾「$0ã€ä¸‹æœ‰éƒ¨åˆ†æª”案未能移除ï¼$\r$\n\ - 閣下åªèƒ½æ‰‹å·¥ç§»é™¤è©²è³‡æ–™å¤¾ã€‚" - -#LangString str_msg_rm_root_fail ${LANG_TRADCHINESE} \ -# "警告:無法刪除 Vim 安è£è³‡æ–™å¤¾ã€Œ$vim_install_rootã€ï¼Œ\ -# è©²è³‡æ–™å¤¾ä¸‹ä»æœ‰å…¶ä»–檔案。" - -LangString str_msg_uninstalling ${LANG_TRADCHINESE} \ - "Uninstalling the old version..." - -LangString str_msg_registering ${LANG_TRADCHINESE} \ - "Registering..." - -LangString str_msg_unregistering ${LANG_TRADCHINESE} \ - "Unregistering..." - - -############################################################################## -# Dialog Box {{{1 -############################################################################## - -LangString str_vimrc_page_title ${LANG_TRADCHINESE} \ - "Choose _vimrc settings" -LangString str_vimrc_page_subtitle ${LANG_TRADCHINESE} \ - "Choose the settings for enhancement, keyboard and mouse." - -LangString str_msg_compat_title ${LANG_TRADCHINESE} \ - " Vi / Vim behavior " -LangString str_msg_compat_desc ${LANG_TRADCHINESE} \ - "&Compatibility and enhancements" -LangString str_msg_compat_vi ${LANG_TRADCHINESE} \ - "Vi compatible" -LangString str_msg_compat_vim ${LANG_TRADCHINESE} \ - "Vim original" -LangString str_msg_compat_defaults ${LANG_TRADCHINESE} \ - "Vim with some enhancements (load defaults.vim)" -LangString str_msg_compat_all ${LANG_TRADCHINESE} \ - "Vim with all enhancements (load vimrc_example.vim) (Default)" - -LangString str_msg_keymap_title ${LANG_TRADCHINESE} \ - " Mappings " -LangString str_msg_keymap_desc ${LANG_TRADCHINESE} \ - "&Remap a few keys for Windows (Ctrl-V, Ctrl-C, Ctrl-A, Ctrl-S, Ctrl-F, etc)" -LangString str_msg_keymap_default ${LANG_TRADCHINESE} \ - "Do not remap keys (Default)" -LangString str_msg_keymap_windows ${LANG_TRADCHINESE} \ - "Remap a few keys" - -LangString str_msg_mouse_title ${LANG_TRADCHINESE} \ - " Mouse " -LangString str_msg_mouse_desc ${LANG_TRADCHINESE} \ - "&Behavior of right and left buttons" -LangString str_msg_mouse_default ${LANG_TRADCHINESE} \ - "Right: popup menu, Left: visual mode (Default)" -LangString str_msg_mouse_windows ${LANG_TRADCHINESE} \ - "Right: popup menu, Left: select mode (Windows)" -LangString str_msg_mouse_unix ${LANG_TRADCHINESE} \ - "Right: extends selection, Left: visual mode (Unix)" diff --git a/nsis/lang/turkish.nsi b/nsis/lang/turkish.nsi deleted file mode 100644 index 3522faa7f4..0000000000 --- a/nsis/lang/turkish.nsi +++ /dev/null @@ -1,206 +0,0 @@ -# vi:set ts=8 sts=4 sw=4 et fdm=marker: -# -# turkish.nsi: Turkish language strings for gvim NSIS installer. -# -# Locale ID : 1055 -# Locale Name : tr -# fileencoding : UTF-8 -# Author : Emir SARI - -!insertmacro MUI_LANGUAGE "Turkish" - -# Overwrite the default translation. -# These strings should be always English. Otherwise dosinst.c fails. -LangString ^SetupCaption ${LANG_TURKISH} \ - "$(^Name) Setup" -LangString ^UninstallCaption ${LANG_TURKISH} \ - "$(^Name) Uninstall" - -############################################################################## -# Translated license file for the license page {{{1 -############################################################################## - -LicenseLangString page_lic_file 0 "..\lang\LICENSE.nsis.txt" -#LicenseLangString page_lic_file ${LANG_TURKISH} "..\lang\LICENSE.tr.nsis.txt" - -############################################################################## -# Translated README.txt file, which is opened after installation {{{1 -############################################################################## - -LangString vim_readme_file 0 "README.txt" -#LangString vim_readme_file ${LANG_TURKISH} "README.tr.txt" - -############################################################################## - -LangString str_show_readme ${LANG_TURKISH} \ - "Kurulum bittikten sonra README dosyasını aç" - -# Install types: -LangString str_type_typical ${LANG_TURKISH} \ - "Normal" - -LangString str_type_minimal ${LANG_TURKISH} \ - "Küçük" - -LangString str_type_full ${LANG_TURKISH} \ - "Tam" - -############################################################################## -# Section Titles & Description {{{1 -############################################################################## - -LangString str_section_old_ver ${LANG_TURKISH} \ - "Eski sürümü kaldır" -LangString str_desc_old_ver ${LANG_TURKISH} \ - "Vim'in eski sürümünü sisteminizden kaldırır." - -LangString str_section_exe ${LANG_TURKISH} \ - "Vim grafik arabirimi ve çalışma dosyaları" -LangString str_desc_exe ${LANG_TURKISH} \ - "Vim program baÅŸlatıcı ve çalışma dosyaları. Bu bileÅŸen zorunludur." - -LangString str_section_console ${LANG_TURKISH} \ - "Vim konsol sürümü" -LangString str_desc_console ${LANG_TURKISH} \ - "Vim'in konsol sürümü (vim.exe)." - -LangString str_section_batch ${LANG_TURKISH} \ - ".bat dosyaları oluÅŸtur" -LangString str_desc_batch ${LANG_TURKISH} \ - "Vim için komut satırında kullanmak üzere .bat dosyaları oluÅŸturur" - -LangString str_group_icons ${LANG_TURKISH} \ - "Vim için kısayollar oluÅŸtur" -LangString str_desc_icons ${LANG_TURKISH} \ - "Kolay eriÅŸim için Vim kısayolları oluÅŸturur." - -LangString str_section_desktop ${LANG_TURKISH} \ - "Masaüstünde" -LangString str_desc_desktop ${LANG_TURKISH} \ - "gVim programı için Masaüstünde kısayol oluÅŸturur." - -LangString str_section_start_menu ${LANG_TURKISH} \ - "BaÅŸlat Menüsü - Programlar klasöründe" -LangString str_desc_start_menu ${LANG_TURKISH} \ - "Vim kısayolunu BaÅŸlat Menüsüne ekler." - -LangString str_section_edit_with ${LANG_TURKISH} \ - "Vim ile Aç" -LangString str_desc_edit_with ${LANG_TURKISH} \ - "Vim'i $\"Birlikte aç$\" saÄŸ tık menüsüne ekler." - - LangString str_section_vim_rc ${LANG_TURKISH} \ - "Bir yapılandırma dosyası oluÅŸtur" -LangString str_desc_vim_rc ${LANG_TURKISH} \ - "EÄŸer yoksa bir yapılandırma dosyası (_vimrc) oluÅŸturur." - -LangString str_group_plugin ${LANG_TURKISH} \ - "Eklenti dizinleri oluÅŸtur" -LangString str_desc_plugin ${LANG_TURKISH} \ - "Bu dizinlere Vim eklentilerini yerleÅŸtirerek Vim'e yeni \ - özellikler kazandırabilirsiniz." - -LangString str_section_plugin_home ${LANG_TURKISH} \ - "Gizli" -LangString str_desc_plugin_home ${LANG_TURKISH} \ - "Eklenti dizinlerini EV dizininde oluÅŸturur." - -LangString str_section_plugin_vim ${LANG_TURKISH} \ - "Paylaşılan" -LangString str_desc_plugin_vim ${LANG_TURKISH} \ - "Eklenti dizinlerini Vim yükleme dizininde oluÅŸturur. Bu eklentilerden \ - bilgisayarın tüm kullanıcıları yararlanabilir." - -LangString str_section_nls ${LANG_TURKISH} \ - "Ek dil desteÄŸi" -LangString str_desc_nls ${LANG_TURKISH} \ - "Mevcut olan Vim yerelleÅŸtirmelerini yükler." - -LangString str_unsection_register ${LANG_TURKISH} \ - "Vim kaydını kaldır" -LangString str_desc_unregister ${LANG_TURKISH} \ - "Vim'in bu bilgisayardaki kaydını kaldırır." - -LangString str_unsection_exe ${LANG_TURKISH} \ - "Vim programını ve çalıştırma dosyalarını kaldır" -LangString str_desc_rm_exe ${LANG_TURKISH} \ - "Vim çalıştırılabilir dosyalarını ve diÄŸer dosyaları kaldırır." - -LangString str_ungroup_plugin ${LANG_TURKISH} \ - "Eklenti dizinlerini kaldır" -LangString str_desc_rm_plugin ${LANG_TURKISH} \ - "Eklenti dizinlerini eÄŸer boÅŸ ise kaldırır." - -LangString str_unsection_plugin_home ${LANG_TURKISH} \ - "Gizli" -LangString str_desc_rm_plugin_home ${LANG_TURKISH} \ - "Eklenti dizinlerini EV dizininden kaldırır." - -LangString str_unsection_plugin_vim ${LANG_TURKISH} \ - "Paylaşılan" -LangString str_desc_rm_plugin_vim ${LANG_TURKISH} \ - "Eklenti dizinlerini Vim yükleme dizininden kaldırır." - -LangString str_unsection_rootdir ${LANG_TURKISH} \ - "Vim kök dizinini kaldır" -LangString str_desc_rm_rootdir ${LANG_TURKISH} \ - "Vim kök dizinini kaldırır. Bu dizin Vim yapılandırma dosyalarını içerir!" - - LangString str_msg_install_fail ${LANG_TURKISH} \ - "Yükleme baÅŸarısız oldu. Yeniden deneyin." - -LangString str_msg_rm_exe_fail ${LANG_TURKISH} \ - "$0 içindeki bazı dosyalar silinemedi!$\r$\n\ - Bu dosyaları el ile kaldırmalısınız." - - LangString str_msg_uninstalling ${LANG_TURKISH} \ - "Eski sürüm kaldırılıyor..." - -LangString str_msg_registering ${LANG_TURKISH} \ - "Kaydediliyor..." - -LangString str_msg_unregistering ${LANG_TURKISH} \ - "Kayıt siliniyor..." - - -############################################################################## -# Dialog Box {{{1 -############################################################################## - -LangString str_vimrc_page_title ${LANG_TURKISH} \ - "_vimrc ayarlarını seçin" -LangString str_vimrc_page_subtitle ${LANG_TURKISH} \ - "Yüklenecek ek özellikler, klavye ve fare için ayarları seçin." - -LangString str_msg_compat_title ${LANG_TURKISH} \ - " Vi / Vim davranışı " -LangString str_msg_compat_desc ${LANG_TURKISH} \ - "&Uyumluluk ve ek özellikler" -LangString str_msg_compat_vi ${LANG_TURKISH} \ - "Vi uyumlu" -LangString str_msg_compat_vim ${LANG_TURKISH} \ - "Vim orijinal" -LangString str_msg_compat_defaults ${LANG_TURKISH} \ - "Vim ve ek olarak bazı ek özellikler (load defaults.vim)" -LangString str_msg_compat_all ${LANG_TURKISH} \ - "Vim ve ek olarak tüm ek özellikler (load vimrc_example.vim) (Default)" - -LangString str_msg_keymap_title ${LANG_TURKISH} \ - " Klavye İşlevleri " -LangString str_msg_keymap_desc ${LANG_TURKISH} \ - "&Windows için bazı düğmeleri yeniden ayarla (Ctrl-V, Ctrl-C, Ctrl-A, Ctrl-S, Ctrl-F, etc)" -LangString str_msg_keymap_default ${LANG_TURKISH} \ - "Düğme iÅŸlevlerini deÄŸiÅŸtirme (varsayılan)" -LangString str_msg_keymap_windows ${LANG_TURKISH} \ - "Bazı düğmeleri yeniden ayarla" - -LangString str_msg_mouse_title ${LANG_TURKISH} \ - " Fare İşlevleri " -LangString str_msg_mouse_desc ${LANG_TURKISH} \ - "&SaÄŸ ve sol düğme davranışı" -LangString str_msg_mouse_default ${LANG_TURKISH} \ - "SaÄŸ: açılır menü, Sol: Görsel Kip (varsayılan)" -LangString str_msg_mouse_windows ${LANG_TURKISH} \ - "SaÄŸ: açılır menü, Sol: seçim kipi (Windows)" -LangString str_msg_mouse_unix ${LANG_TURKISH} \ - "SaÄŸ: seçimi geniÅŸlet, Sol: Görsel Kip (Unix)" diff --git a/runtime/autoload/README.txt b/runtime/autoload/README.txt index 2180a744bf..acc1bbf370 100644 --- a/runtime/autoload/README.txt +++ b/runtime/autoload/README.txt @@ -11,6 +11,8 @@ paste.vim common code for mswin.vim, menu.vim and macmap.vim spellfile.vim downloading of a missing spell file Omni completion files: +adacomplete.vim Ada +beancount.vim Beancount ccomplete.vim C csscomplete.vim HTML / CSS htmlcomplete.vim HTML diff --git a/runtime/autoload/beancount.vim b/runtime/autoload/beancount.vim new file mode 100644 index 0000000000..ca1aaf09d1 --- /dev/null +++ b/runtime/autoload/beancount.vim @@ -0,0 +1,59 @@ +" Beancount specific formatting +" Language: beancount +" Maintainer: Nathan Grigg +" Latest Revision: 2021-03-06 + +" Align currency on decimal point. +function! beancount#align_commodity(line1, line2) abort + " Save cursor position to adjust it if necessary. + let l:cursor_col = col('.') + let l:cursor_line = line('.') + + " Increment at start of loop, because of continue statements. + let l:current_line = a:line1 - 1 + while l:current_line < a:line2 + let l:current_line += 1 + let l:line = getline(l:current_line) + " This matches an account name followed by a space in one of the two + " following cases: + " - A posting line, i.e., the line starts with indentation followed + " by an optional flag and the account. + " - A balance directive, i.e., the line starts with a date followed + " by the 'balance' keyword and the account. + " - A price directive, i.e., the line starts with a date followed by + " the 'price' keyword and a currency. + let l:end_account = matchend(l:line, '\v' . + \ '^[\-/[:digit:]]+\s+balance\s+([A-Z][A-Za-z0-9\-]+)(:[A-Z0-9][A-Za-z0-9\-]*)+ ' . + \ '|^[\-/[:digit:]]+\s+price\s+\S+ ' . + \ '|^\s+([!&#?%PSTCURM]\s+)?([A-Z][A-Za-z0-9\-]+)(:[A-Z0-9][A-Za-z0-9\-]*)+ ' + \ ) + if l:end_account < 0 + continue + endif + + " Where does the number begin? + let l:begin_number = matchend(l:line, '^ *', l:end_account) + + " Look for a minus sign and a number (possibly containing commas) and + " align on the next column. + let l:separator = matchend(l:line, '^\v([-+])?[,[:digit:]]+', l:begin_number) + 1 + if l:separator < 0 | continue | endif + let l:has_spaces = l:begin_number - l:end_account + let l:need_spaces = g:beancount_separator_col - l:separator + l:has_spaces + if l:need_spaces < 0 | continue | endif + call setline(l:current_line, l:line[0 : l:end_account - 1] . repeat(' ', l:need_spaces) . l:line[ l:begin_number : -1]) + if l:current_line == l:cursor_line && l:cursor_col >= l:end_account + " Adjust cursor position for continuity. + call cursor(0, l:cursor_col + l:need_spaces - l:has_spaces) + endif + endwhile +endfunction + +" Call bean-doctor on the current line and dump output into a scratch buffer +function! beancount#get_context() abort + let l:context = system('bean-doctor context ' . shellescape(expand('%')) . ' ' . line('.')) + botright new + setlocal buftype=nofile bufhidden=hide noswapfile + call append(0, split(l:context, '\v\n')) + normal! gg +endfunction diff --git a/runtime/autoload/beancountcomplete.vim b/runtime/autoload/beancountcomplete.vim new file mode 100644 index 0000000000..4b778d30e0 --- /dev/null +++ b/runtime/autoload/beancountcomplete.vim @@ -0,0 +1,215 @@ +" Vim completion script +" Language: beancount +" Maintainer: Nathan Grigg +" Latest Revision: 2021-03-06 + +let s:using_python3 = has('python3') || has('python3/dyn') + +" Equivalent to python's startswith +" Matches based on user's ignorecase preference +function! s:startswith(string, prefix) abort + return strpart(a:string, 0, strlen(a:prefix)) == a:prefix +endfunction + +function! s:count_expression(text, expression) abort + return len(split(a:text, a:expression, 1)) - 1 +endfunction + +function! s:sort_accounts_by_depth(name1, name2) abort + let l:depth1 = s:count_expression(a:name1, ':') + let l:depth2 = s:count_expression(a:name2, ':') + return l:depth1 == l:depth2 ? 0 : l:depth1 > l:depth2 ? 1 : -1 +endfunction + +let s:directives = ['open', 'close', 'commodity', 'txn', 'balance', 'pad', 'note', 'document', 'price', 'event', 'query', 'custom'] + +" ------------------------------ +" Completion functions +" ------------------------------ +function! beancountcomplete#complete(findstart, base) abort + if a:findstart + let l:col = searchpos('\s', 'bn', line('.'))[1] + if l:col == 0 + return -1 + else + return l:col + endif + endif + + let l:partial_line = strpart(getline('.'), 0, getpos('.')[2]-1) + " Match directive types + if l:partial_line =~# '^\d\d\d\d\(-\|/\)\d\d\1\d\d $' + return beancountcomplete#complete_basic(s:directives, a:base, '') + endif + + " If we are using python3, now is a good time to load everything + call beancountcomplete#load_everything() + + " Split out the first character (for cases where we don't want to match the + " leading character: ", #, etc) + let l:first = strpart(a:base, 0, 1) + let l:rest = strpart(a:base, 1) + + if l:partial_line =~# '^\d\d\d\d\(-\|/\)\d\d\1\d\d event $' && l:first ==# '"' + return beancountcomplete#complete_basic(b:beancount_events, l:rest, '"') + endif + + let l:two_tokens = searchpos('\S\+\s', 'bn', line('.'))[1] + let l:prev_token = strpart(getline('.'), l:two_tokens, getpos('.')[2] - l:two_tokens) + " Match curriences if previous token is number + if l:prev_token =~# '^\d\+\([\.,]\d\+\)*' + call beancountcomplete#load_currencies() + return beancountcomplete#complete_basic(b:beancount_currencies, a:base, '') + endif + + if l:first ==# '#' + call beancountcomplete#load_tags() + return beancountcomplete#complete_basic(b:beancount_tags, l:rest, '#') + elseif l:first ==# '^' + call beancountcomplete#load_links() + return beancountcomplete#complete_basic(b:beancount_links, l:rest, '^') + elseif l:first ==# '"' + call beancountcomplete#load_payees() + return beancountcomplete#complete_basic(b:beancount_payees, l:rest, '"') + else + call beancountcomplete#load_accounts() + return beancountcomplete#complete_account(a:base) + endif +endfunction + +function! beancountcomplete#get_root() abort + if exists('b:beancount_root') + return b:beancount_root + endif + return expand('%') +endfunction + +function! beancountcomplete#load_everything() abort + if s:using_python3 && !exists('b:beancount_loaded') + let l:root = beancountcomplete#get_root() +python3 << EOF +import vim +from beancount import loader +from beancount.core import data + +accounts = set() +currencies = set() +events = set() +links = set() +payees = set() +tags = set() + +entries, errors, options_map = loader.load_file(vim.eval('l:root')) +for index, entry in enumerate(entries): + if isinstance(entry, data.Open): + accounts.add(entry.account) + if entry.currencies: + currencies.update(entry.currencies) + elif isinstance(entry, data.Commodity): + currencies.add(entry.currency) + elif isinstance(entry, data.Event): + events.add(entry.type) + elif isinstance(entry, data.Transaction): + if entry.tags: + tags.update(entry.tags) + if entry.links: + links.update(entry.links) + if entry.payee: + payees.add(entry.payee) + +vim.bindeval('b:')['beancount_accounts'] = sorted(accounts) +vim.bindeval('b:')['beancount_currencies'] = sorted(currencies) +vim.bindeval('b:')['beancount_events'] = sorted(events) +vim.bindeval('b:')['beancount_links'] = sorted(links) +vim.bindeval('b:')['beancount_payees'] = sorted(payees) +vim.bindeval('b:')['beancount_tags'] = sorted(tags) +vim.bindeval('b:')['beancount_loaded'] = 1 +EOF + endif +endfunction + +function! beancountcomplete#load_accounts() abort + if !s:using_python3 && !exists('b:beancount_accounts') + let l:root = beancountcomplete#get_root() + let b:beancount_accounts = beancountcomplete#query_single(l:root, 'select distinct account;') + endif +endfunction + +function! beancountcomplete#load_tags() abort + if !s:using_python3 && !exists('b:beancount_tags') + let l:root = beancountcomplete#get_root() + let b:beancount_tags = beancountcomplete#query_single(l:root, 'select distinct tags;') + endif +endfunction + +function! beancountcomplete#load_links() abort + if !s:using_python3 && !exists('b:beancount_links') + let l:root = beancountcomplete#get_root() + let b:beancount_links = beancountcomplete#query_single(l:root, 'select distinct links;') + endif +endfunction + +function! beancountcomplete#load_currencies() abort + if !s:using_python3 && !exists('b:beancount_currencies') + let l:root = beancountcomplete#get_root() + let b:beancount_currencies = beancountcomplete#query_single(l:root, 'select distinct currency;') + endif +endfunction + +function! beancountcomplete#load_payees() abort + if !s:using_python3 && !exists('b:beancount_payees') + let l:root = beancountcomplete#get_root() + let b:beancount_payees = beancountcomplete#query_single(l:root, 'select distinct payee;') + endif +endfunction + +" General completion function +function! beancountcomplete#complete_basic(input, base, prefix) abort + let l:matches = filter(copy(a:input), 's:startswith(v:val, a:base)') + + return map(l:matches, 'a:prefix . v:val') +endfunction + +" Complete account name. +function! beancountcomplete#complete_account(base) abort + if g:beancount_account_completion ==? 'chunks' + let l:pattern = '^\V' . substitute(a:base, ':', '\\[^:]\\*:', 'g') . '\[^:]\*' + else + let l:pattern = '^\V\.\*' . substitute(a:base, ':', '\\.\\*:\\.\\*', 'g') . '\.\*' + endif + + let l:matches = [] + let l:index = -1 + while 1 + let l:index = match(b:beancount_accounts, l:pattern, l:index + 1) + if l:index == -1 | break | endif + call add(l:matches, matchstr(b:beancount_accounts[l:index], l:pattern)) + endwhile + + if g:beancount_detailed_first + let l:matches = reverse(sort(l:matches, 's:sort_accounts_by_depth')) + endif + + return l:matches +endfunction + +function! beancountcomplete#query_single(root_file, query) abort + if s:using_python3 +python3 << EOF +import vim +import subprocess + +# We intentionally want to ignore stderr so it doesn't mess up our query processing +output = subprocess.check_output( + ['bean-query', vim.eval('a:root_file'), vim.eval('a:query')], + stderr=subprocess.DEVNULL, + text=True, +).splitlines() +output = output[2:] +result_list = sorted(y for y in (x.strip() for x in output) if y) +EOF + return py3eval('result_list') + else + return [] + endif +endfunction diff --git a/runtime/autoload/dist/ft.vim b/runtime/autoload/dist/ft.vim index f59d95af49..8de0176216 100644 --- a/runtime/autoload/dist/ft.vim +++ b/runtime/autoload/dist/ft.vim @@ -3,7 +3,7 @@ vim9script # Vim functions for file type detection # # Maintainer: The Vim Project -# Last Change: 2026 May 29 +# Last Change: 2026 Jun 14 # Former Maintainer: Bram Moolenaar # These functions are moved here from runtime/filetype.vim to make startup @@ -1498,14 +1498,25 @@ enddef # Determine if a *.tf file is TF mud client or terraform export def FTtf() - var numberOfLines = line('$') - for i in range(1, numberOfLines) - var currentLine = trim(getline(i)) - var firstCharacter = currentLine[0] - if firstCharacter !=? ";" && firstCharacter !=? "/" && firstCharacter !=? "" - setf terraform - return + if exists("g:filetype_tf") + exe "setf " .. g:filetype_tf + return + endif + + var continuation: bool = false + for lnum in range(1, min([line("$"), 100])) + var line = getline(lnum) + # TF supports backslash line continuation, so a continued line may begin + # with any character. Only test the first character of a line that does + # not continue a previous one. + if !continuation + var firstchar = trim(line)[0] + if firstchar !=? ";" && firstchar !=? "/" && firstchar !=? "" + setf terraform + return + endif endif + continuation = line =~ '\\$' endfor setf tf enddef diff --git a/runtime/autoload/python3complete.vim b/runtime/autoload/python3complete.vim index 0cbfc02ab9..88e3466515 100644 --- a/runtime/autoload/python3complete.vim +++ b/runtime/autoload/python3complete.vim @@ -1,8 +1,8 @@ "python3complete.vim - Omni Completion for python " Maintainer: " Previous Maintainer: Aaron Griffin -" Version: 0.9 -" Last Updated: 2022 Mar 30 +" Version: 0.10 +" Last Updated: 2026 Jun 21 " " Roland Puntaier: this file contains adaptations for python3 and is parallel to pythoncomplete.vim " @@ -17,6 +17,12 @@ " v 0.10 by Vim project " * disables importing local modules, unless the global Vim variable " g:pythoncomplete_allow_import is set to non-zero +" * strip default values and annotations from function parameter lists +" before exec(), and whitelist class base lists to dotted names: the +" previous code passed buffer-supplied expressions to exec() which +" Python evaluates at definition time, allowing arbitrary code +" execution via crafted def/class headers +" * use repr() on doc strings to prevent code execution " " v 0.9 " * Fixed docstring parsing for classes and functions @@ -100,6 +106,24 @@ warnings.simplefilter(action='ignore', category=FutureWarning) import sys, tokenize, io, types from token import NAME, DEDENT, NEWLINE, STRING +import re + +# Used by Class.get_code(): a base class expression is only included in the +# code passed to exec() if it is a pure dotted name (e.g. "Base", "mod.Base", +# "pkg.sub.Cls"). Anything containing calls, subscripts, "=", ":" or other +# operators is dropped, since exec()-ing it would evaluate buffer-supplied +# expressions. See the security note in the file header. +_DOTTED_NAME_RE = re.compile(r'^[A-Za-z_]\w*(\s*\.\s*[A-Za-z_]\w*)*$') + +def _strip_param(p): + # Return the bare parameter name from a parameter spec harvested by + # _parenparse(), discarding any default value or annotation. Default + # values and annotations would otherwise be evaluated by exec() at + # function-definition time. Star prefixes ("*args", "**kw") and bare + # "*" / "/" are preserved as written. + p = p.split('=', 1)[0] + p = p.split(':', 1)[0] + return p.strip() debugstmts=[] def dbg(s): debugstmts.append(s) @@ -315,7 +339,7 @@ class Scope(object): def get_code(self): str = "" - if len(self.docstr) > 0: str += '"""'+self.docstr+'"""\n' + if len(self.docstr) > 0: str += repr(self.docstr)+'\n' str += 'class _PyCmplNoType:\n def __getattr__(self,name):\n return None\n' for sub in self.subscopes: str += sub.get_code() @@ -350,9 +374,15 @@ class Class(Scope): return c def get_code(self): str = '%sclass %s' % (self.currentindent(),self.name) - if len(self.supers) > 0: str += '(%s)' % ','.join(self.supers) + # Only include base class expressions that are pure dotted names. + # Anything else (calls, subscripts, conditionals, ...) is dropped + # because exec() would evaluate it at class-definition time. See + # the security note in the file header. + safe_supers = [s.strip() for s in self.supers + if _DOTTED_NAME_RE.match(s.strip())] + if len(safe_supers) > 0: str += '(%s)' % ','.join(safe_supers) str += ':\n' - if len(self.docstr) > 0: str += self.childindent()+'"""'+self.docstr+'"""\n' + if len(self.docstr) > 0: str += self.childindent()+repr(self.docstr)+'\n' if len(self.subscopes) > 0: for s in self.subscopes: str += s.get_code() else: @@ -367,9 +397,15 @@ class Function(Scope): def copy_decl(self,indent=0): return Function(self.name,self.params,indent, self.docstr) def get_code(self): + # Strip default values and annotations from each parameter before + # joining: exec() evaluates these at definition time and a hostile + # buffer could otherwise execute arbitrary code via crafted def + # headers. See file header for details. + safe_params = [_strip_param(p) for p in self.params] + safe_params = [p for p in safe_params if p] str = "%sdef %s(%s):\n" % \ - (self.currentindent(),self.name,','.join(self.params)) - if len(self.docstr) > 0: str += self.childindent()+'"""'+self.docstr+'"""\n' + (self.currentindent(),self.name,','.join(safe_params)) + if len(self.docstr) > 0: str += self.childindent()+repr(self.docstr)+'\n' str += "%spass\n" % self.childindent() return str diff --git a/runtime/autoload/pythoncomplete.vim b/runtime/autoload/pythoncomplete.vim index b4340f7ae2..5dd6c9462d 100644 --- a/runtime/autoload/pythoncomplete.vim +++ b/runtime/autoload/pythoncomplete.vim @@ -1,8 +1,8 @@ "pythoncomplete.vim - Omni Completion for python " Maintainer: " Previous Maintainer: Aaron Griffin -" Version: 0.9 -" Last Updated: 2020 Oct 9 +" Version: 0.10 +" Last Updated: 2026 Jun 21 " " Changes " TODO: @@ -15,6 +15,12 @@ " v 0.10 by Vim project " * disables importing local modules, unless the global Vim variable " g:pythoncomplete_allow_import is set to non-zero +" * strip default values and annotations from function parameter lists +" before exec(), and whitelist class base lists to dotted names: the +" previous code passed buffer-supplied expressions to exec() which +" Python evaluates at definition time, allowing arbitrary code +" execution via crafted def/class headers +" * use repr() on doc strings to prevent code execution " " v 0.9 " * Fixed docstring parsing for classes and functions @@ -95,6 +101,24 @@ function! s:DefPython() python << PYTHONEOF import sys, tokenize, cStringIO, types from token import NAME, DEDENT, NEWLINE, STRING +import re + +# Used by Class.get_code(): a base class expression is only included in the +# code passed to exec() if it is a pure dotted name (e.g. "Base", "mod.Base", +# "pkg.sub.Cls"). Anything containing calls, subscripts, "=", ":" or other +# operators is dropped, since exec()-ing it would evaluate buffer-supplied +# expressions. See the security note in the file header. +_DOTTED_NAME_RE = re.compile(r'^[A-Za-z_]\w*(\s*\.\s*[A-Za-z_]\w*)*$') + +def _strip_param(p): + # Return the bare parameter name from a parameter spec harvested by + # _parenparse(), discarding any default value or annotation. Default + # values and annotations would otherwise be evaluated by exec() at + # function-definition time. Star prefixes ("*args", "**kw") and bare + # "*" / "/" are preserved as written. + p = p.split('=', 1)[0] + p = p.split(':', 1)[0] + return p.strip() debugstmts=[] def dbg(s): debugstmts.append(s) @@ -330,7 +354,7 @@ class Scope(object): def get_code(self): str = "" - if len(self.docstr) > 0: str += '"""'+self.docstr+'"""\n' + if len(self.docstr) > 0: str += repr(self.docstr)+'\n' str += 'class _PyCmplNoType:\n def __getattr__(self,name):\n return None\n' for sub in self.subscopes: str += sub.get_code() @@ -365,9 +389,15 @@ class Class(Scope): return c def get_code(self): str = '%sclass %s' % (self.currentindent(),self.name) - if len(self.supers) > 0: str += '(%s)' % ','.join(self.supers) + # Only include base class expressions that are pure dotted names. + # Anything else (calls, subscripts, conditionals, ...) is dropped + # because exec() would evaluate it at class-definition time. See + # the security note in the file header. + safe_supers = [s.strip() for s in self.supers + if _DOTTED_NAME_RE.match(s.strip())] + if len(safe_supers) > 0: str += '(%s)' % ','.join(safe_supers) str += ':\n' - if len(self.docstr) > 0: str += self.childindent()+'"""'+self.docstr+'"""\n' + if len(self.docstr) > 0: str += self.childindent()+repr(self.docstr)+'\n' if len(self.subscopes) > 0: for s in self.subscopes: str += s.get_code() else: @@ -382,9 +412,15 @@ class Function(Scope): def copy_decl(self,indent=0): return Function(self.name,self.params,indent, self.docstr) def get_code(self): + # Strip default values and annotations from each parameter before + # joining: exec() evaluates these at definition time and a hostile + # buffer could otherwise execute arbitrary code via crafted def + # headers. See file header for details. + safe_params = [_strip_param(p) for p in self.params] + safe_params = [p for p in safe_params if p] str = "%sdef %s(%s):\n" % \ - (self.currentindent(),self.name,','.join(self.params)) - if len(self.docstr) > 0: str += self.childindent()+'"""'+self.docstr+'"""\n' + (self.currentindent(),self.name,','.join(safe_params)) + if len(self.docstr) > 0: str += self.childindent()+repr(self.docstr)+'\n' str += "%spass\n" % self.childindent() return str diff --git a/runtime/autoload/tar.vim b/runtime/autoload/tar.vim index 3c899f85f6..7f8e24ac0f 100644 --- a/runtime/autoload/tar.vim +++ b/runtime/autoload/tar.vim @@ -26,6 +26,7 @@ " 2026 Apr 15 by Vim Project: fix more path traversal issues (#19981) " 2026 Apr 16 by Vim Project: use g:tar_secure in tar#Extract() " 2026 May 14 by Vim Project: use correct shellescape() call in Vimuntar() +" 2026 Jun 16 by Vim Project: fix lz4 extraction on non-linux systemd (#20555) " " Contains many ideas from Michael Toren's " @@ -129,7 +130,7 @@ let g:tar_leading_pat='\m^\%([.]\{,2\}/\)\+' fun! s:Msg(func, severity, msg) redraw! if a:severity =~? 'error' - echohl Error + echohl Error else echohl WarningMsg endif @@ -733,8 +734,10 @@ fun! tar#Extract() elseif tarball =~# "\.tlz4$" if has("linux") let extractcmd= substitute(extractcmd,"-","-I lz4 -","") + call system(extractcmd." ".shellescape(tarball)." ".g:tar_secure.shellescape(fname)) + else + call system("lz4 --decompress --stdout -- ".shellescape(tarball)." | ".extractcmd." - ".g:tar_secure.shellescape(fname)) endif - call system(extractcmd." ".shellescape(tarball)." ".g:tar_secure.shellescape(fname)) if v:shell_error != 0 call s:Msg('tar#Extract', 'error', $"{extractcmd} {tarball} {fname}: failed!") else @@ -744,8 +747,10 @@ fun! tar#Extract() elseif tarball =~# "\.tar\.lz4$" if has("linux") let extractcmd= substitute(extractcmd,"-","-I lz4 -","") + call system(extractcmd." ".shellescape(tarball)." ".g:tar_secure.shellescape(fname)) + else + call system("lz4 --decompress --stdout -- ".shellescape(tarball)." | ".extractcmd." - ".g:tar_secure.shellescape(fname)) endif - call system(extractcmd." ".shellescape(tarball)." ".g:tar_secure.shellescape(fname)) if v:shell_error != 0 call s:Msg('tar#Extract', 'error', $"{extractcmd} {tarball} {fname}: failed!") else diff --git a/runtime/autoload/zip.vim b/runtime/autoload/zip.vim index aad548239a..44bdfc6820 100644 --- a/runtime/autoload/zip.vim +++ b/runtime/autoload/zip.vim @@ -24,6 +24,7 @@ " 2026 Apr 05 by Vim Project: Detect more path traversal attacks " 2026 Apr 14 by Vim Project: Detect more path traversal attacks on Windows " 2026 Apr 15 by Vim Project: Detect more path traversal attacks on Windows +" 2026 Jun 20 by Vim Project: Fix wrong escaping for the powershell calls " License: Vim License (see vim's :help license) " Copyright: Copyright (C) 2005-2019 Charles E. Campbell {{{1 " Permission is hereby granted to use and distribute this code, @@ -51,15 +52,6 @@ let s:NOTE = 0 " --------------------------------------------------------------------- " Global Values: {{{1 -if !exists("g:zip_shq") - if &shq != "" - let g:zip_shq= &shq - elseif has("unix") - let g:zip_shq= "'" - else - let g:zip_shq= '"' - endif -endif if !exists("g:zip_zipcmd") let g:zip_zipcmd= "zip" endif @@ -135,7 +127,7 @@ function! s:ZipBrowsePS(zipfile) " Browse the contents of a zip file using PowerShell's " Equivalent `unzip -Z1 -- zipfile` let cmds = [ - \ '$zip = [System.IO.Compression.ZipFile]::OpenRead(' . s:Escape(a:zipfile, 1) . ');', + \ '$zip = [System.IO.Compression.ZipFile]::OpenRead(' . s:PSEscape(a:zipfile) . ');', \ '$zip.Entries | ForEach-Object { $_.FullName };', \ '$zip.Dispose()' \ ] @@ -149,16 +141,16 @@ function! s:ZipReadPS(zipfile, fname, tempfile) call s:Mess('WarningMsg', "***warning*** PowerShell can display, but cannot update, files in archive subfolders") endif let cmds = [ - \ '$zip = [System.IO.Compression.ZipFile]::OpenRead(' . s:Escape(a:zipfile, 1) . ');', - \ '$fileEntry = $zip.Entries | Where-Object { $_.FullName -eq ' . s:Escape(a:fname, 1) . ' };', + \ '$zip = [System.IO.Compression.ZipFile]::OpenRead(' . s:PSEscape(a:zipfile) . ');', + \ '$fileEntry = $zip.Entries | Where-Object { $_.FullName -eq ' . s:PSEscape(a:fname) . ' };', \ '$stream = $fileEntry.Open();', - \ '$fileStream = [System.IO.File]::Create(' . s:Escape(a:tempfile, 1) . ');', + \ '$fileStream = [System.IO.File]::Create(' . s:PSEscape(a:tempfile) . ');', \ '$stream.CopyTo($fileStream);', \ '$fileStream.Close();', \ '$stream.Close();', \ '$zip.Dispose()' \ ] - return 'pwsh -NoProfile -Command ' . s:Escape(join(cmds, ' '), 1) + return 'pwsh -NoProfile -Command ' . s:Escape(join(cmds, ' ')) endfunction function! s:ZipUpdatePS(zipfile, fname) @@ -168,7 +160,7 @@ function! s:ZipUpdatePS(zipfile, fname) call s:Mess('Error', "***error*** PowerShell cannot update files in archive subfolders") return ':' endif - return 'Compress-Archive -Path ' . a:fname . ' -Update -DestinationPath ' . a:zipfile + return 'Compress-Archive -Path ' . s:PSEscape(a:fname) . ' -Update -DestinationPath ' . s:PSEscape(a:zipfile) endfunction function! s:ZipExtractFilePS(zipfile, fname) @@ -179,16 +171,16 @@ function! s:ZipExtractFilePS(zipfile, fname) return ':' endif let cmds = [ - \ '$zip = [System.IO.Compression.ZipFile]::OpenRead(' . s:Escape(a:zipfile, 1) . ');', - \ '$fileEntry = $zip.Entries | Where-Object { $_.FullName -eq ' . a:fname . ' };', + \ '$zip = [System.IO.Compression.ZipFile]::OpenRead(' . s:PSEscape(a:zipfile) . ');', + \ '$fileEntry = $zip.Entries | Where-Object { $_.FullName -eq ' . s:PSEscape(a:fname) . ' };', \ '$stream = $fileEntry.Open();', - \ '$fileStream = [System.IO.File]::Create(' . a:fname . ');', + \ '$fileStream = [System.IO.File]::Create(' . s:PSEscape(a:fname) . ');', \ '$stream.CopyTo($fileStream);', \ '$fileStream.Close();', \ '$stream.Close();', \ '$zip.Dispose()' \ ] - return 'pwsh -NoProfile -Command ' . s:Escape(join(cmds, ' '), 1) + return 'pwsh -NoProfile -Command ' . s:Escape(join(cmds, ' ')) endfunction function! s:ZipDeleteFilePS(zipfile, fname) @@ -196,12 +188,12 @@ function! s:ZipDeleteFilePS(zipfile, fname) " Equivalent to `zip -d zipfile fname` let cmds = [ \ 'Add-Type -AssemblyName System.IO.Compression.FileSystem;', - \ '$zip = [System.IO.Compression.ZipFile]::Open(' . s:Escape(a:zipfile, 1) . ', ''Update'');', - \ '$entry = $zip.Entries | Where-Object { $_.Name -eq ' . s:Escape(a:fname, 1) . ' };', + \ '$zip = [System.IO.Compression.ZipFile]::Open(' . s:PSEscape(a:zipfile) . ', ''Update'');', + \ '$entry = $zip.Entries | Where-Object { $_.Name -eq ' . s:PSEscape(a:fname) . ' };', \ 'if ($entry) { $entry.Delete(); $zip.Dispose() }', \ 'else { $zip.Dispose() }' \ ] - return 'pwsh -NoProfile -Command ' . s:Escape(join(cmds, ' '), 1) + return 'pwsh -NoProfile -Command ' . s:Escape(join(cmds, ' ')) endfunction " ---------------- @@ -341,9 +333,9 @@ fun! zip#Read(fname,mode) let temp = tempname() let fn = expand('%:p') - let gnu_cmd = g:zip_unzipcmd . ' -p -- ' . s:Escape(zipfile, 0) . ' ' . s:Escape(fname, 0) . ' > ' . s:Escape(temp, 0) - let gnu_cmd = 'call system(''' . substitute(gnu_cmd, "'", "''", 'g') . ''')' - let ps_cmd = 'sil !' . s:ZipReadPS(zipfile, fname, temp) + let gnu_cmd = g:zip_unzipcmd . ' -p -- ' . s:Escape(zipfile) . ' ' . s:Escape(fname) . ' > ' . s:Escape(temp) + let gnu_cmd = 'call system(' . string(gnu_cmd) . ')' + let ps_cmd = 'call system(' . string(s:ZipReadPS(zipfile, fname, temp)) . ')' call s:TryExecGnuFallBackToPs(g:zip_unzipcmd, gnu_cmd, ps_cmd) sil exe 'keepalt file '.temp @@ -415,9 +407,9 @@ fun! zip#Write(fname) endif endif if fname =~ '^[.]\{1,2}/' - let gnu_cmd = g:zip_zipcmd . ' -d ' . s:Escape(fnamemodify(zipfile,":p"),0) . ' ' . s:Escape(fname,0) - let gnu_cmd = 'call system(''' . substitute(gnu_cmd, "'", "''", 'g') . ''')' - let ps_cmd = $"call system({s:Escape(s:ZipDeleteFilePS(zipfile, fname), 1)})" + let gnu_cmd = g:zip_zipcmd . ' -d ' . s:Escape(fnamemodify(zipfile,":p")) . ' ' . s:Escape(fname) + let gnu_cmd = 'call system(' . string(gnu_cmd) . ')' + let ps_cmd = $"call system({string(s:ZipDeleteFilePS(zipfile, fname))})" call s:TryExecGnuFallBackToPs(g:zip_zipcmd, gnu_cmd, ps_cmd) let fname = fname->substitute('^\([.]\{1,2}/\)\+', '', 'g') let need_rename = 1 @@ -426,7 +418,7 @@ fun! zip#Write(fname) if fname =~ '/' let dirpath = substitute(fname,'/[^/]\+$','','e') if has("win32unix") && executable("cygpath") - let dirpath = substitute(system("cygpath ".s:Escape(dirpath,0)),'\n','','e') + let dirpath = substitute(system("cygpath ".s:Escape(dirpath)),'\n','','e') endif call mkdir(dirpath,"p") endif @@ -437,16 +429,17 @@ fun! zip#Write(fname) " don't overwrite files forcefully exe "w ".fnameescape(fname) if has("win32unix") && executable("cygpath") - let zipfile = substitute(system("cygpath ".s:Escape(zipfile,0)),'\n','','e') + let zipfile = substitute(system("cygpath ".s:Escape(zipfile)),'\n','','e') endif if (has("win32") || has("win95") || has("win64") || has("win16")) && &shell !~? 'sh$' let fname = substitute(fname, '[', '[[]', 'g') endif - let gnu_cmd = g:zip_zipcmd . ' -u '. s:Escape(fnamemodify(zipfile,":p"),0) . ' ' . s:Escape(fname,0) + let gnu_cmd = g:zip_zipcmd . ' -u '. s:Escape(fnamemodify(zipfile,":p")) . ' ' . s:Escape(fname) let gnu_cmd = 'call system(''' . substitute(gnu_cmd, "'", "''", 'g') . ''')' - let ps_cmd = s:ZipUpdatePS(s:Escape(fnamemodify(zipfile, ':p'), 0), s:Escape(fname, 0)) + let zip = fnamemodify(zipfile, ':p') + let ps_cmd = s:ZipUpdatePS(zip, fname) let ps_cmd = 'call system(''' . substitute(ps_cmd, "'", "''", 'g') . ''')' call s:TryExecGnuFallBackToPs(g:zip_zipcmd, gnu_cmd, ps_cmd) if &shell =~ 'pwsh' @@ -541,8 +534,8 @@ fun! zip#Extract() " extract the file mentioned under the cursor let gnu_cmd = g:zip_extractcmd . ' -o '. shellescape(b:zipfile) . ' ' . target - let gnu_cmd = 'call system(''' . substitute(gnu_cmd, "'", "''", 'g') . ''')' - let ps_cmd = $"call system({s:Escape(s:ZipExtractFilePS(b:zipfile, target), 1)})" + let gnu_cmd = 'call system(' . string(gnu_cmd) . ')' + let ps_cmd = 'call system(' . string(s:ZipExtractFilePS(b:zipfile, fname)) . ')' call s:TryExecGnuFallBackToPs(g:zip_extractcmd, gnu_cmd, ps_cmd) if v:shell_error != 0 @@ -556,19 +549,20 @@ endfun " --------------------------------------------------------------------- " s:Escape: {{{2 -fun! s:Escape(fname,isfilt) - if exists("*shellescape") - if a:isfilt - let qnameq= shellescape(a:fname,1) - else - let qnameq= shellescape(a:fname) - endif +fun! s:Escape(fname, isfilt = 0) + if a:isfilt + let qnameq = shellescape(a:fname, 1) else - let qnameq= g:zip_shq.escape(a:fname,g:zip_shq).g:zip_shq + let qnameq = shellescape(a:fname) endif return qnameq endfun +" s:PSEscape: Escape a string for Powershell, shellescape() does not work here {{{2 +fun! s:PSEscape(str) + return "'" .. substitute(a:str, "'", "''", 'g') .. "'" +endfun + " --------------------------------------------------------------------- " s:ChgDir: {{{2 fun! s:ChgDir(newdir,errlvl,errmsg) diff --git a/runtime/compiler/bean_check.vim b/runtime/compiler/bean_check.vim new file mode 100644 index 0000000000..45f6b0b4d2 --- /dev/null +++ b/runtime/compiler/bean_check.vim @@ -0,0 +1,22 @@ +" Vim compiler file +" Compiler: bean-check +" Maintainer: Nathan Grigg +" Latest Revision: 2017-03-20 + +if exists('g:current_compiler') + finish +endif +let g:current_compiler = 'bean_check' + +let s:cpo_save = &cpoptions +set cpoptions-=C + +CompilerSet makeprg=bean-check\ % +" File:line: message +" Skip blank lines and indented lines. +CompilerSet errorformat=%-G +CompilerSet errorformat+=%f:%l:\ %m +CompilerSet errorformat+=%-G\ %.%# + +let &cpoptions = s:cpo_save +unlet s:cpo_save diff --git a/runtime/doc/builtin.txt b/runtime/doc/builtin.txt index 9662e8928a..af88740762 100644 --- a/runtime/doc/builtin.txt +++ b/runtime/doc/builtin.txt @@ -1,4 +1,4 @@ -*builtin.txt* For Vim version 9.2. Last change: 2026 May 31 +*builtin.txt* For Vim version 9.2. Last change: 2026 Jun 17 VIM REFERENCE MANUAL by Bram Moolenaar @@ -231,6 +231,7 @@ garbagecollect([{atexit}]) none free memory, breaking cyclic get({list}, {idx} [, {def}]) any get item {idx} from {list} or {def} get({dict}, {key} [, {def}]) any get item {key} from {dict} or {def} get({func}, {what}) any get property of funcref/partial {func} +getbgcolor() List get background colour as [r, g, b] getbufinfo([{buf}]) List information about buffers getbufline({buf}, {lnum} [, {end}]) List lines {lnum} to {end} of buffer {buf} @@ -1987,6 +1988,14 @@ complete({startcol}, {matches}) *complete()* *E785* The match can be selected with CTRL-N and CTRL-P as usual with Insert mode completion. The popup menu will appear if specified, see |ins-completion-menu|. + Unlike with other |ins-completion| modes, the CTRL-N and + CTRL-P keys can be mapped while this completion is active. + For example, to make CTRL-N move the selection without + inserting the match: > + + inoremap complete_info().mode ==# 'eval' + \ ? '' : '' +< Example (using legacy Vim script): > @@ -4036,6 +4045,25 @@ getbufvar({buf}, {varname} [, {def}]) *getbufvar()* Return type: any, depending on {varname} +getbgcolor() *getbgcolor()* + Returns a |List| describing the current background colour as + [red, green, blue], each component in the range 0..255. + + In the GUI (or with 'termguicolors' set) the value comes from + the |hl-Normal| highlight group's background. In a terminal + it comes from the OSC 11 response (also available as + |v:termrbgresp|). + Returns [] when no value is available, e.g. before the + terminal has answered the OSC 11 query, or when |hl-Normal| + has no background colour set. + + Useful when manually crafting RGB image data and you want to + flatten alpha onto the same colour the terminal will actually + display behind the image. + + Return type: list + + getcellpixels() *getcellpixels()* Returns a |List| of terminal cell pixel size. List format is [xpixel, ypixel]. @@ -7553,15 +7581,15 @@ matchfuzzy({list}, {str} [, {dict}]) *matchfuzzy()* use for fuzzy matching. {str} is treated as a literal string and regular expression - matching is NOT supported. The maximum supported {str} length - is 256. + matching is NOT supported. Only the first 1024 characters of + {str} and of each item in {list} are used for matching; + characters beyond that are ignored. When {str} has multiple words each separated by white space, then the list of strings that have all the words is returned. If there are no matching strings or there is an error, then an - empty list is returned. If length of {str} is greater than - 256, then returns an empty list. + empty list is returned. When {limit} is given, matchfuzzy() will find up to this number of matches in {list} and return them in sorted order. @@ -13306,6 +13334,14 @@ hangul_input Compiled with Hangul input support. |hangul| hpux HP-UX version of Vim. hurd GNU/Hurd version of Vim iconv Can use iconv() for conversion. +image Compiled with the popup window "image" attribute. + See |popup-image|. +image_cairo Compiled with the Cairo image backend (GTK2 and GTK3 GUI). +image_gdi Compiled with the GDI image backend (Windows GUI). +image_gdk Compiled with the GDK image backend (GTK4 GUI). +image_kitty Compiled with the kitty graphics protocol image backend + (terminal). +image_sixel Compiled with the DEC sixel image backend (terminal). insert_expand Compiled with support for CTRL-X expansion commands in Insert mode. (always true) job Compiled with support for |channel| and |job| diff --git a/runtime/doc/change.txt b/runtime/doc/change.txt index ead590a5da..32cbc06248 100644 --- a/runtime/doc/change.txt +++ b/runtime/doc/change.txt @@ -1,4 +1,4 @@ -*change.txt* For Vim version 9.2. Last change: 2026 May 31 +*change.txt* For Vim version 9.2. Last change: 2026 Jun 18 VIM REFERENCE MANUAL by Bram Moolenaar @@ -1334,19 +1334,19 @@ and ":put" commands and with CTRL-R. feature} *quote_#* *quote#* 6. Alternate file register "# -Contains the name of the alternate file for the current window. It will -change how the |CTRL-^| command works. -This register is writable, mainly to allow for restoring it after a plugin has -changed it. It accepts buffer number: > - let altbuf = bufnr(@#) - ... - let @# = altbuf -It will give error |E86| if you pass buffer number and this buffer does not -exist. -It can also accept a match with an existing buffer name: > +Contains the |alternate-file| name for current window +This register is writeable and changes which buffer CTRL-^ enters. +A String is matched against existing buffer names, like |:buffer|: > let @# = 'buffer_name' -Error |E93| if there is more than one buffer matching the given name or |E94| -if none of buffers matches the given name. +Also supports using buffer number and |file-pattern|. + +Throws + |E86| when the buffer number does not exist + |E93| when more than one buffer matches + |E94| when none match + +Clear the register with empty String: > + let @# = '' 7. Expression register "= *quote_=* *quote=* *@=* This is not really a register that stores text, but is a way to use an diff --git a/runtime/doc/filetype.txt b/runtime/doc/filetype.txt index a9a0e92203..73ce826c19 100644 --- a/runtime/doc/filetype.txt +++ b/runtime/doc/filetype.txt @@ -1,4 +1,4 @@ -*filetype.txt* For Vim version 9.2. Last change: 2026 May 29 +*filetype.txt* For Vim version 9.2. Last change: 2026 Jun 18 VIM REFERENCE MANUAL by Bram Moolenaar @@ -183,6 +183,7 @@ variables can be used to overrule the filetype used for certain extensions: *.sys g:filetype_sys *.sh g:bash_is_sh |ft-sh-syntax| *.tex g:tex_flavor |ft-tex-plugin| + *.tf g:filetype_tf *.typ g:filetype_typ *.v g:filetype_v *.w g:filetype_w |ft-cweb-syntax| @@ -482,6 +483,61 @@ Support for features specific to GNU Awk, like @include, can be enabled by setting: > :let g:awk_is_gawk = 1 +BEANCOUNT *ft-beancount-plugin* + +Beancount omni-completion |compl-omni| is provided by beancountcomplete.vim, +if enabled with g:beancount_completion_enable. + +To enable completion of account names, set: > + let g:beancount_completion_enable = 1 +< +Note: Enabling this may cause beancount to load additional plugin files. Only +enable for code you trust. + +Variables: +g:beancount_account_completion + Specify the completion pattern format for the account + name. Can be either "default" or "chunks". + Default value: "default" + +g:beancount_completion_enable + Enable omni-completion |compl-omni| for accounts. + Default value: 0 + +g:beancount_detailed_first + If non-zero, accounts higher down the hierarchy will + be listed first as completions. + Default value: 0 + +g:beancount_separator_col + The column that the decimal separator is aligned to. + Default value: 50 + +b:beancount_root + Set the root Beancount file. This is used to gather + values for the completion. + If not set (default), the current file will be used. + + +Commands: +:AlignCommodity Adds spaces between an account and commodity so that + the decimal points of the commodities all occur in the + column given by g:beancount_separator_col. If an + amount has no decimal point, the imaginary decimal + point to the right of the least significant digit will + align. + + The command acts on a range, with the default being + the current line. If the cursor happens to be inside + that range and to the right of the account name, the + cursor will be pushed to the right the appropriate + amount, so that it remains on the same character. + + The script assumes the use of spaces for alignment. + It does not understand tabs. + +:GetContext Uses bean-doctor context to display the context of the + current line. CHANGELOG *ft-changelog-plugin* @@ -834,6 +890,12 @@ For example, to use Lua 5.1, set the variables like this: > let g:lua_version = 5 let g:lua_subversion = 1 < +LUAU *ft-luau-plugin* *g:luau_folding* + +You can enable folding of Luau block constructs using |fold-expr| by: > + + let g:luau_folding = 1 +< MAIL *ft-mail-plugin* Options: diff --git a/runtime/doc/gui_x11.txt b/runtime/doc/gui_x11.txt index c0a0794bd6..c35cf50ecc 100644 --- a/runtime/doc/gui_x11.txt +++ b/runtime/doc/gui_x11.txt @@ -1,4 +1,4 @@ -*gui_x11.txt* For Vim version 9.2. Last change: 2026 Feb 14 +*gui_x11.txt* For Vim version 9.2. Last change: 2026 Jun 13 VIM REFERENCE MANUAL by Bram Moolenaar @@ -365,6 +365,24 @@ for more information. If you are using GTK3 and Vim appears to be slow, try setting the environment variable $GDK_RENDERING to "image". + *gtk4-slow* +If the GTK4 GUI is slow, freezes, or does not accept keyboard input right +after startup, it may be caused by the OpenGL renderer or GPU driver. Try +starting gvim with one of the following environment variables. Setting +$GSK_RENDERER to "cairo" disables the GSK OpenGL renderer. Setting +$LIBGL_ALWAYS_SOFTWARE to "true" retains the OpenGL renderer but forces Mesa +to use software rendering: > + + $ GSK_RENDERER=cairo gvim + $ LIBGL_ALWAYS_SOFTWARE=true gvim +< + *gtk4-hwaccel* +If Vim is compiled with the configure option "--enable-gtk4-hwaccel" set, then +the GTK4 GUI will use GtkSnapshot instead of Cairo, allowing for hardware +accelerated rendering, which is much faster. Enabling this configure option +also makes the GTK4 GUI use |+image_gdk| instead of |+image_cairo| for +rendering popup window images. Note that this feature is currently +experimental. Tooltip Colors ~ *gtk-tooltip-colors* diff --git a/runtime/doc/insert.txt b/runtime/doc/insert.txt index 13f2d89a2d..688d65fb3f 100644 --- a/runtime/doc/insert.txt +++ b/runtime/doc/insert.txt @@ -1,4 +1,4 @@ -*insert.txt* For Vim version 9.2. Last change: 2026 Jun 02 +*insert.txt* For Vim version 9.2. Last change: 2026 Jun 13 VIM REFERENCE MANUAL by Bram Moolenaar @@ -690,7 +690,8 @@ When the popup menu is displayed there are a few more special keys, see Note: The keys that are valid in CTRL-X mode are not mapped. This allows for `:map ` to work (assuming "<" is not in 'cpo'). The key that ends CTRL-X mode (any key that is not a valid CTRL-X mode command) is mapped. -Also, when doing completion with 'complete' mappings apply as usual. +Also, when doing completion with 'complete' or when completion was started +with |complete()| mappings apply as usual. *E565* Note: While completion is active Insert mode can't be used recursively and @@ -1449,6 +1450,22 @@ CTRL-E End completion, go back to what was there before selecting a insert it. Select the next match, as if CTRL-N was used, but don't insert it. +CTRL-SHIFT- + Scroll the info popup up one line, when it is shown, see + |complete-popup|. + Note: these CTRL-SHIFT keys need the GUI or a terminal that + reports key modifiers; the Linux console does not. +CTRL-SHIFT- + Scroll the info popup down one line. +CTRL-SHIFT- + Scroll the info popup up one page. +CTRL-SHIFT- + Scroll the info popup down one page. +CTRL-SHIFT-P Like CTRL-SHIFT-, scroll the info popup up one line. +CTRL-SHIFT-N Like CTRL-SHIFT-, scroll the info popup down one line. + Note: CTRL-SHIFT-N and CTRL-SHIFT-P additionally need the + terminal to report modifiers for letter keys, see + |modifyOtherKeys|. or Stop completion without changing the match and insert the typed character. diff --git a/runtime/doc/map.txt b/runtime/doc/map.txt index 38de46c657..98b3819908 100644 --- a/runtime/doc/map.txt +++ b/runtime/doc/map.txt @@ -1,4 +1,4 @@ -*map.txt* For Vim version 9.2. Last change: 2026 May 23 +*map.txt* For Vim version 9.2. Last change: 2026 Jun 13 VIM REFERENCE MANUAL by Bram Moolenaar @@ -1620,6 +1620,11 @@ Completing ":MyCmd2 two va" will complete with: > :MyCmd2 two values +Use -nargs=_ when the whole argument area should be taken as a single value +as-is. When you need several arguments and an individual argument may itself +contain spaces (so the splitter must keep running), use -nargs=+/* together +with |:command-completeopt| (-completeopt=escape) instead. + Note that arguments are used as text, not as expressions. Specifically, "s:var" will use the script-local variable in the script where the command was @@ -1758,6 +1763,50 @@ the 'path' option: > < This example does not work for file names with spaces! + *:command-completeopt* +For the "custom" and "customlist" types you can further opt into specific +behaviors with the -completeopt= attribute. It takes a comma-separated list +of option names; currently only "escape" is recognized: + + -completeopt=escape + The completion function may return matches containing spaces, + tabs or backslashes. When such a match is inserted into the + command line each space, tab and backslash is preceded by a + backslash so the value is preserved as a single argument. The + unescaped form is used for display (popup menu / wildmenu / + |getcompletion()|). The ArgLead passed to the completion + function is also unescaped: when the user types + `:Cmd foo\ b` the function is called with `foo b`, not + `foo\ b` . In the command's replacement text || and + || likewise yield the unescaped value. + +Example: > + :func MyComplete(ArgLead, CmdLine, CursorPos) + : return filter(['hello world', 'good morning'], + : \ {_, v -> stridx(v, a:ArgLead) ==# 0}) + :endfunc + :com! -nargs=1 -complete=customlist,MyComplete -completeopt=escape MyCmd + \ echo +< +After `:MyCmd ` the popup shows `hello world` and `good morning`. Typing +`:MyCmd hello\ w` calls MyComplete with ArgLead set to `hello w` (the +backslash before the space is removed), the filter finds `hello world`, and +`` inserts it as `:MyCmd hello\ world`. `` then evaluates to the +logical `hello world`. + +Without -completeopt=escape the literal string `hello world` would be inserted +into the command line, so Vim's argument splitter would treat it as two +arguments. + +-completeopt=escape and -nargs=_ (see |:command-nargs|) target different +shapes; they are not competing solutions for the same one: + "whole line as one argument, no escaping" + use -nargs=_ + "multiple arguments, each may contain spaces" + use -nargs=+ or -nargs=* with -completeopt=escape +Because -nargs=_ disables the argument splitter, escaping has no effect there, +so combining -nargs=_ with -completeopt=escape is an error (E1579). + Range handling ~ *E177* *E178* *:command-range* *:command-count* diff --git a/runtime/doc/motion.txt b/runtime/doc/motion.txt index 600ce647c5..a78ee204e5 100644 --- a/runtime/doc/motion.txt +++ b/runtime/doc/motion.txt @@ -1,4 +1,4 @@ -*motion.txt* For Vim version 9.2. Last change: 2026 Feb 14 +*motion.txt* For Vim version 9.2. Last change: 2026 Jun 13 VIM REFERENCE MANUAL by Bram Moolenaar @@ -1294,9 +1294,13 @@ remembered. quotes). Note that this works fine for C, but not for Perl, where single quotes are used for strings. - Nothing special is done for matches in comments. You - can either use the matchit plugin |matchit-install| or - put quotes around matches. + When in addition 'comments' defines C-style "//" or + "/*" comments, parens and braces inside such comments + are skipped, like the |=| operator does. This does + not happen when the cursor is inside a comment, so a + match inside that comment can still be found. + Otherwise you can use the matchit plugin + |matchit-install| or put quotes around matches. No count is allowed, {count}% jumps to a line {count} percentage down the file |N%|. Using '%' on diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index cca9ab13b4..97d8a409ac 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -1,4 +1,4 @@ -*options.txt* For Vim version 9.2. Last change: 2026 May 25 +*options.txt* For Vim version 9.2. Last change: 2026 Jun 17 VIM REFERENCE MANUAL by Bram Moolenaar @@ -9835,7 +9835,8 @@ A jump table for the options with a short description can be found at |Q_op|. icons Toolbar buttons are shown with icons. text Toolbar buttons shown with text. horiz Icon and text of a toolbar button are - horizontally arranged. {only in GTK+ 2 GUI} + horizontally arranged. + {only in GTK+ 2 and GTK 4 GUI} tooltips Tooltips are active for toolbar buttons. Tooltips refer to the popup help text which appears after the mouse cursor is placed over a toolbar button for a brief moment. @@ -10672,7 +10673,11 @@ A jump table for the options with a short description can be found at |Q_op|. is not supported for file and directory names and instead wildcard expansion is used. pum Display the completion matches using the popup menu in - the same style as the |ins-completion-menu|. + the same style as the |ins-completion-menu|. When an + info popup is shown next to the menu, it can be + scrolled by moving the mouse pointer on top of it and + using the scroll wheel, or with the keyboard like in + Insert mode completion, see |popupmenu-keys|. tagfile When using CTRL-D to list matching tags, the kind of tag and the file of the tag is listed. Only one match is displayed per line. Often used tag kinds are: diff --git a/runtime/doc/pi_zip.txt b/runtime/doc/pi_zip.txt index 81275b24ec..dc462cfefc 100644 --- a/runtime/doc/pi_zip.txt +++ b/runtime/doc/pi_zip.txt @@ -1,4 +1,4 @@ -*pi_zip.txt* For Vim version 9.2. Last change: 2026 May 16 +*pi_zip.txt* For Vim version 9.2. Last change: 2026 Jun 20 +====================+ | Zip File Interface | @@ -48,16 +48,6 @@ Copyright: Copyright (C) 2005-2015 Charles E Campbell *zip-copyright* If this variable exists and is true, the file window will not be automatically maximized when opened. - *g:zip_shq* - Different operating systems may use one or more shells to execute - commands. Zip will try to guess the correct quoting mechanism to - allow spaces and whatnot in filenames; however, if it is incorrectly - guessing the quote to use for your setup, you may use > - g:zip_shq -< which by default is a single quote under Unix (') and a double quote - under Windows ("). If you'd rather have no quotes, simply set - g:zip_shq to the empty string (let g:zip_shq= "") in your <.vimrc>. - *g:zip_unzipcmd* Use this option to specify the program which does the duty of "unzip". It's used during browsing. By default: > diff --git a/runtime/doc/popup.txt b/runtime/doc/popup.txt index 2e91244778..ef3310638c 100644 --- a/runtime/doc/popup.txt +++ b/runtime/doc/popup.txt @@ -1,4 +1,4 @@ -*popup.txt* For Vim version 9.2. Last change: 2026 May 17 +*popup.txt* For Vim version 9.2. Last change: 2026 Jun 17 VIM REFERENCE MANUAL by Bram Moolenaar @@ -23,6 +23,7 @@ Displaying text in a popup window. *popup* *popup-window* *popupwin* Popup scrollbar |popup-scrollbar| Popup opacity |popup-opacity| Popup mask |popup-mask| + Popup image |popup-image| 4. Examples |popup-examples| @@ -798,6 +799,18 @@ The second argument of |popup_create()| is a dictionary with options: underlying text, making it partially transparent. Requires 'termguicolors' to be set. Also see |popup-opacity|. + image Dictionary describing a raw RGB or RGBA pixel buffer + to render inside the popup. When set the popup + auto-sizes its cell box from the image's pixel + dimensions, so "minwidth" / "minheight" / "maxwidth" / + "maxheight" do not need to be set by hand. Keys: + data |Blob| of bytes; length must equal + width*height*3 (RGB) or width*height*4 + (RGBA). + width image width in pixels. + height image height in pixels. + Use an empty dictionary to remove a previously set + image. See |popup-image|. padding List with numbers, defining the padding above/right/below/left of the popup (similar to CSS). An empty list uses a padding of 1 all around. The @@ -1155,6 +1168,77 @@ For example, to make the last 10 columns of the last line transparent: To make the four corners transparent: [[1, 1, 1, 1], [-1, -1, 1, 1], [1, 1, -1, -1], [-1, -1, -1, -1]] +POPUP IMAGE *popup-image* + +A popup window can render an image instead of (or on top of) text by passing +an "image" dictionary to |popup_create()| or |popup_setoptions()|. The caller +supplies an already-decoded raw pixel buffer and Vim emits it through +whichever backend is available at runtime: + + sixel DEC sixel DCS sequence on a sixel-capable terminal. + |+image_sixel|. Detected automatically; the buffer is also + cropped one cell above the screen edge to avoid sixel-induced + terminal scrolling. + kitty kitty graphics protocol APC sequence on terminals that support it + (kitty, ghostty, WezTerm, Konsole, ...). |+image_kitty|. + Detected by actively querying the terminal. + GDI StretchDIBits onto the GUI canvas on the MS-Windows GUI. + |+image_gdi|. + Cairo composite onto a cairo_image_surface_t on the GTK GUI + (covers GTK 2 and GTK 3). |+image_cairo|. + GDK Use GdkTexture, which uploads the image onto the GPU for faster + rendering (only for GTK 4). |+image_gdk| + +Vim itself does NOT link against libpng, libjpeg, libwebp or any image +decoder. Format decoding is left to the caller, who can pipe the file through +any external tool (GraphicsMagick, ImageMagick, ffmpeg, a custom converter, +...) and pass the resulting bytes via a |Blob|. + +The "image" dictionary accepts: + data |Blob| of bytes. Length must equal width*height*3 for RGB, + or width*height*4 for RGBA. RGBA buffers are alpha-composited + over the popup's background. + width image width in pixels. + height image height in pixels. + +The popup's cell box is derived from the pixel dimensions and the terminal / +GUI cell metrics, so the caller does not normally have to set "minwidth" / +"minheight" / "maxwidth" / "maxheight". + +For RGBA buffers that need to blend cleanly into the editor's actual backdrop +the script can call |getbgcolor()| to obtain the current background colour as +[r, g, b] and pre-composite anti-aliased edges against it. + +Minimal RGB example - a 4x4 red square popped at the cursor: > + let pixels = repeat([0xff, 0x00, 0x00], 4 * 4)->list2blob() + call popup_create('', #{ + \ image: #{ data: pixels, width: 4, height: 4 }, + \ line: 'cursor+1', col: 'cursor', + \ }) + +Real-world example - pipe a PNG through GraphicsMagick and pop the resulting +raw RGB bytes: > + let png = 'cat.png' + let dim = split(system('gm identify -format "%w %h" ' + \ .. shellescape(png))) + let [w, h] = [str2nr(dim[0]), str2nr(dim[1])] + call system('gm convert ' .. shellescape(png) + \ .. ' -depth 8 rgb:/tmp/cat.rgb') + let blob = readblob('/tmp/cat.rgb') + call popup_create('', #{ + \ image: #{ data: blob, width: w, height: h }, + \ line: 1, col: 1, border: [], padding: [0, 0, 0, 0], + \ }) + +The image can be replaced at runtime via |popup_setoptions()|. When the new +buffer has the same width and height as the current one the pixels are swapped +in place, which is fast enough to drive frame-by-frame animation from a +|timer|. |popup_getoptions()| returns the same dictionary back; the "data" +entry is a fresh blob copy independent of the popup's internal buffer. + +To remove a previously set image pass an empty dictionary: > + call popup_setoptions(winid, #{image: {}}) + ============================================================================== 4. Examples *popup-examples* diff --git a/runtime/doc/remote.txt b/runtime/doc/remote.txt index 24f3ee9ca2..dff85b7e40 100644 --- a/runtime/doc/remote.txt +++ b/runtime/doc/remote.txt @@ -1,4 +1,4 @@ -*remote.txt* For Vim version 9.2. Last change: 2026 Feb 14 +*remote.txt* For Vim version 9.2. Last change: 2026 Jun 05 VIM REFERENCE MANUAL by Bram Moolenaar @@ -81,11 +81,17 @@ The following command line arguments are available: --clientserver {method} Use the specified method {method} as the backend for clientserver functionality. Can either be "socket", "x11", or "mswin". + *$VIM_CLIENTSERVER* + If the "$VIM_CLIENTSERVER" environment + variable is set, then Vim will interpret the + value just like the --clientserver argument. + If it is set and --clientserver is provided in + the command line, then --clientserver takes + priority. {only available when compiled with both |+X11| and |+socketserver| features, or |+socketserver| on MS-Windows} - Examples ~ Edit "file.txt" in an already running GVIM server: > diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt index 55d51270c1..f56a833de8 100644 --- a/runtime/doc/syntax.txt +++ b/runtime/doc/syntax.txt @@ -1,4 +1,4 @@ -*syntax.txt* For Vim version 9.2. Last change: 2026 Jun 01 +*syntax.txt* For Vim version 9.2. Last change: 2026 Jun 21 VIM REFERENCE MANUAL by Bram Moolenaar @@ -1261,6 +1261,7 @@ cpp_no_cpp14 don't highlight C++14 standard items cpp_no_cpp17 don't highlight C++17 standard items cpp_no_cpp20 don't highlight C++20 standard items cpp_no_cpp23 don't highlight C++23 standard items +cpp_no_cpp26 don't highlight C++26 standard items CSH *csh.vim* *ft-csh-syntax* diff --git a/runtime/doc/tags b/runtime/doc/tags index fd1d18024d..edeb9941ff 100644 --- a/runtime/doc/tags +++ b/runtime/doc/tags @@ -13,6 +13,7 @@ $NoDefaultCurrentDirectoryInExePath builtin.txt /*$NoDefaultCurrentDirectoryInEx $VIM starting.txt /*$VIM* $VIM-use version5.txt /*$VIM-use* $VIMRUNTIME starting.txt /*$VIMRUNTIME* +$VIM_CLIENTSERVER remote.txt /*$VIM_CLIENTSERVER* $VIM_POSIX vi_diff.txt /*$VIM_POSIX* $XDG_CONFIG_HOME starting.txt /*$XDG_CONFIG_HOME* $quote eval.txt /*$quote* @@ -1490,6 +1491,12 @@ $quote eval.txt /*$quote* +hangul_input various.txt /*+hangul_input* +iconv various.txt /*+iconv* +iconv/dyn various.txt /*+iconv\/dyn* ++image various.txt /*+image* ++image_cairo various.txt /*+image_cairo* ++image_gdi various.txt /*+image_gdi* ++image_gdk various.txt /*+image_gdk* ++image_kitty various.txt /*+image_kitty* ++image_sixel various.txt /*+image_sixel* +insert_expand various.txt /*+insert_expand* +ipv6 various.txt /*+ipv6* +job various.txt /*+job* @@ -2541,6 +2548,7 @@ $quote eval.txt /*$quote* :command-bar map.txt /*:command-bar* :command-buffer map.txt /*:command-buffer* :command-complete map.txt /*:command-complete* +:command-completeopt map.txt /*:command-completeopt* :command-completion map.txt /*:command-completion* :command-completion-custom map.txt /*:command-completion-custom* :command-completion-customlist map.txt /*:command-completion-customlist* @@ -7642,6 +7650,7 @@ ft-asy-syntax syntax.txt /*ft-asy-syntax* ft-awk-plugin filetype.txt /*ft-awk-plugin* ft-bash-syntax syntax.txt /*ft-bash-syntax* ft-basic-syntax syntax.txt /*ft-basic-syntax* +ft-beancount-plugin filetype.txt /*ft-beancount-plugin* ft-c-omni insert.txt /*ft-c-omni* ft-c-syntax syntax.txt /*ft-c-syntax* ft-cangjie-syntax syntax.txt /*ft-cangjie-syntax* @@ -7730,6 +7739,7 @@ ft-log-syntax syntax.txt /*ft-log-syntax* ft-lpc-syntax syntax.txt /*ft-lpc-syntax* ft-lua-plugin filetype.txt /*ft-lua-plugin* ft-lua-syntax syntax.txt /*ft-lua-syntax* +ft-luau-plugin filetype.txt /*ft-luau-plugin* ft-mail-plugin filetype.txt /*ft-mail-plugin* ft-mail.vim syntax.txt /*ft-mail.vim* ft-make-syntax syntax.txt /*ft-make-syntax* @@ -7994,6 +8004,7 @@ g:lf_shell_syntax syntax.txt /*g:lf_shell_syntax* g:lua_folding filetype.txt /*g:lua_folding* g:lua_subversion filetype.txt /*g:lua_subversion* g:lua_version filetype.txt /*g:lua_version* +g:luau_folding filetype.txt /*g:luau_folding* g:macvim_default_touchbar_characterpicker gui_mac.txt /*g:macvim_default_touchbar_characterpicker* g:macvim_default_touchbar_fullscreen gui_mac.txt /*g:macvim_default_touchbar_fullscreen* g:markdown_fenced_languages syntax.txt /*g:markdown_fenced_languages* @@ -8169,7 +8180,6 @@ g:zipPlugin_ext pi_zip.txt /*g:zipPlugin_ext* g:zip_exec pi_zip.txt /*g:zip_exec* g:zip_extractcmd pi_zip.txt /*g:zip_extractcmd* g:zip_nomax pi_zip.txt /*g:zip_nomax* -g:zip_shq pi_zip.txt /*g:zip_shq* g:zip_unzipcmd pi_zip.txt /*g:zip_unzipcmd* g:zip_zipcmd pi_zip.txt /*g:zip_zipcmd* g; motion.txt /*g;* @@ -8230,6 +8240,7 @@ get()-func builtin.txt /*get()-func* get()-list builtin.txt /*get()-list* get()-tuple builtin.txt /*get()-tuple* get-ms-debuggers debug.txt /*get-ms-debuggers* +getbgcolor() builtin.txt /*getbgcolor()* getbufinfo() builtin.txt /*getbufinfo()* getbufline() builtin.txt /*getbufline()* getbufoneline() builtin.txt /*getbufoneline()* @@ -8354,6 +8365,8 @@ gt tabpage.txt /*gt* gtk-css gui_x11.txt /*gtk-css* gtk-tooltip-colors gui_x11.txt /*gtk-tooltip-colors* gtk3-slow gui_x11.txt /*gtk3-slow* +gtk4-hwaccel gui_x11.txt /*gtk4-hwaccel* +gtk4-slow gui_x11.txt /*gtk4-slow* gu change.txt /*gu* gugu change.txt /*gugu* gui gui.txt /*gui* @@ -9972,6 +9985,7 @@ popup-filter-errors popup.txt /*popup-filter-errors* popup-filter-mode popup.txt /*popup-filter-mode* popup-function-details popup.txt /*popup-function-details* popup-functions popup.txt /*popup-functions* +popup-image popup.txt /*popup-image* popup-intro popup.txt /*popup-intro* popup-mapping popup.txt /*popup-mapping* popup-mask popup.txt /*popup-mask* diff --git a/runtime/doc/testing.txt b/runtime/doc/testing.txt index 24e3a4aa25..8e8831b422 100644 --- a/runtime/doc/testing.txt +++ b/runtime/doc/testing.txt @@ -409,6 +409,8 @@ test_override({name}, {val}) *test_override()* redraw disable the redrawing() function. redraw_flag ignore the RedrawingDisabled flag. starting reset the "starting" variable, see below. + syn_idlist_cache disable the cache for resolving + syntax "contains"/cluster lists. term_props reset all terminal properties when the version string is detected. ui_delay time in msec to use in ui_delay(); overrules a diff --git a/runtime/doc/todo.txt b/runtime/doc/todo.txt index 40a961f328..66b8f96ed5 100644 --- a/runtime/doc/todo.txt +++ b/runtime/doc/todo.txt @@ -1,4 +1,4 @@ -*todo.txt* For Vim version 9.2. Last change: 2026 Apr 29 +*todo.txt* For Vim version 9.2. Last change: 2026 Jun 12 VIM REFERENCE MANUAL by Bram Moolenaar @@ -1999,9 +1999,6 @@ Dominique can't reproduce it. ":function f(x) keepjumps" creates a function where every command is executed like it has ":keepjumps" before it. -Coverity: Check if there are new reported defects: -https://scan.coverity.com/projects/241 - Problem with editing file in binary mode. (Ingo Krabbe, 2009 Oct 8) Display error when 'tabline' that includes a file name with double-width diff --git a/runtime/doc/uganda.txt b/runtime/doc/uganda.txt index db0cd3660d..0e803bc338 100644 --- a/runtime/doc/uganda.txt +++ b/runtime/doc/uganda.txt @@ -1,4 +1,4 @@ -*uganda.txt* For Vim version 9.2. Last change: 2026 Feb 14 +*uganda.txt* For Vim version 9.2. Last change: 2026 Jun 07 VIM REFERENCE MANUAL by Bram Moolenaar @@ -234,7 +234,7 @@ Check the Kuwasha web site for the latest information! Credit Card: You can use PayPal to send money with a Credit card. This is the most widely used Internet based payment system. It's really simple to use. Use this link to find more info: - https://www.paypal.com/en_US/mrb/pal=XAC62PML3GF8Q + https://www.paypal.com/ncp/payment/ZZPJ7XEYD3CZ2 The e-mail address for sending the money to is: info@kuwasha.net diff --git a/runtime/doc/usr_41.txt b/runtime/doc/usr_41.txt index 446e2fd43e..380f7e140a 100644 --- a/runtime/doc/usr_41.txt +++ b/runtime/doc/usr_41.txt @@ -1,4 +1,4 @@ -*usr_41.txt* For Vim version 9.2. Last change: 2026 Apr 28 +*usr_41.txt* For Vim version 9.2. Last change: 2026 Jun 09 VIM USER MANUAL by Bram Moolenaar @@ -1203,6 +1203,7 @@ Interactive: *interactive-functions* inputrestore() restore typeahead GUI: *gui-functions* + getbgcolor() get current background colour as [r, g, b] getfontname() get name of current font being used getwinpos() position of the Vim window getwinposx() X position of the Vim window diff --git a/runtime/doc/usr_51.txt b/runtime/doc/usr_51.txt index 82bb0faf22..e8fb68bced 100644 --- a/runtime/doc/usr_51.txt +++ b/runtime/doc/usr_51.txt @@ -1,4 +1,4 @@ -*usr_51.txt* For Vim version 9.2. Last change: 2026 Jun 02 +*usr_51.txt* For Vim version 9.2. Last change: 2026 Jun 03 VIM USER MANUAL by Bram Moolenaar @@ -250,6 +250,9 @@ difference between using and : only conventions to keep the name readable and unlikely to clash with other plugins. None of them are required: all that matters is that the sequence starts with "" and is unique. + A mapping whose {lhs} starts with is always applied to the + {rhs} of another mapping, even if remapping is explicitly disallowed. + |:nore| is the script ID, a unique identifier for a script. Internally Vim translates to "123_", where "123" can be any @@ -258,6 +261,8 @@ difference between using and : you use the ":function" command to get a list of functions. The translation of in mappings is exactly the same, that's how you can call a script-local function from a mapping. + Note: when appears in the {rhs} of a mapping, you might consider + using