Skip to content

A continuation of HomeBox the inventory and organization system built for the Home User

chore: minor tweak

Matt Kilgore9f7b76b37d78
diff --git a/frontend/locales/en.json b/frontend/locales/en.json
index 3a046598..d9fb9308 100644
--- a/frontend/locales/en.json
+++ b/frontend/locales/en.json
@@ -1,7 +1,7 @@
{
"tagline": "Track, Organize, and Manage your Things.",
- "version": "Version",
- "build": "Build",
+ "version": "Version: { version }",
+ "build": "Build: { build }",
"disabled_registration": "Registration Disabled",
"login": "Login",
"register": "Register",
diff --git a/frontend/pages/index.vue b/frontend/pages/index.vue
index 764a1aa1..fcca51f6 100644
--- a/frontend/pages/index.vue
+++ b/frontend/pages/index.vue
@@ -254,7 +254,7 @@
</div>
<footer v-if="status" class="mt-auto text-center w-full bottom-0 pb-4">
<p class="text-center text-sm">
- {{ $t("version") }}: {{ status.build.version }} ~ {{ $t("build") }}: {{ status.build.commit }}
+ {{ $t("version", { version: status.build.version }) }} ~ {{ $t("build", { build: status.build.commit }) }}
</p>
</footer>
</div>