I'd like to change the text om the buttons of the ticket zoom screen. i couldn't see where the text for the buttons was being generated from in the tt files. if anyone could could point me in the right direction, any help would be appreciated.
i've attached a screenshot of the buttons in case you're not sure which ones i was talking about
Changing button names
Changing button names
You do not have the required permissions to view the files attached to this post.
-
- Znuny guru
- Posts: 2210
- Joined: 13 Mar 2014, 09:16
- Znuny Version: 6.0.14
- Real Name: Rolf Straub
Re: Changing button names
This is configured in the .xml file for the generic Menu Module (for the Free Fields Button):
You might consider to just add a custom translation instead of editing the files.
Code: Select all
<ConfigItem Name="Ticket::Frontend::MenuModule###310-FreeText" Required="0" Valid="1">
<Description Translatable="1">Shows a link in the menu to add a free text field in the ticket zoom view of the agent interface.</Description>
<Group>Ticket</Group>
<SubGroup>Frontend::Agent::Ticket::MenuModule</SubGroup>
<Setting>
<Hash>
<Item Key="Module">Kernel::Output::HTML::TicketMenuGeneric</Item>
<Item Key="Name">Free Fields</Item>
<Item Key="Description" Translatable="1">Change the free fields for this ticket</Item>
<Item Key="Action">AgentTicketFreeText</Item>
<Item Key="Link">Action=AgentTicketFreeText;TicketID=[% Data.TicketID | html %]</Item>
<Item Key="Target"></Item>
<Item Key="PopupType">TicketAction</Item>
</Hash>
</Setting>
</ConfigItem>
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
Re: Changing button names
you can change tne names via sysconfig
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Re: Changing button names
Thanks guys, didn't realise it could be done through the sysconfig. generally try to avoid messing with the tt files if possible