Commit Graph

45 Commits (7696973932f2fec801325d783ba8f715b925fdde)

Author SHA1 Message Date
Marc Mueller aa16a9d707
Add empty line after module docstring (3) (#112750) 2024-03-08 20:38:34 +01:00
Marc Mueller a6b842f818
Add empty line after module docstring (2) [other] (#112738) 2024-03-08 19:16:38 +01:00
Marc Mueller 19ab3d6daf
Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
Erik Montnemery d5af6c595d
Fix runaway regex in translations.develop (#102386)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-10-23 12:34:32 +02:00
Erik Montnemery 164872e1af
Improve error messages from translation script (#102098)
Co-authored-by: Robert Resch <robert@resch.dev>
2023-10-22 23:45:27 +02:00
Franck Nijhof 44acc88365
Update Lokalise CLI to v2.6.8 (#101297) 2023-10-02 23:01:30 +02:00
Ville Skyttä 3094991236
Upgrade ruff to 0.0.285 (#98647) 2023-08-19 08:17:17 -04:00
Paulus Schoutsen 7859be6481
Add deduplicate translations script (#96384)
* Add deduplicate script

* Fix forecast_solar incorrect key with space

* Fix utf-8

* Do not create references to other arbitrary other integrations

* Add commented code to only allow applying to referencing integrations

* Tweak

* Bug fix

* Add command line arg for limit reference

* never suggest to update common keys

* Output of script

* Apply suggestions from code review

Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>

---------

Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>
2023-07-13 11:52:50 -04:00
epenet d1b8f2987c
Fix incorrect regex in translation script (#91536) 2023-04-17 12:18:34 +02:00
Franck Nijhof 939eef3b28
Remove translations from Core (#87543)
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-02-06 15:06:43 +01:00
Franck Nijhof 9f9873b39a
Add ability to generate development translations for all integrations (#87197) 2023-02-02 16:27:51 -05:00
Franck Nijhof 5e81d28116
Update black to 23.1.0 (#87188) 2023-02-02 18:35:24 +01:00
Paulus Schoutsen 373ad21ce3
Fix translations clean up script (#72114) 2022-05-23 11:00:17 +02:00
Franck Nijhof 7fbc3f6364
Skip translations when integration no longer exists (#71004)
* Skip translations when integration no longer exists

* Update script/translations/download.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-04-28 08:31:11 -07:00
Franck Nijhof 2686be921c
Remove deprecated (old) Z-Wave integration (#67221)
* Remove deprecated (old) Z-Wave integration

* Mark migration tests as skip, for later cleanup
2022-03-18 13:09:10 +01:00
Mick Vleeshouwer 5af4068583
Fix binary sensor translations for carbon_monoxide (#66891)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-02-21 10:34:38 -08:00
Marc Mueller 4cb7718192
Update typing 16 (#48087) 2021-03-18 22:58:19 +01:00
Franck Nijhof 9b7c39d20b
Postponed evaluation of annotations in core (#46434)
* Postponed evaluation of annotations in core

* Remove unneeded future
2021-02-12 10:58:20 +01:00
Paulus Schoutsen 687923690f
Chunk translation clean script to avoid too long url error (#43090) 2020-11-11 13:23:16 +01:00
Tobias Efinger f101d9cddb
Update translate develop to substitute references (#41445) 2020-10-09 11:51:05 +02:00
Franck Nijhof 1c2ebdf307
Upgrade black to 20.8b1 (#39287) 2020-08-27 13:56:20 +02:00
Paulus Schoutsen f037feaebc
Handle non-existing translations in clean script (#38574) 2020-08-06 01:49:52 +02:00
Paulus Schoutsen 02bcdf5162
Fix translations download (#36770) 2020-06-14 11:38:05 -07:00
Paulus Schoutsen c316735996
Bump lokalise2 2.5.1 (#36430) 2020-06-04 10:17:25 +02:00
Paulus Schoutsen 35c00fed6d
Migrate translations upload to use Lokalise CLI 2 (#36247) 2020-05-29 11:43:48 -07:00
Paulus Schoutsen 9c45115468
Upgrade translations download to use Lokalise CLI v2 (#36240) 2020-05-28 21:06:09 -07:00
Paulus Schoutsen dd32324e01
Use config flow references for data (#35529) 2020-05-12 10:50:44 -07:00
Paulus Schoutsen befda9a78b
Add email as common data string (#35546) 2020-05-12 09:08:07 -07:00
Paulus Schoutsen 0b8f8db67b
Clean up script for WLED translations (#35260) 2020-05-06 09:28:46 -07:00
Paulus Schoutsen 34e35f6aa3
Add config flow base strings (#34523) 2020-05-04 20:10:39 -07:00
Paulus Schoutsen c97ce05b09
Add script to copy backend translations to frontend (#34706) 2020-04-28 10:35:38 -07:00
Joakim Sørensen 730a257f3c
Rename translations dir for integrations (#34494) 2020-04-21 16:11:05 -07:00
Paulus Schoutsen d560e8245a
Import state strings (#34451) 2020-04-20 16:25:35 -07:00
Paulus Schoutsen b4282fca84 Fix return in translation script 2020-04-19 20:37:49 -07:00
Paulus Schoutsen 4720a7a891
Add foundation for state translations (#34443) 2020-04-19 20:35:49 -07:00
Paulus Schoutsen 55af2ab4dc
Add a script to clean the frontend translations (#34309) 2020-04-17 09:47:49 -07:00
Paulus Schoutsen 0d60d40512 Update translations 2020-04-16 13:00:10 -07:00
Paulus Schoutsen 55dfca7467
Drop title from translations if brand name (#34306) 2020-04-16 12:52:53 -07:00
Paulus Schoutsen 6119e79023
Migrate frontend translations of domains to backend (#34294) 2020-04-16 11:52:27 -07:00
Paulus Schoutsen 1ffc3a00e7
Add translations check script (#34272) 2020-04-15 16:58:20 -07:00
Paulus Schoutsen 72cc656b7e
Add Translations 2.0 migrate script (#34261) 2020-04-15 13:53:52 -07:00
Paulus Schoutsen 8e6e8dfbe0
Migrate translations_develop script (#33933)
* Migrate translations_develop script

* Fix lint
2020-04-10 14:17:09 -07:00
Paulus Schoutsen e9e1ec5312
Migrate translations clean script (#33930) 2020-04-09 17:54:56 -07:00
Paulus Schoutsen e9c412bac6
Migrate translations upload (#33926)
* Migrate translations upload

* Fix token in download command

* Minor cleanup
2020-04-09 17:52:33 -07:00
Paulus Schoutsen 425c97626a
Consolidate translation script (#33911)
* Consolidate translation script

* Remove commented code
2020-04-09 14:13:20 -07:00