1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00
Commit Graph

892 Commits

Author SHA1 Message Date
Anthony Bilinski
c2a3be79fe
Merge Weblate translations
Manually resolving AppManager move from
c519c389536905594bc3291a5e379e15b97614d,
50bda558cd
2022-05-26 19:23:43 -07:00
Anthony Bilinski
50bda558cd
chore(l10n): Mark moved AppManager translations as finished
lupdate keeps moved translations, but marks them as unfinished. Since
context hasn't changed, the meaning of phrases is the same in this case.
Mark all moved translations that were finished before as finished now.
2022-05-24 13:26:48 -07:00
Anthony Bilinski
7c519c3895
refactor(main): Move main global state into new AppManager class
main() couldn't hold its own state since cleanup() needed access to it.
Having the state in a class allows QApplication::aboutToQuit to call
into a member function with access to the state.

Data used in logging still needs to be global due to
qInstallMessageHandler not accepting a void* to get back to this.

Set QGuiApplication attributes before constructing Qapplication as required,
by using comma operator to call an initialization function before construction
all members in the member initializer list.

Keep logic largely unchanged, but with a defined destruction order.

Destruction is still abnormal due to QApplication::aboutToQuit forcing
us to do partial cleanup before QApplication returns, since some OSes
will kill qTox before the QApplication returns.
2022-05-24 13:26:48 -07:00
無情天
60f8ae4902
feat(l10n): update Chinese (Simplified) translation from Weblate 2022-05-24 20:55:34 +02:00
S3aBreeze
2550653146
feat(l10n): update Russian translation from Weblate
feat(l10n): update Russian translation from Weblate
2022-05-24 20:55:34 +02:00
Andrey
62548f1fec
feat(l10n): update Russian translation from Weblate 2022-05-24 20:55:33 +02:00
Oymate
d64154a593
feat(l10n): update Bengali translation from Weblate
feat(l10n): add Bengali translation using Weblate
2022-05-24 20:55:33 +02:00
SC
72ed075855
feat(l10n): update Portuguese translation from Weblate 2022-05-24 20:55:33 +02:00
이정희
1c0616cca9
feat(l10n): update Korean translation from Weblate 2022-05-24 20:55:33 +02:00
txmvcssnhhptjeer cfegmheuzrmnjdso
b66caa5895
feat(l10n): update Polish translation from Weblate 2022-05-24 20:55:33 +02:00
Deleted User
adf4332c42
feat(l10n): update Polish translation from Weblate 2022-05-24 20:55:33 +02:00
The Cats
e5748056c8
feat(l10n): update Portuguese (Brazil) translation from Weblate
feat(l10n): update Italian translation from Weblate

feat(l10n): update French translation from Weblate

feat(l10n): update Spanish translation from Weblate

feat(l10n): update Portuguese (Brazil) translation from Weblate

feat(l10n): update French translation from Weblate

feat(l10n): update Spanish translation from Weblate

feat(l10n): update German translation from Weblate
2022-05-24 20:55:33 +02:00
Giannis
44bebc7582
feat(l10n): update Greek translation from Weblate 2022-05-24 20:55:33 +02:00
menom
197c9ebe5b
feat(l10n): update Slovak translation from Weblate 2022-05-24 20:55:33 +02:00
Eduard Mandy
15864a3281
feat(l10n): update Hungarian translation from Weblate 2022-05-24 20:55:33 +02:00
Frankie McEyes
ceec7d7f16
feat(l10n): update Italian translation from Weblate
feat(l10n): update Italian translation from Weblate

