File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 241241 "addHours" : " + Add hours" ,
242242 "addBlock" : " Add block" ,
243243 "saving" : " saving…" ,
244+ "eventTypes" : {
245+ "appliesTo" : " Applies to" ,
246+ "allEventTypes" : " All event types"
247+ },
244248 "blockError" : {
245249 "endAfterStart" : " End must be after start"
246250 },
Original file line number Diff line number Diff line change 241241 "addHours" : " + Ajouter des horaires" ,
242242 "addBlock" : " Ajouter un bloc" ,
243243 "saving" : " enregistrement…" ,
244+ "eventTypes" : {
245+ "appliesTo" : " S'applique à" ,
246+ "allEventTypes" : " Tous les types d'événements"
247+ },
244248 "blockError" : {
245249 "endAfterStart" : " La fin doit être après le début"
246250 },
Original file line number Diff line number Diff line change 402402 <span class ="text-xs text-destructive" >{block .error }</span >
403403 {/if }
404404
405+ <span class =" text-muted-foreground" >|</span >
406+ <div class =" text-sm font-normal text-muted-foreground" >
407+ {$t (' availability.eventTypes.appliesTo' )}:
408+ </div >
405409 <Select .Root
406410 type =" single"
407411 bind:value ={block .event_type_id }
410414 >
411415 <Select .Trigger class =" w-fit" >
412416 {#if block .event_type_id === " null" }
413- All
417+ { $t ( ' availability.eventTypes.allEventTypes ' )}
414418 {:else }
415419 {eventName (block .event_type_id )?.name ?? block .event_type_id }
416420 {/if }
417421 </Select .Trigger >
418422 <Select .Content >
419- <Select .Item value =" null" label =" All" >All </Select .Item >
423+ <Select .Item value ="null" label ="All" >{ $t ( ' availability.eventTypes.allEventTypes ' )} </Select .Item >
420424 {#each eventTypes as e }<Select .Item value ={e .id } label ={e .name }>{e .name }</Select .Item >{/each }
421425 </Select .Content >
422426 </Select .Root >
You can’t perform that action at this time.
0 commit comments