tasks/template.js
function(key) {
        var translation = options.translations[key];

        if (!translation) {
          grunt.fail.warn('No translation found for key:', key);
        }
        return translation;
      }
function(key) {
        var translation = options.translations[key];

        if (!translation) {
          grunt.fail.warn('No translation found for key:', key);
        }
        return translation;
      }
function ( key ) { var translation = options . translations [ key ] ; if ( ! translation ) { grunt . fail . warn ( 'No translation found for key:' , key ) ; } return translation ; }
Translation helper method. Allows resolving keys within a translation file.
Translation helper method . Allows resolving keys within a translation file .