Browse Source

Corrected grammar and spelling mistakes in templates. Normalizing to American English.

pull/85/head
twitchyliquid64 11 years ago
parent
commit
d304a23787
  1. 2
      templates/home.tmpl
  2. 2
      templates/install.tmpl
  3. 4
      templates/mail/auth/active_email.tmpl
  4. 6
      templates/mail/auth/register_success.tmpl
  5. 4
      templates/mail/auth/reset_passwd.tmpl
  6. 2
      templates/status/404.tmpl
  7. 12
      templates/user/activate.tmpl
  8. 2
      templates/user/dashboard.tmpl
  9. 4
      templates/user/forgot_passwd.tmpl
  10. 2
      templates/user/profile.tmpl
  11. 2
      templates/user/publickey.tmpl
  12. 2
      templates/user/reset_passwd.tmpl
  13. 2
      templates/user/setting.tmpl
  14. 2
      templates/user/signup.tmpl

2
templates/home.tmpl

@ -3,7 +3,7 @@
<div id="body" class="container"> <div id="body" class="container">
{{if not .Repos}} {{if not .Repos}}
<h4>Hey there, welcome to the land of Gogs!</h4> <h4>Hey there, welcome to the land of Gogs!</h4>
<p>If you just get your Gogs server running, go <a href="/install">install</a> guide page will help you setup things for your first-time run.</p> <p>If you just got your Gogs server running, go to the <a href="/install">install</a> guide page, which will guide you through your initial setup.</p>
<img src="http://gowalker.org/public/gogs_demo.gif"> <img src="http://gowalker.org/public/gogs_demo.gif">
{{else}} {{else}}
<h4>Hey there, welcome to the land of Gogs!</h4> <h4>Hey there, welcome to the land of Gogs!</h4>

2
templates/install.tmpl

@ -4,7 +4,7 @@
{{.CsrfTokenHtml}} {{.CsrfTokenHtml}}
<h3>Install Steps For First-time Run</h3> <h3>Install Steps For First-time Run</h3>
{{template "base/alert" .}} {{template "base/alert" .}}
<p class="help-block text-center">Gogs requires MySQL or PostgreSQL, SQLite3 only available for official binary version</p> <p class="help-block text-center">Gogs requires MySQL, SQLite3. or PostgreSQL. SQLite3 is only available in the official binary version.</p>
<div class="form-group"> <div class="form-group">
<label class="col-md-3 control-label">Database Type: </label> <label class="col-md-3 control-label">Database Type: </label>
<div class="col-md-8"> <div class="col-md-8">

4
templates/mail/auth/active_email.tmpl

@ -15,11 +15,11 @@
Hi <span style="color: #00BFFF;">{{.User.Name}}</span>, Hi <span style="color: #00BFFF;">{{.User.Name}}</span>,
</div> </div>
<div style="font-size:14px; padding:0 15px;"> <div style="font-size:14px; padding:0 15px;">
<p style="margin:0;padding:0 0 9px 0;">Please click following link to verify your e-mail address within <b>{{.ActiveCodeLives}} hours</b>.</p> <p style="margin:0;padding:0 0 9px 0;">Please click the following link to verify your e-mail address within <b>{{.ActiveCodeLives}} hours</b>.</p>
<p style="margin:0;padding:0 0 9px 0;"> <p style="margin:0;padding:0 0 9px 0;">
<a href="{{.AppUrl}}user/activate?code={{.Code}}">{{.AppUrl}}user/activate?code={{.Code}}</a> <a href="{{.AppUrl}}user/activate?code={{.Code}}">{{.AppUrl}}user/activate?code={{.Code}}</a>
</p> </p>
<p style="margin:0;padding:0 0 9px 0;">Copy and paste it to your browser if the link is not working.</p> <p style="margin:0;padding:0 0 9px 0;">Not working? Try copying and pasting it to your browser.</p>
</div> </div>
</div> </div>
</div> </div>

6
templates/mail/auth/register_success.tmpl

@ -12,14 +12,14 @@
<h1 style="font-size:20px; padding:10px 0 20px; margin:0; border-bottom:1px solid #ddd;"><img src="{{.AppUrl}}/{{.AppLogo}}" style="height: 32px; margin-bottom: -10px;"> <a style="color:#333;text-decoration:none;" target="_blank" href="{{.AppUrl}}">{{.AppName}}</a></h1> <h1 style="font-size:20px; padding:10px 0 20px; margin:0; border-bottom:1px solid #ddd;"><img src="{{.AppUrl}}/{{.AppLogo}}" style="height: 32px; margin-bottom: -10px;"> <a style="color:#333;text-decoration:none;" target="_blank" href="{{.AppUrl}}">{{.AppName}}</a></h1>
<div style="padding:40px 15px;"> <div style="padding:40px 15px;">
<div style="font-size:16px; padding-bottom:30px; font-weight:bold;"> <div style="font-size:16px; padding-bottom:30px; font-weight:bold;">
Hi <span style="color: #00BFFF;">{{.User.Name}}</span>, welcome to register {{.AppName}}! Hi <span style="color: #00BFFF;">{{.User.Name}}</span>, this is your registration email for {{.AppName}}!
</div> </div>
<div style="font-size:14px; padding:0 15px;"> <div style="font-size:14px; padding:0 15px;">
<p style="margin:0;padding:0 0 9px 0;">Please click following link to verify your e-mail address within <b>{{.ActiveCodeLives}} hours</b>.</p> <p style="margin:0;padding:0 0 9px 0;">Please click the following link to verify your e-mail address within <b>{{.ActiveCodeLives}} hours</b>.</p>
<p style="margin:0;padding:0 0 9px 0;"> <p style="margin:0;padding:0 0 9px 0;">
<a href="{{.AppUrl}}user/activate?code={{.Code}}">{{.AppUrl}}user/activate?code={{.Code}}</a> <a href="{{.AppUrl}}user/activate?code={{.Code}}">{{.AppUrl}}user/activate?code={{.Code}}</a>
</p> </p>
<p style="margin:0;padding:0 0 9px 0;">Copy and paste it to your browser if the link is not working.</p> <p style="margin:0;padding:0 0 9px 0;">Not working? Try copying and pasting it to your browser.</p>
</div> </div>
</div> </div>
</div> </div>

4
templates/mail/auth/reset_passwd.tmpl

@ -15,11 +15,11 @@
Hi <span style="color: #00BFFF;">{{.User.Name}}</span>, Hi <span style="color: #00BFFF;">{{.User.Name}}</span>,
</div> </div>
<div style="font-size:14px; padding:0 15px;"> <div style="font-size:14px; padding:0 15px;">
<p style="margin:0;padding:0 0 9px 0;">Please click following link to reset your password within <b>{{.ActiveCodeLives}} hours</b>.</p> <p style="margin:0;padding:0 0 9px 0;">Please click the following link to reset your password within <b>{{.ActiveCodeLives}} hours</b>.</p>
<p style="margin:0;padding:0 0 9px 0;"> <p style="margin:0;padding:0 0 9px 0;">
<a href="{{.AppUrl}}user/reset_password?code={{.Code}}">{{.AppUrl}}user/reset_password?code={{.Code}}</a> <a href="{{.AppUrl}}user/reset_password?code={{.Code}}">{{.AppUrl}}user/reset_password?code={{.Code}}</a>
</p> </p>
<p style="margin:0;padding:0 0 9px 0;">Copy and paste it to your browser if the link is not working.</p> <p style="margin:0;padding:0 0 9px 0;">Not working? Try copying and pasting it to your browser.</p>
</div> </div>
</div> </div>
</div> </div>

2
templates/status/404.tmpl

