Skip to content

Commit

Permalink
Merge pull request #521 from Arnei/fix-spelling-mistakes
Browse files Browse the repository at this point in the history
Fix minor spelling mistakes in utils.ts
  • Loading branch information
lkiesow authored Jun 4, 2024
2 parents 2f6c472 + 7b5944d commit 89e0580
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,13 +135,13 @@ export const isJson = (text: string) => {
};

/**
* Handles translation for assets with overrides or fallbackes in their
* Handles translation for assets with overrides or fallbacks in their
* translation as defined in Opencast documentation under
* /docs/guides/admin/docs/configuration/admin-ui/asset-upload.md
*
* Asset is expected to have a field "title" that contains a translation string
* t is the hook returned by i18next.useTranslation
* suffix further specifices the asset value if necessary, e.g. "SHORT" for "displayOverride.SHORT"
* suffix further specifies the asset value if necessary, e.g. "SHORT" for "displayOverride.SHORT"
*/
export const translateOverrideFallback = (asset: any, t: TFunction, suffix?: string) => {
let result = undefined;
Expand Down

0 comments on commit 89e0580

Please sign in to comment.