diff --git a/.eslintrc b/.eslintrc index aad7e8fb7..9cadb556a 100644 --- a/.eslintrc +++ b/.eslintrc @@ -5,7 +5,7 @@ "eol-last": [2], "indent": [2, 4], "linebreak-style": [2, "unix"], - "max-len": [2, 120, 4], + "max-len": [2, 120, 4, {"ignoreUrls": true}], "no-trailing-spaces": [2, { "skipBlankLines": true }], "no-unused-vars": [2, {"args": "after-used", "varsIgnorePattern": "^_"}], "quotes": [2, "single"], diff --git a/languages.json b/languages.json index 465603484..2f7097efc 100644 --- a/languages.json +++ b/languages.json @@ -5,6 +5,7 @@ "ast": "Asturianu", "id": "Bahasa Indonesia", "ms": "Bahasa Melayu", + "be": "Беларуская", "bg": "Български", "ca": "Català", "cs": "Česky", diff --git a/src/components/forms/validations.jsx b/src/components/forms/validations.jsx index bd5099e05..113cd6fb4 100644 --- a/src/components/forms/validations.jsx +++ b/src/components/forms/validations.jsx @@ -1,4 +1,5 @@ var defaults = require('lodash.defaultsdeep'); +var intl = require('../../lib/intl.jsx'); var libphonenumber = require('google-libphonenumber'); var phoneNumberUtil = libphonenumber.PhoneNumberUtil.getInstance(); var React = require('react'); @@ -44,5 +45,5 @@ module.exports.validationHOCFactory = function (defaultValidationErrors) { }; module.exports.defaultValidationHOC = module.exports.validationHOCFactory({ - isDefaultRequiredValue: 'This field is required' + isDefaultRequiredValue: }); diff --git a/src/components/informationpage/informationpage.jsx b/src/components/informationpage/informationpage.jsx index da9585343..acc68da77 100644 --- a/src/components/informationpage/informationpage.jsx +++ b/src/components/informationpage/informationpage.jsx @@ -23,7 +23,9 @@ var InformationPage = React.createClass({
-

{this.props.title}

+

+ {this.props.title} +

diff --git a/src/components/navigation/www/navigation.jsx b/src/components/navigation/www/navigation.jsx index 314647a90..6950aa2b4 100644 --- a/src/components/navigation/www/navigation.jsx +++ b/src/components/navigation/www/navigation.jsx @@ -36,7 +36,8 @@ var Navigation = React.createClass({ }, getDefaultProps: function () { return { - session: {} + session: {}, + searchTerm: '' }; }, componentDidMount: function () { @@ -221,6 +222,7 @@ var Navigation = React.createClass({