aboutsummaryrefslogtreecommitdiff
path: root/src/modules/requests.js
diff options
context:
space:
mode:
author0neGal <mail@0negal.com>2023-09-16 02:17:46 +0200
committer0neGal <mail@0negal.com>2023-09-16 02:20:05 +0200
commitb125018808b43fac9f5c81d7e7b07ec92eef30fc (patch)
tree1356b2236b3f26525d1fc13f10b684ac0baebb30 /src/modules/requests.js
parenta91f0d2eac46510c109a4faebf520f68a3456aab (diff)
downloadViper-b125018808b43fac9f5c81d7e7b07ec92eef30fc.tar.gz
Viper-b125018808b43fac9f5c81d7e7b07ec92eef30fc.zip
made some lang keys far more logical
Most of these are from back when Viper was originally started, I also removed a few keys as they were no longer in use, but were forgotten about, most of these are from pre-v1.0.0 aka, the old smaller UI
Diffstat (limited to 'src/modules/requests.js')
-rw-r--r--src/modules/requests.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/requests.js b/src/modules/requests.js
index 6841fe2..94639fa 100644
--- a/src/modules/requests.js
+++ b/src/modules/requests.js
@@ -123,7 +123,7 @@ async function getNsReleaseNotes() {
resolve( cache[NORTHSTAR_RELEASE_NOTES_KEY]["body"] );
} else {
console.error("Couldn't fetch Northstar release notes, cache is empty.");
- resolve( [lang("request.northstar.noReleaseNotes")] );
+ resolve( [lang("request.no_ns_release_notes")] );
}
});
}
@@ -174,7 +174,7 @@ async function getVpReleaseNotes() {
resolve( cache[VIPER_RELEASE_NOTES_KEY]["body"] );
} else {
console.error("Couldn't fetch Viper release notes, cache is empty.");
- resolve( [lang("request.viper.noReleaseNotes")] );
+ resolve( [lang("request.no_vp_release_notes")] );
}
});
}