Comments (5)
Good ideas!
from flatris.
You can go here to check my Chinese version, but if you want to make Chinese version, you need to change the display of some words, such as "Ready" in Chinese, which corresponds to "准备" or "已准备". Using "准备" alone generally has certain ambiguity, so I use "已准备". But if you use "已准备", the text display will be very strange.
This is because the text size you set here is 1.5em (as if, I forgot),you need to adjust the font size to 0.8em, and at the same time, you need to split "已" and "准备" with "<br />",and also need to adjust the percentage of absolute positioning "top" value.
For example, a sentence in English may be in order to be smooth in Chinese , need two or more sentences. But it's easy to solve. I'm preparing for the exam recently, and I didn't look at your code carefully. If necessary, I can participate in some work.
PS:One of them is translated as "中文汉化由高玩梁制作". This sentence does not correspond to the original sentence. This sentence means that this Chinese version is provided by me (/▽\). There is also this sentence: "如果对手中途离开,TA的方块会卡住,回来了就会继续,你可以通过这个来确定要不要继续和TA玩", which is to show that the shadow of the opponent will stagnate when he is offline.I hope you can pay attention to it. The other sentences basically correspond to the original one by one.
from flatris.
You can go here to check my Chinese version
Very nice, do you also have a live demo deployed somewhere?
This is because the text size you set here is 1.5em (as if, I forgot),you need to adjust the font size to 0.8em
I see. It makes sense, because the English texts I chose are meant to fit the design perfectly. But this thinking doesn't scale easily to multiple language. Given that Flatris has limited text, however, I think we can design a language map where we define the value and font size for each text label. This way we continue to fit the texts very nicely in the design. Not sure if the font size should be defined for each text label, or globally for a language.
which is to show that the shadow of the opponent will stagnate when he is offline.I hope you can pay attention to it
Yeah this is a good idea but a separate issue. To simplify we should split this issue into two and handle them separately.
from flatris.
I've divided the issue into two parts.
For the Chinese version of the online demo, you can see it here
from flatris.
Hehe, I don't know Chinese but the homepage looks cooler than the English one! 😆
from flatris.
Related Issues (20)
- Remind me that my opponent left the game
- Error code 127 in yarn testing
- Reference as standalone React Cosmos example HOT 1
- Drop shadow & a more sudden drop
- Error with command: npm install
- Error with command: npm start
- Missing license information? HOT 3
- windows user HOT 2
- Add grid to the board HOT 1
- Switch position of 2 buttons: Rotate and Drop
- Going too fast too suddenly HOT 7
- backend server HOT 6
- Zoom on safari iphone HOT 1
- Does not works offline. New game is not a PWA.
- How do i get index.html? HOT 1
- heroku compatabilty HOT 1
- Drop button does not work well on qtwebview based browsers
- Can I install it on my own server? HOT 7
- Heroku HOT 1
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 flatris.