Refactoring code formatting, Updated the time-card function, Support i18n in partial functions.