Browse Source

Hard-code English string for `standalone.multipleInstances` translation, since translations aren't yet loaded.

tags/v2.6.1
Andrew Belt 3 months ago
parent
commit
4cc368abdb
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      adapters/standalone.cpp

+ 1
- 1
adapters/standalone.cpp View File

@@ -59,7 +59,7 @@ int main(int argc, char* argv[]) {
// Handle will be closed by Windows when the process ends // Handle will be closed by Windows when the process ends
HANDLE instanceMutex = CreateMutexW(NULL, true, string::UTF8toUTF16(APP_NAME).c_str()); HANDLE instanceMutex = CreateMutexW(NULL, true, string::UTF8toUTF16(APP_NAME).c_str());
if (GetLastError() == ERROR_ALREADY_EXISTS) { if (GetLastError() == ERROR_ALREADY_EXISTS) {
osdialog_message(OSDIALOG_ERROR, OSDIALOG_OK, string::translate("standalone.multipleInstances").c_str());
osdialog_message(OSDIALOG_ERROR, OSDIALOG_OK, "VCV Rack is already running. Multiple Rack instances are not supported.");
exit(1); exit(1);
} }
(void) instanceMutex; (void) instanceMutex;


Loading…
Cancel
Save