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:
copilot-swe-agent[bot]
2025-12-14 02:19:19 +00:00
parent 8463b70229
commit bc7ca76ab5
3 changed files with 9 additions and 2 deletions

View File

@@ -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;

View File

@@ -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;

View File

@@ -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",