14 Commits

Author SHA1 Message Date
Aaron Suen
1bba71f80c Spelling things correctly is helpful 2021-03-09 13:53:23 -05:00
Aaron Suen
19e4a225e0 Don't translate player names
- Simplify wield item player owner display
- Don't try to translate player names
2021-03-09 07:51:03 -05:00
Aaron Suen
b4f3ffccfb Fix some translation registration issues 2020-10-05 22:10:47 -04:00
Aaron Suen
aa8d943ddb Warn about late translation informing
We want to start requiring translation informing to
happen at loadtime, so we can sort strings into
groups by mod, so we can (1) keep the base NC
locale data clean of optional mods, and (2) manage
translations for mods separately.
2020-09-27 09:27:37 -04:00
Aaron Suen
e0156b4742 Add profiler instrumentation metadata everywhere
N.B. the MT built-in profiler doesn't yet actually support reading
labels from bare-function registrations, so a builtin hack is
needed.
2020-06-15 07:21:39 -04:00
Aaron Suen
c69d0a1cff Infodump config, dump texture override template 2020-04-20 08:15:53 -04:00
Aaron Suen
27e9a218b0 Don't retranslate any mod's translated strings, not just ours. 2019-10-02 07:40:14 -04:00
Aaron Suen
310ce1bc6c Treat NodeCore as a unified thing.
- Collapse all nodecore "core" mods in the /mods listing, so it's
  easier to find the actual add-on mods.
- Parameterize in-game branding to make renaming derivatives just
  a little easier.
2019-09-07 09:08:57 -04:00
Aaron Suen
39dea8a2ae MAJOR: Code quality audit using luacheck.
- Removed lots of unused variables, a few shadowed identifiers.
- Removed a few sections of dead code.
2019-08-31 09:26:53 -04:00
Aaron Suen
fe2c153f9e Clean up all lua code style.
Formatting rules based on Paul Kulchenko's perl-based formatter...
http://notebook.kulchenko.com/programming/lua-beautifier-in-55-lines-of-perl
...using a single tab for indent.

Mostly pure whitespace changes.
2019-08-27 19:14:51 -04:00
Aaron Suen
aa1c5d860f Fix some warnings.
- Missing "local" in translation code.
- Super-long-standing warning about duplicate aliases via oldnames.
2019-08-27 07:31:45 -04:00
Aaron Suen
8a0319e7d1 Fix new player guide translations... 2019-08-26 01:01:58 -04:00
Aaron Suen
4d245b850b Fix lualocals. 2019-08-23 21:18:14 -04:00
Aaron Suen
28108e1e40 Add translation support, esp. for TouchTips.
Translations are currently by holistic strings, i.e.
no parameterization.  This may create some busy
work for translators, but gives them more freedom
to account for differences between languages.

A translation template file is written out to the world
path on game start, so translators have a seed to
work from.
2019-08-23 20:40:33 -04:00