feat(l10n): update Italian translation from Weblate
2022-05-24 20:55:33 +02:00
Alan
5b1661c486
feat(l10n): update Portuguese (Brazil) translation from Weblate 2022-05-24 20:55:33 +02:00
Eric
0d80f04de7
feat(l10n): update Chinese (Simplified) translation from Weblate 2022-05-24 20:55:33 +02:00
Oğuz Ersen
e4b96179d9
feat(l10n): update Turkish translation from Weblate
feat(l10n): update Turkish translation from Weblate
2022-05-24 20:55:33 +02:00
S3aBreeze
848379652f
feat(l10n): update Russian translation from Weblate 2022-05-24 20:55:33 +02:00
109247019824
986b5359a6
feat(l10n): update Bulgarian translation from Weblate
feat(l10n): update Bulgarian translation from Weblate
2022-05-24 20:55:33 +02:00
Sonita
3063713704
feat(l10n): update Vietnamese translation from Weblate
feat(l10n): add Vietnamese translation using Weblate
2022-05-24 20:55:33 +02:00
Anthony Bilinski
f4e64ee7a6
feat(History): Add a GUI error on database schema mismatch
Fix #5683
2022-05-20 11:38:12 -07:00
Anthony Bilinski
a300415983
chore(i18n): Update translation files for Weblate
Unsure why new diffs were generated from the last source update based
on incoming translations.
2022-04-05 12:56:27 -07:00
Atrate
c0c2d1fad3
feat(l10n): update Polish translation from Weblate 2022-04-05 12:56:27 -07:00
Allan Nordhøy
78670eda55
feat(l10n): update Norwegian Bokmål translation from Weblate 2022-04-05 12:56:27 -07:00
The Cats
497feec9bd
feat(l10n): update French translation from Weblate
feat(l10n): update Spanish translation from Weblate

feat(l10n): update Portuguese (Brazil) translation from Weblate

feat(l10n): update Spanish translation from Weblate

feat(l10n): update Portuguese (Brazil) translation from Weblate

feat(l10n): update Portuguese (Brazil) translation from Weblate

feat(l10n): update French translation from Weblate
2022-04-05 12:56:27 -07:00
Oğuz Ersen
db5178c6ca
feat(l10n): update Turkish translation from Weblate
feat(l10n): update Turkish translation from Weblate

feat(l10n): update Turkish translation from Weblate
2022-04-05 12:56:27 -07:00
109247019824
d797fc27a9
feat(l10n): update Bulgarian translation from Weblate
feat(l10n): update Bulgarian translation from Weblate

feat(l10n): update Bulgarian translation from Weblate
2022-04-05 12:56:27 -07:00
Peter Jespersen
a494bc78e4
feat(l10n): update Danish translation from Weblate
feat(l10n): update Danish translation from Weblate
2022-04-05 12:56:27 -07:00
Søren Ingemann Nielsen
cb659bc83f
feat(l10n): update Danish translation from Weblate
feat(l10n): update Danish translation from Weblate
2022-04-05 12:56:27 -07:00
Eric
dbc9b4f049
feat(l10n): update Chinese (Simplified) translation from Weblate
feat(l10n): update Chinese (Simplified) translation from Weblate

feat(l10n): update Chinese (Simplified) translation from Weblate

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (7 of 7 strings)

Translation: Tox/qTox - test, do not translate
Translate-URL: https://hosted.weblate.org/projects/tox/qtox-test-do-not-translate/zh_Hans/

feat(l10n): update Chinese (Simplified) translation from Weblate

feat(l10n): update Chinese (Simplified) translation from Weblate
2022-04-05 12:56:27 -07:00
Oğuz Ersen
5968999aff
feat(l10n): update Turkish translation from Weblate
feat(l10n): update Turkish translation from Weblate
2022-04-05 12:56:27 -07:00
S3aBreeze
479f6b7269
feat(l10n): update Russian translation from Weblate
feat(l10n): update Russian translation from Weblate

feat(l10n): update Russian translation from Weblate

feat(l10n): update Russian translation from Weblate

feat(l10n): update Russian translation from Weblate
2022-04-05 12:56:27 -07:00
Anthony Bilinski
1ac7285c79
refactor(widget): Make RemoveFriendDialog generic for Chats 2022-03-30 19:27:57 -07:00
Anthony Bilinski
efc641efd7
feat(Settings): Add GUI notice for global settings upgrade failure
Due to new MessageBoxManager, Settings now has the ability to show errors
during init.
2022-03-24 02:14:21 -07:00
Anthony Bilinski
b24faabf42
refactor(GUI): Move remaining messsage box functionality to new class
* Pass MessageBoxManager instantiation around instead of relying on a singleton
* Mock MessageBoxManager for unit tests when needed, since they don't have a
  QApplication which is required for creating QWidgets
