Skip to content

Commit

Permalink
feat(editor): add missing option to editor and amend translations
Browse files Browse the repository at this point in the history
  • Loading branch information
marksie1988 committed Sep 5, 2023
1 parent 114bbde commit b3abdd5
Show file tree
Hide file tree
Showing 10 changed files with 78 additions and 45 deletions.
8 changes: 8 additions & 0 deletions src/editor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,14 @@ export class AtomicCalendarReviveEditor extends ScopedRegistryHost(LitElement) i
max: 99999999999,
default: defaultConfig.maxDaysToShow
},
{
type: 'number',
name: 'startDaysAhead',
label: localize('main.fields.startDaysAhead'),
min: 0,
max: 999,
default: defaultConfig.startDaysAhead
},
{
type: 'number',
name: 'refreshInterval',
Expand Down
29 changes: 16 additions & 13 deletions src/localize/languages/da.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,16 @@
"firstDayOfWeek": "Første dag i ugen 0-6",
"cardHeight": "Højde på kort",
"hideDuplicates": "Skjul dubletter",
"showMultiDay": "Opdelt flerdages begivenheder",
"showMultiDayEventParts": "Vis flere dages begivenhedsdele",
"eventTitle": "Indstil tom begivenhedstitel",
"compactMode": "Aktiver kompakt tilstand",
"hoursOnSameLine": "Vis timer på begivenhedslinjen",
"titleLength": "Max titellængde (0 for ubegrænset)",
"descLength": "Max beskrivelseslængde (0 for ubegrænset)"
"showMultiDay": "Opdelt flerdages begivenheder",
"showMultiDayEventParts": "Vis flere dages begivenhedsdele",
"eventTitle": "Indstil tom begivenhedstitel",
"compactMode": "Aktiver kompakt tilstand",
"hoursOnSameLine": "Vis timer på begivenhedslinjen",
"titleLength": "Max titellængde (0 for ubegrænset)",
"descLength": "Max beskrivelseslængde (0 for ubegrænset)",
"showAllDayEvents": "Vis heldagsbegivenheder",
"offsetHeaderDate": "Forskudt overskriftsdato",
"startDaysAhead": "Begivenheder starter `x` dage fra i dag"
}
},
"event": {
Expand All @@ -77,12 +80,12 @@
"showEventIcon": "Vis aftale ikon",
"showHiddenText": "Vis skjulte aftaler tekst?",
"hiddenEventText": "Tekst til skjulte aftaler:",
"showCalendarName": "Vis kalendernavn",
"showWeekNumber": "Vis ugenumre",
"showEventDate": "Vis dato for arrangementer",
"showDatePerEvent": "Vis dato ud for hver begivenhed",
"showTimeRemaining": "Vis resterende tid",
"showAllDayHours": "Vis Heldagsbegivenhedstekst"
"showCalendarName": "Vis kalendernavn",
"showWeekNumber": "Vis ugenumre",
"showEventDate": "Vis dato for arrangementer",
"showDatePerEvent": "Vis dato ud for hver begivenhed",
"showTimeRemaining": "Vis resterende tid",
"showAllDayHours": "Vis Heldagsbegivenhedstekst"
}
},
"calendar": {
Expand Down
27 changes: 15 additions & 12 deletions src/localize/languages/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,16 @@
"firstDayOfWeek": "Erster Wochentag 0-6",
"cardHeight": "Kartenhöhe",
"hideDuplicates": "Duplikate ausblenden",
"showMultiDay": "Split meerdaagse evenementen",
"showMultiDayEventParts": "Toon meerdaagse evenementonderdelen",
"eventTitle": "Lege evenementtitel instellen",
"compactMode": "Schakel de compacte modus in",
"hoursOnSameLine": "Toon uren op de gebeurtenisregel",
"titleLength": "Maximale titellengte (0 voor onbeperkt)",
"descLength": "Maximale beschrijvingslengte (0 voor onbeperkt)"
"showMultiDay": "Split meerdaagse evenementen",
"showMultiDayEventParts": "Toon meerdaagse evenementonderdelen",
"eventTitle": "Lege evenementtitel instellen",
"compactMode": "Schakel de compacte modus in",
"hoursOnSameLine": "Toon uren op de gebeurtenisregel",
"titleLength": "Maximale titellengte (0 voor onbeperkt)",
"descLength": "Maximale beschrijvingslengte (0 voor onbeperkt)",
"showAllDayEvents": "Toon evenementen die de hele dag duren",
"offsetHeaderDate": "Datum koptekst verschuiven",
"startDaysAhead": "Evenementen die `x` dagen vanaf vandaag beginnen"
}
},
"event": {
Expand All @@ -76,11 +79,11 @@
"showEventIcon": "Ereignis-Symbol anzeigen?",
"showHiddenText": "Versteckten Ereignistext anzeigen?",
"hiddenEventText": "Text für versteckte Ereignisse",
"showCalendarName": "Toon agendanaam",
"showWeekNumber": "Toon weeknummers",
"showEventDate": "Toon datum voor evenementen",
"showDatePerEvent": "Toon datum naast elk evenement",
"showTimeRemaining": "Laat de resterende tijd zien",
"showCalendarName": "Toon agendanaam",
"showWeekNumber": "Toon weeknummers",
"showEventDate": "Toon datum voor evenementen",
"showDatePerEvent": "Toon datum naast elk evenement",
"showTimeRemaining": "Laat de resterende tijd zien",
"showAllDayHours": "Toon de tekst van de hele dag-gebeurtenis"
}
},
Expand Down
3 changes: 2 additions & 1 deletion src/localize/languages/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@
"titleLength": "Max title length (0 for unlimited)",
"descLength": "Max description length (0 for unlimited)",
"showAllDayEvents": "Show all day events",
"offsetHeaderDate": "Offset header date"
"offsetHeaderDate": "Offset header date",
"startDaysAhead": "Events starting `x` days from today"
}
},
"event": {
Expand Down
5 changes: 4 additions & 1 deletion src/localize/languages/et.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,10 @@
"compactMode": "Kompaktrežiimi lubamine",
"hoursOnSameLine": "Näidake sündmuse reale tundi",
"titleLength": "Pealkirja maksimaalne pikkus (0 piiramatu jaoks)",
"descLength": "Kirjelduse maksimaalne pikkus (0 piiramatu puhul)"
"descLength": "Kirjelduse maksimaalne pikkus (0 piiramatu puhul)",
"showAllDayEvents": "Näita kogu päeva sündmusi",
"offsetHeaderDate": "Nihke päise kuupäev",
"startDaysAhead": "Sündmused alates tänasest `x` päeva pärast"
}
},
"event": {
Expand Down
7 changes: 5 additions & 2 deletions src/localize/languages/fi.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"common": {
"previous": "Edellinen",
"next": "Seuraava",
"week": "Viikko"
"week": "Viikko"
}
},
"errors": {
Expand Down Expand Up @@ -54,7 +54,10 @@
"compactMode": "Ota kompakti tila käyttöön",
"hoursOnSameLine": "Näytä tunnit tapahtumarivillä",
"titleLength": "Otsikon enimmäispituus (0 rajattomasti)",
"descLength": "Kuvauksen enimmäispituus (0 rajattomasti)"
"descLength": "Kuvauksen enimmäispituus (0 rajattomasti)",
"showAllDayEvents": "Näytä koko päivän tapahtumat",
"offsetHeaderDate": "Offset otsikon päivämäärä",
"startDaysAhead": "Tapahtumat alkavat `x` päivän kuluttua tästä päivästä"
}
},
"event": {
Expand Down
5 changes: 4 additions & 1 deletion src/localize/languages/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,10 @@
"compactMode": "Activer le mode compact",
"hoursOnSameLine": "Afficher les heures sur la ligne de l'événement",
"titleLength": "Longueur maximale du titre (0 pour illimité)",
"descLength": "Longueur maximale de la description (0 pour illimité)"
"descLength": "Longueur maximale de la description (0 pour illimité)",
"showAllDayEvents": "Afficher les événements de la journée",
"offsetHeaderDate": "Date d'en-tête décalée",
"startDaysAhead": "Événements commençant `x` jours à partir d’aujourd’hui"
}
},
"event": {
Expand Down
5 changes: 4 additions & 1 deletion src/localize/languages/nb.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,10 @@
"compactMode": "Aktiver kompakt modus",
"hoursOnSameLine": "Vis timer på arrangementslinjen",
"titleLength": "Maks tittellengde (0 for ubegrenset)",
"descLength": "Maks beskrivelseslengde (0 for ubegrenset)"
"descLength": "Maks beskrivelseslengde (0 for ubegrenset)",
"showAllDayEvents": "Vis heldagsbegivenheter",
"offsetHeaderDate": "Offset overskriftsdato",
"startDaysAhead": "Arrangementer som starter `x` dager fra i dag"
}
},
"event": {
Expand Down
29 changes: 16 additions & 13 deletions src/localize/languages/sl.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,16 @@
"firstDayOfWeek": "Prvi dan v tednu 0-6",
"cardHeight": "Višina kartice",
"hideDuplicates": "skrij dvojnike",
"showMultiDay": "Razdeljeni večdnevni dogodki",
"showMultiDayEventParts": "Prikaži dele večdnevnega dogodka",
"eventTitle": "Nastavite prazen naslov dogodka",
"compactMode": "Omogoči kompaktni način",
"hoursOnSameLine": "Prikaži ure na vrstici dogodkov",
"titleLength": "Največja dolžina naslova (0 za neomejeno)",
"descLength": "Največja dolžina opisa (0 za neomejeno)"
"showMultiDay": "Razdeljeni večdnevni dogodki",
"showMultiDayEventParts": "Prikaži dele večdnevnega dogodka",
"eventTitle": "Nastavite prazen naslov dogodka",
"compactMode": "Omogoči kompaktni način",
"hoursOnSameLine": "Prikaži ure na vrstici dogodkov",
"titleLength": "Največja dolžina naslova (0 za neomejeno)",
"descLength": "Največja dolžina opisa (0 za neomejeno)",
"showAllDayEvents": "Pokaži celodnevne dogodke",
"offsetHeaderDate": "Datum zamika glave",
"startDaysAhead": "Dogodki, ki se začnejo `x` dni od danes"
}
},
"event": {
Expand All @@ -77,12 +80,12 @@
"showEventIcon": "Pokaži ikono dogodka",
"showHiddenText": "Pokaži skrito besedilo dogodka?",
"hiddenEventText": "Besedilo za skrite dogodke:",
"showCalendarName": "Pokaži ime koledarja",
"showWeekNumber": "Prikaži številke tednov",
"showEventDate": "Pokaži datum za dogodke",
"showDatePerEvent": "Prikažite datum poleg vsakega dogodka",
"showTimeRemaining": "Pokaži preostali čas",
"showAllDayHours": "Prikaži besedilo celodnevnega dogodka"
"showCalendarName": "Pokaži ime koledarja",
"showWeekNumber": "Prikaži številke tednov",
"showEventDate": "Pokaži datum za dogodke",
"showDatePerEvent": "Prikažite datum poleg vsakega dogodka",
"showTimeRemaining": "Pokaži preostali čas",
"showAllDayHours": "Prikaži besedilo celodnevnega dogodka"
}
},
"calendar": {
Expand Down
5 changes: 4 additions & 1 deletion src/localize/languages/sv.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,10 @@
"compactMode": "Aktivera kompakt läge",
"hoursOnSameLine": "Visa öppettider på evenemangsraden",
"titleLength": "Max titellängd (0 för obegränsat)",
"descLength": "Max beskrivningslängd (0 för obegränsat)"
"descLength": "Max beskrivningslängd (0 för obegränsat)",
"showAllDayEvents": "Visa heldagshändelser",
"offsetHeaderDate": "Offset rubrikdatum",
"startDaysAhead": "Händelser som börjar `x` dagar från och med idag"
}
},
"event": {
Expand Down

0 comments on commit b3abdd5

Please sign in to comment.