12 Commits

Author SHA1 Message Date
ChunkyProgrammer
a28bb3f0f5
Add some missing jsdoc comments, add jsdoc eslint plugin (#6048)
* Add some missing jsdoc comments, add jsdoc eslint plugin

* remove left over addition

Co-authored-by: absidue <48293849+absidue@users.noreply.github.com>

* move jsdoc eslint rule configuration

* use dash for list instead

* Enable some additional rules

* Apply suggestions from code review

Co-authored-by: PikachuEXE <git@pikachuexe.net>

---------

Co-authored-by: absidue <48293849+absidue@users.noreply.github.com>
Co-authored-by: PikachuEXE <git@pikachuexe.net>
2024-11-02 11:38:07 +01:00
absidue
f381f5c085
Switch from deprecated standard to neostandard in ESLint config (#5890)
* Switch from deprecated standard to neostandard in ESLint config

* Update neostandard from 0.11.6 to 0.11.7
2024-10-27 11:08:50 -04:00
ChunkyProgrammer
64d73f4abb
Add configurations for linting scripts and add global ignores (#5843)
* Add configurations for linting scripts and add global ignores

* optimize eslint ignore patterns

* remove `node_modules` since it's already ignored by default

* implement code suggestions

Co-Authored-By: PikachuEXE <1018543+PikachuEXE@users.noreply.github.com>

---------

Co-authored-by: PikachuEXE <1018543+PikachuEXE@users.noreply.github.com>
2024-10-10 19:54:07 +02:00
absidue
b892fb0c30
Rewrite locale file updating to be more Vue 3 friendly (#5660) 2024-09-09 08:50:51 -04:00
absidue
61820b1bcf
Implement hot reloading for the locale files during development (#5050)
* Stop using deprecated additionalAssets hook

* Watch locale files without webpack-watch-external-files-plugin

* Use Maps instead of objects

* Use webpack's file timestamps instead of checking the files ourselves

* Add hot reloading

* Inject hot reload code snippet
2024-05-14 16:35:50 +00:00
Jason
baa7b014eb
Fix caption sorting & label (#4513)
* Fix auto-translated captions not being ordered properly in non-English languages

* Fix locale showing as 'locale name' in captions list
2024-01-06 11:25:16 +01:00
PikachuEXE
342444f433
Ensure updated locales are auto-reloaded in electron renderer dev mode (#4066)
* * Ensure updated locales are auto-reloaded in electron renderer dev mode

* * Add watch external file plugin in dev mode only

* * Make changes from code review
2023-10-25 21:36:35 +00:00
absidue
faa35d35ef
Fix locales getting unnecessarily reprocessed for incremental builds (#3893) 2023-08-18 14:08:38 +00:00
absidue
30e9c0ce77
Remove empty translation strings at build time (#3361) 2023-04-01 14:52:49 +00:00
absidue
b33af1c812
Make the process locales plugin properly async (#2940) 2022-12-11 08:42:35 +01:00
Emma
b453b01b81
Adding web support to dev-runner (#2729)
* Adding ytpl and ytsr as externals in web.config

This should get rid of those two warnings that were
showing up on web builds

* Reducing discrepancies between dev and prod in web builds

* Removing  a line which would prevent hot reloading

`this.locales` is retained between hot reloads, so it shouldn't
be set to `null`.

* Adding a new flag to the dev runner

Adding a new command: `run dev:web`

* Running `loadLocale` in development web builds

* Adding a line back which was removed

* Removing a line which was added
2022-10-18 08:50:32 -04:00
absidue
ac4cc4a611
Compress and lazy load locales (#2603)
* Compress and lazy load locales

* Remove index.html when loading the locales on the web

* Fix locale output path for web build
2022-09-24 11:06:50 -04:00