add button to transfer data again
This commit is contained in:
@@ -269,13 +269,23 @@ function TransferDisplayModal(fileTransferViewModel: FileTransferViewModel) {
|
||||
]}
|
||||
></div>
|
||||
</main>
|
||||
<button
|
||||
on:click={fileTransferViewModel.hideModal}
|
||||
toggle:disabled={fileTransferViewModel.didNotFinishSending}
|
||||
>
|
||||
{translations.general.closeButton}
|
||||
<span class="icon">close</span>
|
||||
</button>
|
||||
<div class="flex-row width-100">
|
||||
<button
|
||||
class="flex"
|
||||
on:click={fileTransferViewModel.initiateTransfer}
|
||||
>
|
||||
{translations.dataTransferModal.sendAgainButton}
|
||||
<span class="icon">restart_alt</span>
|
||||
</button>
|
||||
<button
|
||||
class="flex"
|
||||
on:click={fileTransferViewModel.hideModal}
|
||||
toggle:disabled={fileTransferViewModel.didNotFinishSending}
|
||||
>
|
||||
{translations.general.closeButton}
|
||||
<span class="icon">close</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
||||
@@ -108,6 +108,7 @@ const englishTranslations = {
|
||||
transferKeyHeadline: "Transfer Encryption Key",
|
||||
|
||||
sendButton: "Send",
|
||||
sendAgainButton: "Send again",
|
||||
|
||||
///
|
||||
|
||||
@@ -370,6 +371,7 @@ const allTranslations: { [language: string]: typeof englishTranslations } = {
|
||||
transferKeyHeadline: "Schlüssel",
|
||||
|
||||
sendButton: "Senden",
|
||||
sendAgainButton: "Erneut senden",
|
||||
|
||||
filesSentCount: (count) => `Dateien gesendet: ${count}.`,
|
||||
allFilesSent: "Fertig.",
|
||||
@@ -603,6 +605,7 @@ const allTranslations: { [language: string]: typeof englishTranslations } = {
|
||||
transferKeyHeadline: "Clave de Encriptación de Transferencia",
|
||||
|
||||
sendButton: "Enviar",
|
||||
sendAgainButton: "Enviar otra vez",
|
||||
|
||||
filesSentCount: (count) => `Archivos enviados: ${count}.`,
|
||||
allFilesSent: "Hecho.",
|
||||
|
||||
Reference in New Issue
Block a user