1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-12-03 17:36:05 +00:00

fix(tags): sixth audit: the tag box tells its rule, trims a paste; clear keeps the focus

- A name typed or pasted into the tag box that cannot be a tag shows the
  rule (letters a-z, digits, dots, dashes, underscores; at most 12
  characters) instead of nothing; the spaces a paste brings are dropped;
  "constructor" is no longer taken for a tag there is.
- "Clear the filters" hides with the message it is in: the search box takes
  the focus.
This commit is contained in:
catborise 2026-11-19 10:03:50 +03:00
parent bc1894e4d8
commit f6b1ee8985
9 changed files with 74 additions and 36 deletions

Binary file not shown.

View file

@ -11,7 +11,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-11-19 06:32+0000\n"
"POT-Creation-Date: 2026-11-19 07:03+0000\n"
"PO-Revision-Date: 2020-11-04 12:00+0000\n"
"Last-Translator: catborise <muhammetalisag@gmail.com>, 2020\n"
"Language-Team: Turkish (https://www.transifex.com/catborise/teams/110663/tr/)\n"
@ -1030,7 +1030,7 @@ msgid "Failed"
msgstr "Başarısız"
#: admin/templates/admin/tag_list.html:5 admin/templates/admin/tag_list.html:7
#: computes/forms.py:53 instances/templates/instances/settings_tab.html:925
#: computes/forms.py:55 instances/templates/instances/settings_tab.html:925
#: instances/views.py:244 templates/common/tag_filter.html:5
#: templates/navbar.html:39
msgid "Tags"
@ -2032,7 +2032,15 @@ msgstr "Kayıtlı, korumak için boş bırakın"
msgid "Add tag %(tag)s"
msgstr "Etiket ekle: %(tag)s"
#: computes/forms.py:97 computes/templates/computes/instances.html:53
#: computes/forms.py:38
msgid ""
"A new tag: letters a-z, digits, dots, dashes and underscores, beginning with "
"a letter or digit; at most 12 characters"
msgstr ""
"Yeni etiket: a-z harfleri, rakamlar, nokta, tire ve alt çizgi, harf ya da "
"rakamla başlar; en fazla 12 karakter"
#: computes/forms.py:99 computes/templates/computes/instances.html:53
#: instances/templates/instances/settings_tab.html:872
#: instances/templates/instances/settings_tab.html:904
#: instances/templates/instances/snapshots_tab.html:27
@ -2040,43 +2048,43 @@ msgstr "Etiket ekle: %(tag)s"
msgid "Description"
msgstr "Tanım"
#: computes/forms.py:98
#: computes/forms.py:100
msgid "Shown on the hosts list"
msgstr "Sunucu listesinde gösterilir"
#: computes/forms.py:99
#: computes/forms.py:101
msgid "SASL login"
msgstr "SASL kullanıcı adı"
#: computes/forms.py:99
#: computes/forms.py:101
msgid "SASL password"
msgstr "SASL parolası"
#: computes/forms.py:105 computes/templates/create_comp_block.html:10
#: computes/forms.py:107 computes/templates/create_comp_block.html:10
msgid "libvirt over TCP, with a SASL login"
msgstr "TCP üzerinden libvirt, SASL girişiyle"
#: computes/forms.py:119 computes/templates/create_comp_block.html:14
#: computes/forms.py:121 computes/templates/create_comp_block.html:14
msgid "libvirt over SSH, with the panel's SSH key"
msgstr "SSH üzerinden libvirt, panelin SSH anahtarıyla"
#: computes/forms.py:120
#: computes/forms.py:122
msgid "FQDN/IP"
msgstr "FQDN/IP"
#: computes/forms.py:125
#: computes/forms.py:127
msgid "SSH user"
msgstr "SSH kullanıcısı"
#: computes/forms.py:133 computes/templates/create_comp_block.html:18
#: computes/forms.py:135 computes/templates/create_comp_block.html:18
msgid "libvirt over TLS, with certificates"
msgstr "TLS üzerinden libvirt, sertifikalarla"
#: computes/forms.py:146 computes/templates/create_comp_block.html:21
#: computes/forms.py:148 computes/templates/create_comp_block.html:21
msgid "Local"
msgstr "Yerel"
#: computes/forms.py:147 computes/templates/create_comp_block.html:22
#: computes/forms.py:149 computes/templates/create_comp_block.html:22
msgid "the libvirt of the host the panel runs on, by its socket"
msgstr "panelin çalıştığı sunucunun libvirt'i, soketi üzerinden"

