mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-06 03:22:39 +00:00
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:
parent
ffab0c1c82
commit
831fe53f79
3 changed files with 17 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue