For background, read all of the comments in D25015
In a nutshell - How can we define a string in client-side javascript that we can run through pht in order to get the correct translation of that string?
In the case of D25015 it is the dialog close confirmation string of Form data may have changed. Are you sure you want to close this dialog?