Add translation

This commit is contained in:
Alan Garcia 2014-03-06 08:29:22 +00:00
parent 9c9e80e0f8
commit 1ca07f8139
1 changed files with 5 additions and 1 deletions

View File

@ -291,7 +291,7 @@ class system_bind {
// Do not save if the zone is LOCKED
if ( $this->is_locked($domain)) {
$dom->set_dns_result($domain,"The zone file of this domain is locked");
$dom->set_dns_result($domain, "The zone file of this domain is locked. Contact your administrator."); // If edit, change dummy_for_translation
$dom->set_dns_action($domain, 'OK');
return false;
}
@ -368,6 +368,10 @@ class system_bind {
return;
}
private function dummy_for_translation() {
_("The zone file of this domain is locked. Contact your administrator.");
}
} // class