From 4ebeedc028be116df430f238c494cd1c15f51e48 Mon Sep 17 00:00:00 2001 From: reecebrowne <74901996+reecebrowne@users.noreply.github.com> Date: Thu, 21 Nov 2024 19:33:19 +0000 Subject: [PATCH] Hover tools tooltips (#2290) * Multi-tool advert on pages that share functionality * Update translation files Signed-off-by: GitHub Action * Rtl CSS * Upgraded tooltips on multitool. Order selected pages list. Repositionicons. Minor additional tweaks * restore gb translations * Update translation files Signed-off-by: GitHub Action * remove blankspace * Restore hover tooltips * Update translation files Signed-off-by: GitHub Action --------- Signed-off-by: GitHub Action Co-authored-by: GitHub Action Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- src/main/resources/messages_ar_AR.properties | 3 +++ src/main/resources/messages_bg_BG.properties | 3 +++ src/main/resources/messages_ca_CA.properties | 3 +++ src/main/resources/messages_cs_CZ.properties | 3 +++ src/main/resources/messages_da_DK.properties | 3 +++ src/main/resources/messages_de_DE.properties | 3 +++ src/main/resources/messages_el_GR.properties | 3 +++ src/main/resources/messages_en_GB.properties | 3 +++ src/main/resources/messages_en_US.properties | 3 +++ src/main/resources/messages_es_ES.properties | 3 +++ src/main/resources/messages_eu_ES.properties | 3 +++ src/main/resources/messages_fr_FR.properties | 3 +++ src/main/resources/messages_ga_IE.properties | 3 +++ src/main/resources/messages_hi_IN.properties | 3 +++ src/main/resources/messages_hr_HR.properties | 3 +++ src/main/resources/messages_hu_HU.properties | 3 +++ src/main/resources/messages_id_ID.properties | 3 +++ src/main/resources/messages_it_IT.properties | 3 +++ src/main/resources/messages_ja_JP.properties | 3 +++ src/main/resources/messages_ko_KR.properties | 3 +++ src/main/resources/messages_nl_NL.properties | 3 +++ src/main/resources/messages_no_NB.properties | 3 +++ src/main/resources/messages_pl_PL.properties | 3 +++ src/main/resources/messages_pt_BR.properties | 3 +++ src/main/resources/messages_pt_PT.properties | 3 +++ src/main/resources/messages_ro_RO.properties | 3 +++ src/main/resources/messages_ru_RU.properties | 3 +++ src/main/resources/messages_sk_SK.properties | 3 +++ .../resources/messages_sr_LATN_RS.properties | 3 +++ src/main/resources/messages_sv_SE.properties | 3 +++ src/main/resources/messages_th_TH.properties | 3 +++ src/main/resources/messages_tr_TR.properties | 3 +++ src/main/resources/messages_uk_UA.properties | 3 +++ src/main/resources/messages_vi_VN.properties | 3 +++ src/main/resources/messages_zh_CN.properties | 3 +++ src/main/resources/messages_zh_TW.properties | 3 +++ src/main/resources/static/css/multi-tool.css | 2 +- src/main/resources/static/css/pdfActions.css | 10 ++++++---- .../static/js/multitool/PdfActionsManager.js | 17 +++++++++-------- src/main/resources/templates/multi-tool.html | 16 +++++++++++++++- 40 files changed, 139 insertions(+), 14 deletions(-) diff --git a/src/main/resources/messages_ar_AR.properties b/src/main/resources/messages_ar_AR.properties index 03b5e78256a..1257625eb7f 100644 --- a/src/main/resources/messages_ar_AR.properties +++ b/src/main/resources/messages_ar_AR.properties @@ -949,6 +949,9 @@ multiTool.addFile=Add File multiTool.rotateLeft=Rotate Left multiTool.rotateRight=Rotate Right multiTool.split=Split +multiTool.moveLeft=Move Left +multiTool.moveRight=Move Right +multiTool.delete=Delete #multiTool-advert multiTool-advert.message=هذه الميزة متوفرة في صفحة الأدوات المتعددة لدينا. اطلع عليها للحصول على واجهة مستخدم محسّنة لكل صفحة وميزات إضافية! diff --git a/src/main/resources/messages_bg_BG.properties b/src/main/resources/messages_bg_BG.properties index 340762a3dbd..1521c77db23 100644 --- a/src/main/resources/messages_bg_BG.properties +++ b/src/main/resources/messages_bg_BG.properties @@ -949,6 +949,9 @@ multiTool.addFile=Add File multiTool.rotateLeft=Rotate Left multiTool.rotateRight=Rotate Right multiTool.split=Split +multiTool.moveLeft=Move Left +multiTool.moveRight=Move Right +multiTool.delete=Delete #multiTool-advert multiTool-advert.message=This feature is also available in our multi-tool page. Check it out for enhanced page-by-page UI and additional features! diff --git a/src/main/resources/messages_ca_CA.properties b/src/main/resources/messages_ca_CA.properties index abf924e9a6a..38ee1edd650 100644 --- a/src/main/resources/messages_ca_CA.properties +++ b/src/main/resources/messages_ca_CA.properties @@ -949,6 +949,9 @@ multiTool.addFile=Add File multiTool.rotateLeft=Rotate Left multiTool.rotateRight=Rotate Right multiTool.split=Split +multiTool.moveLeft=Move Left +multiTool.moveRight=Move Right +multiTool.delete=Delete #multiTool-advert multiTool-advert.message=This feature is also available in our multi-tool page. Check it out for enhanced page-by-page UI and additional features! diff --git a/src/main/resources/messages_cs_CZ.properties b/src/main/resources/messages_cs_CZ.properties index b242021bbc0..a74901210cf 100644 --- a/src/main/resources/messages_cs_CZ.properties +++ b/src/main/resources/messages_cs_CZ.properties @@ -949,6 +949,9 @@ multiTool.addFile=Add File multiTool.rotateLeft=Rotate Left multiTool.rotateRight=Rotate Right multiTool.split=Split +multiTool.moveLeft=Move Left +multiTool.moveRight=Move Right +multiTool.delete=Delete #multiTool-advert multiTool-advert.message=This feature is also available in our multi-tool page. Check it out for enhanced page-by-page UI and additional features! diff --git a/src/main/resources/messages_da_DK.properties b/src/main/resources/messages_da_DK.properties index 3f44add81ae..e744d7f486d 100644 --- a/src/main/resources/messages_da_DK.properties +++ b/src/main/resources/messages_da_DK.properties @@ -949,6 +949,9 @@ multiTool.addFile=Add File multiTool.rotateLeft=Rotate Left multiTool.rotateRight=Rotate Right multiTool.split=Split +multiTool.moveLeft=Move Left +multiTool.moveRight=Move Right +multiTool.delete=Delete #multiTool-advert multiTool-advert.message=This feature is also available in our multi-tool page. Check it out for enhanced page-by-page UI and additional features! diff --git a/src/main/resources/messages_de_DE.properties b/src/main/resources/messages_de_DE.properties index c944526a3a8..019a0725310 100644 --- a/src/main/resources/messages_de_DE.properties +++ b/src/main/resources/messages_de_DE.properties @@ -949,6 +949,9 @@ multiTool.addFile=Add File multiTool.rotateLeft=Rotate Left multiTool.rotateRight=Rotate Right multiTool.split=Split +multiTool.moveLeft=Move Left +multiTool.moveRight=Move Right +multiTool.delete=Delete #multiTool-advert multiTool-advert.message=Diese Funktion ist auch auf unserer PDF-Multitool-Seite verfügbar. Probieren Sie sie aus, denn sie bietet eine verbesserte Benutzeroberfläche und zusätzliche Funktionen! diff --git a/src/main/resources/messages_el_GR.properties b/src/main/resources/messages_el_GR.properties index 4e4eeca9575..093b5fc3565 100644 --- a/src/main/resources/messages_el_GR.properties +++ b/src/main/resources/messages_el_GR.properties @@ -949,6 +949,9 @@ multiTool.addFile=Add File multiTool.rotateLeft=Rotate Left multiTool.rotateRight=Rotate Right multiTool.split=Split +multiTool.moveLeft=Move Left +multiTool.moveRight=Move Right +multiTool.delete=Delete #multiTool-advert multiTool-advert.message=This feature is also available in our multi-tool page. Check it out for enhanced page-by-page UI and additional features! diff --git a/src/main/resources/messages_en_GB.properties b/src/main/resources/messages_en_GB.properties index c0f9c73842c..bc0b97454eb 100644 --- a/src/main/resources/messages_en_GB.properties +++ b/src/main/resources/messages_en_GB.properties @@ -949,6 +949,9 @@ multiTool.addFile=Add File multiTool.rotateLeft=Rotate Left multiTool.rotateRight=Rotate Right multiTool.split=Split +multiTool.moveLeft=Move Left +multiTool.moveRight=Move Right +multiTool.delete=Delete #multiTool-advert multiTool-advert.message=This feature is also available in our multi-tool page. Check it out for enhanced page-by-page UI and additional features! diff --git a/src/main/resources/messages_en_US.properties b/src/main/resources/messages_en_US.properties index d7b96357483..d8028142267 100644 --- a/src/main/resources/messages_en_US.properties +++ b/src/main/resources/messages_en_US.properties @@ -949,6 +949,9 @@ multiTool.addFile=Add File multiTool.rotateLeft=Rotate Left multiTool.rotateRight=Rotate Right multiTool.split=Split +multiTool.moveLeft=Move Left +multiTool.moveRight=Move Right +multiTool.delete=Delete #multiTool-advert multiTool-advert.message=This feature is also available in our multi-tool page. Check it out for enhanced page-by-page UI and additional features! diff --git a/src/main/resources/messages_es_ES.properties b/src/main/resources/messages_es_ES.properties index 18ee985d33e..db7c43bc76b 100644 --- a/src/main/resources/messages_es_ES.properties +++ b/src/main/resources/messages_es_ES.properties @@ -949,6 +949,9 @@ multiTool.addFile=Add File multiTool.rotateLeft=Rotate Left multiTool.rotateRight=Rotate Right multiTool.split=Split +multiTool.moveLeft=Move Left +multiTool.moveRight=Move Right +multiTool.delete=Delete #multiTool-advert multiTool-advert.message=This feature is also available in our multi-tool page. Check it out for enhanced page-by-page UI and additional features! diff --git a/src/main/resources/messages_eu_ES.properties b/src/main/resources/messages_eu_ES.properties index e010f06399f..ecfef3f2042 100644 --- a/src/main/resources/messages_eu_ES.properties +++ b/src/main/resources/messages_eu_ES.properties @@ -949,6 +949,9 @@ multiTool.addFile=Add File multiTool.rotateLeft=Rotate Left multiTool.rotateRight=Rotate Right multiTool.split=Split +multiTool.moveLeft=Move Left +multiTool.moveRight=Move Right +multiTool.delete=Delete #multiTool-advert multiTool-advert.message=This feature is also available in our multi-tool page. Check it out for enhanced page-by-page UI and additional features! diff --git a/src/main/resources/messages_fr_FR.properties b/src/main/resources/messages_fr_FR.properties index a95c14b0a57..aa4753b3ad8 100644 --- a/src/main/resources/messages_fr_FR.properties +++ b/src/main/resources/messages_fr_FR.properties @@ -949,6 +949,9 @@ multiTool.addFile=Add File multiTool.rotateLeft=Rotate Left multiTool.rotateRight=Rotate Right multiTool.split=Split +multiTool.moveLeft=Move Left +multiTool.moveRight=Move Right +multiTool.delete=Delete #multiTool-advert multiTool-advert.message=This feature is also available in our multi-tool page. Check it out for enhanced page-by-page UI and additional features! diff --git a/src/main/resources/messages_ga_IE.properties b/src/main/resources/messages_ga_IE.properties index 6d2340b5d76..2e1dfbc217a 100644 --- a/src/main/resources/messages_ga_IE.properties +++ b/src/main/resources/messages_ga_IE.properties @@ -949,6 +949,9 @@ multiTool.addFile=Add File multiTool.rotateLeft=Rotate Left multiTool.rotateRight=Rotate Right multiTool.split=Split +multiTool.moveLeft=Move Left +multiTool.moveRight=Move Right +multiTool.delete=Delete #multiTool-advert multiTool-advert.message=This feature is also available in our multi-tool page. Check it out for enhanced page-by-page UI and additional features! diff --git a/src/main/resources/messages_hi_IN.properties b/src/main/resources/messages_hi_IN.properties index f4e56c44226..3547f9beb94 100644 --- a/src/main/resources/messages_hi_IN.properties +++ b/src/main/resources/messages_hi_IN.properties @@ -949,6 +949,9 @@ multiTool.addFile=Add File multiTool.rotateLeft=Rotate Left multiTool.rotateRight=Rotate Right multiTool.split=Split +multiTool.moveLeft=Move Left +multiTool.moveRight=Move Right +multiTool.delete=Delete #multiTool-advert multiTool-advert.message=This feature is also available in our multi-tool page. Check it out for enhanced page-by-page UI and additional features! diff --git a/src/main/resources/messages_hr_HR.properties b/src/main/resources/messages_hr_HR.properties index e4bd6a0dc33..d4025f82777 100644 --- a/src/main/resources/messages_hr_HR.properties +++ b/src/main/resources/messages_hr_HR.properties @@ -949,6 +949,9 @@ multiTool.addFile=Add File multiTool.rotateLeft=Rotate Left multiTool.rotateRight=Rotate Right multiTool.split=Split +multiTool.moveLeft=Move Left +multiTool.moveRight=Move Right +multiTool.delete=Delete #multiTool-advert multiTool-advert.message=This feature is also available in our multi-tool page. Check it out for enhanced page-by-page UI and additional features! diff --git a/src/main/resources/messages_hu_HU.properties b/src/main/resources/messages_hu_HU.properties index d9b8c323a9c..7890785c9b1 100644 --- a/src/main/resources/messages_hu_HU.properties +++ b/src/main/resources/messages_hu_HU.properties @@ -949,6 +949,9 @@ multiTool.addFile=Add File multiTool.rotateLeft=Rotate Left multiTool.rotateRight=Rotate Right multiTool.split=Split +multiTool.moveLeft=Move Left +multiTool.moveRight=Move Right +multiTool.delete=Delete #multiTool-advert multiTool-advert.message=This feature is also available in our multi-tool page. Check it out for enhanced page-by-page UI and additional features! diff --git a/src/main/resources/messages_id_ID.properties b/src/main/resources/messages_id_ID.properties index 01085ec4645..ec4d303673b 100644 --- a/src/main/resources/messages_id_ID.properties +++ b/src/main/resources/messages_id_ID.properties @@ -949,6 +949,9 @@ multiTool.addFile=Add File multiTool.rotateLeft=Rotate Left multiTool.rotateRight=Rotate Right multiTool.split=Split +multiTool.moveLeft=Move Left +multiTool.moveRight=Move Right +multiTool.delete=Delete #multiTool-advert multiTool-advert.message=This feature is also available in our multi-tool page. Check it out for enhanced page-by-page UI and additional features! diff --git a/src/main/resources/messages_it_IT.properties b/src/main/resources/messages_it_IT.properties index f24c1297d8c..e6b02ad7c6f 100644 --- a/src/main/resources/messages_it_IT.properties +++ b/src/main/resources/messages_it_IT.properties @@ -949,6 +949,9 @@ multiTool.addFile=Add File multiTool.rotateLeft=Rotate Left multiTool.rotateRight=Rotate Right multiTool.split=Split +multiTool.moveLeft=Move Left +multiTool.moveRight=Move Right +multiTool.delete=Delete #multiTool-advert multiTool-advert.message=Questa funzione è disponibile anche nella nostra pagina multi-strumento. Scoprila per un'interfaccia utente pagina per pagina migliorata e funzionalità aggiuntive! diff --git a/src/main/resources/messages_ja_JP.properties b/src/main/resources/messages_ja_JP.properties index 8eff041f143..48e3e4d91b4 100644 --- a/src/main/resources/messages_ja_JP.properties +++ b/src/main/resources/messages_ja_JP.properties @@ -949,6 +949,9 @@ multiTool.addFile=Add File multiTool.rotateLeft=Rotate Left multiTool.rotateRight=Rotate Right multiTool.split=Split +multiTool.moveLeft=Move Left +multiTool.moveRight=Move Right +multiTool.delete=Delete #multiTool-advert multiTool-advert.message=This feature is also available in our multi-tool page. Check it out for enhanced page-by-page UI and additional features! diff --git a/src/main/resources/messages_ko_KR.properties b/src/main/resources/messages_ko_KR.properties index 5fcbe3d3da7..577918936c2 100644 --- a/src/main/resources/messages_ko_KR.properties +++ b/src/main/resources/messages_ko_KR.properties @@ -949,6 +949,9 @@ multiTool.addFile=Add File multiTool.rotateLeft=Rotate Left multiTool.rotateRight=Rotate Right multiTool.split=Split +multiTool.moveLeft=Move Left +multiTool.moveRight=Move Right +multiTool.delete=Delete #multiTool-advert multiTool-advert.message=This feature is also available in our multi-tool page. Check it out for enhanced page-by-page UI and additional features! diff --git a/src/main/resources/messages_nl_NL.properties b/src/main/resources/messages_nl_NL.properties index a9ed52c6ebe..098bbee73be 100644 --- a/src/main/resources/messages_nl_NL.properties +++ b/src/main/resources/messages_nl_NL.properties @@ -949,6 +949,9 @@ multiTool.addFile=Add File multiTool.rotateLeft=Rotate Left multiTool.rotateRight=Rotate Right multiTool.split=Split +multiTool.moveLeft=Move Left +multiTool.moveRight=Move Right +multiTool.delete=Delete #multiTool-advert multiTool-advert.message=This feature is also available in our multi-tool page. Check it out for enhanced page-by-page UI and additional features! diff --git a/src/main/resources/messages_no_NB.properties b/src/main/resources/messages_no_NB.properties index 61deb4e19ce..07782283903 100644 --- a/src/main/resources/messages_no_NB.properties +++ b/src/main/resources/messages_no_NB.properties @@ -949,6 +949,9 @@ multiTool.addFile=Add File multiTool.rotateLeft=Rotate Left multiTool.rotateRight=Rotate Right multiTool.split=Split +multiTool.moveLeft=Move Left +multiTool.moveRight=Move Right +multiTool.delete=Delete #multiTool-advert multiTool-advert.message=This feature is also available in our multi-tool page. Check it out for enhanced page-by-page UI and additional features! diff --git a/src/main/resources/messages_pl_PL.properties b/src/main/resources/messages_pl_PL.properties index dcff0a20668..11b1414ad26 100755 --- a/src/main/resources/messages_pl_PL.properties +++ b/src/main/resources/messages_pl_PL.properties @@ -949,6 +949,9 @@ multiTool.addFile=Add File multiTool.rotateLeft=Rotate Left multiTool.rotateRight=Rotate Right multiTool.split=Split +multiTool.moveLeft=Move Left +multiTool.moveRight=Move Right +multiTool.delete=Delete #multiTool-advert multiTool-advert.message=This feature is also available in our multi-tool page. Check it out for enhanced page-by-page UI and additional features! diff --git a/src/main/resources/messages_pt_BR.properties b/src/main/resources/messages_pt_BR.properties index 58a6329d687..9629d40d36a 100644 --- a/src/main/resources/messages_pt_BR.properties +++ b/src/main/resources/messages_pt_BR.properties @@ -949,6 +949,9 @@ multiTool.addFile=Add File multiTool.rotateLeft=Rotate Left multiTool.rotateRight=Rotate Right multiTool.split=Split +multiTool.moveLeft=Move Left +multiTool.moveRight=Move Right +multiTool.delete=Delete #multiTool-advert multiTool-advert.message=This feature is also available in our multi-tool page. Check it out for enhanced page-by-page UI and additional features! diff --git a/src/main/resources/messages_pt_PT.properties b/src/main/resources/messages_pt_PT.properties index ff9127437c1..d48c9e44c9e 100644 --- a/src/main/resources/messages_pt_PT.properties +++ b/src/main/resources/messages_pt_PT.properties @@ -949,6 +949,9 @@ multiTool.addFile=Add File multiTool.rotateLeft=Rotate Left multiTool.rotateRight=Rotate Right multiTool.split=Split +multiTool.moveLeft=Move Left +multiTool.moveRight=Move Right +multiTool.delete=Delete #multiTool-advert multiTool-advert.message=This feature is also available in our multi-tool page. Check it out for enhanced page-by-page UI and additional features! diff --git a/src/main/resources/messages_ro_RO.properties b/src/main/resources/messages_ro_RO.properties index a88bb042481..b3d552984f7 100644 --- a/src/main/resources/messages_ro_RO.properties +++ b/src/main/resources/messages_ro_RO.properties @@ -949,6 +949,9 @@ multiTool.addFile=Add File multiTool.rotateLeft=Rotate Left multiTool.rotateRight=Rotate Right multiTool.split=Split +multiTool.moveLeft=Move Left +multiTool.moveRight=Move Right +multiTool.delete=Delete #multiTool-advert multiTool-advert.message=This feature is also available in our multi-tool page. Check it out for enhanced page-by-page UI and additional features! diff --git a/src/main/resources/messages_ru_RU.properties b/src/main/resources/messages_ru_RU.properties index 50f8a5a5647..708fe435a8a 100644 --- a/src/main/resources/messages_ru_RU.properties +++ b/src/main/resources/messages_ru_RU.properties @@ -949,6 +949,9 @@ multiTool.addFile=Add File multiTool.rotateLeft=Rotate Left multiTool.rotateRight=Rotate Right multiTool.split=Split +multiTool.moveLeft=Move Left +multiTool.moveRight=Move Right +multiTool.delete=Delete #multiTool-advert multiTool-advert.message=This feature is also available in our multi-tool page. Check it out for enhanced page-by-page UI and additional features! diff --git a/src/main/resources/messages_sk_SK.properties b/src/main/resources/messages_sk_SK.properties index 8cace9638a3..1b26fc2aaa7 100644 --- a/src/main/resources/messages_sk_SK.properties +++ b/src/main/resources/messages_sk_SK.properties @@ -949,6 +949,9 @@ multiTool.addFile=Add File multiTool.rotateLeft=Rotate Left multiTool.rotateRight=Rotate Right multiTool.split=Split +multiTool.moveLeft=Move Left +multiTool.moveRight=Move Right +multiTool.delete=Delete #multiTool-advert multiTool-advert.message=This feature is also available in our multi-tool page. Check it out for enhanced page-by-page UI and additional features! diff --git a/src/main/resources/messages_sr_LATN_RS.properties b/src/main/resources/messages_sr_LATN_RS.properties index dd44a26f33c..ebd60d6f1d4 100644 --- a/src/main/resources/messages_sr_LATN_RS.properties +++ b/src/main/resources/messages_sr_LATN_RS.properties @@ -949,6 +949,9 @@ multiTool.addFile=Add File multiTool.rotateLeft=Rotate Left multiTool.rotateRight=Rotate Right multiTool.split=Split +multiTool.moveLeft=Move Left +multiTool.moveRight=Move Right +multiTool.delete=Delete #multiTool-advert multiTool-advert.message=This feature is also available in our multi-tool page. Check it out for enhanced page-by-page UI and additional features! diff --git a/src/main/resources/messages_sv_SE.properties b/src/main/resources/messages_sv_SE.properties index b78b085a80a..5051fea8162 100644 --- a/src/main/resources/messages_sv_SE.properties +++ b/src/main/resources/messages_sv_SE.properties @@ -949,6 +949,9 @@ multiTool.addFile=Add File multiTool.rotateLeft=Rotate Left multiTool.rotateRight=Rotate Right multiTool.split=Split +multiTool.moveLeft=Move Left +multiTool.moveRight=Move Right +multiTool.delete=Delete #multiTool-advert multiTool-advert.message=This feature is also available in our multi-tool page. Check it out for enhanced page-by-page UI and additional features! diff --git a/src/main/resources/messages_th_TH.properties b/src/main/resources/messages_th_TH.properties index c2a72dc87cb..84944663367 100644 --- a/src/main/resources/messages_th_TH.properties +++ b/src/main/resources/messages_th_TH.properties @@ -949,6 +949,9 @@ multiTool.addFile=Add File multiTool.rotateLeft=Rotate Left multiTool.rotateRight=Rotate Right multiTool.split=Split +multiTool.moveLeft=Move Left +multiTool.moveRight=Move Right +multiTool.delete=Delete #multiTool-advert multiTool-advert.message=This feature is also available in our multi-tool page. Check it out for enhanced page-by-page UI and additional features! diff --git a/src/main/resources/messages_tr_TR.properties b/src/main/resources/messages_tr_TR.properties index 05d106393b6..3458f679b2e 100644 --- a/src/main/resources/messages_tr_TR.properties +++ b/src/main/resources/messages_tr_TR.properties @@ -949,6 +949,9 @@ multiTool.addFile=Add File multiTool.rotateLeft=Rotate Left multiTool.rotateRight=Rotate Right multiTool.split=Split +multiTool.moveLeft=Move Left +multiTool.moveRight=Move Right +multiTool.delete=Delete #multiTool-advert multiTool-advert.message=This feature is also available in our multi-tool page. Check it out for enhanced page-by-page UI and additional features! diff --git a/src/main/resources/messages_uk_UA.properties b/src/main/resources/messages_uk_UA.properties index e0c6d8e14c6..d0266f59ee0 100644 --- a/src/main/resources/messages_uk_UA.properties +++ b/src/main/resources/messages_uk_UA.properties @@ -949,6 +949,9 @@ multiTool.addFile=Add File multiTool.rotateLeft=Rotate Left multiTool.rotateRight=Rotate Right multiTool.split=Split +multiTool.moveLeft=Move Left +multiTool.moveRight=Move Right +multiTool.delete=Delete #multiTool-advert multiTool-advert.message=This feature is also available in our multi-tool page. Check it out for enhanced page-by-page UI and additional features! diff --git a/src/main/resources/messages_vi_VN.properties b/src/main/resources/messages_vi_VN.properties index 38d6d723ff4..be7a3775ee5 100644 --- a/src/main/resources/messages_vi_VN.properties +++ b/src/main/resources/messages_vi_VN.properties @@ -949,6 +949,9 @@ multiTool.addFile=Add File multiTool.rotateLeft=Rotate Left multiTool.rotateRight=Rotate Right multiTool.split=Split +multiTool.moveLeft=Move Left +multiTool.moveRight=Move Right +multiTool.delete=Delete #multiTool-advert multiTool-advert.message=This feature is also available in our multi-tool page. Check it out for enhanced page-by-page UI and additional features! diff --git a/src/main/resources/messages_zh_CN.properties b/src/main/resources/messages_zh_CN.properties index 58924bd0471..1aa3f9c8b02 100644 --- a/src/main/resources/messages_zh_CN.properties +++ b/src/main/resources/messages_zh_CN.properties @@ -949,6 +949,9 @@ multiTool.addFile=Add File multiTool.rotateLeft=Rotate Left multiTool.rotateRight=Rotate Right multiTool.split=Split +multiTool.moveLeft=Move Left +multiTool.moveRight=Move Right +multiTool.delete=Delete #multiTool-advert multiTool-advert.message=This feature is also available in our multi-tool page. Check it out for enhanced page-by-page UI and additional features! diff --git a/src/main/resources/messages_zh_TW.properties b/src/main/resources/messages_zh_TW.properties index ead71628acc..6db39f9cb7d 100644 --- a/src/main/resources/messages_zh_TW.properties +++ b/src/main/resources/messages_zh_TW.properties @@ -949,6 +949,9 @@ multiTool.addFile=Add File multiTool.rotateLeft=Rotate Left multiTool.rotateRight=Rotate Right multiTool.split=Split +multiTool.moveLeft=Move Left +multiTool.moveRight=Move Right +multiTool.delete=Delete #multiTool-advert multiTool-advert.message=This feature is also available in our multi-tool page. Check it out for enhanced page-by-page UI and additional features! diff --git a/src/main/resources/static/css/multi-tool.css b/src/main/resources/static/css/multi-tool.css index ebddaae31e3..6ad2a60633a 100644 --- a/src/main/resources/static/css/multi-tool.css +++ b/src/main/resources/static/css/multi-tool.css @@ -295,7 +295,7 @@ label { flex-wrap: nowrap; width: fit-content; padding: 7px; - background-color: rgba(0, 29, 41, 0.6); + background-color: rgba(0, 29, 41, 0.9); border-radius: 3px; font-size: 12px; color: whitesmoke; diff --git a/src/main/resources/static/css/pdfActions.css b/src/main/resources/static/css/pdfActions.css index c3845445c8c..02309735208 100644 --- a/src/main/resources/static/css/pdfActions.css +++ b/src/main/resources/static/css/pdfActions.css @@ -1,5 +1,5 @@ .pdf-actions_button-container { - z-index: 2; + z-index: 4; display: flex; opacity: 0; transition: opacity 0.1s linear; @@ -46,7 +46,7 @@ width: 80px; height: 100%; - z-index: 1; + z-index: 3; opacity: 0; transition: opacity 0.2s; } @@ -116,6 +116,7 @@ html[dir="rtl"] .pdf-actions_container:last-child>.pdf-actions_insert-file-butto translate: 50% -50%; aspect-ratio: 1; border-radius: 100px; + z-index: 4; } .pdf-actions_split-file-button { @@ -125,9 +126,9 @@ html[dir="rtl"] .pdf-actions_container:last-child>.pdf-actions_insert-file-butto translate: 0 -50%; aspect-ratio: 1; border-radius: 100px; + z-index: 3; } - .pdf-actions_checkbox { position: absolute; top: 5px; @@ -137,7 +138,7 @@ html[dir="rtl"] .pdf-actions_container:last-child>.pdf-actions_insert-file-butto padding: 6px 8px; border-radius: 8px; font-size: 16px; - z-index: 2; + z-index: 3; } .hidden { @@ -150,4 +151,5 @@ html[dir="rtl"] .pdf-actions_container:last-child>.pdf-actions_insert-file-butto translate: 0% -50%; aspect-ratio: 1; border-radius: 100px; + z-index: 5; } diff --git a/src/main/resources/static/js/multitool/PdfActionsManager.js b/src/main/resources/static/js/multitool/PdfActionsManager.js index b4da3718390..b83beb5ebe9 100644 --- a/src/main/resources/static/js/multitool/PdfActionsManager.js +++ b/src/main/resources/static/js/multitool/PdfActionsManager.js @@ -110,31 +110,32 @@ class PdfActionsManager { const moveUp = document.createElement("button"); moveUp.classList.add("pdf-actions_move-left-button", "btn", "btn-secondary"); - moveUp.innerHTML = `arrow_${leftDirection}_alt`; + moveUp.innerHTML = `arrow_${leftDirection}_alt${window.translations.moveLeft}`; moveUp.onclick = this.moveUpButtonCallback; buttonContainer.appendChild(moveUp); const moveDown = document.createElement("button"); moveDown.classList.add("pdf-actions_move-right-button", "btn", "btn-secondary"); - moveDown.innerHTML = `arrow_${rightDirection}_alt`; + moveDown.innerHTML = `arrow_${rightDirection}_alt${window.translations.moveRight}`; moveDown.onclick = this.moveDownButtonCallback; buttonContainer.appendChild(moveDown); + const rotateCCW = document.createElement("button"); rotateCCW.classList.add("btn", "btn-secondary"); - rotateCCW.innerHTML = `rotate_left`; + rotateCCW.innerHTML = `rotate_left${window.translations.rotateLeft}`; rotateCCW.onclick = this.rotateCCWButtonCallback; buttonContainer.appendChild(rotateCCW); const rotateCW = document.createElement("button"); rotateCW.classList.add("btn", "btn-secondary"); - rotateCW.innerHTML = `rotate_right`; + rotateCW.innerHTML = `rotate_right${window.translations.rotateRight}`; rotateCW.onclick = this.rotateCWButtonCallback; buttonContainer.appendChild(rotateCW); const deletePage = document.createElement("button"); deletePage.classList.add("btn", "btn-danger"); - deletePage.innerHTML = `delete`; + deletePage.innerHTML = `delete${window.translations.delete}`; deletePage.onclick = this.deletePageButtonCallback; buttonContainer.appendChild(deletePage); @@ -189,19 +190,19 @@ class PdfActionsManager { const insertFileButton = document.createElement("button"); insertFileButton.classList.add("btn", "btn-primary", "pdf-actions_insert-file-button"); - insertFileButton.innerHTML = `add`; + insertFileButton.innerHTML = `add${window.translations.addFile}`; insertFileButton.onclick = this.insertFileButtonCallback; insertFileButtonContainer.appendChild(insertFileButton); const splitFileButton = document.createElement("button"); splitFileButton.classList.add("btn", "btn-primary", "pdf-actions_split-file-button"); - splitFileButton.innerHTML = `cut`; + splitFileButton.innerHTML = `cut${window.translations.split}`; splitFileButton.onclick = this.splitFileButtonCallback; insertFileButtonContainer.appendChild(splitFileButton); const insertFileBlankButton = document.createElement("button"); insertFileBlankButton.classList.add("btn", "btn-primary", "pdf-actions_insert-file-blank-button"); - insertFileBlankButton.innerHTML = `insert_page_break`; + insertFileBlankButton.innerHTML = `insert_page_break${window.translations.insertPageBreak}`; insertFileBlankButton.onclick = this.insertFileBlankButtonCallback; insertFileButtonContainer.appendChild(insertFileBlankButton); diff --git a/src/main/resources/templates/multi-tool.html b/src/main/resources/templates/multi-tool.html index 06bf2189e8e..5ac9039e903 100644 --- a/src/main/resources/templates/multi-tool.html +++ b/src/main/resources/templates/multi-tool.html @@ -136,6 +136,20 @@