About the message of "comment" in CMDB history view:
My otrs shows "CIHistory::ValueUpdate", but the OTRS online demo shows such as "Attribute owner updated from '...' to '...'". How can I do to get the same result just like the Online demo?
Many thinks.
About the message of "comment" in CMDB history view
Moderator: crythias
-
- Znuny newbie
- Posts: 9
- Joined: 09 Jun 2013, 09:29
- Znuny Version: 3.2.6
About the message of "comment" in CMDB history view
OTRS 3.2.6, MySQL, Windows Server 2003 SP2, Apache.
ITSM 3.2.4
ITSM 3.2.4
-
- Znuny guru
- Posts: 5018
- Joined: 13 Mar 2011, 09:54
- Znuny Version: 6.0.x
- Real Name: Renée Bäcker
- Company: Perl-Services.de
- Contact:
Re: About the message of "comment" in CMDB history view
You need to provide a translation for "CIHistory::ValueUpdate".
From en_ITSMConfigItem.pm:
or nl_ITSMConfigItem.pm:
But please do *not* edit the xx_ITSMConfigItem.pm, but create a xx_ZZMyTranslations.pm:
where "xx" is the language code...
From en_ITSMConfigItem.pm:
Code: Select all
$Lang->{'CIHistory::ValueUpdate'} = 'Attribute %s updated from "%s" to "%s"';
Code: Select all
$Self->{Translation}->{'CIHistory::ValueUpdate'} = 'Attribuut %s bijgewerkt van "%s" naar "%s"';
Code: Select all
package Kernel::Language::xx_ZZMyTranslations;
use strict;
sub Data {
my $Self = shift;
$Self->{Translation}->{'CIHistory::ValueUpdate'} = 'Attribut: "%s" Old: %s New "%s"';
}
1;
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
-
- Znuny newbie
- Posts: 9
- Joined: 09 Jun 2013, 09:29
- Znuny Version: 3.2.6
Re: About the message of "comment" in CMDB history view
I do just as you told me. And yes, I get what I want!
Thank you, reneeb.
Thank you, reneeb.
OTRS 3.2.6, MySQL, Windows Server 2003 SP2, Apache.
ITSM 3.2.4
ITSM 3.2.4