Changes between Version 3 and Version 4 of Message_Extraction
- Timestamp:
- Apr 26, 2014, 4:25:03 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Message_Extraction
v3 v4 140 140 The currently supported extractors are: 141 141 * '''cpp''', to extract messages from C++ source files. 142 * '''ini''', to extract messages from INI source files. 142 143 * '''javascript''', to extract messages from JavaScript source files. 143 144 * '''json''', to extract messages from JSON data files. … … 176 177 177 178 This is the most important option. Every extractor but '''txt''' supports this option, but the option is defined differently for each extractor, and it works differently as well. 179 180 If you are defining the settings of a '''ini''' extractor, the `keywords` property is an array where each item is the name of an key in the target INI files. The extractor extracts the values of those keys. For example: 181 182 {{{ 183 "keywords": [ 184 "name", 185 "version.name", 186 ], 187 }}} 178 188 179 189 When you are defining the settings of a '''javascript''' or '''cpp''' extractor, the `keywords` property is an object where each property name is the name of a function, and its value is an array that defines the parameters of the function, where the context parameter (if any) is an array itself to tell it apart from the other parameters. For example: