Prechádzať zdrojové kódy

Updated All to Lang

Yoginth 7 rokov pred
rodič
commit
7963511dd2

+ 1 - 0
conf/locale/locale_en-GB.ini

@@ -274,6 +274,7 @@ starred = Starred repositories
 following = Following
 follow = Follow
 unfollow = Unfollow
+hide_email = Login to view email
 
 form.name_reserved = Username '%s' is reserved.
 form.name_pattern_not_allowed = Username pattern '%s' is not allowed.

+ 3 - 1
conf/locale/locale_en-US.ini

@@ -46,7 +46,7 @@ cancel = Cancel
 contribute = Contribute
 sourcecode = Source Code
 styleguide = Style Guide
-discord = Discord
+slack = Slack
 beta = Beta
 reportbug = Report Bug
 featurerequest = Feature Request
@@ -274,6 +274,7 @@ starred = Starred repositories
 following = Following
 follow = Follow
 unfollow = Unfollow
+hide_email = Login to view email
 
 form.name_reserved = Username '%s' is reserved.
 form.name_pattern_not_allowed = Username pattern '%s' is not allowed.
@@ -302,6 +303,7 @@ company = Company
 description = Description
 website = Website
 location = Location
+private_email = This email is Private
 beta = Enroll to Beta Member
 sponsor = Display Sponsors on dashboard
 update_profile = Update Profile

Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 4 - 4
pkg/bindata/bindata.go


+ 2 - 2
templates/user/profile.tmpl

@@ -44,7 +44,7 @@
 			{{else}}
 				<br/>
 				<i class="menu-icon octicon">📧</i>
-				<a class="pro-truncate" href="{{AppURL}}login" rel="nofollow">Login to view email</a>
+				<a class="pro-truncate" href="{{AppURL}}login" rel="nofollow">{{.i18n.Tr "user.hide_email"}}</a>
 			{{end}}
 			{{if .Owner.Website}}
 				<br/>
@@ -156,7 +156,7 @@
 							{{else}}
 								<li>
 									<i class="menu-icon octicon">📧</i>
-									<a class="pro-truncate" href="{{AppURL}}login" rel="nofollow">Login to view email</a>
+									<a class="pro-truncate" href="{{AppURL}}login" rel="nofollow">{{.i18n.Tr "user.hide_email"}}</a>
 								</li>
 							{{end}}
 							{{if .Owner.Website}}