Update lib.php

Get strings from lang files instead of literal strings.