MantisBT: master 6ef1734d

Author Committer Branch Timestamp Parent
dregad dregad master 2020-09-05 06:45:49 master 22791438
Affected Issues  0027241: Improve handling of missing language strings
Changeset

Print lang string if English localization missing

When an English language string is missing, MantisBT currently displays
an empty string; this is not very friendly to the user, who may be
missing important information (e.g. a button label).

If English string is missing, display the language string itself
(i.e. the $p_string parameter to lang_get()).

Fixes 0027241

mod - core/lang_api.php Diff File