The arguments are formatted in the error text in the same way as parameters in the printf() family of functions.
To create your own localized error resource file You should copy the "en.inc.php" to a temporary file, rename it for localem and then translate each error message to Your language of choice. Make sure the file is stored under the lang/ catalogue and You are ready to use your new locale.