Skip to content

Commit fb65fc1

Browse files
Added text for external auth0 provider
1 parent 596bee1 commit fb65fc1

File tree

3 files changed

+13
-7
lines changed

3 files changed

+13
-7
lines changed

templates/app/client/components/i18n(i18nSupport)/locale-en.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,8 @@
3838
"EMAIL_INVALID_FORMAT_MSG":"Doesn't look like a valid email.",
3939
"EMAIL_QUESTION_MSG":"What's your email address?",
4040
"PASSWORD_INVALID_MSG":"This password is not correct.",
41-
"EMAIL_UNREGISTRED_MSG":"This email is not registered."
41+
"EMAIL_UNREGISTRED_MSG":"This email is not registered." ,
42+
"CONNECT_WITH_FACEBOOK":"Connect with Facebook",
43+
"CONNECT_WITH_GOOGLE_PLUS":"Connect with Google+",
44+
"CONNECT_WITH_TWITTER":"Connect with Twitter"
4245
}

templates/app/client/components/i18n(i18nSupport)/locale-fr.json

+5-2
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,8 @@
3838
"EMAIL_INVALID_FORMAT_MSG":"Ca ne ressemble pas à un courriel valide.",
3939
"EMAIL_QUESTION_MSG":"Quelle est votre adresse courriel?",
4040
"PASSWORD_INVALID_MSG":"Ce mot de passe est incorrect.",
41-
"EMAIL_UNREGISTRED_MSG":"This email is not registered."
42-
}
41+
"EMAIL_UNREGISTRED_MSG":"Ce courriel n'est pas enregistré.",
42+
"CONNECT_WITH_FACEBOOK":"Se connecter avec Facebook",
43+
"CONNECT_WITH_GOOGLE_PLUS":"Se connecter avec Google+",
44+
"CONNECT_WITH_TWITTER":"Se connecter avec Twitter"
45+
}
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<% if(filters.facebookAuth) { %><a ng-class="classes" ng-click="OauthButtons.loginOauth('facebook')" class="btn<% if (filters.bootstrap) { %> btn-social<% } %> btn-facebook">
22
<i class="fa fa-facebook"></i>
3-
Connect with Facebook
3+
<span<% if (filters.i18nSupport) { %> translate="CONNECT_WITH_FACEBOOK"<% } %>><% if (!filters.i18nSupport) { %>Connect with Facebook<% } %></span>
44
</a>
55
<% } if (filters.googleAuth) { %><a ng-class="classes" ng-click="OauthButtons.loginOauth('google')" class="btn<% if (filters.bootstrap) { %> btn-social<% } %> btn-google">
66
<i class="fa fa-google-plus"></i>
7-
Connect with Google+
7+
<span<% if (filters.i18nSupport) { %> translate="CONNECT_WITH_GOOGLE_PLUS"<% } %>><% if (!filters.i18nSupport) { %>Connect with Google+<% } %></span>
88
</a>
99
<% } if (filters.twitterAuth) { %><a ng-class="classes" ng-click="OauthButtons.loginOauth('twitter')" class="btn<% if (filters.bootstrap) { %> btn-social<% } %> btn-twitter">
1010
<i class="fa fa-twitter"></i>
11-
Connect with Twitter
12-
</a><% } %>
11+
<span<% if (filters.i18nSupport) { %> translate="CONNECT_WITH_TWITTER"<% } %>><% if (!filters.i18nSupport) { %>Connect with Twitter<% } %></span>
12+
</a><% } %>

0 commit comments

Comments
 (0)