Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Some definitions contain variable substitutions, which can be identified by their syntax: %N$s, where N is a number (1, 2, ...). The $ in the variable name is escaped by a backslash (\), as the $ character has special meaning in double-quoted (") strings.

Code Block
languagephp
title/installdir/language/en_us/admin_clients.php
$lang['AdminClients.!success.makepayment_processed'] = "The payment was successfully processed for %1\$s. Transaction Number: %2\$s"; // %1$s is the payment amount, %2$s is the transaction number