@ -4,6 +4,6 @@
<p style="margin-top: 80px"><img src="/img/404.png" alt="404"/></p> <p style="margin-top: 80px"><img src="/img/404.png" alt="404"/></p>
<hr/> <hr/>
<p>Application Version: {{AppVer}}</p> <p>Application Version: {{AppVer}}</p>
<p>If you think it is an error, please open an issue on <a href="https://github.com/gogits/gogs/issues/new">GitHub</a>.</p> <p>If you think this is an error, please open an issue on <a href="https://github.com/gogits/gogs/issues/new">GitHub</a>.</p>
</div> </div>
{{template "base/footer" .}} {{template "base/footer" .}}

12
templates/user/activate.tmpl

@ -8,25 +8,25 @@
{{if .ServiceNotEnabled}} {{if .ServiceNotEnabled}}
<p>Sorry, Register Mail Confirmation has been disabled.</p> <p>Sorry, Register Mail Confirmation has been disabled.</p>
{{else if .ResendLimited}} {{else if .ResendLimited}}
<p>Sorry, you are sending activation e-mail too frequently, please wait 3 minutes.</p> <p>Sorry, you are sending an activation e-mail too frequently. Please wait 3 minutes.</p>
{{else}} {{else}}
<p>New confirmation e-mail has been sent to <b>{{.SignedUser.Email}}</b>, please check your inbox within {{.Hours}} hours to complete your registeration.</p> <p>A new confirmation e-mail has been sent to <b>{{.SignedUser.Email}}</b>, please check your inbox within the next {{.Hours}} hours to complete your registration.</p>
<hr/> <hr/>
<a href="http://{{Mail2Domain .SignedUser.Email}}" class="btn btn-lg btn-success">Sign in to your e-mail</a> <a href="http://{{Mail2Domain .SignedUser.Email}}" class="btn btn-lg btn-success">Sign in to your e-mail</a>
{{end}} {{end}}
{{else}} {{else}}
{{if .IsSendRegisterMail}} {{if .IsSendRegisterMail}}
<p>A confirmation e-mail has been sent to <b>{{.Email}}</b>, please check your inbox within {{.Hours}} hours to complete your registeration.</p> <p>A confirmation e-mail has been sent to <b>{{.Email}}</b>, please check your inbox within the next {{.Hours}} hours to complete your registration.</p>
<hr/> <hr/>
<a href="http://{{Mail2Domain .Email}}" class="btn btn-lg btn-success">Sign in to your e-mail</a> <a href="http://{{Mail2Domain .Email}}" class="btn btn-lg btn-success">Sign in to your e-mail</a>
{{else if .IsActivateFailed}} {{else if .IsActivateFailed}}
<p>Sorry, your confirmation code has been exipired or not valid.</p> <p>Sorry, your confirmation code has exipired or not valid.</p>
{{else}} {{else}}
<p>Hi, {{.SignedUser.Name}}, you have an unconfirmed email address(<b>{{.SignedUser.Email}}</b>). If you haven't received a confirmation e-mail or need to resend a new one, please click botton below.</p> <p>Hi, {{.SignedUser.Name}}, you have an unconfirmed email address(<b>{{.SignedUser.Email}}</b>). If you haven't received a confirmation e-mail or need to resend a new one, please click on the button below.</p>
<hr/> <hr/>
<div class="form-group"> <div class="form-group">
<div class="col-md-offset-4 col-md-6"> <div class="col-md-offset-4 col-md-6">
<button type="submit" class="btn btn-lg btn-primary">Click here to resend your active e-mail</button> <button type="submit" class="btn btn-lg btn-primary">Click here to resend your activation e-mail</button>
</div> </div>
</div> </div>
{{end}} {{end}}

2
templates/user/dashboard.tmpl

@ -22,7 +22,7 @@
<span class="clearfix"></span> <span class="clearfix"></span>
</li> </li>
{{else}} {{else}}
<li>No any activity yet.</li> <li>Oh. Looks like there isn't any activity here yet. Get Busy!</li>
{{end}} {{end}}
</ul> </ul>
</div> </div>

