You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Makefile passes DESTDIR to CFLAGS when defining LOCALEDIR, this means that I just run make install DESTDIR=... instead of running make and then make install DESTDIR=..., then the binary will get the wrong path to the locales and so no translations will work:
The usual way that Makefiles handle DESTDIR is to only use DESTDIR in the install targets.
For purple-discord I'd suggest moving the $(DESTDIR) variable usage out of LOCALEDIR and into a new LOCALE_DEST variable to use in the install targets, something like this should fix the problem:
The Makefile passes DESTDIR to CFLAGS when defining LOCALEDIR, this means that I just run
make install DESTDIR=...
instead of runningmake
and thenmake install DESTDIR=...
, then the binary will get the wrong path to the locales and so no translations will work:The usual way that Makefiles handle DESTDIR is to only use DESTDIR in the install targets.
For purple-discord I'd suggest moving the
$(DESTDIR)
variable usage out of LOCALEDIR and into a new LOCALE_DEST variable to use in the install targets, something like this should fix the problem:The text was updated successfully, but these errors were encountered: