From 5376d8c61c28bf2329b7edc499b2929e91aa6953 Mon Sep 17 00:00:00 2001 From: Patrizio Bekerle <patrizio@bekerle.com> Date: Mon, 8 Jun 2020 09:39:10 +0200 Subject: [PATCH] Add rotate-symbol and more tooltip text (#8) --- src/i18n/de/translation.json | 2 +- src/i18n/en/translation.json | 2 +- src/vpu-pdf-preview.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/i18n/de/translation.json b/src/i18n/de/translation.json index 0c1d802..eab8194 100644 --- a/src/i18n/de/translation.json +++ b/src/i18n/de/translation.json @@ -57,7 +57,7 @@ "next-page": "Nächste Seite", "last-page": "Letzte Seite", "page-count": "von {{totalPages}}", - "rotate-signature": "Signatur rotieren", + "rotate-signature": "Signatur im Uhrzeigersinn rotieren", "rotate": "Rotieren", "continue": "Platzierung bestätigen" }, diff --git a/src/i18n/en/translation.json b/src/i18n/en/translation.json index 1d19c99..60d33f2 100644 --- a/src/i18n/en/translation.json +++ b/src/i18n/en/translation.json @@ -57,7 +57,7 @@ "next-page": "Next page", "last-page": "Last page", "page-count": "of {{totalPages}}", - "rotate-signature": "Rotate signature", + "rotate-signature": "Rotate signature clockwise", "rotate": "Rotate", "continue": "Confirm placement" }, diff --git a/src/vpu-pdf-preview.js b/src/vpu-pdf-preview.js index f466d17..ea9e2cf 100644 --- a/src/vpu-pdf-preview.js +++ b/src/vpu-pdf-preview.js @@ -494,7 +494,7 @@ export class PdfPreview extends ScopedElementsMixin(VPULitElement) { <button class="button ${classMap({hidden: !this.isShowPlacement})}" title="${i18n.t('pdf-preview.rotate-signature')}" @click="${() => { this.rotateSignature(); } }" - ?disabled="${this.isPageRenderingInProgress}">${i18n.t('pdf-preview.rotate')}</button> + ?disabled="${this.isPageRenderingInProgress}">⟳ ${i18n.t('pdf-preview.rotate')}</button> <button class="button is-primary ${classMap({hidden: !this.isShowPlacement})}" @click="${() => { this.sendAcceptEvent(); } }">${i18n.t('pdf-preview.continue')}</button> </div> -- GitLab