Skip to content

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

fix: location create modal shows 'Item Photo' instead of 'Location Photo' (closes #1456) (#1490)

bskthefirst521e4a849dfc
diff --git a/frontend/components/Location/CreateModal.vue b/frontend/components/Location/CreateModal.vue
index fe8e30cf..b87e2ef7 100644
--- a/frontend/components/Location/CreateModal.vue
+++ b/frontend/components/Location/CreateModal.vue
@@ -36,7 +36,7 @@
<!-- Photo upload -->
<div class="flex w-full flex-col gap-1.5">
<Label for="location-create-photo" class="flex w-full px-1">
- {{ $t("components.item.create_modal.item_photo") }}
+ {{ $t("components.location.create_modal.location_photo") }}
</Label>
<div class="relative inline-block">
<Button type="button" variant="outline" class="w-full" aria-hidden="true" @click.prevent="">
diff --git a/frontend/locales/en.json b/frontend/locales/en.json
index 9fafc96c..b04f5419 100644
--- a/frontend/locales/en.json
+++ b/frontend/locales/en.json
@@ -283,6 +283,7 @@
"create_modal": {
"location_description": "Location Description",
"location_name": "Location Name",
+ "location_photo": "Location Photo 📷",
"title": "Create Location",
"toast": {
"already_creating": "Already creating a location",