Skip to content

Commit

Permalink
added translation for posts
Browse files Browse the repository at this point in the history
  • Loading branch information
anuragnegi000 committed Aug 28, 2024
1 parent c988096 commit efbf0d0
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 1 deletion.
3 changes: 3 additions & 0 deletions public/locales/fr/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,9 @@
"noOrgErrorTitle": "Organisations introuvables",
"noOrgErrorDescription": "Veuillez créer une organisation via le tableau de bord"
},
"posts": {
"title": "Messages"
},
"users": {
"title": "Rôles Talawa",
"joined_organizations": "Organisations rejointes",
Expand Down
3 changes: 3 additions & 0 deletions public/locales/hi/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,9 @@
"noOrgErrorTitle": "संगठन नहीं मिले",
"noOrgErrorDescription": "कृपया डैशबोर्ड के माध्यम से एक संगठन बनाएं"
},
"posts": {
"title": "पोस्ट्स"
},
"users": {
"title": "तलावा भूमिकाएँ",
"joined_organizations": "संगठनों से जुड़े",
Expand Down
3 changes: 3 additions & 0 deletions public/locales/sp/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,9 @@
"noOrgErrorTitle": "Organizaciones no encontradas",
"noOrgErrorDescription": "Por favor, crea una organización a través del panel de control"
},
"posts": {
"title": "Publicaciones"
},
"users": {
"title": "Roles Talawa",
"searchByName": "Buscar por nombre",
Expand Down
3 changes: 3 additions & 0 deletions public/locales/zh/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,9 @@
"noOrgErrorTitle": "未找到组织",
"noOrgErrorDescription": "请通过仪表板创建组织"
},
"posts": {
"title": "帖子"
},
"users": {
"title": "塔拉瓦角色",
"joined_organizations": "加入组织",
Expand Down
2 changes: 1 addition & 1 deletion src/screens/LoginPage/LoginPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const loginPage = (): JSX.Element => {

const [recaptchaToken, setRecaptchaToken] = useState<string | null>(null);
const [showTab, setShowTab] = useState<'LOGIN' | 'REGISTER'>('LOGIN');
const [role, setRole] = useState<'admin' | 'user'>('admin');
const [role, setRole] = useState<'admin' | 'user'>();
const [isInputFocused, setIsInputFocused] = useState(false);
const [signformState, setSignFormState] = useState({
signfirstName: '',
Expand Down

0 comments on commit efbf0d0

Please sign in to comment.