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 src/_locales/de/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@
"save": {
"message": "Speichern"
},
"showDailyNotifacation": {
"showDailyNotification": {
"message": "Tägliche Zusammenfassung als Benachrichtigung",
"description": "Am Ende jedes Tages erhalten Sie eine Benachrichtigung mit einer Zusammenfassung Ihrer täglichen Nutzung."
},
Expand Down
2 changes: 1 addition & 1 deletion src/_locales/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@
"save": {
"message": "Save"
},
"showDailyNotifacation": {
"showDailyNotification": {
"message": "Daily Summary Notifications",
"description": "At the end of each day, you will receive a notification with a summary of your daily usage"
},
Expand Down
2 changes: 1 addition & 1 deletion src/_locales/es/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@
"save": {
"message": "Guardar"
},
"showDailyNotifacation": {
"showDailyNotification": {
"message": "Notificaciones diarias resumidas",
"description": "Al final de cada día, recibirás una notificación con un resumen de tu uso diario"
},
Expand Down
2 changes: 1 addition & 1 deletion src/_locales/ru/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@
"save": {
"message": "Сохранить"
},
"showDailyNotifacation": {
"showDailyNotification": {
"message": "Ежедневные итоговые уведомления",
"description": "\u0412 конце каждого дня вы будете получать уведомление \u0441 краткой информацией \u043E вашем ежедневном использовании"
},
Expand Down
2 changes: 1 addition & 1 deletion src/_locales/zh_CN/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@
"save": {
"message": "保存"
},
"showDailyNotifacation": {
"showDailyNotification": {
"message": "每日摘要通知",
"description": "每天结束时,您将收到一条通知,其中包含您的每日使用情况摘要。"
},
Expand Down
2 changes: 1 addition & 1 deletion src/assets/css/dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
}
.dark .settings-tab label[name="tabName"]{
background-color: #303030 !important;
color: #bbbbbb;
color: #f7f7f7;
}
.dark .settings-content{
background-color: #303030 !important;
Expand Down
8 changes: 1 addition & 7 deletions src/assets/icons/dark-mode.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 1 addition & 7 deletions src/assets/icons/light-mode.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions src/components/Notifications.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
type="checkbox"
class="filled-in"
id="blockDeferral"
v-model="showDailyNotifacation"
v-model="showDailyNotification"
@change="onChange(StorageParams.DAILY_NOTIFICATION, $event.target)"
/>
<span>{{ t('showDailyNotifacation.message') }}</span>
<span>{{ t('showDailyNotification.message') }}</span>
<p class="description">
{{ t('showDailyNotifacation.description') }}
{{ t('showDailyNotification.description') }}
</p>
</label>
</div>
Expand Down Expand Up @@ -82,13 +82,13 @@ const { t } = useI18n();

const settingsStorage = injectStorage();

const showDailyNotifacation = ref<boolean>();
const showDailyNotification = ref<boolean>();
const dailyNotificationTime = ref<number>();
const notificationTime = ref<Time>();
const notificationMessage = ref<string>();

onMounted(async () => {
showDailyNotifacation.value = await settingsStorage.getValue(
showDailyNotification.value = await settingsStorage.getValue(
StorageParams.DAILY_NOTIFICATION,
DAILY_NOTIFICATION_DEFAULT,
);
Expand Down
4 changes: 2 additions & 2 deletions src/jobs/daily-summary-notification.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ import { NotificationType, useNotification } from '../functions/useNotification'
import { getMessagesFromLocale } from '../plugins/i18n';

export async function dailySummaryNotification() {
const showDailyNotifacation = (await Settings.getInstance().getSetting(
const showDailyNotification = (await Settings.getInstance().getSetting(
StorageParams.DAILY_NOTIFICATION,
)) as boolean;

if (showDailyNotifacation) {
if (showDailyNotification) {
const data = await useWebUsageSummaryForDay();
if (data == null) return;

Expand Down
2 changes: 1 addition & 1 deletion src/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifest_version": 3,
"name": "__MSG_extName__",
"short_name": "Web Tracker",
"version": "2.1.3",
"version": "2.1.4",
"description": "__MSG_extDescription__",
"options_page": "src/dashboard.html",
"default_locale": "en",
Expand Down