diff --git a/src/widget/form/conferenceform.cpp b/src/widget/form/conferenceform.cpp index 8865f1e392..ce5e8ed4de 100644 --- a/src/widget/form/conferenceform.cpp +++ b/src/widget/form/conferenceform.cpp @@ -8,23 +8,21 @@ #include "tabcompleter.h" #include "src/chatlog/chatwidget.h" #include "src/chatlog/content/text.h" -#include "src/core/conferenceid.h" #include "src/core/core.h" #include "src/core/coreav.h" #include "src/friendlist.h" #include "src/model/conference.h" #include "src/model/friend.h" -#include "src/persistence/iconferencesettings.h" #include "src/persistence/settings.h" #include "src/widget/chatformheader.h" #include "src/widget/conferencewidget.h" #include "src/widget/flowlayout.h" #include "src/widget/form/chatform.h" -#include "src/widget/maskablepixmapwidget.h" #include "src/widget/style.h" -#include "src/widget/tool/croppinglabel.h" #include "src/widget/translator.h" +#include +#include #include #include #include @@ -431,6 +429,8 @@ void ConferenceForm::onLabelContextMenuRequested(const QPoint& localPos) } contextMenu->setStyleSheet(style.getStylesheet(PEER_LABEL_STYLE_SHEET_PATH, settings)); + auto* copyIdAction = contextMenu->addAction(tr("copy peer ID")); + const QAction* selectedItem = contextMenu->exec(pos); if (selectedItem == toggleMuteAction) { if (isPeerBlocked) { @@ -443,6 +443,12 @@ void ConferenceForm::onLabelContextMenuRequested(const QPoint& localPos) } settings.setBlockList(blockList); + } else if (selectedItem == copyIdAction) { + auto* clipboard = QApplication::clipboard(); + clipboard->setText(peerPk.toString(), QClipboard::Clipboard); + if (clipboard->supportsSelection()) { + clipboard->setText(peerPk.toString(), QClipboard::Selection); + } } } diff --git a/translations/ar.ts b/translations/ar.ts index 0de6c0eea0..67dd96487e 100644 --- a/translations/ar.ts +++ b/translations/ar.ts @@ -893,6 +893,11 @@ so you can save the file on Windows. Automated translation. إلغاء كتم الصوت + + copy peer ID + Automated translation. + نسخ معرف النظير + ConferenceInviteForm diff --git a/translations/be.ts b/translations/be.ts index ad81cb0fa0..5cc41b93e6 100644 --- a/translations/be.ts +++ b/translations/be.ts @@ -853,6 +853,11 @@ so you can save the file on Windows. unmute уключаць + + copy peer ID + Automated translation. + скапіяваць ID піра + ConferenceInviteForm diff --git a/translations/ber.ts b/translations/ber.ts index 2851841086..2b1542b78f 100644 --- a/translations/ber.ts +++ b/translations/ber.ts @@ -970,6 +970,11 @@ so you can save the file on Windows. Automated translation. ⵙⵙⵓⵙⴻⵎ + + copy peer ID + Automated translation. + ⵙⵏⵓⵍⴼⵓⴷ ID ⵏ ⵓⵎⴷⴰⴽⴽⴻⵍ + ConferenceInviteForm diff --git a/translations/bg.ts b/translations/bg.ts index 10df111388..6280df0935 100644 --- a/translations/bg.ts +++ b/translations/bg.ts @@ -824,6 +824,11 @@ so you can save the file on Windows. unmute отглуши + + copy peer ID + Automated translation. + копиране на peer ID + ConferenceInviteForm diff --git a/translations/bn.ts b/translations/bn.ts index 5024de9163..5c097bfb22 100644 --- a/translations/bn.ts +++ b/translations/bn.ts @@ -994,6 +994,11 @@ so you can save the file on Windows. Automated translation. নিঃশব্দ + + copy peer ID + Automated translation. + পিয়ার আইডি কপি করুন + ConferenceInviteForm diff --git a/translations/cs.ts b/translations/cs.ts index a883b14d2d..9839cc637a 100644 --- a/translations/cs.ts +++ b/translations/cs.ts @@ -825,6 +825,11 @@ takže můžete soubor uložit i v systému Windows. unmute nahlas + + copy peer ID + Automated translation. + zkopírovat ID partnera + ConferenceInviteForm diff --git a/translations/da.ts b/translations/da.ts index cb0a402f95..16d6951754 100644 --- a/translations/da.ts +++ b/translations/da.ts @@ -909,6 +909,11 @@ så du kan gemme filen på Windows. Automated translation. slå lyden til + + copy peer ID + Automated translation. + kopier peer-id + ConferenceInviteForm diff --git a/translations/de.ts b/translations/de.ts index 7437878a4b..586edbe3ea 100644 --- a/translations/de.ts +++ b/translations/de.ts @@ -822,6 +822,11 @@ um sie in Windows speichern zu können. unmute Stummschaltung aufheben + + copy peer ID + Automated translation. + Peer-ID kopieren + ConferenceInviteForm diff --git a/translations/el.ts b/translations/el.ts index e41140eede..050e574172 100644 --- a/translations/el.ts +++ b/translations/el.ts @@ -858,6 +858,11 @@ so you can save the file on Windows. unmute Άρση σίγασης + + copy peer ID + Automated translation. + αντιγράψτε το peer ID + ConferenceInviteForm diff --git a/translations/eo.ts b/translations/eo.ts index b689671eb1..c72e273b4f 100644 --- a/translations/eo.ts +++ b/translations/eo.ts @@ -930,6 +930,11 @@ do vi povas konservi la dosieron en Vindozo. Automated translation. malmute + + copy peer ID + Automated translation. + kopii samran ID + ConferenceInviteForm diff --git a/translations/es.ts b/translations/es.ts index f2a086af0f..0016cc303a 100644 --- a/translations/es.ts +++ b/translations/es.ts @@ -822,6 +822,11 @@ para que puedas guardar el archivo en windows. unmute activar el sonido + + copy peer ID + Automated translation. + copiar ID de compañero + ConferenceInviteForm diff --git a/translations/et.ts b/translations/et.ts index f511fc9d1e..d56e104acb 100644 --- a/translations/et.ts +++ b/translations/et.ts @@ -823,6 +823,11 @@ ja sa saad seda faili nüüd Windowsis salvestada. unmute lülita heli sisse + + copy peer ID + Automated translation. + kopeeri partneri ID + ConferenceInviteForm diff --git a/translations/fa.ts b/translations/fa.ts index ae90c515a9..c8feeacf55 100644 --- a/translations/fa.ts +++ b/translations/fa.ts @@ -849,6 +849,11 @@ so you can save the file on Windows. unmute رفع حالت بی‌صدا + + copy peer ID + Automated translation. + شناسه همتا را کپی کنید + ConferenceInviteForm diff --git a/translations/fi.ts b/translations/fi.ts index 914b164a46..519d579960 100644 --- a/translations/fi.ts +++ b/translations/fi.ts @@ -823,6 +823,11 @@ joten voit tallentaa tiedoston Windowsissa. unmute poista mykistys + + copy peer ID + Automated translation. + kopioi vertaistunnus + ConferenceInviteForm diff --git a/translations/fr.ts b/translations/fr.ts index ea1e693829..c5bdc148ed 100644 --- a/translations/fr.ts +++ b/translations/fr.ts @@ -823,6 +823,11 @@ afin que vous puissiez enregistrer le fichier sur windows. unmute activer le son + + copy peer ID + Automated translation. + copier l'ID du pair + ConferenceInviteForm diff --git a/translations/gl.ts b/translations/gl.ts index c864a49a28..650340ba51 100644 --- a/translations/gl.ts +++ b/translations/gl.ts @@ -850,6 +850,11 @@ para que poida gardar o ficheiro en Windows. unmute non silenciar + + copy peer ID + Automated translation. + copiar o ID do compañeiro + ConferenceInviteForm diff --git a/translations/he.ts b/translations/he.ts index 9782eae97c..264cfdea3c 100644 --- a/translations/he.ts +++ b/translations/he.ts @@ -978,6 +978,11 @@ so you can save the file on Windows. Automated translation. בטל השתקה + + copy peer ID + Automated translation. + העתק מזהה עמיתים + ConferenceInviteForm diff --git a/translations/hr.ts b/translations/hr.ts index c36b7a8ad8..276f5ada6c 100644 --- a/translations/hr.ts +++ b/translations/hr.ts @@ -851,6 +851,11 @@ tako da možete spremiti datoteku na Windows. unmute iključi zvuk + + copy peer ID + Automated translation. + kopiraj peer ID + ConferenceInviteForm diff --git a/translations/hu.ts b/translations/hu.ts index a716795a70..a0a97092a1 100644 --- a/translations/hu.ts +++ b/translations/hu.ts @@ -848,6 +848,11 @@ so you can save the file on Windows. unmute némítás kikapcsolása + + copy peer ID + Automated translation. + másolja a társazonosítót + ConferenceInviteForm diff --git a/translations/is.ts b/translations/is.ts index 1bc37c1156..780705f722 100644 --- a/translations/is.ts +++ b/translations/is.ts @@ -979,6 +979,11 @@ svo þú getur vistað skrána á Windows. Automated translation. slökkva á hljóði + + copy peer ID + Automated translation. + afrita jafningjaauðkenni + ConferenceInviteForm diff --git a/translations/it.ts b/translations/it.ts index 25e3cbce55..bbeb666ca6 100644 --- a/translations/it.ts +++ b/translations/it.ts @@ -823,6 +823,11 @@ in modo da poter salvare il file su Windows. unmute riattivare l'audio + + copy peer ID + Automated translation. + copiare l'ID peer + ConferenceInviteForm diff --git a/translations/ja.ts b/translations/ja.ts index 2558a7cd71..4cffec639c 100644 --- a/translations/ja.ts +++ b/translations/ja.ts @@ -863,6 +863,11 @@ Windows にファイルを保存できるようになります。 Automated translation. ミュート解除 + + copy peer ID + Automated translation. + ピアIDをコピーする + ConferenceInviteForm diff --git a/translations/jbo.ts b/translations/jbo.ts index 1ca0b23d15..2290a546fe 100644 --- a/translations/jbo.ts +++ b/translations/jbo.ts @@ -980,6 +980,11 @@ e'u do ka'e sfaile lo nu sfaile bu'u la .Windows.zoi ke'a nu Automated translation. no drata + + copy peer ID + Automated translation. + fukpi sampyvla sampyvla + ConferenceInviteForm diff --git a/translations/kn.ts b/translations/kn.ts index 4d42c50362..3bd8ae54e0 100644 --- a/translations/kn.ts +++ b/translations/kn.ts @@ -991,6 +991,11 @@ so you can save the file on Windows. Automated translation. ಅನ್‌ಮ್ಯೂಟ್ ಮಾಡಿ + + copy peer ID + Automated translation. + ಪೀರ್ ಐಡಿ ನಕಲಿಸಿ + ConferenceInviteForm diff --git a/translations/ko.ts b/translations/ko.ts index 6bc7d38bc6..b5d5adb12b 100644 --- a/translations/ko.ts +++ b/translations/ko.ts @@ -897,6 +897,11 @@ so you can save the file on Windows. Automated translation. 음소거 해제 + + copy peer ID + Automated translation. + 피어 ID 복사 + ConferenceInviteForm diff --git a/translations/li.ts b/translations/li.ts index 8bc6f4f01b..9e9548cc47 100644 --- a/translations/li.ts +++ b/translations/li.ts @@ -1001,6 +1001,11 @@ zodet geer ut bestand op Windows kin opsjlaon. Automated translation. oontdempe + + copy peer ID + Automated translation. + kopieer peer ID + ConferenceInviteForm diff --git a/translations/lt.ts b/translations/lt.ts index 5b6d202631..33bf7b93f1 100644 --- a/translations/lt.ts +++ b/translations/lt.ts @@ -825,6 +825,11 @@ tad dabar galite įrašyti failą Windows sistemoje. unmute įjungti garsą + + copy peer ID + Automated translation. + nukopijuoti kolegos ID + ConferenceInviteForm diff --git a/translations/lv.ts b/translations/lv.ts index 1b30ced5d8..1e29dcceaf 100644 --- a/translations/lv.ts +++ b/translations/lv.ts @@ -834,6 +834,11 @@ lai varētu saglabāt failus Windows operētājsistēmā. unmute ieslēgt skaņu + + copy peer ID + Automated translation. + kopēt vienaudžu ID + ConferenceInviteForm diff --git a/translations/mk.ts b/translations/mk.ts index ea7a22032d..f6f3e92ad3 100644 --- a/translations/mk.ts +++ b/translations/mk.ts @@ -863,6 +863,11 @@ so you can save the file on Windows. Automated translation. вклучи звук + + copy peer ID + Automated translation. + копирајте идентификација на врсници + ConferenceInviteForm diff --git a/translations/nb_NO.ts b/translations/nb_NO.ts index 41e6d5d848..4a21ffd248 100644 --- a/translations/nb_NO.ts +++ b/translations/nb_NO.ts @@ -825,6 +825,11 @@ slik at du kan lagre filen på Windows. unmute opphev forstumming + + copy peer ID + Automated translation. + kopier peer-ID + ConferenceInviteForm diff --git a/translations/nl.ts b/translations/nl.ts index c7b1488035..35953a8902 100644 --- a/translations/nl.ts +++ b/translations/nl.ts @@ -821,6 +821,11 @@ zodat u het bestand op Windows kunt opslaan. unmute ontdempen + + copy peer ID + Automated translation. + kopieer peer-ID + ConferenceInviteForm diff --git a/translations/nl_BE.ts b/translations/nl_BE.ts index 71c03ccea1..572eda2c05 100644 --- a/translations/nl_BE.ts +++ b/translations/nl_BE.ts @@ -815,6 +815,10 @@ so you can save the file on Windows. unmute + + copy peer ID + + ConferenceInviteForm diff --git a/translations/pl.ts b/translations/pl.ts index dccb01ae5c..2a6dc08879 100644 --- a/translations/pl.ts +++ b/translations/pl.ts @@ -833,6 +833,11 @@ więc możesz zapisać ten plik na systemie Windows. unmute wyłącz wyciszenie + + copy peer ID + Automated translation. + skopiuj identyfikator partnera + ConferenceInviteForm diff --git a/translations/pr.ts b/translations/pr.ts index 738b4c2d10..c766e0bb20 100644 --- a/translations/pr.ts +++ b/translations/pr.ts @@ -820,6 +820,10 @@ so ye can stash th' file on Windows. unmute give tongue + + copy peer ID + + ConferenceInviteForm diff --git a/translations/pt.ts b/translations/pt.ts index 6b814afb15..6fffedc2b9 100644 --- a/translations/pt.ts +++ b/translations/pt.ts @@ -823,6 +823,11 @@ de forma que possa guardar o ficheiro no Windows. unmute com som + + copy peer ID + Automated translation. + copiar ID do par + ConferenceInviteForm diff --git a/translations/pt_BR.ts b/translations/pt_BR.ts index 714769e57e..7d8ad0cf47 100644 --- a/translations/pt_BR.ts +++ b/translations/pt_BR.ts @@ -824,6 +824,11 @@ de forma que você possa salvar o arquivo no Windows. unmute ativar som + + copy peer ID + Automated translation. + copiar ID do par + ConferenceInviteForm diff --git a/translations/ro.ts b/translations/ro.ts index e2e273155b..0ce86db52c 100644 --- a/translations/ro.ts +++ b/translations/ro.ts @@ -824,6 +824,11 @@ astfel încât să puteți salva fișierul pe Windows. unmute cu sunet + + copy peer ID + Automated translation. + copiați ID-ul de peer + ConferenceInviteForm diff --git a/translations/ru.ts b/translations/ru.ts index 9aad874cbd..9d33353280 100644 --- a/translations/ru.ts +++ b/translations/ru.ts @@ -825,6 +825,11 @@ so you can save the file on Windows. unmute включить звук + + copy peer ID + Automated translation. + скопировать идентификатор узла + ConferenceInviteForm diff --git a/translations/si.ts b/translations/si.ts index df22ae75da..f4ce3c0920 100644 --- a/translations/si.ts +++ b/translations/si.ts @@ -997,6 +997,11 @@ so you can save the file on Windows. Automated translation. නිහඬ නොකරන්න + + copy peer ID + Automated translation. + peer ID පිටපත් කරන්න + ConferenceInviteForm diff --git a/translations/sk.ts b/translations/sk.ts index c949a5051d..5acbd2e8a7 100644 --- a/translations/sk.ts +++ b/translations/sk.ts @@ -826,6 +826,11 @@ so you can save the file on Windows. unmute zrušiť stlmenie + + copy peer ID + Automated translation. + kopírovať ID partnera + ConferenceInviteForm diff --git a/translations/sl.ts b/translations/sl.ts index c746c962c3..4ee47acb9a 100644 --- a/translations/sl.ts +++ b/translations/sl.ts @@ -871,6 +871,11 @@ tako da lahko datoteko shranite v sistem Windows. Automated translation. vklopi zvok + + copy peer ID + Automated translation. + kopiraj ID vrstnika + ConferenceInviteForm diff --git a/translations/sq.ts b/translations/sq.ts index 1b72c115db..97b53a63a6 100644 --- a/translations/sq.ts +++ b/translations/sq.ts @@ -992,6 +992,11 @@ kështu që mund ta ruani skedarin në Windows. Automated translation. anuloj zërin + + copy peer ID + Automated translation. + kopjoni ID-në e kolegëve + ConferenceInviteForm diff --git a/translations/sr.ts b/translations/sr.ts index 60f23d5960..ac1b058a15 100644 --- a/translations/sr.ts +++ b/translations/sr.ts @@ -852,6 +852,11 @@ so you can save the file on Windows. unmute појачај + + copy peer ID + Automated translation. + копија истоврсног ИД-а + ConferenceInviteForm diff --git a/translations/sr_Latn.ts b/translations/sr_Latn.ts index 5cf1aca0a1..64af1356e0 100644 --- a/translations/sr_Latn.ts +++ b/translations/sr_Latn.ts @@ -817,6 +817,10 @@ so you can save the file on Windows. unmute + + copy peer ID + + ConferenceInviteForm diff --git a/translations/sv.ts b/translations/sv.ts index 3f8014ec61..58dd83d06d 100644 --- a/translations/sv.ts +++ b/translations/sv.ts @@ -824,6 +824,11 @@ så att du kan spara filen i Windows. unmute slå på ljud + + copy peer ID + Automated translation. + kopiera peer-ID + ConferenceInviteForm diff --git a/translations/sw.ts b/translations/sw.ts index ec7eb48734..83485b7513 100644 --- a/translations/sw.ts +++ b/translations/sw.ts @@ -999,6 +999,11 @@ kwa hivyo unaweza kuhifadhi faili kwenye Windows. Automated translation. acha kunyamazisha + + copy peer ID + Automated translation. + nakala kitambulisho cha rika + ConferenceInviteForm diff --git a/translations/ta.ts b/translations/ta.ts index 4a7d8d8ee3..c095cb8395 100644 --- a/translations/ta.ts +++ b/translations/ta.ts @@ -884,6 +884,11 @@ so you can save the file on Windows. Automated translation. முடக்கு + + copy peer ID + Automated translation. + பியர் ஐடியை நகலெடுக்கவும் + ConferenceInviteForm diff --git a/translations/tr.ts b/translations/tr.ts index dc554af38c..92eb6b6140 100644 --- a/translations/tr.ts +++ b/translations/tr.ts @@ -824,6 +824,11 @@ geçersiz karakterler _ olarak değiştirildi. unmute sesi aç + + copy peer ID + Automated translation. + eş kimliğini kopyala + ConferenceInviteForm diff --git a/translations/ug.ts b/translations/ug.ts index 418eb3cba7..f64f905b34 100644 --- a/translations/ug.ts +++ b/translations/ug.ts @@ -862,6 +862,11 @@ so you can save the file on Windows. Automated translation. unmute + + copy peer ID + Automated translation. + تورداشلارنىڭ كىملىكىنى كۆپەيتىڭ + ConferenceInviteForm diff --git a/translations/uk.ts b/translations/uk.ts index 6a51855577..8701e6f9e4 100644 --- a/translations/uk.ts +++ b/translations/uk.ts @@ -823,6 +823,11 @@ so you can save the file on Windows. unmute увімкнути звук + + copy peer ID + Automated translation. + скопіювати ідентифікатор однорангового пристрою + ConferenceInviteForm diff --git a/translations/ur.ts b/translations/ur.ts index 7f1efdc3f8..146f34355b 100644 --- a/translations/ur.ts +++ b/translations/ur.ts @@ -973,6 +973,11 @@ so you can save the file on Windows. Automated translation. چالو + + copy peer ID + Automated translation. + ہم مرتبہ کی شناخت کاپی کریں۔ + ConferenceInviteForm diff --git a/translations/vi.ts b/translations/vi.ts index e693de94ef..54221feeee 100644 --- a/translations/vi.ts +++ b/translations/vi.ts @@ -822,6 +822,11 @@ so you can save the file on Windows. unmute bỏ tắt tiếng + + copy peer ID + Automated translation. + sao chép ID ngang hàng + ConferenceInviteForm diff --git a/translations/zh_CN.ts b/translations/zh_CN.ts index 376dc90766..c471f363f8 100644 --- a/translations/zh_CN.ts +++ b/translations/zh_CN.ts @@ -819,6 +819,11 @@ so you can save the file on Windows. unmute 取消静音 + + copy peer ID + Automated translation. + 复制对等 ID + ConferenceInviteForm diff --git a/translations/zh_TW.ts b/translations/zh_TW.ts index 45e1779e65..6579955869 100644 --- a/translations/zh_TW.ts +++ b/translations/zh_TW.ts @@ -927,6 +927,11 @@ so you can save the file on Windows. Automated translation. 取消靜音 + + copy peer ID + Automated translation. + 複製對等 ID + ConferenceInviteForm