Fork me on GitHub
Subscribe 1

Ticket #511 (duplicate task)

Don't concatenate language strings

  • Created: 2011-10-17 14:05:24
  • Reported by: Franz
  • Assigned to: None
  • Milestone: 2.0-beta1
  • Component: localization
  • Priority: normal

In the old 1.4 code, there are quite a bunch of places where language strings are simply concatenated when parts of them are made up of

The proper way to do this is use printf(). This will be integrated in the language layer's t() function.

We need to go through the code and use this functionality properly.

History

Franz 2011-10-17 20:22:05

  • Type changed from enhancement to task.

Franz 2011-10-28 10:44:44

Commit ef267db to fluxbb fluxbb-2.0

Merge pull request #23 from daris/fluxbb-2.0

Use $lang->t() instead of sprintf/printf.

Related to #511.

Franz 2011-10-30 17:29:36

Commit 15959b5 to fluxbb fluxbb-2.0

Merge pull request #24 from daris/fluxbb-2.0

Missed printf calls in delete.php and admin_bans.php.

Related to #511.

Franz 2011-10-30 18:55:01

  • Owner set to Franz.

Franz 2011-11-24 23:00:33

  • Milestone changed from 2.0-alpha1 to 2.0-beta1.

Not important now. There will be new language strings until the end of development, so we better do a review then.

Franz 2012-02-21 12:40:34

  • Owner Franz removed.

Franz 2012-08-26 23:24:44

  • Status changed from open to duplicate.

Duplicate of ticket #64.