mozilla-b2g/gaia — pull request #2002 by lodr (2012-06-27 15:45:36+00:00)
Title: Feature replacements by input type

## Overview

Supose you need to type an URL, some characters of the basic layout (text) should be not valid for URL so we should be able to replace these useless characters by more useful characters like : @ ~ ...

## Layout specification

Inside the layout specification you can add a field named

Overrides

with an object with pairs

'': ''

. I.e, for URL (extracted from **en** layout):

```javascript
urlOverrides: {
"'": ':'
}
```

## Flaws and future work

* Should be specified if we can handle compositeKey, uppercase and alternatives for the replacements.