Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion custom_components/taskmate/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@
"iot_class": "calculated",
"issue_tracker": "https://github.com/tempus2016/taskmate/issues",
"requirements": [],
"version": "7.8.4"
"version": "7.9.0"
}
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ class TaskMateKioskCardEditor extends LitElement {
{ name: "show_streak", selector: { boolean: {} } },
{ name: "show_reward_progress", selector: { boolean: {} } },
{ name: "show_bounties", selector: { boolean: {} } },
{ name: "show_rewards", selector: { boolean: {} } },
{ name: "show_picker_progress", selector: { boolean: {} } },
{
name: "completed_mode",
Expand Down Expand Up @@ -132,6 +133,7 @@ class TaskMateKioskCardEditor extends LitElement {
show_streak: this._t("kiosk.editor.show_streak"),
show_reward_progress: this._t("kiosk.editor.show_reward_progress"),
show_bounties: this._t("kiosk.editor.show_bounties"),
show_rewards: this._t("kiosk.editor.show_rewards"),
show_picker_progress: this._t("kiosk.editor.show_picker_progress"),
completed_mode: this._t("kiosk.editor.completed_mode"),
elapsed_time_mode: this._t("kiosk.editor.missed_mode"),
Expand All @@ -155,6 +157,7 @@ class TaskMateKioskCardEditor extends LitElement {
timeout: this._t("kiosk.editor.timeout_helper"),
warn_before_return: this._t("kiosk.editor.warn_before_return_helper"),
show_bounties: this._t("kiosk.editor.show_bounties_helper"),
show_rewards: this._t("kiosk.editor.show_rewards_helper"),
show_picker_progress: this._t("kiosk.editor.show_picker_progress_helper"),
completed_mode: this._t("kiosk.editor.completed_mode_helper"),
elapsed_time_mode: this._t("kiosk.editor.missed_mode_helper"),
Expand Down Expand Up @@ -221,6 +224,7 @@ class TaskMateKioskCardEditor extends LitElement {
show_streak: this.config.show_streak !== false,
show_reward_progress: this.config.show_reward_progress !== false,
show_bounties: this.config.show_bounties === true,
show_rewards: this.config.show_rewards === true,
show_picker_progress: this.config.show_picker_progress !== false,
completed_mode: this.config.completed_mode || "show",
elapsed_time_mode: this.config.elapsed_time_mode || "show",
Expand Down Expand Up @@ -309,8 +313,8 @@ class TaskMateKioskCardEditor extends LitElement {
else if (key === "timeout") {
if (clampTimeout(value) === DEFAULT_TIMEOUT) delete next[key];
else next[key] = clampTimeout(value);
} else if (key === "show_bounties") {
// The one toggle that defaults to off: store only the "on" choice.
} else if (key === "show_bounties" || key === "show_rewards") {
// The toggles that default to off: store only the "on" choice.
if (value) next[key] = true;
else delete next[key];
} else if (typeof value === "boolean" && key !== "entity") {
Expand Down
26 changes: 25 additions & 1 deletion custom_components/taskmate/www/locales/da.json
Original file line number Diff line number Diff line change
Expand Up @@ -2798,12 +2798,25 @@
"gallery.editor.max_helper": "Lad feltet stå tomt for at vise alle billeder",
"gallery.editor.title_helper": "Lad feltet stå tomt for standardtitlen",
"panel.allowance_title": "Lommepenge",
"panel.allowance_hint": "Omregn point til lommepenge i rigtige penge. Registrer udbetalinger med servicen record_allowance_payout eller en knap på et dashboard.",
"panel.allowance_hint": "Omregn point til lommepenge i rigtige penge. Registrer en udbetaling her eller ved at trykke på et barn øverst i panelet. Automatiseringer kan bruge handlingen record_allowance_payout.",
"panel.allowance_enabled": "Slå udbetaling af lommepenge til",
"panel.allowance_rate": "Point pr. enhed",
"panel.allowance_rate_hint": "Hvor mange point der svarer til én enhed af valutaen.",
"panel.allowance_currency": "Valutasymbol",
"panel.allowance_ledger": "Seneste udbetalinger",
"panel.payout_button": "Udbetal",
"panel.payout_record": "Registrer en udbetaling",
"panel.payout_dialog_title": "Udbetaling af lommepenge",
"panel.payout_child": "Barn",
"panel.payout_pick_child": "Vælg et barn",
"panel.payout_points": "{points} der udbetales",
"panel.payout_balance": "Saldo: {amount} {points}",
"panel.payout_preview": "{amount} {points} = {money}",
"panel.payout_hint": "Giv pengene, og registrer så udbetalingen. Registreringen trækker {points} fra {name}s saldo og tilføjer udbetalingen under Seneste udbetalinger.",
"panel.payout_confirm": "Registrer udbetaling",
"panel.payout_err_amount": "Indtast et helt tal mellem 1 og {max}.",
"panel.payout_none": "{name} har ingen {points} at udbetale.",
"panel.payout_done": "{child} har fået {money} for {amount} {points}",
"panel.allowance_money": "{amount} {currency}",
"family_goal.default_title": "Familiemål",
"family_goal.disabled": "Intet familiemål sat",
Expand Down Expand Up @@ -3261,6 +3274,15 @@
"kiosk.earned_today": "optjent i dag",
"kiosk.day_streak": "dage i træk",
"kiosk.to_go": "{points} mere til målet",
"kiosk.rewards_title": "Brug dine point",
"kiosk.reward_claim": "Indløs",
"kiosk.reward_again": "Igen {day}",
"kiosk.reward_locked": "Ikke tilgængelig lige nu",
"kiosk.reward_confirm_title": "Indløs {name}?",
"kiosk.reward_confirm_body": "Det koster {points} {pointsName}. En voksen tjekker det, før du får det.",
"kiosk.reward_confirm_btn": "Indløs for {points} {pointsName}",
"kiosk.reward_sent_title": "Sendt til en voksen!",
"kiosk.reward_sent_body": "En voksen kigger snart på dit ønske om {name}.",
"kiosk.still_there": "Er du der stadig, {name}?",
"kiosk.going_back": "Går tilbage til start, så en anden kan få en tur",
"kiosk.still_here": "Jeg er her stadig",
Expand All @@ -3280,6 +3302,8 @@
"kiosk.editor.show_reward_progress": "Fremskridt mod næste belønning",
"kiosk.editor.show_bounties": "Dusørtavle",
"kiosk.editor.show_bounties_helper": "Lad hvert barn tage og klare dusører her, med et foto fra tabletten når der bedes om et",
"kiosk.editor.show_rewards": "Indløsning af belønninger",
"kiosk.editor.show_rewards_helper": "Lad hvert barn bruge sine point på en belønning her. Hver indløsning skal stadig godkendes af en voksen",
"kiosk.editor.show_picker_progress": "Fremskridt i vælgeren",
"kiosk.editor.show_picker_progress_helper": "“3 af 6 klaret” under hvert ansigt",
"kiosk.editor.completed_mode": "Udførte opgaver",
Expand Down
2 changes: 1 addition & 1 deletion custom_components/taskmate/www/locales/da/cards.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion custom_components/taskmate/www/locales/da/editor.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion custom_components/taskmate/www/locales/da/panel.json

Large diffs are not rendered by default.

26 changes: 25 additions & 1 deletion custom_components/taskmate/www/locales/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -2853,12 +2853,25 @@
"gallery.editor.max_helper": "Leer lassen, um alle Fotos anzuzeigen",
"gallery.editor.title_helper": "Leer lassen für den Standardtitel",
"panel.allowance_title": "Taschengeld",
"panel.allowance_hint": "Punkte in echtes Taschengeld umwandeln. Auszahlungen über den Dienst record_allowance_payout oder eine Dashboard-Schaltfläche erfassen.",
"panel.allowance_hint": "Punkte in echtes Taschengeld umwandeln. Erfasse eine Auszahlung hier oder tippe oben im Panel auf ein Kind. Automationen können die Aktion record_allowance_payout nutzen.",
"panel.allowance_enabled": "Taschengeld-Auszahlungen aktivieren",
"panel.allowance_rate": "Punkte pro Einheit",
"panel.allowance_rate_hint": "Wie viele Punkte einer Währungseinheit entsprechen.",
"panel.allowance_currency": "Währungssymbol",
"panel.allowance_ledger": "Letzte Auszahlungen",
"panel.payout_button": "Auszahlen",
"panel.payout_record": "Auszahlung erfassen",
"panel.payout_dialog_title": "Taschengeld-Auszahlung",
"panel.payout_child": "Kind",
"panel.payout_pick_child": "Kind auswählen",
"panel.payout_points": "Auszuzahlende {points}",
"panel.payout_balance": "Guthaben: {amount} {points}",
"panel.payout_preview": "{amount} {points} = {money}",
"panel.payout_hint": "Gib das Geld aus und erfasse die Auszahlung danach. Dabei werden die {points} von {name}s Guthaben abgezogen und die Auszahlung unter Letzte Auszahlungen eingetragen.",
"panel.payout_confirm": "Auszahlung erfassen",
"panel.payout_err_amount": "Gib eine ganze Zahl zwischen 1 und {max} ein.",
"panel.payout_none": "{name} hat keine {points} zum Auszahlen.",
"panel.payout_done": "{child} hat {money} für {amount} {points} bekommen",
"panel.allowance_money": "{amount} {currency}",
"family_goal.default_title": "Familienziel",
"family_goal.disabled": "Kein Familienziel festgelegt",
Expand Down Expand Up @@ -3316,6 +3329,15 @@
"kiosk.earned_today": "heute verdient",
"kiosk.day_streak": "Tage in Folge",
"kiosk.to_go": "Noch {points} bis zum Ziel",
"kiosk.rewards_title": "Punkte einlösen",
"kiosk.reward_claim": "Einlösen",
"kiosk.reward_again": "Wieder am {day}",
"kiosk.reward_locked": "Gerade nicht verfügbar",
"kiosk.reward_confirm_title": "{name} einlösen?",
"kiosk.reward_confirm_body": "Das kostet {points} {pointsName}. Ein Erwachsener prüft das, bevor du es bekommst.",
"kiosk.reward_confirm_btn": "Für {points} {pointsName} einlösen",
"kiosk.reward_sent_title": "Ein Erwachsener ist gefragt!",
"kiosk.reward_sent_body": "Ein Erwachsener schaut sich deinen Wunsch nach {name} bald an.",
"kiosk.still_there": "Bist du noch da, {name}?",
"kiosk.going_back": "Zurück zum Anfang, damit jemand anderes drankommt",
"kiosk.still_here": "Ich bin noch da",
Expand All @@ -3335,6 +3357,8 @@
"kiosk.editor.show_reward_progress": "Fortschritt zur nächsten Belohnung",
"kiosk.editor.show_bounties": "Sonderjobs",
"kiosk.editor.show_bounties_helper": "Jedes Kind kann hier Sonderjobs übernehmen und abschließen – mit einem Foto vom Tablet, wenn eins verlangt wird",
"kiosk.editor.show_rewards": "Belohnungen einlösen",
"kiosk.editor.show_rewards_helper": "Jedes Kind kann hier seine Punkte für eine Belohnung einlösen. Jede Anfrage muss weiterhin ein Erwachsener genehmigen",
"kiosk.editor.show_picker_progress": "Fortschritt in der Auswahl",
"kiosk.editor.show_picker_progress_helper": "„3 von 6 erledigt“ unter jedem Gesicht",
"kiosk.editor.completed_mode": "Erledigte Aufgaben",
Expand Down
2 changes: 1 addition & 1 deletion custom_components/taskmate/www/locales/de/cards.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion custom_components/taskmate/www/locales/de/editor.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion custom_components/taskmate/www/locales/de/panel.json

Large diffs are not rendered by default.

26 changes: 25 additions & 1 deletion custom_components/taskmate/www/locales/en-GB.json
Original file line number Diff line number Diff line change
Expand Up @@ -2859,12 +2859,25 @@
"gallery.editor.max_helper": "Leave blank to show every photo",
"gallery.editor.title_helper": "Leave blank for the default title",
"panel.allowance_title": "Allowance",
"panel.allowance_hint": "Convert points to a real-money allowance. Record payouts via the record_allowance_payout service or a dashboard button.",
"panel.allowance_hint": "Convert points to a real-money allowance. Record a payout here or by tapping a child at the top of the panel. Automations can use the record_allowance_payout action.",
"panel.allowance_enabled": "Enable allowance payouts",
"panel.allowance_rate": "Points per unit",
"panel.allowance_rate_hint": "How many points equal one unit of currency.",
"panel.allowance_currency": "Currency symbol",
"panel.allowance_ledger": "Recent payouts",
"panel.payout_button": "Pay out",
"panel.payout_record": "Record a payout",
"panel.payout_dialog_title": "Allowance payout",
"panel.payout_child": "Child",
"panel.payout_pick_child": "Choose a child",
"panel.payout_points": "{points} to pay out",
"panel.payout_balance": "Balance: {amount} {points}",
"panel.payout_preview": "{amount} {points} = {money}",
"panel.payout_hint": "Hand the money over, then record it. Recording takes the {points} off {name}'s balance and adds the payout to Recent payouts.",
"panel.payout_confirm": "Record payout",
"panel.payout_err_amount": "Enter a whole number between 1 and {max}.",
"panel.payout_none": "{name} has no {points} to pay out.",
"panel.payout_done": "Paid {child} {money} for {amount} {points}",
"panel.allowance_money": "{currency}{amount}",
"family_goal.default_title": "Family goal",
"family_goal.disabled": "No family goal set",
Expand Down Expand Up @@ -3322,6 +3335,15 @@
"kiosk.earned_today": "earned today",
"kiosk.day_streak": "day streak",
"kiosk.to_go": "{points} more to go",
"kiosk.rewards_title": "Spend your points",
"kiosk.reward_claim": "Claim",
"kiosk.reward_again": "Again on {day}",
"kiosk.reward_locked": "Not available right now",
"kiosk.reward_confirm_title": "Claim {name}?",
"kiosk.reward_confirm_body": "It costs {points} {pointsName}. A grown-up will check it before you get it.",
"kiosk.reward_confirm_btn": "Claim for {points} {pointsName}",
"kiosk.reward_sent_title": "Asked a grown-up!",
"kiosk.reward_sent_body": "A grown-up will look at your claim for {name} soon.",
"kiosk.still_there": "Still there, {name}?",
"kiosk.going_back": "Going back to the start so someone else can have a turn",
"kiosk.still_here": "I'm still here",
Expand All @@ -3341,6 +3363,8 @@
"kiosk.editor.show_reward_progress": "Next reward progress",
"kiosk.editor.show_bounties": "Bounty Board",
"kiosk.editor.show_bounties_helper": "Let each child claim and finish bounties here, with a photo from the tablet when one is asked for",
"kiosk.editor.show_rewards": "Reward claiming",
"kiosk.editor.show_rewards_helper": "Let each child spend their points on a reward here. Every claim still needs a grown-up to approve it",
"kiosk.editor.show_picker_progress": "Progress on the picker",
"kiosk.editor.show_picker_progress_helper": "“3 of 6 done” under each face",
"kiosk.editor.completed_mode": "Completed chores",
Expand Down
2 changes: 1 addition & 1 deletion custom_components/taskmate/www/locales/en-GB/cards.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion custom_components/taskmate/www/locales/en-GB/editor.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion custom_components/taskmate/www/locales/en-GB/panel.json

Large diffs are not rendered by default.

26 changes: 25 additions & 1 deletion custom_components/taskmate/www/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -2859,12 +2859,25 @@
"gallery.editor.max_helper": "Leave blank to show every photo",
"gallery.editor.title_helper": "Leave blank for the default title",
"panel.allowance_title": "Allowance",
"panel.allowance_hint": "Convert points to a real-money allowance. Record payouts via the record_allowance_payout service or a dashboard button.",
"panel.allowance_hint": "Convert points to a real-money allowance. Record a payout here or by tapping a child at the top of the panel. Automations can use the record_allowance_payout action.",
"panel.allowance_enabled": "Enable allowance payouts",
"panel.allowance_rate": "Points per unit",
"panel.allowance_rate_hint": "How many points equal one unit of currency.",
"panel.allowance_currency": "Currency symbol",
"panel.allowance_ledger": "Recent payouts",
"panel.payout_button": "Pay out",
"panel.payout_record": "Record a payout",
"panel.payout_dialog_title": "Allowance payout",
"panel.payout_child": "Child",
"panel.payout_pick_child": "Choose a child",
"panel.payout_points": "{points} to pay out",
"panel.payout_balance": "Balance: {amount} {points}",
"panel.payout_preview": "{amount} {points} = {money}",
"panel.payout_hint": "Hand the money over, then record it. Recording takes the {points} off {name}'s balance and adds the payout to Recent payouts.",
"panel.payout_confirm": "Record payout",
"panel.payout_err_amount": "Enter a whole number between 1 and {max}.",
"panel.payout_none": "{name} has no {points} to pay out.",
"panel.payout_done": "Paid {child} {money} for {amount} {points}",
"panel.allowance_money": "{currency}{amount}",
"family_goal.default_title": "Family goal",
"family_goal.disabled": "No family goal set",
Expand Down Expand Up @@ -3322,6 +3335,15 @@
"kiosk.earned_today": "earned today",
"kiosk.day_streak": "day streak",
"kiosk.to_go": "{points} more to go",
"kiosk.rewards_title": "Spend your points",
"kiosk.reward_claim": "Claim",
"kiosk.reward_again": "Again on {day}",
"kiosk.reward_locked": "Not available right now",
"kiosk.reward_confirm_title": "Claim {name}?",
"kiosk.reward_confirm_body": "It costs {points} {pointsName}. A grown-up will check it before you get it.",
"kiosk.reward_confirm_btn": "Claim for {points} {pointsName}",
"kiosk.reward_sent_title": "Asked a grown-up!",
"kiosk.reward_sent_body": "A grown-up will look at your claim for {name} soon.",
"kiosk.still_there": "Still there, {name}?",
"kiosk.going_back": "Going back to the start so someone else can have a turn",
"kiosk.still_here": "I'm still here",
Expand All @@ -3341,6 +3363,8 @@
"kiosk.editor.show_reward_progress": "Next reward progress",
"kiosk.editor.show_bounties": "Bounty Board",
"kiosk.editor.show_bounties_helper": "Let each child claim and finish bounties here, with a photo from the tablet when one is asked for",
"kiosk.editor.show_rewards": "Reward claiming",
"kiosk.editor.show_rewards_helper": "Let each child spend their points on a reward here. Every claim still needs a grown-up to approve it",
"kiosk.editor.show_picker_progress": "Progress on the picker",
"kiosk.editor.show_picker_progress_helper": "“3 of 6 done” under each face",
"kiosk.editor.completed_mode": "Completed chores",
Expand Down
2 changes: 1 addition & 1 deletion custom_components/taskmate/www/locales/en/cards.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion custom_components/taskmate/www/locales/en/editor.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion custom_components/taskmate/www/locales/en/panel.json

Large diffs are not rendered by default.

26 changes: 25 additions & 1 deletion custom_components/taskmate/www/locales/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -2859,12 +2859,25 @@
"gallery.editor.max_helper": "Laisser vide pour afficher toutes les photos",
"gallery.editor.title_helper": "Laisser vide pour le titre par défaut",
"panel.allowance_title": "Argent de poche",
"panel.allowance_hint": "Convertir les points en argent de poche réel. Enregistrez les versements via le service record_allowance_payout ou un bouton du tableau de bord.",
"panel.allowance_hint": "Convertir les points en argent de poche réel. Enregistrez un versement ici ou en touchant un enfant en haut du panneau. Les automatisations peuvent utiliser l'action record_allowance_payout.",
"panel.allowance_enabled": "Activer les versements",
"panel.allowance_rate": "Points par unité",
"panel.allowance_rate_hint": "Combien de points équivalent à une unité monétaire.",
"panel.allowance_currency": "Symbole monétaire",
"panel.allowance_ledger": "Versements récents",
"panel.payout_button": "Verser",
"panel.payout_record": "Enregistrer un versement",
"panel.payout_dialog_title": "Versement d'argent de poche",
"panel.payout_child": "Enfant",
"panel.payout_pick_child": "Choisir un enfant",
"panel.payout_points": "{points} à verser",
"panel.payout_balance": "Solde : {amount} {points}",
"panel.payout_preview": "{amount} {points} = {money}",
"panel.payout_hint": "Donnez l'argent, puis enregistrez le versement. L'enregistrement retire les {points} du solde de {name} et ajoute le versement aux Versements récents.",
"panel.payout_confirm": "Enregistrer le versement",
"panel.payout_err_amount": "Saisissez un nombre entier entre 1 et {max}.",
"panel.payout_none": "{name} n'a pas de {points} à verser.",
"panel.payout_done": "{money} versés à {child} pour {amount} {points}",
"panel.allowance_money": "{amount} {currency}",
"family_goal.default_title": "Objectif familial",
"family_goal.disabled": "Aucun objectif familial défini",
Expand Down Expand Up @@ -3322,6 +3335,15 @@
"kiosk.earned_today": "gagnés aujourd'hui",
"kiosk.day_streak": "jours de suite",
"kiosk.to_go": "Encore {points} pour y arriver",
"kiosk.rewards_title": "Dépense tes points",
"kiosk.reward_claim": "Réclamer",
"kiosk.reward_again": "De nouveau {day}",
"kiosk.reward_locked": "Pas disponible pour le moment",
"kiosk.reward_confirm_title": "Réclamer {name} ?",
"kiosk.reward_confirm_body": "Ça coûte {points} {pointsName}. Un adulte vérifiera avant que tu l'obtiennes.",
"kiosk.reward_confirm_btn": "Réclamer pour {points} {pointsName}",
"kiosk.reward_sent_title": "Demande envoyée à un adulte !",
"kiosk.reward_sent_body": "Un adulte va bientôt regarder ta demande pour {name}.",
"kiosk.still_there": "Tu es toujours là, {name} ?",
"kiosk.going_back": "Retour au début pour laisser la place à quelqu'un d'autre",
"kiosk.still_here": "Je suis toujours là",
Expand All @@ -3341,6 +3363,8 @@
"kiosk.editor.show_reward_progress": "Progression vers la prochaine récompense",
"kiosk.editor.show_bounties": "Tableau des primes",
"kiosk.editor.show_bounties_helper": "Chaque enfant peut réserver et terminer des primes ici, avec une photo prise sur la tablette quand elle est demandée",
"kiosk.editor.show_rewards": "Réclamation de récompenses",
"kiosk.editor.show_rewards_helper": "Permet à chaque enfant de dépenser ses points pour une récompense ici. Chaque demande doit toujours être approuvée par un adulte",
"kiosk.editor.show_picker_progress": "Progression sur l'écran de choix",
"kiosk.editor.show_picker_progress_helper": "« 3 sur 6 faites » sous chaque visage",
"kiosk.editor.completed_mode": "Tâches terminées",
Expand Down
2 changes: 1 addition & 1 deletion custom_components/taskmate/www/locales/fr/cards.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion custom_components/taskmate/www/locales/fr/editor.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion custom_components/taskmate/www/locales/fr/panel.json

Large diffs are not rendered by default.

Loading
Loading