Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
30 lines (23 sloc) 553 Bytes
import { count } from './stores.js';
import Incrementer from './Incrementer.svelte';
import Decrementer from './Decrementer.svelte';
import Resetter from './Resetter.svelte';
let count_value;
const unsubscribe = count.subscribe(value => {
count_value = value;
import './i18n.js'
import { _, locale } from 'svelte-i18n'
// Set the current locale to zh-TW
h1 {
color: blue;
<h1>{$_('cats', { n: count_value })}</h1>
You can’t perform that action at this time.