ezselection and translations

Author Message

laurent le cadet

Thursday 21 September 2006 8:30:38 am

Hi,

It should be nice and more flexible that we can write directly the translation tag in ezselection while building the class definition.

Option1 : {"Antartica"|i18n("design/base")}
Option2 : {"Brazil"|i18n("design/base")}
...

Regards.

Laurent

Claudia Kosny

Friday 22 September 2006 2:40:54 am

Seconded - this is a good idea.

Claudia

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 11:06:47
Script start
Timing: Jan 18 2025 11:06:47
Module start 'layout'
Timing: Jan 18 2025 11:06:47
Module start 'content'
Timing: Jan 18 2025 11:06:49
Module end 'content'
Timing: Jan 18 2025 11:06:49
Script end

Main resources:

Total runtime1.2489 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0062 589.3438152.6250
Module start 'layout' 0.00630.0059 741.968839.4453
Module start 'content' 0.01211.2353 781.4141490.5078
Module end 'content' 1.24740.0015 1,271.92198.3203
Script end 1.2489  1,280.2422 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00380.3060160.0002
Check MTime0.00150.1175160.0001
Mysql Total
Database connection0.00070.059710.0007
Mysqli_queries1.198295.9343540.0222
Looping result0.00050.0435520.0000
Template Total1.207696.720.6038
Template load0.00180.145220.0009
Template processing1.205896.543120.6029
Template load and register function0.00010.009010.0001
states
state_id_array0.00110.090110.0011
state_identifier_array0.00110.088920.0006
Override
Cache load0.00150.1181140.0001
Sytem overhead
Fetch class attribute can translate value0.00160.126120.0008
Fetch class attribute name0.00110.090330.0004
XML
Image XML parsing0.00070.053820.0003
class_abstraction
Instantiating content class attribute0.00000.000530.0000
General
dbfile0.00090.0748160.0001
String conversion0.00000.001040.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 9
 Number of unique templates used: 6

Time used to render debug report: 0.0003 secs