Skip to content

Commit

Permalink
Stop translating remaining usages of PACKAGE_NAME
Browse files Browse the repository at this point in the history
Github-Pull: #2491
Rebased-From: 00dcec7
  • Loading branch information
Fuzzbawls authored and furszy committed Sep 19, 2021
1 parent 67e7938 commit 004efe9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/init.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1194,7 +1194,7 @@ static bool LockDataDirectory(bool probeOnly)
return UIError(strprintf(_("Cannot write to data directory '%s'; check permissions."), datadir.string()));
}
if (!LockDirectory(datadir, ".lock", probeOnly)) {
return UIError(strprintf(_("Cannot obtain a lock on data directory %s. %s is probably already running."), datadir.string(), _(PACKAGE_NAME)));
return UIError(strprintf(_("Cannot obtain a lock on data directory %s. %s is probably already running."), datadir.string(), PACKAGE_NAME));
}
return true;
}
Expand All @@ -1210,7 +1210,7 @@ bool AppInitSanityChecks()

// Sanity check
if (!InitSanityCheck())
return UIError(strprintf(_("Initialization sanity check failed. %s is shutting down."), _(PACKAGE_NAME)));
return UIError(strprintf(_("Initialization sanity check failed. %s is shutting down."), PACKAGE_NAME));

// Probe the data directory lock to give an early error message, if possible
return LockDataDirectory(true);
Expand Down

0 comments on commit 004efe9

Please sign in to comment.