Fix translation misspell and add restriction to .xhtml and template file