Changes between Version 3 and Version 4 of Message_Extraction


Ignore:
Timestamp:
Apr 26, 2014, 4:25:03 PM (10 years ago)
Author:
Adrián Chaves
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Message_Extraction

    v3 v4  
    140140The currently supported extractors are:
    141141* '''cpp''', to extract messages from C++ source files.
     142* '''ini''', to extract messages from INI source files.
    142143* '''javascript''', to extract messages from JavaScript source files.
    143144* '''json''', to extract messages from JSON data files.
     
    176177
    177178This 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
     180If 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}}}
    178188
    179189When 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: