Skip to content

Commit fcd7bd4

Browse files
authored
Merge pull request #1279 from ychin/fix-broken-korean-menus
Fix MacVim's Korean menu translations causing startup error
2 parents 6b26957 + 2f7fa65 commit fcd7bd4

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

runtime/lang/macvim_menu/menu_ko_kr.utf-8.apple.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ menutrans Open… 열기…
77
menutrans Open\ Recent 최근\ 사용\ 열기
88
menutrans Close\ Window<Tab>:qa 윈도우\ 닫기
99
menutrans Close<Tab>:q 닫기
10-
menutrans Save\ As…<Tab>:sav 별도\ 저장...
10+
menutrans Save\ As…<Tab>:sav 별도\ 저장\.\.\.
1111
menutrans Save\ All 모두\ 저장
1212
menutrans Find 찾기
1313
menutrans Find… 찾기…

src/MacVim/scripts/extract-specific-localised-strings.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -363,6 +363,7 @@ for localisation in localisations {
363363
else {
364364
let escapedTranslation = translation.replacingOccurrences(of: " ", with: "\\ ", options: .literal, range: nil)
365365
.replacingOccurrences(of: " ", with: "\\ ", options: .literal, range: nil)
366+
.replacingOccurrences(of: ".", with: "\\.", options: .literal, range: nil)
366367

367368
return """
368369
menutrans \(neededLocalisation.targetKey) \(escapedTranslation)

0 commit comments

Comments
 (0)