diff options
| author | Adam Soltys <[email protected]> | 2022-08-22 15:49:08 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2022-08-22 15:49:08 -0700 |
| commit | 0ebb60f986682ad8d3538c2fd1d708a861e0b1fb (patch) | |
| tree | 7a824114c5fd70fe42758d35d215fefdec8a7599 /src/components/Footer.svelte | |
| parent | b1843d46dd406f6f7a657ab680407644f096e2c3 (diff) | |
| download | coinos-ui-0ebb60f986682ad8d3538c2fd1d708a861e0b1fb.tar.gz coinos-ui-0ebb60f986682ad8d3538c2fd1d708a861e0b1fb.zip | |
migrate to sveltekit-i18n
Diffstat (limited to 'src/components/Footer.svelte')
| -rw-r--r-- | src/components/Footer.svelte | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/components/Footer.svelte b/src/components/Footer.svelte index e2acd993..a1173f74 100644 --- a/src/components/Footer.svelte +++ b/src/components/Footer.svelte @@ -1,6 +1,6 @@ <script> import { Icon } from '$comp'; - import { _ } from 'svelte-i18n'; + import { t } from '$lib/translations'; const followLinks = [ { url: 'https://twitter.com/coinoswallet', titleID: 'twitter' }, @@ -18,21 +18,21 @@ <Icon icon="logo" style="w-48 mx-auto md:mx-0" /> <div class="text-center md:text-left"> - <p class="font-semibold">{$_('footer.followUs')}</p> + <p class="font-semibold">{$t('footer.followUs')}</p> <ul class="mt-5 text-secondary space-y-3 font-medium"> {#each followLinks as link} <li> - <a href={link.url} target="_blank" rel="noreferrer">{$_('footer.' + link.titleID)}</a> + <a href={link.url} target="_blank" rel="noreferrer">{$t('footer.' + link.titleID)}</a> </li> {/each} </ul> </div> <div class="text-center md:text-left"> - <p class="font-semibold">{$_('footer.company')}</p> + <p class="font-semibold">{$t('footer.company')}</p> <ul class="mt-5 text-secondary space-y-3"> {#each companyLinks as link} - <li><a href={link.url}>{$_('footer.' + link.titleID)}</a></li> + <li><a href={link.url}>{$t('footer.' + link.titleID)}</a></li> {/each} </ul> </div> |