* Remove GUI class, which didn't have a clear purpose
2022-03-24 02:14:20 -07:00
Anthony Bilinski
e740859ef9
feat(history): Add self join/part messages
Makes it so that looking back in chat history, you can see which users you were
connected to for any message. Otherwise self client restarts are unseen.
Follows showGroupJoinLeaveMessages setting which defaults to false, so only
users who opt in will see the messages.

Scrap generic numArg handling. It somewhat increases complexity and doesn't
reduce code either.
2022-03-10 16:23:46 -08:00
Anthony Bilinski
2b41a06b55
feat(Settings): Add system for versioning and upgrading Settings
Similar to how History handles SCHEMA_VERSION. Run separately on global and
personal settings, since some state in global, and personal settings can’t be
done globally since they require the passkey.

Restrict a user from downgrading past the saved settings version, due to
possible compatibility breaks or old qTox versions re-introducing corrupt state
that was already healed.

Pass in new profile state for personal settings rather than relying on settings
file presence because personal settings can be stored in either the personal
settings file or global settings file. This was introduced in
aea9eea8a4 when personal settings were first
moved to their own file.
2022-03-06 06:00:13 -08:00
Anthony Bilinski
0cb222c056
feat(i18n): Handle English plural forms in translations
Special case that only needs plurals translated.
2022-02-23 21:12:16 -08:00
Anthony Bilinski
069ab92fd0
feat(UI): Add UI For controlling group join and leave system messages setting 2022-02-20 18:14:55 -08:00
Anthony Bilinski
5f8704cf0f
chore(i18n): Update translation files for Weblate
For some reason, re-running update-translation-files.sh right on
1031b315b9 which it generates more new changes.
Rerunning further doesn't generate yet more changes.
2022-02-20 17:04:05 -08:00
Anthony Bilinski
1031b315b9
chore(i18n): update translation files for Weblate 2022-02-19 03:26:11 -08:00
Anthony Bilinski
4b3f50a0c0
chore(l10n): Fix ordering of languages in code 2022-02-19 03:26:11 -08:00
Anthony Bilinski
188fe340f2
feat(l10n): Add Urdu and Icelandic translations 2022-02-19 03:26:11 -08:00
Anthony Bilinski
3fcbfd63bc
chore(l10n): update translations from Weblate
109247019824 (2):
      feat(l10n): update Bulgarian translation from Weblate
      feat(l10n): update Bulgarian translation from Weblate

Abu Sarim Hindi (2):
      feat(l10n): add Urdu translation using Weblate
      feat(l10n): update Urdu translation from Weblate

Alexander-David Beck (3):
      feat(l10n): update German translation from Weblate
      feat(l10n): update German translation from Weblate
      feat(l10n): update German translation from Weblate

Anthony Bilinski (2):
      feat(l10n): add English (United States) translation using Weblate
      Deleted translation using Weblate (English (United States))

Artem (1):
      feat(l10n): update Russian translation from Weblate

Atrate (1):
      feat(l10n): update Polish translation from Weblate

Claes-Göran Nydahl (1):
      feat(l10n): update Swedish translation from Weblate

Eric (3):
      feat(l10n): update Chinese (Simplified) translation from Weblate
      feat(l10n): update Chinese (Simplified) translation from Weblate
      feat(l10n): update Chinese (Simplified) translation from Weblate

Frankie McEyes (1):
      feat(l10n): update Italian translation from Weblate

Gediminas Murauskas (6):
      feat(l10n): update Lithuanian translation from Weblate
      feat(l10n): update Lithuanian translation from Weblate
      feat(l10n): update Lithuanian translation from Weblate
      feat(l10n): update Lithuanian translation from Weblate
      feat(l10n): update Lithuanian translation from Weblate
      feat(l10n): update Lithuanian translation from Weblate

Ivan (1):
      feat(l10n): update Russian translation from Weblate

Jonatan Nyberg (1):
      feat(l10n): update Swedish translation from Weblate

Kaantaja (1):
      feat(l10n): update Finnish translation from Weblate

Karl Tammik (4):
      feat(l10n): update Finnish translation from Weblate
      feat(l10n): update Estonian translation from Weblate
      feat(l10n): update Estonian translation from Weblate
      feat(l10n): update Estonian translation from Weblate

Kristjan Räts (2):
      feat(l10n): update Estonian translation from Weblate
      feat(l10n): update Estonian translation from Weblate

Matej Golian (1):
      feat(l10n): update Slovak translation from Weblate

