Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1435140

Summary: [ALL LANG] Need to localize a warning message on the welcome page 'unauthorized_client: Authentication required.'
Product: [oVirt] ovirt-engine Reporter: Bhushan Barve <bbarve>
Component: Frontend.WebAdminAssignee: Ravi Nori <rnori>
Status: CLOSED CURRENTRELEASE QA Contact: Lucie Leistnerova <lleistne>
Severity: low Docs Contact:
Priority: medium    
Version: 4.1.1.4CC: bbarve, bugs, lleistne, lveyde, mperina, qe-i18n-bugs, ykatabam
Target Milestone: ovirt-4.2.0Keywords: i18n, Translation
Target Release: 4.2.0Flags: rule-engine: ovirt-4.2+
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
undefined
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-02-12 10:10:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
warning message unlocalized none

Description Bhushan Barve 2017-03-23 09:11:25 UTC
Created attachment 1265648 [details]
warning message unlocalized

Description of problem: Need to localize a warning message on the welcome page 'unauthorized_client: Authentication required.' Not available in zanata. Please refer attached screenshot.


Version-Release number of selected component (if applicable):
Versión 4.1.1.4-0.1.el7

How reproducible:
always

Steps to Reproduce:
1. Access the welcome page
2. change the locale to anything other than en_US.
3. access the same page after session timeout.

Actual results:
The warning message is unlocalized.

Expected results:
The message should be localized.

Additional info:

Comment 2 Greg Sheremeta 2017-03-25 14:25:25 UTC
Looks like some OAuth code needs localization:

InteractiveNextAuthServlet.java:                    new OAuthException(SsoConstants.ERR_CODE_UNAUTHORIZED_CLIENT, "Authentication required."));

Once that's done, the new keys can be picked up in the next translation cycle.

Comment 3 Yuko Katabami 2017-05-15 10:43:19 UTC
Unable to QA.
This string is not yet pushed to Zanata.
We will not be able to translate this until 4.2 translation cycle starts.
Please change the status (to POST?) and the target release accordingly.

Comment 4 Martin Perina 2017-05-15 10:49:23 UTC
(In reply to Yuko Katabami from comment #3)
> Unable to QA.
> This string is not yet pushed to Zanata.
> We will not be able to translate this until 4.2 translation cycle starts.
> Please change the status (to POST?) and the target release accordingly.

How so? The patch enabling translation of those strings is committed to 4.1 branch and bug properly targeted to 4.1.2. Does it mean that we cannot add more translation strings during 4.1.z and have to wait to 4.2 release?

Comment 5 Martin Perina 2017-05-22 12:38:44 UTC
Moving to 4.2 as we don't have translation cycles for z-streams

Comment 6 Lucie Leistnerova 2018-01-30 15:53:16 UTC
I went through steps

1. change locale on welcome page
2. log into web admin portal (as admin@internal)
3. go back to welcome page (user is logged in and is displayed in right top dropdown menu)
4. wait session timeout
5. go again to welcome page

No error is displayed anymore, user in right top dropdown menu changed to not logged in. Tested in ovirt-engine-webadmin-portal-4.2.1.4-0.1.el7.noarch.

If it should be tested more please provide proper steps to reproduce.

Comment 7 Sandro Bonazzola 2018-02-12 10:10:25 UTC
This bugzilla is included in oVirt 4.2.0 release, published on Dec 20th 2017.

Since the problem described in this bug report should be
resolved in oVirt 4.2.0 release, published on Dec 20th 2017, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.