Where to change the "Error" box on Login page

Hi all -

Running RT 3.8.8 on Ubuntu.

Trying to figure out where to change the red/pink error box that pops up on
the Login page upon a failed login.

I’ve looked at the Login page code and from what I see it looks like it’s
coming from Widgets/TitleBox – but I am unable to find it there.

Can anybody lend a hand?
Max McGrath
Asst. Network Admin/Systems Specialist
Carthage College
262-552-5512
mmcgrath@carthage.edu

Just asking again if anyone can point me in the right direction to changing
the pink/red error box that pops up upon a failed login on the Login page.

I’d like to change it from “Your username or password is incorrect” to
something else with more instructions.

Thanks!
Max McGrath
Asst. Network Admin/Systems Specialist
Carthage College
262-552-5512
mmcgrath@carthage.eduOn Tue, Aug 24, 2010 at 2:43 PM, Max McGrath mmcgrath@carthage.edu wrote:

Hi all -

Running RT 3.8.8 on Ubuntu.

Trying to figure out where to change the red/pink error box that pops up on
the Login page upon a failed login.

I’ve looked at the Login page code and from what I see it looks like it’s
coming from Widgets/TitleBox – but I am unable to find it there.

Can anybody lend a hand?

Max McGrath
Asst. Network Admin/Systems Specialist
Carthage College
262-552-5512
mmcgrath@carthage.edu

Hi Max

Sorry missed this first time round.

the text for the login error is in /opt/rt3/share/html/autohandler

Error => loc(‘Your username or password is incorrect’),

Copy it to local and change the above line to what you need

regards
Garry

Dr Garry Booth
IT Services
Loughborough University

Just asking again if anyone can point me in the right direction to
changing the pink/red error box that pops up upon a failed login on the
Login page.
I’d like to change it from “Your username or password is incorrect” to
something else with more instructions.

Easiest way is to copy lib/RT/I18N/you_lang.po to local/po/ and change
translation for “Your username or password is incorrect”.

Hi

For simple text, you could create
a file local/po/RT/en.po

I do that for RTFM
my local/po/RTFM/en.po contains things like

msgid ""
msgstr “”
“Project-Id-Version: RTFM 2.0RC1\n”
“POT-Creation-Date: 2010-03-15\n”
“PO-Revision-Date: 2010-03-15\n”
“Last-Translator: Gerard FENELON gerard@eve-team.com\n”
“Language-Team: rt-devel rt-devel@lists.fsck.com\n”
“MIME-Version: 1.0\n”
“Content-Type: text/plain; charset=utf-8\n”
“Content-Transfer-Encoding: 8bit\n”

#: html/Callbacks/RTFM/Ticket/Elements/Tabs/Default:21
msgid "Extract Article"
msgstr “Extract FAQ”

#: html/Callbacks/RTFM/Ticket/Update.html/BeforeMessageBox:34
msgid "Include RTFM article:"
msgstr “Include FAQ article:”

GerardOn -28163-01–10 20:59, Max McGrath wrote:

Just asking again if anyone can point me in the right direction to
changing the pink/red error box that pops up upon a failed login on
the Login page.

I’d like to change it from “Your username or password is incorrect” to
something else with more instructions.

Thanks!

Max McGrath
Asst. Network Admin/Systems Specialist
Carthage College
262-552-5512
mmcgrath@carthage.edu mailto:mmcgrath@carthage.edu

On Tue, Aug 24, 2010 at 2:43 PM, Max McGrath <mmcgrath@carthage.edu mailto:mmcgrath@carthage.edu> wrote:

Hi all -

Running RT 3.8.8 on Ubuntu.

Trying to figure out where to change the red/pink error box that
pops up on the Login page upon a failed login.

I've looked at the Login page code and from what I see it looks
like it's coming from Widgets/TitleBox -- but I am unable to find
it there.

Can anybody lend a hand?
--
Max McGrath
Asst. Network Admin/Systems Specialist
Carthage College
262-552-5512
mmcgrath@carthage.edu <mailto:mmcgrath@carthage.edu>