Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion cloudkittydashboard/api/cloudkitty.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# Copyright 2015 Objectif Libre
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
Expand Down
48 changes: 24 additions & 24 deletions cloudkittydashboard/dashboards/admin/hashmap/tables.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,16 +41,16 @@ class DeleteService(tables.DeleteAction):
@staticmethod
def action_present(count):
return ngettext_lazy(
u"Delete Service",
u"Delete Services",
"Delete Service",
"Delete Services",
count
)

@staticmethod
def action_past(count):
return ngettext_lazy(
u"Deleted Service",
u"Deleted Services",
"Deleted Service",
"Deleted Services",
count
)

Expand Down Expand Up @@ -103,16 +103,16 @@ class DeleteGroup(tables.DeleteAction):
@staticmethod
def action_present(count):
return ngettext_lazy(
u"Delete Group",
u"Delete Groups",
"Delete Group",
"Delete Groups",
count
)

@staticmethod
def action_past(count):
return ngettext_lazy(
u"Deleted Group",
u"Deleted Groups",
"Deleted Group",
"Deleted Groups",
count
)

Expand Down Expand Up @@ -190,16 +190,16 @@ class DeleteServiceThreshold(tables.DeleteAction):
@staticmethod
def action_present(count):
return ngettext_lazy(
u"Delete Service Threshold",
u"Delete Service Thresholds",
"Delete Service Threshold",
"Delete Service Thresholds",
count
)

@staticmethod
def action_past(count):
return ngettext_lazy(
u"Deleted Service Threshold",
u"Deleted Service Thresholds",
"Deleted Service Threshold",
"Deleted Service Thresholds",
count
)

Expand All @@ -217,16 +217,16 @@ class DeleteFieldThreshold(tables.DeleteAction):
@staticmethod
def action_present(count):
return ngettext_lazy(
u"Delete Field Threshold",
u"Delete Field Thresholds",
"Delete Field Threshold",
"Delete Field Thresholds",
count
)

@staticmethod
def action_past(count):
return ngettext_lazy(
u"Deleted Field Threshold",
u"Deleted Field Thresholds",
"Deleted Field Threshold",
"Deleted Field Thresholds",
count
)

Expand Down Expand Up @@ -357,16 +357,16 @@ class DeleteField(tables.DeleteAction):
@staticmethod
def action_present(count):
return ngettext_lazy(
u"Delete Field",
u"Delete Fields",
"Delete Field",
"Delete Fields",
count
)

@staticmethod
def action_past(count):
return ngettext_lazy(
u"Deleted Field",
u"Deleted Fields",
"Deleted Field",
"Deleted Fields",
count
)

Expand Down Expand Up @@ -429,16 +429,16 @@ class DeleteMapping(tables.DeleteAction):
@staticmethod
def action_present(count):
return ngettext_lazy(
u"Delete Mapping",
u"Delete Mappings",
"Delete Mapping",
"Delete Mappings",
count
)

@staticmethod
def action_past(count):
return ngettext_lazy(
u"Deleted Mapping",
u"Deleted Mappings",
"Deleted Mapping",
"Deleted Mappings",
count
)

Expand Down
16 changes: 8 additions & 8 deletions cloudkittydashboard/dashboards/admin/modules/tables.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,13 @@ class ToggleEnabledModule(tables.BatchAction):
def action_present(count):
return (
ngettext_lazy(
u"Enable Module",
u"Enable Modules",
"Enable Module",
"Enable Modules",
count
),
ngettext_lazy(
u"Disable Module",
u"Disable Modules",
"Disable Module",
"Disable Modules",
count
),
)
Expand All @@ -62,13 +62,13 @@ def action_present(count):
def action_past(count):
return (
ngettext_lazy(
u"Enabled Module",
u"Enabled Modules",
"Enabled Module",
"Enabled Modules",
count
),
ngettext_lazy(
u"Disabled Module",
u"Disabled Modules",
"Disabled Module",
"Disabled Modules",
count
),
)
Expand Down
8 changes: 4 additions & 4 deletions cloudkittydashboard/dashboards/admin/pyscripts/tables.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,16 +56,16 @@ class DeletePyScript(tables.DeleteAction):
@staticmethod
def action_present(count):
return ngettext_lazy(
u"Delete PyScript",
u"Delete PyScripts",
"Delete PyScript",
"Delete PyScripts",
count
)

