remove google drive buttons

This commit is contained in:
vcoppe
2024-06-28 17:57:05 +02:00
parent ec8d3f8f87
commit 6f6846b76f
3 changed files with 10 additions and 22 deletions

View File

@@ -34,22 +34,20 @@
<Dialog.Content
class="fixed left-[50%] top-[50%] z-50 w-fit max-w-full translate-x-[-50%] translate-y-[-50%] flex flex-col items-center gap-2 border bg-background p-3 shadow-lg rounded-md"
>
<div class="flex flex-col items-center gap-2 rounded border p-2">
<div class="flex flex-row items-center gap-2 text-sm">
<span>⚠️</span>
<span class="text-center max-w-96">
{$_('menu.support_message')}
</span>
<span>⚠️</span>
</div>
<Button class="bg-support w-fit" href="https://ko-fi.com/gpxstudio">
<div class="flex flex-row items-center gap-4 border rounded-md p-2">
<span>⚠️</span>
<span class="max-w-96 text-sm">
{$_('menu.support_message')}
</span>
</div>
<div class="w-full flex flex-row flex-wrap gap-2">
<Button class="bg-support grow" href="https://ko-fi.com/gpxstudio" target="_blank">
{$_('menu.support_button')}
<span class="ml-2">🙏</span>
</Button>
</div>
<div class="flex flex-row gap-2 justify-center">
<Button
variant="outline"
class="grow"
on:click={() => {
if ($exportState === ExportState.SELECTION) {
exportSelectedFiles();
@@ -67,10 +65,6 @@
{$_('menu.download_files')}
{/if}
</Button>
<Button variant="outline">
<Cloud size="16" class="mr-1" />
{$_('menu.save_drive')}
</Button>
</div>
</Dialog.Content>
</Dialog.Portal>

View File

@@ -154,10 +154,6 @@
{$_('menu.load_desktop')}
<Shortcut key="O" ctrl={true} />
</Menubar.Item>
<Menubar.Item>
<Cloud size="16" class="mr-1" />
{$_('menu.load_drive')}</Menubar.Item
>
<Menubar.Separator />
<Menubar.Item on:click={dbUtils.duplicateSelection} disabled={$selection.size == 0}>
<Copy size="16" class="mr-1" />

View File

@@ -10,18 +10,16 @@
"new_track": "New track",
"new_segment": "New segment",
"load_desktop": "Load...",
"load_drive": "Load from Google Drive...",
"duplicate": "Duplicate",
"copy": "Copy",
"paste": "Paste",
"cut": "Cut",
"export": "Export...",
"export_all": "Export all...",
"support_message": "The tool is free to use, but not free to run. Please consider supporting the website if you use it frequently.",
"support_message": "The tool is free to use, but not free to run. Please consider supporting the website if you use it frequently. Thank you!",
"support_button": "Help keep the website free",
"download_file": "Download file",
"download_files": "Download files",
"save_drive": "Save to Google Drive",
"edit": "Edit",
"undo": "Undo",
"redo": "Redo",