Skip to content

Commit cd2f64a

Browse files
committed
Update localization comments in syntax editor
1 parent 5416ad2 commit cd2f64a

File tree

2 files changed

+9
-28
lines changed

2 files changed

+9
-28
lines changed

CotEditor/Sources/SyntaxOutlineEditView.swift

+6-3
Original file line numberDiff line numberDiff line change
@@ -120,11 +120,14 @@ struct SyntaxOutlineEditView: View {
120120

121121
switch self.error {
122122
case .noSelection:
123-
String(localized: "No item selected", table: "SyntaxEditor", comment: "placeholder")
123+
String(localized: "No item selected", table: "SyntaxEditor",
124+
comment: "message for uneditable condition")
124125
case .multipleSelection:
125-
String(localized: "Multiple items selected", table: "SyntaxEditor", comment: "placeholder")
126+
String(localized: "Multiple items selected", table: "SyntaxEditor",
127+
comment: "message for uneditable condition")
126128
case .none:
127-
String(localized: "Entire match", table: "SyntaxEditor", comment: "placeholder")
129+
String(localized: "Entire match", table: "SyntaxEditor",
130+
comment: "placeholder for outline item table")
128131
}
129132
}
130133
}

CotEditor/mul.lproj/SyntaxEditor.xcstrings

+3-25
Original file line numberDiff line numberDiff line change
@@ -1363,7 +1363,7 @@
13631363
}
13641364
},
13651365
"Entire match" : {
1366-
"comment" : "placeholder",
1366+
"comment" : "placeholder for outline item table",
13671367
"localizations" : {
13681368
"de" : {
13691369
"stringUnit" : {
@@ -2436,7 +2436,7 @@
24362436
}
24372437
},
24382438
"Multiple items selected" : {
2439-
"comment" : "placeholder",
2439+
"comment" : "message for uneditable condition",
24402440
"localizations" : {
24412441
"de" : {
24422442
"stringUnit" : {
@@ -2530,7 +2530,7 @@
25302530
}
25312531
},
25322532
"No item selected" : {
2533-
"comment" : "placeholder",
2533+
"comment" : "message for uneditable condition",
25342534
"localizations" : {
25352535
"de" : {
25362536
"stringUnit" : {
@@ -2623,28 +2623,6 @@
26232623
}
26242624
}
26252625
},
2626-
"Outline" : {
2627-
"localizations" : {
2628-
"de" : {
2629-
"stringUnit" : {
2630-
"state" : "translated",
2631-
"value" : "Gliederung"
2632-
}
2633-
},
2634-
"en-GB" : {
2635-
"stringUnit" : {
2636-
"state" : "translated",
2637-
"value" : "Outline"
2638-
}
2639-
},
2640-
"ja" : {
2641-
"stringUnit" : {
2642-
"state" : "translated",
2643-
"value" : "アウトライン"
2644-
}
2645-
}
2646-
}
2647-
},
26482626
"Outline extraction rules:" : {
26492627
"comment" : "label",
26502628
"localizations" : {

0 commit comments

Comments
 (0)