{this.getApplications()}
@@ -120,4 +120,4 @@ let APISettings = React.createClass({
}
});
-export default APISettings;
\ No newline at end of file
+export default APISettings;
diff --git a/js/components/ascribe_settings/webhook_settings.js b/js/components/ascribe_settings/webhook_settings.js
index 4928c408..0f772829 100644
--- a/js/components/ascribe_settings/webhook_settings.js
+++ b/js/components/ascribe_settings/webhook_settings.js
@@ -131,13 +131,13 @@ let WebhookSettings = React.createClass({
defaultExpanded={this.props.defaultExpanded}>
- Webhooks allow external services to receive notifications from ascribe.
- Currently we support webhook notifications when someone transfers, consigns, loans or shares
- (by email) a work to you.
+ {getLangText('Webhooks allow external services to receive notifications from ascribe. ' +
+ 'Currently we support webhook notifications when someone transfers, consigns, ' +
+ 'loans or shares (by email) a work to you.')}
- To get started, simply choose the prefered action that you want to be notified upon and supply
- a target url.
+ {getLangText('To get started, simply choose the prefered action that you want to be ' +
+ 'notified upon and supply a target url.')}
diff --git a/js/components/password_reset_container.js b/js/components/password_reset_container.js
index 773e1a63..cc8be9af 100644
--- a/js/components/password_reset_container.js
+++ b/js/components/password_reset_container.js
@@ -126,7 +126,7 @@ let PasswordResetForm = React.createClass({
handleSuccess() {
this.history.push('/collection');
- const notification = new GlobalNotificationModel(getLangText('password successfully updated'), 'success', 10000);
+ const notification = new GlobalNotificationModel(getLangText('Password successfully updated'), 'success', 10000);
GlobalNotificationActions.appendGlobalNotification(notification);
},
diff --git a/js/components/whitelabel/prize/prize_routes.js b/js/components/whitelabel/prize/prize_routes.js
index 8d380222..79b64f29 100644
--- a/js/components/whitelabel/prize/prize_routes.js
+++ b/js/components/whitelabel/prize/prize_routes.js
@@ -3,6 +3,17 @@
import React from 'react';
import { Route, IndexRoute } from 'react-router';
+import { ProxyHandler, AuthRedirect } from '../../../components/ascribe_routes/proxy_handler';
+import { AuthPrizeRoleRedirect } from './portfolioreview/components/pr_routes/pr_proxy_handler';
+
+// General components
+import EditionContainer from '../../ascribe_detail/edition_container';
+import LogoutContainer from '../../logout_container';
+import PasswordResetContainer from '../../password_reset_container';
+import CoaVerifyContainer from '../../coa_verify_container';
+import ErrorNotFoundPage from '../../error_not_found_page';
+
+import SPApp from './simple_prize/prize_app';
import SPLanding from './simple_prize/components/prize_landing';
import SPLoginContainer from './simple_prize/components/prize_login_container';
import SPSignupContainer from './simple_prize/components/prize_signup_container';
@@ -10,7 +21,6 @@ import SPRegisterPiece from './simple_prize/components/prize_register_piece';
import SPPieceList from './simple_prize/components/prize_piece_list';
import SPPieceContainer from './simple_prize/components/ascribe_detail/prize_piece_container';
import SPSettingsContainer from './simple_prize/components/prize_settings_container';
-import SPApp from './simple_prize/prize_app';
import SluicePieceContainer from './sluice/components/sluice_detail/sluice_piece_container';
@@ -18,14 +28,7 @@ import PRApp from './portfolioreview/pr_app';
import PRLanding from './portfolioreview/components/pr_landing';
import PRRegisterPiece from './portfolioreview/components/pr_register_piece';
-import EditionContainer from '../../ascribe_detail/edition_container';
-import LogoutContainer from '../../logout_container';
-import PasswordResetContainer from '../../password_reset_container';
-import CoaVerifyContainer from '../../coa_verify_container';
-import ErrorNotFoundPage from '../../error_not_found_page';
-
-import { ProxyHandler, AuthRedirect } from '../../../components/ascribe_routes/proxy_handler';
-import { AuthPrizeRoleRedirect } from './portfolioreview/components/pr_routes/pr_proxy_handler';
+import { getLangText } from '../../../utils/lang_utils';
const ROUTES = {
@@ -57,12 +60,12 @@ const ROUTES = {