String passed to the T function in inline_template not accessible for translation
This was caused by the configuration for language detection and selection configuration at admin/config/regional/language/detection. 

For the t() function to work, the language detection and selection for the user interface must be set to "Language from the URL (Path prefix or domain)". There is an issue on drupal.org that may address this one.