aboutsummaryrefslogtreecommitdiff
path: root/src-ui/src
diff options
context:
space:
mode:
Diffstat (limited to 'src-ui/src')
-rw-r--r--src-ui/src/main.ts9
1 files changed, 5 insertions, 4 deletions
diff --git a/src-ui/src/main.ts b/src-ui/src/main.ts
index 590224f0..73fad575 100644
--- a/src-ui/src/main.ts
+++ b/src-ui/src/main.ts
@@ -5,8 +5,9 @@ import { appDir } from '@tauri-apps/api/path';
const $ = document.querySelector.bind(document);
const button_install_string = "Install Northstar";
-const button_update_string = "Update";
-const button_play_string = "Play";
+const button_update_string = "Update Northstar";
+const button_play_string = "Launch Northstar";
+const button_manual_find_string = "Manually find Titanfall2 install location";
// Stores the overall state of the application
var globalState = {
@@ -19,7 +20,7 @@ async function get_northstar_version_number_and_set_button_accordingly(omniButto
let northstar_version_number = await invoke("get_northstar_version_number_caller") as string;
if (northstar_version_number && northstar_version_number.length > 0) {
globalState.installed_northstar_version = northstar_version_number;
- omniButtonEl.textContent = `Play (${northstar_version_number})`;
+ omniButtonEl.textContent = `${button_play_string} (${northstar_version_number})`;
let northstar_is_outdated = await invoke("check_is_northstar_outdated") as boolean;
if (northstar_is_outdated) {
omniButtonEl.textContent = button_update_string;
@@ -143,6 +144,6 @@ document.addEventListener("DOMContentLoaded", async function () {
console.log(globalState);
}
else {
- omniButtonEl.textContent = "Find Titanfall2 install location";
+ omniButtonEl.textContent = button_manual_find_string;
}
})