Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 9 additions & 15 deletions runtime/doc/gui_mac.txt
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,7 @@ desired.

*macvim-default-menu*
The default menu in MacVim has been changed to conform better with the Apple
Human Interface Guidelines (HIG). At the moment this breaks the localized
menus, so only English menus are supported.
Human Interface Guidelines (HIG).

Note: The menus are a work in progress. If you know something about the HIG
and want to contribute to MacVim you could do so by making the menus better.
Expand Down Expand Up @@ -758,7 +757,7 @@ As another example, here is how to switch buffers by swiping left/right: >
See the section on |key-mapping| for more help on how to map keys.

==============================================================================
14. International *macvim-international*
14. International *macvim-international* *macvim-multilang*

Typing text ~

Expand All @@ -782,10 +781,11 @@ to use in normal mode and type ":set imd" followed by ":set noimd".

Translations ~

MacVim uses localized Vim messages (see |multilang-messages|), but there are
MacVim-specific messages that are not currently localized. Please file an
issue if you would like to see certain messages localized. Menus
(|multilang-menus|) are currently not localized in MacVim.
MacVim uses localized Vim messages (see |multilang-messages|) and menus (see
|multilang-menus|). However, some of the user interface in MacVim (e.g.
Preference pane) are not yet localized. There are also some MacVim-specific
messages/menus in Vim that are not currently localized. Please file an issue
if you would like to see certain messages localized.

==============================================================================
15. Known bugs/missing features *macvim-todo*
Expand All @@ -800,9 +800,8 @@ prominent bugs/missing features.
- |modifyOtherKeys| support. This feature allows for more granular key
mapping (e.g. differentiating <C-I> and <Tab>) and isn't supported by the
MacVim GUI yet.
- Localized menus are not supported. Choosing anything but "English" in the
"International" pane of "System Prefences" may break the menus (and
toolbar).
- Some parts of MacVim GUI and MacVim-specific messages in Vim are not
localized yet.
- Sometimes multibyte characters look "too wide", i.e. they overlap the
following character. It might help to change 'ambiwidth', or override the
automatic font substitution by setting 'guifontwide' manually.
Expand Down Expand Up @@ -863,11 +862,6 @@ You do not want MacVim to set up any key mappings.
Solution: ~
See |cmd-movement|.

Scenario: ~
Enabling localized menus breaks the toolbar and the menus as well.
Solution: ~
This is a known problem, see |macvim-todo|.