Oğuz Ersen (2):
      feat(l10n): update Turkish translation from Weblate
      feat(l10n): update Turkish translation from Weblate

Plamen Nazarov (1):
      feat(l10n): update Bulgarian translation from Weblate

Rafael Nadal (2):
      feat(l10n): update Czech translation from Weblate
      feat(l10n): update Czech translation from Weblate

S3aBreeze (3):
      feat(l10n): update Russian translation from Weblate
      feat(l10n): update Russian translation from Weblate
      feat(l10n): update Russian translation from Weblate

SC (1):
      feat(l10n): update Portuguese translation from Weblate

Sparkwave (1):
      feat(l10n): update Polish translation from Weblate

The Cats (14):
      feat(l10n): update Portuguese (Brazil) translation from Weblate
      feat(l10n): update Spanish translation from Weblate
      feat(l10n): update French translation from Weblate
      feat(l10n): update Spanish translation from Weblate
      feat(l10n): update French translation from Weblate
      feat(l10n): update Portuguese (Brazil) translation from Weblate
      feat(l10n): update French translation from Weblate
      feat(l10n): update Italian translation from Weblate
      feat(l10n): update German translation from Weblate
      feat(l10n): update Italian translation from Weblate
      feat(l10n): update German translation from Weblate
      feat(l10n): update German translation from Weblate
      feat(l10n): update Italian translation from Weblate
      feat(l10n): update Hebrew translation from Weblate

Tomi P (1):
      feat(l10n): update Finnish translation from Weblate

Trendyne (2):
      feat(l10n): add Icelandic translation using Weblate
      feat(l10n): update Icelandic translation from Weblate

Tymofii Lytvynenko (1):
      feat(l10n): update Ukrainian translation from Weblate

coronabond (1):
      feat(l10n): update Italian translation from Weblate

litavycia (1):
      feat(l10n): update Ukrainian translation from Weblate

mati (1):
      feat(l10n): update Polish translation from Weblate

nue (2):
      feat(l10n): update Latvian translation from Weblate
      feat(l10n): update Latvian translation from Weblate

redtide (1):
      feat(l10n): update Italian translation from Weblate

remussatala (2):
      feat(l10n): update Romanian translation from Weblate
      feat(l10n): update Romanian translation from Weblate

ssantos (2):
      feat(l10n): update Portuguese translation from Weblate
      feat(l10n): update Portuguese translation from Weblate

t4llkr (1):
      feat(l10n): update Russian translation from Weblate

wang (1):
      feat(l10n): update Chinese (Simplified) translation from Weblate

曹恩逢 (1):
      feat(l10n): update Chinese (Traditional) translation from Weblate
2022-02-19 03:26:11 -08:00
Anthony Bilinski
2d6fe8ee59
chore(i18n): update translation files for Weblate 2021-03-04 05:31:02 -08:00
Anthony Bilinski
479cd90f9c
chore(i18n): Add new languages
Language codes: BER, GL, KN, SI, SQ
2021-03-04 05:31:02 -08:00
Anthony Bilinski
4556f74f5a
chore(l10n): update translations from Weblate
6π (1):
      feat(l10n): update French translation from Weblate

Alberto Luaces (3):
      feat(l10n): add Galician translation using Weblate
      feat(l10n): update Galician translation from Weblate
      feat(l10n): update Galician translation from Weblate

Allan Nordhøy (2):
      feat(l10n): update Norwegian Bokmål translation from Weblate
      feat(l10n): update Norwegian Bokmål translation from Weblate

Anonymous (1):
      feat(l10n): update Czech translation from Weblate

Artem (2):
      feat(l10n): update Russian translation from Weblate
      feat(l10n): update Russian translation from Weblate

Atrate (3):
      feat(l10n): update Polish translation from Weblate
      feat(l10n): update Polish translation from Weblate
      feat(l10n): update Polish translation from Weblate

Balazs (3):
      feat(l10n): update Hungarian translation from Weblate
      feat(l10n): update Hungarian translation from Weblate
      feat(l10n): update Hungarian translation from Weblate

Cornelius Kölbel (1):
      feat(l10n): update German translation from Weblate

Emery Hemingway (2):
      feat(l10n): add Kannada translation using Weblate
      feat(l10n): update Kannada translation from Weblate

