Mercurial > projects > mde
diff codeDoc/policies.txt @ 163:24d77c52243f
Provided sensible conversions for setting the value of one AStringContent from another, along with unittest.
Updated layout and Translation unittests to run.
author | Diggory Hardy <diggory.hardy@gmail.com> |
---|---|
date | Sat, 23 May 2009 15:47:32 +0200 |
parents | 9cff74f68b84 |
children | 3d58adc17d20 |
line wrap: on
line diff
--- a/codeDoc/policies.txt Fri May 22 19:59:22 2009 +0200 +++ b/codeDoc/policies.txt Sat May 23 15:47:32 2009 +0200 @@ -128,7 +128,7 @@ When run by an end-user (with info-level logging enabled), • info messages normally occur and should be understandable to end users; • warn messages may occur, and may indicate problems; - • error messages indicate that something is definitely wrong (even if it only has a minor effect on the program as a whole); + • error messages indicate that something is definitely wrong (even for user input and even if it only has a minor effect on the program as a whole); • fatal messages indicate a problem preventing the program from running. Log/exception messages can be divided into two categories: those aimed at end users or modders and those only aimed at developers. A short string, either a brief English message or just a code, should be defined in the code, which can either be translated to a full message by I18nTranslation or output directly. The code string need not be a long description since it can be looked up in the code.