diff options
author | Bastien Montagne <b.mont29@gmail.com> | 2020-02-17 15:00:01 +0300 |
---|---|---|
committer | Bastien Montagne <b.mont29@gmail.com> | 2020-02-17 15:01:07 +0300 |
commit | d119e163d0a867fe0263d751231b838c57b95b31 (patch) | |
tree | cc271d14cd6b0f12d56498f0a906b8d32dc37e24 /source/blender/makesrna/intern/rna_wm_api.c | |
parent | 2d1b05a15fa2d53894efd5198784ddde6bfa63a3 (diff) |
Fix many typos and other issues in UI messages.
Diffstat (limited to 'source/blender/makesrna/intern/rna_wm_api.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_wm_api.c | 8 |
1 files changed, 4 insertions, 4 deletions
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; } } |