mirror of
https://github.com/doublespeakgames/adarkroom.git
synced 2026-05-28 00:01:54 +08:00
92f7cf683e8a268ed577ef3fb865f792422d6ac5
Legends on boxes and lists are currently added via CSS and as stylesheets cannot be localised, translated strings rely upon an additional inline CSS. This commit inserts localised legends as "data-legend" attributes on proper elements, and then this attribute is shown by stylesheet rule content: attr(data-legend). No need of localisation script and more compact CSS rules.
A Dark Room
"awake. head throbbing. vision blurry. come light the fire."
a minimalist text adventure game for your browser
| Available Languages | |
|---|---|
| Chinese | English |
| French | German |
| Italian | Japanese |
| Korean | Norwegian |
| Polish | Portuguese |
| Russian | Spanish |
| Swedish | Turkish |
| Ukrainian | Vietnamese |
or play the latest on GitHub
Description
Languages
JavaScript
92.3%
CSS
5.5%
HTML
1.9%
Python
0.3%
