摘要 |
There is disclosed a method, apparatus and computer program for validating a function call in source code, a valid function call referencing a message in a message bundle using a message key specified in the function call, the valid function call operable to produce output using the referenced message. First a function call to validate is located. Then it is determined whether a message bundle associated with a message key specified in the function call can be located. Responsive to this being possible, an attempt is made to access the referenced message within the message bundle using the message key. An error message is output should validation of the function call fail.
|