Bug or disinformation in ezPublish ?

Author Message

Maxus Mariusz

Friday 17 December 2004 4:55:22 am

Hi, Please answer even if it doesn't work anymore.

i tried tranlate english words (Subject,Message,Email) in module Contac us, which is in this file:
design\base\templates\content\collectedinfo_validation.tpl

and I tried it for many cases:
oryginal:

<li>{$:item.name|wash}: {$:item.description}</li>

mine:


            <li>30 {$:item.name|i18n("design/base"}: {$:item.description}</li>
            <li>31 {$:item.name|i18n("design/base/content"}: {$:item.description}</li>
            <li>20 {$:item.name|i18n("design/standard/node/view"}: {$:item.description}</li>
            <li>40 {$:item.name|i18n("design/standard/content/edit"}: {$:item.description}</li>
            <li>50 {$:item.name|i18n("kernel/classes/datatypes"}: {$:item.description}</li>
            <li>60 {$:item.name|i18n("design/standard/content"}: {$:item.description}</li>
            <li>70 {$:item.name|i18n("design/standard/content/form"}: {$:item.description}</li>
            <li>80 {$:item.name|i18n("design/standard/content/view"}: {$:item.description}</li>
            <li>90 {$:item.name|i18n("design/standard/form"}: {$:item.description}</li>
            <li>10 {$:item.name|i18n("kernel/content"}: {$:item.description}</li>
            <li>11 {$:item.name|i18n("kernel/form"}: {$:item.description}</li>
            <li>12 {$:item.name|i18n("content/action"}: {$:item.description}</li>
            <li>13 {$:item.name|i18n("design/standard/content"}: {$:item.description}</li>

but unfortunately it still doesn't work :(
of course in file tranlations.ts I made changes
in many blocks like this

    <message>
        <source>Subject</source>
        <translation>My translation</translation>
    </message>

Have got anybody the same problems with this module?
I have no idea how to to this, i tried just all different ways.

Please answer even if it doesn't work anymore.
Meybe this is smoething kind of bug in EZ?
Thanks for help,
Mariusz

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 19 2025 07:27:26
Script start
Timing: Jan 19 2025 07:27:26
Module start 'layout'
Timing: Jan 19 2025 07:27:26
Module start 'content'
Timing: Jan 19 2025 07:27:28
Module end 'content'
Timing: Jan 19 2025 07:27:28
Script end

Main resources:

Total runtime1.3122 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0050 590.4141152.6406
Module start 'layout' 0.00500.0026 743.054739.4766
Module start 'content' 0.00761.3032 782.5313415.7813
Module end 'content' 1.31080.0013 1,198.31258.1406
Script end 1.3121  1,206.4531 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.2323160.0002
Check MTime0.00120.0920160.0001
Mysql Total
Database connection0.00080.057910.0008
Mysqli_queries1.272696.9841460.0277
Looping result0.00040.0285440.0000
Template Total1.281097.620.6405
Template load0.00220.168520.0011
Template processing1.278897.457420.6394
Template load and register function0.00020.011810.0002
states
state_id_array0.00150.112310.0015
state_identifier_array0.00190.142220.0009
Override
Cache load0.00180.1406210.0001
Sytem overhead
Fetch class attribute can translate value0.00090.067810.0009
Fetch class attribute name0.00050.037210.0005
XML
Image XML parsing0.00010.010010.0001
class_abstraction
Instantiating content class attribute0.00000.000310.0000
General
dbfile0.00060.0481100.0001
String conversion0.00000.000640.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/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
5content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
3content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 18
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs