cubesystems/releaf — pull request #112 by ekaukis (2014-01-30 13:07:53+00:00)
Title: Few update for better relief

1. I optimized timepicker layout
![screen shot 2014-01-30 at 14 56 52](https://f.cloud.github.com/assets/4012853/2039980/0ba5ea60-89ae-11e3-8980-3b95d2836b21.png)

2. Added possibility to find translation by translated text. This is similar how it works right now with translation key.

3. Added translation for static text in content edit view.

4. Added support for locale field template in content edit view.

My locale field template looks like this:
```
.field.type_select
.label_wrap= f.label :locale, t('locale') + ':'
.value
:ruby
locale = f.object.locale ? f.object.locale : f.object.parent.try(:locale)
locales = Releaf.available_locales

= f.select :locale, options_for_select(locales, locale)
.clear
```