Ignore LC_TIME category when extracting messages.

Given that we use the specific LC_TIME file format, it doesn't make much
sense to extract translated strings into a PO file that cannot be used
later on.

Refs #5933
This commit is contained in:
mark_story 2015-02-22 22:39:38 -05:00
parent ffab0c1c82
commit 831fe53f79
3 changed files with 17 additions and 7 deletions

View file

@ -28,6 +28,8 @@ __('Hot features!'
. ' Join us #cakephp on IRC. We\'d love to help you get started');
// Category
echo __c('You have a new message (category: LC_NUMERIC).', 4);
// LC_TIME is skipped.
echo __c('You have a new message (category: LC_TIME).', 5);
// Context