Scenario: ~
When you click the (green) full screen button you want the window to maximize
instead of going full screen. You would also like it to maximize both
Expand Down
1 change: 1 addition & 0 deletions runtime/doc/tags
Original file line number Diff line number Diff line change
Expand Up @@ -7798,6 +7798,7 @@ macvim-hints gui_mac.txt /*macvim-hints*
macvim-international gui_mac.txt /*macvim-international*
macvim-login-shell gui_mac.txt /*macvim-login-shell*
macvim-menus gui_mac.txt /*macvim-menus*
macvim-multilang gui_mac.txt /*macvim-multilang*
macvim-options gui_mac.txt /*macvim-options*
macvim-preferences gui_mac.txt /*macvim-preferences*
macvim-prefs gui_mac.txt /*macvim-prefs*
Expand Down
6 changes: 6 additions & 0 deletions runtime/lang/macvim_menu/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
This folder contains MacVim-specific menu translations. While Vim already has menu translations, MacVim has some unique menu items and some Vim menu items are renamed to fit Apple's HIG better. As such, they need to be translated as well. Note that not 100% of the menu items in all locales are all translated right now, but the majority of them should be covered.

Each locale has up to two translation files that will be sourced into the main menu translation file for that locale:

* <locale>.apple.vim: This contains official Apple translations for common menu items such as "New Window" and "Font". They were auto-generated by using a script (`src/MacVim/scripts/extract-specific-localised-strings.swift`) to extracts official translations from Apple Developer's glossaries (https://developer.apple.com/download/more/?=glossaries).
* <locale>.custom.vim: This contains custom translations that don't have easy official translations to look up and have to be manually translated.
27 changes: 27 additions & 0 deletions runtime/lang/macvim_menu/menu_ca_es.latin1.apple.vim
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
" This file was generated from Apple localization glossaries (Catalan).
" Do not modify this file directly!

menutrans New\ Window Nova\ finestra
menutrans New\ Tab Nova\ pestanya
menutrans Open… Obrir…
menutrans Open\ Recent Obrir\ recents
menutrans Close\ Window<Tab>:qa Tancar\ finestra
menutrans Close<Tab>:q Tancar
menutrans Save\ As…<Tab>:sav Desar\ com\ a…
menutrans Save\ All Desar-ho\ tot
menutrans Find Buscar
menutrans Find… Buscar…
menutrans Find\ Next Buscar\ el\ següent
menutrans Find\ Previous Buscar\ l’anterior
menutrans Use\ Selection\ for\ Find Utilitzar\ la\ selecció\ per\ buscar
menutrans Font Tipus\ de\ lletra
menutrans Show\ Fonts Mostrar\ els\ tipus\ de\ lletra
menutrans Bigger Més\ gran
menutrans Smaller Més\ petita
menutrans Minimize Minimitzar
menutrans Minimize\ All Minimitzar-ho\ tot
menutrans Zoom Zoom
menutrans Zoom\ All Fer\ zoom\ a\ tot
menutrans Show\ Next\ Tab Mostrar\ la\ pestanya\ següent
menutrans Show\ Previous\ Tab Mostrar\ la\ pestanya\ anterior
menutrans Bring\ All\ to\ Front Portar-ho\ tot\ a\ primer\ pla
3 changes: 3 additions & 0 deletions runtime/lang/macvim_menu/menu_ca_es.latin1.custom.vim
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
menutrans MacVim\ Help Ajuda\ MacVim
menutrans MacVim\ Website Lloc\ web\ de\ MacVim
menutrans Vim\ Tutor Tutor\ del\ Vim
27 changes: 27 additions & 0 deletions runtime/lang/macvim_menu/menu_cs_cz.utf-8.apple.vim
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
" This file was generated from Apple localization glossaries (Czech).
" Do not modify this file directly!

menutrans New\ Window Nové\ okno
menutrans New\ Tab Nový\ panel
menutrans Open… Otevřít…
menutrans Open\ Recent Otevřít\ poslední\ položku
menutrans Close\ Window<Tab>:qa Zavřít\ okno
menutrans Close<Tab>:q Zavřít
menutrans Save\ As…<Tab>:sav Uložit\ jako…
menutrans Save\ All Uložit\ vše
menutrans Find Hledání
menutrans Find… Hledat…
menutrans Find\ Next Hledat\ další
menutrans Find\ Previous Hledat\ předchozí
menutrans Use\ Selection\ for\ Find Hledat\ výběr
menutrans Font Písmo
menutrans Show\ Fonts Zobrazit\ písma
menutrans Bigger Zvětšit
menutrans Smaller Zmenšit
menutrans Minimize Minimalizovat
menutrans Minimize\ All Minimalizovat\ vše
menutrans Zoom Přepnout\ velikost
menutrans Zoom\ All Přepnout\ velikost\ všech
menutrans Show\ Next\ Tab Zobrazit\ další\ panel
menutrans Show\ Previous\ Tab Zobrazit\ předchozí\ panel
menutrans Bring\ All\ to\ Front Převést\ vše\ do\ popředí
3 changes: 3 additions & 0 deletions runtime/lang/macvim_menu/menu_cs_cz.utf-8.custom.vim
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
menutrans MacVim\ Help Nápověda\ pro\ MacVim
menutrans MacVim\ Website Webové\ stránky\ MacVim
menutrans Vim\ Tutor Vim\ Tutor
27 changes: 27 additions & 0 deletions runtime/lang/macvim_menu/menu_da.utf-8.apple.vim
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
" This file was generated from Apple localization glossaries (Danish).
" Do not modify this file directly!

menutrans New\ Window Nyt\ vindue
menutrans New\ Tab Ny\ fane
menutrans Open… Åbn…
menutrans Open\ Recent Åbn\ seneste
menutrans Close\ Window<Tab>:qa Luk\ vindue
menutrans Close<Tab>:q Luk
menutrans Save\ As…<Tab>:sav Gem\ som…
menutrans Save\ All Gem\ alle
menutrans Find Find
menutrans Find… Find…
menutrans Find\ Next Find\ næste
menutrans Find\ Previous Find\ forrige
menutrans Use\ Selection\ for\ Find Søg\ med\ det\ valgte
menutrans Font Skrift
menutrans Show\ Fonts Vis\ skrifter
menutrans Bigger Større
menutrans Smaller Mindre
menutrans Minimize Minimer
menutrans Minimize\ All Minimer\ alle
menutrans Zoom Zoom
menutrans Zoom\ All Zoom\ alle
menutrans Show\ Next\ Tab Vis\ næste\ fane
menutrans Show\ Previous\ Tab Vis\ forrige\ fane
menutrans Bring\ All\ to\ Front Anbring\ alle\ forrest
3 changes: 3 additions & 0 deletions runtime/lang/macvim_menu/menu_da.utf-8.custom.vim
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
menutrans MacVim\ Help Hjælp\ til\ MacVim
menutrans MacVim\ Website MacVim-websted
menutrans Vim\ Tutor Vim-vejledningen
27 changes: 27 additions & 0 deletions runtime/lang/macvim_menu/menu_de_de.latin1.apple.vim
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
" This file was generated from Apple localization glossaries (German).
" Do not modify this file directly!

menutrans New\ Window Neues\ Fenster
menutrans New\ Tab Neuer\ Tab
menutrans Open… Öffnen\ …
menutrans Open\ Recent Benutzte\ Dokumente
menutrans Close\ Window<Tab>:qa Fenster\ schließen
menutrans Close<Tab>:q Schließen
menutrans Save\ As…<Tab>:sav Sichern\ unter\ …
menutrans Save\ All Alles\ sichern
menutrans Find Suchen
menutrans Find… Suchen\ …
menutrans Find\ Next Weitersuchen\ (vorwärts)
menutrans Find\ Previous Weitersuchen\ (rückwärts)
menutrans Use\ Selection\ for\ Find Auswahl\ für\ Suche\ übernehmen
menutrans Font Schrift
menutrans Show\ Fonts Schriften\ einblenden
menutrans Bigger Größer
menutrans Smaller Kleiner
menutrans Minimize Im\ Dock\ ablegen
menutrans Minimize\ All Alle\ im\ Dock\ ablegen
menutrans Zoom Zoomen
menutrans Zoom\ All Alle\ zoomen
menutrans Show\ Next\ Tab Nächsten\ Tab\ anzeigen
menutrans Show\ Previous\ Tab Vorherigen\ Tab\ anzeigen
menutrans Bring\ All\ to\ Front Alle\ nach\ vorne\ bringen
3 changes: 3 additions & 0 deletions runtime/lang/macvim_menu/menu_de_de.latin1.custom.vim
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
menutrans MacVim\ Help MacVim-Hilfe
menutrans MacVim\ Website MacVim-Website
menutrans Vim\ Tutor Vim\ Tutor
27 changes: 27 additions & 0 deletions runtime/lang/macvim_menu/menu_es_es.latin1.apple.vim
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
" This file was generated from Apple localization glossaries (Spanish).
" Do not modify this file directly!

menutrans New\ Window Nueva\ ventana
menutrans New\ Tab Nueva\ pestaña
menutrans Open… Abrir…
menutrans Open\ Recent Abrir\ recientes
menutrans Close\ Window<Tab>:qa Cerrar\ ventana
menutrans Close<Tab>:q Cerrar
menutrans Save\ As…<Tab>:sav Guardar\ como…
menutrans Save\ All Guardar\ todo
menutrans Find Buscar
menutrans Find… Buscar…
menutrans Find\ Next Buscar\ siguiente
menutrans Find\ Previous Buscar\ anterior
menutrans Use\ Selection\ for\ Find Usar\ selección\ para\ buscar
menutrans Font Tipo\ de\ letra
menutrans Show\ Fonts Mostrar\ tipos\ de\ letra
menutrans Bigger Más\ grande
menutrans Smaller Más\ pequeño
menutrans Minimize Minimizar
menutrans Minimize\ All Minimizar\ todo
menutrans Zoom Zoom
menutrans Zoom\ All Aplicar\ zoom\ a\ todas\ las\ ventanas
menutrans Show\ Next\ Tab Mostrar\ pestaña\ siguiente
menutrans Show\ Previous\ Tab Mostrar\ pestaña\ anterior
menutrans Bring\ All\ to\ Front Traer\ todo\ al\ frente
3 changes: 3 additions & 0 deletions runtime/lang/macvim_menu/menu_es_es.latin1.custom.vim
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
menutrans MacVim\ Help Ayuda\ de\ MacVim
menutrans MacVim\ Website Sitio\ web\ del\ MacVim
menutrans Vim\ Tutor Tutor\ de\ Vim
27 changes: 27 additions & 0 deletions runtime/lang/macvim_menu/menu_fi_fi.latin1.apple.vim
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
" This file was generated from Apple localization glossaries (Finnish).
" Do not modify this file directly!

menutrans New\ Window Uusi\ ikkuna
menutrans New\ Tab Uusi\ välilehti
menutrans Open… Avaa…
menutrans Open\ Recent Avaa\ äskeinen
menutrans Close\ Window<Tab>:qa Sulje\ ikkuna
menutrans Close<Tab>:q Sulje
menutrans Save\ As…<Tab>:sav Tallenna\ nimellä…
menutrans Save\ All Tallenna\ kaikki
menutrans Find Etsi
menutrans Find… Etsi…
menutrans Find\ Next Etsi\ seuraava
menutrans Find\ Previous Etsi\ edellinen
menutrans Use\ Selection\ for\ Find Käytä\ valintaa\ etsinnässä
menutrans Font Fontti
menutrans Show\ Fonts Näytä\ fontit
menutrans Bigger Suurenna
menutrans Smaller Pienennä
menutrans Minimize Pienennä
menutrans Minimize\ All Pienennä\ kaikki
menutrans Zoom Zoomaa
menutrans Zoom\ All Zoomaa\ kaikki
menutrans Show\ Next\ Tab Näytä\ seuraava\ välilehti
menutrans Show\ Previous\ Tab Näytä\ edellinen\ välilehti
menutrans Bring\ All\ to\ Front Tuo\ kaikki\ eteen
3 changes: 3 additions & 0 deletions runtime/lang/macvim_menu/menu_fi_fi.latin1.custom.vim
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
menutrans MacVim\ Help MacVim-ohje
menutrans MacVim\ Website MacVim-verkkosivusto
menutrans Vim\ Tutor Vim\ Tutor
27 changes: 27 additions & 0 deletions runtime/lang/macvim_menu/menu_fr_fr.latin1.apple.vim
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
" This file was generated from Apple localization glossaries (Universal French).
" Do not modify this file directly!

menutrans New\ Window Nouvelle\ fenêtre
menutrans New\ Tab Nouvel\ onglet
menutrans Open… Ouvrir…
menutrans Open\ Recent Ouvrir\ l’élément\ récent
menutrans Close\ Window<Tab>:qa Fermer\ la\ fenêtre
menutrans Close<Tab>:q Fermer
menutrans Save\ As…<Tab>:sav Enregistrer\ sous…
menutrans Save\ All Tout\ enregistrer
menutrans Find Rechercher
menutrans Find… Rechercher…
menutrans Find\ Next Rechercher\ le\ suivant
menutrans Find\ Previous Rechercher\ le\ précédent
menutrans Use\ Selection\ for\ Find Rechercher\ la\ sélection
menutrans Font Police
menutrans Show\ Fonts Afficher\ les\ polices
menutrans Bigger Plus\ grand
menutrans Smaller Plus\ petit
menutrans Minimize Placer\ dans\ le\ Dock
menutrans Minimize\ All Placer\ toutes\ les\ fenêtres\ dans\ le\ Dock
menutrans Zoom Réduire/agrandir
menutrans Zoom\ All Réduire/agrandir\ toutes\ les\ fenêtres
menutrans Show\ Next\ Tab Afficher\ l’onglet\ suivant
menutrans Show\ Previous\ Tab Afficher\ l’onglet\ précédent
menutrans Bring\ All\ to\ Front Tout\ ramener\ au\ premier\ plan
3 changes: 3 additions & 0 deletions runtime/lang/macvim_menu/menu_fr_fr.latin1.custom.vim
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
menutrans MacVim\ Help Aide\ MacVim
menutrans MacVim\ Website Site\ web\ du\ MacVim
menutrans Vim\ Tutor Tutoriel\ de\ Vim
27 changes: 27 additions & 0 deletions runtime/lang/macvim_menu/menu_hu_hu.utf-8.apple.vim
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
" This file was generated from Apple localization glossaries (Hungarian).
" Do not modify this file directly!

menutrans New\ Window Új\ ablak
menutrans New\ Tab Új\ lap
menutrans Open… Megnyitás…
menutrans Open\ Recent Legutóbbi\ megnyitása
menutrans Close\ Window<Tab>:qa Ablak\ bezárása
menutrans Close<Tab>:q Bezárás
menutrans Save\ As…<Tab>:sav Mentés\ másként…
menutrans Save\ All Összes\ mentése
menutrans Find Keresés
menutrans Find… Keresés…
menutrans Find\ Next Következő\ keresése
menutrans Find\ Previous Előző\ keresése
menutrans Use\ Selection\ for\ Find A\ kijelölés\ használata\ kereséshez
menutrans Font Betűtípus
menutrans Show\ Fonts Betűtípusok\ megjelenítése
menutrans Bigger Nagyobb
menutrans Smaller Kisebb
menutrans Minimize Kis\ méret
menutrans Minimize\ All Összes\ minimalizálása
menutrans Zoom Nagyítás
menutrans Zoom\ All Összes\ nagyítása
menutrans Show\ Next\ Tab Következő\ lap\ megjelenítése
menutrans Show\ Previous\ Tab Előző\ lap\ megjelenítése
menutrans Bring\ All\ to\ Front Összes\ előtérbe\ hozása
3 changes: 3 additions & 0 deletions runtime/lang/macvim_menu/menu_hu_hu.utf-8.custom.vim
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
menutrans MacVim\ Help A\ MacVim\ súgója
menutrans MacVim\ Website MacVim\ webhely
menutrans Vim\ Tutor Vim\ -\ oktatóban
27 changes: 27 additions & 0 deletions runtime/lang/macvim_menu/menu_it_it.latin1.apple.vim
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
" This file was generated from Apple localization glossaries (Italian).
" Do not modify this file directly!

menutrans New\ Window Nuova\ finestra
menutrans New\ Tab Nuovo\ pannello
menutrans Open… Apri…
menutrans Open\ Recent Apri\ recenti
menutrans Close\ Window<Tab>:qa Chiudi\ finestra
menutrans Close<Tab>:q Chiudi
menutrans Save\ As…<Tab>:sav Salva\ col\ nome…
menutrans Save\ All Salva\ tutto
menutrans Find Cerca
menutrans Find… Cerca…
menutrans Find\ Next Cerca\ successivo
menutrans Find\ Previous Cerca\ precedente
menutrans Use\ Selection\ for\ Find Usa\ selezione\ per\ cercare
menutrans Font Font
menutrans Show\ Fonts Mostra\ font
menutrans Bigger Più\ grande
menutrans Smaller Più\ piccolo
menutrans Minimize Contrai
menutrans Minimize\ All Contrai\ tutto
menutrans Zoom Ridimensiona
menutrans Zoom\ All Ridimensiona\ tutto
menutrans Show\ Next\ Tab Mostra\ pannello\ successivo
menutrans Show\ Previous\ Tab Mostra\ pannello\ precedente
menutrans Bring\ All\ to\ Front Porta\ tutto\ in\ primo\ piano
3 changes: 3 additions & 0 deletions runtime/lang/macvim_menu/menu_it_it.latin1.custom.vim
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
menutrans MacVim\ Help Aiuto\ MacVim
menutrans MacVim\ Website Sito\ web\ dello\ MacVim
menutrans Vim\ Tutor Guida\ all'Editor\ Vim
27 changes: 27 additions & 0 deletions runtime/lang/macvim_menu/menu_ja_jp.utf-8.apple.vim
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
" This file was generated from Apple localization glossaries (Japanese).
" Do not modify this file directly!

menutrans New\ Window 新規ウインドウ
menutrans New\ Tab 新規タブ
menutrans Open… 開く…
menutrans Open\ Recent 最近使った項目を開く
menutrans Close\ Window<Tab>:qa ウインドウを閉じる
menutrans Close<Tab>:q 閉じる
menutrans Save\ As…<Tab>:sav 別名で保存…
menutrans Save\ All すべてを保存
menutrans Find 検索
menutrans Find… 検索…
menutrans Find\ Next 次を検索
menutrans Find\ Previous 前を検索
menutrans Use\ Selection\ for\ Find 選択部分を検索に使用
menutrans Font フォント
menutrans Show\ Fonts フォントパネルを表示
menutrans Bigger 大きく
menutrans Smaller 小さく
menutrans Minimize しまう
menutrans Minimize\ All すべてしまう
menutrans Zoom 拡大/縮小
menutrans Zoom\ All すべてを拡大/縮小
menutrans Show\ Next\ Tab 次のタブを表示
menutrans Show\ Previous\ Tab 前のタブを表示
menutrans Bring\ All\ to\ Front すべてを手前に移動
3 changes: 3 additions & 0 deletions runtime/lang/macvim_menu/menu_ja_jp.utf-8.custom.vim
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
menutrans MacVim\ Help MacVim\ ヘルプ
menutrans MacVim\ Website MacVim\ Webサイト
menutrans Vim\ Tutor Vim\ 教本\ (チュートリアル)
Loading