Skip to content

Commit

Permalink
chore: release v0.4.12-0
Browse files Browse the repository at this point in the history
Add possibility use an alternative name (alias)
  • Loading branch information
DutchmanNL committed Aug 17, 2021
1 parent 57658d2 commit 1f076e6
Show file tree
Hide file tree
Showing 17 changed files with 73 additions and 14 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -245,11 +245,14 @@ When the adapter crashes or any other Code error happens, this error message tha
### __WORK IN PROGRESS__
-->
## Changelog

### 0.4.12-0 (2021-08-17) Add option to use alias
* (DutchmanNL) Add possibility use an alternative name (alias)

### 0.4.11 (2021-08-16)
* (DutchmanNL) Improve log/error messages at adapter start
* (DutchmanNL) Bugfix : Cannot read property 'calcValues' of null & related issues found by Sentry


### 0.4.10 (2021-08-10)
* (DutchmanNL) Bugfix : Avoid adapter crash during night for incorrect configured states [#460](https://github.com/DrozmotiX/ioBroker.sourceanalytix/issues/460)

Expand Down
4 changes: 4 additions & 0 deletions admin/i18n/de/translations.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"Alias name": "Pseudonym",
"Basic configuration": "Basiseinstellung",
"Calculate consumption": "Verbrauch berechnen",
"Calculate costs": "Kosten berechnen",
Expand All @@ -7,6 +8,7 @@
"Cost Type": "Kostenart",
"Current year": "Laufendes Jahr",
"Description": "Beschreibung",
"If no alias is set, name will be used": "Wenn kein Alias ​​festgelegt ist, wird der Name verwendet",
"Including basic rate": "Inklusive Grundpreis",
"Meter reading at the beginning of the day": "Zählerstand zu Beginn des Tages",
"Meter reading at the beginning of the month": "Zählerstand am Monatsanfang",
Expand All @@ -16,8 +18,10 @@
"Months": "Monate",
"Previous period": "Vorheriger Zeitraum",
"Price definitions": "Preisdefinitionen",
"Price p/m": "Preis pro Monat",
"Price p/unit": "Preis pro Einheit",
"Prices configuration table": "Preiskonfigurationstabelle",
"Quarters": "Viertel",
"Select Unit": "Wählen Sie Einheit",
"Select price definition": "Preisdefinition auswählen",
"Start values for the respective period, unit scale (e.g. Wh or kWh) must match the target unit!": "Startwerte für den jeweiligen Zeitraum, Einheitenskala (z. B. Wh oder kWh) muss mit der Zieleinheit übereinstimmen!",
Expand Down
2 changes: 2 additions & 0 deletions admin/i18n/en/translations.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"Alias name": "Alias name",
"Basic configuration": "Basic configuration",
"Calculate consumption": "Calculate consumption",
"Calculate costs": "Calculate costs",
Expand All @@ -7,6 +8,7 @@
"Cost Type": "Cost Type",
"Current year": "Current year",
"Description": "Description",
"If no alias is set, name will be used": "If no alias is set, name will be used",
"Including basic rate": "Including basic rate",
"Meter reading at the beginning of the day": "Meter reading at the beginning of the day",
"Meter reading at the beginning of the month": "Meter reading at the beginning of the month",
Expand Down
4 changes: 4 additions & 0 deletions admin/i18n/es/translations.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"Alias name": "Sobre nombre",
"Basic configuration": "Configuracion basica",
"Calculate consumption": "Calcular el consumo",
"Calculate costs": "Calcular costos",
Expand All @@ -7,6 +8,7 @@
"Cost Type": "Tipo de costo",
"Current year": "Año corriente",
"Description": "Descripción",
"If no alias is set, name will be used": "Si no se establece un alias, se usará el nombre",
"Including basic rate": "Incluyendo tarifa básica",
"Meter reading at the beginning of the day": "Lectura del medidor al comienzo del día.",
"Meter reading at the beginning of the month": "Lectura de contadores a principios de mes",
Expand All @@ -16,8 +18,10 @@
"Months": "Meses",
"Previous period": "Periodo anterior",
"Price definitions": "Definiciones de precios",
"Price p/m": "Precio por mes",
"Price p/unit": "Precio por unidad",
"Prices configuration table": "Tabla de configuración de precios",
"Quarters": "Cuarteles",
"Select Unit": "Seleccionar unidad",
"Select price definition": "Seleccionar definición de precio",
"Start values for the respective period, unit scale (e.g. Wh or kWh) must match the target unit!": "Los valores iniciales para el período respectivo, la escala de unidades (por ejemplo, Wh o kWh) deben coincidir con la unidad objetivo.",
Expand Down
4 changes: 4 additions & 0 deletions admin/i18n/fr/translations.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"Alias name": "Alias",
"Basic configuration": "Configuration de base",
"Calculate consumption": "Calculer la consommation",
"Calculate costs": "Calculer les coûts",
Expand All @@ -7,6 +8,7 @@
"Cost Type": "Type de coût",
"Current year": "Année actuelle",
"Description": "La description",
"If no alias is set, name will be used": "Si aucun alias n'est défini, le nom sera utilisé",
"Including basic rate": "Y compris le tarif de base",
"Meter reading at the beginning of the day": "Relevé du compteur en début de journée",
"Meter reading at the beginning of the month": "Relevé du compteur au début du mois",
Expand All @@ -16,8 +18,10 @@
"Months": "Mois",
"Previous period": "Période précédente",
"Price definitions": "Définitions des prix",
"Price p/m": "Prix ​​par mois",
"Price p/unit": "Prix ​​par unité",
"Prices configuration table": "Tableau de configuration des prix",
"Quarters": "Quartiers",
"Select Unit": "Sélectionnez l'unité",
"Select price definition": "Sélectionnez la définition de prix",
"Start values for the respective period, unit scale (e.g. Wh or kWh) must match the target unit!": "Les valeurs de démarrage pour la période respective, l'échelle de l'unité (par exemple Wh ou kWh) doivent correspondre à l'unité cible !",
Expand Down
4 changes: 4 additions & 0 deletions admin/i18n/it/translations.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"Alias name": "Pseudonimo",
"Basic configuration": "Configurazione di base",
"Calculate consumption": "Calcola il consumo",
"Calculate costs": "Calcola i costi",
Expand All @@ -7,6 +8,7 @@
"Cost Type": "Tipo di costo",
"Current year": "Anno corrente",
"Description": "Descrizione",
"If no alias is set, name will be used": "Se non viene impostato alcun alias, verrà utilizzato il nome",
"Including basic rate": "Inclusa tariffa base",
"Meter reading at the beginning of the day": "Lettura del contatore all'inizio della giornata",
"Meter reading at the beginning of the month": "Lettura del contatore all'inizio del mese",
Expand All @@ -16,8 +18,10 @@
"Months": "Mesi",
"Previous period": "Periodo precedente",
"Price definitions": "Definizioni dei prezzi",
"Price p/m": "Prezzo al mese",
"Price p/unit": "Prezzo per unità",
"Prices configuration table": "Tabella di configurazione dei prezzi",
"Quarters": "quarti",
"Select Unit": "Seleziona unità",
"Select price definition": "Seleziona la definizione del prezzo",
"Start values for the respective period, unit scale (e.g. Wh or kWh) must match the target unit!": "I valori iniziali per il rispettivo periodo, scala di unità (ad es.Wh o kWh) devono corrispondere all'unità di destinazione!",
Expand Down
10 changes: 6 additions & 4 deletions admin/i18n/nl/translations.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"Alias name": "Alias ​​naam",
"Basic configuration": "Basisconfiguratie",
"Calculate consumption": "Bereken verbruik",
"Calculate costs": "Bereken de kosten",
Expand All @@ -7,6 +8,7 @@
"Cost Type": "Kostentype",
"Current year": "Huidig jaar",
"Description": "Omschrijving",
"If no alias is set, name will be used": "Als er geen alias is ingesteld, wordt de naam gebruikt",
"Including basic rate": "Inclusief basistarief",
"Meter reading at the beginning of the day": "Meterstand aan het begin van de dag",
"Meter reading at the beginning of the month": "Meterstand aan het begin van de maand",
Expand All @@ -16,8 +18,10 @@
"Months": "Maanden",
"Previous period": "Vorige periode",
"Price definitions": "Prijs definities",
"Price p/m": "Prijs per maand",
"Price p/unit": "Prijs per stuk",
"Prices configuration table": "Prijsconfiguratietabel",
"Quarters": "Kwartalen",
"Select Unit": "Selecteer Eenheid",
"Select price definition": "Selecteer prijsdefinitie",
"Start values for the respective period, unit scale (e.g. Wh or kWh) must match the target unit!": "Startwaarden voor de betreffende periode, eenheidsschaal (bijv. Wh of kWh) moeten overeenkomen met de doeleenheid!",
Expand All @@ -27,7 +31,5 @@
"Weekday": "Weekdag",
"Weeks": "Weken",
"Year": "Jaar",
"Year statistics": "Jaarstatistieken",
"Price p/m": "Prijs per maand",
"Quarters": "Kwartalen"
}
"Year statistics": "Jaarstatistieken"
}
4 changes: 4 additions & 0 deletions admin/i18n/pl/translations.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"Alias name": "Pseudonim",
"Basic configuration": "Podstawowa konfiguracja",
"Calculate consumption": "Oblicz zużycie",
"Calculate costs": "Oblicz koszty",
Expand All @@ -7,6 +8,7 @@
"Cost Type": "Rodzaj kosztu",
"Current year": "Rok bieżący",
"Description": "Opis",
"If no alias is set, name will be used": "Jeśli nie zostanie ustawiony żaden alias, zostanie użyta nazwa",
"Including basic rate": "W tym stawka podstawowa",
"Meter reading at the beginning of the day": "Odczyt licznika na początku dnia",
"Meter reading at the beginning of the month": "Odczyt licznika na początku miesiąca",
Expand All @@ -16,8 +18,10 @@
"Months": "Miesięcy",
"Previous period": "Poprzedni okres",
"Price definitions": "Definicje cen",
"Price p/m": "Cena za miesiąc",
"Price p/unit": "Cena za jednostkę",
"Prices configuration table": "Tabela konfiguracji cen",
"Quarters": "Mieszkanie",
"Select Unit": "Wybierz jednostkę",
"Select price definition": "Wybierz definicję ceny",
"Start values for the respective period, unit scale (e.g. Wh or kWh) must match the target unit!": "Wartości początkowe dla danego okresu, skala jednostkowa (np. Wh lub kWh) musi odpowiadać jednostce docelowej!",
Expand Down
4 changes: 4 additions & 0 deletions admin/i18n/pt/translations.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"Alias name": "Nome alternativo",
"Basic configuration": "Configuração básica",
"Calculate consumption": "Calcular o consumo",
"Calculate costs": "Calcular custos",
Expand All @@ -7,6 +8,7 @@
"Cost Type": "Tipo de Custo",
"Current year": "Ano atual",
"Description": "Descrição",
"If no alias is set, name will be used": "Se nenhum alias for definido, o nome será usado",
"Including basic rate": "Incluindo taxa básica",
"Meter reading at the beginning of the day": "Leitura do medidor no início do dia",
"Meter reading at the beginning of the month": "Leitura do medidor no início do mês",
Expand All @@ -16,8 +18,10 @@
"Months": "Meses",
"Previous period": "Período anterior",
"Price definitions": "Definições de preço",
"Price p/m": "Preço por mês",
"Price p/unit": "Preço por unidade",
"Prices configuration table": "Tabela de configuração de preços",
"Quarters": "Quartos",
"Select Unit": "Selecione a unidade",
"Select price definition": "Selecione a definição de preço",
"Start values for the respective period, unit scale (e.g. Wh or kWh) must match the target unit!": "Os valores iniciais para o respectivo período, escala de unidade (por exemplo, Wh ou kWh) deve corresponder à unidade alvo!",
Expand Down
6 changes: 5 additions & 1 deletion admin/i18n/ru/translations.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"Alias name": "Псевдоним",
"Basic configuration": "Базовая конфигурация",
"Calculate consumption": "Рассчитать потребление",
"Calculate costs": "Рассчитать затраты",
Expand All @@ -7,6 +8,7 @@
"Cost Type": "Тип затрат",
"Current year": "Текущий год",
"Description": "Описание",
"If no alias is set, name will be used": "Если псевдоним не задан, будет использоваться имя",
"Including basic rate": "Включая базовую ставку",
"Meter reading at the beginning of the day": "Показания счетчика в начале дня",
"Meter reading at the beginning of the month": "Показания счетчика в начале месяца",
Expand All @@ -16,8 +18,10 @@
"Months": "Месяцы",
"Previous period": "Предыдущий период",
"Price definitions": "Определение цен",
"Price p/m": "Цена в месяц",
"Price p/unit": "Цена за единицу",
"Prices configuration table": "Таблица конфигурации цен",
"Quarters": "Кварталы",
"Select Unit": "Выбрать единицу",
"Select price definition": "Выберите определение цены",
"Start values for the respective period, unit scale (e.g. Wh or kWh) must match the target unit!": "Начальные значения для соответствующего периода, шкала единиц (например, Втч или кВтч) должны соответствовать целевым единицам!",
Expand All @@ -28,4 +32,4 @@
"Weeks": "Недели",
"Year": "Год",
"Year statistics": "Статистика за год"
}
}
4 changes: 4 additions & 0 deletions admin/i18n/zh-cn/translations.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"Alias name": "别名",
"Basic configuration": "基本配置",
"Calculate consumption": "计算消费",
"Calculate costs": "计算费用",
Expand All @@ -7,6 +8,7 @@
"Cost Type": "成本类型",
"Current year": "今年",
"Description": "描述",
"If no alias is set, name will be used": "如果未设置别名,将使用名称",
"Including basic rate": "含基本费率",
"Meter reading at the beginning of the day": "一天开始时抄表",
"Meter reading at the beginning of the month": "月初抄表",
Expand All @@ -16,8 +18,10 @@
"Months": "月数",
"Previous period": "前期",
"Price definitions": "价格定义",
"Price p/m": "每月价格",
"Price p/unit": "每单位价格",
"Prices configuration table": "价格配置表",
"Quarters": "宿舍",
"Select Unit": "选择单位",
"Select price definition": "选择价格定义",
"Start values for the respective period, unit scale (e.g. Wh or kWh) must match the target unit!": "各个时段的起始值,单位刻度(例如Wh或kWh)必须与目标单位相匹配!",
Expand Down
10 changes: 8 additions & 2 deletions admin/jsonCustom.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,24 @@
"text": "Basic configuration",
"sm": 12
},
"alias": {
"type": "text",
"label": "Alias name",
"help": "If no alias is set, name will be used",
"sm": 5
},
"selectedPrice": {
"command": "getPriceDefinitions",
"type": "autocompleteSendTo",
"label": "Select price definition",
"sm": 6
"sm": 4
},
"selectedUnit": {
"command": "getUnits",
"type": "autocompleteSendTo",
"label": "Select Unit",
"default": "Detect automatically",
"sm": 6
"sm": 3
},
"_calcSettings": {
"newLine": true,
Expand Down
Loading

0 comments on commit 1f076e6

Please sign in to comment.