Release 0.0.3
This commit is contained in:
@@ -4,9 +4,9 @@ import { StorageAuditReportApp } from "./apps/audit-report-app.js";
|
||||
Hooks.once("init", () => {
|
||||
console.log("kosmos-storage-audit | init");
|
||||
game.settings.registerMenu("kosmos-storage-audit", "report", {
|
||||
name: "Kosmos Storage Audit",
|
||||
label: "Open Report",
|
||||
hint: "Run the storage audit and inspect prioritized findings.",
|
||||
name: localize("KSA.Menu.Name"),
|
||||
label: localize("KSA.Menu.Label"),
|
||||
hint: localize("KSA.Menu.Hint"),
|
||||
icon: "fa-solid fa-broom-ball",
|
||||
type: StorageAuditReportApp,
|
||||
restricted: true
|
||||
@@ -20,3 +20,7 @@ Hooks.once("init", () => {
|
||||
Hooks.once("ready", () => {
|
||||
console.log("kosmos-storage-audit | ready");
|
||||
});
|
||||
|
||||
function localize(key) {
|
||||
return game.i18n?.localize(key) ?? key;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user