mirror of
https://github.com/macvim-dev/macvim.git
synced 2026-06-07 15:37:14 +02:00
c27ef2a0f6fec5c9831de75e87f79b1c110818b3
This enables localized translated messages in MacVim, instead of only using English. - Get Travis to compile MacVim with gettext dependencies which is a pre-requisite for multilang localized messages. Also add a quick regression test to make sure localized messages will keep working. - Add a post-build phase to copy all locale .mo files to VIMRUNTIME/lang so they will be bundled along with the rest in the app package. Normal Vim usually installs the localized files to a global location like /usr/local/share/locale/ but macOS applications are all self-contained bundles we don't want to do this. Use VIMRUNTIME/lang as the destination because that's also what the Windows build uses and existing code already knows to use it by using bindtextdomain. - Fix vim.h header to not unbind bindtextdomain for MacVim. There is previously a little bit of hack there where it would only use bindtextdomain when DYNAMIC_GETTEXT is set because that's only set for Windows. Just add a special case for MacVim for now to get similar behavior to Windows. Close #991
…
Vim - the text editor - for macOS
-
MacVim homepage https://macvim-dev.github.io/macvim
-
Download the latest version from Releases.
-
Vim README: README_vim.md
Languages
Vim Script
52%
C
38.1%
Objective-C
3.1%
Roff
1.6%
Makefile
1.2%
Other
3.2%