Hardcoded ASCII strings: Difference between revisions
(→Default font: TH16 result screen season strings) |
(+ TH16.5 day names in replay menu (OK, now we're *actually* done with this game here)) |
||
Line 133: | Line 133: | ||
|tl=<translate><!--T:th16_ascii_score_wt--> | |tl=<translate><!--T:th16_ascii_score_wt--> | ||
Wt</translate>}} | Wt</translate>}} | ||
{{StringDef/Footer}} | |||
=== {{lang|en|{{GameLabel|th165}}}} === | |||
<translate>The game provides enough space to the right for longer translations of these, but make sure to then also provide the correct number of '-' characters in <tt>th165_ascii_replay_empty</tt> (should be the number of characters in your longest translated string).</translate> | |||
{{StringDef/Header/ASCII}} | |||
{{StringDef | |||
|ascii=y | |||
|id=th165_ascii_replay_empty | |||
|tl=<translate><!--T:th165_ascii_replay_empty--> | |||
No.%.2d ------------ --/--/-- ---------</translate>}} | |||
{{StringDef | |||
|ascii=y | |||
|id=th165_ascii_replay_sun | |||
|tl=<translate><!--T:th165_ascii_replay_sun--> | |||
Sun</translate>}} | |||
{{StringDef | |||
|ascii=y | |||
|id=th165_ascii_replay_mon | |||
|tl=<translate><!--T:th165_ascii_replay_mon--> | |||
Mon</translate>}} | |||
{{StringDef | |||
|ascii=y | |||
|id=th165_ascii_replay_tue | |||
|tl=<translate><!--T:th165_ascii_replay_tue--> | |||
Tue</translate>}} | |||
{{StringDef | |||
|ascii=y | |||
|id=th165_ascii_replay_wed | |||
|tl=<translate><!--T:th165_ascii_replay_wed--> | |||
Wed</translate>}} | |||
{{StringDef | |||
|ascii=y | |||
|id=th165_ascii_replay_thu | |||
|tl=<translate><!--T:th165_ascii_replay_thu--> | |||
Thu</translate>}} | |||
{{StringDef | |||
|ascii=y | |||
|id=th165_ascii_replay_fri | |||
|tl=<translate><!--T:th165_ascii_replay_fri--> | |||
Fri</translate>}} | |||
{{StringDef | |||
|ascii=y | |||
|id=th165_ascii_replay_sat | |||
|tl=<translate><!--T:th165_ascii_replay_sat--> | |||
Sat</translate>}} | |||
{{StringDef | |||
|ascii=y | |||
|id=th165_ascii_replay_sun2 | |||
|tl=<translate><!--T:th165_ascii_replay_sun2--> | |||
2nd Sun</translate>}} | |||
{{StringDef | |||
|ascii=y | |||
|id=th165_ascii_replay_mon2 | |||
|tl=<translate><!--T:th165_ascii_replay_mon2--> | |||
2nd Mon</translate>}} | |||
{{StringDef | |||
|ascii=y | |||
|id=th165_ascii_replay_tue2 | |||
|tl=<translate><!--T:th165_ascii_replay_tue2--> | |||
2nd Tue</translate>}} | |||
{{StringDef | |||
|ascii=y | |||
|id=th165_ascii_replay_wed2 | |||
|tl=<translate><!--T:th165_ascii_replay_wed2--> | |||
2nd Wed</translate>}} | |||
{{StringDef | |||
|ascii=y | |||
|id=th165_ascii_replay_thu2 | |||
|tl=<translate><!--T:th165_ascii_replay_thu2--> | |||
2nd Thu</translate>}} | |||
{{StringDef | |||
|ascii=y | |||
|id=th165_ascii_replay_fri2 | |||
|tl=<translate><!--T:th165_ascii_replay_fri2--> | |||
2nd Fri</translate>}} | |||
{{StringDef | |||
|ascii=y | |||
|id=th165_ascii_replay_sat2 | |||
|tl=<translate><!--T:th165_ascii_replay_sat2--> | |||
2nd Sat</translate>}} | |||
{{StringDef | |||
|ascii=y | |||
|id=th165_ascii_replay_sun3 | |||
|tl=<translate><!--T:th165_ascii_replay_sun3--> | |||
3rd Sun</translate>}} | |||
{{StringDef | |||
|ascii=y | |||
|id=th165_ascii_replay_mon3 | |||
|tl=<translate><!--T:th165_ascii_replay_mon3--> | |||
3rd Mon</translate>}} | |||
{{StringDef | |||
|ascii=y | |||
|id=th165_ascii_replay_tue3 | |||
|tl=<translate><!--T:th165_ascii_replay_tue3--> | |||
3rd Tue</translate>}} | |||
{{StringDef | |||
|ascii=y | |||
|id=th165_ascii_replay_wed3 | |||
|tl=<translate><!--T:th165_ascii_replay_wed3--> | |||
3rd Wed</translate>}} | |||
{{StringDef | |||
|ascii=y | |||
|id=th165_ascii_replay_thu3 | |||
|tl=<translate><!--T:th165_ascii_replay_thu3--> | |||
3rd Thu</translate>}} | |||
{{StringDef | |||
|ascii=y | |||
|id=th165_ascii_replay_fri3 | |||
|tl=<translate><!--T:th165_ascii_replay_fri3--> | |||
3rd Fri</translate>}} | |||
{{StringDef | |||
|ascii=y | |||
|id=th165_ascii_replay_sat3 | |||
|tl=<translate><!--T:th165_ascii_replay_sat3--> | |||
3rd Sat</translate>}} | |||
{{StringDef | |||
|ascii=y | |||
|id=th165_ascii_replay_diary | |||
|tl=<translate><!--T:th165_ascii_replay_diary--> | |||
Diary</translate>}} | |||
{{StringDef/Footer}} | {{StringDef/Footer}} |
Revision as of 22:20, 11 August 2018
These strings are rendered with the glyphs in ascii.anm, and are thus limited to the English alphabet (A-Z), 0-9 and a number of special characters. The server-side parser ensures this limit and tries to transliterate characters where possible. While it would be possible to upload a custom ascii.png for your language that replaces unneeded glyphs with custom letters, this is not recommended - it would also affect player names in score and replay lists. Also, you need to use non-breaking spaces ( ) to pad any of these strings with spaces at the beginning or the end. |
Special font
ID | Text |
---|---|
th13_ascii_spell_score |
SCORE %8d0 %4d/%4d |
th13_ascii_spell_unknown |
SCORE 00 ----/---- |
th13_ascii_spell_game |
GAME MODE %4d/%4d |
th14_ascii_bonus |
BONUS %.1f |
th14_ascii_no_bonus |
NO BONUS |
Default font
ID | Text |
---|---|
th07 MAX |
MAX (Displayed on the power gauge at maximum power.) |
Stages
ID | Text |
---|---|
th10_ascii_stage_1 |
Stage 1 |
th10_ascii_stage_2 |
Stage 2 |
th10_ascii_stage_3 |
Stage 3 |
th10_ascii_stage_4 |
Stage 4 |
th10_ascii_stage_5 |
Stage 5 |
th10_ascii_stage_6 |
Stage 6 |
th10_ascii_stage_clear |
Clear |
High scores
ID | Text |
---|---|
th10_ascii_score_empty |
%2d %s %9ld%d ----/--/-- --:-- Stage - ---% |
th10_ascii_ranking |
Score Ranking!! |
th13_ascii_credit |
Credit %d |
Hidden Star in Four Seasons
ID | Text |
---|---|
th16_ascii_score_empty |
%2d %s %9ld%d ----/--/-- --:-- Season Stage - ---%% |
th16_ascii_score_spring |
Spring |
th16_ascii_score_summer |
Summer |
th16_ascii_score_autumn |
Autumn |
th16_ascii_score_winter |
Winter |
th16_ascii_score_sp |
Sp |
th16_ascii_score_sm |
Sm |
th16_ascii_score_at |
At |
th16_ascii_score_wt |
Wt |
Violet Detector
The game provides enough space to the right for longer translations of these, but make sure to then also provide the correct number of '-' characters in th165_ascii_replay_empty (should be the number of characters in your longest translated string).
ID | Text |
---|---|
th165_ascii_replay_empty |
No.%.2d ------------ --/--/-- --------- |
th165_ascii_replay_sun |
Sun |
th165_ascii_replay_mon |
Mon |
th165_ascii_replay_tue |
Tue |
th165_ascii_replay_wed |
Wed |
th165_ascii_replay_thu |
Thu |
th165_ascii_replay_fri |
Fri |
th165_ascii_replay_sat |
Sat |
th165_ascii_replay_sun2 |
2nd Sun |
th165_ascii_replay_mon2 |
2nd Mon |
th165_ascii_replay_tue2 |
2nd Tue |
th165_ascii_replay_wed2 |
2nd Wed |
th165_ascii_replay_thu2 |
2nd Thu |
th165_ascii_replay_fri2 |
2nd Fri |
th165_ascii_replay_sat2 |
2nd Sat |
th165_ascii_replay_sun3 |
3rd Sun |
th165_ascii_replay_mon3 |
3rd Mon |
th165_ascii_replay_tue3 |
3rd Tue |
th165_ascii_replay_wed3 |
3rd Wed |
th165_ascii_replay_thu3 |
3rd Thu |
th165_ascii_replay_fri3 |
3rd Fri |
th165_ascii_replay_sat3 |
3rd Sat |
th165_ascii_replay_diary |
Diary |