diff --git a/zun_ui/content/container/capsules/panel.py b/zun_ui/content/container/capsules/panel.py index b8ae3ca..9c6913b 100644 --- a/zun_ui/content/container/capsules/panel.py +++ b/zun_ui/content/container/capsules/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/zun_ui/content/container/capsules/urls.py b/zun_ui/content/container/capsules/urls.py index e677f8b..14b9bb7 100644 --- a/zun_ui/content/container/capsules/urls.py +++ b/zun_ui/content/container/capsules/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 title = _("Capsules") diff --git a/zun_ui/content/container/containers/admin_urls.py b/zun_ui/content/container/containers/admin_urls.py index 78ab84c..99bafd7 100644 --- a/zun_ui/content/container/containers/admin_urls.py +++ b/zun_ui/content/container/containers/admin_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 from zun_ui.content.container.containers import views as zun_views diff --git a/zun_ui/content/container/containers/panel.py b/zun_ui/content/container/containers/panel.py index d96cdd5..7dd5f68 100644 --- a/zun_ui/content/container/containers/panel.py +++ b/zun_ui/content/container/containers/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 # This panel will be loaded from horizon, because specified in enabled file. diff --git a/zun_ui/content/container/containers/urls.py b/zun_ui/content/container/containers/urls.py index 78ab84c..99bafd7 100644 --- a/zun_ui/content/container/containers/urls.py +++ b/zun_ui/content/container/containers/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 from zun_ui.content.container.containers import views as zun_views diff --git a/zun_ui/content/container/hosts/panel.py b/zun_ui/content/container/hosts/panel.py index 9fc83f0..8a0d2e8 100644 --- a/zun_ui/content/container/hosts/panel.py +++ b/zun_ui/content/container/hosts/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/zun_ui/content/container/hosts/urls.py b/zun_ui/content/container/hosts/urls.py index d83bd8e..6e3af75 100644 --- a/zun_ui/content/container/hosts/urls.py +++ b/zun_ui/content/container/hosts/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 title = _("Hosts") diff --git a/zun_ui/content/container/images/panel.py b/zun_ui/content/container/images/panel.py index c62a573..e61a70f 100644 --- a/zun_ui/content/container/images/panel.py +++ b/zun_ui/content/container/images/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/zun_ui/content/container/images/urls.py b/zun_ui/content/container/images/urls.py index 11b09f9..0b54735 100644 --- a/zun_ui/content/container/images/urls.py +++ b/zun_ui/content/container/images/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 title = _("Images") diff --git a/zun_ui/enabled/_1330_project_container_panelgroup.py b/zun_ui/enabled/_1330_project_container_panelgroup.py index 67ffc0d..05e089f 100644 --- a/zun_ui/enabled/_1330_project_container_panelgroup.py +++ b/zun_ui/enabled/_1330_project_container_panelgroup.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 _ # The slug of the panel group to be added to HORIZON_CONFIG. Required. PANEL_GROUP = 'container' diff --git a/zun_ui/enabled/_2330_admin_container_panelgroup.py b/zun_ui/enabled/_2330_admin_container_panelgroup.py index a871611..ee67e17 100644 --- a/zun_ui/enabled/_2330_admin_container_panelgroup.py +++ b/zun_ui/enabled/_2330_admin_container_panelgroup.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 _ # The slug of the panel group to be added to HORIZON_CONFIG. Required. PANEL_GROUP = 'container'