Filipovic Dragan (2):
      feat(l10n): update Serbian translation from Weblate
      feat(l10n): update Serbian translation from Weblate

Hakim Oubouali (2):
      feat(l10n): add Berber translation using Weblate
      feat(l10n): update Berber translation from Weblate

HelaBasa (2):
      feat(l10n): add Sinhala translation using Weblate
      feat(l10n): update Sinhala translation from Weblate

Hosted Weblate (81):
      Merge branch 'origin/master' into Weblate.
      Merge branch 'origin/master' into Weblate.
      Merge branch 'origin/master' into Weblate.
      Merge branch 'origin/master' into Weblate.
      Merge branch 'origin/master' into Weblate.
      Merge branch 'origin/master' into Weblate.
      Merge branch 'origin/master' into Weblate.
      Merge branch 'origin/master' into Weblate.
      Merge branch 'origin/master' into Weblate.
      Merge branch 'origin/master' into Weblate.
      Merge branch 'origin/master' into Weblate.
      Merge branch 'origin/master' into Weblate.
      Merge branch 'origin/master' into Weblate.
      Merge branch 'origin/master' into Weblate.
      Merge branch 'origin/master' into Weblate.
      Merge branch 'origin/master' into Weblate.
      Merge branch 'origin/master' into Weblate.
      Merge branch 'origin/master' into Weblate.
      Merge branch 'origin/master' into Weblate.
      Merge branch 'origin/master' into Weblate.
      Merge branch 'origin/master' into Weblate.
      Merge branch 'origin/master' into Weblate.
      Merge branch 'origin/master' into Weblate.
      Merge branch 'origin/master' into Weblate.
      Merge branch 'origin/master' into Weblate.
      Merge branch 'origin/master' into Weblate.
      Merge branch 'origin/master' into Weblate.
      Merge branch 'origin/master' into Weblate.
      Merge branch 'origin/master' into Weblate.
      Merge branch 'origin/master' into Weblate.
      Merge branch 'origin/master' into Weblate.
      Merge branch 'origin/master' into Weblate.
      Merge branch 'origin/master' into Weblate.
      Merge branch 'origin/master' into Weblate.
      Merge branch 'origin/master' into Weblate.
      Merge branch 'origin/master' into Weblate.
      Merge branch 'origin/master' into Weblate.
      Merge branch 'origin/master' into Weblate.
      Merge branch 'origin/master' into Weblate.
      Merge branch 'origin/master' into Weblate.
      Merge branch 'origin/master' into Weblate.
      Merge branch 'origin/master' into Weblate.
      Merge branch 'origin/master' into Weblate.
      Merge branch 'origin/master' into Weblate.
      Merge branch 'origin/master' into Weblate.
      Merge branch 'origin/master' into Weblate.
      Merge branch 'origin/master' into Weblate.
      Merge branch 'origin/master' into Weblate.
      Merge branch 'origin/master' into Weblate.
      Merge branch 'origin/master' into Weblate.
      Merge branch 'origin/master' into Weblate.
      Merge branch 'origin/master' into Weblate.
      Merge branch 'origin/master' into Weblate.
      Merge branch 'origin/master' into Weblate.
      Merge branch 'origin/master' into Weblate.
      Merge branch 'origin/master' into Weblate.
      Merge branch 'origin/master' into Weblate.
      Merge branch 'origin/master' into Weblate.
      Merge branch 'origin/master' into Weblate.
      Merge branch 'origin/master' into Weblate.
      Merge branch 'origin/master' into Weblate.
      Merge branch 'origin/master' into Weblate.
      Merge branch 'origin/master' into Weblate.
      Merge branch 'origin/master' into Weblate.
      Merge branch 'origin/master' into Weblate.
      Merge branch 'origin/master' into Weblate.
      Merge branch 'origin/master' into Weblate.
      Merge branch 'origin/master' into Weblate.
      Merge branch 'origin/master' into Weblate.
      Merge branch 'origin/master' into Weblate.
      Merge branch 'origin/master' into Weblate.
      Merge branch 'origin/master' into Weblate.
      Merge branch 'origin/master' into Weblate.
      Merge branch 'origin/master' into Weblate.
      Merge branch 'origin/master' into Weblate.
      Merge branch 'origin/master' into Weblate.
      Merge branch 'origin/master' into Weblate.
      Merge branch 'origin/master' into Weblate.
      Merge branch 'origin/master' into Weblate.
      Merge branch 'origin/master' into Weblate.
      Merge branch 'origin/master' into Weblate.

