Add interface languages and improve themes and workspace controls for 0.1.36
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
<script lang="ts">
|
||||
import { t } from "$lib/i18n";
|
||||
import { tick, untrack } from "svelte";
|
||||
import { getCurrentWindow } from "@tauri-apps/api/window";
|
||||
import { pluginHost } from "$lib/plugins/registry";
|
||||
@@ -75,12 +76,12 @@
|
||||
</script>
|
||||
|
||||
<svelte:window onkeydown={keydown} />
|
||||
<div class="browser-window" role="application" aria-label="RuneStone browser">
|
||||
<div class="browser-window" role="application" aria-label={$t("RuneStone browser")}>
|
||||
<header class="header" data-tauri-drag-region>
|
||||
<TabBar {tabs} activePath={active} onSelect={select} onClose={close} onCloseTabs={close}
|
||||
onMove={move} onPin={pinPluginEditor} fileActions={() => []} tabActions={actions}
|
||||
tabDragData={dragData} onDropTab={(data, index) => void receive(data, index)} />
|
||||
<IconButton icon="plus" label="New browser tab (Ctrl T)" disabled={!browser?.newTab || opening} onclick={() => void newTab()} />
|
||||
<IconButton icon="plus" label={$t("New browser tab (Ctrl T)")} disabled={!browser?.newTab || opening} onclick={() => void newTab()} />
|
||||
<div class="window-drag-space" data-tauri-drag-region></div>
|
||||
<WindowControls onError={message => error = message} />
|
||||
</header>
|
||||
|
||||
Reference in New Issue
Block a user