Start localization without auto detecting
This commit is contained in:
+2
-1
@@ -10,6 +10,7 @@ import NewComment from './NewComment.js';
|
||||
import Moment from 'moment';
|
||||
import { useSnapshot } from 'valtio';
|
||||
import GlobalState from '../contexts/GlobalState.js';
|
||||
import i18n from "../i18nMessages.js";
|
||||
|
||||
let Post = (props) => {
|
||||
const gState = useSnapshot(GlobalState);
|
||||
@@ -72,7 +73,7 @@ let Post = (props) => {
|
||||
<Media content={post.content} postId={post._id} />
|
||||
</View> :
|
||||
<View>
|
||||
<Chip icon="new-releases" style={{ width: 100 }} >News</Chip>
|
||||
<Chip icon="new-releases" style={{ width: 100 }} >{i18n.t("message.news")}</Chip>
|
||||
<Text style={{ fontSize: 18 }}>{cleanContent}</Text>
|
||||
<Media content={post.content} />
|
||||
</View>
|
||||
|
||||
Reference in New Issue
Block a user