Bug 1074166 - Fix device type l10n missing issue

Why do you need a different regexp here than we use on master?

`return /locales[\/\\]?[a-zA-Z\/]*[\/\\]?device_type/.test(path);`