Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 700777 Details for
Bug 907784
Login form translations get cached
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch for lazy translations
0001-Update-translation-strings-to-be-translated-lazily.patch (text/plain), 1.40 KB, created by
Julie Pichon
on 2013-02-21 19:18:38 UTC
(
hide
)
Description:
Patch for lazy translations
Filename:
MIME Type:
Creator:
Julie Pichon
Created:
2013-02-21 19:18:38 UTC
Size:
1.40 KB
patch
obsolete
>From 59745dc44706da55bf880b614c49935b92c525ac Mon Sep 17 00:00:00 2001 >From: Julie Pichon <jpichon@redhat.com> >Date: Tue, 19 Feb 2013 07:29:12 +0000 >Subject: [PATCH] Update translation strings to be translated lazily > >Fixes rhbz#907784 >Based on upstream commit e2523bb2a7d8bb210a74fff834200e8df554a918 >--- > openstack_auth/backend.py | 2 +- > openstack_auth/forms.py | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/openstack_auth/backend.py b/openstack_auth/backend.py >index 96a86d5..7057466 100644 >--- a/openstack_auth/backend.py >+++ b/openstack_auth/backend.py >@@ -3,7 +3,7 @@ > import hashlib > import logging > >-from django.utils.translation import ugettext as _ >+from django.utils.translation import ugettext_lazy as _ > > from keystoneclient.v2_0 import client as keystone_client > from keystoneclient import exceptions as keystone_exceptions >diff --git a/openstack_auth/forms.py b/openstack_auth/forms.py >index efcac4e..7259c2f 100644 >--- a/openstack_auth/forms.py >+++ b/openstack_auth/forms.py >@@ -2,7 +2,7 @@ from django import forms > from django.conf import settings > from django.contrib.auth import authenticate > from django.contrib.auth.forms import AuthenticationForm >-from django.utils.translation import ugettext as _ >+from django.utils.translation import ugettext_lazy as _ > from django.views.decorators.debug import sensitive_variables > > from .exceptions import KeystoneAuthException >-- >1.7.11.7 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 907784
: 700777