translations

This commit is contained in:
galister
2025-12-12 01:39:02 +09:00
parent 99b7267970
commit 97c11c6791
8 changed files with 48 additions and 44 deletions

View File

@@ -10,7 +10,7 @@
align_items="center"
justify_content="center">
<label color="#FFFF00" size="36" text="Center" weight="bold" />
<label color="#FFFF00" size="36" translation="ANCHOR.CENTER" weight="bold" />
</rectangle>
</div>

View File

@@ -1,35 +0,0 @@
<layout>
<theme>
<var key="border" value="2" />
</theme>
<macro name="button_style"
margin="2" overflow="hidden" box_sizing="border_box" align_items="center" justify_content="center"
border_color="#0044CC" border="2" round="8" color="#000A1C" color2="#000002" gradient="vertical" />
<template name="Set">
<Button macro="button_style" _press="::SetToggle ${handle}">
<sprite width="40" height="40" color="~set_color" src="watch/set2.svg" />
<div position="absolute" margin_top="9">
<label text="${display}" size="24" color="#00050F" weight="bold" />
</div>
</Button>
</template>
<elements>
<div width="400" height="200">
<rectangle width="100%" height="100%" padding="4" box_sizing="content_box" flex_wrap="wrap" flex_direction="column" gap="4" color="~color_bg">
<label text="Select set to edit" size="48" color="#ffffff" weight="bold" />
<div width="100%" flex_direction="row">
<div id="sets">
<!-- Will populate <Set> tags at runtime -->
</div>
<Button macro="button_style" _press="::EditToggle">
<sprite color="~set_color" width="40" height="40" src="watch/edit.svg" />
</Button>
</div>
<label text="" size="48" color="#ffffff" weight="bold" />
</rectangle>
</div>
</elements>
</layout>

View File

@@ -88,15 +88,14 @@
<Button macro="button_style" _press="::PlayspaceRecenter" tooltip="WATCH.RECENTER" tooltip_side="bottom">
<sprite width="40" height="40" color="~set_color" src="watch/recenter.svg" />
</Button>
<Button macro="button_style" _press="::PlayspaceFixFloor" tooltip="WATCH.FIX-FLOOR" tooltip_side="bottom">
<Button macro="button_style" _press="::PlayspaceFixFloor" tooltip="WATCH.FIX_FLOOR" tooltip_side="bottom">
<sprite width="40" height="40" color="~set_color" src="watch/fix-floor.svg" />
</Button>
</div>
</div>
<div flex_direction="column" id="edit_pane" display="none" >
<div flex_direction="column" padding="4" align_items="center" justify_content="center">
<label text="Overlays can now be moved and tuned individually." />
<label text="Control which overlays are visible on this set:" />
<label translation="WATCH.EDIT_MODE_EXPLANATION" align="center" />
</div>
<div flex_direction="row" flex_wrap="wrap" padding="4" align_items="center" justify_content="center" id="toolbox">
<Button macro="button_style" padding="4" translation="Keyboard" tooltip="WATCH.TOGGLE_FOR_CURRENT_SET" _press="::OverlayToggle kbd" />