Skip to content

Commit

Permalink
fix spanish translation
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanfbrito committed Jan 18, 2024
1 parent 56a6f70 commit bfc189d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions src/i18n/resources.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,11 @@ import type { Resource } from 'i18next';
export default {
'de-DE': (): Promise<Resource> => import('./de-DE.i18n.json'),
'en': (): Promise<Resource> => import('./en.i18n.json'),
'es': (): Promise<Resource> => import('./es.i18n.json'),
'fi': (): Promise<Resource> => import('./fi.i18n.json'),
'fr': (): Promise<Resource> => import('./fr.i18n.json'),
'hu': (): Promise<Resource> => import('./hu.i18n.json'),
'it-IT': (): Promise<Resource> => import('./it-IT.i18n.json'),
'ja': (): Promise<Resource> => import('./ja.i18n.json'),
'pl': (): Promise<Resource> => import('./pl.i18n.json'),
'pt-BR': (): Promise<Resource> => import('./pt-BR.i18n.json'),
Expand Down
2 changes: 1 addition & 1 deletion src/servers/supportedVersions/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ export const getExpirationMessageTranslated = (
const params = {
instance_version: serverVersion,
instance_ws_name: serverName,
instanceDomain: serverUrl,
instance_domain: serverUrl,
remaining_days: moment(expiration).diff(new Date(), 'days'),
...message?.params,
};
Expand Down
2 changes: 1 addition & 1 deletion src/ui/components/SupportedVersionDialog/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export const SupportedVersionDialog: FC = () => {
supported?.i18n,
supported.message,
supported.expiration,
getLanguage ?? 'en',
getLanguage,
server.title,
server.url,
server.version
Expand Down

0 comments on commit bfc189d

Please sign in to comment.