Skip to content

Commit

Permalink
Corrected grammar
Browse files Browse the repository at this point in the history
It's is short for it is or it has.
Its is the possessive form of it.
  • Loading branch information
jacobg830 committed Jul 1, 2014
1 parent 8bed063 commit 4512b41
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions modules/dns_manager/code/controller.ext.php
Original file line number Diff line number Diff line change
Expand Up @@ -307,15 +307,15 @@ static function DisplayRecords()

$line .= '<div class="tab-content">';

$aDescription = ui_language::translate("The A record contains an IPv4 address. It's target is an IPv4 address, e.g. '192.168.1.1'.");
$aaaaDescription = ui_language::translate("The AAAA record contains an IPv6 address. It's target is an IPv6 address, e.g. '2607:fe90:2::1'.");
$cnameDescription = ui_language::translate("The CNAME record specifies the canonical name of a record. It's target is a fully qualified domain name, e.g.
$aDescription = ui_language::translate("The A record contains an IPv4 address. Its target is an IPv4 address, e.g. '192.168.1.1'.");
$aaaaDescription = ui_language::translate("The AAAA record contains an IPv6 address. Its target is an IPv6 address, e.g. '2607:fe90:2::1'.");
$cnameDescription = ui_language::translate("The CNAME record specifies the canonical name of a record. Its target is a fully qualified domain name, e.g.
'webserver-01.example.com'.");
$mxDescription = ui_language::translate("The MX record specifies a mail exchanger host for a domain. Each mail exchanger has a priority or preference that is a numeric value between 0 and 65535. It's target is a fully qualified domain name, e.g. 'mail.example.com'.");
$mxDescription = ui_language::translate("The MX record specifies a mail exchanger host for a domain. Each mail exchanger has a priority or preference that is a numeric value between 0 and 65535. Its target is a fully qualified domain name, e.g. 'mail.example.com'.");
$txtDescription = ui_language::translate("The TXT field can be used to attach textual data to a domain.");
$srvDescription = ui_language::translate("SRV records can be used to encode the location and port of services on a domain name. It's target is a fully qualified domain name, e.g. 'host.example.com'.");
$spfDescription = ui_language::translate("SPF records is used to store Sender Policy Framework details. It's target is a text string, e.g.<br>'v=spf1 a:192.168.1.1 include:example.com mx ptr -all' (Click <a href=\"http://www.microsoft.com/mscorp/safety/content/technologies/senderid/wizard/\" target=\"_blank\">HERE</a> for the Microsoft SPF Wizard.)");
$nsDescription = ui_language::translate("Nameserver record. Specifies nameservers for a domain. It's target is a fully qualified domain name, e.g. 'ns1.example.com'. The records should match what the domain name has registered with the internet root servers.");
$srvDescription = ui_language::translate("SRV records can be used to encode the location and port of services on a domain name. Its target is a fully qualified domain name, e.g. 'host.example.com'.");
$spfDescription = ui_language::translate("SPF records is used to store Sender Policy Framework details. Its target is a text string, e.g.<br>'v=spf1 a:192.168.1.1 include:example.com mx ptr -all' (Click <a href=\"http://www.microsoft.com/mscorp/safety/content/technologies/senderid/wizard/\" target=\"_blank\">HERE</a> for the Microsoft SPF Wizard.)");
$nsDescription = ui_language::translate("Nameserver record. Specifies nameservers for a domain. Its target is a fully qualified domain name, e.g. 'ns1.example.com'. The records should match what the domain name has registered with the internet root servers.");

$tts = 86400;
$line .= self::DnsRecordField('A', $tts, $aDescription, $currentuser['userid'], $domainID);
Expand Down

4 comments on commit 4512b41

@jacobgelling
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@5050
Copy link
Contributor

@5050 5050 commented on 4512b41 Aug 1, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Be carefull with correction of translated strings because any change in them will breaks the translation on servers setup with other language.
The database must be corrected accordingly, or new lines will be added for new text (with empty translation), resulting in text not translated, while while older lines will not be removed.

@jacobgelling
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, I'll make another PR with database updates. Thanks Pascal 😃

@5050
Copy link
Contributor

@5050 5050 commented on 4512b41 Aug 1, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, if an english text is changed, all translation from here must be changed too : http://zxts.sammottley.co.uk/ZXTS.php
I opened a thread in the team forum with idea to make it possible. To be followed.

Please sign in to comment.