pretty format fixes

This commit is contained in:
dawoodkhan82 2022-02-11 14:10:30 -05:00
parent 2438b0bb90
commit bd58f25d57
5 changed files with 12 additions and 12 deletions

View File

@ -14,8 +14,8 @@
import "./themes/peach.css";
import "./themes/seafoam.css";
import { _ } from "svelte-i18n";
import { setupi18n } from "./i18n";
setupi18n()
import { setupi18n } from "./i18n";
setupi18n();
interface Component {
name: string;

View File

@ -223,13 +223,13 @@
class="panel-button bg-gray-50 dark:bg-gray-700 flex-1 p-3 rounded transition font-semibold focus:outline-none"
on:click={clear}
>
{$_("interface.clear")}
{$_("interface.clear")}
</button>
<button
class="panel-button submit bg-gray-50 dark:bg-gray-700 flex-1 p-3 rounded transition font-semibold focus:outline-none"
on:click={submit}
>
{$_("interface.submit")}
{$_("interface.submit")}
</button>
</div>
</div>
@ -296,7 +296,7 @@
{#if interpret_mode}
Hide
{:else}
{$_("interface.interpret")}
{$_("interface.interpret")}
{/if}
</button>
{/if}
@ -305,7 +305,7 @@
class="panel-button flag bg-gray-50 dark:bg-gray-700 flex-1 p-3 rounded transition font-semibold focus:outline-none"
on:click={flag}
>
{$_("interface.flag")}
{$_("interface.flag")}
</button>
{/if}
</div>

View File

@ -137,7 +137,7 @@
{:else if source === "upload"}
<Upload filetype="audio/*" load={setValue} {theme}>
{$_("interface.drop_audio")}
<br />- {$_("interface.or")} -<br />
<br />- {$_("interface.or")} -<br />
{$_("interface.click_to_upload")}
</Upload>
{/if}

View File

@ -61,9 +61,9 @@
include_file_metadata={false}
{theme}
>
{$_("interface.drop_image")}
{$_("interface.drop_image")}
<br />- {$_("interface.or")} -<br />
{$_("interface.click_to_upload")}
{$_("interface.click_to_upload")}
</Upload>
{:else if source === "webcam"}
<Webcam on:capture={({ detail }) => setValue(detail)} {static_src} />

View File

@ -40,9 +40,9 @@
load={handle_load}
{theme}
>
{$_("interface.drop_video")}
<br />- {$_("interface.or")} -<br />
{$_("interface.click_to_upload")}
{$_("interface.drop_video")}
<br />- {$_("interface.or")} -<br />
{$_("interface.click_to_upload")}
</Upload>
{/if}
{:else}