Browse Source

更新英文版邮件内容

luolongfei 3 years ago
parent
commit
e0b2c591b0

+ 1 - 1
app/Console/Upgrade.php

@@ -159,8 +159,8 @@ class Upgrade extends Base
         } else {
             $content = sprintf(
                 lang('100025'),
-                $this->latestVer,
                 $this->friendlyDateFormat($this->releaseInfo['published_at'], 'UTC'),
+                $this->latestVer,
                 $this->currVer
             );
         }

+ 5 - 5
resources/lang/en.php

@@ -48,9 +48,9 @@ return [
         '100022' => 'Failed to read file content: ',
         '100023' => 'Github returns data inconsistent with expectations: ',
         '100024' => 'Detect upgrade error: ',
-        '100025' => "Hello, we have released a new version of FreeNom renewal tool v%s at %s, and the version you are currently using is v%s, you can decide whether to upgrade to the new version according to your actual needs. The new version has the following updates or improvements: \n\n",
+        '100025' => "Hello, on %s, we launched a new version of the Freenom renewal tool, v%s, and the version you are now using is v%s. You may decide whether to update to the new version according to your real needs. The following modifications or enhancements have been made in the new version: \n\n",
         '100026' => 'For more information, please visit: ',
-        '100027' => '(This message will only be pushed once for the same new version. If you do not want to be notified of new releases, set the value of NEW_VERSION_DETECTION in the .env file to 0)',
+        '100027' => '(This message will be delivered just once for the new releases. Set the value of NEW_VERSION_DETECTION in the .env file to 0 if you do not want to be alerted of new releases.)',
         '100028' => 'just now',
         '100029' => 'minutes ago',
         '100030' => 'hours ago',
@@ -62,7 +62,7 @@ return [
         '100036' => 'Information about the new version has been sent to you, please check it.',
         '100037' => 'Upgrade error: ',
         '100038' => 'Version %s',
-        '100039' => 'Master, I just renewed your domain name!',
+        '100039' => 'I\'ve recently renewed your domain names!',
         '100040' => 'Congratulations, successfully renewed <green>%d</green> domains, failed <green>%d</green> domains. %s',
         '100041' => 'A detailed renewal result message has been sent to you, please check it.',
         '100042' => "Account: %s\n Renewal results are as follows:\n",
@@ -98,8 +98,8 @@ return [
         '100072' => '.',
         '100073' => 'Master',
         '100074' => 'Project Author',
-        '100075' => 'Renewal success: %s<br>',
-        '100076' => 'Renewal error: %s<br>',
+        '100075' => 'Renewal Success: %s<br>',
+        '100076' => 'Renewal Error: %s<br>',
         '100077' => 'Mail sending failure: ',
         '100078' => "\nFor more information, please refer to: https://my.freenom.com/domains.php?a=renewals (click \"copy content\" to copy this URL)",
         '100079' => "\n\n(if you don't want to receive a push every time you execute, set the value of NOTICE_FREQ in .env to 0 so that the program only pushes when there is a renewal operation)",

+ 8 - 7
resources/mail/en/no_renewal_required.html

@@ -346,17 +346,18 @@
                  style="text-align:left;padding: 0 30px;font-size:14px;line-height:1.5;/*background:url('../images/ting.jpg') no-repeat top right;background-size: 224px 224px;*/">
                 <div>
                     <p>
-                        <br>I just checked for you and the account <a href="#" rel="noopener">%s</a> has no domains that
-                        need to be renewed today. The status of all domains is as follows:
+                        <br>I've just checked and found that the Freenom account <a href="#" rel="noopener">%s</a> does
+                        not have any domains that need to be renewed today. The following is the current state of all
+                        domains:
                         <br>
                         <br><span class="domainDays">%s</span>
                         <br><br>
-                        For more information, please refer to the <a
-                            href="https://my.freenom.com/domains.php?a=renewals" target="_blank" rel="noopener">Freenom
-                        official website</a>
+                        For more information, please visit <a href="https://my.freenom.com/domains.php?a=renewals"
+                                                              target="_blank" rel="noopener">Freenom’s official
+                        website</a>
                         <br>
-                        <br>(If you don't want to receive a push every time you execute, set the value of NOTICE_FREQ in
-                        .env to 0 so that the program only pushes when there is a renewal operation)
+                        <br>(If you don't want to get a push every time you execute, adjust the value of NOTICE_FREQ in
+                        the .env file to 0 so that the application only pushes when there is a renewal operation.)
                     </p>
                 </div>
                 <div class="mmsgLetterInscribe" style="padding:40px 0 0;">

+ 7 - 6
resources/mail/en/successful_renewal.html

@@ -345,18 +345,19 @@
             <div class="mmsgLetterContent"
                  style="text-align:left;padding: 0 30px;font-size:14px;line-height:1.5;/*background:url('../images/ting.jpg') no-repeat top right;background-size: 224px 224px;*/">
                 <div>
-                    <p>Master, I just renewed your domain name!
+                    <p>I've recently renewed your domain names!
                         <br>
-                        <br>Account <a href="#" rel="noopener">%s</a> The results of this renewal are as follows
+                        <br>The following is the renewal report for the Freenom Account <a href="#"
+                                                                                           rel="noopener">%s</a>:
                         <br><br>
                         <span class="renewed">%s</span>
                         <br>
                         <span class="notRenewed">%s</span>
-                        <br>In addition, the status of other domains is as follows: <br><br><span
+                        <br>In addition, the following other domains' statuses are shown below: <br><br><span
                                 class="domainDays">%s</span>
-                        <br><br>For more information, please refer to the <a
-                                href="https://my.freenom.com/domains.php?a=renewals" target="_blank" rel="noopener">Freenom
-                            official website</a>
+                        <br><br>For further information, please visit <a
+                                href="https://my.freenom.com/domains.php?a=renewals" target="_blank" rel="noopener">
+                            Freenom’s official website</a>
                     </p>
                 </div>
                 <div class="mmsgLetterInscribe" style="padding:40px 0 0;">