summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/source/locale/id/LC_MESSAGES/doc-contributor.po75
-rw-r--r--openstack_dashboard/dashboards/admin/hypervisors/compute/forms.py5
-rw-r--r--openstack_dashboard/static/app/core/images/steps/edit-image/edit-image.controller.js2
-rw-r--r--releasenotes/notes/publicize-image-policy-name-5d7fd5ecbdcfa893.yaml11
4 files changed, 83 insertions, 10 deletions
diff --git a/doc/source/locale/id/LC_MESSAGES/doc-contributor.po b/doc/source/locale/id/LC_MESSAGES/doc-contributor.po
index 090465107..a6e33d8d8 100644
--- a/doc/source/locale/id/LC_MESSAGES/doc-contributor.po
+++ b/doc/source/locale/id/LC_MESSAGES/doc-contributor.po
@@ -1,14 +1,15 @@
# suhartono <cloudsuhartono@gmail.com>, 2018. #zanata
# suhartono <cloudsuhartono@gmail.com>, 2019. #zanata
+# suhartono <cloudsuhartono@gmail.com>, 2020. #zanata
msgid ""
msgstr ""
-"Project-Id-Version: horizon 15.1.1.dev5\n"
+"Project-Id-Version: horizon 15.2.1.dev1\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2019-08-23 04:38-0500\n"
+"POT-Creation-Date: 2020-01-31 04:58-0600\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"PO-Revision-Date: 2019-08-27 05:56+0000\n"
+"PO-Revision-Date: 2020-02-14 04:19+0000\n"
"Last-Translator: suhartono <cloudsuhartono@gmail.com>\n"
"Language-Team: Indonesian\n"
"Language: id\n"
@@ -3599,6 +3600,17 @@ msgstr "Riwayat"
msgid "Hook for custom context data validation."
msgstr "Hook untuk validasi data konteks khusus."
+msgid ""
+"Hook for doing any extra form-wide cleaning after Field.clean() has been "
+"called on every field. Any ValidationError raised by this method will not be "
+"associated with a particular field; it will have a special-case association "
+"with the field named '__all__'."
+msgstr ""
+"Kait untuk melakukan pembersihan ekstra form-wide apa pun setelah Field."
+"clean () dipanggil di setiap field. ValidationError apa pun yang diajukan "
+"oleh metode ini tidak akan dikaitkan dengan field tertentu; itu akan "
+"memiliki asosiasi special-case dengan bidang bernama '__all__'."
+
msgid "Hook method for deconstructing the test fixture after testing it."
msgstr "Metode Hook untuk mendekonstruksi perlengkapan uji setelah mengujinya."
@@ -4206,12 +4218,8 @@ msgstr ""
msgid "If the following applies to the patch, a release note is required:"
msgstr "Jika hal berikut ini berlaku untuk patch, catatan rilis diperlukan:"
-msgid ""
-"If the form is invalid, re-render the context data with the data-filled form "
-"and errors."
-msgstr ""
-"Jika formulir tidak valid, render ulang data konteks dengan formulir dan "
-"kesalahan yang diisi data."
+msgid "If the form is invalid, render the invalid form."
+msgstr "Jika formulir tidak valid, render formulir yang tidak valid."
msgid "If the form is valid, redirect to the supplied URL."
msgstr "Jika formulirnya valid, alihkan ke URL yang disediakan."
@@ -6431,6 +6439,9 @@ msgstr ""
"diperbolehkan untuk menjatuhkan beberapa fitur dari horizon tanpa "
"penghentian eksplisit."
+msgid "Render the widget as an HTML string."
+msgstr "Jadikan (render) widget sebagai string HTML."
+
msgid "Renders the HTML output for this tab group."
msgstr "Merender output HTML untuk grup tab ini."
@@ -6601,6 +6612,15 @@ msgid "Returns True if user has any permissions in the given app_label."
msgstr ""
"Mengembalikan True jika pengguna memiliki izin di app_label yang diberikan."
+msgid ""
+"Returns True when the argument x is true, False otherwise. The builtins True "
+"and False are the only two instances of the class bool. The class bool is a "
+"subclass of the class int, and cannot be subclassed."
+msgstr ""
+"Mengembalikan True ketika argumen x true, False sebaliknya. Builtins True "
+"and False adalah satu-satunya dua instances class bool. Class bool adalah "
+"subclass dari int class, dan tidak dapat disubklasifikasikan."
+
msgid "Returns ``None`` by default, effectively making it a no-op."
msgstr ""
"Mengembalikan ``None`` secara default, secara efektif menjadikannya no-op."
@@ -6945,6 +6965,13 @@ msgstr "Menjalankan pengujian unit Python dengan lingkungan Python 3.5."
msgid "SCSS files"
msgstr "File SCSS"
+msgid ""
+"Save the current instance. Override this in a subclass if you want to "
+"control the saving process."
+msgstr ""
+"Simpan instance saat ini. Ganti ini dalam subkelas jika Anda ingin "
+"mengontrol proses penyimpanan."
+
msgid "Schema Forms"
msgstr "Schema Forms"
@@ -7615,6 +7642,15 @@ msgid "The \"horizon\" directory"
msgstr "Direktori \"horizon\""
msgid ""
+"The 'force_insert' and 'force_update' parameters can be used to insist that "
+"the \"save\" must be an SQL insert or update (or equivalent for non-SQL "
+"backends), respectively. Normally, they should not be set."
+msgstr ""
+"Parameter 'force_insert' dan 'force_update' dapat digunakan untuk menegaskan "
+"bahwa \"save\" harus berupa sisipan atau pembaruan SQL (atau setara dengan "
+"backend non-SQL), secara berurutan. Biasanya, mereka tidak boleh diatur."
+
+msgid ""
"The :attr:`~horizon.tables.Action.policy_rules` attribute, when set, will "
"validate access to the action using the policy rules specified. The "
"attribute is a list of scope/rule pairs. Where the scope is the service "
@@ -9511,6 +9547,17 @@ msgstr ""
"baru untuk sisi klien plugin untuk berkomunikasi dengan Horizon. Biasanya, "
"antarmuka REST di sini membuat panggilan ke ``myservice.py``."
+msgid ""
+"This filter is to add safety in production environments (i.e. DEBUG is "
+"False). If DEBUG is True then your site is not safe anyway. This hook is "
+"provided as a convenience to easily activate or deactivate the filter on a "
+"per request basis."
+msgstr ""
+"Filter ini untuk menambah keamanan di lingkungan produksi (mis. DEBUG adalah "
+"False). Jika DEBUG adalah True, berarti situs Anda tidak aman. Pengait ini "
+"disediakan sebagai kemudahan untuk mengaktifkan atau menonaktifkan filter "
+"dengan mudah berdasarkan permintaan."
+
msgid "This format is 'openstack.roles.xxx' and 'xxx' is a real role name."
msgstr ""
"Format ini adalah 'openstack.roles.xxx' dan 'xxx' adalah nama peran nyata."
@@ -10530,6 +10577,13 @@ msgstr ""
"antara langkah-langkah dalam alur kerja Anda selama mereka berbagi lingkup "
"induk yang sama."
+msgid ""
+"Validate the given value and return its \"cleaned\" value as an appropriate "
+"Python object. Raise ValidationError for any errors."
+msgstr ""
+"Validasikan nilai yang diberikan dan kembalikan nilainya \"cleaned\" sebagai "
+"objek Python yang sesuai. Naikkan ValidationError untuk errors apa pun."
+
msgid "Validates an expected status code."
msgstr "Memvalidasi kode status yang diharapkan."
@@ -11451,6 +11505,9 @@ msgstr "babel-django.cfg, babel-djangojs.cfg"
msgid "base token auth url"
msgstr "url auth token dasar"
+msgid "bool(x) -> bool"
+msgstr "bool(x) -> bool"
+
msgid "docs"
msgstr "docs"
diff --git a/openstack_dashboard/dashboards/admin/hypervisors/compute/forms.py b/openstack_dashboard/dashboards/admin/hypervisors/compute/forms.py
index 2e9a6434b..8082e8268 100644
--- a/openstack_dashboard/dashboards/admin/hypervisors/compute/forms.py
+++ b/openstack_dashboard/dashboards/admin/hypervisors/compute/forms.py
@@ -57,6 +57,11 @@ class EvacuateHostForm(forms.SelfHandlingForm):
current_host = data['current_host']
target_host = data['target_host']
on_shared_storage = data['on_shared_storage']
+ # The target_host value will be an empty string when the target
+ # host wasn't specified. But the evacuate api doesn't allow
+ # an empty string. So set None as the target_host value.
+ if not target_host:
+ target_host = None
api.nova.evacuate_host(request, current_host,
target_host, on_shared_storage)
diff --git a/openstack_dashboard/static/app/core/images/steps/edit-image/edit-image.controller.js b/openstack_dashboard/static/app/core/images/steps/edit-image/edit-image.controller.js
index 745209a87..379db288a 100644
--- a/openstack_dashboard/static/app/core/images/steps/edit-image/edit-image.controller.js
+++ b/openstack_dashboard/static/app/core/images/steps/edit-image/edit-image.controller.js
@@ -57,7 +57,7 @@
];
ctrl.setFormats = setFormats;
- ctrl.allowPublicizeImage = { rules: [['image', 'image:publicize_image']] };
+ ctrl.allowPublicizeImage = { rules: [['image', 'publicize_image']] };
$scope.imagePromise.then(init);
diff --git a/releasenotes/notes/publicize-image-policy-name-5d7fd5ecbdcfa893.yaml b/releasenotes/notes/publicize-image-policy-name-5d7fd5ecbdcfa893.yaml
new file mode 100644
index 000000000..5650ffdfe
--- /dev/null
+++ b/releasenotes/notes/publicize-image-policy-name-5d7fd5ecbdcfa893.yaml
@@ -0,0 +1,11 @@
+---
+upgrade:
+ - |
+ ``publicize_image`` policy now has the same name both for image create and
+ edit features and corresponds to the same one in Glance. If you changed the
+ policy name manually to get feature working you have to rollback your
+ changes before Horizon update.
+fixes:
+ - |
+ [:bug:`1859041`] ``image:publicize_image`` policy is renamed to
+ ``publicize_image`` to be the same as Glance has.