glebm/i18n-tasks — pull request #15 by paulfioravanti (2013-10-30 12:23:18+00:00)
Title: Fix absolutizing relative keys in partials

If I have a relative key defined in a partial like:

**app/views/layouts/_header.html.haml**

```
= t('.home')
```

And I have the key's value defined in a locale file like:

```
en:
layouts:
header:
home: Home
```

The value displays as expected in the views, but when I run `rake i18n:missing` I get output of:

```
Missing keys and translations (68)
Legend: ✗ key missing, ∅ translation blank, = value equal to base locale; value in base locale

en ✗ layouts._header.home
```

Substituting `._` for `.` in the `prefix` when it's created in the `absolutize_key` method solved this issue for me.