Entity Message » History » Version 7
Blaise Carrupt, 23.07.2014 10:22
1 | 1 | Blaise Carrupt | h1. Entity Message |
---|---|---|---|
2 | 1 | Blaise Carrupt | |
3 | 2 | Blaise Carrupt | Any general message that can be displayed in digest. [[Entity User|Users]] cannot add or remove messages, but they can modify their content in each used [[Entity Language|language]]. |
4 | 1 | Blaise Carrupt | |
5 | 1 | Blaise Carrupt | A message has a pre-defined [[Entity Code|type]] which indicates where it might be used. |
6 | 1 | Blaise Carrupt | |
7 | 1 | Blaise Carrupt | Known types for now are : |
8 | 1 | Blaise Carrupt | * Connection (to [[Thesaurus#Database|database]]) |
9 | 5 | Blaise Carrupt | * Business : when the message is related to some [[Thesaurus#Entity|entity]] |
10 | 3 | Blaise Carrupt | * [[Thesaurus#Screen|Screen]] : when the message is related to some information on screen |
11 | 1 | Blaise Carrupt | |
12 | 1 | Blaise Carrupt | There is a Unknown type in case the message is not related to anything known. |
13 | 1 | Blaise Carrupt | |
14 | 7 | Blaise Carrupt | Special characters might be used when parts of the messages have to be replaced by some non-static information, coming for some [[Thesaurus#Entity|entity]] for example. Special characters look like |
15 | 7 | Blaise Carrupt | # %0, %1,... |
16 | 7 | Blaise Carrupt | # [NAME], [KIND],... |
17 | 7 | Blaise Carrupt | |
18 | 6 | Blaise Carrupt | <tip>When modifiying or translating the message, keep the special characters or information might be missing.</tip> |
19 | 6 | Blaise Carrupt | |
20 | 1 | Blaise Carrupt | Accessible by a [[Thesaurus#Code (Field)|code field]] |
21 | 1 | Blaise Carrupt | Translatable |
22 | 1 | Blaise Carrupt | |
23 | 1 | Blaise Carrupt | Using entities : |
24 | 1 | Blaise Carrupt | * [[Entity Code|code]] : type of message |
25 | 1 | Blaise Carrupt | |
26 | 1 | Blaise Carrupt | |
27 | 1 | Blaise Carrupt | Examples : |
28 | 1 | Blaise Carrupt | * SCR_FIELD_MANDATORY - Field '%0' is mandatory, Le champ '%0' est obligatoire - Screen |
29 | 6 | Blaise Carrupt | * NO_ROW_SELECTED - No row has been selected, Aucune ligne n'a été sélectionnée - Screen |