Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
3a32b8d
Update index.md
DomAsw15 Jul 29, 2024
e9330f9
[Jenkins] Updated translation
Feb 28, 2025
40de135
Update index.md
Mips2648 Jul 8, 2025
340610d
Merge pull request #32 from DomAsw15/patch-1
Mips2648 Jul 8, 2025
fd2ee57
format
Mips2648 Jul 8, 2025
1a8654e
[Jenkins] Updated translation
Jul 8, 2025
c5b51fd
new translations wf
Mips2648 May 18, 2026
8c76bce
Auto update translation done by jeedom/jeetranslate workflow
Mips2648 May 18, 2026
ebc7b0f
Merge pull request #34 from jeedom/translations
Mips2648 May 18, 2026
2b8e50d
bugfix eqLogic creation
Mips2648 May 18, 2026
d7738b5
bugfix text
Mips2648 May 18, 2026
315369f
refactor: update function syntax and improve consistency in event han…
Mips2648 May 18, 2026
35c4879
bugfix $key redeclares in loop
Mips2648 May 18, 2026
4a48714
Auto update translation done by jeedom/jeetranslate workflow
Mips2648 May 18, 2026
c5ea0a3
Merge pull request #35 from jeedom/translations
Mips2648 May 18, 2026
8e15448
fix
Mips2648 May 18, 2026
2f68f36
Auto update translation done by jeedom/jeetranslate workflow
Mips2648 May 18, 2026
02255a3
Merge pull request #36 from jeedom/translations
Mips2648 May 18, 2026
9158062
add docs workflow
Mips2648 Oct 16, 2026
0d6bd6d
chore(docs): update translations
Mips2648 Oct 16, 2026
dfb2c73
Merge pull request #38 from jeedom/docs-translations
Mips2648 Oct 16, 2026
12bc529
update date
Mips2648 Oct 16, 2026
959adc2
Merge branch 'beta' of https://github.com/jeedom/plugin-broadlink int…
Mips2648 Oct 16, 2026
88c6558
chore(docs): update translations
Mips2648 Oct 16, 2026
a2cdcc4
Merge pull request #39 from jeedom/docs-translations
Mips2648 Oct 16, 2026
437770a
chore(i18n): remove outdated Portuguese translations and changelog
Mips2648 Oct 16, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 54 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: Docs

on:
push:
branches:
- beta
- master
paths:
- docs/**
workflow_dispatch:

permissions:
contents: write
pull-requests: write

jobs:
changes:
runs-on: ubuntu-latest
outputs:
fr_fr: ${{ steps.filter.outputs.fr_fr }}
translated: ${{ steps.filter.outputs.translated }}
images: ${{ steps.filter.outputs.images }}
manual: ${{ github.event_name == 'workflow_dispatch' }}
steps:
- uses: actions/checkout@v7
- uses: dorny/paths-filter@v4
id: filter
with:
base: ${{ github.ref_name }}
filters: |
fr_fr:
- 'docs/fr_FR/**'
translated:
- 'docs/en_US/**'
- 'docs/es_ES/**'
- 'docs/de_DE/**'
images:
- 'docs/images/**'

translate:
needs: changes
if: needs.changes.outputs.fr_fr == 'true' || needs.changes.outputs.manual == 'true'
runs-on: ubuntu-latest
steps:
- uses: jeedom/jeetranslate-docs@main
with:
deepl_api_key: ${{ secrets.DEEPL_API_KEY }}

publish:
needs: changes
if: needs.changes.outputs.translated == 'true' || needs.changes.outputs.images == 'true' || needs.changes.outputs.manual == 'true'
uses: jeedom/workflows/.github/workflows/docs-publish.yml@main
secrets:
docs_repo_token: ${{ secrets.DOCS_REPO_TOKEN }}
18 changes: 18 additions & 0 deletions .github/workflows/translations.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: translate

on:
workflow_dispatch:
push:
branches:
- beta

jobs:
auto-translate:
runs-on: ubuntu-latest
steps:
- uses: jeedom/jeetranslate@main
with:
deepl_api_key: ${{ secrets.DEEPL_API_KEY }}
include_empty_translation: false
target_languages: "en_US,es_ES,de_DE,it_IT,pt_PT"
use_core_translations: true
16 changes: 9 additions & 7 deletions core/class/broadlink.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

class broadlink extends eqLogic {

public static function createFromDef($_def) {
public static function createFromDef(array $_def) {
event::add('jeedom::alert', array(
'level' => 'warning',
'page' => __CLASS__,
Expand Down Expand Up @@ -47,15 +47,17 @@ public static function createFromDef($_def) {
if (isset($_def['data']['mac'])) {
$logicalId = $_def['data']['mac'];
}
$broadlink = self::byLogicalId($logicalId, __CLASS__);
if (!is_object($broadlink)) {
/** @var broadlink */
$eqLogic = self::byLogicalId($logicalId, __CLASS__);
if (!is_object($eqLogic)) {
$eqLogic = new self();
$eqLogic->setName($logicalId);
$eqLogic->setLogicalId($logicalId);
$eqLogic->setEqType_name(__CLASS__);
$eqLogic->setIsEnable(1);
$eqLogic->setIsVisible(1);
}
$eqLogic->setLogicalId($logicalId);
$eqLogic->setEqType_name(__CLASS__);
$eqLogic->setIsEnable(1);
$eqLogic->setIsVisible(1);

$eqLogic->setConfiguration('device', strtolower($_def['type']));
$eqLogic->setConfiguration('ip', $_def['ip']);
$eqLogic->setConfiguration('port', $_def['port']);
Expand Down
211 changes: 104 additions & 107 deletions core/i18n/de_DE.json

Large diffs are not rendered by default.

211 changes: 104 additions & 107 deletions core/i18n/en_US.json

Large diffs are not rendered by default.

211 changes: 104 additions & 107 deletions core/i18n/es_ES.json

Large diffs are not rendered by default.

139 changes: 0 additions & 139 deletions core/i18n/fr_FR.json

This file was deleted.

Loading
Loading