mirror of
https://github.com/sysadminsmedia/homebox.git
synced 2025-12-21 21:33:02 +01:00
Fix code review issues: migration comments and add missing translations
Co-authored-by: tankerkiller125 <3457368+tankerkiller125@users.noreply.github.com>
This commit is contained in:
@@ -1,3 +1,3 @@
|
|||||||
-- +goose Up
|
-- +goose Up
|
||||||
-- Add parent_id column to labels table for hierarchical label organization
|
-- Add label_children column to labels table for hierarchical label organization
|
||||||
ALTER TABLE labels ADD COLUMN label_children UUID REFERENCES labels(id) ON DELETE CASCADE;
|
ALTER TABLE labels ADD COLUMN label_children UUID REFERENCES labels(id) ON DELETE CASCADE;
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
-- +goose Up
|
-- +goose Up
|
||||||
-- Add parent_id column to labels table for hierarchical label organization
|
-- Add label_children column to labels table for hierarchical label organization
|
||||||
ALTER TABLE labels ADD COLUMN label_children TEXT REFERENCES labels(id) ON DELETE CASCADE;
|
ALTER TABLE labels ADD COLUMN label_children TEXT REFERENCES labels(id) ON DELETE CASCADE;
|
||||||
|
|||||||
@@ -202,6 +202,11 @@
|
|||||||
"label_name_too_long": "Label name must not be longer than 50 characters"
|
"label_name_too_long": "Label name must not be longer than 50 characters"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"parent_selector": {
|
||||||
|
"label": "Parent Label",
|
||||||
|
"no_parent": "No Parent",
|
||||||
|
"placeholder": "Select a parent label"
|
||||||
|
},
|
||||||
"selector": {
|
"selector": {
|
||||||
"select_labels": "Select Labels"
|
"select_labels": "Select Labels"
|
||||||
}
|
}
|
||||||
@@ -506,8 +511,10 @@
|
|||||||
"warranty_expires": "Warranty Expires"
|
"warranty_expires": "Warranty Expires"
|
||||||
},
|
},
|
||||||
"labels": {
|
"labels": {
|
||||||
|
"child_labels": "Child Labels",
|
||||||
"label_delete_confirm": "Are you sure you want to delete this label? This action cannot be undone.",
|
"label_delete_confirm": "Are you sure you want to delete this label? This action cannot be undone.",
|
||||||
"no_results": "No Labels Found",
|
"no_results": "No Labels Found",
|
||||||
|
"parent_label": "Parent Label",
|
||||||
"toast": {
|
"toast": {
|
||||||
"failed_delete_label": "Failed to delete label",
|
"failed_delete_label": "Failed to delete label",
|
||||||
"failed_load_label": "Failed to load label",
|
"failed_load_label": "Failed to load label",
|
||||||
|
|||||||
Reference in New Issue
Block a user