Bug 1038984 - [L10n][Gallery] Clean up mozL10n.get uses in Gallery app

nit: Stylistically, I'd strongly prefer this to be just `function addText(...)` instead of `var addText = function(...)`