diff --git a/magnum_ui/content/cluster_templates/panel.py b/magnum_ui/content/cluster_templates/panel.py index 98580d9e..2687d3b2 100644 --- a/magnum_ui/content/cluster_templates/panel.py +++ b/magnum_ui/content/cluster_templates/panel.py @@ -12,7 +12,7 @@ # 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 diff --git a/magnum_ui/content/cluster_templates/urls.py b/magnum_ui/content/cluster_templates/urls.py index 55e93591..02aa2146 100644 --- a/magnum_ui/content/cluster_templates/urls.py +++ b/magnum_ui/content/cluster_templates/urls.py @@ -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 from magnum_ui.content.cluster_templates import panel diff --git a/magnum_ui/content/clusters/panel.py b/magnum_ui/content/clusters/panel.py index 7bf42ac3..232a1768 100644 --- a/magnum_ui/content/clusters/panel.py +++ b/magnum_ui/content/clusters/panel.py @@ -12,7 +12,7 @@ # 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 # DO NOT REMOVE diff --git a/magnum_ui/content/clusters/urls.py b/magnum_ui/content/clusters/urls.py index 9f6c8b7f..898e08eb 100644 --- a/magnum_ui/content/clusters/urls.py +++ b/magnum_ui/content/clusters/urls.py @@ -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 from magnum_ui.content.clusters import panel diff --git a/magnum_ui/content/container_infra/quotas/panel.py b/magnum_ui/content/container_infra/quotas/panel.py index d2f17e22..5eea1e83 100644 --- a/magnum_ui/content/container_infra/quotas/panel.py +++ b/magnum_ui/content/container_infra/quotas/panel.py @@ -10,7 +10,7 @@ # 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 diff --git a/magnum_ui/content/container_infra/quotas/urls.py b/magnum_ui/content/container_infra/quotas/urls.py index dd269cfb..0c85f6dc 100644 --- a/magnum_ui/content/container_infra/quotas/urls.py +++ b/magnum_ui/content/container_infra/quotas/urls.py @@ -11,7 +11,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 diff --git a/magnum_ui/enabled/_1370_project_container_infra_panel_group.py b/magnum_ui/enabled/_1370_project_container_infra_panel_group.py index 48568e84..97d06144 100644 --- a/magnum_ui/enabled/_1370_project_container_infra_panel_group.py +++ b/magnum_ui/enabled/_1370_project_container_infra_panel_group.py @@ -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 _ # The slug of the panel group to be added to HORIZON_CONFIG. Required. PANEL_GROUP = 'container_infra' diff --git a/magnum_ui/enabled/_2370_admin_container_infra_panel_group.py b/magnum_ui/enabled/_2370_admin_container_infra_panel_group.py index 52a084ff..9e376e1d 100644 --- a/magnum_ui/enabled/_2370_admin_container_infra_panel_group.py +++ b/magnum_ui/enabled/_2370_admin_container_infra_panel_group.py @@ -9,7 +9,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 _ # The slug of the panel group to be added to HORIZON_CONFIG. Required. PANEL_GROUP = 'container_infra'