Commit Graph

14894 Commits

Author SHA1 Message Date
Moritz Bunkus
ac9951eaed
GUI: use WAV variants of the default GUI job sounds
It seems that WAV is the only format supported across most versions of
Qt (5 & 6) and most operating systems.

Existing "run program" configurations will be adjusted if they still
contain Ogg files with the installation directory placeholder.
2022-04-09 11:43:18 +02:00
Moritz Bunkus
4a4e8dc035
GUI: report audio playback errors to the user 2022-04-09 11:43:18 +02:00
Moritz Bunkus
84713575cd
GUI: prefs: only offer "all files" filter when browsing audio files
In Qt5 it is impossible to enumerate the file formats actually
supported by Qt.

In Qt6 it is possible to enumerate them. However, that list seems to
be incorrect. Tests on Windows showed both false negatives (e.g. the
enumeration didn't contain WAV files, but playing them worked just
fine) and false positives (e.g. the enumeration contained WebM & Opus,
but playing Opus-in-WebM didn't work).
2022-04-09 11:43:18 +02:00
Moritz Bunkus
77a93d59a5
GUI: system info: include list of supported audio codecs/file formats for Qt ≥ 6.2.0 2022-04-09 11:42:42 +02:00
Moritz Bunkus
9deee8e6a1
build system: Qt6: try to detect qtmultimedia for mingw, too 2022-04-09 11:42:42 +02:00
Moritz Bunkus
f0521d73c1
configure, GUI: fix detection of & compilation with Qt multimedia ≥ 6.2.0 2022-04-09 11:25:23 +02:00
Moritz Bunkus
022ffc87cc
NEWS: add entry about fixing #3316 2022-04-06 22:19:55 +02:00
Moritz Bunkus
f0caeb7836
GUI: only enable sleep actions if systemctl found in path
Part of the fix of #3316.
2022-04-06 22:19:55 +02:00
Moritz Bunkus
61f188181c
GUI: build "Linux" runner on other Unices, too
Part of the fix of #3316.
2022-04-06 22:19:55 +02:00
Moritz Bunkus
8c3e827e2a
build system: fix OS-based file selection for non-Linux/macOS/Windows systems
Several files have OS-specific names like "…/windows.cpp", and they
should only be compiled when currently compiling for that OS. The
three main OS mentioned in the build system are Linux, macOS and
Windows. Other Unices like FreeBSD aren't mentioned explicitly and
should be treated the same as Linux (as the code in those
Linux-specific files is rather Unix-but-not-macOS-specific).

Fixes #3316.
2022-04-06 22:19:55 +02:00
Moritz Bunkus
d8a4eef67f
add translation to Chinese Simplified (Singapore) by Dian Li 2022-04-06 21:44:54 +02:00
Moritz Bunkus
6abaaac967
add translation entries for currently worked on but very incomplete translations 2022-04-06 21:40:55 +02:00
Moritz Bunkus
250f61901f
sort list of language in source alphabetically by whole line 2022-04-06 21:40:31 +02:00
Moritz Bunkus
3aa624c6d7
normalize language names 2022-04-06 21:34:34 +02:00
Moritz Bunkus
bac0916d5b
update link to list of language IDs on Windows 2022-04-06 21:34:07 +02:00
Andrei Stepanov
e500d22b8d Fix typo in mkvmerge.xml 2022-04-03 23:53:21 +00:00
Dian Li
a2213823ab
translations: update Chinese Simplified 2022-04-03 20:50:24 +02:00
Burak Yavuz
cbe8a0b99f
translations: update Turkish 2022-04-03 20:50:07 +02:00
Andrei Stepanov
0081a363e8
translations: update Russian 2022-04-03 20:50:01 +02:00
Daniel
6c0b101494
translations: update Romanian 2022-04-03 20:49:53 +02:00
Roberto Boriotti
5764790eee
translations: update Italian 2022-04-03 20:49:43 +02:00
TMTisFree
55be973512
translations: update French 2022-04-03 20:49:35 +02:00
Israel Lucas Torrijos
46085dc5f0
translations: update Spanish 2022-04-03 20:49:31 +02:00
Dian Li
76db5a438e
man page translations: update Chinese Simplified 2022-04-03 20:49:24 +02:00
Moritz Bunkus
8e26c24b0e
NEWS: fix spelling mistake 2022-04-03 20:30:42 +02:00
Moritz Bunkus
317e0d40c9
translations: update list of translatable strings; update German translation 2022-03-29 21:18:56 +02:00
Moritz Bunkus
c50e582fa4
GUI: BCP47: show warning if script should be suppressed
Part of the implementation of #3307.
2022-03-29 21:15:53 +02:00
Moritz Bunkus
3c52a6d26d
GUI: BCP47: group warnings
Part of the implementation of #3307.
2022-03-29 21:15:53 +02:00
Moritz Bunkus
d04ac487d1
BCP47: add more unit tests 2022-03-29 21:15:53 +02:00
Moritz Bunkus
d214fc30d0
build system: IANA updater: refactor to use ERB for cleaner code 2022-03-29 21:15:53 +02:00
Moritz Bunkus
6e246dae37
GUI: BCP47: fix "always replace…" yielding warnings in certain situations
Part of the implementation of #3307.
2022-03-29 19:22:34 +02:00
Moritz Bunkus
9e603f5d7d
translations: update list of translatable strings; update German translation 2022-03-29 15:30:28 +02:00
Andrei Stepanov
b61a216b9a
translations: update Russian 2022-03-29 15:28:33 +02:00
Roberto Boriotti
a750f801d9
translations: update Italian 2022-03-29 15:28:33 +02:00
Dian Li
22f11a01fd
translations: update Chinese Simplified 2022-03-29 15:28:33 +02:00
Dian Li
a7a8848ac1
man page translations: update Chinese Simplified 2022-03-29 15:28:33 +02:00
TMTisFree
07c5b40350
translations: update French 2022-03-29 15:28:33 +02:00
TMTisFree
b92800c68c
man page translations: update French 2022-03-29 15:28:33 +02:00
Moritz Bunkus
4db742b43f
GUI: BCP47: show warning if variant's used with unsuitable prefix
Part of the implementation of #3307.
2022-03-29 15:28:33 +02:00
Moritz Bunkus
9111ee6ed1
GUI: refactor code 2022-03-29 15:21:12 +02:00
Moritz Bunkus
3048c61d92
BCP47: add function for finding the first variant not matching its prefixes
Part of the implementation of #3307.
2022-03-29 13:01:53 +02:00
Moritz Bunkus
e6bcf00a6d
translations: update list of translatable strings; update German translation 2022-03-28 22:02:53 +02:00
Moritz Bunkus
5b0f2c8cd8
GUI: BCP47: make normalization form info non-warnings depending on preferences
So far if there was a canonical and/or extlang form that was different
form what the user entered those pieces of information were shown as
warnings.

With this change the state of the preferences are taken into
account. The same pieces of information are now only a warning if the
different normalization form is the one selected in the preferences as
the one to normalize to.

For example: if you enter `yue` (which is a canonical form with the
corresponding extlang form `zh-yue`) & your preferences are set to
"canonical", then this situation is judged "OK" as the text entered
matches the form you want according to the preferences. A text with an
"info" icon is shown, stating that there's an extlang form of `zh-yue`
available.

If, however, your preferences are set to "extlang", then a text with
a "warning" icon is shown stating what the extlang form would be.

If your preferences are set to "no normalization" the messages are
always shown with an "info" icon.

Part of the implementation of #3307.
2022-03-28 22:02:19 +02:00
Moritz Bunkus
73a6d31437
man page translations: update list of translatable strings; update German translation 2022-03-28 19:11:40 +02:00
Moritz Bunkus
0735615b3b
man page: fix grammar mistake 2022-03-28 19:05:33 +02:00
Moritz Bunkus
b8ae7efc62
translations: update German 2022-03-28 18:59:38 +02:00
Moritz Bunkus
b7ec684e68
translations: update list of translatable strings; update German translation 2022-03-28 18:53:16 +02:00
Dian Li
632e09d44d
translations: update Chinese Simplified 2022-03-28 18:51:45 +02:00
Roberto Boriotti
3b4519efbd
translations: update Italian 2022-03-28 18:51:35 +02:00
TMTisFree
afabd0bb4a
translations: update French 2022-03-28 18:51:25 +02:00