|
@@ -41,8 +41,10 @@ $(function() {
|
|
|
var value = $.i18n.prop(prop)
|
|
|
$(this).text(value);
|
|
|
});
|
|
|
- $('.i18n-input').each(function() {
|
|
|
- $(this).value($.i18n.prop($(this).text()));
|
|
|
+ $('.i18n-placeholder').each(function() {
|
|
|
+ var prop = $(this).attr('i18n')
|
|
|
+ var value = $.i18n.prop(prop)
|
|
|
+ $(this).attr('placeholder',value);
|
|
|
});
|
|
|
|
|
|
}
|