11 Commits

Author SHA1 Message Date
Yee Cheng Chin
a26996d109 Merge remote-tracking branch 'vim/master' 2023-09-09 02:09:52 -07:00
Yee Cheng Chin
c41b7a26fc Fix menu localization not updated for "Open Tab..." item (#12993)
THe menu item "Open Tab..." was changed to "Open &Tab..." in #12895 but
localization files were not updated. Update it here.

Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-09-01 18:53:30 +02:00
Yee Cheng Chin
b258c8897b Merge remote-tracking branch 'vim/master' 2022-11-20 16:24:53 -08:00
Bram Moolenaar
d13166e788 Update runtime files 2022-11-18 21:49:57 +00:00
ichizok
d9be90da4d Merge remote-tracking branch 'vim/master' 2022-02-20 10:55:38 +09:00
Ada
a42535340a patch 8.2.4420: menu translations are inconsistent
Problem:    Menu translations are inconsistent.
Solution:   Add a Makefile to convert between encodings. (Ada (Haowen) Yu,
            closes #9801)
2022-02-19 12:06:09 +00:00
Yee Cheng Chin
99e9e4143e Turn on Vim menu translations and add MacVim-specific ones
Remove langmenu=none from the MacVim vimrc to enable Vim's menu
translations.

Menu cleanups:
- Remove Emoji character picker menu item as macOS already adds it
  automatically to Edit menu. No need to do that ourselves.
- Rename some menus to fit macOS more and so we can use an official
  Apple translations (e.g. Select Next Tab renamed to "Show Next Tab").

Also, modify extract-specific-localised-strings.swift for MacVim. This
sets up only the locales we need, and add a new mode to generate Vim
menu translations and can be toggled using a command-line parameter.

Vim menu translations
--------------------
Vim already has menu translations, but need to add translations for
MacVim-specific menus. Add menu translations for MacVim in a new
subfolder. Each locale has two new translation files: one with Apple
official translations extracted using the script, and the other one with
custom translations (they were mostly done by referencing existing
translations, e.g. "About MacVim").  Also added a README to try to make
it clear what's going on.
- Not all menu items are translated yet. There are a couple left (e.g.
  "Toggle Full Screen" and "Stay in Front") but for it's good for now,
  and we can add those translations in later.

MacVim xib translations
--------------------
Convert MainMenu.xib to Base localization and add per-locale strings
files. The top parts are the manually translated strings (well, mostly
from guessworks with help from Google translte), and the bottom parts
are the Apple official ones coming from the script. This mostly affects
the menu that's shown when no Vim instance is opened, and also the main
app menu called "MacVim". Other menu items when there is a window opened
use the Vim menu translations instead.

Other MacVim GUI items like preference pane are currently not localized
as those would likely need someone to go through and actually manually
translate them, and it would be tricky to keep them up to date if we
make changes, which happens from time to time.

Locales
--------------------
- No MacVim translations (Apple didn't have official translations for
  them):
    - af_af.latin1
    - eo.utf-8
    - is_is.utf-8
    - sl_si.utf-8
    - sr_rs.utf-8
- Added MacVim translations:
    - ca_es
    - cs_cz
    - da
    - de_de
    - es_es
    - fi_fi
    - fr_fr
    - hu_hu
    - it_it
    - ja
    - ko_kr
    - nl_nl
    - no_no
    - pl_pl
    - pt_br
    - pt_pt
    - ru_ru
    - sv_se
    - tr_tr
    - zh_cn
    - zh_tw

Close #776
2020-10-02 17:54:17 -07:00
Bram Moolenaar
e71ebb46a2 patch 8.2.0628: error in menu translations
Problem:    Error in menu translations.
Solution:   Insert a backslash before a space in one more file. (Shun Bai,
            Emir Sari)
2020-04-23 23:54:04 +02:00
Bram Moolenaar
4c92e75dd4 Update runtime files. 2019-02-17 21:18:32 +01:00
Bram Moolenaar
fc65cabb15 Update runtime files. 2018-08-28 22:58:02 +02:00
Bram Moolenaar
675e8d6adb Update runtime files. 2018-06-24 20:42:01 +02:00