Added missing i18n for 2 lastest check functions.
All checks were successful
Run test asserts / Test-Asserts (push) Successful in 8s
All checks were successful
Run test asserts / Test-Asserts (push) Successful in 8s
This commit is contained in:
parent
729023d32b
commit
5f25388ec7
|
@ -1,12 +1,12 @@
|
|||
|
||||
define mb-make-check-variable
|
||||
$(MB_ᕽᕽᕽ )$(if $($(1)),,$(error $(1): Is empty))
|
||||
$(MB_ᕽᕽᕽ )$(if $($(1)),,$(error $(1): $(MB_I18N_MAKE_CHECK_VARIABLE)))
|
||||
endef
|
||||
$(call mb-make-call,mb-doc-function-deep,mb-make-check-variable,"Checks that a variable is not empty.","<variable>")
|
||||
|
||||
|
||||
define mb-make-check-value-valid
|
||||
$(MB_ᕽᕽᕽ )$(if $(filter $(2),$(3)),,$(error $(1): $(2) Is not valid, options are: $(3)))
|
||||
$(MB_ᕽᕽᕽ )$(if $(filter $(2),$(3)),,$(error $(1): $(MB_I18N_MAKE_CHECK_VALUE_VALID) $(2) $(3)))
|
||||
endef
|
||||
$(call mb-make-call,mb-doc-function-deep,mb-make-check-value-valid,"Checks that a value is valid.","<value> <valid-values>")
|
||||
|
||||
|
|
|
@ -20,6 +20,12 @@ $(call mb-make-call,mb-doc-variable-i18n,MB_I18N_CONV_DOS2UNIX,"Message for when
|
|||
MB_I18N_PACKAGE_CREATE_ARCHIVE ?= Build distribution archive
|
||||
$(call mb-make-call,mb-doc-variable-i18n,MB_I18N_PACKAGE_CREATE_ARCHIVE,"Message for when creating a archive.")
|
||||
|
||||
MB_I18N_MAKE_CHECK_VARIABLE ?= Variable is empty
|
||||
$(call mb-make-call,mb-doc-variable-i18n,MB_I18N_MAKE_CHECK_VARIABLE,"Error message when an variable is empty.")
|
||||
|
||||
MB_I18N_MAKE_CHECK_VALUE_VALID ?= Value is not valid
|
||||
$(call mb-make-call,mb-doc-variable-i18n,MB_I18N_MAKE_CHECK_VALID_VALUE,"Error message when the value is invalid.")
|
||||
|
||||
MB_I18N_MAKE_CHECK_ARG1 ?= Argument 1 is missing
|
||||
$(call mb-make-call,mb-doc-variable-i18n,MB_I18N_MAKE_CHECK_ARG1,"Error message when argument 1 is missing.")
|
||||
|
||||
|
|
|
@ -5,6 +5,8 @@ MB_I18N_AUTOEXEC_WRITE = WRITE BOOSTER:
|
|||
MB_I18N_CONV_UNIX2DOS = CONV UNIX2DOS:
|
||||
MB_I18N_CONV_DOS2UNIX = CONV DOS2UNIX:
|
||||
MB_I18N_PACKAGE_CREATE_ARCHIVE = BUILD ARCHIVE:
|
||||
MB_I18N_MAKE_CHECK_VARIABLE = VARIABLE EMPTY
|
||||
MB_I18N_MAKE_CHECK_VALUE_VALID = VALUE ERROR
|
||||
MB_I18N_MAKE_CHECK_ARG1 = ARG 1 FAIL
|
||||
MB_I18N_MAKE_CHECK_ARG2 = ARG 2 FAIL
|
||||
MB_I18N_MAKE_CHECK_ARG3 = ARG 3 FAIL
|
||||
|
|
|
@ -5,6 +5,8 @@ MB_I18N_AUTOEXEC_WRITE = ᑎᑎᕋᑲᐅᑎᒋᓂᖅ ᑲᒫᓗᖕᒥᒃ
|
|||
MB_I18N_CONV_UNIX2DOS = ᐅᐊᔭᐅᑉ ᐃᓱᐊᓄᐊᕐᓗᒍ
|
||||
MB_I18N_CONV_DOS2UNIX = ᑐᑭᓕᐊᖓᔪᓐᓃᕐᓗᓂ
|
||||
MB_I18N_PACKAGE_CREATE_ARCHIVE = ᓴᓇᓗᑎᒃ ᑐᖅᑯᐃᕕᒃᓴᓂᑦ
|
||||
MB_I18N_MAKE_CHECK_VARIABLE = ᐊᓯᔾᔨᖅᑕᖅᑐᑦ ᐱᑕᖃᙱᓐᓂᐅᔪᑦ
|
||||
MB_I18N_MAKE_CHECK_VALUE_VALID = ᐊᑐᙱᓐᓂᖓ ᖃᔅᓯᐅᓂᖓ
|
||||
MB_I18N_MAKE_CHECK_ARG1 = ᐊᐃᕙᔾᔪᑎ ᐊᑕᐅᓯᖅ ᐊᔪᖅᑐᖅ
|
||||
MB_I18N_MAKE_CHECK_ARG2 = ᐊᐃᕙᔾᔪᑎ ᒪᕐᕉᒃ ᐊᔪᖅᑑᒃ
|
||||
MB_I18N_MAKE_CHECK_ARG3 = ᐊᐃᕙᐅᑎ ᐱᖓᓱᑦ ᐊᔪᖅᑐᑦ
|
||||
|
|
|
@ -5,6 +5,8 @@ MB_I18N_AUTOEXEC_WRITE = 自動実行の書き込み
|
|||
MB_I18N_CONV_UNIX2DOS = ディスクシステムの行末に変換
|
||||
MB_I18N_CONV_DOS2UNIX = メインフレームラインエンドに変換
|
||||
MB_I18N_PACKAGE_CREATE_ARCHIVE = ビルド配布アーカイブ
|
||||
MB_I18N_MAKE_CHECK_VARIABLE = 変数が空です
|
||||
MB_I18N_MAKE_CHECK_VALUE_VALID = 値が無効です
|
||||
MB_I18N_MAKE_CHECK_ARG1 = 引数 一 がありません
|
||||
MB_I18N_MAKE_CHECK_ARG2 = 引数 二 がありません
|
||||
MB_I18N_MAKE_CHECK_ARG3 = 引数 三 がありません
|
||||
|
|
Loading…
Reference in a new issue