Rename Dynamic Ticket Template Label

Moderator: crythias

Post Reply
tnieman
Znuny advanced
Posts: 103
Joined: 14 Nov 2012, 21:59
Znuny Version: 3.1.6
Real Name: Tom Nieman
Company: WorkForce Software

Rename Dynamic Ticket Template Label

Post by tnieman »

We are using TicketMaskExtension, an I would like to rename the field label Dynamic Ticket Template. I put in a translation to do that, but it's not working.

Code: Select all

$Self->{Translation}->{'Dynamic Ticket Template:'} = 'Dynamic Template (Automactically Selected):';
Any ideas?

Tom
crythias
Moderator
Posts: 10169
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Rename Dynamic Ticket Template Label

Post by crythias »

-->Dynamic Ticket Template:<--
This mus exactly represent the value in the .dtl that is using the $Text("something"} and if the colon is outside, then it isn't part of the translation.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
tnieman
Znuny advanced
Posts: 103
Joined: 14 Nov 2012, 21:59
Znuny Version: 3.1.6
Real Name: Tom Nieman
Company: WorkForce Software

Re: Rename Dynamic Ticket Template Label

Post by tnieman »

The problem is that this field is dynamically added I don't actually see the field in the CustomerTicketMessage.dtl file. I'm not sure which dtl file it is in.
crythias
Moderator
Posts: 10169
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Rename Dynamic Ticket Template Label

Post by crythias »

Me, neither. I don't know of this extension, so I don't know short of grep where your change needs to be made.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
tnieman
Znuny advanced
Posts: 103
Joined: 14 Nov 2012, 21:59
Znuny Version: 3.1.6
Real Name: Tom Nieman
Company: WorkForce Software

Re: Rename Dynamic Ticket Template Label

Post by tnieman »

I ran

grep -r "Dynamic Ticket Template" /opt/otrs/Kernel/Output/

and found

/opt/otrs/Kernel/Output/HTML/OutputFilterPreOTRSDynamicTicketTemplates.pm: <label for="TemplateID">$Text{"Dynamic Ticket Template"}:</label>

It was without the colon.


Thanks for your help crythias!
Post Reply