Skip to content

Commit

Permalink
Added Missing Translations and removed unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
JamarTG committed Nov 14, 2023
1 parent 1c93b1c commit ea181b1
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 6 deletions.
3 changes: 2 additions & 1 deletion public/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,8 @@
"goToStore": "Go to Plugin Store",
"enableEverything": "Enable Everything",
"noResultsFoundFor": "No results found for",
"OR": "OR"
"OR": "OR",
"sampleOrgSuccess": "Sample Organization Successfully Created"
},
"orgListCard": {
"admins": "Admins",
Expand Down
3 changes: 2 additions & 1 deletion public/locales/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@
"sampleOrgDuplicate": "Seule une organisation d'exemple est autorisée.",
"noOrgErrorDescription": "Veuillez créer une organisation via le tableau de bord",
"noResultsFoundFor": "Aucun résultat trouvé pour ",
"OR": "OU"
"OR": "OU",
"sampleOrgSuccess": "Organisation d'exemple créée avec succès"
},
"orgListCard": {
"admins": "Administrateurs",
Expand Down
3 changes: 2 additions & 1 deletion public/locales/hi.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@
"sampleOrgDuplicate": "केवल एक नमूना संगठन को अनुमति दी गई",
"noOrgErrorDescription": "कृपया डैशबोर्ड के माध्यम से एक संगठन बनाएं",
"noResultsFoundFor": "के लिए कोई परिणाम नहीं मिला ",
"OR": "या"
"OR": "या",
"sampleOrgSuccess": "सैंपल संगठन सफलतापूर्वक बनाया गया"
},
"orgListCard": {
"admins": "व्यवस्थापक",
Expand Down
3 changes: 2 additions & 1 deletion public/locales/sp.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@
"sampleOrgDuplicate": "Solo se permite una organización de muestra",
"noOrgErrorDescription": "Por favor, crea una organización a través del panel de control",
"noResultsFoundFor": "No se encontraron resultados para ",
"OR": "O"
"OR": "O",
"sampleOrgSuccess": "Organización de ejemplo creada exitosamente"
},
"orgListCard": {
"admins": "Administradores",
Expand Down
3 changes: 2 additions & 1 deletion public/locales/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@
"sampleOrgDuplicate": "只允许一个样本组织",
"noOrgErrorDescription": "请通过仪表板创建一个组织",
"noResultsFoundFor": "未找到结果 ",
"OR": "或者"
"OR": "或者",
"sampleOrgSuccess": "示例组织成功创建"
},
"orgListCard": {
"admins": "管理員",
Expand Down
2 changes: 1 addition & 1 deletion src/screens/OrgList/OrgList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ function orgList(): JSX.Element {
const triggerCreateSampleOrg = () => {
createSampleOrganization()
.then(() => {
toast.success(t('successMessage'));
toast.success(t('sampleOrgSuccess'));
window.location.reload();

Check warning on line 149 in src/screens/OrgList/OrgList.tsx

View check run for this annotation

Codecov / codecov/patch

src/screens/OrgList/OrgList.tsx#L146-L149

Added lines #L146 - L149 were not covered by tests
})
.catch(() => {
Expand Down

0 comments on commit ea181b1

Please sign in to comment.