Skip to content
This repository has been archived by the owner on May 16, 2021. It is now read-only.

Commit

Permalink
Merge pull request #372 from spolischook/patch-1
Browse files Browse the repository at this point in the history
Add translation example
  • Loading branch information
fidian committed Nov 20, 2013
2 parents b6e6e2c + 955f859 commit e857e8a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Expand Up @@ -67,6 +67,13 @@ You can pass in extra parameters to control certain aspects of Uniform. To pass
param3: value
});

For example to translate upload button text and input holder to German:

$("select").uniform({
fileDefaultText: 'Keine Datei ausgewählt',
fileBtnText: 'Wählen Sie Datei',
});

There is a separate listing of global defaults. You access them by using the `defaults` property. *Note: This property name changed in v2.0.*

$.uniform.defaults.checkedClass = "uniformCheckedClass";
Expand Down

0 comments on commit e857e8a

Please sign in to comment.