Skip to content

Commit 3da89b0

Browse files
Copilotcyanzhong
andauthored
Replace straight quotes with curly quotes in user-facing strings (#1232)
* Initial plan * Replace straight quotes with curly quotes in user-facing strings Co-authored-by: cyanzhong <6745066+cyanzhong@users.noreply.github.com> * Fix curly double quotes to use proper Unicode characters Co-authored-by: cyanzhong <6745066+cyanzhong@users.noreply.github.com> * Preserve original formatting when updating xcstrings files Co-authored-by: cyanzhong <6745066+cyanzhong@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: cyanzhong <6745066+cyanzhong@users.noreply.github.com>
1 parent 2b08c75 commit 3da89b0

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

MarkEditMac/Resources/Localizable.xcstrings

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@
211211
}
212212
}
213213
},
214-
"Argument \"%@\" not found in event descriptor, the descriptor is likely malformed." : {
214+
"Argument “%@” not found in event descriptor, the descriptor is likely malformed." : {
215215
"comment" : "Script error when a command argument is missing due to a corrupted Apple Event",
216216
"localizations" : {
217217
"zh-Hans" : {
@@ -313,7 +313,7 @@
313313
}
314314
}
315315
},
316-
"Cannot export files with extension \"%@\", supported extensions: %@." : {
316+
"Cannot export files with extension “%@”, supported extensions: %@." : {
317317
"comment" : "Script error when attempting to save files with an unsupported extension",
318318
"localizations" : {
319319
"en" : {
@@ -539,7 +539,7 @@
539539
}
540540
}
541541
},
542-
"Couldn't find a command to handle incoming Apple Event." : {
542+
"Couldnt find a command to handle incoming Apple Event." : {
543543
"comment" : "Script error when MarkEdit has no command to handle the incoming Apple Event",
544544
"localizations" : {
545545
"zh-Hans" : {
@@ -1941,7 +1941,7 @@
19411941
}
19421942
}
19431943
},
1944-
"No editor for document \"%@\" found." : {
1944+
"No editor for document “%@” found." : {
19451945
"comment" : "Script error when MarkEdit cannot find the editor view to run document commands in",
19461946
"localizations" : {
19471947
"zh-Hans" : {
@@ -3300,7 +3300,7 @@
33003300
}
33013301
}
33023302
},
3303-
"Wrong file extension for type \"%@\", use \".%@\" instead." : {
3303+
"Wrong file extension for type “%@”, use .%@ instead." : {
33043304
"comment" : "Script save error when the path extension does not match the output type",
33053305
"localizations" : {
33063306
"en" : {
@@ -3323,7 +3323,7 @@
33233323
}
33243324
}
33253325
},
3326-
"You're up-to-date!" : {
3326+
"Youre up-to-date!" : {
33273327
"comment" : "Title for the up-to-date info",
33283328
"localizations" : {
33293329
"zh-Hans" : {

MarkEditMac/Sources/Main/AppResources.swift

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -213,17 +213,17 @@ enum Localized {
213213
}
214214

215215
enum Scripting {
216-
static let missingCommandErrorMessage = String(localized: "Couldn't find a command to handle incoming Apple Event.", comment: "Script error when MarkEdit has no command to handle the incoming Apple Event")
217-
static let missingArgumentErrorMessage = String(localized: "Argument \"%@\" not found in event descriptor, the descriptor is likely malformed.", comment: "Script error when a command argument is missing due to a corrupted Apple Event")
218-
static let editorNotFoundErrorMessage = String(localized: "No editor for document \"%@\" found.", comment: "Script error when MarkEdit cannot find the editor view to run document commands in")
216+
static let missingCommandErrorMessage = String(localized: "Couldnt find a command to handle incoming Apple Event.", comment: "Script error when MarkEdit has no command to handle the incoming Apple Event")
217+
static let missingArgumentErrorMessage = String(localized: "Argument “%@” not found in event descriptor, the descriptor is likely malformed.", comment: "Script error when a command argument is missing due to a corrupted Apple Event")
218+
static let editorNotFoundErrorMessage = String(localized: "No editor for document “%@” found.", comment: "Script error when MarkEdit cannot find the editor view to run document commands in")
219219
static let jsEvaluationErrorMessage = String(localized: "JavaScript evaluation failed at line %d, column %d: %@", comment: "Script error when JavaScript evaluation raises a detailed error")
220220
static let unknownJSErrorMessage = String(localized: "JavaScript evaluation failed for an unknown reason.", comment: "Script error when JavaScript evaluation raises an error with no details")
221-
static let invalidDestinationErrorMessage = String(localized: "Cannot export files with extension \"%@\", supported extensions: %@.", comment: "Script error when attempting to save files with an unsupported extension")
222-
static let extensionMismatchErrorMessage = String(localized: "Wrong file extension for type \"%@\", use \".%@\" instead.", comment: "Script save error when the path extension does not match the output type")
221+
static let invalidDestinationErrorMessage = String(localized: "Cannot export files with extension “%@”, supported extensions: %@.", comment: "Script error when attempting to save files with an unsupported extension")
222+
static let extensionMismatchErrorMessage = String(localized: "Wrong file extension for type “%@”, use .%@ instead.", comment: "Script save error when the path extension does not match the output type")
223223
}
224224

225225
enum Updater {
226-
static let upToDateTitle = String(localized: "You're up-to-date!", comment: "Title for the up-to-date info")
226+
static let upToDateTitle = String(localized: "Youre up-to-date!", comment: "Title for the up-to-date info")
227227
static let upToDateMessage = String(localized: "MarkEdit %@ is currently the latest version.", comment: "Message for the up-to-date info")
228228
static let newVersionAvailable = String(localized: "MarkEdit %@ is available!", comment: "Title for new version available")
229229
static let updateFailedTitle = String(localized: "Failed to get the update.", comment: "Title for failed to get the update")

0 commit comments

Comments
 (0)