comparison 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
comparison
equal deleted inserted replaced
162:2476790223b8 163:24d77c52243f
126 Thus: 126 Thus:
127 Trace output should only be available when compiled in debug mode. 127 Trace output should only be available when compiled in debug mode.
128 When run by an end-user (with info-level logging enabled), 128 When run by an end-user (with info-level logging enabled),
129 • info messages normally occur and should be understandable to end users; 129 • info messages normally occur and should be understandable to end users;
130 • warn messages may occur, and may indicate problems; 130 • warn messages may occur, and may indicate problems;
131 • error messages indicate that something is definitely wrong (even if it only has a minor effect on the program as a whole); 131 • 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);
132 • fatal messages indicate a problem preventing the program from running. 132 • fatal messages indicate a problem preventing the program from running.
133 133
134 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. 134 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.
135 135
136 136