File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ export const ACTION_TYPES = {
66
77export const setLocale = locale => async dispatch => {
88 if ( Object . keys ( TranslatorContext . context . translations ) . indexOf ( locale ) === - 1 ) {
9- // const i18n = require(`../../../i18n/${locale}.json`);
10- TranslatorContext . registerTranslations ( locale , { } ) ;
9+ const i18n = require ( `../../../i18n/${ locale } .json` ) ;
10+ TranslatorContext . registerTranslations ( locale , i18n ) ;
1111 }
1212 dispatch ( {
1313 type : ACTION_TYPES . SET_LOCALE ,
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ const profileMenuItemsAuthenticated = (
1212 < span className = "ml-2" > Settings</ span >
1313 </ DropdownItem >
1414 < DropdownItem tag = { Link } to = "/profile/password" >
15- < FontAwesomeIcon icon = "clock " />
15+ < FontAwesomeIcon icon = "lock " />
1616 < span className = "ml-2" > Password</ span >
1717 </ DropdownItem >
1818 < DropdownItem tag = { Link } to = "/logout" >
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ import { faHeart } from '@fortawesome/free-solid-svg-icons/faHeart';
1414import { faList } from '@fortawesome/free-solid-svg-icons/faList' ;
1515import { faTasks } from '@fortawesome/free-solid-svg-icons/faTasks' ;
1616import { faBook } from '@fortawesome/free-solid-svg-icons/faBook' ;
17- import { faClock } from '@fortawesome/free-solid-svg-icons/faClock ' ;
17+ import { faLock } from '@fortawesome/free-solid-svg-icons/faLock ' ;
1818import { faSignInAlt } from '@fortawesome/free-solid-svg-icons/faSignInAlt' ;
1919import { faSignOutAlt } from '@fortawesome/free-solid-svg-icons/faSignOutAlt' ;
2020import { faThList } from '@fortawesome/free-solid-svg-icons/faThList' ;
@@ -51,7 +51,7 @@ export const loadIcons = () => {
5151 faTasks ,
5252 faBook ,
5353 faHdd ,
54- faClock ,
54+ faLock ,
5555 faSignInAlt ,
5656 faSignOutAlt ,
5757 faWrench ,
You can’t perform that action at this time.
0 commit comments