Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
persona
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hexang 息壤平台
persona
Commits
5e5e74c5
Commit
5e5e74c5
authored
13 years ago
by
Shane Tomlinson
Browse files
Options
Downloads
Patches
Plain Diff
Removing gettext from the majority of the non-user facing error strings.
close #1051
parent
ee662703
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
resources/static/shared/error-messages.js
+39
-36
39 additions, 36 deletions
resources/static/shared/error-messages.js
with
39 additions
and
36 deletions
resources/static/shared/error-messages.js
+
39
−
36
View file @
5e5e74c5
...
...
@@ -5,41 +5,44 @@
BrowserID
.
Errors
=
(
function
(){
"
use strict
"
;
// NOTE: The majority of these strings do not have gettext because they are
// not immediately user facing. These strings are used in the error dialog
// and are only shown after the user clicks on "show more info"
var
Errors
=
{
authenticate
:
{
title
:
gettext
(
"
Authenticating User
"
)
title
:
"
Authenticating User
"
},
addEmail
:
{
title
:
gettext
(
"
Adding Address
"
)
title
:
"
Adding Address
"
},
addEmailWithAssertion
:
{
title
:
gettext
(
"
Adding Primary Email Address to User
"
)
title
:
"
Adding Primary Email Address to User
"
},
addressInfo
:
{
title
:
gettext
(
"
Checking Address Info
"
)
title
:
"
Checking Address Info
"
},
authenticateWithAssertion
:
{
title
:
gettext
(
"
Authenticating with Assertion
"
)
title
:
"
Authenticating with Assertion
"
},
cancelUser
:
{
title
:
gettext
(
"
Cancelling User Account
"
)
title
:
"
Cancelling User Account
"
},
checkAuthentication
:
{
title
:
gettext
(
"
Checking Authentication
"
)
title
:
"
Checking Authentication
"
},
checkScriptVersion
:
{
title
:
gettext
(
"
Checking Script Version
"
)
title
:
"
Checking Script Version
"
},
completeUserRegistration
:
{
title
:
gettext
(
"
Completing User Registration
"
)
title
:
"
Completing User Registration
"
},
cookiesDisabled
:
{
...
...
@@ -48,31 +51,31 @@ BrowserID.Errors = (function(){
},
cookiesEnabled
:
{
title
:
gettext
(
"
Checking if Cookies are Enabled
"
)
title
:
"
Checking if Cookies are Enabled
"
},
createUser
:
{
title
:
gettext
(
"
Creating Account
"
)
title
:
"
Creating Account
"
},
getAssertion
:
{
title
:
gettext
(
"
Getting Assertion
"
)
title
:
"
Getting Assertion
"
},
getTokenInfo
:
{
title
:
gettext
(
"
Checking Registration Token
"
)
title
:
"
Checking Registration Token
"
},
isEmailRegistered
:
{
title
:
gettext
(
"
Checking Email Address
"
)
title
:
"
Checking Email Address
"
},
isUserAuthenticatedToPrimary
:
{
title
:
gettext
(
"
Checking Whether User is Authenticated with IdP
"
)
title
:
"
Checking Whether User is Authenticated with IdP
"
},
logoutUser
:
{
title
:
gettext
(
"
Logout Failed
"
)
title
:
"
Logout Failed
"
},
offline
:
{
...
...
@@ -81,71 +84,71 @@ BrowserID.Errors = (function(){
},
primaryAuthentication
:
{
title
:
gettext
(
"
Authenticating with Identity Provider
"
)
,
message
:
gettext
(
"
We had trouble communicating with your email provider, please try again!
"
)
title
:
"
Authenticating with Identity Provider
"
,
message
:
"
We had trouble communicating with your email provider, please try again!
"
},
provisioningPrimary
:
{
title
:
gettext
(
"
Provisioning with Identity Provider
"
)
,
message
:
gettext
(
"
We had trouble communicating with your email provider, please try again!
"
)
title
:
"
Provisioning with Identity Provider
"
,
message
:
"
We had trouble communicating with your email provider, please try again!
"
},
provisioningBadPrimary
:
{
title
:
gettext
(
"
Provisioning Unsupported Identity Provider
"
)
,
message
:
gettext
(
"
Unfortunately, the email address provided cannot act as a Primary Identity Provider
"
)
title
:
"
Provisioning Unsupported Identity Provider
"
,
message
:
"
Unfortunately, the email address provided cannot act as a Primary Identity Provider
"
},
registration
:
{
title
:
gettext
(
"
Registration Failed
"
)
title
:
"
Registration Failed
"
},
relaySetup
:
{
title
:
gettext
(
"
Establishing Relay
"
)
,
message
:
gettext
(
"
Relay frame could not be found
"
)
title
:
"
Establishing Relay
"
,
message
:
"
Relay frame could not be found
"
},
requestPasswordReset
:
{
title
:
gettext
(
"
Resetting Password
"
)
title
:
"
Resetting Password
"
},
removeEmail
:
{
title
:
gettext
(
"
Remove Email Address from Account
"
)
title
:
"
Remove Email Address from Account
"
},
setPassword
:
{
title
:
gettext
(
"
Setting Password
"
)
title
:
"
Setting Password
"
},
signIn
:
{
title
:
gettext
(
"
Signin Failed
"
)
title
:
"
Signin Failed
"
},
signUp
:
{
title
:
gettext
(
"
Signup Failed
"
)
title
:
"
Signup Failed
"
},
syncAddress
:
{
title
:
gettext
(
"
Syncing Address
"
)
title
:
"
Syncing Address
"
},
syncEmails
:
{
title
:
gettext
(
"
Syncing Email Addresses
"
)
title
:
"
Syncing Email Addresses
"
},
syncEmailKeypair
:
{
title
:
gettext
(
"
Sync Keys for Address
"
)
title
:
"
Sync Keys for Address
"
},
tokenInfo
:
{
title
:
gettext
(
"
Getting Token Info
"
)
title
:
"
Getting Token Info
"
},
updatePassword
:
{
title
:
gettext
(
"
Updating password
"
)
title
:
"
Updating password
"
},
verifyEmail
:
{
title
:
gettext
(
"
Verifying email address
"
)
title
:
"
Verifying email address
"
},
xhrError
:
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment