(Bug 5152) Don't return a string for an int value

Instead, warn (and provide helpful hint to fix it) and then return 0.
Merge pull request #473 from afuna/relevant-error-oh-translation-system-bug5152

(Bug 5152) Don't return a string for an int value