lib/translatomatic/translator.rb
Complex method Translatomatic::Translator#combine_parent_substrings (21.1) Open
Open
def combine_parent_substrings(tr_collection, parent, to_locale)
# get a list of substring translations for this parent string
list = tr_collection.sentences(parent, to_locale)
# skip if we have no substrings for this string
return if list.blank?
- Read upRead up
- Exclude checks
Flog calculates the ABC score for methods. The ABC score is based on assignments, branches (method calls), and conditions.
You can read more about ABC metrics or the flog tool