Open DavideViolante opened 2 months ago
Right now the names are evaluated in this order, if no language is provided:
return ( primaryResult || trMap.get(name) || deMap.get(name) || frMap.get(name) || esMap.get(name) || enMap.get(name) || itMap.get(name) || 'unknown' );
Which order should we consider? Which is more correct?
I would do this:
return ( primaryResult || enMap.get(name) || itMap.get(name) || esMap.get(name) || frMap.get(name) || deMap.get(name) || trMap.get(name) || 'unknown' );
Right now the names are evaluated in this order, if no language is provided:
Which order should we consider? Which is more correct?
I would do this: