Skip to content

Commit 1081c7d

Browse files
authored
fix typo (#139)
1 parent 37944ac commit 1081c7d

File tree

7 files changed

+12
-12
lines changed

7 files changed

+12
-12
lines changed

src/_locales/de/messages.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@
231231
"save": {
232232
"message": "Speichern"
233233
},
234-
"showDailyNotifacation": {
234+
"showDailyNotification": {
235235
"message": "Tägliche Zusammenfassung als Benachrichtigung",
236236
"description": "Am Ende jedes Tages erhalten Sie eine Benachrichtigung mit einer Zusammenfassung Ihrer täglichen Nutzung."
237237
},

src/_locales/en/messages.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@
231231
"save": {
232232
"message": "Save"
233233
},
234-
"showDailyNotifacation": {
234+
"showDailyNotification": {
235235
"message": "Daily Summary Notifications",
236236
"description": "At the end of each day, you will receive a notification with a summary of your daily usage"
237237
},

src/_locales/es/messages.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@
231231
"save": {
232232
"message": "Guardar"
233233
},
234-
"showDailyNotifacation": {
234+
"showDailyNotification": {
235235
"message": "Notificaciones diarias resumidas",
236236
"description": "Al final de cada día, recibirás una notificación con un resumen de tu uso diario"
237237
},

src/_locales/ru/messages.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@
231231
"save": {
232232
"message": "Сохранить"
233233
},
234-
"showDailyNotifacation": {
234+
"showDailyNotification": {
235235
"message": "Ежедневные итоговые уведомления",
236236
"description": "\u0412 конце каждого дня вы будете получать уведомление \u0441 краткой информацией \u043E вашем ежедневном использовании"
237237
},

src/_locales/zh_CN/messages.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@
231231
"save": {
232232
"message": "保存"
233233
},
234-
"showDailyNotifacation": {
234+
"showDailyNotification": {
235235
"message": "每日摘要通知",
236236
"description": "每天结束时,您将收到一条通知,其中包含您的每日使用情况摘要。"
237237
},

src/components/Notifications.vue

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
type="checkbox"
77
class="filled-in"
88
id="blockDeferral"
9-
v-model="showDailyNotifacation"
9+
v-model="showDailyNotification"
1010
@change="onChange(StorageParams.DAILY_NOTIFICATION, $event.target)"
1111
/>
12-
<span>{{ t('showDailyNotifacation.message') }}</span>
12+
<span>{{ t('showDailyNotification.message') }}</span>
1313
<p class="description">
14-
{{ t('showDailyNotifacation.description') }}
14+
{{ t('showDailyNotification.description') }}
1515
</p>
1616
</label>
1717
</div>
@@ -82,13 +82,13 @@ const { t } = useI18n();
8282
8383
const settingsStorage = injectStorage();
8484
85-
const showDailyNotifacation = ref<boolean>();
85+
const showDailyNotification = ref<boolean>();
8686
const dailyNotificationTime = ref<number>();
8787
const notificationTime = ref<Time>();
8888
const notificationMessage = ref<string>();
8989
9090
onMounted(async () => {
91-
showDailyNotifacation.value = await settingsStorage.getValue(
91+
showDailyNotification.value = await settingsStorage.getValue(
9292
StorageParams.DAILY_NOTIFICATION,
9393
DAILY_NOTIFICATION_DEFAULT,
9494
);

src/jobs/daily-summary-notification.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ import { NotificationType, useNotification } from '../functions/useNotification'
66
import { getMessagesFromLocale } from '../plugins/i18n';
77

88
export async function dailySummaryNotification() {
9-
const showDailyNotifacation = (await Settings.getInstance().getSetting(
9+
const showDailyNotification = (await Settings.getInstance().getSetting(
1010
StorageParams.DAILY_NOTIFICATION,
1111
)) as boolean;
1212

13-
if (showDailyNotifacation) {
13+
if (showDailyNotification) {
1414
const data = await useWebUsageSummaryForDay();
1515
if (data == null) return;
1616

0 commit comments

Comments
 (0)