Replace use of deprecated Language::truncate()
authorC. Scott Ananian <cscott@cscott.net>
Wed, 13 Jun 2018 17:49:29 +0000 (13:49 -0400)
committerC. Scott Ananian <cscott@cscott.net>
Mon, 9 Jul 2018 18:07:23 +0000 (14:07 -0400)
commit131132d72c83c907af5a47402290ec5cdb6663a1
tree5bd6cd834a20fed709b893a4236283021e2991be
parent0935e47a721787c830e6d85ed59a3e4d4d58846c
Replace use of deprecated Language::truncate()

Follow-up to I2291c69d9df17c1a9e4ab1b7d4cbc73bc51d3ebb -- this code uses
sprintf to align text, which won't really work for multibyte UTF8 or
unicode combining characters.  Alas.  Do the best we can for now.

Bug: T197492
Change-Id: Iaa4d7bd64588ca1f215921339d84f960380ae12b
maintenance/orphans.php