Skip to content

Commit

Permalink
Translator notes
Browse files Browse the repository at this point in the history
  • Loading branch information
mchf committed Feb 2, 2022
1 parent 4b7585f commit 14ef7c3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/include/dns-server/dialog-main.rb
Expand Up @@ -1593,8 +1593,10 @@ def ExpertZonesDialog
_("Type"),
[
# Combobox - DNS adding zone - Type Master
# TRANSLATORS: Primary is new name for Master (zone)
Item(Id("master"), _("Primary")),
# Combobox - DNS adding zone - Type Slave
# TRANSLATORS: Secondary is new name for Slave (zone)
Item(Id("slave"), _("Secondary")),
# Combobox - DNS adding zone - Type Slave
Item(Id("forward"), _("Forward"))
Expand Down
5 changes: 3 additions & 2 deletions src/include/dns-server/dialog-masterzone.rb
Expand Up @@ -2743,11 +2743,12 @@ def runSlaveZoneTabDialog
if Builtins.size(@current_zone_masters) == 0
if Popup.ContinueCancelHeadline(
# TRANSLATORS: Popup error headline
# TRANSLATORS: Primary is new name for Master (zone)
_("Missing Primary Server"),
# TRANSLATORS: Popup error text
_(
"Every secondary zone must have its master server IP defined.\n" +
"Configuration of a DNS server without a master server would fail.\n" +
"Every secondary zone must have its primary server IP defined.\n" +
"Configuration of a DNS server without a primary server would fail.\n" +
"If you continue, the current zone will be removed."
)
)
Expand Down
2 changes: 2 additions & 0 deletions src/modules/DnsServer.pm
Expand Up @@ -1638,8 +1638,10 @@ sub Summary {

my %zone_types = (
# type of zone to be used in summary
# TRANSLATORS: Primary is new name for Master (zone)
"master" => __("Primary"),
# type of zone to be used in summary
# TRANSLATORS: Secondary is new name for Slave (zone)
"slave" => __("Secondary"),
# type of zone to be used in summary
"stub" => __("Stub"),
Expand Down

0 comments on commit 14ef7c3

Please sign in to comment.