J. Lavoie (5):
      feat(l10n): update French translation from Weblate
      feat(l10n): update Italian translation from Weblate
      feat(l10n): update German translation from Weblate
      feat(l10n): update French translation from Weblate
      feat(l10n): update Italian translation from Weblate

Jonatan Nyberg (5):
      feat(l10n): update Swedish translation from Weblate
      feat(l10n): update Swedish translation from Weblate
      feat(l10n): update Swedish translation from Weblate
      feat(l10n): update Swedish translation from Weblate
      feat(l10n): update Swedish translation from Weblate

Karl Tammik (2):
      feat(l10n): update Estonian translation from Weblate
      feat(l10n): update Estonian translation from Weblate

Kaur Männamaa (5):
      feat(l10n): update Estonian translation from Weblate
      feat(l10n): update Estonian translation from Weblate
      feat(l10n): update Estonian translation from Weblate
      feat(l10n): update Estonian translation from Weblate
      feat(l10n): update Estonian translation from Weblate

Kristjan Räts (2):
      feat(l10n): update Estonian translation from Weblate
      feat(l10n): update Estonian translation from Weblate

Lukáš Jelínek (1):
      feat(l10n): update Czech translation from Weblate

Luna Jernberg (1):
      feat(l10n): update Swedish translation from Weblate

Marek Ľach (1):
      feat(l10n): update Slovak translation from Weblate

Martin Beer (7):
      feat(l10n): update German translation from Weblate
      feat(l10n): update German translation from Weblate
      feat(l10n): update German translation from Weblate
      feat(l10n): update German translation from Weblate
      feat(l10n): update German translation from Weblate
      feat(l10n): update German translation from Weblate
      feat(l10n): update German translation from Weblate

Michalis (2):
      feat(l10n): update Greek translation from Weblate
      feat(l10n): update Greek translation from Weblate

Milo Ivir (2):
      feat(l10n): update Croatian translation from Weblate
      feat(l10n): update Croatian translation from Weblate

Riku Viitanen (1):
      feat(l10n): update Finnish translation from Weblate

Survesh VRL (1):
      feat(l10n): update Tamil translation from Weblate

Søren Ingemann Nielsen (1):
      feat(l10n): update Danish translation from Weblate

Tautvydas Zukauskas (1):
      feat(l10n): update Lithuanian translation from Weblate

The Cats (4):
      feat(l10n): update French translation from Weblate
      feat(l10n): update French translation from Weblate
      feat(l10n): update Italian translation from Weblate
      feat(l10n): update Portuguese (Brazil) translation from Weblate

Thect (1):
      feat(l10n): update Chinese (Traditional) translation from Weblate

Thomas Weber (5):
      feat(l10n): update German translation from Weblate
      feat(l10n): update German translation from Weblate
      feat(l10n): update German translation from Weblate
      feat(l10n): update German translation from Weblate
      feat(l10n): update German translation from Weblate

Whod (1):
      feat(l10n): update Bulgarian translation from Weblate

William (2):
      feat(l10n): update Norwegian Bokmål translation from Weblate
      feat(l10n): update Norwegian Bokmål translation from Weblate

anonymous (2):
      feat(l10n): update German translation from Weblate
      feat(l10n): update German translation from Weblate

brokolice (2):
      feat(l10n): update Czech translation from Weblate
      feat(l10n): update Czech translation from Weblate

mv87 (1):
      feat(l10n): update German translation from Weblate

remussatala (1):
      feat(l10n): update Romanian translation from Weblate

ssantos (1):
      feat(l10n): update Portuguese translation from Weblate

tmerkuri (2):
      feat(l10n): add Albanian translation using Weblate
      feat(l10n): update Albanian translation from Weblate

Мирослав Николић (1):
      feat(l10n): update Serbian translation from Weblate
2021-03-04 04:43:46 -08:00
papadave66
d48d02a1ed fix(translation): Fix Simplified Chinese format and add a message
in advanced settings tab.
2020-09-04 22:08:30 +08:00