Skip to content
Snippets Groups Projects
Commit 7a6a2d2d authored by Steinwender, Tamara's avatar Steinwender, Tamara
Browse files

Change clipboard button

parent 8cfedaa7
No related branches found
No related tags found
No related merge requests found
Pipeline #25645 passed
......@@ -458,6 +458,7 @@ export class FileHandlingClipboard extends ScopedElementsMixin(DBPLitElement) {
}
.clipboard-data p{
margin-top: 1rem;
margin-bottom: 1rem;
}
......@@ -549,9 +550,10 @@ export class FileHandlingClipboard extends ScopedElementsMixin(DBPLitElement) {
<div class="clipboard-data ${classMap({"hidden": this.clipboardFiles.files.length === 0})}">
<h4>${i18n.t('file-sink.clipboard-files')}</h4>
<div class="${classMap({"hidden": this.clipboardFiles.files.length === 0})}">
<div>
<p>${i18n.t('clipboard.save-from-clipboard')}</p>
<button id="clipboard-download-button"
class="button is-right clipboard-btn"
class="button is-right"
@click="${this.openClipboardFileSink}"
>${i18n.t('clipboard.save-from-clipboard-btn')}</button>
</div>
......
......@@ -103,6 +103,7 @@
"file-warning-body_plural": "Es befinden sich noch {{count}} Dateien in der Zwischenablage. Die Zwischenablage wird beim Verlassen der Seite automatisch verworfen.",
"save-files-from-clipboard": "Eine Datei aus der Zwischenablage speichern",
"save-files-from-clipboard_plurafile-sinkl": "{{count}} Dateien aus der Zwischenablage speichern",
"save-from-clipboard-btn": "Aktuellen Inhalt aus der Zwischenablage speichern"
"save-from-clipboard": "Aktuellen Inhalt aus der Zwischenablage speichern:",
"save-from-clipboard-btn": "Zwischenablage speichern"
}
}
......@@ -103,6 +103,7 @@
"file-warning-body_plural": "There are still {{count}} files on the clipboard. The clipboard is automatically discarded when you exit the page.",
"save-files-from-clipboard": "Save a file from the clipboard",
"save-files-from-clipboard_plural": "Save {{count}} files from the clipboard",
"save-from-clipboard-btn": "Save the current content from the clipboard"
"save-from-clipboard": "Save the current content from the clipboard:",
"save-from-clipboard-btn": "Save the clipboard"
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment