mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-29 06:15:24 +00:00
translations on macOS: use path relative to executable for finding .po files
Together with the additions of building `libiconv` and a complete
`gettext` in `build.sh` in revision
e17cbecb16
, this enables the use of all
available interface translations on macOS.
Fixes #2110, #2307, #2323.
This commit is contained in:
parent
e17cbecb16
commit
c9e95d272b
7
NEWS.md
7
NEWS.md
@ -1,5 +1,12 @@
|
||||
# Version ?
|
||||
|
||||
## New features and enhancements
|
||||
|
||||
* macOS: translations: updated the `build.sh` script to build `libiconv` and a
|
||||
complete `gettext`. Together with an additional fix to how translation files
|
||||
are located, MKVToolNix can now use all interface languages on macOS,
|
||||
too. Fixes #2110, #2307, #2323.
|
||||
|
||||
## Bug fixes
|
||||
|
||||
* MKVToolNix GUI: header editor: non-mandatory elements couldn't be removed
|
||||
|
@ -374,6 +374,8 @@ init_locales(std::string locale) {
|
||||
|
||||
# if defined(MTX_APPIMAGE)
|
||||
locale_dir = (mtx::sys::get_installation_path() / ".." / "share" / "locale").string();
|
||||
# elif defined(SYS_APPLE)
|
||||
locale_dir = (mtx::sys::get_installation_path() / "locale").string();
|
||||
# else
|
||||
locale_dir = MTX_LOCALE_DIR;
|
||||
# endif // MTX_APPIMAGE
|
||||
|
Loading…
Reference in New Issue
Block a user