From d119e163d0a867fe0263d751231b838c57b95b31 Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Mon, 17 Feb 2020 13:00:01 +0100 Subject: Fix many typos and other issues in UI messages. --- source/blender/makesrna/intern/rna_wm_api.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source/blender/makesrna/intern/rna_wm_api.c') diff --git a/source/blender/makesrna/intern/rna_wm_api.c b/source/blender/makesrna/intern/rna_wm_api.c index 841d82adcb7..664c45df4dc 100644 --- a/source/blender/makesrna/intern/rna_wm_api.c +++ b/source/blender/makesrna/intern/rna_wm_api.c @@ -552,24 +552,24 @@ static wmEvent *rna_Window_event_add_simulate(wmWindow *win, } if (!ELEM(value, KM_PRESS, KM_RELEASE, KM_NOTHING)) { - BKE_report(reports, RPT_ERROR, "value: only 'PRESS/RELEASE/NOTHING' are supported"); + BKE_report(reports, RPT_ERROR, "Value: only 'PRESS/RELEASE/NOTHING' are supported"); return NULL; } if (ISKEYBOARD(type) || ISMOUSE_BUTTON(type)) { if (!ELEM(value, KM_PRESS, KM_RELEASE)) { - BKE_report(reports, RPT_ERROR, "value: must be 'PRESS/RELEASE' for keyboard/buttons"); + BKE_report(reports, RPT_ERROR, "Value: must be 'PRESS/RELEASE' for keyboard/buttons"); return NULL; } } if (ELEM(type, MOUSEMOVE, INBETWEEN_MOUSEMOVE)) { if (value != KM_NOTHING) { - BKE_report(reports, RPT_ERROR, "value: must be 'NOTHING' for motion"); + BKE_report(reports, RPT_ERROR, "Value: must be 'NOTHING' for motion"); return NULL; } } if (unicode != NULL) { if (value != KM_PRESS) { - BKE_report(reports, RPT_ERROR, "value: must be 'PRESS' when unicode is set"); + BKE_report(reports, RPT_ERROR, "Value: must be 'PRESS' when unicode is set"); return NULL; } } -- cgit v1.2.3