2
0
mirror of https://github.com/VinylDNS/vinyldns synced 2025-08-30 13:58:15 +00:00

Update Messages.scala

This commit is contained in:
Aravindh R
2021-08-30 16:58:49 +05:30
committed by GitHub
parent c9d30a5082
commit ce4095ca0c

View File

@@ -19,8 +19,7 @@ package vinyldns.core
object Messages { object Messages {
// Error displayed when less than two letters or numbers is filled in Record Name Filter field in RecordSetSearch page // Error displayed when less than two letters or numbers is filled in Record Name Filter field in RecordSetSearch page
val RecordNameFilterError = val RecordNameFilterError = "Record Name Filter field must contain at least two letters or numbers to perform a RecordSet Search."
"Record Name Filter field must contain at least two letters or numbers to perform a RecordSet Search."
/* /*
* Error displayed when attempting to create group with name that already exists * Error displayed when attempting to create group with name that already exists
@@ -29,8 +28,7 @@ object Messages {
* 1. [string] group name * 1. [string] group name
* 2. [string] group email address * 2. [string] group email address
*/ */
val GroupAlreadyExistsErrorMsg = val GroupAlreadyExistsErrorMsg = "Group with name %s already exists. Please try a different name or contact %s to be added to the group."
"Group with name %s already exists. Please try a different name or contact %s to be added to the group."
/* /*
* Error displayed when deleting a group being the admin of a zone * Error displayed when deleting a group being the admin of a zone
@@ -38,8 +36,7 @@ object Messages {
* Placeholders: * Placeholders:
* 1. [string] group name * 1. [string] group name
*/ */
val ZoneAdminError = val ZoneAdminError = "%s is the admin of a zone. Cannot delete. Please transfer the ownership to another group before deleting."
"%s is the admin of a zone. Cannot delete. Please transfer the ownership to another group before deleting."
/* /*
* Error displayed when deleting a group being the owner for a record set * Error displayed when deleting a group being the owner for a record set
@@ -48,8 +45,7 @@ object Messages {
* 1. [string] group name * 1. [string] group name
* 2. [string] record set id * 2. [string] record set id
*/ */
val RecordSetOwnerError = val RecordSetOwnerError = "%s is the owner for a record set including %s. Cannot delete. Please transfer the ownership to another group before deleting."
"%s is the owner for a record set including %s. Cannot delete. Please transfer the ownership to another group before deleting."
/* /*
* Error displayed when deleting a group which has an ACL rule for a zone * Error displayed when deleting a group which has an ACL rule for a zone
@@ -58,8 +54,7 @@ object Messages {
* 1. [string] group name * 1. [string] group name
* 2. [string] zone id * 2. [string] zone id
*/ */
val ACLRuleError = val ACLRuleError = "%s has an ACL rule for a zone including %s. Cannot delete. Please transfer the ownership to another group before deleting."
"%s has an ACL rule for a zone including %s. Cannot delete. Please transfer the ownership to another group before deleting."
// Error displayed when NSData field is not a positive integer // Error displayed when NSData field is not a positive integer
val NSDataError = "NS data must be a positive integer" val NSDataError = "NS data must be a positive integer"