Skip to content

Commit 6d6611b

Browse files
committed
🐞 Fix app name in localization key
1 parent 65e10f5 commit 6d6611b

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

Loop/Localizable.xcstrings

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,10 @@
249249
}
250250
}
251251
},
252+
"%@ is not in your Applications folder. Would you like to install the update to your Applications folder instead?" : {
253+
"comment" : "Informative text in the alert displayed when the app is not in the user's Applications folder.",
254+
"isCommentAutoGenerated" : true
255+
},
252256
"%@ places windows slightly above the absolute center,\nwhich can be found more ergonomic." : {
253257
"localizations" : {
254258
"ar" : {
@@ -14448,10 +14452,6 @@
1444814452
}
1444914453
}
1445014454
},
14451-
"Loop is not in your Applications folder. Would you like to install the update to your Applications folder instead?" : {
14452-
"comment" : "Alert message presented to the user when the installed application is not in the Applications folder. Asks the user if they want to install the update there instead.",
14453-
"isCommentAutoGenerated" : true
14454-
},
1445514455
"Loops left to unlock new icon" : {
1445614456
"localizations" : {
1445714457
"ar" : {

Loop/Updater/UpdateInstaller.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ actor UpdateInstaller {
147147
private func askUserForRelocation() async -> Bool {
148148
let alert = NSAlert()
149149
alert.messageText = String(localized: "Move to Applications Folder?")
150-
alert.informativeText = String(localized: "Loop is not in your Applications folder. Would you like to install the update to your Applications folder instead?")
150+
alert.informativeText = String(localized: "\(Bundle.main.appName) is not in your Applications folder. Would you like to install the update to your Applications folder instead?")
151151
alert.alertStyle = .informational
152152
alert.addButton(withTitle: String(localized: "Install to Applications"))
153153
alert.addButton(withTitle: String(localized: "Keep in Current Location"))

0 commit comments

Comments
 (0)