Package pology :: Package lang :: Package es :: Module remove_subs

Module remove_subs

Remove special substrings from parts of the message.


Author: Javier Viñal <fjvinal@gmail.com>

License: GPLv3

Functions
 
remove_paired_capital_words(msg, cat)
Remove all capital words from original text and from translated text, except that are located in a place where may be a capital word according the Spanish grammar.[type F4A hook].
 
remove_paired_parameters(msg, cat)
Remove format strings from the original text, and from translation all that are also found in the original text [type F4A hook].
 
remove_tags_without_translation(msg, cat)
Remove all paragraph that belong to contexts that do not have need of translation.
Variables
  __package__ = 'pology.lang.es'
Function Details

remove_paired_capital_words(msg, cat)

 

Remove all capital words from original text and from translated text, except that are located in a place where may be a capital word according the Spanish grammar.[type F4A hook].

Returns:
number of errors

remove_paired_parameters(msg, cat)

 

Remove format strings from the original text, and from translation all that are also found in the original text [type F4A hook].

Returns:
number of errors

remove_tags_without_translation(msg, cat)

 

Remove all paragraph that belong to contexts that do not have need of translation.

[type F4A hook].

Returns:
number of errors