#!/bin/sh extract() { grep -oh "\" templates/* | sed "s/'|trans//" } extract | sort | uniq | sed "s/\(.*\)/'\1': ''/"