can I change the unlock and lock to upper case? is it safe?

English! place to talk about development, programming and coding
Post Reply
cris12345
Znuny advanced
Posts: 105
Joined: 24 Feb 2017, 16:45
Znuny Version: 5.0.16.01
Real Name: Cristina Corrales
Company: -

can I change the unlock and lock to upper case? is it safe?

Post by cris12345 »

Hi all,

Where is the unlock and lock define? In order to change them to uppercase. Just the first letter like this: "Unlock"
Well, Is it safe? or it can impact something else in the logic?

Thanks
jojo
Znuny guru
Posts: 15019
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: can I change the unlock and lock to upper case? is it safe?

Post by jojo »

just change the translation, not the database values
"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
cris12345
Znuny advanced
Posts: 105
Joined: 24 Feb 2017, 16:45
Znuny Version: 5.0.16.01
Real Name: Cristina Corrales
Company: -

Re: can I change the unlock and lock to upper case? is it safe?

Post by cris12345 »

where I can change that? by the interface?
reneeb
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: can I change the unlock and lock to upper case? is it safe?

Post by reneeb »

No, you need to create a file in Kernel/Language . It should be named <lang>_ZZZCustom.pm, where <lang> is the language code (e.g. de for German, en for English, ...). In that file, you define you custom translations (example file: https://github.com/reneeb/otrs-QuickClo ... ckClose.pm).
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
Post Reply