Merge "Replace deprecated ugettext_lazy"

This commit is contained in:
Zuul 2022-07-18 23:13:45 +00:00 committed by Gerrit Code Review
commit 2544155bf4
4 changed files with 4 additions and 4 deletions

View File

@ -11,7 +11,7 @@
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
from django.utils.translation import ugettext_lazy as _
from django.utils.translation import gettext_lazy as _
import horizon
from openstack_dashboard.dashboards.project import dashboard

View File

@ -13,7 +13,7 @@
# under the License.
from django.urls import re_path
from django.utils.translation import ugettext_lazy as _
from django.utils.translation import gettext_lazy as _
from horizon.browsers import views
title = _("Reverse DNS")

View File

@ -11,7 +11,7 @@
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
from django.utils.translation import ugettext_lazy as _
from django.utils.translation import gettext_lazy as _
import horizon
from openstack_dashboard.dashboards.project import dashboard

View File

@ -13,7 +13,7 @@
# under the License.
from django.urls import re_path
from django.utils.translation import ugettext_lazy as _
from django.utils.translation import gettext_lazy as _
from horizon.browsers import views
title = _("Zones")