Binary file not shown.

View file

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-11-19 06:32+0000\n"
"POT-Creation-Date: 2026-11-19 07:03+0000\n"
"PO-Revision-Date: \n"
"Last-Translator: \n"
"Language-Team: \n"
@ -1002,7 +1002,7 @@ msgid "Failed"
msgstr "失败"
#: admin/templates/admin/tag_list.html:5 admin/templates/admin/tag_list.html:7
#: computes/forms.py:53 instances/templates/instances/settings_tab.html:925
#: computes/forms.py:55 instances/templates/instances/settings_tab.html:925
#: instances/views.py:244 templates/common/tag_filter.html:5
#: templates/navbar.html:39
msgid "Tags"
@ -1956,7 +1956,13 @@ msgstr "已保存,留空则保持不变"
msgid "Add tag %(tag)s"
msgstr "添加标签:%(tag)s"
#: computes/forms.py:97 computes/templates/computes/instances.html:53
#: computes/forms.py:38
msgid ""
"A new tag: letters a-z, digits, dots, dashes and underscores, beginning with "
"a letter or digit; at most 12 characters"
msgstr "新标签:字母 a-z、数字、点、短横线和下划线,以字母或数字开头;最多 12 个字符"
#: computes/forms.py:99 computes/templates/computes/instances.html:53
#: instances/templates/instances/settings_tab.html:872
#: instances/templates/instances/settings_tab.html:904
#: instances/templates/instances/snapshots_tab.html:27
@ -1964,43 +1970,43 @@ msgstr "添加标签:%(tag)s"
msgid "Description"
msgstr "描述"
#: computes/forms.py:98
#: computes/forms.py:100
msgid "Shown on the hosts list"
msgstr "显示在主机列表中"
#: computes/forms.py:99
#: computes/forms.py:101
msgid "SASL login"
msgstr "SASL 登录名"
#: computes/forms.py:99
#: computes/forms.py:101
msgid "SASL password"
msgstr "SASL 密码"
#: computes/forms.py:105 computes/templates/create_comp_block.html:10
#: computes/forms.py:107 computes/templates/create_comp_block.html:10
msgid "libvirt over TCP, with a SASL login"
msgstr "通过 TCP 连接 libvirt,使用 SASL 登录"
#: computes/forms.py:119 computes/templates/create_comp_block.html:14
#: computes/forms.py:121 computes/templates/create_comp_block.html:14
msgid "libvirt over SSH, with the panel's SSH key"
msgstr "通过 SSH 连接 libvirt,使用面板的 SSH 密钥"
#: computes/forms.py:120
#: computes/forms.py:122
msgid "FQDN/IP"
msgstr "FQDN/IP"
#: computes/forms.py:125
#: computes/forms.py:127
msgid "SSH user"
msgstr "SSH 用户"
#: computes/forms.py:133 computes/templates/create_comp_block.html:18
#: computes/forms.py:135 computes/templates/create_comp_block.html:18
msgid "libvirt over TLS, with certificates"
msgstr "通过 TLS 连接 libvirt,使用证书"
#: computes/forms.py:146 computes/templates/create_comp_block.html:21
#: computes/forms.py:148 computes/templates/create_comp_block.html:21
msgid "Local"
msgstr "本地"
#: computes/forms.py:147 computes/templates/create_comp_block.html:22
#: computes/forms.py:149 computes/templates/create_comp_block.html:22
msgid "the libvirt of the host the panel runs on, by its socket"
msgstr "面板所在主机的 libvirt,通过其套接字连接"