Merge pull request #1279 from ychin/fix-broken-korean-menus

Fix MacVim's Korean menu translations causing startup error
This commit is contained in:
Yee Cheng Chin
2022-09-11 01:55:02 -07:00
committed by GitHub
2 changed files with 2 additions and 1 deletions

View File

@@ -7,7 +7,7 @@ menutrans Open… 열기…
menutrans Open\ Recent 최근\ 사용\ 열기
menutrans Close\ Window<Tab>:qa 윈도우\ 닫기
menutrans Close<Tab>:q 닫기
menutrans Save\ As<Tab>:sav 별도\ 저장...
menutrans Save\ As<Tab>:sav 별도\ 저장\.\.\.
menutrans Save\ All 모두\ 저장
menutrans Find 찾기
menutrans Find찾기

View File

@@ -363,6 +363,7 @@ for localisation in localisations {
else {
let escapedTranslation = translation.replacingOccurrences(of: " ", with: "\\ ", options: .literal, range: nil)
.replacingOccurrences(of: " ", with: "\\ ", options: .literal, range: nil)
.replacingOccurrences(of: ".", with: "\\.", options: .literal, range: nil)
return """
menutrans \(neededLocalisation.targetKey) \(escapedTranslation)