@staticmethod
def action_past(count):
return ngettext_lazy(
u"Deleted PyScript",
u"Deleted PyScripts",
"Deleted PyScript",
"Deleted PyScripts",
count
)

Expand Down
2 changes: 1 addition & 1 deletion cloudkittydashboard/dashboards/admin/summary/tables.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ class TenantSummaryTable(tables.DataTable):

class Meta(object):
name = "tenant_summary"
verbose_name = _("Tenant Summary")
verbose_name = _("Project Summary")
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{% extends 'base.html' %}
{% load i18n %}
{% block title %}{% trans "Tenant Details" %}{% endblock %}
{% block title %}{% trans "Project Details" %}{% endblock %}

{% block page_header %}
{% include "horizon/common/_page_header.html" with title=_("Tenant Details") %}
{% include "horizon/common/_page_header.html" with title=_("Project Details") %}
{% endblock page_header %}

{% block main %}
Expand Down
8 changes: 1 addition & 7 deletions cloudkittydashboard/locale/en_GB/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: cloudkitty-dashboard VERSION\n"
"Report-Msgid-Bugs-To: https://bugs.launchpad.net/openstack-i18n/\n"
"POT-Creation-Date: 2022-08-08 15:59+0000\n"
"POT-Creation-Date: 2025-08-07 10:33+0000\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
Expand Down Expand Up @@ -454,12 +454,6 @@ msgstr "Successfully updated script"
msgid "Summary"
msgstr "Summary"

msgid "Tenant Details"
msgstr "Tenant Details"

msgid "Tenant Summary"
msgstr "Tenant Summary"

#, python-format
msgid "There was a problem parsing the %(prefix)s: %(error)s"
msgstr "There was a problem parsing the %(prefix)s: %(error)s"
Expand Down
2 changes: 0 additions & 2 deletions cloudkittydashboard/tests/base.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-

# Copyright 2010-2011 OpenStack Foundation
# Copyright (c) 2013 Hewlett-Packard Development Company, L.P.
#
Expand Down
3 changes: 1 addition & 2 deletions cloudkittydashboard/tests/test_cloudkittydashboard.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# -*- coding: utf-8 -*-
# Copyright 2015 Objectif Libre

#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
Expand Down
1 change: 0 additions & 1 deletion cloudkittydashboard/utils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# Copyright 2018 Objectif Libre
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
Expand Down
1 change: 0 additions & 1 deletion doc/source/conf.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
Expand Down
2 changes: 1 addition & 1 deletion doc/source/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -72,5 +72,5 @@ Some symbols (Such as Non-ASCII) might require to use unicode value directly.
.. code-block:: python

# British Pound
OPENSTACK_CLOUDKITTY_RATE_PREFIX = u'\xA3'
OPENSTACK_CLOUDKITTY_RATE_PREFIX = '\xA3'
OPENSTACK_CLOUDKITTY_RATE_POSTFIX = 'GBP'
2 changes: 0 additions & 2 deletions releasenotes/source/conf.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
#
# Cloudkitty Release Notes documentation build configuration file.
#
# This file is execfile()d with the current directory set to its
Expand Down
10 changes: 2 additions & 8 deletions releasenotes/source/locale/en_GB/LC_MESSAGES/releasenotes.po
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ msgid ""
msgstr ""
"Project-Id-Version: Cloudkitty Dashboard Release Notes\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-05-25 13:48+0000\n"
"POT-Creation-Date: 2025-08-07 10:32+0000\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"PO-Revision-Date: 2024-07-01 11:17+0000\n"
"PO-Revision-Date: 2024-04-18 12:35+0000\n"
"Last-Translator: Andi Chandler <[email protected]>\n"
"Language-Team: English (United Kingdom)\n"
"Language: en_GB\n"
Expand All @@ -29,9 +29,6 @@ msgstr "11.0.1"
msgid "12.0.0"
msgstr "12.0.0"

msgid "12.0.0-3"
msgstr "12.0.0-3"

msgid "13.0.0"
msgstr "13.0.0"

Expand All @@ -41,9 +38,6 @@ msgstr "14.0.1"
msgid "15.0.0"
msgstr "15.0.0"

msgid "18.0.0-8"
msgstr "18.0.0-8"

msgid "2023.1 Series Release Notes"
msgstr "2023.1 Series Release Notes"

Expand Down
Loading