atmosphere explorer
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix permission-set title:lang

Juliet 91857add 7dd0cc1e

+8 -8
+8 -8
src/components/lexicon-schema.tsx
··· 53 53 format?: string; 54 54 // Permission-set fields 55 55 title?: string; 56 - "title:langs"?: { [lang: string]: string }; 56 + "title:lang"?: { [lang: string]: string }; 57 57 detail?: string; 58 - "detail:langs"?: { [lang: string]: string }; 58 + "detail:lang"?: { [lang: string]: string }; 59 59 permissions?: LexiconPermission[]; 60 60 } 61 61 ··· 480 480 <span class="text-sm font-medium">{props.def.title}</span> 481 481 </div> 482 482 </Show> 483 - <Show when={props.def["title:langs"]}> 483 + <Show when={props.def["title:lang"]}> 484 484 <div class="flex flex-col gap-1"> 485 485 <span class="text-xs font-semibold text-neutral-500 uppercase dark:text-neutral-400"> 486 486 Localized Titles 487 487 </span> 488 488 <div class="flex flex-col gap-1"> 489 - <For each={Object.entries(props.def["title:langs"]!)}> 489 + <For each={Object.entries(props.def["title:lang"]!)}> 490 490 {([lang, text]) => ( 491 491 <div class="flex items-center gap-2 text-sm"> 492 - <span class="rounded bg-neutral-100 px-1.5 py-0.5 font-mono text-xs dark:bg-neutral-800"> 492 + <span class="dark:bg-dark-200 rounded bg-neutral-200/50 px-1.5 py-0.5 font-mono text-xs"> 493 493 {lang} 494 494 </span> 495 495 <span>{text}</span> ··· 507 507 <p class="text-sm text-neutral-700 dark:text-neutral-300">{props.def.detail}</p> 508 508 </div> 509 509 </Show> 510 - <Show when={props.def["detail:langs"]}> 510 + <Show when={props.def["detail:lang"]}> 511 511 <div class="flex flex-col gap-1"> 512 512 <span class="text-xs font-semibold text-neutral-500 uppercase dark:text-neutral-400"> 513 513 Localized Details 514 514 </span> 515 515 <div class="flex flex-col gap-1"> 516 - <For each={Object.entries(props.def["detail:langs"]!)}> 516 + <For each={Object.entries(props.def["detail:lang"]!)}> 517 517 {([lang, text]) => ( 518 518 <div class="flex flex-col gap-1 text-sm"> 519 - <span class="w-fit rounded bg-neutral-100 px-1.5 py-0.5 font-mono text-xs dark:bg-neutral-800"> 519 + <span class="dark:bg-dark-200 w-fit rounded bg-neutral-200/50 px-1.5 py-0.5 font-mono text-xs"> 520 520 {lang} 521 521 </span> 522 522 <p class="text-neutral-700 dark:text-neutral-300">{text}</p>