mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-30 16:33:16 +00:00
feat(notifications): tell a new journey contributor they were added
Adding somebody to a journey was silent (#1669). The new journey_invite event goes to the person added, in-app with a button to the journey and on every channel they use, once: posting the same person again only changes their role. The REST route and the MCP tool both go through JourneyService.addContributor, so both send it; the send is fire and forget like the trip and collection invites. The event is listed while the Journey addon is on, with its label in the notification settings, and its texts are translated in every locale.
This commit is contained in:
@@ -14,6 +14,10 @@ export interface NotificationChannelDescriptor {
|
||||
configured: boolean
|
||||
}
|
||||
|
||||
// The table below is read through a variable, which the i18n key scan cannot
|
||||
// follow; a label added since is named in a *Key binding so it reads as used.
|
||||
const journeyInviteLabelKey = 'settings.notifyJourneyInvite'
|
||||
|
||||
export const EVENT_LABEL_KEYS: Record<string, string> = {
|
||||
trip_invite: 'settings.notifyTripInvite',
|
||||
booking_change: 'settings.notifyBookingChange',
|
||||
@@ -22,6 +26,7 @@ export const EVENT_LABEL_KEYS: Record<string, string> = {
|
||||
vacay_invite: 'settings.notifyVacayInvite',
|
||||
vacay_share: 'settings.notifyVacayShare',
|
||||
collection_invite: 'settings.notifyCollectionInvite',
|
||||
journey_invite: journeyInviteLabelKey,
|
||||
synology_session_cleared: 'settings.notifySynologySessionCleared',
|
||||
plugin_notification: 'settings.notifyPluginNotification',
|
||||
photos_shared: 'settings.notifyPhotosShared',
|
||||
|
||||
@@ -1,11 +1,13 @@
|
||||
import { Users } from '../../db/entities/Users.entity';
|
||||
import { AddonsModule } from '../addons/addons.module';
|
||||
import { AppConfigModule } from '../app-config/app-config.module';
|
||||
import { UserLookupModule } from '../auth-core/user-lookup.module';
|
||||
import { RateLimitModule } from '../common/rate-limit.module';
|
||||
import { UserConnectionRepositoriesModule } from '../database/user-connection-repositories.module';
|
||||
import { AllowedFileTypesModule } from '../files/allowed-file-types.module';
|
||||
import { AllowedFileTypesService } from '../files/allowed-file-types.service';
|
||||
import { MemoriesModule } from '../memories/memories.module';
|
||||
import { NotificationsModule } from '../notifications/notifications.module';
|
||||
import { buildStorageUploadOptions } from '../storage/storage-upload.factory';
|
||||
import { StorageModule } from '../storage/storage.module';
|
||||
import { StorageService } from '../storage/storage.service';
|
||||
@@ -47,6 +49,10 @@ import { MulterModule } from '@nestjs/platform-express';
|
||||
AddonsModule,
|
||||
// The public unlock route counts wrong passwords per address and link (#2553).
|
||||
RateLimitModule,
|
||||
// journey_invite: the new contributor hears who added them (UserLookupService)
|
||||
// through the notification service.
|
||||
UserLookupModule,
|
||||
NotificationsModule,
|
||||
// RuntimeEnvService: the controller refuses the demo account's uploads in demo mode.
|
||||
AppConfigModule,
|
||||
MemoriesModule,
|
||||
|
||||
@@ -1,9 +1,11 @@
|
||||
import { ADDON_IDS } from '../../addons';
|
||||
import { UserImmichRepository } from '../../db/repositories/UserImmich.repository';
|
||||
import { AddonsService } from '../addons/addons.service';
|
||||
import { UserLookupService } from '../auth-core/user-lookup.service';
|
||||
import { ImmichService } from '../memories/immich.service';
|
||||
import { PhotoProviderRegistry } from '../memories/photo-provider.registry';
|
||||
import { PhotoResolverService } from '../memories/photo-resolver.service';
|
||||
import { NotificationsService } from '../notifications/notifications.service';
|
||||
import { JourneyDomainService } from './journey-domain.service';
|
||||
import { JourneyMapService } from './journey-map.service';
|
||||
import { JourneySettingsService } from './journey-settings.service';
|
||||
@@ -30,6 +32,8 @@ export class JourneyService {
|
||||
private readonly immichRepo: UserImmichRepository,
|
||||
private readonly map: JourneyMapService,
|
||||
private readonly settings: JourneySettingsService,
|
||||
private readonly notifications: NotificationsService,
|
||||
private readonly users: UserLookupService,
|
||||
) {}
|
||||
|
||||
async journeyAddonEnabled(): Promise<boolean> {
|
||||
@@ -133,8 +137,42 @@ export class JourneyService {
|
||||
}
|
||||
|
||||
// Contributors
|
||||
addContributor(id: number, userId: number, targetUserId: number, role: 'editor' | 'viewer') {
|
||||
return this.journey.addContributor(id, userId, targetUserId, role);
|
||||
/**
|
||||
* Add a contributor, and tell them (journey_invite, #1669) when they are new
|
||||
* to the journey. Both the REST route and the MCP tool come through here.
|
||||
* Re-adding somebody who is already on it only changes their role, which is
|
||||
* not news worth a notification.
|
||||
*/
|
||||
async addContributor(id: number, userId: number, targetUserId: number, role: 'editor' | 'viewer') {
|
||||
const alreadyIn = (await this.journey.canAccessJourney(id, targetUserId)) !== null;
|
||||
const added = await this.journey.addContributor(id, userId, targetUserId, role);
|
||||
if (added && !alreadyIn) await this.notifyInvite(id, userId, targetUserId, role);
|
||||
return added;
|
||||
}
|
||||
|
||||
/**
|
||||
* Fire-and-forget, like the trip and collection invites: a notification that
|
||||
* fails never undoes the contributor who was just added.
|
||||
*
|
||||
* @txStandalone a notification, independent of the write it reports.
|
||||
*/
|
||||
private async notifyInvite(journeyId: number, actorId: number, targetUserId: number, role: 'editor' | 'viewer') {
|
||||
const journey = await this.journey.canAccessJourney(journeyId, actorId);
|
||||
const actor = await this.users.usernameAndEmail(actorId);
|
||||
this.notifications
|
||||
.send({
|
||||
event: 'journey_invite',
|
||||
actorId,
|
||||
scope: 'user',
|
||||
targetId: targetUserId,
|
||||
params: {
|
||||
actor: actor?.username ?? '',
|
||||
journey: journey?.title ?? '',
|
||||
journeyId: String(journeyId),
|
||||
role,
|
||||
},
|
||||
})
|
||||
.catch(() => {});
|
||||
}
|
||||
updateContributorRole(id: number, userId: number, targetUserId: number, role: 'editor' | 'viewer') {
|
||||
return this.journey.updateContributorRole(id, userId, targetUserId, role);
|
||||
|
||||
@@ -38,6 +38,7 @@ export type NotifEventType =
|
||||
| 'vacay_invite'
|
||||
| 'vacay_share'
|
||||
| 'collection_invite'
|
||||
| 'journey_invite'
|
||||
| 'photos_shared'
|
||||
| 'collab_message'
|
||||
| 'packing_tagged'
|
||||
@@ -63,6 +64,7 @@ export const ALL_EVENT_TYPES: NotifEventType[] = [
|
||||
'vacay_invite',
|
||||
'vacay_share',
|
||||
'collection_invite',
|
||||
'journey_invite',
|
||||
'photos_shared',
|
||||
'collab_message',
|
||||
'packing_tagged',
|
||||
|
||||
@@ -128,6 +128,8 @@ export class NotificationPreferencesService {
|
||||
return on(ADDON_IDS.VACAY);
|
||||
case 'collection_invite':
|
||||
return on(ADDON_IDS.COLLECTIONS);
|
||||
case 'journey_invite':
|
||||
return on(ADDON_IDS.JOURNEY);
|
||||
case 'collab_message':
|
||||
return on(ADDON_IDS.COLLAB);
|
||||
case 'packing_tagged':
|
||||
|
||||
@@ -238,6 +238,14 @@ const EVENT_NOTIFICATION_CONFIG: Record<string, EventNotifConfig> = {
|
||||
navigateTextKey: 'notif.action.view_collection',
|
||||
navigateTarget: (p) => (p.collectionId ? `/collections/${p.collectionId}` : '/collections'),
|
||||
},
|
||||
// Somebody added you to their journey (#1669): the button opens it.
|
||||
journey_invite: {
|
||||
inAppType: 'navigate',
|
||||
titleKey: 'notif.journey_invite.title',
|
||||
textKey: 'notif.journey_invite.text',
|
||||
navigateTextKey: 'notif.action.view_journey',
|
||||
navigateTarget: (p) => (p.journeyId ? `/journey/${p.journeyId}` : '/journey'),
|
||||
},
|
||||
photos_shared: {
|
||||
inAppType: 'navigate',
|
||||
titleKey: 'notif.photos_shared.title',
|
||||
|
||||
@@ -31,6 +31,7 @@ const NTFY_EVENT_META: Partial<Record<NotifEventType, { priority: 1 | 2 | 3 | 4
|
||||
todo_due: { priority: 4, tags: ['ballot_box_with_check'] },
|
||||
vacay_share: { priority: 3, tags: ['palm_tree'] },
|
||||
collection_invite: { priority: 3, tags: ['bookmark'] },
|
||||
journey_invite: { priority: 3, tags: ['notebook'] },
|
||||
photos_shared: { priority: 3, tags: ['camera'] },
|
||||
collab_message: { priority: 3, tags: ['speech_balloon'] },
|
||||
packing_tagged: { priority: 3, tags: ['luggage'] },
|
||||
|
||||
@@ -1,16 +1,19 @@
|
||||
/**
|
||||
* A protected public journey link, end to end (#2553, #1702, #2959): the
|
||||
* A protected public journey link, end to end (#2553, #1702, #2959, #1669): the
|
||||
* whole app (buildApp, the real guards, share service and rate limit on a
|
||||
* migrated temp SQLite) between the owner who sets a password and an expiry
|
||||
* and the reader who opens the link. Every public route refuses a locked link,
|
||||
* the unlock sets a cookie scoped to the link's own path, a changed password
|
||||
* locks the old cookie out again, an expired link answers 410, saving a switch
|
||||
* keeps the protection, and readers are counted once a day for the owner only.
|
||||
* keeps the protection, readers are counted once a day for the owner only, and
|
||||
* a new contributor hears about the journey.
|
||||
*/
|
||||
import { buildApp } from '../../src/bootstrap';
|
||||
import { JourneyShareTokens } from '../../src/db/entities/JourneyShareTokens.entity';
|
||||
import { Notifications } from '../../src/db/entities/Notifications.entity';
|
||||
import { NotificationsService } from '../../src/nest/notifications/notifications.service';
|
||||
import { makeJourney } from '../helpers/factories/journeys';
|
||||
import { findRow } from '../helpers/factories/rows';
|
||||
import { countRows, findRow } from '../helpers/factories/rows';
|
||||
import { setAddonEnabled } from '../helpers/factories/settings';
|
||||
import { makeUser } from '../helpers/factories/users';
|
||||
import { resetRateLimits } from '../helpers/test-db';
|
||||
@@ -213,3 +216,31 @@ describe('the view count of a journey link', () => {
|
||||
expect((await findRow(orm, JourneyShareTokens, { token }))?.view_count).toBe(0);
|
||||
});
|
||||
});
|
||||
|
||||
describe('the journey invite notification', () => {
|
||||
it('JPUBLINK-E2E-030: a new contributor hears about the journey once, a role change says nothing', async () => {
|
||||
const { user: owner } = await makeUser(orm, { username: 'owner_jp' });
|
||||
const { user: friend } = await makeUser(orm);
|
||||
const journey = await makeJourney(orm, owner.id, { title: 'Iceland ring road' });
|
||||
const notifications = app.get(NotificationsService, { strict: false });
|
||||
|
||||
const add = (role: string) =>
|
||||
request(server)
|
||||
.post(`/api/journeys/${journey.id}/contributors`)
|
||||
.set('Cookie', sessionCookie(owner.id))
|
||||
.send({ user_id: friend.id, role });
|
||||
|
||||
const invites = { recipient: friend.id, title_key: 'notif.journey_invite.title' };
|
||||
|
||||
expect((await add('viewer')).status).toBe(201);
|
||||
await notifications.settled();
|
||||
const sent = await findRow(orm, Notifications, invites);
|
||||
expect(sent).toMatchObject({ navigate_target: `/journey/${journey.id}` });
|
||||
expect(JSON.parse(String(sent?.text_params))).toMatchObject({ actor: 'owner_jp', journey: 'Iceland ring road' });
|
||||
|
||||
// Posting the same person again only changes the role.
|
||||
expect((await add('editor')).status).toBe(201);
|
||||
await notifications.settled();
|
||||
expect(await countRows(orm, Notifications, invites)).toBe(1);
|
||||
});
|
||||
});
|
||||
|
||||
@@ -466,6 +466,8 @@ const journeyCases: ParityCase[] = [
|
||||
{
|
||||
tool: 'add_journey_contributor',
|
||||
needs: ['journey', 'member'],
|
||||
// The journey_invite notification (#1669) is held back, like the other invites.
|
||||
stub: quietNotifications,
|
||||
args: (s) => ({ journeyId: s.journey.id, targetUserId: s.member.id, role: 'viewer' }),
|
||||
rest: {
|
||||
method: 'post',
|
||||
|
||||
@@ -49,6 +49,10 @@ const ar: NotificationLocale = {
|
||||
title: 'دعوة إلى مجموعة',
|
||||
body: `${p.actor} يدعوك لمشاركة مجموعة. افتح TREK للقبول أو الرفض.`,
|
||||
}),
|
||||
journey_invite: (p) => ({
|
||||
title: `دعوة إلى يوميات: "${p.journey}"`,
|
||||
body: `${p.actor} أضافك إلى اليوميات "${p.journey}". افتح TREK لتطّلع عليها.`,
|
||||
}),
|
||||
photos_shared: (p) => ({
|
||||
title: pluralForm(p.count, 'ar', {
|
||||
zero: 'لم تتم مشاركة أي صورة',
|
||||
|
||||
@@ -25,6 +25,8 @@ const notif: TranslationStrings = {
|
||||
'notif.vacay_share.text': '{actor} شارك تقويم إجازاته معك',
|
||||
'notif.collection_invite.title': 'دعوة إلى مجموعة',
|
||||
'notif.collection_invite.text': '{actor} يدعوك لمشاركة مجموعة',
|
||||
'notif.journey_invite.title': 'دعوة إلى يوميات',
|
||||
'notif.journey_invite.text': '{actor} أضافك إلى اليوميات {journey}',
|
||||
'notif.photos_shared.title': 'تمت مشاركة الصور',
|
||||
'notif.photos_shared.text': '{actor} شارك {count} صورة في {trip}',
|
||||
'notif.photos_shared.text.zero': '{actor} لم يشارك أي صورة في {trip}',
|
||||
@@ -50,6 +52,7 @@ const notif: TranslationStrings = {
|
||||
'notif.action.view_photos': 'عرض الصور',
|
||||
'notif.action.view_vacay': 'عرض Vacay',
|
||||
'notif.action.view_collection': 'عرض المجموعة',
|
||||
'notif.action.view_journey': 'عرض اليوميات',
|
||||
'notif.action.view_admin': 'الذهاب للإدارة',
|
||||
'notif.wanderer_source_hint.title': 'درب wanderer',
|
||||
'notif.wanderer_source_hint.possible_change': 'ربما تغيّر «{tour}» في {trip} على wanderer',
|
||||
|
||||
@@ -128,6 +128,7 @@ const settings: TranslationStrings = {
|
||||
'settings.notifyVacayInvite': 'دعوات دمج الإجازات',
|
||||
'settings.notifyVacayShare': 'مشاركات تقويم Vacay',
|
||||
'settings.notifyCollectionInvite': 'دعوات المجموعات',
|
||||
'settings.notifyJourneyInvite': 'دعوات اليوميات',
|
||||
'settings.notifySynologySessionCleared': 'تمت إعادة تعيين جلسة Synology',
|
||||
'settings.notifyPluginNotification': 'إشعارات المكونات الإضافية',
|
||||
'settings.notifyPhotosShared': 'صور مشتركة (Immich)',
|
||||
|
||||
@@ -49,6 +49,10 @@ const az: NotificationLocale = {
|
||||
title: 'Kolleksiya dəvəti',
|
||||
body: `${p.actor} sizi kolleksiyanı paylaşmağa dəvət etdi. Qəbul və ya rədd etmək üçün TREK-i açın.`,
|
||||
}),
|
||||
journey_invite: (p) => ({
|
||||
title: `Gündəliyə dəvət: "${p.journey}"`,
|
||||
body: `${p.actor} sizi "${p.journey}" səyahət gündəliyinə əlavə etdi. Baxmaq üçün TREK-i açın.`,
|
||||
}),
|
||||
photos_shared: (p) => ({
|
||||
title: pluralForm(p.count, 'az', { one: `${p.count} foto paylaşıldı`, other: `${p.count} foto paylaşıldı` }),
|
||||
body: pluralForm(p.count, 'az', {
|
||||
|
||||
@@ -25,6 +25,8 @@ const notif: TranslationStrings = {
|
||||
'notif.vacay_share.text': '{actor} tətil təqvimini sizinlə paylaşdı',
|
||||
'notif.collection_invite.title': 'Kolleksiyaya dəvət',
|
||||
'notif.collection_invite.text': '{actor} sizi kolleksiyanı paylaşmağa dəvət etdi',
|
||||
'notif.journey_invite.title': 'Səyahət gündəliyinə dəvət',
|
||||
'notif.journey_invite.text': '{actor} sizi {journey} gündəliyinə əlavə etdi',
|
||||
'notif.photos_shared.title': 'Fotolar paylaşıldı',
|
||||
'notif.photos_shared.text': '{actor} {trip} səyahətində {count} foto paylaşdı',
|
||||
'notif.photos_shared.text.one': '{actor} {trip} səyahətində {count} foto paylaşdı',
|
||||
@@ -46,6 +48,7 @@ const notif: TranslationStrings = {
|
||||
'notif.action.view_photos': 'Fotolara bax',
|
||||
'notif.action.view_vacay': 'Tətilə bax',
|
||||
'notif.action.view_collection': 'Kolleksiyaya bax',
|
||||
'notif.action.view_journey': 'Gündəliyə bax',
|
||||
'notif.action.view_admin': 'İdarəetməyə keç',
|
||||
'notif.wanderer_source_hint.title': 'wanderer marşrutu',
|
||||
'notif.wanderer_source_hint.possible_change': '{trip} içində "{tour}" wanderer-də dəyişmiş ola bilər',
|
||||
|
||||
@@ -159,6 +159,7 @@ const settings: TranslationStrings = {
|
||||
'settings.notifyVacayInvite': 'Vacay birləşdirmə dəvətləri',
|
||||
'settings.notifyVacayShare': 'Vacay təqvim paylaşımları',
|
||||
'settings.notifyCollectionInvite': 'Kolleksiya dəvətləri',
|
||||
'settings.notifyJourneyInvite': 'Səyahət gündəliyi dəvətləri',
|
||||
'settings.notifySynologySessionCleared': 'Synology sessiyası təmizləndi',
|
||||
'settings.notifyPluginNotification': 'Plagin bildirişləri',
|
||||
'settings.notifyPhotosShared': 'Paylaşılan fotolar (Immich)',
|
||||
|
||||
@@ -49,6 +49,10 @@ const br: NotificationLocale = {
|
||||
title: 'Convite para coleção',
|
||||
body: `${p.actor} convidou você para compartilhar uma coleção. Abra o TREK para aceitar ou recusar.`,
|
||||
}),
|
||||
journey_invite: (p) => ({
|
||||
title: `Convite para jornada: "${p.journey}"`,
|
||||
body: `${p.actor} adicionou você à jornada "${p.journey}". Abra o TREK para acompanhar.`,
|
||||
}),
|
||||
photos_shared: (p) => ({
|
||||
title: pluralForm(p.count, 'pt-BR', {
|
||||
one: `${p.count} foto compartilhada`,
|
||||
|
||||
@@ -25,6 +25,8 @@ const notif: TranslationStrings = {
|
||||
'notif.vacay_share.text': '{actor} compartilhou o calendário de férias com você',
|
||||
'notif.collection_invite.title': 'Convite para coleção',
|
||||
'notif.collection_invite.text': '{actor} convidou você para uma coleção',
|
||||
'notif.journey_invite.title': 'Convite para jornada',
|
||||
'notif.journey_invite.text': '{actor} adicionou você à jornada {journey}',
|
||||
'notif.photos_shared.title': 'Fotos compartilhadas',
|
||||
'notif.photos_shared.text': '{actor} compartilhou {count} fotos em {trip}',
|
||||
'notif.photos_shared.text.one': '{actor} compartilhou {count} foto em {trip}',
|
||||
@@ -46,6 +48,7 @@ const notif: TranslationStrings = {
|
||||
'notif.action.view_photos': 'Ver fotos',
|
||||
'notif.action.view_vacay': 'Ver Vacay',
|
||||
'notif.action.view_collection': 'Ver coleção',
|
||||
'notif.action.view_journey': 'Ver jornada',
|
||||
'notif.action.view_admin': 'Ir para admin',
|
||||
'notif.wanderer_source_hint.title': 'Trilha do wanderer',
|
||||
'notif.wanderer_source_hint.possible_change': '“{tour}” em {trip} pode ter mudado no wanderer',
|
||||
|
||||
@@ -131,6 +131,7 @@ const settings: TranslationStrings = {
|
||||
'settings.notifyVacayInvite': 'Convites de fusão Vacay',
|
||||
'settings.notifyVacayShare': 'Compartilhamentos de calendário Vacay',
|
||||
'settings.notifyCollectionInvite': 'Convites para coleções',
|
||||
'settings.notifyJourneyInvite': 'Convites para jornadas',
|
||||
'settings.notifySynologySessionCleared': 'Sessão Synology encerrada',
|
||||
'settings.notifyPluginNotification': 'Notificações de plugins',
|
||||
'settings.notifyPhotosShared': 'Fotos compartilhadas (Immich)',
|
||||
|
||||
@@ -87,6 +87,10 @@ const ca: NotificationLocale = {
|
||||
title: 'Invitació a una col·lecció',
|
||||
body: `${p.actor} t'ha convidat a compartir una col·lecció. Obre TREK per acceptar-la o rebutjar-la.`,
|
||||
}),
|
||||
journey_invite: (p) => ({
|
||||
title: `Invitació a una travesia: "${p.journey}"`,
|
||||
body: `${p.actor} t'ha afegit a la travesia "${p.journey}". Obre TREK per veure-la.`,
|
||||
}),
|
||||
wanderer_source_hint: (p) => ({
|
||||
title: `Camí de wanderer: ${p.tour}`,
|
||||
body:
|
||||
|
||||
@@ -59,7 +59,10 @@ const notif: TranslationStrings = {
|
||||
|
||||
'notif.collection_invite.title': 'Invitació a una col·lecció',
|
||||
'notif.collection_invite.text': "{actor} t'ha enviat una invitació per compartir una col·lecció",
|
||||
'notif.journey_invite.title': 'Invitació a una travesia',
|
||||
'notif.journey_invite.text': "{actor} t'ha afegit a la travesia {journey}",
|
||||
'notif.action.view_collection': 'Veure col·lecció',
|
||||
'notif.action.view_journey': 'Veure la travesia',
|
||||
'notif.mail_booking_added.title': 'Reserva afegida des d’un correu',
|
||||
'notif.mail_booking_added.text': '{booking} s’ha afegit a {trip}',
|
||||
'notif.mail_booking_added.shared': '{actor} ha afegit {booking} a {trip} des d’un correu reenviat',
|
||||
|
||||
@@ -108,6 +108,7 @@ const settings: TranslationStrings = {
|
||||
'settings.notifyVacayInvite': 'Invitacions de fusió Vacay',
|
||||
'settings.notifyVacayShare': 'Comparticions de calendari Vacay',
|
||||
'settings.notifyCollectionInvite': 'Invitacions a col·leccions',
|
||||
'settings.notifyJourneyInvite': 'Invitacions a travesies',
|
||||
'settings.notifySynologySessionCleared': 'Sessió de Synology tancada',
|
||||
'settings.notifyPluginNotification': 'Notificacions de connectors',
|
||||
'settings.notifyPhotosShared': 'Fotos compartides (Immich)',
|
||||
|
||||
@@ -49,6 +49,10 @@ const cs: NotificationLocale = {
|
||||
title: 'Pozvánka do sbírky',
|
||||
body: `${p.actor} vás pozval ke sdílení sbírky. Otevřete TREK pro přijetí nebo odmítnutí.`,
|
||||
}),
|
||||
journey_invite: (p) => ({
|
||||
title: `Pozvánka do deníku: "${p.journey}"`,
|
||||
body: `${p.actor} vás přidal(a) do cestovního deníku "${p.journey}". Otevřete TREK a podívejte se.`,
|
||||
}),
|
||||
photos_shared: (p) => ({
|
||||
title: pluralForm(p.count, 'cs', {
|
||||
one: `${p.count} sdílená fotka`,
|
||||
|
||||
@@ -25,6 +25,8 @@ const notif: TranslationStrings = {
|
||||
'notif.vacay_share.text': '{actor} s vámi sdílel svůj kalendář dovolených',
|
||||
'notif.collection_invite.title': 'Pozvánka do sbírky',
|
||||
'notif.collection_invite.text': '{actor} vás pozval do sbírky',
|
||||
'notif.journey_invite.title': 'Pozvánka do cestovního deníku',
|
||||
'notif.journey_invite.text': '{actor} vás přidal(a) do deníku {journey}',
|
||||
'notif.photos_shared.title': 'Fotky sdíleny',
|
||||
'notif.photos_shared.text': '{actor} sdílel {count} fotek v {trip}',
|
||||
'notif.photos_shared.text.one': '{actor} sdílel {count} fotku v {trip}',
|
||||
@@ -47,6 +49,7 @@ const notif: TranslationStrings = {
|
||||
'notif.action.view_photos': 'Zobrazit fotky',
|
||||
'notif.action.view_vacay': 'Zobrazit Vacay',
|
||||
'notif.action.view_collection': 'Zobrazit sbírku',
|
||||
'notif.action.view_journey': 'Zobrazit deník',
|
||||
'notif.action.view_admin': 'Jít do adminu',
|
||||
'notif.wanderer_source_hint.title': 'Trasa wanderer',
|
||||
'notif.wanderer_source_hint.possible_change': '„{tour}“ v {trip} se ve wanderer možná změnila',
|
||||
|
||||
@@ -127,6 +127,7 @@ const settings: TranslationStrings = {
|
||||
'settings.notifyVacayInvite': 'Pozvánky k propojení Vacay',
|
||||
'settings.notifyVacayShare': 'Sdílení kalendáře Vacay',
|
||||
'settings.notifyCollectionInvite': 'Pozvánky do sbírek',
|
||||
'settings.notifyJourneyInvite': 'Pozvánky do cestovních deníků',
|
||||
'settings.notifySynologySessionCleared': 'Relace Synology byla zrušena',
|
||||
'settings.notifyPluginNotification': 'Oznámení pluginů',
|
||||
'settings.notifyPhotosShared': 'Sdílené fotky (Immich)',
|
||||
|
||||
@@ -49,6 +49,10 @@ const de: NotificationLocale = {
|
||||
title: 'Sammlungs-Einladung',
|
||||
body: `${p.actor} hat dich eingeladen, eine Sammlung zu teilen. Öffne TREK um anzunehmen oder abzulehnen.`,
|
||||
}),
|
||||
journey_invite: (p) => ({
|
||||
title: `Journey-Einladung: "${p.journey}"`,
|
||||
body: `${p.actor} hat dich zur Journey "${p.journey}" hinzugefügt. Öffne TREK, um reinzuschauen.`,
|
||||
}),
|
||||
photos_shared: (p) => ({
|
||||
title: pluralForm(p.count, 'de', { one: `${p.count} Foto geteilt`, other: `${p.count} Fotos geteilt` }),
|
||||
body: pluralForm(p.count, 'de', {
|
||||
|
||||
@@ -25,6 +25,8 @@ const notif: TranslationStrings = {
|
||||
'notif.vacay_share.text': '{actor} hat den eigenen Urlaubskalender mit dir geteilt',
|
||||
'notif.collection_invite.title': 'Sammlungs-Einladung',
|
||||
'notif.collection_invite.text': '{actor} hat dich zu einer Sammlung eingeladen',
|
||||
'notif.journey_invite.title': 'Journey-Einladung',
|
||||
'notif.journey_invite.text': '{actor} hat dich zu {journey} hinzugefügt',
|
||||
'notif.photos_shared.title': 'Fotos geteilt',
|
||||
'notif.photos_shared.text': '{actor} hat {count} Fotos in {trip} geteilt',
|
||||
'notif.photos_shared.text.one': '{actor} hat {count} Foto in {trip} geteilt',
|
||||
@@ -46,6 +48,7 @@ const notif: TranslationStrings = {
|
||||
'notif.action.view_photos': 'Fotos ansehen',
|
||||
'notif.action.view_vacay': 'Vacay ansehen',
|
||||
'notif.action.view_collection': 'Sammlung ansehen',
|
||||
'notif.action.view_journey': 'Journey ansehen',
|
||||
'notif.action.view_admin': 'Zum Admin',
|
||||
'notif.wanderer_source_hint.title': 'wanderer-Trail',
|
||||
'notif.wanderer_source_hint.possible_change': '„{tour}“ in {trip} hat sich in wanderer möglicherweise geändert',
|
||||
|
||||
@@ -131,6 +131,7 @@ const settings: TranslationStrings = {
|
||||
'settings.notifyVacayInvite': 'Vacay Fusion-Einladungen',
|
||||
'settings.notifyVacayShare': 'Vacay Kalender-Freigaben',
|
||||
'settings.notifyCollectionInvite': 'Sammlungs-Einladungen',
|
||||
'settings.notifyJourneyInvite': 'Journey-Einladungen',
|
||||
'settings.notifySynologySessionCleared': 'Synology-Sitzung beendet',
|
||||
'settings.notifyPluginNotification': 'Plugin-Benachrichtigungen',
|
||||
'settings.notifyPhotosShared': 'Geteilte Fotos (Immich)',
|
||||
|
||||
@@ -49,6 +49,10 @@ const en: NotificationLocale = {
|
||||
title: 'Collection invite',
|
||||
body: `${p.actor} invited you to share a collection. Open TREK to accept or decline.`,
|
||||
}),
|
||||
journey_invite: (p) => ({
|
||||
title: `Journey invite: "${p.journey}"`,
|
||||
body: `${p.actor} added you to the journey "${p.journey}". Open TREK to read along.`,
|
||||
}),
|
||||
photos_shared: (p) => ({
|
||||
title: pluralForm(p.count, 'en', { one: `${p.count} photo shared`, other: `${p.count} photos shared` }),
|
||||
body: pluralForm(p.count, 'en', {
|
||||
|
||||
@@ -25,6 +25,8 @@ const notif: TranslationStrings = {
|
||||
'notif.vacay_share.text': '{actor} shared their vacation calendar with you',
|
||||
'notif.collection_invite.title': 'Collection invite',
|
||||
'notif.collection_invite.text': '{actor} invited you to share a collection',
|
||||
'notif.journey_invite.title': 'Journey invite',
|
||||
'notif.journey_invite.text': '{actor} added you to {journey}',
|
||||
'notif.photos_shared.title': 'Photos Shared',
|
||||
'notif.photos_shared.text': '{actor} shared {count} photos in {trip}',
|
||||
'notif.photos_shared.text.one': '{actor} shared {count} photo in {trip}',
|
||||
@@ -46,6 +48,7 @@ const notif: TranslationStrings = {
|
||||
'notif.action.view_photos': 'View Photos',
|
||||
'notif.action.view_vacay': 'View Vacay',
|
||||
'notif.action.view_collection': 'View Collection',
|
||||
'notif.action.view_journey': 'View Journey',
|
||||
'notif.action.view_admin': 'Go to Admin',
|
||||
'notif.wanderer_source_hint.title': 'wanderer trail',
|
||||
'notif.wanderer_source_hint.possible_change': '“{tour}” in {trip} may have changed in wanderer',
|
||||
|
||||
@@ -140,6 +140,7 @@ const settings: TranslationStrings = {
|
||||
'settings.notifyVacayInvite': 'Vacay fusion invitations',
|
||||
'settings.notifyVacayShare': 'Vacay calendar shares',
|
||||
'settings.notifyCollectionInvite': 'Collection invitations',
|
||||
'settings.notifyJourneyInvite': 'Journey invitations',
|
||||
'settings.notifySynologySessionCleared': 'Synology session cleared',
|
||||
'settings.notifyPluginNotification': 'Plugin notifications',
|
||||
'settings.notifyPhotosShared': 'Shared photos (Immich)',
|
||||
|
||||
@@ -49,6 +49,10 @@ const es: NotificationLocale = {
|
||||
title: 'Invitación a colección',
|
||||
body: `${p.actor} te invitó a compartir una colección. Abre TREK para aceptar o rechazar.`,
|
||||
}),
|
||||
journey_invite: (p) => ({
|
||||
title: `Invitación a una travesía: "${p.journey}"`,
|
||||
body: `${p.actor} te ha añadido a la travesía "${p.journey}". Abre TREK para verla.`,
|
||||
}),
|
||||
photos_shared: (p) => ({
|
||||
title: pluralForm(p.count, 'es', { one: `${p.count} foto compartida`, other: `${p.count} fotos compartidas` }),
|
||||
body: pluralForm(p.count, 'es', {
|
||||
|
||||
@@ -25,6 +25,8 @@ const notif: TranslationStrings = {
|
||||
'notif.vacay_share.text': '{actor} compartió su calendario de vacaciones contigo',
|
||||
'notif.collection_invite.title': 'Invitación a colección',
|
||||
'notif.collection_invite.text': '{actor} te invitó a una colección',
|
||||
'notif.journey_invite.title': 'Invitación a una travesía',
|
||||
'notif.journey_invite.text': '{actor} te ha añadido a la travesía {journey}',
|
||||
'notif.photos_shared.title': 'Fotos compartidas',
|
||||
'notif.photos_shared.text': '{actor} compartió {count} fotos en {trip}',
|
||||
'notif.photos_shared.text.one': '{actor} compartió {count} foto en {trip}',
|
||||
@@ -46,6 +48,7 @@ const notif: TranslationStrings = {
|
||||
'notif.action.view_photos': 'Ver fotos',
|
||||
'notif.action.view_vacay': 'Ver Vacay',
|
||||
'notif.action.view_collection': 'Ver colección',
|
||||
'notif.action.view_journey': 'Ver travesía',
|
||||
'notif.action.view_admin': 'Ir al admin',
|
||||
'notif.wanderer_source_hint.title': 'Ruta de wanderer',
|
||||
'notif.wanderer_source_hint.possible_change': '«{tour}» en {trip} puede haber cambiado en wanderer',
|
||||
|
||||
@@ -130,6 +130,7 @@ const settings: TranslationStrings = {
|
||||
'settings.notifyVacayInvite': 'Invitaciones de fusión Vacay',
|
||||
'settings.notifyVacayShare': 'Calendarios Vacay compartidos',
|
||||
'settings.notifyCollectionInvite': 'Invitaciones a colecciones',
|
||||
'settings.notifyJourneyInvite': 'Invitaciones a travesías',
|
||||
'settings.notifySynologySessionCleared': 'Sesión de Synology cerrada',
|
||||
'settings.notifyPluginNotification': 'Notificaciones de plugins',
|
||||
'settings.notifyPhotosShared': 'Fotos compartidas (Immich)',
|
||||
|
||||
@@ -50,6 +50,10 @@ const et: NotificationLocale = {
|
||||
title: 'Kogumiku kutse',
|
||||
body: `${p.actor} kutsus sind kogumikku jagama. Nõustumiseks või keeldumiseks ava TREK.`,
|
||||
}),
|
||||
journey_invite: (p) => ({
|
||||
title: `Reisiloo kutse: "${p.journey}"`,
|
||||
body: `${p.actor} lisas sind reisiloo "${p.journey}" juurde. Ava TREK, et seda vaadata.`,
|
||||
}),
|
||||
photos_shared: (p) => ({
|
||||
title: pluralForm(p.count, 'et', { one: `Jagatud ${p.count} foto`, other: `Jagatud ${p.count} fotot` }),
|
||||
body: pluralForm(p.count, 'et', {
|
||||
|
||||
@@ -25,6 +25,8 @@ const notif: TranslationStrings = {
|
||||
'notif.vacay_share.text': '{actor} jagas sinuga oma puhkusekalendrit',
|
||||
'notif.collection_invite.title': 'Kogumiku kutse',
|
||||
'notif.collection_invite.text': '{actor} kutsus sind kogumikku jagama',
|
||||
'notif.journey_invite.title': 'Reisiloo kutse',
|
||||
'notif.journey_invite.text': '{actor} lisas sind reisiloo {journey} juurde',
|
||||
'notif.photos_shared.title': 'Fotod jagatud',
|
||||
'notif.photos_shared.text': '{actor} jagas reisil {trip} {count} fotot',
|
||||
'notif.photos_shared.text.one': '{actor} jagas reisil {trip} {count} foto',
|
||||
@@ -46,6 +48,7 @@ const notif: TranslationStrings = {
|
||||
'notif.action.view_photos': 'Vaata fotosid',
|
||||
'notif.action.view_vacay': 'Vaata Vacayd',
|
||||
'notif.action.view_collection': 'Vaata kogumikku',
|
||||
'notif.action.view_journey': 'Vaata reisilugu',
|
||||
'notif.action.view_admin': 'Ava haldus',
|
||||
'notif.wanderer_source_hint.title': 'wanderer rada',
|
||||
'notif.wanderer_source_hint.possible_change': '„{tour}“ reisil {trip} võib olla wandereris muutunud',
|
||||
|
||||
@@ -145,6 +145,7 @@ const settings: TranslationStrings = {
|
||||
'settings.notifyVacayInvite': 'Vacay ühendamiskutsed',
|
||||
'settings.notifyVacayShare': 'Vacay kalendri jagamised',
|
||||
'settings.notifyCollectionInvite': 'Kogumikukutsed',
|
||||
'settings.notifyJourneyInvite': 'Reisiloo kutsed',
|
||||
'settings.notifySynologySessionCleared': 'Synology seanss tühjendatud',
|
||||
'settings.notifyPluginNotification': 'Pluginate teavitused',
|
||||
'settings.notifyPhotosShared': 'Jagatud fotod (Immich)',
|
||||
|
||||
@@ -32,6 +32,7 @@ export type NotificationEventKey =
|
||||
| 'vacay_invite'
|
||||
| 'vacay_share'
|
||||
| 'collection_invite'
|
||||
| 'journey_invite'
|
||||
| 'photos_shared'
|
||||
| 'collab_message'
|
||||
| 'packing_tagged'
|
||||
|
||||
@@ -49,6 +49,10 @@ const fr: NotificationLocale = {
|
||||
title: 'Invitation à une collection',
|
||||
body: `${p.actor} vous invite à partager une collection. Ouvrez TREK pour accepter ou refuser.`,
|
||||
}),
|
||||
journey_invite: (p) => ({
|
||||
title: `Invitation à un journal de voyage : "${p.journey}"`,
|
||||
body: `${p.actor} vous a ajouté au journal de voyage "${p.journey}". Ouvrez TREK pour le découvrir.`,
|
||||
}),
|
||||
photos_shared: (p) => ({
|
||||
title: pluralForm(p.count, 'fr', { one: `${p.count} photo partagée`, other: `${p.count} photos partagées` }),
|
||||
body: pluralForm(p.count, 'fr', {
|
||||
|
||||
@@ -25,6 +25,8 @@ const notif: TranslationStrings = {
|
||||
'notif.vacay_share.text': '{actor} a partagé son calendrier de vacances avec vous',
|
||||
'notif.collection_invite.title': 'Invitation à une collection',
|
||||
'notif.collection_invite.text': '{actor} vous invite à une collection',
|
||||
'notif.journey_invite.title': 'Invitation à un journal de voyage',
|
||||
'notif.journey_invite.text': '{actor} vous a ajouté au journal de voyage {journey}',
|
||||
'notif.photos_shared.title': 'Photos partagées',
|
||||
'notif.photos_shared.text': '{actor} a partagé {count} photos dans {trip}',
|
||||
'notif.photos_shared.text.one': '{actor} a partagé {count} photo dans {trip}',
|
||||
@@ -46,6 +48,7 @@ const notif: TranslationStrings = {
|
||||
'notif.action.view_photos': 'Voir les photos',
|
||||
'notif.action.view_vacay': 'Voir Vacay',
|
||||
'notif.action.view_collection': 'Voir la collection',
|
||||
'notif.action.view_journey': 'Voir le journal',
|
||||
'notif.action.view_admin': "Aller à l'admin",
|
||||
'notif.wanderer_source_hint.title': 'Sentier wanderer',
|
||||
'notif.wanderer_source_hint.possible_change': '« {tour} » dans {trip} a peut-être changé dans wanderer',
|
||||
|
||||
@@ -132,6 +132,7 @@ const settings: TranslationStrings = {
|
||||
'settings.notifyVacayInvite': 'Invitations de fusion Vacay',
|
||||
'settings.notifyVacayShare': 'Partages de calendrier Vacay',
|
||||
'settings.notifyCollectionInvite': 'Invitations à des collections',
|
||||
'settings.notifyJourneyInvite': 'Invitations aux journaux de voyage',
|
||||
'settings.notifySynologySessionCleared': 'Session Synology effacée',
|
||||
'settings.notifyPluginNotification': 'Notifications des extensions',
|
||||
'settings.notifyPhotosShared': 'Photos partagées (Immich)',
|
||||
|
||||
@@ -49,6 +49,10 @@ const gr: NotificationLocale = {
|
||||
title: 'Πρόσκληση σε συλλογή',
|
||||
body: `Ο/Η ${p.actor} σας προσκάλεσε να μοιραστείτε μια συλλογή. Ανοίξτε το TREK για να αποδεχτείτε ή να απορρίψετε.`,
|
||||
}),
|
||||
journey_invite: (p) => ({
|
||||
title: `Πρόσκληση σε ταξίδι: "${p.journey}"`,
|
||||
body: `Ο χρήστης ${p.actor} σας πρόσθεσε στο ταξίδι "${p.journey}". Ανοίξτε το TREK για να το δείτε.`,
|
||||
}),
|
||||
photos_shared: (p) => ({
|
||||
title: pluralForm(p.count, 'el', {
|
||||
one: `${p.count} φωτογραφία κοινοποιήθηκε`,
|
||||
|
||||
@@ -25,6 +25,8 @@ const notif: TranslationStrings = {
|
||||
'notif.vacay_share.text': 'Ο/Η {actor} κοινοποίησε το ημερολόγιο διακοπών του/της σε εσάς',
|
||||
'notif.collection_invite.title': 'Πρόσκληση σε συλλογή',
|
||||
'notif.collection_invite.text': 'Ο/Η {actor} σας προσκάλεσε σε μια συλλογή',
|
||||
'notif.journey_invite.title': 'Πρόσκληση σε ταξίδι',
|
||||
'notif.journey_invite.text': 'Ο χρήστης {actor} σας πρόσθεσε στο ταξίδι {journey}',
|
||||
'notif.photos_shared.title': 'Κοινοποίηση Φωτογραφιών',
|
||||
'notif.photos_shared.text': 'Ο/Η {actor} μοιράστηκε {count} φωτογραφίες στο {trip}',
|
||||
'notif.photos_shared.text.one': 'Ο/Η {actor} μοιράστηκε {count} φωτογραφία στο {trip}',
|
||||
@@ -46,6 +48,7 @@ const notif: TranslationStrings = {
|
||||
'notif.action.view_photos': 'Προβολή Φωτογραφιών',
|
||||
'notif.action.view_vacay': 'Προβολή Vacay',
|
||||
'notif.action.view_collection': 'Προβολή συλλογής',
|
||||
'notif.action.view_journey': 'Προβολή ταξιδιού',
|
||||
'notif.action.view_admin': 'Μετάβαση στη Διαχείριση',
|
||||
'notif.wanderer_source_hint.title': 'Μονοπάτι wanderer',
|
||||
'notif.wanderer_source_hint.possible_change': '«{tour}» στο {trip} ίσως άλλαξε στο wanderer',
|
||||
|
||||
@@ -137,6 +137,7 @@ const settings: TranslationStrings = {
|
||||
'settings.notifyVacayInvite': 'Προσκλήσεις Vacay fusion',
|
||||
'settings.notifyVacayShare': 'Κοινοποιήσεις ημερολογίου Vacay',
|
||||
'settings.notifyCollectionInvite': 'Προσκλήσεις σε συλλογές',
|
||||
'settings.notifyJourneyInvite': 'Προσκλήσεις σε ταξίδια',
|
||||
'settings.notifySynologySessionCleared': 'Η σύνδεση Synology τερματίστηκε',
|
||||
'settings.notifyPluginNotification': 'Ειδοποιήσεις προσθέτων',
|
||||
'settings.notifyPhotosShared': 'Κοινόχρηστες φωτογραφίες (Immich)',
|
||||
|
||||
@@ -49,6 +49,10 @@ const he: NotificationLocale = {
|
||||
title: 'הזמנה לאוסף',
|
||||
body: `${p.actor} הזמין/ה אתכם לשתף אוסף. פתחו את TREK כדי לאשר או לדחות.`,
|
||||
}),
|
||||
journey_invite: (p) => ({
|
||||
title: `הזמנה ליומן מסע: "${p.journey}"`,
|
||||
body: `${p.actor} הוסיף/ה אותך ליומן המסע "${p.journey}". פתח/י את TREK כדי לצפות בו.`,
|
||||
}),
|
||||
photos_shared: (p) => ({
|
||||
title: pluralForm(p.count, 'he', {
|
||||
one: 'תמונה אחת שותפה',
|
||||
|
||||
@@ -25,6 +25,8 @@ const notif: TranslationStrings = {
|
||||
'notif.vacay_share.text': '{actor} שיתף/ה איתכם את לוח החופשות',
|
||||
'notif.collection_invite.title': 'הזמנה לאוסף',
|
||||
'notif.collection_invite.text': '{actor} הזמין/ה אתכם לשתף אוסף',
|
||||
'notif.journey_invite.title': 'הזמנה ליומן מסע',
|
||||
'notif.journey_invite.text': '{actor} הוסיף/ה אותך ליומן המסע {journey}',
|
||||
'notif.photos_shared.title': 'תמונות שותפו',
|
||||
'notif.photos_shared.text': '{actor} שיתף/ה {count} תמונות ב-{trip}',
|
||||
'notif.photos_shared.text.one': '{actor} שיתף/ה תמונה אחת ב-{trip}',
|
||||
@@ -47,6 +49,7 @@ const notif: TranslationStrings = {
|
||||
'notif.action.view_photos': 'הצגת תמונות',
|
||||
'notif.action.view_vacay': 'הצגת חופשות',
|
||||
'notif.action.view_collection': 'הצגת האוסף',
|
||||
'notif.action.view_journey': 'הצגת יומן המסע',
|
||||
'notif.action.view_admin': 'מעבר לניהול',
|
||||
'notif.wanderer_source_hint.title': 'מסלול wanderer',
|
||||
'notif.wanderer_source_hint.possible_change': 'ייתכן ש-„{tour}” ב-{trip} השתנה ב-wanderer',
|
||||
|
||||
@@ -139,6 +139,7 @@ const settings: TranslationStrings = {
|
||||
'settings.notifyVacayInvite': 'הזמנות לאיחוד חופשות',
|
||||
'settings.notifyVacayShare': 'שיתופי לוח חופשות',
|
||||
'settings.notifyCollectionInvite': 'הזמנות לאוספים',
|
||||
'settings.notifyJourneyInvite': 'הזמנות ליומני מסע',
|
||||
'settings.notifySynologySessionCleared': 'הפעלת Synology נוקתה',
|
||||
'settings.notifyPluginNotification': 'התראות תוספים',
|
||||
'settings.notifyPhotosShared': 'תמונות משותפות (Immich)',
|
||||
|
||||
@@ -49,6 +49,10 @@ const hu: NotificationLocale = {
|
||||
title: 'Gyűjtemény meghívó',
|
||||
body: `${p.actor} meghívott egy gyűjtemény megosztására. Nyissa meg a TREK-et az elfogadáshoz vagy elutasításhoz.`,
|
||||
}),
|
||||
journey_invite: (p) => ({
|
||||
title: `Útinapló meghívó: "${p.journey}"`,
|
||||
body: `${p.actor} hozzáadott a(z) "${p.journey}" útinaplóhoz. Nyisd meg a TREK-et a megtekintéshez.`,
|
||||
}),
|
||||
photos_shared: (p) => ({
|
||||
title: pluralForm(p.count, 'hu', { one: `${p.count} fotó megosztva`, other: `${p.count} fotó megosztva` }),
|
||||
body: pluralForm(p.count, 'hu', {
|
||||
|
||||
@@ -25,6 +25,8 @@ const notif: TranslationStrings = {
|
||||
'notif.vacay_share.text': '{actor} megosztotta veled a szabadságnaptárát',
|
||||
'notif.collection_invite.title': 'Gyűjtemény meghívó',
|
||||
'notif.collection_invite.text': '{actor} meghívott egy gyűjteménybe',
|
||||
'notif.journey_invite.title': 'Útinapló meghívó',
|
||||
'notif.journey_invite.text': '{actor} hozzáadott a(z) {journey} útinaplóhoz',
|
||||
'notif.photos_shared.title': 'Fotók megosztva',
|
||||
'notif.photos_shared.text': '{actor} {count} fotót osztott meg a(z) {trip} utazásban',
|
||||
'notif.photos_shared.text.one': '{actor} {count} fotót osztott meg a(z) {trip} utazásban',
|
||||
@@ -46,6 +48,7 @@ const notif: TranslationStrings = {
|
||||
'notif.action.view_photos': 'Fotók megtekintése',
|
||||
'notif.action.view_vacay': 'Vacay megtekintése',
|
||||
'notif.action.view_collection': 'Gyűjtemény megtekintése',
|
||||
'notif.action.view_journey': 'Útinapló megtekintése',
|
||||
'notif.action.view_admin': 'Admin megnyitása',
|
||||
'notif.wanderer_source_hint.title': 'wanderer útvonal',
|
||||
'notif.wanderer_source_hint.possible_change': '„{tour}” ({trip}) megváltozhatott a wandererben',
|
||||
|
||||
@@ -130,6 +130,7 @@ const settings: TranslationStrings = {
|
||||
'settings.notifyVacayInvite': 'Vacay összevonási meghívók',
|
||||
'settings.notifyVacayShare': 'Vacay naptármegosztások',
|
||||
'settings.notifyCollectionInvite': 'Gyűjteménymeghívók',
|
||||
'settings.notifyJourneyInvite': 'Útinapló meghívók',
|
||||
'settings.notifySynologySessionCleared': 'Synology munkamenet törölve',
|
||||
'settings.notifyPluginNotification': 'Bővítményértesítések',
|
||||
'settings.notifyPhotosShared': 'Megosztott fotók (Immich)',
|
||||
|
||||
@@ -48,6 +48,10 @@ const id: NotificationLocale = {
|
||||
title: 'Undangan koleksi',
|
||||
body: `${p.actor} mengundang Anda untuk berbagi koleksi. Buka TREK untuk menerima atau menolak.`,
|
||||
}),
|
||||
journey_invite: (p) => ({
|
||||
title: `Undangan jurnal perjalanan: "${p.journey}"`,
|
||||
body: `${p.actor} menambahkan Anda ke jurnal perjalanan "${p.journey}". Buka TREK untuk melihatnya.`,
|
||||
}),
|
||||
photos_shared: (p) => ({
|
||||
title: `${p.count} foto dibagikan`,
|
||||
body: `${p.actor} membagikan ${p.count} foto di "${p.trip}".`,
|
||||
|
||||
@@ -25,6 +25,8 @@ const notif: TranslationStrings = {
|
||||
'notif.vacay_share.text': '{actor} membagikan kalender cutinya denganmu',
|
||||
'notif.collection_invite.title': 'Undangan koleksi',
|
||||
'notif.collection_invite.text': '{actor} mengundang Anda ke koleksi',
|
||||
'notif.journey_invite.title': 'Undangan jurnal perjalanan',
|
||||
'notif.journey_invite.text': '{actor} menambahkan Anda ke jurnal perjalanan {journey}',
|
||||
'notif.photos_shared.title': 'Foto Dibagikan',
|
||||
'notif.photos_shared.text': '{actor} membagikan {count} foto di {trip}',
|
||||
'notif.collab_message.title': 'Pesan Baru',
|
||||
@@ -45,6 +47,7 @@ const notif: TranslationStrings = {
|
||||
'notif.action.view_photos': 'Lihat Foto',
|
||||
'notif.action.view_vacay': 'Lihat Vacay',
|
||||
'notif.action.view_collection': 'Lihat koleksi',
|
||||
'notif.action.view_journey': 'Lihat jurnal',
|
||||
'notif.action.view_admin': 'Ke Admin',
|
||||
'notif.wanderer_source_hint.title': 'Jalur wanderer',
|
||||
'notif.wanderer_source_hint.possible_change': '“{tour}” di {trip} mungkin berubah di wanderer',
|
||||
|
||||
@@ -126,6 +126,7 @@ const settings: TranslationStrings = {
|
||||
'settings.notifyVacayInvite': 'Undangan Vacay fusion',
|
||||
'settings.notifyVacayShare': 'Berbagi kalender Vacay',
|
||||
'settings.notifyCollectionInvite': 'Undangan koleksi',
|
||||
'settings.notifyJourneyInvite': 'Undangan jurnal perjalanan',
|
||||
'settings.notifySynologySessionCleared': 'Sesi Synology dihapus',
|
||||
'settings.notifyPluginNotification': 'Notifikasi plugin',
|
||||
'settings.notifyPhotosShared': 'Foto dibagikan (Immich)',
|
||||
|
||||
@@ -49,6 +49,10 @@ const it: NotificationLocale = {
|
||||
title: 'Invito a una raccolta',
|
||||
body: `${p.actor} ti ha invitato a condividere una raccolta. Apri TREK per accettare o rifiutare.`,
|
||||
}),
|
||||
journey_invite: (p) => ({
|
||||
title: `Invito a un diario di viaggio: "${p.journey}"`,
|
||||
body: `${p.actor} ti ha aggiunto al diario di viaggio "${p.journey}". Apri TREK per leggerlo.`,
|
||||
}),
|
||||
photos_shared: (p) => ({
|
||||
title: pluralForm(p.count, 'it', { one: `${p.count} foto condivisa`, other: `${p.count} foto condivise` }),
|
||||
body: `${p.actor} ha condiviso ${p.count} foto in "${p.trip}".`,
|
||||
|
||||
@@ -25,6 +25,8 @@ const notif: TranslationStrings = {
|
||||
'notif.vacay_share.text': '{actor} ha condiviso con te il suo calendario ferie',
|
||||
'notif.collection_invite.title': 'Invito a una raccolta',
|
||||
'notif.collection_invite.text': '{actor} ti ha invitato a una raccolta',
|
||||
'notif.journey_invite.title': 'Invito a un diario di viaggio',
|
||||
'notif.journey_invite.text': '{actor} ti ha aggiunto al diario di viaggio {journey}',
|
||||
'notif.photos_shared.title': 'Foto condivise',
|
||||
'notif.photos_shared.text': '{actor} ha condiviso {count} foto in {trip}',
|
||||
'notif.photos_shared.text.one': '{actor} ha condiviso {count} foto in {trip}',
|
||||
@@ -46,6 +48,7 @@ const notif: TranslationStrings = {
|
||||
'notif.action.view_photos': 'Vedi foto',
|
||||
'notif.action.view_vacay': 'Vedi Vacay',
|
||||
'notif.action.view_collection': 'Vedi raccolta',
|
||||
'notif.action.view_journey': 'Vedi diario',
|
||||
'notif.action.view_admin': "Vai all'admin",
|
||||
'notif.wanderer_source_hint.title': 'Sentiero wanderer',
|
||||
'notif.wanderer_source_hint.possible_change': '«{tour}» in {trip} potrebbe essere cambiato in wanderer',
|
||||
|
||||
@@ -129,6 +129,7 @@ const settings: TranslationStrings = {
|
||||
'settings.notifyVacayInvite': 'Inviti fusione Vacay',
|
||||
'settings.notifyVacayShare': 'Condivisioni calendario Vacay',
|
||||
'settings.notifyCollectionInvite': 'Inviti alle raccolte',
|
||||
'settings.notifyJourneyInvite': 'Inviti ai diari di viaggio',
|
||||
'settings.notifySynologySessionCleared': 'Sessione Synology rimossa',
|
||||
'settings.notifyPluginNotification': 'Notifiche dei plugin',
|
||||
'settings.notifyPhotosShared': 'Foto condivise (Immich)',
|
||||
|
||||
@@ -48,6 +48,10 @@ const ja: NotificationLocale = {
|
||||
title: 'コレクション招待',
|
||||
body: `${p.actor}がコレクションの共有に招待しています。TREKを開いて承認または拒否してください。`,
|
||||
}),
|
||||
journey_invite: (p) => ({
|
||||
title: `日記への招待:「${p.journey}」`,
|
||||
body: `${p.actor}さんがあなたを日記「${p.journey}」に追加しました。TREKを開いてご覧ください。`,
|
||||
}),
|
||||
photos_shared: (p) => ({
|
||||
title: `${p.count}枚の写真が共有されました`,
|
||||
body: `${p.actor}が「${p.trip}」で${p.count}枚の写真を共有しました。`,
|
||||
|
||||
@@ -25,6 +25,8 @@ const notif: TranslationStrings = {
|
||||
'notif.vacay_share.text': '{actor}が休暇カレンダーを共有しました',
|
||||
'notif.collection_invite.title': 'コレクション招待',
|
||||
'notif.collection_invite.text': '{actor}がコレクションに招待しました',
|
||||
'notif.journey_invite.title': '日記への招待',
|
||||
'notif.journey_invite.text': '{actor}さんがあなたを日記「{journey}」に追加しました',
|
||||
'notif.photos_shared.title': '写真が共有されました',
|
||||
'notif.photos_shared.text': '{actor}が「{trip}」で{count}枚の写真を共有しました',
|
||||
'notif.collab_message.title': '新しいメッセージ',
|
||||
@@ -45,6 +47,7 @@ const notif: TranslationStrings = {
|
||||
'notif.action.view_photos': '写真を見る',
|
||||
'notif.action.view_vacay': 'Vacayを見る',
|
||||
'notif.action.view_collection': 'コレクションを見る',
|
||||
'notif.action.view_journey': '日記を見る',
|
||||
'notif.action.view_admin': '管理画面へ',
|
||||
'notif.wanderer_source_hint.title': 'wanderer のトレイル',
|
||||
'notif.wanderer_source_hint.possible_change': '{trip} の「{tour}」が wanderer で変更された可能性があります',
|
||||
|
||||
@@ -126,6 +126,7 @@ const settings: TranslationStrings = {
|
||||
'settings.notifyVacayInvite': 'Vacay fusion の招待',
|
||||
'settings.notifyVacayShare': 'Vacay カレンダーの共有',
|
||||
'settings.notifyCollectionInvite': 'コレクションへの招待',
|
||||
'settings.notifyJourneyInvite': '日記への招待',
|
||||
'settings.notifySynologySessionCleared': 'Synologyセッションがクリアされました',
|
||||
'settings.notifyPluginNotification': 'プラグイン通知',
|
||||
'settings.notifyPhotosShared': '共有写真(Immich)',
|
||||
|
||||
@@ -48,6 +48,10 @@ const ko: NotificationLocale = {
|
||||
title: '컬렉션 초대',
|
||||
body: `${p.actor}이(가) 컬렉션 공유에 초대했습니다. TREK을 열어 수락하거나 거절하세요.`,
|
||||
}),
|
||||
journey_invite: (p) => ({
|
||||
title: `여정 초대: "${p.journey}"`,
|
||||
body: `${p.actor}님이 회원님을 여정 "${p.journey}"에 추가했습니다. TREK을 열어 확인하세요.`,
|
||||
}),
|
||||
photos_shared: (p) => ({
|
||||
title: `사진 ${p.count}장이 공유되었습니다`,
|
||||
body: `${p.actor}이(가) "${p.trip}"에서 사진 ${p.count}장을 공유했습니다.`,
|
||||
|
||||
@@ -25,6 +25,8 @@ const notif: TranslationStrings = {
|
||||
'notif.vacay_share.text': '{actor}이(가) 휴가 캘린더를 공유했습니다',
|
||||
'notif.collection_invite.title': '컬렉션 초대',
|
||||
'notif.collection_invite.text': '{actor}이(가) 컬렉션에 초대했습니다',
|
||||
'notif.journey_invite.title': '여정 초대',
|
||||
'notif.journey_invite.text': '{actor}님이 회원님을 여정 {journey}에 추가했습니다',
|
||||
'notif.photos_shared.title': '사진 공유됨',
|
||||
'notif.photos_shared.text': '{actor}이(가) {trip}에서 {count}장의 사진을 공유했습니다',
|
||||
'notif.collab_message.title': '새 메시지',
|
||||
@@ -45,6 +47,7 @@ const notif: TranslationStrings = {
|
||||
'notif.action.view_photos': '사진 보기',
|
||||
'notif.action.view_vacay': 'Vacay 보기',
|
||||
'notif.action.view_collection': '컬렉션 보기',
|
||||
'notif.action.view_journey': '여정 보기',
|
||||
'notif.action.view_admin': '관리자로 이동',
|
||||
'notif.wanderer_source_hint.title': 'wanderer 트레일',
|
||||
'notif.wanderer_source_hint.possible_change': '{trip}의 "{tour}"이(가) wanderer에서 바뀌었을 수 있습니다',
|
||||
|
||||
@@ -126,6 +126,7 @@ const settings: TranslationStrings = {
|
||||
'settings.notifyVacayInvite': 'Vacay 퓨전 초대',
|
||||
'settings.notifyVacayShare': 'Vacay 캘린더 공유',
|
||||
'settings.notifyCollectionInvite': '컬렉션 초대',
|
||||
'settings.notifyJourneyInvite': '여정 초대',
|
||||
'settings.notifySynologySessionCleared': 'Synology 세션이 초기화되었습니다',
|
||||
'settings.notifyPluginNotification': '플러그인 알림',
|
||||
'settings.notifyPhotosShared': '공유된 사진 (Immich)',
|
||||
|
||||
@@ -49,6 +49,10 @@ const nl: NotificationLocale = {
|
||||
title: 'Collectie-uitnodiging',
|
||||
body: `${p.actor} nodigt je uit om een collectie te delen. Open TREK om te accepteren of af te wijzen.`,
|
||||
}),
|
||||
journey_invite: (p) => ({
|
||||
title: `Uitnodiging voor reisverslag: "${p.journey}"`,
|
||||
body: `${p.actor} heeft je toegevoegd aan het reisverslag "${p.journey}". Open TREK om mee te lezen.`,
|
||||
}),
|
||||
photos_shared: (p) => ({
|
||||
title: pluralForm(p.count, 'nl', { one: `${p.count} foto gedeeld`, other: `${p.count} foto's gedeeld` }),
|
||||
body: pluralForm(p.count, 'nl', {
|
||||
|
||||
@@ -25,6 +25,8 @@ const notif: TranslationStrings = {
|
||||
'notif.vacay_share.text': '{actor} heeft zijn/haar vakantiekalender met je gedeeld',
|
||||
'notif.collection_invite.title': 'Collectie-uitnodiging',
|
||||
'notif.collection_invite.text': '{actor} nodigt je uit voor een collectie',
|
||||
'notif.journey_invite.title': 'Uitnodiging voor reisverslag',
|
||||
'notif.journey_invite.text': '{actor} heeft je toegevoegd aan het reisverslag {journey}',
|
||||
'notif.photos_shared.title': "Foto's gedeeld",
|
||||
'notif.photos_shared.text': "{actor} heeft {count} foto's gedeeld in {trip}",
|
||||
'notif.photos_shared.text.one': '{actor} heeft {count} foto gedeeld in {trip}',
|
||||
@@ -46,6 +48,7 @@ const notif: TranslationStrings = {
|
||||
'notif.action.view_photos': "Foto's bekijken",
|
||||
'notif.action.view_vacay': 'Vacay bekijken',
|
||||
'notif.action.view_collection': 'Collectie bekijken',
|
||||
'notif.action.view_journey': 'Reisverslag bekijken',
|
||||
'notif.action.view_admin': 'Naar admin',
|
||||
'notif.wanderer_source_hint.title': 'wanderer-trail',
|
||||
'notif.wanderer_source_hint.possible_change': '‘{tour}’ in {trip} is mogelijk gewijzigd in wanderer',
|
||||
|
||||
@@ -129,6 +129,7 @@ const settings: TranslationStrings = {
|
||||
'settings.notifyVacayInvite': 'Vacay-fusieuitnodigingen',
|
||||
'settings.notifyVacayShare': 'Gedeelde Vacay-kalenders',
|
||||
'settings.notifyCollectionInvite': 'Collectie-uitnodigingen',
|
||||
'settings.notifyJourneyInvite': 'Uitnodigingen voor reisverslagen',
|
||||
'settings.notifySynologySessionCleared': 'Synology-sessie gewist',
|
||||
'settings.notifyPluginNotification': 'Pluginmeldingen',
|
||||
'settings.notifyPhotosShared': "Gedeelde foto's (Immich)",
|
||||
|
||||
@@ -49,6 +49,10 @@ const pl: NotificationLocale = {
|
||||
title: 'Zaproszenie do kolekcji',
|
||||
body: `${p.actor} zaprosił Cię do udostępnienia kolekcji. Otwórz TREK, aby zaakceptować lub odrzucić.`,
|
||||
}),
|
||||
journey_invite: (p) => ({
|
||||
title: `Zaproszenie do dziennika podróży: "${p.journey}"`,
|
||||
body: `${p.actor} dodał(a) Cię do dziennika podróży "${p.journey}". Otwórz TREK, aby go zobaczyć.`,
|
||||
}),
|
||||
photos_shared: (p) => ({
|
||||
title: pluralForm(p.count, 'pl', {
|
||||
one: `Udostępniono ${p.count} zdjęcie`,
|
||||
|
||||
@@ -25,6 +25,8 @@ const notif: TranslationStrings = {
|
||||
'notif.vacay_share.text': '{actor} udostępnił Ci swój kalendarz urlopów',
|
||||
'notif.collection_invite.title': 'Zaproszenie do kolekcji',
|
||||
'notif.collection_invite.text': '{actor} zaprosił Cię do kolekcji',
|
||||
'notif.journey_invite.title': 'Zaproszenie do dziennika podróży',
|
||||
'notif.journey_invite.text': '{actor} dodał(a) Cię do dziennika podróży {journey}',
|
||||
'notif.photos_shared.title': 'Zdjęcia udostępnione',
|
||||
'notif.photos_shared.text': '{actor} udostępnił {count} zdjęcia w {trip}',
|
||||
'notif.photos_shared.text.one': '{actor} udostępnił {count} zdjęcie w {trip}',
|
||||
@@ -48,6 +50,7 @@ const notif: TranslationStrings = {
|
||||
'notif.action.view_photos': 'Zobacz zdjęcia',
|
||||
'notif.action.view_vacay': 'Zobacz Vacay',
|
||||
'notif.action.view_collection': 'Zobacz kolekcję',
|
||||
'notif.action.view_journey': 'Zobacz dziennik',
|
||||
'notif.action.view_admin': 'Przejdź do admina',
|
||||
'notif.wanderer_source_hint.title': 'Szlak wanderer',
|
||||
'notif.wanderer_source_hint.possible_change': '„{tour}” w {trip} mógł się zmienić w wanderer',
|
||||
|
||||
@@ -129,6 +129,7 @@ const settings: TranslationStrings = {
|
||||
'settings.notifyVacayInvite': 'Zaproszenia do połączenia kalendarzy',
|
||||
'settings.notifyVacayShare': 'Udostępnienia kalendarza Vacay',
|
||||
'settings.notifyCollectionInvite': 'Zaproszenia do kolekcji',
|
||||
'settings.notifyJourneyInvite': 'Zaproszenia do dzienników podróży',
|
||||
'settings.notifySynologySessionCleared': 'Sesja Synology wyczyszczona',
|
||||
'settings.notifyPluginNotification': 'Powiadomienia wtyczek',
|
||||
'settings.notifyPhotosShared': 'Udostępnione zdjęcia (Immich)',
|
||||
|
||||
@@ -49,6 +49,10 @@ const ru: NotificationLocale = {
|
||||
title: 'Приглашение в коллекцию',
|
||||
body: `${p.actor} приглашает вас поделиться коллекцией. Откройте TREK для подтверждения.`,
|
||||
}),
|
||||
journey_invite: (p) => ({
|
||||
title: `Приглашение в путешествие: «${p.journey}»`,
|
||||
body: `${p.actor} добавил(а) вас в путешествие «${p.journey}». Откройте TREK, чтобы посмотреть.`,
|
||||
}),
|
||||
photos_shared: (p) => ({
|
||||
title: pluralForm(p.count, 'ru', {
|
||||
one: `${p.count} фото опубликовано`,
|
||||
|
||||
@@ -25,6 +25,8 @@ const notif: TranslationStrings = {
|
||||
'notif.vacay_share.text': '{actor} поделился с вами своим календарём отпусков',
|
||||
'notif.collection_invite.title': 'Приглашение в коллекцию',
|
||||
'notif.collection_invite.text': '{actor} приглашает вас в коллекцию',
|
||||
'notif.journey_invite.title': 'Приглашение в путешествие',
|
||||
'notif.journey_invite.text': '{actor} добавил(а) вас в путешествие {journey}',
|
||||
'notif.photos_shared.title': 'Фото опубликованы',
|
||||
'notif.photos_shared.text': '{actor} поделился {count} фото в {trip}',
|
||||
'notif.photos_shared.text.one': '{actor} поделился {count} фото в {trip}',
|
||||
@@ -48,6 +50,7 @@ const notif: TranslationStrings = {
|
||||
'notif.action.view_photos': 'Открыть фото',
|
||||
'notif.action.view_vacay': 'Открыть Vacay',
|
||||
'notif.action.view_collection': 'Открыть коллекцию',
|
||||
'notif.action.view_journey': 'Открыть путешествие',
|
||||
'notif.action.view_admin': 'Перейти в админ',
|
||||
'notif.wanderer_source_hint.title': 'Маршрут wanderer',
|
||||
'notif.wanderer_source_hint.possible_change': '«{tour}» в {trip}, возможно, изменён в wanderer',
|
||||
|
||||
@@ -130,6 +130,7 @@ const settings: TranslationStrings = {
|
||||
'settings.notifyVacayInvite': 'Приглашения слияния Vacay',
|
||||
'settings.notifyVacayShare': 'Общий доступ к календарю Vacay',
|
||||
'settings.notifyCollectionInvite': 'Приглашения в коллекции',
|
||||
'settings.notifyJourneyInvite': 'Приглашения в путешествия',
|
||||
'settings.notifySynologySessionCleared': 'Сессия Synology сброшена',
|
||||
'settings.notifyPluginNotification': 'Уведомления плагинов',
|
||||
'settings.notifyPhotosShared': 'Общие фото (Immich)',
|
||||
|
||||
@@ -49,6 +49,10 @@ const sk: NotificationLocale = {
|
||||
title: 'Pozvánka do zbierky',
|
||||
body: `${p.actor} vás pozval(a) na zdieľanie zbierky. Otvorte TREK na prijatie alebo odmietnutie.`,
|
||||
}),
|
||||
journey_invite: (p) => ({
|
||||
title: `Pozvánka do denníka: "${p.journey}"`,
|
||||
body: `${p.actor} vás pridal(a) do cestovného denníka "${p.journey}". Otvorte TREK a pozrite sa.`,
|
||||
}),
|
||||
photos_shared: (p) => ({
|
||||
title: pluralForm(p.count, 'sk', {
|
||||
one: `${p.count} zdieľaná fotka`,
|
||||
|
||||
@@ -25,6 +25,8 @@ const notif: TranslationStrings = {
|
||||
'notif.vacay_share.text': '{actor} s vami zdieľal svoj kalendár dovoleniek',
|
||||
'notif.collection_invite.title': 'Pozvánka do zbierky',
|
||||
'notif.collection_invite.text': '{actor} vás pozval na zdieľanie zbierky',
|
||||
'notif.journey_invite.title': 'Pozvánka do cestovného denníka',
|
||||
'notif.journey_invite.text': '{actor} vás pridal(a) do denníka {journey}',
|
||||
'notif.photos_shared.title': 'Fotky zdieľané',
|
||||
'notif.photos_shared.text': '{actor} zdieľal {count} fotiek vo výlete {trip}',
|
||||
'notif.photos_shared.text.one': '{actor} zdieľal {count} fotku vo výlete {trip}',
|
||||
@@ -47,6 +49,7 @@ const notif: TranslationStrings = {
|
||||
'notif.action.view_photos': 'Zobraziť fotky',
|
||||
'notif.action.view_vacay': 'Zobraziť Vacay',
|
||||
'notif.action.view_collection': 'Zobraziť zbierku',
|
||||
'notif.action.view_journey': 'Zobraziť denník',
|
||||
'notif.action.view_admin': 'Prejsť do administrácie',
|
||||
'notif.wanderer_source_hint.title': 'Trasa wanderer',
|
||||
'notif.wanderer_source_hint.possible_change': '„{tour}“ v {trip} sa vo wanderer možno zmenila',
|
||||
|
||||
@@ -142,6 +142,7 @@ const settings: TranslationStrings = {
|
||||
'settings.notifyVacayInvite': 'Pozvánky na prepojenie Vacay',
|
||||
'settings.notifyVacayShare': 'Zdieľanie kalendára Vacay',
|
||||
'settings.notifyCollectionInvite': 'Pozvánky do kolekcií',
|
||||
'settings.notifyJourneyInvite': 'Pozvánky do cestovných denníkov',
|
||||
'settings.notifySynologySessionCleared': 'Relácia Synology bola zrušená',
|
||||
'settings.notifyPluginNotification': 'Oznámenia doplnkov',
|
||||
'settings.notifyPhotosShared': 'Zdieľané fotky (Immich)',
|
||||
|
||||
@@ -49,6 +49,10 @@ const en: NotificationLocale = {
|
||||
title: 'Inbjudan till samling',
|
||||
body: `${p.actor} bjöd in dig att dela en samling. Öppna TREK för att acceptera eller avvisa.`,
|
||||
}),
|
||||
journey_invite: (p) => ({
|
||||
title: `Journey-inbjudan: "${p.journey}"`,
|
||||
body: `${p.actor} har lagt till dig i Journey "${p.journey}". Öppna TREK för att läsa.`,
|
||||
}),
|
||||
photos_shared: (p) => ({
|
||||
title: pluralForm(p.count, 'sv', { one: `${p.count} foto delat`, other: `${p.count} foton delade` }),
|
||||
body: pluralForm(p.count, 'sv', {
|
||||
|
||||
@@ -25,6 +25,8 @@ const notif: TranslationStrings = {
|
||||
'notif.vacay_share.text': '{actor} delade sin semesterkalender med dig',
|
||||
'notif.collection_invite.title': 'Inbjudan till samling',
|
||||
'notif.collection_invite.text': '{actor} bjöd in dig till en samling',
|
||||
'notif.journey_invite.title': 'Journey-inbjudan',
|
||||
'notif.journey_invite.text': '{actor} har lagt till dig i {journey}',
|
||||
'notif.photos_shared.title': 'Delade foton',
|
||||
'notif.photos_shared.text': '{actor} delade {count} foton i {trip}',
|
||||
'notif.photos_shared.text.one': '{actor} delade {count} foto i {trip}',
|
||||
@@ -46,6 +48,7 @@ const notif: TranslationStrings = {
|
||||
'notif.action.view_photos': 'Visa bilder',
|
||||
'notif.action.view_vacay': 'Visa Vacay',
|
||||
'notif.action.view_collection': 'Visa samling',
|
||||
'notif.action.view_journey': 'Visa Journey',
|
||||
'notif.action.view_admin': 'Gå till Admin',
|
||||
'notif.wanderer_source_hint.title': 'wanderer-led',
|
||||
'notif.wanderer_source_hint.possible_change': '”{tour}” i {trip} kan ha ändrats i wanderer',
|
||||
|
||||
@@ -134,6 +134,7 @@ const settings: TranslationStrings = {
|
||||
'settings.notifyVacayInvite': 'Vacay samanslagnings inbjudningar',
|
||||
'settings.notifyVacayShare': 'Vacay kalender delningar',
|
||||
'settings.notifyCollectionInvite': 'Inbjudningar till samlingar',
|
||||
'settings.notifyJourneyInvite': 'Journey-inbjudningar',
|
||||
'settings.notifySynologySessionCleared': 'Synology-session rensad',
|
||||
'settings.notifyPluginNotification': 'Pluginaviseringar',
|
||||
'settings.notifyPhotosShared': 'Delade foton (Immich)',
|
||||
|
||||
@@ -48,6 +48,10 @@ const th: NotificationLocale = {
|
||||
title: 'คำเชิญให้แชร์คอลเลกชัน',
|
||||
body: `${p.actor} เชิญคุณให้แชร์คอลเลกชัน เปิด TREK เพื่อยอมรับหรือปฏิเสธ`,
|
||||
}),
|
||||
journey_invite: (p) => ({
|
||||
title: `คำเชิญเข้าร่วมการเดินทาง: "${p.journey}"`,
|
||||
body: `${p.actor} เพิ่มคุณในการเดินทาง "${p.journey}" แล้ว เปิด TREK เพื่อดู`,
|
||||
}),
|
||||
photos_shared: (p) => ({
|
||||
title: `แชร์รูปภาพ ${p.count} รูปแล้ว`,
|
||||
body: `${p.actor} แชร์รูปภาพ ${p.count} รูปใน "${p.trip}"`,
|
||||
|
||||
@@ -25,6 +25,8 @@ const notif: TranslationStrings = {
|
||||
'notif.vacay_share.text': '{actor} แบ่งปันปฏิทินวันหยุดกับคุณ',
|
||||
'notif.collection_invite.title': 'คำเชิญให้แชร์คอลเลกชัน',
|
||||
'notif.collection_invite.text': '{actor} เชิญคุณให้แบ่งปันคอลเล็กชัน',
|
||||
'notif.journey_invite.title': 'คำเชิญเข้าร่วมการเดินทาง',
|
||||
'notif.journey_invite.text': '{actor} เพิ่มคุณในการเดินทาง {journey}',
|
||||
'notif.photos_shared.title': 'แชร์รูปภาพแล้ว',
|
||||
'notif.photos_shared.text': '{actor} แบ่งปันรูปภาพ {count} รูปใน {trip}',
|
||||
'notif.collab_message.title': 'ข้อความใหม่',
|
||||
@@ -45,6 +47,7 @@ const notif: TranslationStrings = {
|
||||
'notif.action.view_photos': 'ดูรูปถ่าย',
|
||||
'notif.action.view_vacay': 'ดูวันหยุดพักผ่อน',
|
||||
'notif.action.view_collection': 'ดูคอลเลกชัน',
|
||||
'notif.action.view_journey': 'ดูการเดินทาง',
|
||||
'notif.action.view_admin': 'ไปที่ผู้ดูแลระบบ',
|
||||
'notif.wanderer_source_hint.title': 'เส้นทาง wanderer',
|
||||
'notif.wanderer_source_hint.possible_change': '"{tour}" ใน {trip} อาจเปลี่ยนแปลงใน wanderer',
|
||||
|
||||
@@ -624,6 +624,7 @@ const settings: TranslationStrings = {
|
||||
'settings.valhallaProviderOption.fossgis': 'Valhalla สาธารณะ (FOSSGIS)',
|
||||
'settings.valhallaProviderOption.custom': 'Valhalla ของคุณเอง',
|
||||
'settings.notifyCollectionInvite': 'คำเชิญเข้าคอลเลกชัน',
|
||||
'settings.notifyJourneyInvite': 'คำเชิญเข้าร่วมการเดินทาง',
|
||||
'settings.notifySynologySessionCleared': 'ล้างเซสชัน Synology แล้ว',
|
||||
'settings.notifyPluginNotification': 'การแจ้งเตือนจากปลั๊กอิน',
|
||||
'settings.notifyReplicaFailure': 'การทำสำเนาที่เก็บข้อมูลล้มเหลว',
|
||||
|
||||
@@ -49,6 +49,10 @@ const tr: NotificationLocale = {
|
||||
title: 'Koleksiyon daveti',
|
||||
body: `${p.actor} sizi bir koleksiyonu paylaşmaya davet etti. Kabul etmek veya reddetmek için TREK’i açın.`,
|
||||
}),
|
||||
journey_invite: (p) => ({
|
||||
title: `Seyahat daveti: "${p.journey}"`,
|
||||
body: `${p.actor} sizi "${p.journey}" seyahatine ekledi. Görmek için TREK'i açın.`,
|
||||
}),
|
||||
photos_shared: (p) => ({
|
||||
title: pluralForm(p.count, 'tr', {
|
||||
one: `${p.count} fotoğraf paylaşıldı`,
|
||||
|
||||
@@ -25,6 +25,8 @@ const notif: TranslationStrings = {
|
||||
'notif.vacay_share.text': '{actor} tatil takvimini sizinle paylaştı',
|
||||
'notif.collection_invite.title': 'Koleksiyon daveti',
|
||||
'notif.collection_invite.text': '{actor} sizi bir koleksiyona davet etti',
|
||||
'notif.journey_invite.title': 'Seyahat daveti',
|
||||
'notif.journey_invite.text': '{actor} sizi {journey} seyahatine ekledi',
|
||||
'notif.photos_shared.title': 'Fotoğraflar Paylaşıldı',
|
||||
'notif.photos_shared.text': '{actor}, {trip} içinde {count} fotoğraf paylaştı',
|
||||
'notif.photos_shared.text.one': '{actor}, {trip} içinde {count} fotoğraf paylaştı',
|
||||
@@ -46,6 +48,7 @@ const notif: TranslationStrings = {
|
||||
'notif.action.view_photos': 'Fotoğrafları Görüntüle',
|
||||
'notif.action.view_vacay': "Vacay'ı Görüntüle",
|
||||
'notif.action.view_collection': 'Koleksiyonu görüntüle',
|
||||
'notif.action.view_journey': 'Seyahati görüntüle',
|
||||
'notif.action.view_admin': 'Yöneticiye git',
|
||||
'notif.wanderer_source_hint.title': 'wanderer rotası',
|
||||
'notif.wanderer_source_hint.possible_change': '{trip} içindeki "{tour}" wanderer\'da değişmiş olabilir',
|
||||
|
||||
@@ -131,6 +131,7 @@ const settings: TranslationStrings = {
|
||||
'settings.notifyVacayInvite': 'Vacay birleştirme davetleri',
|
||||
'settings.notifyVacayShare': 'Vacay takvim paylaşımları',
|
||||
'settings.notifyCollectionInvite': 'Koleksiyon davetleri',
|
||||
'settings.notifyJourneyInvite': 'Seyahat davetleri',
|
||||
'settings.notifySynologySessionCleared': 'Synology oturumu temizlendi',
|
||||
'settings.notifyPluginNotification': 'Eklenti bildirimleri',
|
||||
'settings.notifyPhotosShared': 'Paylaşılan fotoğraflar (Immich)',
|
||||
|
||||
@@ -49,6 +49,10 @@ const uk: NotificationLocale = {
|
||||
title: 'Запрошення до колекції',
|
||||
body: `${p.actor} запрошує вас поділитися колекцією. Відкрийте TREK, щоб прийняти або відхилити.`,
|
||||
}),
|
||||
journey_invite: (p) => ({
|
||||
title: `Запрошення до щоденника: «${p.journey}»`,
|
||||
body: `${p.actor} додав(ла) вас до щоденника подорожей «${p.journey}». Відкрийте TREK, щоб переглянути.`,
|
||||
}),
|
||||
photos_shared: (p) => ({
|
||||
title: pluralForm(p.count, 'uk', {
|
||||
one: `${p.count} нове фото`,
|
||||
|
||||
@@ -25,6 +25,8 @@ const notif: TranslationStrings = {
|
||||
'notif.vacay_share.text': '{actor} поділився з вами своїм календарем відпусток',
|
||||
'notif.collection_invite.title': 'Запрошення до колекції',
|
||||
'notif.collection_invite.text': '{actor} запрошує вас до колекції',
|
||||
'notif.journey_invite.title': 'Запрошення до щоденника подорожей',
|
||||
'notif.journey_invite.text': '{actor} додав(ла) вас до щоденника {journey}',
|
||||
'notif.photos_shared.title': 'Фото опубліковано',
|
||||
'notif.photos_shared.text': '{actor} поділився {count} фото у {trip}',
|
||||
'notif.photos_shared.text.one': '{actor} поділився {count} фото у {trip}',
|
||||
@@ -48,6 +50,7 @@ const notif: TranslationStrings = {
|
||||
'notif.action.view_photos': 'Відкрити фото',
|
||||
'notif.action.view_vacay': 'Відкрити Vacay',
|
||||
'notif.action.view_collection': 'Переглянути колекцію',
|
||||
'notif.action.view_journey': 'Переглянути щоденник',
|
||||
'notif.action.view_admin': 'Перейти в адмін',
|
||||
'notif.wanderer_source_hint.title': 'Маршрут wanderer',
|
||||
'notif.wanderer_source_hint.possible_change': '«{tour}» у {trip}, можливо, змінено в wanderer',
|
||||
|
||||
@@ -132,6 +132,7 @@ const settings: TranslationStrings = {
|
||||
'settings.notifyVacayInvite': "Запрошення об'єднання Vacay",
|
||||
'settings.notifyVacayShare': 'Спільний доступ до календарів Vacay',
|
||||
'settings.notifyCollectionInvite': 'Запрошення до колекцій',
|
||||
'settings.notifyJourneyInvite': 'Запрошення до щоденників подорожей',
|
||||
'settings.notifySynologySessionCleared': 'Сеанс Synology скинуто',
|
||||
'settings.notifyPluginNotification': 'Сповіщення плагінів',
|
||||
'settings.notifyPhotosShared': 'Спільні фото (Immich)',
|
||||
|
||||
@@ -48,6 +48,10 @@ const en: NotificationLocale = {
|
||||
title: 'Lời mời bộ sưu tập',
|
||||
body: `${p.actor} đã mời bạn chia sẻ một bộ sưu tập. Mở TREK để chấp nhận hoặc từ chối.`,
|
||||
}),
|
||||
journey_invite: (p) => ({
|
||||
title: `Lời mời hành trình: "${p.journey}"`,
|
||||
body: `${p.actor} đã thêm bạn vào hành trình "${p.journey}". Mở TREK để xem.`,
|
||||
}),
|
||||
photos_shared: (p) => ({
|
||||
title: `Đã chia sẻ ${p.count} ảnh`,
|
||||
body: `${p.actor} đã chia sẻ ${p.count} ảnh trong "${p.trip}".`,
|
||||
|
||||
@@ -25,6 +25,8 @@ const notif: TranslationStrings = {
|
||||
'notif.vacay_share.text': '{actor} đã chia sẻ lịch nghỉ phép của họ với bạn',
|
||||
'notif.collection_invite.title': 'Lời mời bộ sưu tập',
|
||||
'notif.collection_invite.text': '{actor} đã mời bạn vào một bộ sưu tập',
|
||||
'notif.journey_invite.title': 'Lời mời hành trình',
|
||||
'notif.journey_invite.text': '{actor} đã thêm bạn vào hành trình {journey}',
|
||||
'notif.photos_shared.title': 'Ảnh được chia sẻ',
|
||||
'notif.photos_shared.text': '{actor} đã chia sẻ {count} ảnh trong {trip}',
|
||||
'notif.collab_message.title': 'Tin nhắn mới',
|
||||
@@ -45,6 +47,7 @@ const notif: TranslationStrings = {
|
||||
'notif.action.view_photos': 'Xem ảnh',
|
||||
'notif.action.view_vacay': 'Xem kỳ nghỉ',
|
||||
'notif.action.view_collection': 'Xem bộ sưu tập',
|
||||
'notif.action.view_journey': 'Xem hành trình',
|
||||
'notif.action.view_admin': 'Đi tới quản trị viên',
|
||||
'notif.wanderer_source_hint.title': 'Tuyến wanderer',
|
||||
'notif.wanderer_source_hint.possible_change': '“{tour}” trong {trip} có thể đã thay đổi trên wanderer',
|
||||
|
||||
@@ -134,6 +134,7 @@ const settings: TranslationStrings = {
|
||||
'settings.notifyVacayInvite': 'Lời mời kết hợp Vacay',
|
||||
'settings.notifyVacayShare': 'Chia sẻ lịch Vacay',
|
||||
'settings.notifyCollectionInvite': 'Lời mời bộ sưu tập',
|
||||
'settings.notifyJourneyInvite': 'Lời mời hành trình',
|
||||
'settings.notifySynologySessionCleared': 'Đã xóa phiên Synology',
|
||||
'settings.notifyPluginNotification': 'Thông báo plugin',
|
||||
'settings.notifyPhotosShared': 'Ảnh được chia sẻ (Immich)',
|
||||
|
||||
@@ -49,6 +49,10 @@ const zhTW: NotificationLocale = {
|
||||
title: '收藏邀請',
|
||||
body: `${p.actor} 邀請您共享收藏。開啟 TREK 以接受或拒絕。`,
|
||||
}),
|
||||
journey_invite: (p) => ({
|
||||
title: `旅程邀請:「${p.journey}」`,
|
||||
body: `${p.actor} 將你加入旅程「${p.journey}」。打開 TREK 查看。`,
|
||||
}),
|
||||
photos_shared: (p) => ({
|
||||
title: pluralForm(p.count, 'zh-TW', { other: `已分享 ${p.count} 張照片` }),
|
||||
body: pluralForm(p.count, 'zh-TW', { other: `${p.actor} 在「${p.trip}」中分享了 ${p.count} 張照片。` }),
|
||||
|
||||
@@ -25,6 +25,8 @@ const notif: TranslationStrings = {
|
||||
'notif.vacay_share.text': '{actor} 與你共享了假期日曆',
|
||||
'notif.collection_invite.title': '收藏邀請',
|
||||
'notif.collection_invite.text': '{actor} 邀請您加入收藏',
|
||||
'notif.journey_invite.title': '旅程邀請',
|
||||
'notif.journey_invite.text': '{actor} 將你加入旅程 {journey}',
|
||||
'notif.photos_shared.title': '照片已分享',
|
||||
'notif.photos_shared.text': '{actor} 在 {trip} 中分享了 {count} 張照片',
|
||||
'notif.collab_message.title': '新訊息',
|
||||
@@ -45,6 +47,7 @@ const notif: TranslationStrings = {
|
||||
'notif.action.view_photos': '查看照片',
|
||||
'notif.action.view_vacay': '查看 Vacay',
|
||||
'notif.action.view_collection': '查看收藏',
|
||||
'notif.action.view_journey': '查看旅程',
|
||||
'notif.action.view_admin': '前往管理',
|
||||
'notif.wanderer_source_hint.title': 'wanderer 路線',
|
||||
'notif.wanderer_source_hint.possible_change': '{trip} 中的「{tour}」可能已在 wanderer 中變更',
|
||||
|
||||
@@ -120,6 +120,7 @@ const settings: TranslationStrings = {
|
||||
'settings.notifyVacayInvite': 'Vacay 融合邀請',
|
||||
'settings.notifyVacayShare': 'Vacay 日曆共享',
|
||||
'settings.notifyCollectionInvite': '收藏邀請',
|
||||
'settings.notifyJourneyInvite': '旅程邀請',
|
||||
'settings.notifySynologySessionCleared': 'Synology 工作階段已清除',
|
||||
'settings.notifyPluginNotification': '外掛通知',
|
||||
'settings.notifyPhotosShared': '共享照片 (Immich)',
|
||||
|
||||
@@ -49,6 +49,10 @@ const zh: NotificationLocale = {
|
||||
title: '收藏邀请',
|
||||
body: `${p.actor} 邀请你共享收藏。打开 TREK 接受或拒绝。`,
|
||||
}),
|
||||
journey_invite: (p) => ({
|
||||
title: `旅程邀请:“${p.journey}”`,
|
||||
body: `${p.actor} 将你添加到旅程“${p.journey}”。打开 TREK 查看。`,
|
||||
}),
|
||||
photos_shared: (p) => ({
|
||||
title: pluralForm(p.count, 'zh', { other: `${p.count} 张照片已分享` }),
|
||||
body: pluralForm(p.count, 'zh', { other: `${p.actor} 在"${p.trip}"中分享了 ${p.count} 张照片。` }),
|
||||
|
||||
@@ -25,6 +25,8 @@ const notif: TranslationStrings = {
|
||||
'notif.vacay_share.text': '{actor} 与您共享了假期日历',
|
||||
'notif.collection_invite.title': '收藏邀请',
|
||||
'notif.collection_invite.text': '{actor} 邀请你加入收藏',
|
||||
'notif.journey_invite.title': '旅程邀请',
|
||||
'notif.journey_invite.text': '{actor} 将你添加到旅程 {journey}',
|
||||
'notif.photos_shared.title': '照片已分享',
|
||||
'notif.photos_shared.text': '{actor} 在 {trip} 中分享了 {count} 张照片',
|
||||
'notif.collab_message.title': '新消息',
|
||||
@@ -45,6 +47,7 @@ const notif: TranslationStrings = {
|
||||
'notif.action.view_photos': '查看照片',
|
||||
'notif.action.view_vacay': '查看假期',
|
||||
'notif.action.view_collection': '查看收藏',
|
||||
'notif.action.view_journey': '查看旅程',
|
||||
'notif.action.view_admin': '前往管理',
|
||||
'notif.wanderer_source_hint.title': 'wanderer 路线',
|
||||
'notif.wanderer_source_hint.possible_change': '{trip} 中的“{tour}”可能已在 wanderer 中变化',
|
||||
|
||||
@@ -119,6 +119,7 @@ const settings: TranslationStrings = {
|
||||
'settings.notifyVacayInvite': '假期合并邀请',
|
||||
'settings.notifyVacayShare': '假期日历共享',
|
||||
'settings.notifyCollectionInvite': '收藏邀请',
|
||||
'settings.notifyJourneyInvite': '旅程邀请',
|
||||
'settings.notifySynologySessionCleared': 'Synology 会话已清除',
|
||||
'settings.notifyPluginNotification': '插件通知',
|
||||
'settings.notifyPhotosShared': '共享照片 (Immich)',
|
||||
|
||||
@@ -48,6 +48,7 @@ The following events are configurable in user settings:
|
||||
| `vacay_invite` | You were invited to fuse vacation plans |
|
||||
| `vacay_share` | Someone shared their vacation calendar with you (view only) |
|
||||
| `collection_invite` | Someone invited you to share a collection |
|
||||
| `journey_invite` | Someone added you to their journey as an editor or a reader |
|
||||
| `photos_shared` | Photos were shared with a trip |
|
||||
| `collab_message` | A new message in a collaborative trip |
|
||||
| `packing_tagged` | You were assigned to a packing category in a trip |
|
||||
|
||||
Reference in New Issue
Block a user