Skip to content

Commit

Permalink
Add webcam archive cleanup. #963
Browse files Browse the repository at this point in the history
  • Loading branch information
theyosh committed Oct 31, 2024
1 parent 39b6ddc commit 0c55131
Show file tree
Hide file tree
Showing 16 changed files with 143 additions and 49 deletions.
2 changes: 1 addition & 1 deletion gui/components/form/Label.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
export let required = false;
</script>

<label for="{id}" class="col col-form-label text-truncate"
<label for="{id}" title="{label}" class="col col-form-label text-truncate"
>{label}{#if required === true}<span class="required text-danger ml-1">*</span>{/if}</label
>
8 changes: 7 additions & 1 deletion gui/locale/ca.json
Original file line number Diff line number Diff line change
Expand Up @@ -2096,6 +2096,12 @@
"label": "Ràfega",
"placeholder": "Seleccioneu el relé opcional per a Flash"
},
"history": {
"help": "Introduïu la quantitat de dies que voleu conservar per a l'historial.",
"invalid": "Introduïu un valor mínim de {value}.",
"label": "Arxiu històric en dies",
"placeholder": "Introduïu el número"
},
"light": {
"help": "Estat de llum per prendre una imatge d’arxiu.",
"invalid": "Feu una tria.",
Expand All @@ -2110,7 +2116,7 @@
"options": {
"day_1": "1 dia",
"disabled": "Inhabilitat",
"hour_1": "30 minuts",
"hour_1": "1 hora",
"hour_12": "12 hores",
"hour_3": "3 hores",
"hour_6": "6 hores",
Expand Down
6 changes: 6 additions & 0 deletions gui/locale/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -2096,6 +2096,12 @@
"label": "Blitzlicht",
"placeholder": "Optionales Relais für Blitz auswählen"
},
"history": {
"help": "",
"invalid": "Bitte geben Sie einen Mindestwert von {value} ein.",
"label": "Archivverlauf in Tagen",
"placeholder": ""
},
"light": {
"help": "Lichtstatus zum Aufnehmen eines Archivbildes.",
"invalid": "Bitte triff eine Wahl.",
Expand Down
7 changes: 6 additions & 1 deletion gui/locale/de_AT.json
Original file line number Diff line number Diff line change
Expand Up @@ -2005,6 +2005,11 @@
"label": "Blitz",
"placeholder": "Optionales Relais für Blitz auswählen"
},
"history": {
"help": "Geben Sie die Anzahl der Tage ein, die für den Verlauf aufbewahrt werden sollen.",
"label": "Archivverlauf in Tagen",
"placeholder": "Nummer eingeben"
},
"light": {
"help": "Lichtstatus für die Aufnahme eines Archivbildes.",
"invalid": "Bitte treffen Sie eine Wahl.",
Expand All @@ -2019,7 +2024,7 @@
"options": {
"day_1": "1 Tag",
"disabled": "Aus",
"hour_1": "30 Minuten",
"hour_1": "1 Stunde",
"hour_12": "12 Stunden",
"hour_3": "3 Stunden",
"hour_6": "6 Stunden",
Expand Down
8 changes: 7 additions & 1 deletion gui/locale/en_US.json
Original file line number Diff line number Diff line change
Expand Up @@ -2096,6 +2096,12 @@
"label": "Flash",
"placeholder": "Select optional relay for flash"
},
"history": {
"help": "Enter the amount of days to keep for history.",
"invalid": "Please enter a minimum value of {value}.",
"label": "Archive history in days",
"placeholder": "Enter number"
},
"light": {
"help": "Light status for taking an archive image.",
"invalid": "Please make a choice.",
Expand All @@ -2110,7 +2116,7 @@
"options": {
"day_1": "1 Day",
"disabled": "Disabled",
"hour_1": "30 Minutes",
"hour_1": "1 Hour",
"hour_12": "12 Hours",
"hour_3": "3 Hours",
"hour_6": "6 Hours",
Expand Down
6 changes: 6 additions & 0 deletions gui/locale/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -2032,6 +2032,12 @@
"label": "Destello",
"placeholder": "Seleccione Relé opcional para Flash"
},
"history": {
"help": "Ingrese la cantidad de días que se guardarán en el historial.",
"invalid": "Introduzca un valor mínimo de {value}.",
"label": "Historial de archivos en días",
"placeholder": "Introduzca el número"
},
"light": {
"help": "Estado de luz para tomar una imagen de archivo.",
"invalid": "Por favor tome una decisión.",
Expand Down
2 changes: 1 addition & 1 deletion gui/locale/es_AR.json
Original file line number Diff line number Diff line change
Expand Up @@ -1970,7 +1970,7 @@
"options": {
"day_1": "1 día",
"disabled": "Desactivado",
"hour_1": "30 minutos",
"hour_1": "1 hora",
"hour_12": "12 horas",
"hour_3": "3 horas",
"hour_6": "6 horas",
Expand Down
8 changes: 7 additions & 1 deletion gui/locale/fr_BE.json
Original file line number Diff line number Diff line change
Expand Up @@ -2096,6 +2096,12 @@
"label": "Éclat",
"placeholder": "Sélectionnez le relais optionnel pour le flash"
},
"history": {
"help": "Entrez le nombre de jours à conserver pour l'historique.",
"invalid": "Veuillez saisir une valeur minimale de {value}.",
"label": "Historique des archives en jours",
"placeholder": "Entrez le numéro"
},
"light": {
"help": "État lumineux pour prendre une image d'archive.",
"invalid": "Veuillez faire un choix.",
Expand All @@ -2110,7 +2116,7 @@
"options": {
"day_1": "1 jour",
"disabled": "Désactivé",
"hour_1": "30 minutes",
"hour_1": "1 heure",
"hour_12": "12 heures",
"hour_3": "Heures maximales de lumières",
"hour_6": "Heures maximales de lumières",
Expand Down
8 changes: 7 additions & 1 deletion gui/locale/it_IT.json
Original file line number Diff line number Diff line change
Expand Up @@ -2096,6 +2096,12 @@
"label": "flash",
"placeholder": "Seleziona il relè opzionale per il flash"
},
"history": {
"help": "Inserisci il numero di giorni da conservare per la cronologia.",
"invalid": "Inserisci un valore minimo di {value}.",
"label": "Archivia la cronologia in giorni",
"placeholder": "Inserisci il numero"
},
"light": {
"help": "Stato della luce per acquisire un'immagine di archivio.",
"invalid": "Per favore, fai una scelta.",
Expand All @@ -2110,7 +2116,7 @@
"options": {
"day_1": "1 giorno",
"disabled": "Disabilitato",
"hour_1": "30 minuti",
"hour_1": "1 ora",
"hour_12": "12 ore",
"hour_3": "3 ore",
"hour_6": "6 ore",
Expand Down
8 changes: 7 additions & 1 deletion gui/locale/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -2096,6 +2096,12 @@
"label": "フラッシュ",
"placeholder": "フラッシュ用のオプションのリレーを選択します"
},
"history": {
"help": "履歴を保存する日数を入力します。",
"invalid": "最小値 {value} を入力してください。",
"label": "履歴を数日でアーカイブする",
"placeholder": "番号を入力してください"
},
"light": {
"help": "アーカイブ画像を取得するためのライトステータス。.",
"invalid": "選択してください。.",
Expand All @@ -2110,7 +2116,7 @@
"options": {
"day_1": "1日",
"disabled": "無効",
"hour_1": "30分",
"hour_1": "1時間",
"hour_12": "12時間",
"hour_3": "3時間",
"hour_6": "6時間",
Expand Down
8 changes: 7 additions & 1 deletion gui/locale/nb_NO.json
Original file line number Diff line number Diff line change
Expand Up @@ -2096,6 +2096,12 @@
"label": "Blits",
"placeholder": "Velg valgfritt relé for blits"
},
"history": {
"help": "Angi antall dager som skal lagres for historikk.",
"invalid": "Angi en minimumsverdi på {value}.",
"label": "Arkivhistorie i dager",
"placeholder": "Skriv inn nummer"
},
"light": {
"help": "Lysstatus for å ta et arkivbilde.",
"invalid": "Vennligst ta et valg.",
Expand All @@ -2110,7 +2116,7 @@
"options": {
"day_1": "1 dag",
"disabled": "Deaktivert",
"hour_1": "30 minutter",
"hour_1": "1 time",
"hour_12": "12 timer",
"hour_3": "3 timer",
"hour_6": "6 timer",
Expand Down
8 changes: 7 additions & 1 deletion gui/locale/nl_NL.json
Original file line number Diff line number Diff line change
Expand Up @@ -2096,6 +2096,12 @@
"label": "Flits",
"placeholder": "Selecteer optionele schakelaar voor flits"
},
"history": {
"help": "Voer het aantal dagen in dat u wilt bewaren voor de geschiedenis.",
"invalid": "Voer een minimumwaarde van {value} in.",
"label": "Archiefgeschiedenis in dagen",
"placeholder": "Voer nummer in"
},
"light": {
"help": "Lichtstatus voor het maken van een archiefbeeld.",
"invalid": "Maak een keuze.",
Expand All @@ -2110,7 +2116,7 @@
"options": {
"day_1": "1 dag",
"disabled": "Gedeactiveerd",
"hour_1": "30 minuten",
"hour_1": "1 uur",
"hour_12": "12 uren",
"hour_3": "3 uren",
"hour_6": "6 uren",
Expand Down
8 changes: 7 additions & 1 deletion gui/locale/pl.json
Original file line number Diff line number Diff line change
Expand Up @@ -2096,6 +2096,12 @@
"label": "Błysk",
"placeholder": "Wybierz opcjonalny przekaźnik Flash"
},
"history": {
"help": "Wprowadź liczbę dni, które mają być przechowywane w historii.",
"invalid": "Proszę wprowadzić minimalną wartość {value}.",
"label": "Archiwizuj historię w dniach",
"placeholder": "Wpisz numer"
},
"light": {
"help": "Status światła do wykonania obrazu archiwum.",
"invalid": "Dokonaj wyboru.",
Expand All @@ -2110,7 +2116,7 @@
"options": {
"day_1": "1 dzień",
"disabled": "Wyłączony",
"hour_1": "30 minut",
"hour_1": "1 godzina",
"hour_12": "12 godzin",
"hour_3": "3 godziny",
"hour_6": "6 godzin",
Expand Down
5 changes: 5 additions & 0 deletions gui/locale/pt.json
Original file line number Diff line number Diff line change
Expand Up @@ -2096,6 +2096,11 @@
"label": "Flash",
"placeholder": "Seleccione o relé opcional para flash"
},
"history": {
"help": "Insira a quantidade de dias a serem mantidos no histórico.",
"invalid": "Insira um valor mínimo de {value}.",
"placeholder": "Digite o número"
},
"light": {
"help": "Estado das luzes para guardar uma imagem no arquivo.",
"invalid": "Por favor seleccione uma opção.",
Expand Down
5 changes: 4 additions & 1 deletion gui/locale/pt_BR.json
Original file line number Diff line number Diff line change
Expand Up @@ -2096,6 +2096,9 @@
"label": "Flash",
"placeholder": "Selecione o relé opcional para o flash"
},
"history": {
"label": "Arquivar histórico em dias"
},
"light": {
"help": "Estado das luzes para salvar uma imagem em arquivo.",
"invalid": "Por favor, faça uma escolha.",
Expand All @@ -2110,7 +2113,7 @@
"options": {
"day_1": "1 dia",
"disabled": "Desativado",
"hour_1": "30 minutos",
"hour_1": "1 hora",
"hour_12": "12 horas",
"hour_3": "3 horas",
"hour_6": "6 horas",
Expand Down
Loading

0 comments on commit 0c55131

Please sign in to comment.