summaryrefslogtreecommitdiff
path: root/docs/internals/contributing/writing-code
diff options
context:
space:
mode:
authorNick Pope <nick.pope@flightdataservices.com>2020-04-16 10:26:33 +0100
committerCarlton Gibson <carlton.gibson@noumenal.es>2020-04-16 11:28:41 +0200
commit70b1c947c8e6f6fda8ab26472436f2dce2108600 (patch)
treebdbc3a42c080b10ec7bc9c5e60211313acfe236e /docs/internals/contributing/writing-code
parente42320d2f295481d21151366c2b05b2ef095c916 (diff)
[3.0.x] Improved message example in admin actions documentation.
Avoid partial string construction and make use of ``ngettext`` to show example of how to handle plural variants with translations. Also make use of ``messages.SUCCESS`` to highlight customizing the style of the message - in this case it better fits what the message is conveying. Backport of 058b38b43ea4726be2914ecc967b8fb1da47d995 from master
Diffstat (limited to 'docs/internals/contributing/writing-code')
0 files changed, 0 insertions, 0 deletions