Comments (5)
Thank you so much for taking care of this issue. Yes, it seems it only works in the first scenario.
For now maybe we can do this:
- Use
v-html
for chart titles and explanation texts. - Use
漢字(カナ)
format for labels within graphs. - Use
漢字(カナ)
format footer link texts for now.
Meanwhile, let's check whether Vue-i18n supports raw HTML: https://kazupon.github.io/vue-i18n/guide/interpolation.html#slots-syntax-usage... If so, we can fix the footer links later. What do you think?
from covid-hyogo.
Thanks for Idea and reference URL.
I think too that we can put off footer till later.
About summary section, it is better to show hurikatna for summary when release easy japanese mode.
I'll continue to implement summary or date text refering vue-i18n/guide.
from covid-hyogo.
Thank you for the nice idea!
手伝ってくれてありがとうございます。
from covid-hyogo.
I try use ruby tag for "やさしい にほんご” mode.
I changed use 'v-html' , it works all language.
<h2>{{ $t("age.title") }}</h2>
changed
<h2 v-html="$t('age.title')"></h2>
And, If put explanation area on the out side of bar chart template, use ruby tag for chart explanation.
But I have no idea to use ruby tag inner a tag, like this code.
<i18n path="footer.dataFrom.text" tag="p">
<template v-slot:0>
<a :href="urls.spreadsheet">{{ $t("footer.dataFrom.spreadsheet") }}</a>
</template>
<template v-slot:1>
<a :href="urls.hyogo">{{ $t("footer.dataFrom.hyogoPage") }}</a>
</template>
</i18n>
from covid-hyogo.
This repo is also worth exploring...
https://github.com/hexenq/kuroshiro
from covid-hyogo.
Related Issues (8)
- Separate hospital beds and hotel beds HOT 3
- Check if the daily male/female/total for the previous day is correct HOT 1
- Breaking change: undisclosed gender
- Calculate map circle radius on zoom in/out
- Disclaimer for the map
- Information about Coockies/Google Analytics
- Compare chart - "capacity" between patient HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from covid-hyogo.