mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-05 16:23:36 +00:00
Replace "unlabeled" with a separator
This commit is contained in:
7 files changed
+9
-14
No files matched your search
@@ -7,6 +7,7 @@ import { Skeleton } from '@/components/ui/skeleton';
|
||||
import { Input } from '@/components/ui/input';
|
||||
import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger } from '@/components/ui/dropdown-menu';
|
||||
import { Collapsible, CollapsibleContent, CollapsibleTrigger } from '@/components/ui/collapsible';
|
||||
import { Separator } from '@/components/ui/separator';
|
||||
import { useProjects } from '@/hooks/useProjects';
|
||||
import { useProjectSessionStatus } from '@/hooks/useProjectSessionStatus';
|
||||
import { useLocalStorage } from '@/hooks/useLocalStorage';
|
||||
@@ -414,8 +415,8 @@ export function ProjectSidebar({
|
||||
{groupedProjects.unlabeled.length > 0 && (
|
||||
<div className="space-y-0.5 mt-2">
|
||||
{labels.some(l => (groupedProjects.groups.get(l.id)?.length || 0) > 0) && (
|
||||
<div className="px-3 py-1.5 text-xs font-medium text-muted-foreground">
|
||||
{t('unlabeled')}
|
||||
<div className="px-3 py-1.5">
|
||||
<Separator />
|
||||
</div>
|
||||
)}
|
||||
{groupedProjects.unlabeled.map((project) => (
|
||||
|
||||
+1
-2
@@ -538,6 +538,5 @@
|
||||
"addLabel": "Add label",
|
||||
"selectLabels": "Select labels",
|
||||
"noLabelsCreated": "No labels created yet",
|
||||
"createNewLabel": "Create new label",
|
||||
"unlabeled": "Unlabeled"
|
||||
"createNewLabel": "Create new label"
|
||||
}
|
||||
+1
-2
@@ -445,6 +445,5 @@
|
||||
"addLabel": "Ƙara lakabi",
|
||||
"selectLabels": "Zaɓi lakabi",
|
||||
"noLabelsCreated": "Ba a ƙirƙiri lakabi tukuna ba",
|
||||
"createNewLabel": "Ƙirƙiri sabon lakabi",
|
||||
"unlabeled": "Babu lakabi"
|
||||
"createNewLabel": "Ƙirƙiri sabon lakabi"
|
||||
}
|
||||
+1
-2
@@ -442,6 +442,5 @@
|
||||
"addLabel": "Tinye akara",
|
||||
"selectLabels": "Họrọ akara",
|
||||
"noLabelsCreated": "Emepụtaghị akara ọ bụla",
|
||||
"createNewLabel": "Mepụta akara ọhụrụ",
|
||||
"unlabeled": "Enweghị akara"
|
||||
"createNewLabel": "Mepụta akara ọhụrụ"
|
||||
}
|
||||
+1
-2
@@ -454,6 +454,5 @@
|
||||
"addLabel": "Adicionar etiqueta",
|
||||
"selectLabels": "Selecionar etiquetas",
|
||||
"noLabelsCreated": "Nenhuma etiqueta criada ainda",
|
||||
"createNewLabel": "Criar nova etiqueta",
|
||||
"unlabeled": "Sem etiqueta"
|
||||
"createNewLabel": "Criar nova etiqueta"
|
||||
}
|
||||
+1
-2
@@ -442,6 +442,5 @@
|
||||
"addLabel": "Fi àmì kún",
|
||||
"selectLabels": "Yan àmì",
|
||||
"noLabelsCreated": "A kò tí ì ṣẹ̀dá àmì kankan",
|
||||
"createNewLabel": "Ṣẹ̀dá àmì tuntun",
|
||||
"unlabeled": "Kò ní àmì"
|
||||
"createNewLabel": "Ṣẹ̀dá àmì tuntun"
|
||||
}
|
||||
+1
-2
@@ -454,6 +454,5 @@
|
||||
"addLabel": "添加标签",
|
||||
"selectLabels": "选择标签",
|
||||
"noLabelsCreated": "尚未创建标签",
|
||||
"createNewLabel": "创建新标签",
|
||||
"unlabeled": "无标签"
|
||||
"createNewLabel": "创建新标签"
|
||||
}
|
||||
Reference in new issue
Block a user