mirror of
https://github.com/WowUp/WowUp.git
synced 2026-04-22 23:09:38 -04:00
Fix #784
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
| translate
|
||||
: {
|
||||
clientTypeName: (clientTypeName | translate)?.toLowerCase(),
|
||||
clientFolderName: clientFolderName
|
||||
clientFolderName: executableName
|
||||
}
|
||||
}}
|
||||
</mat-hint>
|
||||
|
||||
@@ -14,6 +14,7 @@ import { WowInstallation } from "../../models/wowup/wow-installation";
|
||||
import { WarcraftInstallationService } from "../../services/warcraft/warcraft-installation.service";
|
||||
import { getEnumList, getEnumName } from "../../utils/enum.utils";
|
||||
import { ConfirmDialogComponent } from "../confirm-dialog/confirm-dialog.component";
|
||||
import { WarcraftService } from "../../services/warcraft/warcraft.service";
|
||||
|
||||
@Component({
|
||||
selector: "app-wow-client-options",
|
||||
@@ -61,6 +62,10 @@ export class WowClientOptionsComponent implements OnInit, OnDestroy {
|
||||
}
|
||||
}
|
||||
|
||||
public get executableName(): string {
|
||||
return this._warcraftService.getExecutableName(this.installation.clientType);
|
||||
}
|
||||
|
||||
public get wowLogoImage(): string {
|
||||
switch (this.installation.clientType) {
|
||||
case WowClientType.Beta:
|
||||
@@ -79,7 +84,8 @@ export class WowClientOptionsComponent implements OnInit, OnDestroy {
|
||||
public constructor(
|
||||
private _dialog: MatDialog,
|
||||
private _translateService: TranslateService,
|
||||
private _warcraftInstallationService: WarcraftInstallationService
|
||||
private _warcraftInstallationService: WarcraftInstallationService,
|
||||
private _warcraftService: WarcraftService
|
||||
) {
|
||||
this.addonChannelInfos = this.getAddonChannelInfos();
|
||||
}
|
||||
|
||||
@@ -442,7 +442,7 @@
|
||||
"MESSAGE": "Are you sure you want to remove the installation at \"{location}\"? This will remove all stored addon information for this client.\n\nYour addon folders will not be removed.",
|
||||
"TITLE": "Remove World of Warcraft Installation?"
|
||||
},
|
||||
"CLIENT_TYPE_INPUT_HINT": "The folder that contains the {clientTypeName} client folder \"{clientFolderName}\"",
|
||||
"CLIENT_TYPE_INPUT_HINT": "Select the {clientTypeName} application \"{clientFolderName}\"",
|
||||
"CLIENT_TYPE_PATH_LABEL": "{clientTypeName} path",
|
||||
"DEFAULT_ADDON_CHANNEL_LABEL": "Default Addon Channel",
|
||||
"DEFAULT_ADDON_CHANNEL_SELECT_LABEL": "Addon Channel",
|
||||
|
||||
Reference in New Issue
Block a user