[iobroker-bot] Remove deprecated common.title from io-package.json #47
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
German description can be found below
Deutsche Beschreibung weiter unten
General information
This PR has been created by iobroker-bot. Please review the changes carefully and merge the PR if the review is ok.
Feel free to contact me (@ioBroker-Bot) if you have any questions or feel that a PR is faulty. Please open an issue at repository https://github.com/ioBroker/ioBroker.repochecker to report a faulty PR.
And THANKS A LOT for maintaining this adapter from me and all users.
Let's work together for the best user experience.
your
ioBroker Check and Service Bot
@mcm1957 for evidence
Changes provided by this PR
This PR fixes the warning [W1084] "common.title" is deprecated and replaced by "common.titleLang". Please remove from io-package.json. reported by the ioBroker repository checker.
Background
The
common.titleattribute inio-package.jsonhas been deprecated in favor ofcommon.titleLang. Thecommon.titleLangattribute provides a more structured approach for multi-language titles by using an object with language codes as keys.The deprecated
common.titleattribute should be removed whencommon.titleLangis present, as it is no longer needed and can cause confusion. The repository checker reports this as warning W1084 when both attributes are detected in the configuration.More information about io-package.json attributes can be found in the ioBroker documentation.
Changes
This PR removes the deprecated
common.titleattribute fromio-package.json. Thecommon.titleLangattribute remains unchanged and continues to provide the adapter title in multiple languages.The change ensures:
Deutsche Beschreibung
Allgemeine Informationen
Dieser PR wurde von iobroker-bot erstellt. Bitte die Änderungen sorgfältig prüfen und den PR bei erfolgreicher Prüfung mergen.
Bei Fragen oder falls ein PR fehlerhaft erscheint, bitte mich (@ioBroker-Bot) kontaktieren. Bitte ein Issue im Repository https://github.com/ioBroker/ioBroker.repochecker öffnen, um einen fehlerhaften PR zu melden.
Und VIELEN DANK für die Pflege dieses Adapters von mir und allen Nutzern.
Gemeinsam für die beste Benutzererfahrung arbeiten.
Euer
ioBroker Check and Service Bot
@mcm1957 zur Kenntnisnahme
Durch diesen PR bereitgestellte Änderungen
Dieser PR behebt die Warnung [W1084] "common.title" is deprecated and replaced by "common.titleLang". Please remove from io-package.json., die vom ioBroker Repository Checker gemeldet wurde.
Hintergrund
Das Attribut
common.titlein derio-package.jsonwurde zugunsten voncommon.titleLangals veraltet markiert. Das Attributcommon.titleLangbietet einen strukturierteren Ansatz für mehrsprachige Titel durch Verwendung eines Objekts mit Sprachcodes als Schlüssel.Das veraltete Attribut
common.titlesollte entfernt werden, wenncommon.titleLangvorhanden ist, da es nicht mehr benötigt wird und zu Verwirrung führen kann. Der Repository Checker meldet dies als Warnung W1084, wenn beide Attribute in der Konfiguration erkannt werden.Weitere Informationen zu io-package.json-Attributen finden sich in der ioBroker-Dokumentation.
Änderungen
Dieser PR entfernt das veraltete Attribut
common.titleaus derio-package.json. Das Attributcommon.titleLangbleibt unverändert und stellt weiterhin den Adapter-Titel in mehreren Sprachen bereit.Die Änderung stellt sicher:
Template: W1084-removeCommonTitle