Steve Repsher
5707ca0016
Fix English only translations build ( #21245 )
2024-07-02 15:13:04 +02:00
Steve Repsher
3eea7dc6cd
Use valid locale for translation test ( #20899 )
2024-05-29 15:44:56 +02:00
Steve Repsher
cdf64ccdaa
Refactor translation merges to use native transform stream ( #20666 )
2024-05-06 15:17:01 +02:00
renovate[bot]
b2797ab8da
Update dependency gulp to v5 ( #20601 )
...
* Update dependency gulp to v5
* Fix premature cloasing of hash stream
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Steve Repsher <steverep@users.noreply.github.com>
2024-05-01 15:13:28 +02:00
Steve Repsher
e22e3e88a0
Speed up and simplify translations build ( #19988 )
...
* Speed up and simplify translations build
- Remove use of gulp-flatmap for merges (wasted input) and just loop over translation files.
- Parse and buffer master only once for all merges.
- Remove lokalise key reference transform from non-English files. This is already done by Lokalise when they are downloaded.
- Remove tabs from merged output to minimize buffer sizes.
- Pipe merges to a hashing stream, removing extra tasks and intermediate file I/O.
- Pipe hashed files to a single custom asynchronous transform stream to fragmentize the files. It expands the stream to push a new file for each fragment.
- Incorporate flattening into fragmentization.
- Delete entire ui.panel key for base translation (instead of leaving an empty object).
- Optimize flatten method to stop copying output over and over.
- Convert empty and test filters to JSON.parse() revivers for simplicity and better performance.
- Incorporate supervisor builds into main tasks using a simple toggle (i.e. remove duplicate code).
- Funcify local tasks and simplify exported tasks.
- Incorporate test metadata task into a simplified metadata task.
* Fix Lokalise key reference link
Co-authored-by: Simon Lamon <32477463+silamon@users.noreply.github.com>
---------
Co-authored-by: Simon Lamon <32477463+silamon@users.noreply.github.com>
2024-04-12 12:49:18 +02:00
Bram Kragten
979085a9de
Fix supervisor dev build ( #19266 )
2024-01-03 20:35:54 +01:00
Steve Repsher
294df396f4
Remove test language from production (really) ( #18137 )
2023-10-09 14:40:06 +02:00
Steve Repsher
edcdc865c4
Remove test language from production ( #17507 )
2023-08-07 11:54:40 +02:00
Steve Repsher
586079917d
Convert remaining gulp modules to ESM ( #16430 )
2023-05-08 17:43:29 +02:00
Steve Repsher
1f1898fa46
Make module types explicit and convert some to ESM ( #15964 )
2023-03-30 11:23:43 +02:00
dependabot[bot]
014ae06e85
Bump del from 4.1.1 to 7.0.0 ( #15120 )
...
* Bump del from 4.1.1 to 7.0.0
Bumps [del](https://github.com/sindresorhus/del ) from 4.1.1 to 7.0.0.
- [Release notes](https://github.com/sindresorhus/del/releases )
- [Commits](https://github.com/sindresorhus/del/compare/v4.1.1...v7.0.0 )
---
updated-dependencies:
- dependency-name: del
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* Deduplicate dependencies
* Adjust to ESM-only and API changes
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Steve Repsher <steverep@users.noreply.github.com>
2023-01-18 18:21:41 +00:00
Steve Repsher
ee6f97b802
Fetch nightly translations during build ( #13724 )
...
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2022-11-29 19:33:43 +01:00
Bram Kragten
aa831a9adf
bump marked and flatmap ( #11814 )
2022-02-23 22:11:13 +01:00
Bram Kragten
257e60a2b1
Don't bundle locale data, but add to static ( #10119 )
2021-10-01 07:58:02 -07:00
Joakim Sørensen
abbfe7200a
Fix supervisor dev translations ( #10113 )
2021-09-30 09:01:36 -07:00
Bram Kragten
2bddd151eb
Don't recreate translation meta in watch mode ( #9909 )
2021-08-30 13:13:47 -07:00
Joakim Sørensen
bea20d0495
🌐 Add MVP for translation in the Supervisor panel ( #8425 )
...
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2021-03-02 00:37:39 +01:00
Bram Kragten
54ec81b67d
Fix en-gb translations ( #8502 )
...
Renamed lang key in lokalise
2021-03-01 22:48:36 +01:00
Paulus Schoutsen
875142373e
Remove unused files and automate translation fragments ( #7764 )
2020-11-21 22:44:44 +01:00
Rob McCann
3dedbc5457
Remove minification from translations to reduce build time by 1.5mins ( #7552 )
2020-10-30 15:36:52 +01:00
Bram Kragten
2d646da97f
Fix cast navigation on none default dashboard ( #5719 )
2020-05-06 09:30:18 -07:00
Paulus Schoutsen
7c6ba1a782
Translation fixes ( #5634 )
2020-04-26 21:09:05 +02:00
Paulus Schoutsen
82442bb5ec
Fix cast translations ( #5582 )
2020-04-21 15:02:00 -07:00
Paulus Schoutsen
659da7bf80
Update translations
2020-04-18 23:01:40 -07:00
Bram Kragten
af6ebea4a3
Fix translations in production builds ( #5192 )
...
* Fix translations in production builds
* Make env functions
2020-03-13 10:19:32 -07:00
Bram Kragten
d392695ab7
Recreate translations when changed on dev ( #5042 )
2020-03-02 07:55:16 -08:00
Paulus Schoutsen
d74fe6ed52
Update translation hashing ( #5025 )
...
* Update translation hashing
* Move gulp-rename
2020-03-02 11:36:00 +01:00
Bram Kragten
142175c6ab
Update lokalise cli to version 2 + fix replacing localise vars
2019-11-09 23:47:58 +01:00
Bram Kragten
3927eb53ac
Fix translations ( #3626 )
2019-09-05 06:53:27 -07:00
Bram Kragten
15564a1b26
Don't allow overwrite of english lang ( #3590 )
2019-09-03 10:26:04 -07:00
Paulus Schoutsen
8238b700b0
Update translations uno mas
2019-07-15 13:38:44 -07:00
Paulus Schoutsen
7cfdc24a8c
Fix test translations ( #3339 )
2019-07-10 08:17:41 -07:00
Paulus Schoutsen
60551168a2
Update demo ( #3292 )
...
* Update demo
* Kill homebridge hidden
* Add missing air translation
* Hide demo card with localStorage.hide_demo_card
* adjust size of demo card if hidden
* disable lint rule
2019-06-20 23:40:56 -07:00
Bram Kragten
d10a0b3b6c
Update translations.js ( #3219 )
2019-05-26 20:59:52 -07:00
Bram Kragten
642ba1adc3
Create dummy translation on dev ( #3213 )
2019-05-23 13:16:24 -07:00
Paulus Schoutsen
6c41c7b1ab
Gulpify build pipeline ( #3145 )
...
* Gulpify build pipeline
* Update build frontend script
* Fixes
* Limit service worker to latest build
* Use shorthand
* Fix hassio build
2019-05-02 11:35:46 -07:00