4
templates/user/forgot_passwd.tmpl

@ -19,13 +19,13 @@
<hr/> <hr/>
<div class="form-group"> <div class="form-group">
<div class="col-md-offset-4 col-md-6"> <div class="col-md-offset-4 col-md-6">
<button type="submit" class="btn btn-lg btn-primary">Click here to send reset confirmation e-mail</button> <button type="submit" class="btn btn-lg btn-primary">Click here to send resend confirmation e-mail</button>
</div> </div>
</div> </div>
{{else if .IsResetDisable}} {{else if .IsResetDisable}}
<p>Sorry, mail service is not enabled.</p> <p>Sorry, mail service is not enabled.</p>
{{else if .ResendLimited}} {{else if .ResendLimited}}
<p>Sorry, you are sending e-mail too frequently, please wait 3 minutes.</p> <p>Sorry, you are sending an e-mail too frequently, please wait another 3 minutes and try again.</p>
{{end}} {{end}}
</form> </form>
</div> </div>

2
templates/user/profile.tmpl

@ -53,7 +53,7 @@
<span class="clearfix"></span> <span class="clearfix"></span>
</li> </li>
{{else}} {{else}}
<li>No any public activity yet.</li> <li>No public activity yet.</li>
{{end}} {{end}}
</ul> </ul>
</div> </div>

2
templates/user/publickey.tmpl

@ -30,7 +30,7 @@
<div class="modal-body"> <div class="modal-body">
<div class="form-group"> <div class="form-group">
<label class="col-md-3 control-label">The name of key<strong class="text-danger">*</strong></label> <label class="col-md-3 control-label">Key Name<strong class="text-danger">*</strong></label>
<div class="col-md-8"> <div class="col-md-8">
<input name="keyname" class="form-control" placeholder="Type your preferred name" required="required"> <input name="keyname" class="form-control" placeholder="Type your preferred name" required="required">
</div> </div>

2
templates/user/reset_passwd.tmpl

@ -19,7 +19,7 @@
</div> </div>
</div> </div>
{{else}} {{else}}
<p>Sorry, your confirmation code has been exipired or not valid.</p> <p>Sorry, your confirmation code has exipired or is not valid.</p>
{{end}} {{end}}
</form> </form>
</div> </div>

2
templates/user/setting.tmpl

@ -8,7 +8,7 @@
<form class="form-horizontal" id="password-form" method="post" action="/user/setting"> <form class="form-horizontal" id="password-form" method="post" action="/user/setting">
{{.CsrfTokenHtml}} {{.CsrfTokenHtml}}
{{template "base/alert" .}} {{template "base/alert" .}}
<p>Your Email will be public and used for Account related notifications and any web based operations made via the web.</p> <p>Your Email address is public and will be used for any account related notifications, and any web based operations made via the site.</p>
<div class="form-group"> <div class="form-group">
<label class="col-md-2 control-label" for="user-setting-username">Username<strong class="text-danger">*</strong></label> <label class="col-md-2 control-label" for="user-setting-username">Username<strong class="text-danger">*</strong></label>
<div class="col-md-8"> <div class="col-md-8">

2
templates/user/signup.tmpl

@ -4,7 +4,7 @@
<form action="/user/sign_up" method="post" class="form-horizontal card" id="login-card"> <form action="/user/sign_up" method="post" class="form-horizontal card" id="login-card">
{{.CsrfTokenHtml}} {{.CsrfTokenHtml}}
{{if .DisenableRegisteration}} {{if .DisenableRegisteration}}
Sorry, registeration has been disenabled, you can only get account from administrator. Sorry, registration has been disabled. Please contact the site administrator.
{{else}} {{else}}
{{if .IsSocialLogin}} {{if .IsSocialLogin}}
<h3>Social login: 2nd step <small>complete information</small></h3> <h3>Social login: 2nd step <small>complete information</small></h3>

Loading…
Cancel
Save