diff --git a/src/filetransferinstance.cpp b/src/filetransferinstance.cpp index 1706ccdd8..1001e4525 100644 --- a/src/filetransferinstance.cpp +++ b/src/filetransferinstance.cpp @@ -239,7 +239,9 @@ void FileTransferInstance::acceptRecvRequest() if (isFileWritable(path)) break; else - QMessageBox::warning(0, tr("Location not writable","Title of permissions popup"), tr("You do not have permission to write that location. Choose another, or cancel the save dialog.", "text of permissions popup")); + QMessageBox::warning(0, + tr("Location not writable","Title of permissions popup"), + tr("You do not have permission to write that location. Choose another, or cancel the save dialog.", "text of permissions popup")); } } } @@ -263,9 +265,7 @@ void FileTransferInstance::pauseResumeRecv() return; Core::getInstance()->pauseResumeFileRecv(friendId, fileNum); -// if (state == tsProcessing) -// state = tsPaused; -// else state = tsProcessing; + if (state == tsPaused) { effStartTime = QDateTime::currentDateTime(); @@ -284,9 +284,7 @@ void FileTransferInstance::pauseResumeSend() return; Core::getInstance()->pauseResumeFileSend(friendId, fileNum); -// if (state == tsProcessing) -// state = tsPaused; -// else state = tsProcessing; + if (state == tsPaused) { effStartTime = QDateTime::currentDateTime(); @@ -307,7 +305,6 @@ QString FileTransferInstance::QImage2base64(const QImage &img) QString FileTransferInstance::getHtmlImage() { - //qDebug() << "QString FileTransferInstance::getHtmlImage() " << state; QString res; if (state == tsPending || state == tsProcessing || state == tsPaused) diff --git a/src/widget/form/chatform.cpp b/src/widget/form/chatform.cpp index 6e21cdced..2c5d8b16f 100644 --- a/src/widget/form/chatform.cpp +++ b/src/widget/form/chatform.cpp @@ -231,6 +231,7 @@ void ChatForm::onAvInvite(int FriendId, int CallId, bool video) videoButton->style()->polish(videoButton); connect(callButton, SIGNAL(clicked()), this, SLOT(onAnswerCallTriggered())); } + addSystemInfoMessage(tr("%1 calling").arg(f->getName()), "white", QDateTime::currentDateTime()); Widget* w = Widget::getInstance(); @@ -299,7 +300,8 @@ void ChatForm::onAvCancel(int FriendId, int) connect(videoButton, SIGNAL(clicked()), this, SLOT(onVideoCallTriggered())); netcam->hide(); - + + addSystemInfoMessage(tr("%1 stopped calling").arg(f->getName()), "white", QDateTime::currentDateTime()); } void ChatForm::onAvEnd(int FriendId, int) @@ -331,6 +333,7 @@ void ChatForm::onAvEnd(int FriendId, int) void ChatForm::onAvRinging(int FriendId, int CallId, bool video) { + qDebug() << "onAvRinging"; if (FriendId != f->friendId) return; @@ -353,7 +356,8 @@ void ChatForm::onAvRinging(int FriendId, int CallId, bool video) videoButton->style()->polish(videoButton); connect(callButton, SIGNAL(clicked()), this, SLOT(onCancelCallTriggered())); } - addSystemInfoMessage(tr("%1 calling").arg(f->getName()), "white", QDateTime::currentDateTime()); + + addSystemInfoMessage(tr("Calling to %1").arg(f->getName()), "white", QDateTime::currentDateTime()); } void ChatForm::onAvStarting(int FriendId, int CallId, bool video) @@ -494,7 +498,7 @@ void ChatForm::onAvRejected(int FriendId, int) connect(callButton, SIGNAL(clicked()), this, SLOT(onCallTriggered())); connect(videoButton, SIGNAL(clicked()), this, SLOT(onVideoCallTriggered())); - addSystemInfoMessage(tr("Call rejected").arg(f->getName()), "white", QDateTime::currentDateTime()); + addSystemInfoMessage(tr("Call rejected"), "white", QDateTime::currentDateTime()); netcam->hide(); } @@ -748,9 +752,11 @@ void ChatForm::stopCounter() { if(timer) { - addSystemInfoMessage(tr("Call with %1 ended. %2").arg(f->getName(), secondsToDHMS(timeElapsed.elapsed()/1000)), + addSystemInfoMessage(tr("Call with %1 ended. %2").arg(f->getName(), + secondsToDHMS(timeElapsed.elapsed()/1000)), "white", QDateTime::currentDateTime()); timer->stop(); + callDuration->setText(""); callDuration->hide(); timer = nullptr; delete timer; diff --git a/src/widget/form/settings/identityform.cpp b/src/widget/form/settings/identityform.cpp index 805bb91e1..ffa0495b4 100644 --- a/src/widget/form/settings/identityform.cpp +++ b/src/widget/form/settings/identityform.cpp @@ -183,7 +183,10 @@ void IdentityForm::onDeleteClicked() void IdentityForm::onImportClicked() { - QString path = QFileDialog::getOpenFileName(this, tr("Import profile", "import dialog title"), QDir::homePath(), tr("Tox save file (*.tox)", "import dialog filter")); + QString path = QFileDialog::getOpenFileName(this, + tr("Import profile", "import dialog title"), + QDir::homePath(), + tr("Tox save file (*.tox)", "import dialog filter")); if (path.isEmpty()) return; @@ -192,7 +195,9 @@ void IdentityForm::onImportClicked() if (info.suffix() != "tox") { - QMessageBox::warning(this, tr("Ignoring non-Tox file", "popup title"), tr("Warning: you've chosen a file that is not a Tox save file; ignoring.", "popup text")); + QMessageBox::warning(this, + tr("Ignoring non-Tox file", "popup title"), + tr("Warning: you've chosen a file that is not a Tox save file; ignoring.", "popup text")); return; } diff --git a/translations/pl.qm b/translations/pl.qm index 8ae6e86e8..f6e5017ad 100644 Binary files a/translations/pl.qm and b/translations/pl.qm differ diff --git a/translations/pl.ts b/translations/pl.ts index dda831bc2..8e28678f9 100644 --- a/translations/pl.ts +++ b/translations/pl.ts @@ -11,11 +11,6 @@ AVSettings - - - Form - Ustawienia - Audio Settings @@ -157,15 +152,57 @@ ChatForm - + Load History... Wczytaj historię... - + Send a file Wyślij plik + + + Bad Idea + Zły pomysł + + + + You're trying to send a special (sequential) file, that's not going to work! + Nie można przesłać tego pliku! + + + + %1 calling + %1 dzwoni + + + + %1 stopped calling + ? + Nieodebrana rozmowa od %1 + + + + Calling to %1 + at least gender neutral... + Dzwonisz do %1 + + + + Call rejected + Połączenie zostało odrzucone + + + + Call with %1 ended. %2 + Rozmowa z %1 została zakończona. %2 + + + + Call duration: + Czas trwania rozmowy: + ChatTextEdit @@ -178,104 +215,105 @@ Core - + Toxing on qTox better translation? Toxuję na qTox - + qTox User Użytkownik qToxa - + Encryption error Błąd szyfrowania - + The .tox file is encrypted, but encryption was not checked, continuing regardless. better translation? Plik .tox jest zaszyfrowany, lecz szyfrowanie nie zostało sprawdzone. Kontynuowanie. - + Tox datafile decryption password Hasło odszyfrowujące plik danych Tox - - - + + + Password error better translation? Błąd hasła - - + + Failed to setup password. Empty password. Nie udało się ustawić hasła. Puste hasło. - + Try Again Spróbuj ponownie - + Change profile Zmień profil - + Reinit current profile Zainicjuj ponownie obecny profil - + Wrong password has been entered Podano złe hasło - + History Log decryption password Hasło odszyfrowujące historię - + Encrypted log Zaszyfrowany log - + Your history is encrypted with different password Do you want to try another password? Twoja historia jest zaszyfrowana innym hasłem Czy chcesz spróbować z innym hasłem? - + Loggin - + pasuje do kontekstu + Błąd - + Due to incorret password logging will be disabled better translation? Logowanie będzie wyłączone z powodu złego hasła - + NO Password better translation? BRAK hasła - + Will be saved without encryption! Zostanie zapisane bez szyfrowania! @@ -289,17 +327,22 @@ Czy chcesz spróbować z innym hasłem? Zapisz plik - + Location not writable Title of permissions popup Nie można zapisać w lokacji - + You do not have permission to write that location. Choose another, or cancel the save dialog. text of permissions popup Nie masz uprawnienia by zapisać w tej lokacji. Wybierz inną lub anuluj zapis. + + + ETA + ETA + FilesForm @@ -417,25 +460,26 @@ Czy chcesz spróbować z innym hasłem? Główne - + + + None + Brak + + + Call active popup title Aktywna rozmowa - + You can't disconnect while a call is active! popup text - + Nie możesz się rozłączyć w trakcie rozmowy! GeneralSettings - - - Form - Ustawienia - General Settings @@ -466,13 +510,12 @@ Czy chcesz spróbować z innym hasłem? Start in tray - needs better wording? - Uruchom w trayu + Uruchamiaj w trayu Close to tray - Zamknij do traya + Zamykaj do traya @@ -511,6 +554,12 @@ Czy chcesz spróbować z innym hasłem? Style: Styl: + + + Enable UDP (recommended) + Text on checkbox to disable UDP + Używaj UDP (zalecane) + Reconnect @@ -527,31 +576,6 @@ Czy chcesz spróbować z innym hasłem? Theme Motyw - - - :) - :) - - - - ;) - ;) - - - - :p - :p - - - - :O - :O - - - - :'( - :'( - Connection Settings @@ -561,7 +585,7 @@ Czy chcesz spróbować z innym hasłem? Enable IPv6 (recommended) Text on a checkbox to enable IPv6 - Użyj IPv6 (zalecane) + Używaj IPv6 (zalecane) @@ -569,16 +593,10 @@ Czy chcesz spróbować z innym hasłem? force tcp checkbox tooltip To pozwala np. na toxowanie przez Tora. Niestety obciąża to sieć Tox, więc używaj tylko w razie potrzeby. - - - Disable UDP (not recommended) - Text on checkbox to disable UDP - Wyłącz UDP (nie zalecane) - Use proxy (SOCKS5) - Użyj proxy (SOCKS5) + Używaj proxy (SOCKS5) @@ -596,53 +614,53 @@ Czy chcesz spróbować z innym hasłem? GenericChatForm - + Send message Wyślij wiadomość - + Smileys Uśmiechy - + Send file(s) Wyślij plik(i) - + Audio call Rozmowa audio - + Video call Rozmowa wideo - + Toggle speakers volume Włącz/Wyłącz głośniki - + Toggle microphone Włącz/wyłącz mikrofon - - + + Save chat log Zapisz historię rozmowy - + Clear displayed messages Wyczyść wyświetlane wiadomości - + Cleared Wyczyszczono @@ -650,13 +668,13 @@ Czy chcesz spróbować z innym hasłem? GroupChatForm - + %1 users in chat Number of users in chat %1 użytkowników w czacie - + %1 users in chat %1 użytkowników w czacie @@ -756,37 +774,37 @@ Czy chcesz spróbować z innym hasłem? Czy na pewno chcesz usunąć ten profil? - + Import profile import dialog title Importuj profil - + Tox save file (*.tox) import dialog filter Plik zapisu Tox (*.tox) - + Ignoring non-Tox file popup title Zignorowano niepoprawny plik profilu - + Warning: you've chosen a file that is not a Tox save file; ignoring. popup text Ostrzeżenie: Wybrano plik który nie jest plikiem zapisu Tox; zignorowano. - + Profile already exists import confirm title Profil już istnieje - + A profile named "%1" already exists. Do you want to erase it? import confirm text Profil pod nazwą "%1" już istnieje. Czy chcesz go usunąć? @@ -794,11 +812,6 @@ Czy chcesz spróbować z innym hasłem? IdentitySettings - - - Form - Ustawienia - Public Information @@ -902,7 +915,7 @@ Czy chcesz spróbować z innym hasłem? Load History Dialog - Dialog wczytywania historii + Wczytaj historię @@ -912,11 +925,6 @@ Czy chcesz spróbować z innym hasłem? MainWindow - - - qTox - qTox - Your name @@ -949,14 +957,17 @@ Czy chcesz spróbować z innym hasłem? Zmień ustawienia - + Close Zamknij + + + NetCamView - - Ctrl+Q - Ctrl+Q + + Tox video + Tox video @@ -981,11 +992,6 @@ Czy chcesz usunąć stary plik historii? PrivacySettings - - - Form - Ustawienia - Typing Notification @@ -1015,11 +1021,6 @@ Czy chcesz usunąć stary plik historii? SetPasswordDialog - - - Dialog - - Type Password @@ -1059,110 +1060,110 @@ Czy chcesz usunąć stary plik historii? Zmień status na: - + Online Button to set your status to 'Online' Online - + Away Button to set your status to 'Away' Nieobecny/a - + Busy Button to set your status to 'Busy' Zajęty/a - + Choose a profile Wybierz profil - + Please choose which identity to use Proszę wybierz która tożsamość ma być użyta - + Choose a profile picture Wybierz obrazek profilu - - - + + + Error Błąd - + Unable to open this file Nie można otworzyć tego pliku - + Unable to read this image Nie można odczytać tego obrazka - + This image is too big Ten obrazek jest zbyt wielki - + Toxcore failed to start, the application will terminate after you close this message. Nie udało się uruchomić Toxcore, aplikacja zamknie się po zamknięciu tej wiadomości. - + toxcore failed to start with your proxy settings. qTox cannot run; please modify your settings and restart. popup text Nie udało się uruchomić toxcore z twoimi ustawieniami proxy. qTox nie może działać, proszę zmodyfikuj ustawienia i zrestartuj. - + away contact status nieobecna/y - + busy contact status zajęta/y - + offline contact status offline - + online contact status online - + %1 is now %2 e.g. "Dubslow is now online" %1 jest teraz %2 - + <Unknown> Placeholder when we don't know someone's name in a group chat <Nieznany/a> - - + + Message failed to send Nie udało się wysłać wiadmości