From f5ea5dff1a717ab44c6b2840d4d354e23ef82c6a Mon Sep 17 00:00:00 2001 From: Peter Eckel Date: Fri, 4 Oct 2024 22:22:34 +0200 Subject: [PATCH 1/3] Made the lists of active zone and record statuses configurable --- netbox_dns/__init__.py | 8 +++++++- netbox_dns/models/record.py | 19 ++++++++++--------- netbox_dns/models/zone.py | 25 ++++++++++++++++++------- 3 files changed, 35 insertions(+), 17 deletions(-) diff --git a/netbox_dns/__init__.py b/netbox_dns/__init__.py index 824ae644..0aa2fe0b 100644 --- a/netbox_dns/__init__.py +++ b/netbox_dns/__init__.py @@ -4,7 +4,7 @@ from netbox.plugins import PluginConfig from ipam.choices import IPAddressStatusChoices -from netbox_dns.choices import RecordTypeChoices +from netbox_dns.choices import RecordTypeChoices, RecordStatusChoices, ZoneStatusChoices __version__ = "1.1.3" @@ -26,6 +26,12 @@ class DNSConfig(PluginConfig): "zone_soa_retry": 7200, "zone_soa_expire": 2419200, "zone_soa_minimum": 3600, + "zone_active_status": [ + ZoneStatusChoices.STATUS_ACTIVE, + ], + "record_active_status": [ + RecordStatusChoices.STATUS_ACTIVE, + ], "dnssync_disabled": False, "dnssync_ipaddress_active_status": [ IPAddressStatusChoices.STATUS_ACTIVE, diff --git a/netbox_dns/models/record.py b/netbox_dns/models/record.py index b3777c6a..b2fca047 100644 --- a/netbox_dns/models/record.py +++ b/netbox_dns/models/record.py @@ -34,6 +34,9 @@ "RecordIndex", ) +ZONE_ACTIVE_STATUS_LIST = get_plugin_config("netbox_dns", "zone_active_status") +RECORD_ACTIVE_STATUS_LIST = get_plugin_config("netbox_dns", "record_active_status") + def min_ttl(*ttl_list): return min((ttl for ttl in ttl_list if ttl is not None), default=None) @@ -102,14 +105,14 @@ def get_queryset(self): .annotate( active=ExpressionWrapper( Q( - Q(zone__status__in=zone.Zone.ACTIVE_STATUS_LIST) + Q(zone__status__in=ZONE_ACTIVE_STATUS_LIST) & Q( Q(address_record__isnull=True) | Q( - address_record__zone__status__in=zone.Zone.ACTIVE_STATUS_LIST + address_record__zone__status__in=ZONE_ACTIVE_STATUS_LIST ) ) - & Q(status__in=Record.ACTIVE_STATUS_LIST) + & Q(status__in=RECORD_ACTIVE_STATUS_LIST) ), output_field=BooleanField(), ) @@ -118,8 +121,6 @@ def get_queryset(self): class Record(ObjectModificationMixin, ContactsMixin, NetBoxModel): - ACTIVE_STATUS_LIST = (RecordStatusChoices.STATUS_ACTIVE,) - unique_ptr_qs = Q( Q(disable_ptr=False), Q(Q(type=RecordTypeChoices.A) | Q(type=RecordTypeChoices.AAAA)), @@ -295,8 +296,8 @@ def address_from_rfc2317_name(self): @property def is_active(self): return ( - self.status in Record.ACTIVE_STATUS_LIST - and self.zone.status in zone.Zone.ACTIVE_STATUS_LIST + self.status in RECORD_ACTIVE_STATUS_LIST + and self.zone.status in ZONE_ACTIVE_STATUS_LIST ) @property @@ -616,7 +617,7 @@ def check_unique_record(self, new_zone=None): name=self.name, type=self.type, value=self.value, - status__in=Record.ACTIVE_STATUS_LIST, + status__in=RECORD_ACTIVE_STATUS_LIST, ) if not self._state.adding: @@ -653,7 +654,7 @@ def handle_conflicting_address_records(self): name=self.name, type=self.type, value=self.value, - status__in=Record.ACTIVE_STATUS_LIST, + status__in=RECORD_ACTIVE_STATUS_LIST, ipam_ip_address__isnull=True, ) diff --git a/netbox_dns/models/zone.py b/netbox_dns/models/zone.py index b1ccd025..1ec64c49 100644 --- a/netbox_dns/models/zone.py +++ b/netbox_dns/models/zone.py @@ -53,6 +53,9 @@ "ZoneIndex", ) +ZONE_ACTIVE_STATUS_LIST = get_plugin_config("netbox_dns", "zone_active_status") +RECORD_ACTIVE_STATUS_LIST = get_plugin_config("netbox_dns", "record_active_status") + class ZoneManager(models.Manager.from_queryset(RestrictedQuerySet)): """ @@ -65,15 +68,13 @@ def get_queryset(self): .get_queryset() .annotate( active=ExpressionWrapper( - Q(status__in=Zone.ACTIVE_STATUS_LIST), output_field=BooleanField() + Q(status__in=ZONE_ACTIVE_STATUS_LIST), output_field=BooleanField() ) ) ) class Zone(ObjectModificationMixin, ContactsMixin, NetBoxModel): - ACTIVE_STATUS_LIST = (ZoneStatusChoices.STATUS_ACTIVE,) - def __init__(self, *args, **kwargs): kwargs.pop("template", None) @@ -299,11 +300,21 @@ def __str__(self): @staticmethod def get_defaults(): + default_fields = ( + "zone_default_ttl", + "zone_soa_ttl", + "zone_soa_serial", + "zone_soa_refresh", + "zone_soa_retry", + "zone_soa_expire", + "zone_soa_minimum", + "zone_soa_rname", + ) + return { field[5:]: value for field, value in settings.PLUGINS_CONFIG.get("netbox_dns").items() - if field.startswith("zone_") - and field not in ("zone_soa_mname", "zone_nameservers") + if field in default_fields } @property @@ -337,7 +348,7 @@ def get_status_class(self): @property def is_active(self): - return self.status in Zone.ACTIVE_STATUS_LIST + return self.status in ZONE_ACTIVE_STATUS_LIST @property def is_reverse_zone(self): @@ -474,7 +485,7 @@ def check_nameservers(self): relative_name = name.relativize(parent).to_text() address_records = Record.objects.filter( Q(zone=ns_zone), - Q(status__in=Record.ACTIVE_STATUS_LIST), + Q(status__in=RECORD_ACTIVE_STATUS_LIST), Q(Q(name=f"{_nameserver.name}.") | Q(name=relative_name)), Q(Q(type=RecordTypeChoices.A) | Q(type=RecordTypeChoices.AAAA)), ) From 73f10fcc0e908807dd70fd35c506de172ea680c1 Mon Sep 17 00:00:00 2001 From: Peter Eckel Date: Fri, 4 Oct 2024 22:32:16 +0200 Subject: [PATCH 2/3] Added new zone status "dynamic" (active by default) --- netbox_dns/__init__.py | 1 + netbox_dns/choices/zone.py | 2 + netbox_dns/locale/de/LC_MESSAGES/django.mo | Bin 20358 -> 20392 bytes netbox_dns/locale/de/LC_MESSAGES/django.po | 148 +++++++++++---------- netbox_dns/locale/en/LC_MESSAGES/django.po | 148 +++++++++++---------- 5 files changed, 155 insertions(+), 144 deletions(-) diff --git a/netbox_dns/__init__.py b/netbox_dns/__init__.py index 0aa2fe0b..8e43cfee 100644 --- a/netbox_dns/__init__.py +++ b/netbox_dns/__init__.py @@ -28,6 +28,7 @@ class DNSConfig(PluginConfig): "zone_soa_minimum": 3600, "zone_active_status": [ ZoneStatusChoices.STATUS_ACTIVE, + ZoneStatusChoices.STATUS_DYNAMIC, ], "record_active_status": [ RecordStatusChoices.STATUS_ACTIVE, diff --git a/netbox_dns/choices/zone.py b/netbox_dns/choices/zone.py index b95bac1c..0584c5f4 100644 --- a/netbox_dns/choices/zone.py +++ b/netbox_dns/choices/zone.py @@ -13,10 +13,12 @@ class ZoneStatusChoices(ChoiceSet): STATUS_RESERVED = "reserved" STATUS_DEPRECATED = "deprecated" STATUS_PARKED = "parked" + STATUS_DYNAMIC = "dynamic" CHOICES = [ (STATUS_ACTIVE, _("Active"), "blue"), (STATUS_RESERVED, _("Reserved"), "cyan"), (STATUS_DEPRECATED, _("Deprecated"), "red"), (STATUS_PARKED, _("Parked"), "gray"), + (STATUS_DYNAMIC, _("Dynamic"), "orange"), ] diff --git a/netbox_dns/locale/de/LC_MESSAGES/django.mo b/netbox_dns/locale/de/LC_MESSAGES/django.mo index fc984f5875434ed99643d378187644121620f2e8..b530e1f4a692dd909562c0c2bccb59a3651ca80e 100644 GIT binary patch delta 5309 zcmY+|3s_g>0mt!|fm{Ry5&wu+P{9jcP%%YKLnaewxhPQM% z&C4`Jlh~qVb4IR#X-l)bO|4CAXtQ+cle*fzKhBHKv-jDL&wCE%ocDSTxux5@_HOfX zE{FPTFqC_w1v%ko%rGxw<_GJnF?+*|X@hTJUp#?9=-0%UKn$}+qA$mt(HnbWee8`q z(hS0en1-z}8$HH2W)77IPOQbYxDTW8Q*4BHFcf{cS`Ums^{pN1d_1b-sn`l9U_E>V z)zKB$05_sKxXZd918Lv9L&b+*96??95q8H@sGfU=yA1}SI?x<-J_gl+uIP_Rs1B!L z0Op`(C?7lEOjL({jgR4845oc^g^C{h9qNV$R^O&H#&IY%#;#a9m8g!Up+-8&9*@Pr z98W3_Ids)b-VcP*VIyM!x zM;4)GU=M2V96)vS6sqC#s2Qz64fHOm!w*oKv0e-2pZ#UR*g?aw6Y7SSQ5P&mX3MNY z-B^P3)s$l#oVexa7E4g~pF?fNE2!7524`Ua2gA@=Kt;c(;)kZL1~r0P zsHygibeE(V@8L3lVUKgM6UUQKQ@$Rx>9(OdcmOpMCsFsE#W219 zSE;n;#C_C_QS2mL&>1xo38+1if$G=<)E=0P>?2cbj}O}8D%5q=sLlHWYQ$b_0DTAi z&>Q2hKJA-$RWK3Na2jeRMxuH=5j8`F_ILs6`emq@D7NRf;0TU)p%30iJ|*TSOh6AC zOiPxD+8g80Q6-;>dNdW81XGB5z{}C#>Ub|y z2NTg3Q&G>)z{jyLhWQ^)_K(?(>TwmS zL)FNnnFwxTdCfrVj?ZH}Zo(`t{#;`s$E|qxGH@&g-~kLmr<{u3=VPcIp2I-AjN0|r zQB$hVonA+OR6`M{jt)as$xOx+EVjQtkNi0>fn2Pqk47~-0JS7Tkoz1{Kt(sMMeZ?Y zQ62H`;dZPcsv~XC7yFw_c(ll<9;{>7okRS1@+*osE*%6b>Kg!8S}7{HNcjr zO&!e-z3w^a)Tc6@iW+(WLvS8u;VOInGHPTuQJd`{cEiZtd~Pulb^rU=2alunkT(Zv zI2apaI5xpp)N_*hF#lTXd`?8-6x2voqX##k8a{{`>0wldkD}J{6V&T<8HeJ1`}@JX z!}@&&HpN`jeRGk&*k%dRN3$b=`By_1IKgb0Tc{h_vxC&|K-82D$BsA}`8#BmphmO@ z^;#ZAR?D2lL=5WZjyxT8{|MCHdJf0oi`WUzI8-#{|3x(z(%=0+v_!348ft2@P#ws{ zomhlZu^Zn}eNwlgruryq0F~GRzef6GenQ=!z|L)kd8j?-ETj@mWi@I|%8=zX=TK7` z%y2Z~Y}AA1p_c4j48RXiBm5XOkTV#L)u<8wi2Bk659B}JZ~$s=Y<6|bZYsK=6!n@_ zp&s-QBQPk*?NAJ=!7-=@PelEG4yu85s5P!Yb?78&<}O-qpho@>qtG)*Gv}~lsp!P$ z+7resK<$a`s0Ws#I#_|~;04s{6ExT^8EPt9+T+fsh7(X79*S!CY3nr909T+N?VBxB zbm0!1j3xFsJlS2_C>+lDWK@TWQF~)6YRz|{HT&%z8eo8kuI2x zjvla#iZWg+7!|)>Ny6>?Y{(!02A%%a<;0&CJL7be64i?}8EXKSc{Cg7b zp*lKisN3G`q0IknPAukxdOSPLoyz&BDKA1bxD#XWbJR>dK#k02nERke)cG#RAWd(i zk7hp7H&cOnen7f=T|?A>o2E1WdXJ+yp-q#3TFX?_T0eswa5>h)Qq*QENBV58;aH4g zefaj6HK@H*iJkB|s^d*E+`oGLQ8S!_Nm%UI${Ez_;d#>C?S<&YaeML)@_Vw8>>+x; z>&jUw?~vTO6Q~*ci2Tl;(`Hlok_3}a2oqRa8oUb!?7_d*T?&qMp0P(iN3DJjq8E;# zJSxAiwS253^xoVg3&O~G zciOBbKO-u?B7Y>?NgPqp*P$nQTL+X@{!KT!m!HZ-9DJ55l-jW=mQbGEXxjL}rNvpmSD)U^-Z%}X4 zI(vKxH<2r(IY}WZ-deDMRGubxNET^B>dI$S>XD;l3kfAEyU1V2ZBkD9lgEh4QkU9K zgQ_2r-;xnJpfn_{$;)IV?brU_E>QcAk#ziql#uS^D-uPXAic>OH(OyyEa_aV7u%o4)1x#aSTZ8q12+G;j6%yJnj zHf_1I+1Tc?%#hm_yI3ni%xigN@6Z2t{$AU8`TX9`IltdI&+~lGbIw1D7dBkAu%Y%w z+vf9%?L+A-Pi$4nQ4OV>-6ls%ncuFI9$dg7T)}PlZ?`j*} z1GpWBuq#J#=Td5Ay2dUJ%;s+V9((dp?!dpYEk9x|*wR@UTRZ0X?##dku?vr83(jN) zdNH@H21}Q%nz5bKUXp%|A6Um6ElF;?d!*PW(LrOTeCki;2~_u zF-(PyWgni(4Cq=O!1-*W|MHwhF8pWagte6)v6KBRI+U^_yD$SBz|3%1wLgM~**}`O zMe~`N{;~3v>i8OtalEr~XTsB2%e^{BBNslO>1Z|^OT|>+7Vg2@ncqLd40shYWae@eT~f&KXj)A0b)PDuwd7e163*fGr7n9fvS z4zp(FF#}!BTyG^)$yLluUuOpVCbJ0F({d`GbW;DZ8f~qhoNx;BgR`kxoa+w0_F0YX3Xc{u1VQ&oGPkFU*Yp$vpq>vKc#A5b3XT z)PL!%k&Xv2l^Dv5csz4&r&Rl=Gbf(Q%zRdL{7N2e|2j738hUkzO3oWG| zSvii4&;KzRicqF77r2ypuCHJ!aWk!(vY6fYBs0UenNq(;>$H5z41CvK^#S%~I^2i3 z{sH_Pr|=Yhx0m`)*7(?gshrTeloR*>r*Ru~JA+?g2KGAB;hS8}4Q#=?t-Ms^0j7cv zGxz=}<}rSo`CUWb`mNiFsrYVv)qiV^eH}=t1~c#GncRt7y#6xK{pc>0NgTmh%=as~3qN2=zpaDmxEFIv_GQkSK!%!PV0i?V;UKZ4uZpTHqJnQgd$c?#}gTdrhoysyIR&Uzw6+>WFUKUOO9aH%2=ML z|8kg_!A9oRZDJO4Gaq^J3}LQ& z2-D9f*0$G}qA`(YR$r`OX7n_($X0V7Zsv6EJ*a+x`8?46VrK2EVLD#V9r+=5VoN{D zb-FUQ_;7aP=mXV1GdatFo%vO!F-WCjhWFmn8$Ge-KFvnhjJ}5 z^S%ew&mX|7sbQSTN$ks|OvPVk`g^CQ(NAL&bMN{bTrcfD%m9Y+c24IEZtMM-SLr28 zhqp2lxRagv7>%X8#+={YitWhZ%%VGyJ$V*$OKLZ2xUJ=Gah7GxzH5mp3P-T zevhfp9n4IYvORyr%=lI24Y!`hv-7a}+PJXtYs~NG(9=~bKi0^FR&y7wWd_uIc)i1e zmU3tY)&yoTL)1Do@HcH)EFjenpqmW|wtgN~@5e>yXf8LZ_on5B_7 z*#m6Hm{Ggba(}OaS2nZmzkNp$y{i2b-eXa^*85EG{$l~jj1eRI`{{3{yOHo zkC?}}*_is8X+K8&Gk~5B^Vg~*J zyRzfB`io`=t-o?!UXq<; zPuW#A%3X4jd_n#o&&w0?6FFG2eJFRx@B8`KTCSJXvQ}ElKjZ@WtK2Wy9=&b~oN2+sF)gRo<1Rt*6Fi zslZuHNBD}ICJ)G4a-^If*;dM6xi~x3Hm>r<%2|~^;2^oF+JBATkvF8193k17AP`nJC|uFUhauZppTX z)CT&vTvkc8rFB00e5Pv6tsM5*H}%HbxKgIdujQZ8w0&1&x$G{_N@qDlj+OUiaSH!O zjdP`GJ5OW0d`+&EkuqFvmE+`P87)7P!{o;@LR!jK<@?Ki)b0n(mW}T4NvCBK1|HYx Ezoa)Kx&QzG diff --git a/netbox_dns/locale/de/LC_MESSAGES/django.po b/netbox_dns/locale/de/LC_MESSAGES/django.po index c75e7b7f..9771e884 100644 --- a/netbox_dns/locale/de/LC_MESSAGES/django.po +++ b/netbox_dns/locale/de/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: 1.1.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-10-01 08:06+0000\n" +"POT-Creation-Date: 2024-10-04 20:26+0000\n" "PO-Revision-Date: 2024-09-29 12:06+0000\n" "Last-Translator: Peter Eckel \n" "Language-Team: LANGUAGE \n" @@ -133,7 +133,7 @@ msgstr "" "Das Objekt {object} ist nicht verwaltet, eine Änderung auf 'verwaltet' ist " "nicht möglich" -#: netbox_dns/choices/record.py:49 netbox_dns/choices/zone.py:18 +#: netbox_dns/choices/record.py:49 netbox_dns/choices/zone.py:19 #: netbox_dns/tables/record.py:60 msgid "Active" msgstr "Aktiv" @@ -142,18 +142,22 @@ msgstr "Aktiv" msgid "Inactive" msgstr "Inaktiv" -#: netbox_dns/choices/zone.py:19 +#: netbox_dns/choices/zone.py:20 msgid "Reserved" msgstr "Reserviert" -#: netbox_dns/choices/zone.py:20 +#: netbox_dns/choices/zone.py:21 msgid "Deprecated" msgstr "Veraltet" -#: netbox_dns/choices/zone.py:21 +#: netbox_dns/choices/zone.py:22 msgid "Parked" msgstr "Geparkt" +#: netbox_dns/choices/zone.py:23 +msgid "Dynamic" +msgstr "Dynamisch" + #: netbox_dns/fields/address.py:32 msgid "IPv4/v6 address" msgstr "IPv4/v6-Adresse" @@ -176,7 +180,7 @@ msgid "PostgreSQL CIDR field for an RFC2317 prefix" msgstr "PostgreSQL CIDR-Feld für ein RFC2317-Prefix" #: netbox_dns/filtersets/nameserver.py:19 netbox_dns/forms/nameserver.py:67 -#: netbox_dns/models/zone.py:272 netbox_dns/navigation.py:31 +#: netbox_dns/models/zone.py:273 netbox_dns/navigation.py:31 #: netbox_dns/views/nameserver.py:96 netbox_dns/views/registrar.py:80 #: netbox_dns/views/registration_contact.py:83 netbox_dns/views/view.py:100 msgid "Zones" @@ -214,7 +218,7 @@ msgstr "Adress-Datensatz" msgid "Pointer Record" msgstr "Zeiger-Datensatz" -#: netbox_dns/filtersets/record.py:73 netbox_dns/models/record.py:203 +#: netbox_dns/filtersets/record.py:73 netbox_dns/models/record.py:204 #: netbox_dns/tables/record.py:108 #: netbox_dns/templates/netbox_dns/record.html:108 #: netbox_dns/templates/netbox_dns/record.html:115 @@ -269,7 +273,7 @@ msgstr "IDs der Nameserver" #: netbox_dns/filtersets/zone.py:57 netbox_dns/filtersets/zone_template.py:44 #: netbox_dns/forms/nameserver.py:47 netbox_dns/models/nameserver.py:57 -#: netbox_dns/models/zone.py:103 +#: netbox_dns/models/zone.py:104 #: netbox_dns/templates/netbox_dns/nameserver.html:8 msgid "Nameserver" msgstr "Nameserver" @@ -279,23 +283,23 @@ msgid "SOA MName ID" msgstr "SOA MName-ID" #: netbox_dns/filtersets/zone.py:67 netbox_dns/forms/zone.py:505 -#: netbox_dns/forms/zone.py:702 netbox_dns/models/zone.py:120 +#: netbox_dns/forms/zone.py:702 netbox_dns/models/zone.py:121 #: netbox_dns/tables/zone.py:28 msgid "SOA MName" msgstr "" -#: netbox_dns/filtersets/zone.py:71 netbox_dns/models/zone.py:174 +#: netbox_dns/filtersets/zone.py:71 netbox_dns/models/zone.py:175 msgid "ARPA Network" msgstr "ARPA-Netz" #: netbox_dns/filtersets/zone.py:75 netbox_dns/forms/zone.py:209 #: netbox_dns/forms/zone.py:543 netbox_dns/forms/zone.py:742 -#: netbox_dns/models/zone.py:232 netbox_dns/tables/zone.py:41 +#: netbox_dns/models/zone.py:233 netbox_dns/tables/zone.py:41 msgid "RFC2317 Prefix" msgstr "RFC2317-Prefix" #: netbox_dns/filtersets/zone.py:81 netbox_dns/filtersets/zone.py:87 -#: netbox_dns/models/zone.py:243 netbox_dns/tables/zone.py:44 +#: netbox_dns/models/zone.py:244 netbox_dns/tables/zone.py:44 msgid "RFC2317 Parent Zone" msgstr "Übergeordnete RF2317-Zone" @@ -304,7 +308,7 @@ msgstr "Übergeordnete RF2317-Zone" #: netbox_dns/forms/zone.py:559 netbox_dns/forms/zone.py:755 #: netbox_dns/forms/zone_template.py:119 netbox_dns/forms/zone_template.py:164 #: netbox_dns/forms/zone_template.py:242 netbox_dns/models/registrar.py:66 -#: netbox_dns/models/zone.py:188 netbox_dns/models/zone_template.py:47 +#: netbox_dns/models/zone.py:189 netbox_dns/models/zone_template.py:47 #: netbox_dns/tables/zone.py:48 netbox_dns/tables/zone_template.py:25 #: netbox_dns/templates/netbox_dns/registrar.html:8 #: netbox_dns/templates/netbox_dns/zone/registration.html:10 @@ -320,7 +324,7 @@ msgstr "ID des Dommänen-Inhabers" #: netbox_dns/forms/zone.py:447 netbox_dns/forms/zone.py:572 #: netbox_dns/forms/zone.py:764 netbox_dns/forms/zone_template.py:124 #: netbox_dns/forms/zone_template.py:173 netbox_dns/forms/zone_template.py:247 -#: netbox_dns/models/zone.py:201 netbox_dns/models/zone_template.py:55 +#: netbox_dns/models/zone.py:202 netbox_dns/models/zone_template.py:55 #: netbox_dns/tables/zone.py:52 netbox_dns/tables/zone_template.py:29 #: netbox_dns/templates/netbox_dns/zone/registration.html:18 #: netbox_dns/templates/netbox_dns/zonetemplate.html:62 @@ -350,7 +354,7 @@ msgstr "ID des technischen Ansprechpartners" #: netbox_dns/forms/zone.py:457 netbox_dns/forms/zone.py:590 #: netbox_dns/forms/zone.py:774 netbox_dns/forms/zone_template.py:134 #: netbox_dns/forms/zone_template.py:191 netbox_dns/forms/zone_template.py:257 -#: netbox_dns/models/zone.py:216 netbox_dns/models/zone_template.py:71 +#: netbox_dns/models/zone.py:217 netbox_dns/models/zone_template.py:71 #: netbox_dns/tables/zone.py:60 netbox_dns/tables/zone_template.py:37 #: netbox_dns/templates/netbox_dns/zone/registration.html:26 #: netbox_dns/templates/netbox_dns/zonetemplate.html:70 @@ -365,7 +369,7 @@ msgstr "ID des kaufmännischen Ansprechpartners" #: netbox_dns/forms/zone.py:462 netbox_dns/forms/zone.py:599 #: netbox_dns/forms/zone.py:779 netbox_dns/forms/zone_template.py:139 #: netbox_dns/forms/zone_template.py:200 netbox_dns/forms/zone_template.py:262 -#: netbox_dns/models/zone.py:224 netbox_dns/models/zone_template.py:79 +#: netbox_dns/models/zone.py:225 netbox_dns/models/zone_template.py:79 #: netbox_dns/tables/zone.py:64 netbox_dns/tables/zone_template.py:41 #: netbox_dns/templates/netbox_dns/zone/registration.html:30 #: netbox_dns/templates/netbox_dns/zonetemplate.html:74 @@ -398,10 +402,10 @@ msgstr "ID des Registrars" #: netbox_dns/forms/registration_contact.py:89 #: netbox_dns/forms/registration_contact.py:173 netbox_dns/forms/zone.py:132 #: netbox_dns/forms/zone.py:396 netbox_dns/models/nameserver.py:33 -#: netbox_dns/models/record.py:129 netbox_dns/models/record_template.py:32 +#: netbox_dns/models/record.py:130 netbox_dns/models/record_template.py:32 #: netbox_dns/models/registrar.py:20 #: netbox_dns/models/registration_contact.py:27 netbox_dns/models/view.py:31 -#: netbox_dns/models/zone.py:92 netbox_dns/tables/nameserver.py:15 +#: netbox_dns/models/zone.py:93 netbox_dns/tables/nameserver.py:15 #: netbox_dns/tables/record.py:40 netbox_dns/tables/record_template.py:19 #: netbox_dns/tables/registrar.py:14 netbox_dns/tables/view.py:18 #: netbox_dns/tables/zone.py:20 netbox_dns/tables/zone_template.py:18 @@ -444,10 +448,10 @@ msgstr "Tags" #: netbox_dns/forms/registration_contact.py:177 netbox_dns/forms/view.py:237 #: netbox_dns/forms/zone.py:157 netbox_dns/forms/zone.py:405 #: netbox_dns/forms/zone.py:692 netbox_dns/models/nameserver.py:38 -#: netbox_dns/models/record.py:184 netbox_dns/models/record_template.py:36 +#: netbox_dns/models/record.py:185 netbox_dns/models/record_template.py:36 #: netbox_dns/models/registrar.py:25 #: netbox_dns/models/registration_contact.py:32 netbox_dns/models/view.py:36 -#: netbox_dns/models/zone.py:169 netbox_dns/models/zone_template.py:22 +#: netbox_dns/models/zone.py:170 netbox_dns/models/zone_template.py:22 #: netbox_dns/templates/netbox_dns/nameserver.html:22 #: netbox_dns/templates/netbox_dns/record.html:125 #: netbox_dns/templates/netbox_dns/recordtemplate.html:69 @@ -481,9 +485,9 @@ msgstr "Attribute" #: netbox_dns/forms/view.py:247 netbox_dns/forms/zone.py:605 #: netbox_dns/forms/zone.py:784 netbox_dns/forms/zone.py:789 #: netbox_dns/forms/zone_template.py:206 netbox_dns/forms/zone_template.py:272 -#: netbox_dns/models/nameserver.py:43 netbox_dns/models/record.py:189 +#: netbox_dns/models/nameserver.py:43 netbox_dns/models/record.py:190 #: netbox_dns/models/record_template.py:65 netbox_dns/models/view.py:56 -#: netbox_dns/models/zone.py:180 netbox_dns/models/zone_template.py:39 +#: netbox_dns/models/zone.py:181 netbox_dns/models/zone_template.py:39 #: netbox_dns/templates/netbox_dns/nameserver.html:27 #: netbox_dns/templates/netbox_dns/record.html:62 #: netbox_dns/templates/netbox_dns/recordtemplate.html:30 @@ -502,8 +506,8 @@ msgstr "Mandantengruppe" #: netbox_dns/forms/record.py:62 netbox_dns/forms/record.py:157 #: netbox_dns/forms/record.py:188 netbox_dns/forms/record.py:252 -#: netbox_dns/forms/zone.py:228 netbox_dns/models/record.py:133 -#: netbox_dns/models/zone.py:271 netbox_dns/tables/record.py:28 +#: netbox_dns/forms/zone.py:228 netbox_dns/models/record.py:134 +#: netbox_dns/models/zone.py:272 netbox_dns/tables/record.py:28 #: netbox_dns/templates/netbox_dns/record.html:53 #: netbox_dns/templates/netbox_dns/zone.html:9 msgid "Zone" @@ -514,7 +518,7 @@ msgstr "Zone" #: netbox_dns/forms/record_template.py:46 #: netbox_dns/forms/record_template.py:129 #: netbox_dns/forms/record_template.py:160 -#: netbox_dns/forms/record_template.py:210 netbox_dns/models/record.py:179 +#: netbox_dns/forms/record_template.py:210 netbox_dns/models/record.py:180 #: netbox_dns/models/record_template.py:60 netbox_dns/tables/record.py:75 #: netbox_dns/tables/record_template.py:41 #: netbox_dns/templates/netbox_dns/record.html:91 @@ -525,7 +529,7 @@ msgstr "PTR-Erzeugung unterbinden" #: netbox_dns/forms/record.py:71 netbox_dns/forms/record.py:208 #: netbox_dns/forms/record.py:270 netbox_dns/forms/record_template.py:50 #: netbox_dns/forms/record_template.py:156 -#: netbox_dns/forms/record_template.py:205 netbox_dns/models/record.py:161 +#: netbox_dns/forms/record_template.py:205 netbox_dns/models/record.py:162 #: netbox_dns/models/record_template.py:55 netbox_dns/tables/record.py:57 #: netbox_dns/tables/record_template.py:38 #: netbox_dns/templates/netbox_dns/record.html:86 @@ -537,7 +541,7 @@ msgstr "TTL" #: netbox_dns/forms/record.py:130 netbox_dns/forms/record.py:199 #: netbox_dns/forms/record.py:257 netbox_dns/forms/record_template.py:108 #: netbox_dns/forms/record_template.py:147 -#: netbox_dns/forms/record_template.py:192 netbox_dns/models/record.py:145 +#: netbox_dns/forms/record_template.py:192 netbox_dns/models/record.py:146 #: netbox_dns/models/record_template.py:41 netbox_dns/tables/record.py:37 #: netbox_dns/tables/record_template.py:26 #: netbox_dns/templates/netbox_dns/record.html:72 @@ -545,14 +549,14 @@ msgstr "TTL" msgid "Type" msgstr "Typ" -#: netbox_dns/forms/record.py:138 netbox_dns/models/record.py:138 +#: netbox_dns/forms/record.py:138 netbox_dns/models/record.py:139 #: netbox_dns/tables/record.py:44 msgid "FQDN" msgstr "FQDN" #: netbox_dns/forms/record.py:142 netbox_dns/forms/record.py:261 #: netbox_dns/forms/record_template.py:120 -#: netbox_dns/forms/record_template.py:196 netbox_dns/models/record.py:150 +#: netbox_dns/forms/record_template.py:196 netbox_dns/models/record.py:151 #: netbox_dns/models/record_template.py:45 netbox_dns/tables/record.py:48 #: netbox_dns/tables/record_template.py:29 #: netbox_dns/templates/netbox_dns/record.html:76 @@ -565,8 +569,8 @@ msgstr "Wert" #: netbox_dns/forms/record_template.py:152 #: netbox_dns/forms/record_template.py:201 netbox_dns/forms/zone.py:142 #: netbox_dns/forms/zone.py:392 netbox_dns/forms/zone.py:480 -#: netbox_dns/forms/zone.py:677 netbox_dns/models/record.py:154 -#: netbox_dns/models/record_template.py:49 netbox_dns/models/zone.py:96 +#: netbox_dns/forms/zone.py:677 netbox_dns/models/record.py:155 +#: netbox_dns/models/record_template.py:49 netbox_dns/models/zone.py:97 #: netbox_dns/tables/record.py:72 netbox_dns/tables/zone.py:32 #: netbox_dns/templates/netbox_dns/recordtemplate.html:64 #: netbox_dns/templates/netbox_dns/zone.html:47 @@ -773,7 +777,7 @@ msgid "Default TTL for new records in this zone" msgstr "Standard-TTL für neue Datensätze in dieser Zone" #: netbox_dns/forms/zone.py:153 netbox_dns/forms/zone.py:490 -#: netbox_dns/forms/zone.py:687 netbox_dns/models/zone.py:109 +#: netbox_dns/forms/zone.py:687 netbox_dns/models/zone.py:110 #: netbox_dns/templates/netbox_dns/zone.html:89 msgid "Default TTL" msgstr "Standard-TTL" @@ -783,7 +787,7 @@ msgid "TTL for the SOA record of the zone" msgstr "TTL des SOA-Datensatzes der Zone" #: netbox_dns/forms/zone.py:163 netbox_dns/forms/zone.py:495 -#: netbox_dns/forms/zone.py:697 netbox_dns/models/zone.py:114 +#: netbox_dns/forms/zone.py:697 netbox_dns/models/zone.py:115 msgid "SOA TTL" msgstr "SOA-TTL" @@ -792,7 +796,7 @@ msgid "Mailbox of the zone's administrator" msgstr "Postfach des Zonenadministrators" #: netbox_dns/forms/zone.py:168 netbox_dns/forms/zone.py:510 -#: netbox_dns/forms/zone.py:706 netbox_dns/models/zone.py:128 +#: netbox_dns/forms/zone.py:706 netbox_dns/models/zone.py:129 msgid "SOA RName" msgstr "SOA-RName" @@ -801,7 +805,7 @@ msgid "Refresh interval for secondary nameservers" msgstr "Auffrischungsintervall für sekundäre Nameserver" #: netbox_dns/forms/zone.py:174 netbox_dns/forms/zone.py:523 -#: netbox_dns/forms/zone.py:721 netbox_dns/models/zone.py:140 +#: netbox_dns/forms/zone.py:721 netbox_dns/models/zone.py:141 msgid "SOA Refresh" msgstr "SOA-Auffrischungsintervall" @@ -810,7 +814,7 @@ msgid "Retry interval for secondary nameservers" msgstr "Wiederholungsintervall für sekundäre Nameserver" #: netbox_dns/forms/zone.py:180 netbox_dns/forms/zone.py:528 -#: netbox_dns/forms/zone.py:726 netbox_dns/models/zone.py:146 +#: netbox_dns/forms/zone.py:726 netbox_dns/models/zone.py:147 msgid "SOA Retry" msgstr "SOA-Wiederholungsintervall" @@ -819,7 +823,7 @@ msgid "Expire time after which the zone is considered unavailable" msgstr "Zeit, nach der der primäre Nameserver als ausgefallen angesehen wird" #: netbox_dns/forms/zone.py:186 netbox_dns/forms/zone.py:533 -#: netbox_dns/forms/zone.py:731 netbox_dns/models/zone.py:152 +#: netbox_dns/forms/zone.py:731 netbox_dns/models/zone.py:153 msgid "SOA Expire" msgstr "SOA-Ablaufzeit" @@ -829,28 +833,28 @@ msgid "Minimum TTL for negative results, e.g. NXRRSET, NXDOMAIN" msgstr "Minimale TTL für negative Resultate wie NXRRSET, NXDOMAIN" #: netbox_dns/forms/zone.py:192 netbox_dns/forms/zone.py:538 -#: netbox_dns/forms/zone.py:736 netbox_dns/models/zone.py:158 +#: netbox_dns/forms/zone.py:736 netbox_dns/models/zone.py:159 msgid "SOA Minimum TTL" msgstr "SOA-Minimal-TTL" -#: netbox_dns/forms/zone.py:196 netbox_dns/models/zone.py:165 +#: netbox_dns/forms/zone.py:196 netbox_dns/models/zone.py:166 #, fuzzy msgid "Automatically generate the SOA serial number" msgstr "Die SOA-Seriennummer automatisch erzeugen" #: netbox_dns/forms/zone.py:197 netbox_dns/forms/zone.py:419 #: netbox_dns/forms/zone.py:514 netbox_dns/forms/zone.py:711 -#: netbox_dns/models/zone.py:164 +#: netbox_dns/models/zone.py:165 msgid "Generate SOA Serial" msgstr "SOA-Seriennummer erzeugen" #: netbox_dns/forms/zone.py:202 netbox_dns/forms/zone.py:518 -#: netbox_dns/forms/zone.py:716 netbox_dns/models/zone.py:134 +#: netbox_dns/forms/zone.py:716 netbox_dns/models/zone.py:135 msgid "SOA Serial" msgstr "SOA-Seriennummer" #: netbox_dns/forms/zone.py:208 netbox_dns/forms/zone.py:542 -#: netbox_dns/forms/zone.py:741 netbox_dns/models/zone.py:233 +#: netbox_dns/forms/zone.py:741 netbox_dns/models/zone.py:234 msgid "RFC2317 IPv4 prefix with a length of at least 25 bits" msgstr "RFC2317-IPv4-Prefix mit einer Länge von mindestens 25 Bit" @@ -864,7 +868,7 @@ msgstr "" "wird in NetBox DNS verwaltet" #: netbox_dns/forms/zone.py:216 netbox_dns/forms/zone.py:550 -#: netbox_dns/forms/zone.py:750 netbox_dns/models/zone.py:238 +#: netbox_dns/forms/zone.py:750 netbox_dns/models/zone.py:239 msgid "RFC2317 Parent Managed" msgstr "Übergeordnete RFC2317-Zone ist verwaltet" @@ -903,7 +907,7 @@ msgid "Parent Managed" msgstr "Übergeordnete Zone ist verwaltet" #: netbox_dns/forms/zone.py:442 netbox_dns/forms/zone.py:563 -#: netbox_dns/forms/zone.py:759 netbox_dns/models/zone.py:195 +#: netbox_dns/forms/zone.py:759 netbox_dns/models/zone.py:196 #: netbox_dns/templates/netbox_dns/zone/registration.html:14 msgid "Registry Domain ID" msgstr "Domänen-ID beim Registrar" @@ -958,44 +962,44 @@ msgstr "Datensatzvorlagen" msgid "Record Remplates" msgstr "Datensatzvorlagen" -#: netbox_dns/models/record.py:166 +#: netbox_dns/models/record.py:167 msgid "Managed" msgstr "Verwaltet" -#: netbox_dns/models/record.py:180 netbox_dns/models/record_template.py:61 +#: netbox_dns/models/record.py:181 netbox_dns/models/record_template.py:61 msgid "Disable PTR record creation" msgstr "Erzeugung eines PTR-Datensatzes unterbinden" -#: netbox_dns/models/record.py:197 netbox_dns/tables/record.py:112 +#: netbox_dns/models/record.py:198 netbox_dns/tables/record.py:112 msgid "Related IP Address" msgstr "Zugeordnete IP-Adresse" -#: netbox_dns/models/record.py:198 +#: netbox_dns/models/record.py:199 msgid "IP address related to an address (A/AAAA) or PTR record" msgstr "" "IP-Adresse, die einem Adress- (A/AAAA) oder Zeiger-Datensatz (PTR) " "zugeordnet ist" -#: netbox_dns/models/record.py:211 +#: netbox_dns/models/record.py:212 msgid "RFC2317 CNAME Record" msgstr "RCF2317-CNNAME-Datensatz" -#: netbox_dns/models/record.py:234 +#: netbox_dns/models/record.py:235 #: netbox_dns/templates/netbox_dns/record.html:40 msgid "Record" msgstr "Datensatz" -#: netbox_dns/models/record.py:235 netbox_dns/navigation.py:71 +#: netbox_dns/models/record.py:236 netbox_dns/navigation.py:71 #: netbox_dns/views/zone.py:132 msgid "Records" msgstr "Datensätze" -#: netbox_dns/models/record.py:550 +#: netbox_dns/models/record.py:551 #, python-brace-format msgid "{name} is not a name in {zone}" msgstr "{name} liegt nicht in Zone {zone}" -#: netbox_dns/models/record.py:637 +#: netbox_dns/models/record.py:638 #, python-brace-format msgid "" "There is already an active {type} record for name {name} in zone {zone} with " @@ -1004,7 +1008,7 @@ msgstr "" "Es gibt bereits einen aktiven {type}-Datensatz mit dem Namen {name} in Zone " "{zone} mit dem Wert {value}." -#: netbox_dns/models/record.py:700 +#: netbox_dns/models/record.py:701 #, python-brace-format msgid "" "There is at least one active {type} record for name {name} in zone {zone} " @@ -1013,7 +1017,7 @@ msgstr "" "Es gibt bereits mindestens einen aktiven {type}-Datensatz mit dem Namen " "{name} in Zone {zone} mit abweichender TTL ({ttls}) " -#: netbox_dns/models/record.py:787 +#: netbox_dns/models/record.py:788 #, python-brace-format msgid "" "There is already an active record for name {name} in zone {zone}, RFC2317 " @@ -1022,7 +1026,7 @@ msgstr "" "Es gibt bereits einen aktiven Datensatz mit dem Namen {name} in Zone {zone}. " "Der RFC2317-CNAME kann nicht angelegt werden." -#: netbox_dns/models/record.py:796 +#: netbox_dns/models/record.py:797 msgid "" "SOA records are only allowed with name @ and are created automatically by " "NetBox DNS" @@ -1030,7 +1034,7 @@ msgstr "" "SOA-Datensätze sind ausschließlich mit dem Namen @ erlaubt und werden " "automatisch von NetBox DNS erzeugt" -#: netbox_dns/models/record.py:806 +#: netbox_dns/models/record.py:807 #, python-brace-format msgid "" "There is already an active record for name {name} in zone {zone}, CNAME is " @@ -1039,7 +1043,7 @@ msgstr "" "Es gibt bereits einen aktiven Datensatz mit dem Namen {name} in Zone {zone}. " "Der CNAME kann nicht angelegt werden." -#: netbox_dns/models/record.py:818 +#: netbox_dns/models/record.py:819 #, python-brace-format msgid "" "There is already an active CNAME record for name {name} in zone {zone}, no " @@ -1049,7 +1053,7 @@ msgstr "" "{zone}. Ein anderer Datensatz mit dem gleichen Namen kann nicht angelegt " "werden." -#: netbox_dns/models/record.py:828 +#: netbox_dns/models/record.py:829 #, python-brace-format msgid "" "There is already an active {type} record for name {name} in zone {zone}, " @@ -1100,46 +1104,46 @@ msgstr "" "Bitte wählen Sie eine andere Ansicht als Standardansicht aus, um diese " "Einstellung zu ändern!" -#: netbox_dns/models/zone.py:175 +#: netbox_dns/models/zone.py:176 msgid "Network related to a reverse lookup zone (.arpa)" msgstr "Zugrundeliegendes Netz einer Revese-Lookup-Zone (.arpa)" -#: netbox_dns/models/zone.py:239 +#: netbox_dns/models/zone.py:240 msgid "The parent zone for the RFC2317 zone is managed by NetBox DNS" msgstr "Die übergeordnete Zone einer RFC2317-Zone wird in NetBox DNS verwaltet" -#: netbox_dns/models/zone.py:247 +#: netbox_dns/models/zone.py:248 msgid "Parent zone for RFC2317 reverse zones" msgstr "Übergeordnete Zone von RFC2317-Reverse-Lookup-Zonen" -#: netbox_dns/models/zone.py:459 +#: netbox_dns/models/zone.py:470 #, python-brace-format msgid "No nameservers are configured for zone {zone}" msgstr "Für Zone {zone} wurden keine Nameserver konfiguriert" -#: netbox_dns/models/zone.py:485 +#: netbox_dns/models/zone.py:496 #, python-brace-format msgid "" "Nameserver {nameserver} does not have an active address record in zone {zone}" msgstr "" "Nameserver {nameserver} hat keinen aktiven Adressdatensatz in Zone {zone}" -#: netbox_dns/models/zone.py:502 +#: netbox_dns/models/zone.py:513 #, python-brace-format msgid "soa_serial must not decrease for zone {zone}." msgstr "soa_serial für Zone {zone} darf nicht verringert werden" -#: netbox_dns/models/zone.py:615 +#: netbox_dns/models/zone.py:626 #, python-brace-format msgid "Default soa_mname instance {nameserver} does not exist" msgstr "Standardnameserver für soa_mname {nameserver} existiert nicht" -#: netbox_dns/models/zone.py:645 +#: netbox_dns/models/zone.py:656 msgid "soa_rname not set and no default value defined" msgstr "" "soa_rname wurde nicht angegeben und es ist kein Standardwert konfiguriert" -#: netbox_dns/models/zone.py:661 +#: netbox_dns/models/zone.py:672 #, python-brace-format msgid "" "soa_serial is not defined and soa_serial_auto is disabled for zone {zone}." @@ -1147,25 +1151,25 @@ msgstr "" "soa_serial wurde nicht angegeben und soa_serial_auto ist für Zone {zone} " "nicht eingeschaltet." -#: netbox_dns/models/zone.py:681 +#: netbox_dns/models/zone.py:692 #, python-brace-format msgid "Enabling soa_serial_auto would decrease soa_serial for zone {zone}." msgstr "" "Das Einschalten von soa_serial_auto würde die SOA-Seriennummer für Zone " "{zone} verringern." -#: netbox_dns/models/zone.py:717 +#: netbox_dns/models/zone.py:728 msgid "A regular reverse zone can not be used as an RFC2317 zone." msgstr "" "Eine normale Reverse-Lookup-Zone kann nicht als RFC2317-Zone verwendet " "werden." -#: netbox_dns/models/zone.py:729 +#: netbox_dns/models/zone.py:740 #, python-brace-format msgid "Parent zone not found in view {view}." msgstr "Die übergeordnete Zone wurde nicht in Ansicht {view} gefunden." -#: netbox_dns/models/zone.py:748 +#: netbox_dns/models/zone.py:759 #, python-brace-format msgid "RFC2317 prefix overlaps with zone {zone}." msgstr "Das RFC2317-Prefix überlappt mit dem von Zone {zone}." diff --git a/netbox_dns/locale/en/LC_MESSAGES/django.po b/netbox_dns/locale/en/LC_MESSAGES/django.po index d90eeb96..1894d39c 100644 --- a/netbox_dns/locale/en/LC_MESSAGES/django.po +++ b/netbox_dns/locale/en/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: 1.1.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-10-01 08:06+0000\n" +"POT-Creation-Date: 2024-10-04 20:26+0000\n" "PO-Revision-Date: 2024-09-29 12:06+0000\n" "Last-Translator: Peter Eckel \n" "Language-Team: LANGUAGE \n" @@ -130,7 +130,7 @@ msgstr "" msgid "{object} is unmanaged, refusing update to managed" msgstr "" -#: netbox_dns/choices/record.py:49 netbox_dns/choices/zone.py:18 +#: netbox_dns/choices/record.py:49 netbox_dns/choices/zone.py:19 #: netbox_dns/tables/record.py:60 msgid "Active" msgstr "" @@ -139,18 +139,22 @@ msgstr "" msgid "Inactive" msgstr "" -#: netbox_dns/choices/zone.py:19 +#: netbox_dns/choices/zone.py:20 msgid "Reserved" msgstr "" -#: netbox_dns/choices/zone.py:20 +#: netbox_dns/choices/zone.py:21 msgid "Deprecated" msgstr "" -#: netbox_dns/choices/zone.py:21 +#: netbox_dns/choices/zone.py:22 msgid "Parked" msgstr "" +#: netbox_dns/choices/zone.py:23 +msgid "Dynamic" +msgstr "" + #: netbox_dns/fields/address.py:32 msgid "IPv4/v6 address" msgstr "" @@ -172,7 +176,7 @@ msgid "PostgreSQL CIDR field for an RFC2317 prefix" msgstr "" #: netbox_dns/filtersets/nameserver.py:19 netbox_dns/forms/nameserver.py:67 -#: netbox_dns/models/zone.py:272 netbox_dns/navigation.py:31 +#: netbox_dns/models/zone.py:273 netbox_dns/navigation.py:31 #: netbox_dns/views/nameserver.py:96 netbox_dns/views/registrar.py:80 #: netbox_dns/views/registration_contact.py:83 netbox_dns/views/view.py:100 msgid "Zones" @@ -210,7 +214,7 @@ msgstr "" msgid "Pointer Record" msgstr "" -#: netbox_dns/filtersets/record.py:73 netbox_dns/models/record.py:203 +#: netbox_dns/filtersets/record.py:73 netbox_dns/models/record.py:204 #: netbox_dns/tables/record.py:108 #: netbox_dns/templates/netbox_dns/record.html:108 #: netbox_dns/templates/netbox_dns/record.html:115 @@ -265,7 +269,7 @@ msgstr "" #: netbox_dns/filtersets/zone.py:57 netbox_dns/filtersets/zone_template.py:44 #: netbox_dns/forms/nameserver.py:47 netbox_dns/models/nameserver.py:57 -#: netbox_dns/models/zone.py:103 +#: netbox_dns/models/zone.py:104 #: netbox_dns/templates/netbox_dns/nameserver.html:8 msgid "Nameserver" msgstr "" @@ -275,23 +279,23 @@ msgid "SOA MName ID" msgstr "" #: netbox_dns/filtersets/zone.py:67 netbox_dns/forms/zone.py:505 -#: netbox_dns/forms/zone.py:702 netbox_dns/models/zone.py:120 +#: netbox_dns/forms/zone.py:702 netbox_dns/models/zone.py:121 #: netbox_dns/tables/zone.py:28 msgid "SOA MName" msgstr "" -#: netbox_dns/filtersets/zone.py:71 netbox_dns/models/zone.py:174 +#: netbox_dns/filtersets/zone.py:71 netbox_dns/models/zone.py:175 msgid "ARPA Network" msgstr "" #: netbox_dns/filtersets/zone.py:75 netbox_dns/forms/zone.py:209 #: netbox_dns/forms/zone.py:543 netbox_dns/forms/zone.py:742 -#: netbox_dns/models/zone.py:232 netbox_dns/tables/zone.py:41 +#: netbox_dns/models/zone.py:233 netbox_dns/tables/zone.py:41 msgid "RFC2317 Prefix" msgstr "" #: netbox_dns/filtersets/zone.py:81 netbox_dns/filtersets/zone.py:87 -#: netbox_dns/models/zone.py:243 netbox_dns/tables/zone.py:44 +#: netbox_dns/models/zone.py:244 netbox_dns/tables/zone.py:44 msgid "RFC2317 Parent Zone" msgstr "" @@ -300,7 +304,7 @@ msgstr "" #: netbox_dns/forms/zone.py:559 netbox_dns/forms/zone.py:755 #: netbox_dns/forms/zone_template.py:119 netbox_dns/forms/zone_template.py:164 #: netbox_dns/forms/zone_template.py:242 netbox_dns/models/registrar.py:66 -#: netbox_dns/models/zone.py:188 netbox_dns/models/zone_template.py:47 +#: netbox_dns/models/zone.py:189 netbox_dns/models/zone_template.py:47 #: netbox_dns/tables/zone.py:48 netbox_dns/tables/zone_template.py:25 #: netbox_dns/templates/netbox_dns/registrar.html:8 #: netbox_dns/templates/netbox_dns/zone/registration.html:10 @@ -316,7 +320,7 @@ msgstr "" #: netbox_dns/forms/zone.py:447 netbox_dns/forms/zone.py:572 #: netbox_dns/forms/zone.py:764 netbox_dns/forms/zone_template.py:124 #: netbox_dns/forms/zone_template.py:173 netbox_dns/forms/zone_template.py:247 -#: netbox_dns/models/zone.py:201 netbox_dns/models/zone_template.py:55 +#: netbox_dns/models/zone.py:202 netbox_dns/models/zone_template.py:55 #: netbox_dns/tables/zone.py:52 netbox_dns/tables/zone_template.py:29 #: netbox_dns/templates/netbox_dns/zone/registration.html:18 #: netbox_dns/templates/netbox_dns/zonetemplate.html:62 @@ -346,7 +350,7 @@ msgstr "" #: netbox_dns/forms/zone.py:457 netbox_dns/forms/zone.py:590 #: netbox_dns/forms/zone.py:774 netbox_dns/forms/zone_template.py:134 #: netbox_dns/forms/zone_template.py:191 netbox_dns/forms/zone_template.py:257 -#: netbox_dns/models/zone.py:216 netbox_dns/models/zone_template.py:71 +#: netbox_dns/models/zone.py:217 netbox_dns/models/zone_template.py:71 #: netbox_dns/tables/zone.py:60 netbox_dns/tables/zone_template.py:37 #: netbox_dns/templates/netbox_dns/zone/registration.html:26 #: netbox_dns/templates/netbox_dns/zonetemplate.html:70 @@ -361,7 +365,7 @@ msgstr "" #: netbox_dns/forms/zone.py:462 netbox_dns/forms/zone.py:599 #: netbox_dns/forms/zone.py:779 netbox_dns/forms/zone_template.py:139 #: netbox_dns/forms/zone_template.py:200 netbox_dns/forms/zone_template.py:262 -#: netbox_dns/models/zone.py:224 netbox_dns/models/zone_template.py:79 +#: netbox_dns/models/zone.py:225 netbox_dns/models/zone_template.py:79 #: netbox_dns/tables/zone.py:64 netbox_dns/tables/zone_template.py:41 #: netbox_dns/templates/netbox_dns/zone/registration.html:30 #: netbox_dns/templates/netbox_dns/zonetemplate.html:74 @@ -394,10 +398,10 @@ msgstr "" #: netbox_dns/forms/registration_contact.py:89 #: netbox_dns/forms/registration_contact.py:173 netbox_dns/forms/zone.py:132 #: netbox_dns/forms/zone.py:396 netbox_dns/models/nameserver.py:33 -#: netbox_dns/models/record.py:129 netbox_dns/models/record_template.py:32 +#: netbox_dns/models/record.py:130 netbox_dns/models/record_template.py:32 #: netbox_dns/models/registrar.py:20 #: netbox_dns/models/registration_contact.py:27 netbox_dns/models/view.py:31 -#: netbox_dns/models/zone.py:92 netbox_dns/tables/nameserver.py:15 +#: netbox_dns/models/zone.py:93 netbox_dns/tables/nameserver.py:15 #: netbox_dns/tables/record.py:40 netbox_dns/tables/record_template.py:19 #: netbox_dns/tables/registrar.py:14 netbox_dns/tables/view.py:18 #: netbox_dns/tables/zone.py:20 netbox_dns/tables/zone_template.py:18 @@ -440,10 +444,10 @@ msgstr "" #: netbox_dns/forms/registration_contact.py:177 netbox_dns/forms/view.py:237 #: netbox_dns/forms/zone.py:157 netbox_dns/forms/zone.py:405 #: netbox_dns/forms/zone.py:692 netbox_dns/models/nameserver.py:38 -#: netbox_dns/models/record.py:184 netbox_dns/models/record_template.py:36 +#: netbox_dns/models/record.py:185 netbox_dns/models/record_template.py:36 #: netbox_dns/models/registrar.py:25 #: netbox_dns/models/registration_contact.py:32 netbox_dns/models/view.py:36 -#: netbox_dns/models/zone.py:169 netbox_dns/models/zone_template.py:22 +#: netbox_dns/models/zone.py:170 netbox_dns/models/zone_template.py:22 #: netbox_dns/templates/netbox_dns/nameserver.html:22 #: netbox_dns/templates/netbox_dns/record.html:125 #: netbox_dns/templates/netbox_dns/recordtemplate.html:69 @@ -477,9 +481,9 @@ msgstr "" #: netbox_dns/forms/view.py:247 netbox_dns/forms/zone.py:605 #: netbox_dns/forms/zone.py:784 netbox_dns/forms/zone.py:789 #: netbox_dns/forms/zone_template.py:206 netbox_dns/forms/zone_template.py:272 -#: netbox_dns/models/nameserver.py:43 netbox_dns/models/record.py:189 +#: netbox_dns/models/nameserver.py:43 netbox_dns/models/record.py:190 #: netbox_dns/models/record_template.py:65 netbox_dns/models/view.py:56 -#: netbox_dns/models/zone.py:180 netbox_dns/models/zone_template.py:39 +#: netbox_dns/models/zone.py:181 netbox_dns/models/zone_template.py:39 #: netbox_dns/templates/netbox_dns/nameserver.html:27 #: netbox_dns/templates/netbox_dns/record.html:62 #: netbox_dns/templates/netbox_dns/recordtemplate.html:30 @@ -497,8 +501,8 @@ msgstr "" #: netbox_dns/forms/record.py:62 netbox_dns/forms/record.py:157 #: netbox_dns/forms/record.py:188 netbox_dns/forms/record.py:252 -#: netbox_dns/forms/zone.py:228 netbox_dns/models/record.py:133 -#: netbox_dns/models/zone.py:271 netbox_dns/tables/record.py:28 +#: netbox_dns/forms/zone.py:228 netbox_dns/models/record.py:134 +#: netbox_dns/models/zone.py:272 netbox_dns/tables/record.py:28 #: netbox_dns/templates/netbox_dns/record.html:53 #: netbox_dns/templates/netbox_dns/zone.html:9 msgid "Zone" @@ -509,7 +513,7 @@ msgstr "" #: netbox_dns/forms/record_template.py:46 #: netbox_dns/forms/record_template.py:129 #: netbox_dns/forms/record_template.py:160 -#: netbox_dns/forms/record_template.py:210 netbox_dns/models/record.py:179 +#: netbox_dns/forms/record_template.py:210 netbox_dns/models/record.py:180 #: netbox_dns/models/record_template.py:60 netbox_dns/tables/record.py:75 #: netbox_dns/tables/record_template.py:41 #: netbox_dns/templates/netbox_dns/record.html:91 @@ -520,7 +524,7 @@ msgstr "" #: netbox_dns/forms/record.py:71 netbox_dns/forms/record.py:208 #: netbox_dns/forms/record.py:270 netbox_dns/forms/record_template.py:50 #: netbox_dns/forms/record_template.py:156 -#: netbox_dns/forms/record_template.py:205 netbox_dns/models/record.py:161 +#: netbox_dns/forms/record_template.py:205 netbox_dns/models/record.py:162 #: netbox_dns/models/record_template.py:55 netbox_dns/tables/record.py:57 #: netbox_dns/tables/record_template.py:38 #: netbox_dns/templates/netbox_dns/record.html:86 @@ -532,7 +536,7 @@ msgstr "" #: netbox_dns/forms/record.py:130 netbox_dns/forms/record.py:199 #: netbox_dns/forms/record.py:257 netbox_dns/forms/record_template.py:108 #: netbox_dns/forms/record_template.py:147 -#: netbox_dns/forms/record_template.py:192 netbox_dns/models/record.py:145 +#: netbox_dns/forms/record_template.py:192 netbox_dns/models/record.py:146 #: netbox_dns/models/record_template.py:41 netbox_dns/tables/record.py:37 #: netbox_dns/tables/record_template.py:26 #: netbox_dns/templates/netbox_dns/record.html:72 @@ -540,14 +544,14 @@ msgstr "" msgid "Type" msgstr "" -#: netbox_dns/forms/record.py:138 netbox_dns/models/record.py:138 +#: netbox_dns/forms/record.py:138 netbox_dns/models/record.py:139 #: netbox_dns/tables/record.py:44 msgid "FQDN" msgstr "" #: netbox_dns/forms/record.py:142 netbox_dns/forms/record.py:261 #: netbox_dns/forms/record_template.py:120 -#: netbox_dns/forms/record_template.py:196 netbox_dns/models/record.py:150 +#: netbox_dns/forms/record_template.py:196 netbox_dns/models/record.py:151 #: netbox_dns/models/record_template.py:45 netbox_dns/tables/record.py:48 #: netbox_dns/tables/record_template.py:29 #: netbox_dns/templates/netbox_dns/record.html:76 @@ -560,8 +564,8 @@ msgstr "" #: netbox_dns/forms/record_template.py:152 #: netbox_dns/forms/record_template.py:201 netbox_dns/forms/zone.py:142 #: netbox_dns/forms/zone.py:392 netbox_dns/forms/zone.py:480 -#: netbox_dns/forms/zone.py:677 netbox_dns/models/record.py:154 -#: netbox_dns/models/record_template.py:49 netbox_dns/models/zone.py:96 +#: netbox_dns/forms/zone.py:677 netbox_dns/models/record.py:155 +#: netbox_dns/models/record_template.py:49 netbox_dns/models/zone.py:97 #: netbox_dns/tables/record.py:72 netbox_dns/tables/zone.py:32 #: netbox_dns/templates/netbox_dns/recordtemplate.html:64 #: netbox_dns/templates/netbox_dns/zone.html:47 @@ -763,7 +767,7 @@ msgid "Default TTL for new records in this zone" msgstr "" #: netbox_dns/forms/zone.py:153 netbox_dns/forms/zone.py:490 -#: netbox_dns/forms/zone.py:687 netbox_dns/models/zone.py:109 +#: netbox_dns/forms/zone.py:687 netbox_dns/models/zone.py:110 #: netbox_dns/templates/netbox_dns/zone.html:89 msgid "Default TTL" msgstr "" @@ -773,7 +777,7 @@ msgid "TTL for the SOA record of the zone" msgstr "" #: netbox_dns/forms/zone.py:163 netbox_dns/forms/zone.py:495 -#: netbox_dns/forms/zone.py:697 netbox_dns/models/zone.py:114 +#: netbox_dns/forms/zone.py:697 netbox_dns/models/zone.py:115 msgid "SOA TTL" msgstr "" @@ -782,7 +786,7 @@ msgid "Mailbox of the zone's administrator" msgstr "" #: netbox_dns/forms/zone.py:168 netbox_dns/forms/zone.py:510 -#: netbox_dns/forms/zone.py:706 netbox_dns/models/zone.py:128 +#: netbox_dns/forms/zone.py:706 netbox_dns/models/zone.py:129 msgid "SOA RName" msgstr "" @@ -791,7 +795,7 @@ msgid "Refresh interval for secondary nameservers" msgstr "" #: netbox_dns/forms/zone.py:174 netbox_dns/forms/zone.py:523 -#: netbox_dns/forms/zone.py:721 netbox_dns/models/zone.py:140 +#: netbox_dns/forms/zone.py:721 netbox_dns/models/zone.py:141 msgid "SOA Refresh" msgstr "" @@ -800,7 +804,7 @@ msgid "Retry interval for secondary nameservers" msgstr "" #: netbox_dns/forms/zone.py:180 netbox_dns/forms/zone.py:528 -#: netbox_dns/forms/zone.py:726 netbox_dns/models/zone.py:146 +#: netbox_dns/forms/zone.py:726 netbox_dns/models/zone.py:147 msgid "SOA Retry" msgstr "" @@ -809,7 +813,7 @@ msgid "Expire time after which the zone is considered unavailable" msgstr "" #: netbox_dns/forms/zone.py:186 netbox_dns/forms/zone.py:533 -#: netbox_dns/forms/zone.py:731 netbox_dns/models/zone.py:152 +#: netbox_dns/forms/zone.py:731 netbox_dns/models/zone.py:153 msgid "SOA Expire" msgstr "" @@ -818,27 +822,27 @@ msgid "Minimum TTL for negative results, e.g. NXRRSET, NXDOMAIN" msgstr "" #: netbox_dns/forms/zone.py:192 netbox_dns/forms/zone.py:538 -#: netbox_dns/forms/zone.py:736 netbox_dns/models/zone.py:158 +#: netbox_dns/forms/zone.py:736 netbox_dns/models/zone.py:159 msgid "SOA Minimum TTL" msgstr "" -#: netbox_dns/forms/zone.py:196 netbox_dns/models/zone.py:165 +#: netbox_dns/forms/zone.py:196 netbox_dns/models/zone.py:166 msgid "Automatically generate the SOA serial number" msgstr "" #: netbox_dns/forms/zone.py:197 netbox_dns/forms/zone.py:419 #: netbox_dns/forms/zone.py:514 netbox_dns/forms/zone.py:711 -#: netbox_dns/models/zone.py:164 +#: netbox_dns/models/zone.py:165 msgid "Generate SOA Serial" msgstr "" #: netbox_dns/forms/zone.py:202 netbox_dns/forms/zone.py:518 -#: netbox_dns/forms/zone.py:716 netbox_dns/models/zone.py:134 +#: netbox_dns/forms/zone.py:716 netbox_dns/models/zone.py:135 msgid "SOA Serial" msgstr "" #: netbox_dns/forms/zone.py:208 netbox_dns/forms/zone.py:542 -#: netbox_dns/forms/zone.py:741 netbox_dns/models/zone.py:233 +#: netbox_dns/forms/zone.py:741 netbox_dns/models/zone.py:234 msgid "RFC2317 IPv4 prefix with a length of at least 25 bits" msgstr "" @@ -850,7 +854,7 @@ msgid "" msgstr "" #: netbox_dns/forms/zone.py:216 netbox_dns/forms/zone.py:550 -#: netbox_dns/forms/zone.py:750 netbox_dns/models/zone.py:238 +#: netbox_dns/forms/zone.py:750 netbox_dns/models/zone.py:239 msgid "RFC2317 Parent Managed" msgstr "" @@ -889,7 +893,7 @@ msgid "Parent Managed" msgstr "" #: netbox_dns/forms/zone.py:442 netbox_dns/forms/zone.py:563 -#: netbox_dns/forms/zone.py:759 netbox_dns/models/zone.py:195 +#: netbox_dns/forms/zone.py:759 netbox_dns/models/zone.py:196 #: netbox_dns/templates/netbox_dns/zone/registration.html:14 msgid "Registry Domain ID" msgstr "" @@ -939,83 +943,83 @@ msgstr "" msgid "Record Remplates" msgstr "" -#: netbox_dns/models/record.py:166 +#: netbox_dns/models/record.py:167 msgid "Managed" msgstr "" -#: netbox_dns/models/record.py:180 netbox_dns/models/record_template.py:61 +#: netbox_dns/models/record.py:181 netbox_dns/models/record_template.py:61 msgid "Disable PTR record creation" msgstr "" -#: netbox_dns/models/record.py:197 netbox_dns/tables/record.py:112 +#: netbox_dns/models/record.py:198 netbox_dns/tables/record.py:112 msgid "Related IP Address" msgstr "" -#: netbox_dns/models/record.py:198 +#: netbox_dns/models/record.py:199 msgid "IP address related to an address (A/AAAA) or PTR record" msgstr "" -#: netbox_dns/models/record.py:211 +#: netbox_dns/models/record.py:212 msgid "RFC2317 CNAME Record" msgstr "" -#: netbox_dns/models/record.py:234 +#: netbox_dns/models/record.py:235 #: netbox_dns/templates/netbox_dns/record.html:40 msgid "Record" msgstr "" -#: netbox_dns/models/record.py:235 netbox_dns/navigation.py:71 +#: netbox_dns/models/record.py:236 netbox_dns/navigation.py:71 #: netbox_dns/views/zone.py:132 msgid "Records" msgstr "" -#: netbox_dns/models/record.py:550 +#: netbox_dns/models/record.py:551 #, python-brace-format msgid "{name} is not a name in {zone}" msgstr "" -#: netbox_dns/models/record.py:637 +#: netbox_dns/models/record.py:638 #, python-brace-format msgid "" "There is already an active {type} record for name {name} in zone {zone} with " "value {value}." msgstr "" -#: netbox_dns/models/record.py:700 +#: netbox_dns/models/record.py:701 #, python-brace-format msgid "" "There is at least one active {type} record for name {name} in zone {zone} " "and TTL is different ({ttls})." msgstr "" -#: netbox_dns/models/record.py:787 +#: netbox_dns/models/record.py:788 #, python-brace-format msgid "" "There is already an active record for name {name} in zone {zone}, RFC2317 " "CNAME is not allowed." msgstr "" -#: netbox_dns/models/record.py:796 +#: netbox_dns/models/record.py:797 msgid "" "SOA records are only allowed with name @ and are created automatically by " "NetBox DNS" msgstr "" -#: netbox_dns/models/record.py:806 +#: netbox_dns/models/record.py:807 #, python-brace-format msgid "" "There is already an active record for name {name} in zone {zone}, CNAME is " "not allowed." msgstr "" -#: netbox_dns/models/record.py:818 +#: netbox_dns/models/record.py:819 #, python-brace-format msgid "" "There is already an active CNAME record for name {name} in zone {zone}, no " "other record allowed." msgstr "" -#: netbox_dns/models/record.py:828 +#: netbox_dns/models/record.py:829 #, python-brace-format msgid "" "There is already an active {type} record for name {name} in zone {zone}, " @@ -1062,64 +1066,64 @@ msgstr "" msgid "Please select a different view as default view to change this setting!" msgstr "" -#: netbox_dns/models/zone.py:175 +#: netbox_dns/models/zone.py:176 msgid "Network related to a reverse lookup zone (.arpa)" msgstr "" -#: netbox_dns/models/zone.py:239 +#: netbox_dns/models/zone.py:240 msgid "The parent zone for the RFC2317 zone is managed by NetBox DNS" msgstr "" -#: netbox_dns/models/zone.py:247 +#: netbox_dns/models/zone.py:248 msgid "Parent zone for RFC2317 reverse zones" msgstr "" -#: netbox_dns/models/zone.py:459 +#: netbox_dns/models/zone.py:470 #, python-brace-format msgid "No nameservers are configured for zone {zone}" msgstr "" -#: netbox_dns/models/zone.py:485 +#: netbox_dns/models/zone.py:496 #, python-brace-format msgid "" "Nameserver {nameserver} does not have an active address record in zone {zone}" msgstr "" -#: netbox_dns/models/zone.py:502 +#: netbox_dns/models/zone.py:513 #, python-brace-format msgid "soa_serial must not decrease for zone {zone}." msgstr "" -#: netbox_dns/models/zone.py:615 +#: netbox_dns/models/zone.py:626 #, python-brace-format msgid "Default soa_mname instance {nameserver} does not exist" msgstr "" -#: netbox_dns/models/zone.py:645 +#: netbox_dns/models/zone.py:656 msgid "soa_rname not set and no default value defined" msgstr "" -#: netbox_dns/models/zone.py:661 +#: netbox_dns/models/zone.py:672 #, python-brace-format msgid "" "soa_serial is not defined and soa_serial_auto is disabled for zone {zone}." msgstr "" -#: netbox_dns/models/zone.py:681 +#: netbox_dns/models/zone.py:692 #, python-brace-format msgid "Enabling soa_serial_auto would decrease soa_serial for zone {zone}." msgstr "" -#: netbox_dns/models/zone.py:717 +#: netbox_dns/models/zone.py:728 msgid "A regular reverse zone can not be used as an RFC2317 zone." msgstr "" -#: netbox_dns/models/zone.py:729 +#: netbox_dns/models/zone.py:740 #, python-brace-format msgid "Parent zone not found in view {view}." msgstr "" -#: netbox_dns/models/zone.py:748 +#: netbox_dns/models/zone.py:759 #, python-brace-format msgid "RFC2317 prefix overlaps with zone {zone}." msgstr "" From 6d305cff1244a933f49a7e107a478d1d76a3947c Mon Sep 17 00:00:00 2001 From: Peter Eckel Date: Wed, 9 Oct 2024 08:36:59 +0200 Subject: [PATCH 3/3] Fixed label for "Tenant Group" in zone bulk import form --- netbox_dns/forms/zone.py | 2 +- netbox_dns/locale/de/LC_MESSAGES/django.po | 14 +++++++------- netbox_dns/locale/en/LC_MESSAGES/django.po | 14 +++++++------- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/netbox_dns/forms/zone.py b/netbox_dns/forms/zone.py index adeb26c7..77bababe 100755 --- a/netbox_dns/forms/zone.py +++ b/netbox_dns/forms/zone.py @@ -781,7 +781,7 @@ class ZoneBulkEditForm(NetBoxModelBulkEditForm): tenant_group = DynamicModelChoiceField( queryset=TenantGroup.objects.all(), required=False, - label=_("Tenant"), + label=_("Tenant Group"), ) tenant = DynamicModelChoiceField( queryset=Tenant.objects.all(), diff --git a/netbox_dns/locale/de/LC_MESSAGES/django.po b/netbox_dns/locale/de/LC_MESSAGES/django.po index 9771e884..dca609bf 100644 --- a/netbox_dns/locale/de/LC_MESSAGES/django.po +++ b/netbox_dns/locale/de/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: 1.1.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-10-04 20:26+0000\n" +"POT-Creation-Date: 2024-10-09 06:35+0000\n" "PO-Revision-Date: 2024-09-29 12:06+0000\n" "Last-Translator: Peter Eckel \n" "Language-Team: LANGUAGE \n" @@ -483,11 +483,11 @@ msgstr "Attribute" #: netbox_dns/forms/record_template.py:166 #: netbox_dns/forms/record_template.py:225 netbox_dns/forms/view.py:223 #: netbox_dns/forms/view.py:247 netbox_dns/forms/zone.py:605 -#: netbox_dns/forms/zone.py:784 netbox_dns/forms/zone.py:789 -#: netbox_dns/forms/zone_template.py:206 netbox_dns/forms/zone_template.py:272 -#: netbox_dns/models/nameserver.py:43 netbox_dns/models/record.py:190 -#: netbox_dns/models/record_template.py:65 netbox_dns/models/view.py:56 -#: netbox_dns/models/zone.py:181 netbox_dns/models/zone_template.py:39 +#: netbox_dns/forms/zone.py:789 netbox_dns/forms/zone_template.py:206 +#: netbox_dns/forms/zone_template.py:272 netbox_dns/models/nameserver.py:43 +#: netbox_dns/models/record.py:190 netbox_dns/models/record_template.py:65 +#: netbox_dns/models/view.py:56 netbox_dns/models/zone.py:181 +#: netbox_dns/models/zone_template.py:39 #: netbox_dns/templates/netbox_dns/nameserver.html:27 #: netbox_dns/templates/netbox_dns/record.html:62 #: netbox_dns/templates/netbox_dns/recordtemplate.html:30 @@ -499,7 +499,7 @@ msgstr "Mandant" #: netbox_dns/forms/nameserver.py:120 netbox_dns/forms/record.py:285 #: netbox_dns/forms/record_template.py:220 netbox_dns/forms/view.py:242 -#: netbox_dns/forms/zone_template.py:267 +#: netbox_dns/forms/zone.py:784 netbox_dns/forms/zone_template.py:267 #, fuzzy msgid "Tenant Group" msgstr "Mandantengruppe" diff --git a/netbox_dns/locale/en/LC_MESSAGES/django.po b/netbox_dns/locale/en/LC_MESSAGES/django.po index 1894d39c..601d9666 100644 --- a/netbox_dns/locale/en/LC_MESSAGES/django.po +++ b/netbox_dns/locale/en/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: 1.1.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-10-04 20:26+0000\n" +"POT-Creation-Date: 2024-10-09 06:35+0000\n" "PO-Revision-Date: 2024-09-29 12:06+0000\n" "Last-Translator: Peter Eckel \n" "Language-Team: LANGUAGE \n" @@ -479,11 +479,11 @@ msgstr "" #: netbox_dns/forms/record_template.py:166 #: netbox_dns/forms/record_template.py:225 netbox_dns/forms/view.py:223 #: netbox_dns/forms/view.py:247 netbox_dns/forms/zone.py:605 -#: netbox_dns/forms/zone.py:784 netbox_dns/forms/zone.py:789 -#: netbox_dns/forms/zone_template.py:206 netbox_dns/forms/zone_template.py:272 -#: netbox_dns/models/nameserver.py:43 netbox_dns/models/record.py:190 -#: netbox_dns/models/record_template.py:65 netbox_dns/models/view.py:56 -#: netbox_dns/models/zone.py:181 netbox_dns/models/zone_template.py:39 +#: netbox_dns/forms/zone.py:789 netbox_dns/forms/zone_template.py:206 +#: netbox_dns/forms/zone_template.py:272 netbox_dns/models/nameserver.py:43 +#: netbox_dns/models/record.py:190 netbox_dns/models/record_template.py:65 +#: netbox_dns/models/view.py:56 netbox_dns/models/zone.py:181 +#: netbox_dns/models/zone_template.py:39 #: netbox_dns/templates/netbox_dns/nameserver.html:27 #: netbox_dns/templates/netbox_dns/record.html:62 #: netbox_dns/templates/netbox_dns/recordtemplate.html:30 @@ -495,7 +495,7 @@ msgstr "" #: netbox_dns/forms/nameserver.py:120 netbox_dns/forms/record.py:285 #: netbox_dns/forms/record_template.py:220 netbox_dns/forms/view.py:242 -#: netbox_dns/forms/zone_template.py:267 +#: netbox_dns/forms/zone.py:784 netbox_dns/forms/zone_template.py:267 msgid "Tenant Group" msgstr ""