Fixed empty language is oke.
All checks were successful
Run test asserts / Test-Asserts (push) Successful in -6s

This commit is contained in:
Willem Cazander 2024-07-10 23:55:34 +02:00
parent 2b4bb3e7ad
commit b92f956ac9

View file

@ -28,8 +28,8 @@ include $(MB__BASEPATH)/lib/make/mb_tool.mk
include $(MB__BASEPATH)/lib/make/mb_proj.mk
include $(MB__BASEPATH)/lib/make/i18n/mb_i18n.mk
ifneq ("$(MB_I18N)", "off")
$(if $(wildcard $(MB__BASEPATH)/lib/make/i18n/mb_i18n_$(MB_I18N).mk),,$(error Unsupported i18n language code: $(MB_I18N)))
include $(MB__BASEPATH)/lib/make/i18n/mb_i18n_$(MB_I18N).mk
$(if $(MB_I18N),$(if $(wildcard $(MB__BASEPATH)/lib/make/i18n/mb_i18n_$(MB_I18N).mk),,$(error Unsupported i18n language code: $(MB_I18N))))
$(if $(MB_I18N),$(eval include $(MB__BASEPATH)/lib/make/i18n/mb_i18n_$(MB_I18N).mk))
endif