« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/data/language.js
AgeCommit message (Collapse)Author
21 hourslanguage: drop externalLinkSpec prop, just import directly preview(quasar) nebula
this lets us totally drop "internal" but exported function initializeLanguageObject - we'll still need to provide the external link spec in essentially the exact same way in the future, when external link spec is dynamic, but presently there's no need for this function or providing at all.
22 hourscontent: drop 'he' module(quasar) nebula
2024-12-01language: unflattenLanguageSpec: fix dropping own nodes early(quasar) nebula
recovers many strings!
2024-12-01language: minor style cleanup(quasar) nebula
2024-12-01language: unflattenLanguageSpec: simplify {_: ...} tidying(quasar) nebula
cleaner solution than "no lonely '_' keys"
2024-12-01language: unflattenLanguageSpec: fix a problem...(quasar) nebula
very descriptive makes one string unflatten that wasn't appearing before (trackPage.socialEmbed.body.withArtists.withCoverArtists)
2024-11-30language: unflattenLanguageSpec: no lonely '_' keys(quasar) nebula
This might be a crude implementation, but keeps language results from including {_: 'some string...'} objects that don't have any other keys, even when preventing so causes a mismatch with the reference spec/layout. (Of course, the "mismatch" is only presentationally and not semantically, and we already make other presentational differences because we output JSON and not YAML in this function.)
2024-02-19language: unflattenLanguageSpec(quasar) nebula
Used by hsmusic-lang utils.
2024-02-16sugar: move many functions into new #aggregate import(quasar) nebula
2023-11-24data, content: extract external link parsing into nicer interface(quasar) nebula
2023-11-09upd8, data, test: export internal strings path cleanly, fix tests(quasar) nebula
2023-11-08Merge branch 'language-reload' into language-yaml(quasar) nebula
2023-11-07upd8: add --no-language-reloading option, default for static-build(quasar) nebula
2023-11-06data: language: flatten language spec, allow for structuring(quasar) nebula
2023-11-06data: language: basic support for loading language from YAML(quasar) nebula
2023-11-06data: language: nicer language labelling for successive errors(quasar) nebula
2023-11-06upd8: basic watchLanguageFile integration for internal language(quasar) nebula
2023-11-06data: language: basic watchLanguageFile implementation(quasar) nebula
2023-11-06data: more language loading refactoring(quasar) nebula
2023-11-06data: tidy language loading code, add processLanguageSpec(quasar) nebula
2023-08-19clean up imports & miscellaneous metastructures across codebase(quasar) nebula
2022-12-07extract processLanguageFile from upd8.js, fix building(quasar) nebula