How to pass strings into AMD module?
I need to show notification to user using language strings.
I do it like this
notification.addNotification(
{
message:M.util.get_string('getcapabilities_fail','block_myblock'),
type:"error"
}
);
But don`t get the right string, only getcapabilities_fail,block_myblock