diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/types/CalendarCollectionRender.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/types/CalendarCollectionRender.kt index f88c033c74..87f09b2c23 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/types/CalendarCollectionRender.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/types/CalendarCollectionRender.kt @@ -20,31 +20,18 @@ */ package com.vitorpamplona.amethyst.ui.note.types -import androidx.compose.foundation.layout.Column -import androidx.compose.foundation.layout.Row -import androidx.compose.foundation.layout.Spacer -import androidx.compose.foundation.layout.fillMaxWidth -import androidx.compose.foundation.layout.padding -import androidx.compose.foundation.layout.size -import androidx.compose.material3.MaterialTheme -import androidx.compose.material3.Text import androidx.compose.runtime.Composable -import androidx.compose.ui.Alignment -import androidx.compose.ui.Modifier -import androidx.compose.ui.res.pluralStringResource -import androidx.compose.ui.text.font.FontWeight -import androidx.compose.ui.text.style.TextOverflow -import androidx.compose.ui.unit.dp -import com.vitorpamplona.amethyst.R -import com.vitorpamplona.amethyst.commons.icons.symbols.Icon -import com.vitorpamplona.amethyst.commons.icons.symbols.MaterialSymbols +import com.vitorpamplona.amethyst.commons.ui.note.CalendarCollectionCard import com.vitorpamplona.amethyst.model.Note import com.vitorpamplona.amethyst.ui.navigation.navs.INav import com.vitorpamplona.amethyst.ui.screen.loggedIn.AccountViewModel -import com.vitorpamplona.amethyst.ui.theme.StdVertSpacer -import com.vitorpamplona.amethyst.ui.theme.replyModifier import com.vitorpamplona.quartz.nip52Calendar.calendar.CalendarEvent +/** + * Entry for a NIP-52 calendar collection: decodes the [Note] and renders the shared commons + * [CalendarCollectionCard]. Draws only from the event's own tags, so the entry keeps the + * dispatcher signature without touching the account or nav. + */ @Composable fun RenderCalendarCollectionEvent( note: Note, @@ -53,46 +40,5 @@ fun RenderCalendarCollectionEvent( ) { val event = note.event as? CalendarEvent ?: return - Column(MaterialTheme.colorScheme.replyModifier) { - Row( - modifier = Modifier.fillMaxWidth().padding(start = 10.dp, end = 10.dp, top = 10.dp), - verticalAlignment = Alignment.CenterVertically, - ) { - Icon( - symbol = MaterialSymbols.CalendarMonth, - contentDescription = null, - modifier = Modifier.size(24.dp), - tint = MaterialTheme.colorScheme.primary, - ) - Spacer(modifier = Modifier.size(8.dp)) - Text( - text = event.title() ?: "—", - style = MaterialTheme.typography.titleMedium, - fontWeight = FontWeight.SemiBold, - maxLines = 2, - overflow = TextOverflow.Ellipsis, - ) - } - - if (event.content.isNotBlank()) { - Spacer(modifier = StdVertSpacer) - Text( - text = event.content, - style = MaterialTheme.typography.bodySmall, - color = MaterialTheme.colorScheme.onSurfaceVariant, - modifier = Modifier.fillMaxWidth().padding(horizontal = 10.dp), - maxLines = 4, - overflow = TextOverflow.Ellipsis, - ) - } - - Spacer(modifier = StdVertSpacer) - val eventCount = event.calendarEventAddresses().size - Text( - text = pluralStringResource(R.plurals.calendar_collection_count, eventCount, eventCount), - style = MaterialTheme.typography.labelMedium, - color = MaterialTheme.colorScheme.primary, - modifier = Modifier.padding(start = 10.dp, end = 10.dp, bottom = 12.dp), - ) - } + CalendarCollectionCard(event) } diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/types/CalendarRsvpRender.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/types/CalendarRsvpRender.kt index 13df36d324..6a1e843d08 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/types/CalendarRsvpRender.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/types/CalendarRsvpRender.kt @@ -20,32 +20,18 @@ */ package com.vitorpamplona.amethyst.ui.note.types -import androidx.compose.foundation.layout.Column -import androidx.compose.foundation.layout.Row -import androidx.compose.foundation.layout.Spacer -import androidx.compose.foundation.layout.fillMaxWidth -import androidx.compose.foundation.layout.padding -import androidx.compose.foundation.layout.size -import androidx.compose.material3.MaterialTheme -import androidx.compose.material3.Text import androidx.compose.runtime.Composable -import androidx.compose.ui.Alignment -import androidx.compose.ui.Modifier -import androidx.compose.ui.graphics.Color -import androidx.compose.ui.text.font.FontWeight -import androidx.compose.ui.unit.dp -import com.vitorpamplona.amethyst.R -import com.vitorpamplona.amethyst.commons.icons.symbols.Icon -import com.vitorpamplona.amethyst.commons.icons.symbols.MaterialSymbols +import com.vitorpamplona.amethyst.commons.ui.note.CalendarRsvpCard import com.vitorpamplona.amethyst.model.Note import com.vitorpamplona.amethyst.ui.navigation.navs.INav import com.vitorpamplona.amethyst.ui.screen.loggedIn.AccountViewModel -import com.vitorpamplona.amethyst.ui.stringRes -import com.vitorpamplona.amethyst.ui.theme.StdVertSpacer -import com.vitorpamplona.amethyst.ui.theme.replyModifier -import com.vitorpamplona.quartz.nip52Calendar.appt.tags.RSVPStatusTag import com.vitorpamplona.quartz.nip52Calendar.rsvp.CalendarRSVPEvent +/** + * Entry for a NIP-52 calendar RSVP: decodes the [Note] and renders the shared commons + * [CalendarRsvpCard]. Draws only from the event's own tags, so the entry keeps the + * dispatcher signature without touching the account or nav. + */ @Composable fun RenderCalendarRSVPEvent( note: Note, @@ -53,68 +39,6 @@ fun RenderCalendarRSVPEvent( nav: INav, ) { val event = note.event as? CalendarRSVPEvent ?: return - val status = event.status() - val targetAddress = event.calendarEventAddress() - val freebusy = event.freebusy() - val statusLabel = - when (status) { - RSVPStatusTag.STATUS.ACCEPTED -> stringRes(R.string.calendar_rsvp_going) - RSVPStatusTag.STATUS.TENTATIVE -> stringRes(R.string.calendar_rsvp_maybe) - RSVPStatusTag.STATUS.DECLINED -> stringRes(R.string.calendar_rsvp_not_going) - null -> "—" - } - - val statusColor = - when (status) { - RSVPStatusTag.STATUS.ACCEPTED -> MaterialTheme.colorScheme.primary - RSVPStatusTag.STATUS.TENTATIVE -> MaterialTheme.colorScheme.tertiary - RSVPStatusTag.STATUS.DECLINED -> MaterialTheme.colorScheme.error - null -> Color.Gray - } - - Column(MaterialTheme.colorScheme.replyModifier) { - Row( - modifier = Modifier.fillMaxWidth().padding(start = 10.dp, end = 10.dp, top = 10.dp), - verticalAlignment = Alignment.CenterVertically, - ) { - Icon( - symbol = MaterialSymbols.CalendarMonth, - contentDescription = null, - modifier = Modifier.size(20.dp), - tint = statusColor, - ) - Spacer(modifier = Modifier.size(8.dp)) - Text( - text = statusLabel, - style = MaterialTheme.typography.titleMedium, - fontWeight = FontWeight.SemiBold, - color = statusColor, - ) - } - - if (event.content.isNotBlank()) { - Spacer(modifier = StdVertSpacer) - Text( - text = event.content, - style = MaterialTheme.typography.bodySmall, - color = MaterialTheme.colorScheme.onSurfaceVariant, - modifier = Modifier.padding(start = 10.dp, end = 10.dp), - ) - } - - targetAddress?.let { addr -> - Spacer(modifier = StdVertSpacer) - Text( - text = "→ ${addr.toValue()}", - style = MaterialTheme.typography.labelSmall, - color = MaterialTheme.colorScheme.onSurfaceVariant, - modifier = Modifier.padding(start = 10.dp, end = 10.dp, bottom = 12.dp), - ) - } - - if (freebusy != null) { - Spacer(modifier = StdVertSpacer) - } - } + CalendarRsvpCard(event) } diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/types/CalendarRsvpRow.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/types/CalendarRsvpRow.kt index a14098a7f2..500cae7f3b 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/types/CalendarRsvpRow.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/types/CalendarRsvpRow.kt @@ -36,15 +36,18 @@ import androidx.compose.ui.Modifier import androidx.compose.ui.graphics.Color import androidx.compose.ui.unit.dp import androidx.lifecycle.compose.collectAsStateWithLifecycle -import com.vitorpamplona.amethyst.R +import com.vitorpamplona.amethyst.commons.resources.Res +import com.vitorpamplona.amethyst.commons.resources.calendar_rsvp_going +import com.vitorpamplona.amethyst.commons.resources.calendar_rsvp_maybe +import com.vitorpamplona.amethyst.commons.resources.calendar_rsvp_not_going import com.vitorpamplona.amethyst.model.LocalCache import com.vitorpamplona.amethyst.ui.screen.loggedIn.AccountViewModel -import com.vitorpamplona.amethyst.ui.stringRes import com.vitorpamplona.quartz.nip01Core.core.Address import com.vitorpamplona.quartz.nip01Core.tags.aTag.ATag import com.vitorpamplona.quartz.nip01Core.tags.people.PTag import com.vitorpamplona.quartz.nip52Calendar.appt.tags.RSVPStatusTag import com.vitorpamplona.quartz.nip52Calendar.rsvp.CalendarRSVPEvent +import org.jetbrains.compose.resources.stringResource /** * Renders a 3-button RSVP row (Going / Maybe / Can't go) below a NIP-52 calendar appointment. @@ -89,21 +92,21 @@ fun CalendarRsvpRow( horizontalArrangement = Arrangement.spacedBy(8.dp), ) { RsvpButton( - label = stringRes(R.string.calendar_rsvp_going), + label = stringResource(Res.string.calendar_rsvp_going), status = RSVPStatusTag.STATUS.ACCEPTED, currentStatus = currentStatus, modifier = Modifier.weight(1f), onClick = onTap, ) RsvpButton( - label = stringRes(R.string.calendar_rsvp_maybe), + label = stringResource(Res.string.calendar_rsvp_maybe), status = RSVPStatusTag.STATUS.TENTATIVE, currentStatus = currentStatus, modifier = Modifier.weight(1f), onClick = onTap, ) RsvpButton( - label = stringRes(R.string.calendar_rsvp_not_going), + label = stringResource(Res.string.calendar_rsvp_not_going), status = RSVPStatusTag.STATUS.DECLINED, currentStatus = currentStatus, modifier = Modifier.weight(1f), diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/calendars/CalendarCollectionsView.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/calendars/CalendarCollectionsView.kt index a878c1c62f..756452c024 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/calendars/CalendarCollectionsView.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/calendars/CalendarCollectionsView.kt @@ -43,7 +43,6 @@ import androidx.compose.runtime.remember import androidx.compose.ui.Alignment import androidx.compose.ui.Modifier import androidx.compose.ui.platform.LocalContext -import androidx.compose.ui.res.pluralStringResource import androidx.compose.ui.text.font.FontWeight import androidx.compose.ui.text.style.TextOverflow import androidx.compose.ui.unit.dp @@ -52,6 +51,8 @@ import com.vitorpamplona.amethyst.R import com.vitorpamplona.amethyst.commons.icons.symbols.Icon import com.vitorpamplona.amethyst.commons.icons.symbols.MaterialSymbols import com.vitorpamplona.amethyst.commons.model.nip52Calendar.IcsExport +import com.vitorpamplona.amethyst.commons.resources.Res +import com.vitorpamplona.amethyst.commons.resources.calendar_collection_count import com.vitorpamplona.amethyst.commons.ui.feeds.FeedContentState import com.vitorpamplona.amethyst.commons.ui.feeds.FeedState import com.vitorpamplona.amethyst.commons.ui.layouts.rememberFeedContentPadding @@ -69,6 +70,7 @@ import com.vitorpamplona.quartz.nip52Calendar.appt.day.CalendarDateSlotEvent import com.vitorpamplona.quartz.nip52Calendar.appt.time.CalendarTimeSlotEvent import com.vitorpamplona.quartz.nip52Calendar.calendar.CalendarEvent import com.vitorpamplona.quartz.utils.TimeUtils +import org.jetbrains.compose.resources.pluralStringResource @Composable fun CalendarCollectionsView( @@ -191,7 +193,7 @@ fun CalendarCollectionCard( ) } Text( - text = pluralStringResource(R.plurals.calendar_collection_count, count, count), + text = pluralStringResource(Res.plurals.calendar_collection_count, count, count), style = MaterialTheme.typography.labelMedium, color = MaterialTheme.colorScheme.primary, ) diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/calendars/detail/CalendarEventDetailScreen.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/calendars/detail/CalendarEventDetailScreen.kt index ad89bdc42b..9f7d0a1f09 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/calendars/detail/CalendarEventDetailScreen.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/calendars/detail/CalendarEventDetailScreen.kt @@ -55,7 +55,6 @@ import androidx.compose.ui.Alignment import androidx.compose.ui.Modifier import androidx.compose.ui.layout.ContentScale import androidx.compose.ui.platform.LocalContext -import androidx.compose.ui.res.pluralStringResource import androidx.compose.ui.text.font.FontWeight import androidx.compose.ui.text.style.TextOverflow import androidx.compose.ui.unit.dp @@ -65,6 +64,8 @@ import com.vitorpamplona.amethyst.commons.icons.symbols.Icon import com.vitorpamplona.amethyst.commons.icons.symbols.MaterialSymbols import com.vitorpamplona.amethyst.commons.model.nip52Calendar.IcsExport import com.vitorpamplona.amethyst.commons.model.nip52Calendar.appointmentView +import com.vitorpamplona.amethyst.commons.resources.Res +import com.vitorpamplona.amethyst.commons.resources.calendar_collection_count import com.vitorpamplona.amethyst.model.LocalCache import com.vitorpamplona.amethyst.model.Note import com.vitorpamplona.amethyst.service.relayClient.reqCommand.event.observeNote @@ -95,6 +96,7 @@ import com.vitorpamplona.quartz.nip52Calendar.appt.time.CalendarTimeSlotEvent import com.vitorpamplona.quartz.nip52Calendar.calendar.CalendarEvent import com.vitorpamplona.quartz.nip52Calendar.rsvp.CalendarRSVPEvent import com.vitorpamplona.quartz.utils.TimeUtils +import org.jetbrains.compose.resources.pluralStringResource /** * Dedicated detail screen for a NIP-52 calendar appointment (kind 31922 or 31923). Renders the @@ -462,7 +464,7 @@ private fun CollectionMembersSection( nav: INav, ) { Column(modifier = Modifier.padding(horizontal = 16.dp), verticalArrangement = Arrangement.spacedBy(8.dp)) { - SectionTitle(pluralStringResource(R.plurals.calendar_collection_count, memberAddresses.size, memberAddresses.size)) + SectionTitle(pluralStringResource(Res.plurals.calendar_collection_count, memberAddresses.size, memberAddresses.size)) if (memberAddresses.isEmpty()) { Text( text = stringRes(R.string.calendar_collection_empty_members), diff --git a/amethyst/src/main/res/values-ar-rSA/strings.xml b/amethyst/src/main/res/values-ar-rSA/strings.xml index e86ac7fff1..f19e2acb0f 100644 --- a/amethyst/src/main/res/values-ar-rSA/strings.xml +++ b/amethyst/src/main/res/values-ar-rSA/strings.xml @@ -2086,18 +2086,7 @@ العنوان الوصف العنوان مطلوب. - - %1$d أحداث - %1$d حدث - %1$d حدثان - %1$d أحداث - %1$d حدثًا - %1$d حدث - لا توجد أحداث في هذا التقويم بعد. - سأحضر - ربما - لن أتمكن من الحضور التأكيدات (%1$d) لا توجد تأكيدات حضور بعد. المشاركون (%1$d) diff --git a/amethyst/src/main/res/values-bn-rBD/strings.xml b/amethyst/src/main/res/values-bn-rBD/strings.xml index 6fc416db8d..f4a77dc600 100644 --- a/amethyst/src/main/res/values-bn-rBD/strings.xml +++ b/amethyst/src/main/res/values-bn-rBD/strings.xml @@ -1983,14 +1983,7 @@ শিরোনাম বিবরণ একটি শিরোনাম আবশ্যক। - - %1$d টি ইভেন্ট - %1$d টি ইভেন্ট - এই ক্যালেন্ডারে এখনো কোনো ইভেন্ট নেই। - যাচ্ছি - হয়তো - যেতে পারব না RSVP (%1$d) এখনো কোনো RSVP নেই। অংশগ্রহণকারী (%1$d) diff --git a/amethyst/src/main/res/values-cs/strings.xml b/amethyst/src/main/res/values-cs/strings.xml index b9e8d4996c..a9697961b5 100644 --- a/amethyst/src/main/res/values-cs/strings.xml +++ b/amethyst/src/main/res/values-cs/strings.xml @@ -2738,16 +2738,7 @@ Název Popis Název je povinný. - - %1$d událost - %1$d události - %1$d událostí - %1$d událostí - V tomto kalendáři zatím nejsou žádné události. - Účastním se - Možná - Nemůžu RSVP (%1$d) Zatím žádné RSVP. Účastníci (%1$d) diff --git a/amethyst/src/main/res/values-de-rDE/strings.xml b/amethyst/src/main/res/values-de-rDE/strings.xml index 02cd3759be..398864fa3a 100644 --- a/amethyst/src/main/res/values-de-rDE/strings.xml +++ b/amethyst/src/main/res/values-de-rDE/strings.xml @@ -2663,14 +2663,7 @@ Titel Beschreibung Ein Titel ist erforderlich. - - %1$d Termin - %1$d Termine - Noch keine Termine in diesem Kalender. - Komme - Vielleicht - Komme nicht RSVPs (%1$d) Noch keine Antworten. Teilnehmer (%1$d) diff --git a/amethyst/src/main/res/values-de/strings.xml b/amethyst/src/main/res/values-de/strings.xml index e68621cf48..60bb237774 100644 --- a/amethyst/src/main/res/values-de/strings.xml +++ b/amethyst/src/main/res/values-de/strings.xml @@ -3152,18 +3152,11 @@ anz der Bedingungen ist erforderlich Ein Titel ist erforderlich. - - %1$d Termin - %1$d Termine - Noch keine Termine in diesem Kalender. -Komme -Vielleicht -Komme nicht RSVPs (%1$d) diff --git a/amethyst/src/main/res/values-el-rGR/strings.xml b/amethyst/src/main/res/values-el-rGR/strings.xml index 890f846c3b..d05e25410c 100644 --- a/amethyst/src/main/res/values-el-rGR/strings.xml +++ b/amethyst/src/main/res/values-el-rGR/strings.xml @@ -1969,14 +1969,7 @@ Τίτλος Περιγραφή Απαιτείται τίτλος. - - %1$d συμβάν - %1$d συμβάντα - Δεν υπάρχουν συμβάντα σε αυτό το ημερολόγιο ακόμα. - Πηγαίνω - Ίσως - Δεν μπορώ να πάω Δεν υπάρχουν RSVPs ακόμα. Συμμετέχοντες (%1$d) Σε ημερολόγια (%1$d) diff --git a/amethyst/src/main/res/values-eo-rUY/strings.xml b/amethyst/src/main/res/values-eo-rUY/strings.xml index 8cf4916bd3..6f6c3b1186 100644 --- a/amethyst/src/main/res/values-eo-rUY/strings.xml +++ b/amethyst/src/main/res/values-eo-rUY/strings.xml @@ -1989,14 +1989,7 @@ Titolo Priskribo Titolo estas postulata. - - %1$d evento - %1$d eventoj - Ankoraŭ neniuj eventoj en ĉi tiu kalendaro. - Iras - Eble - Ne povas iri RSVP-oj (%1$d) Ankoraŭ neniuj RSVP-oj. Partoprenantoj (%1$d) diff --git a/amethyst/src/main/res/values-eo/strings.xml b/amethyst/src/main/res/values-eo/strings.xml index ef22dea522..315049f82f 100644 --- a/amethyst/src/main/res/values-eo/strings.xml +++ b/amethyst/src/main/res/values-eo/strings.xml @@ -1868,9 +1868,6 @@ Priskribo Titolo estas postulata. Ankoraŭ neniuj eventoj en ĉi tiu kalendaro. -Iras -Eble -Ne povas iri RSVP-oj (%1$d) Ankoraŭ neniuj RSVP-oj. Partoprenantoj (%1$d) @@ -2972,10 +2969,6 @@ %1$s, %2$d evento %1$s, %2$d eventoj - - %1$d evento - %1$d eventoj - Komenciĝas post %1$d minuto Komenciĝas post %1$d minutoj diff --git a/amethyst/src/main/res/values-es-rES/strings.xml b/amethyst/src/main/res/values-es-rES/strings.xml index 9dd8793a9c..9214f68146 100644 --- a/amethyst/src/main/res/values-es-rES/strings.xml +++ b/amethyst/src/main/res/values-es-rES/strings.xml @@ -2029,14 +2029,7 @@ Título Descripción Se requiere un título. - - %1$d evento - %1$d eventos - Aún no hay eventos en este calendario. - Asistiré - Tal vez - No puedo ir Confirmaciones (%1$d) Sin RSVPs aún. Participantes (%1$d) diff --git a/amethyst/src/main/res/values-es-rMX/strings.xml b/amethyst/src/main/res/values-es-rMX/strings.xml index 9adc0b8c6b..81e2e861f2 100644 --- a/amethyst/src/main/res/values-es-rMX/strings.xml +++ b/amethyst/src/main/res/values-es-rMX/strings.xml @@ -2020,14 +2020,7 @@ Título Descripción Se requiere un título. - - %1$d evento - %1$d eventos - Aún no hay eventos en este calendario. - Asistiré - Tal vez - No puedo ir Confirmaciones (%1$d) Sin RSVPs aún. Participantes (%1$d) diff --git a/amethyst/src/main/res/values-es-rUS/strings.xml b/amethyst/src/main/res/values-es-rUS/strings.xml index be16201951..5e87ae5748 100644 --- a/amethyst/src/main/res/values-es-rUS/strings.xml +++ b/amethyst/src/main/res/values-es-rUS/strings.xml @@ -2020,14 +2020,7 @@ Título Descripción Se requiere un título. - - %1$d evento - %1$d eventos - Aún no hay eventos en este calendario. - Asistiré - Tal vez - No puedo ir Confirmaciones (%1$d) Sin RSVPs aún. Participantes (%1$d) diff --git a/amethyst/src/main/res/values-es/strings.xml b/amethyst/src/main/res/values-es/strings.xml index a7d83293fb..d102234c04 100644 --- a/amethyst/src/main/res/values-es/strings.xml +++ b/amethyst/src/main/res/values-es/strings.xml @@ -4633,18 +4633,11 @@ Se requiere un título. - - %1$d evento - %1$d eventos - Aún no hay eventos en este calendario. -Asistiré -Tal vez -No puedo ir RSVPs (%1$d) diff --git a/amethyst/src/main/res/values-fa-rIR/strings.xml b/amethyst/src/main/res/values-fa-rIR/strings.xml index ba915c52ba..41b14e2bdd 100644 --- a/amethyst/src/main/res/values-fa-rIR/strings.xml +++ b/amethyst/src/main/res/values-fa-rIR/strings.xml @@ -1992,14 +1992,7 @@ عنوان توضیحات عنوان الزامی است. - - %1$d رویداد - %1$d رویداد - هنوز هیچ رویدادی در این تقویم نیست. - می‌آیم - شاید - نمی‌توانم بیایم پاسخ‌ها (%1$d) هنوز پاسخی نیست. شرکت‌کنندگان (%1$d) diff --git a/amethyst/src/main/res/values-fa/strings.xml b/amethyst/src/main/res/values-fa/strings.xml index 672f660b91..8e561836df 100644 --- a/amethyst/src/main/res/values-fa/strings.xml +++ b/amethyst/src/main/res/values-fa/strings.xml @@ -2114,18 +2114,11 @@ عنوان الزامی است. - - %1$d رویداد - %1$d رویداد - هنوز هیچ رویدادی در این تقویم نیست. - می‌آیم - شاید - نمی‌توانم بیایم پاسخ‌ها (%1$d) diff --git a/amethyst/src/main/res/values-fi-rFI/strings.xml b/amethyst/src/main/res/values-fi-rFI/strings.xml index 0993a8b2f0..d4fda2471d 100644 --- a/amethyst/src/main/res/values-fi-rFI/strings.xml +++ b/amethyst/src/main/res/values-fi-rFI/strings.xml @@ -1971,14 +1971,7 @@ Otsikko Kuvaus Otsikko on pakollinen. - - %1$d tapahtuma - %1$d tapahtumaa - Ei vielä tapahtumia tässä kalenterissa. - Osallistun - Ehkä - En pääse RSVP:t (%1$d) Ei vielä RSVP:itä. Osallistujat (%1$d) diff --git a/amethyst/src/main/res/values-fr-rCA/strings.xml b/amethyst/src/main/res/values-fr-rCA/strings.xml index 5c22aaac0c..8d892c8ee1 100644 --- a/amethyst/src/main/res/values-fr-rCA/strings.xml +++ b/amethyst/src/main/res/values-fr-rCA/strings.xml @@ -1914,14 +1914,7 @@ ✗ Absent Titre Un titre est requis. - - %1$d événement - %1$d événements - Aucun événement dans ce calendrier pour l\'instant. - Présent - Peut-être - Absent Aucun RSVP pour l\'instant. Dans les calendriers (%1$d) Ne fait encore partie d\'aucun calendrier. diff --git a/amethyst/src/main/res/values-fr-rFR/strings.xml b/amethyst/src/main/res/values-fr-rFR/strings.xml index 9127b06ef2..928a1e50bb 100644 --- a/amethyst/src/main/res/values-fr-rFR/strings.xml +++ b/amethyst/src/main/res/values-fr-rFR/strings.xml @@ -2205,14 +2205,7 @@ Titre Description Un titre est requis. - - %1$d événement - %1$d événements - Aucun événement dans ce calendrier pour l\'instant. - Présent - Peut-être - Absent Aucun RSVP pour l\'instant. Participants (%1$d) Dans les calendriers (%1$d) diff --git a/amethyst/src/main/res/values-fr/strings.xml b/amethyst/src/main/res/values-fr/strings.xml index 827cf66d60..946905be82 100644 --- a/amethyst/src/main/res/values-fr/strings.xml +++ b/amethyst/src/main/res/values-fr/strings.xml @@ -3881,18 +3881,11 @@ Un titre est requis. - - %1$d événement - %1$d événements - Aucun événement dans ce calendrier pour l\'instant. -Présent -Peut-être -Absent RSVPs (%1$d) diff --git a/amethyst/src/main/res/values-hi-rIN/strings.xml b/amethyst/src/main/res/values-hi-rIN/strings.xml index 121c64246b..155275c7ef 100644 --- a/amethyst/src/main/res/values-hi-rIN/strings.xml +++ b/amethyst/src/main/res/values-hi-rIN/strings.xml @@ -2576,14 +2576,7 @@ शीर्षक विवरण शीर्षक अनिवार्य। - - %1$d घटना - %1$d घटनाएँ - इस दिनदर्शिका में कोई घटनाएँ नहीं अब तक। - जाना निश्चित - सम्भाव्य - नहीं जा सकते शीघ्रप्रत्युत्तर (%1$d) कोई शीघ्रप्रत्युत्तर नहीं अब तक। सहभागी (%1$d) diff --git a/amethyst/src/main/res/values-hu-rHU/strings.xml b/amethyst/src/main/res/values-hu-rHU/strings.xml index dc6fb25449..53dbca35bc 100644 --- a/amethyst/src/main/res/values-hu-rHU/strings.xml +++ b/amethyst/src/main/res/values-hu-rHU/strings.xml @@ -2548,14 +2548,7 @@ Cím Leírás A cím megadása kötelező. - - %1$d esemény - %1$d esemény - Ebben a naptárban még nincsenek események. - Ott leszek - Talán - Nem leszek ott Visszajelzések (%1$d) Még nincsenek visszajelzések. Résztvevők (%1$d) diff --git a/amethyst/src/main/res/values-in-rID/strings.xml b/amethyst/src/main/res/values-in-rID/strings.xml index ea6ab1cdf0..a5c3124e4b 100644 --- a/amethyst/src/main/res/values-in-rID/strings.xml +++ b/amethyst/src/main/res/values-in-rID/strings.xml @@ -1925,13 +1925,7 @@ Seharusnya %3$s Judul Deskripsi Judul diperlukan. - - %1$d acara - Belum ada acara dalam kalender ini. - Hadir - Mungkin - Tidak bisa hadir RSVP (%1$d) Belum ada RSVP. Peserta (%1$d) diff --git a/amethyst/src/main/res/values-in/strings.xml b/amethyst/src/main/res/values-in/strings.xml index 55523431f1..4bbeea3481 100644 --- a/amethyst/src/main/res/values-in/strings.xml +++ b/amethyst/src/main/res/values-in/strings.xml @@ -2208,17 +2208,11 @@ Judul diperlukan. - - %1$d acara - Belum ada acara dalam kalender ini. - Hadir - Mungkin - Tidak bisa hadir RSVP (%1$d) diff --git a/amethyst/src/main/res/values-it-rIT/strings.xml b/amethyst/src/main/res/values-it-rIT/strings.xml index dcc20acde6..28a36c249a 100644 --- a/amethyst/src/main/res/values-it-rIT/strings.xml +++ b/amethyst/src/main/res/values-it-rIT/strings.xml @@ -1944,14 +1944,7 @@ Titolo Descrizione È necessario un titolo. - - %1$d evento - %1$d eventi - Nessun evento in questo calendario ancora. - Partecipo - Forse - Non posso RSVP (%1$d) Nessun RSVP ancora. Partecipanti (%1$d) diff --git a/amethyst/src/main/res/values-ja-rJP/strings.xml b/amethyst/src/main/res/values-ja-rJP/strings.xml index d0a570cf2c..7c2845bd65 100644 --- a/amethyst/src/main/res/values-ja-rJP/strings.xml +++ b/amethyst/src/main/res/values-ja-rJP/strings.xml @@ -1959,13 +1959,7 @@ タイトル 説明 タイトルは必須です。 - - %1$dイベント - このカレンダーにはまだイベントがありません。 - 参加する - 未定 - 参加できない RSVP(%1$d件) まだRSVPがありません。 参加者(%1$d人) diff --git a/amethyst/src/main/res/values-ja/strings.xml b/amethyst/src/main/res/values-ja/strings.xml index 6f085f2d42..10a6297efb 100644 --- a/amethyst/src/main/res/values-ja/strings.xml +++ b/amethyst/src/main/res/values-ja/strings.xml @@ -2300,17 +2300,11 @@ タイトルは必須です。 - - %1$dイベント - このカレンダーにはまだイベントがありません。 - 参加する - 未定 - 参加できない RSVP(%1$d件) diff --git a/amethyst/src/main/res/values-ko-rKR/strings.xml b/amethyst/src/main/res/values-ko-rKR/strings.xml index d25b76bf60..20f44d05e8 100644 --- a/amethyst/src/main/res/values-ko-rKR/strings.xml +++ b/amethyst/src/main/res/values-ko-rKR/strings.xml @@ -1950,13 +1950,7 @@ 제목 설명 제목을 입력해야 합니다. - - %1$d개 이벤트 - 이 캘린더에 아직 이벤트가 없습니다. - 참석 - 미정 - 불참 RSVP (%1$d) 아직 RSVP가 없습니다. 참가자 (%1$d) diff --git a/amethyst/src/main/res/values-lv-rLV/strings.xml b/amethyst/src/main/res/values-lv-rLV/strings.xml index 131b7d1f66..d9a16f3841 100644 --- a/amethyst/src/main/res/values-lv-rLV/strings.xml +++ b/amethyst/src/main/res/values-lv-rLV/strings.xml @@ -1996,15 +1996,7 @@ Virsraksts Apraksts Ir nepieciešams nosaukums. - - %1$d notikumu - %1$d notikums - %1$d notikumi - Šajā kalendārā vēl nav notikumu. - Iešu - Varbūt - Nevarēšu ierasties Atbildes (%1$d) Vēl nav atbilžu. Dalībnieki (%1$d) diff --git a/amethyst/src/main/res/values-nl-rBE/strings.xml b/amethyst/src/main/res/values-nl-rBE/strings.xml index 815a81d176..3b54759cd7 100644 --- a/amethyst/src/main/res/values-nl-rBE/strings.xml +++ b/amethyst/src/main/res/values-nl-rBE/strings.xml @@ -3296,18 +3296,11 @@ Een titel is verplicht. - - %1$d evenement - %1$d evenementen - Nog geen evenementen in deze agenda. -Ga -Misschien -Kan niet Nog geen RSVPs. diff --git a/amethyst/src/main/res/values-nl-rNL/strings.xml b/amethyst/src/main/res/values-nl-rNL/strings.xml index c8813ec528..496f81085c 100644 --- a/amethyst/src/main/res/values-nl-rNL/strings.xml +++ b/amethyst/src/main/res/values-nl-rNL/strings.xml @@ -2228,14 +2228,7 @@ Titel Omschrijving Een titel is verplicht. - - %1$d evenement - %1$d evenementen - Nog geen evenementen in deze agenda. - Ga - Misschien - Kan niet RSVP\'s (%1$d) Nog geen RSVP\'s. Deelnemers (%1$d) diff --git a/amethyst/src/main/res/values-nl/strings.xml b/amethyst/src/main/res/values-nl/strings.xml index c567fe74eb..3acc7a7b50 100644 --- a/amethyst/src/main/res/values-nl/strings.xml +++ b/amethyst/src/main/res/values-nl/strings.xml @@ -2831,18 +2831,11 @@ Een titel is verplicht. - - %1$d evenement - %1$d evenementen - Nog geen evenementen in deze agenda. -Ga -Misschien -Kan niet Nog geen RSVPs. diff --git a/amethyst/src/main/res/values-pl-rPL/strings.xml b/amethyst/src/main/res/values-pl-rPL/strings.xml index 3eff85a3f9..7cf114fe8d 100644 --- a/amethyst/src/main/res/values-pl-rPL/strings.xml +++ b/amethyst/src/main/res/values-pl-rPL/strings.xml @@ -2739,16 +2739,7 @@ Zaplanowane posty z innych kont nie zostaną opublikowane, dopóki to konto jest Tytuł Opis Tytuł jest wymagany. - - %1$d wydarzenie - %1$d wydarzeń - %1$d wydarzeń - %1$d wydarzeń - Brak wydarzeń w tym kalendarzu. - Będę - Może - Nie mogę iść Potwierdzeń (%1$d) Brak potwierdzeń. Uczestnicy (%1$d) diff --git a/amethyst/src/main/res/values-pt-rBR/strings.xml b/amethyst/src/main/res/values-pt-rBR/strings.xml index cc5a440dcf..14aff2919e 100644 --- a/amethyst/src/main/res/values-pt-rBR/strings.xml +++ b/amethyst/src/main/res/values-pt-rBR/strings.xml @@ -2661,14 +2661,7 @@ Título Descrição Um título é obrigatório. - - %1$d evento - %1$d eventos - Nenhum evento neste calendário ainda. - Vou - Talvez - Não vou Confirmações (%1$d) Sem RSVPs ainda. Participantes (%1$d) diff --git a/amethyst/src/main/res/values-pt-rPT/strings.xml b/amethyst/src/main/res/values-pt-rPT/strings.xml index 23c5e56e3c..900715ea03 100644 --- a/amethyst/src/main/res/values-pt-rPT/strings.xml +++ b/amethyst/src/main/res/values-pt-rPT/strings.xml @@ -1959,14 +1959,7 @@ Título Descrição Um título é obrigatório. - - %1$d evento - %1$d eventos - Nenhum evento neste calendário ainda. - Vou - Talvez - Não vou Confirmações (%1$d) Sem RSVPs ainda. Participantes (%1$d) diff --git a/amethyst/src/main/res/values-ru-rRU/strings.xml b/amethyst/src/main/res/values-ru-rRU/strings.xml index d3bcee9314..f823816883 100644 --- a/amethyst/src/main/res/values-ru-rRU/strings.xml +++ b/amethyst/src/main/res/values-ru-rRU/strings.xml @@ -2030,16 +2030,7 @@ Название Описание Необходимо указать название. - - %1$d событие - %1$d события - %1$d событий - %1$d события - В этом календаре пока нет событий. - Пойду - Возможно - Не смогу Ответы (%1$d) Ответов пока нет. Участники (%1$d) diff --git a/amethyst/src/main/res/values-ru-rUA/strings.xml b/amethyst/src/main/res/values-ru-rUA/strings.xml index a3f8dcd5ab..3fbb8b9442 100644 --- a/amethyst/src/main/res/values-ru-rUA/strings.xml +++ b/amethyst/src/main/res/values-ru-rUA/strings.xml @@ -2014,16 +2014,7 @@ Название Описание Необходимо указать название. - - %1$d событие - %1$d события - %1$d событий - %1$d события - В этом календаре пока нет событий. - Пойду - Возможно - Не смогу Ответы (%1$d) Ответов пока нет. Участники (%1$d) diff --git a/amethyst/src/main/res/values-ru/strings.xml b/amethyst/src/main/res/values-ru/strings.xml index a55d56cc15..51a3e60b77 100644 --- a/amethyst/src/main/res/values-ru/strings.xml +++ b/amethyst/src/main/res/values-ru/strings.xml @@ -2069,20 +2069,11 @@ Необходимо указать название. - - %1$d событие - %1$d события - %1$d событий - %1$d события - В этом календаре пока нет событий. - Пойду - Возможно - Не смогу Ответы (%1$d) diff --git a/amethyst/src/main/res/values-sl-rSI/strings.xml b/amethyst/src/main/res/values-sl-rSI/strings.xml index 597c65825d..e0621ce7cb 100644 --- a/amethyst/src/main/res/values-sl-rSI/strings.xml +++ b/amethyst/src/main/res/values-sl-rSI/strings.xml @@ -2464,16 +2464,7 @@ Za ohranitev zasebnosti to denarnico polni in prazni prek ne-zasebnih računov, Naslov Opis Naslov je zahtevan. - - %1$d dogodek - %1$d dogodka - %1$d dogodki - %1$d dogodkov - Ta koledar je še brez dogodkov. - Grem - Mogoče - Ne morem Odzivi (%1$d) Še ni odzivov Sodelujoči (%1$d) diff --git a/amethyst/src/main/res/values-sr-rSP/strings.xml b/amethyst/src/main/res/values-sr-rSP/strings.xml index 214123c100..33bcc89da9 100644 --- a/amethyst/src/main/res/values-sr-rSP/strings.xml +++ b/amethyst/src/main/res/values-sr-rSP/strings.xml @@ -1986,15 +1986,7 @@ Naslov Opis Naslov je obavezan. - - %1$d događaj - %1$d događaja - %1$d događaja - Još nema događaja u ovom kalendaru. - Idem - Možda - Ne mogu ići RSVP-ovi (%1$d) Još nema RSVP-ova. Učesnici (%1$d) diff --git a/amethyst/src/main/res/values-sv-rSE/strings.xml b/amethyst/src/main/res/values-sv-rSE/strings.xml index 442b580df6..cf55e8e9b5 100644 --- a/amethyst/src/main/res/values-sv-rSE/strings.xml +++ b/amethyst/src/main/res/values-sv-rSE/strings.xml @@ -2661,14 +2661,7 @@ Titel Beskrivning En titel krävs. - - %1$d händelse - %1$d händelser - Inga händelser i denna kalender än. - Kommer - Kanske - Kommer inte OSA (%1$d) Inga OSA än. Deltagare (%1$d) diff --git a/amethyst/src/main/res/values-sw/strings.xml b/amethyst/src/main/res/values-sw/strings.xml index 8ff44ad082..1b8c38bd12 100644 --- a/amethyst/src/main/res/values-sw/strings.xml +++ b/amethyst/src/main/res/values-sw/strings.xml @@ -1973,14 +1973,7 @@ Kichwa Maelezo Kichwa kinahitajika. - - tukio %1$d - matukio %1$d - Hakuna matukio katika kalenda hii bado. - Naenda - Labda - Siwezi kwenda Hakuna RSVPs bado. Washiriki (%1$d) Katika kalenda (%1$d) diff --git a/amethyst/src/main/res/values-ta-rIN/strings.xml b/amethyst/src/main/res/values-ta-rIN/strings.xml index 30d153d33b..7adb8bc6fc 100644 --- a/amethyst/src/main/res/values-ta-rIN/strings.xml +++ b/amethyst/src/main/res/values-ta-rIN/strings.xml @@ -1976,14 +1976,7 @@ தலைப்பு விளக்கம் ஒரு தலைப்பு தேவை. - - %1$d நிகழ்வு - %1$d நிகழ்வுகள் - இந்த நாட்காட்டியில் இன்னும் நிகழ்வுகள் இல்லை. - செல்கிறேன் - ஒருவேளை - செல்ல முடியாது RSVP கள் (%1$d) இன்னும் RSVP கள் இல்லை. பங்கேற்பாளர்கள் (%1$d) diff --git a/amethyst/src/main/res/values-ta/strings.xml b/amethyst/src/main/res/values-ta/strings.xml index c8072c23cd..1b0d9237b8 100644 --- a/amethyst/src/main/res/values-ta/strings.xml +++ b/amethyst/src/main/res/values-ta/strings.xml @@ -1868,9 +1868,6 @@ விளக்கம் ஒரு தலைப்பு தேவை. இந்த நாட்காட்டியில் இன்னும் நிகழ்வுகள் இல்லை. -செல்கிறேன் -ஒருவேளை -செல்ல முடியாது RSVP கள் (%1$d) இன்னும் RSVP கள் இல்லை. பங்கேற்பாளர்கள் (%1$d) @@ -2972,10 +2969,6 @@ %1$s, %2$d நிகழ்வு %1$s, %2$d நிகழ்வுகள் - - %1$d நிகழ்வு - %1$d நிகழ்வுகள் - %1$d நிமிடத்தில் தொடங்கும் %1$d நிமிடங்களில் தொடங்கும் diff --git a/amethyst/src/main/res/values-th-rTH/strings.xml b/amethyst/src/main/res/values-th-rTH/strings.xml index d4645a5ddd..76618c96de 100644 --- a/amethyst/src/main/res/values-th-rTH/strings.xml +++ b/amethyst/src/main/res/values-th-rTH/strings.xml @@ -1938,13 +1938,7 @@ ชื่อเรื่อง คำอธิบาย ต้องระบุชื่อเรื่อง - - %1$d กิจกรรม - ยังไม่มีกิจกรรมในปฏิทินนี้ - ไป - อาจไป - ไม่ได้ RSVP (%1$d) ยังไม่มี RSVP ผู้เข้าร่วม (%1$d) diff --git a/amethyst/src/main/res/values-th/strings.xml b/amethyst/src/main/res/values-th/strings.xml index 278cf04f07..b0df883049 100644 --- a/amethyst/src/main/res/values-th/strings.xml +++ b/amethyst/src/main/res/values-th/strings.xml @@ -2204,17 +2204,11 @@ ต้องระบุชื่อเรื่อง - - %1$d กิจกรรม - ยังไม่มีกิจกรรมในปฏิทินนี้ - ไป - อาจไป - ไม่ได้ RSVP (%1$d) diff --git a/amethyst/src/main/res/values-tr-rTR/strings.xml b/amethyst/src/main/res/values-tr-rTR/strings.xml index ce00c470ec..b1822912fd 100644 --- a/amethyst/src/main/res/values-tr-rTR/strings.xml +++ b/amethyst/src/main/res/values-tr-rTR/strings.xml @@ -1980,14 +1980,7 @@ Başlık Açıklama Başlık zorunludur. - - %1$d etkinlik - %1$d etkinlik - Bu takvimde henüz etkinlik yok. - Katılıyorum - Belki - Katılamıyorum RSVP\'ler (%1$d) Henüz RSVP yok. Katılımcılar (%1$d) diff --git a/amethyst/src/main/res/values-tr/strings.xml b/amethyst/src/main/res/values-tr/strings.xml index 9ce05378b9..1832869ce8 100644 --- a/amethyst/src/main/res/values-tr/strings.xml +++ b/amethyst/src/main/res/values-tr/strings.xml @@ -2475,18 +2475,11 @@ Başlık zorunludur. - - %1$d etkinlik - %1$d etkinlik - Bu takvimde henüz etkinlik yok. - Katılıyorum - Belki - Katılamıyorum RSVP\'ler (%1$d) diff --git a/amethyst/src/main/res/values-uk-rUA/strings.xml b/amethyst/src/main/res/values-uk-rUA/strings.xml index 47285616ad..52a741264a 100644 --- a/amethyst/src/main/res/values-uk-rUA/strings.xml +++ b/amethyst/src/main/res/values-uk-rUA/strings.xml @@ -2025,16 +2025,7 @@ Назва Опис Назва є обов\'язковою. - - %1$d подія - %1$d події - %1$d подій - %1$d подій - У цьому календарі ще немає подій. - Піду - Можливо - Не зможу RSVP (%1$d) Відповідей ще немає. Учасники (%1$d) diff --git a/amethyst/src/main/res/values-uk/strings.xml b/amethyst/src/main/res/values-uk/strings.xml index 22a706ad6a..60b747c20e 100644 --- a/amethyst/src/main/res/values-uk/strings.xml +++ b/amethyst/src/main/res/values-uk/strings.xml @@ -2259,20 +2259,11 @@ Назва є обов\'язковою. - - %1$d подія - %1$d події - %1$d подій - %1$d подій - У цьому календарі ще немає подій. - Піду - Можливо - Не зможу RSVP (%1$d) diff --git a/amethyst/src/main/res/values-uz-rUZ/strings.xml b/amethyst/src/main/res/values-uz-rUZ/strings.xml index aed8014f26..f6a0e85b60 100644 --- a/amethyst/src/main/res/values-uz-rUZ/strings.xml +++ b/amethyst/src/main/res/values-uz-rUZ/strings.xml @@ -1976,14 +1976,7 @@ Sarlavha Tavsif Sarlavha talab qilinadi. - - %1$d tadbir - %1$d tadbir - Bu kalendarda hali hodisalar yo\'q. - Boraman - Ehtimol - Bora olmayman RSVPlar (%1$d) Hali RSVPlar yo\'q. Ishtirokchilar (%1$d) diff --git a/amethyst/src/main/res/values-vi-rVN/strings.xml b/amethyst/src/main/res/values-vi-rVN/strings.xml index d340dda695..0b8197ac00 100644 --- a/amethyst/src/main/res/values-vi-rVN/strings.xml +++ b/amethyst/src/main/res/values-vi-rVN/strings.xml @@ -1940,13 +1940,7 @@ Tiêu đề Mô tả Tiêu đề là bắt buộc. - - %1$d sự kiện - Chưa có sự kiện nào trong lịch này. - Sẽ tham dự - Có thể - Không thể đến RSVP (%1$d) Chưa có RSVP nào. Người tham gia (%1$d) diff --git a/amethyst/src/main/res/values-zh-rCN/strings.xml b/amethyst/src/main/res/values-zh-rCN/strings.xml index 594ab6c11a..86a376137d 100644 --- a/amethyst/src/main/res/values-zh-rCN/strings.xml +++ b/amethyst/src/main/res/values-zh-rCN/strings.xml @@ -2542,13 +2542,7 @@ 标题 描述 标题是必需的。 - - %1$d 个活动 - 此日历中尚无活动。 - 参加 - 可能 - 去不了 RSVP(%1$d) 暂无RSVP。 参与者 (%1$d) diff --git a/amethyst/src/main/res/values-zh-rHK/strings.xml b/amethyst/src/main/res/values-zh-rHK/strings.xml index 81898c0b28..eb9f0f76fb 100644 --- a/amethyst/src/main/res/values-zh-rHK/strings.xml +++ b/amethyst/src/main/res/values-zh-rHK/strings.xml @@ -1975,13 +1975,7 @@ 标题 描述 标题是必需的。 - - %1$d 个活动 - 此日历中尚无活动。 - 参加 - 可能 - 去不了 RSVP(%1$d) 暂无RSVP。 参与者 (%1$d) diff --git a/amethyst/src/main/res/values-zh-rSG/strings.xml b/amethyst/src/main/res/values-zh-rSG/strings.xml index 32b6ec0a86..e6cceb7fde 100644 --- a/amethyst/src/main/res/values-zh-rSG/strings.xml +++ b/amethyst/src/main/res/values-zh-rSG/strings.xml @@ -1975,13 +1975,7 @@ 标题 描述 标题是必需的。 - - %1$d 个活动 - 此日历中尚无活动。 - 参加 - 可能 - 去不了 RSVP(%1$d) 暂无RSVP。 参与者 (%1$d) diff --git a/amethyst/src/main/res/values-zh-rTW/strings.xml b/amethyst/src/main/res/values-zh-rTW/strings.xml index ab4e9c208a..9294588933 100644 --- a/amethyst/src/main/res/values-zh-rTW/strings.xml +++ b/amethyst/src/main/res/values-zh-rTW/strings.xml @@ -1955,13 +1955,7 @@ 標題 描述 標題為必填項目。 - - %1$d 個活動 - 此行事曆尚無活動。 - 出席 - 也許 - 無法出席 回覆(%1$d) 尚無回覆。 參與者(%1$d) diff --git a/amethyst/src/main/res/values-zh/strings.xml b/amethyst/src/main/res/values-zh/strings.xml index 51262eb4c9..9b57f44fc9 100644 --- a/amethyst/src/main/res/values-zh/strings.xml +++ b/amethyst/src/main/res/values-zh/strings.xml @@ -3696,17 +3696,11 @@ 标题是必需的。 - - %1$d 个活动 - 此日历中尚无活动。 -参加 -可能 -去不了 RSVP(%1$d) diff --git a/amethyst/src/main/res/values/strings.xml b/amethyst/src/main/res/values/strings.xml index c0e36dd3d6..1fca88d9d9 100644 --- a/amethyst/src/main/res/values/strings.xml +++ b/amethyst/src/main/res/values/strings.xml @@ -2946,15 +2946,8 @@ Title Description A title is required. - - %1$d event - %1$d events - No events in this calendar yet. - Going - Maybe - Can\'t go RSVPs (%1$d) No RSVPs yet. Participants (%1$d) diff --git a/commons/src/commonMain/composeResources/values-ar-rSA/strings.xml b/commons/src/commonMain/composeResources/values-ar-rSA/strings.xml index 1fcbf5b076..fdf2b25cae 100644 --- a/commons/src/commonMain/composeResources/values-ar-rSA/strings.xml +++ b/commons/src/commonMain/composeResources/values-ar-rSA/strings.xml @@ -48,4 +48,15 @@ %1$d مللي ثانية الأنواع المقبولة الموقع + سأحضر + ربما + لن أتمكن من الحضور + + %1$d أحداث + %1$d حدث + %1$d حدثان + %1$d أحداث + %1$d حدثًا + %1$d حدث + diff --git a/commons/src/commonMain/composeResources/values-bn-rBD/strings.xml b/commons/src/commonMain/composeResources/values-bn-rBD/strings.xml index 7779934428..083050c5b0 100644 --- a/commons/src/commonMain/composeResources/values-bn-rBD/strings.xml +++ b/commons/src/commonMain/composeResources/values-bn-rBD/strings.xml @@ -39,4 +39,11 @@ সমর্থিত NIPs গৃহীত ধরনসমূহ অবস্থান + যাচ্ছি + হয়তো + যেতে পারব না + + %1$d টি ইভেন্ট + %1$d টি ইভেন্ট + diff --git a/commons/src/commonMain/composeResources/values-cs/strings.xml b/commons/src/commonMain/composeResources/values-cs/strings.xml index 19f5e13917..990002b9f9 100644 --- a/commons/src/commonMain/composeResources/values-cs/strings.xml +++ b/commons/src/commonMain/composeResources/values-cs/strings.xml @@ -59,4 +59,13 @@ %1$d ms Přijímané druhy Poloha + Účastním se + Možná + Nemůžu + + %1$d událost + %1$d události + %1$d událostí + %1$d událostí + diff --git a/commons/src/commonMain/composeResources/values-de-rDE/strings.xml b/commons/src/commonMain/composeResources/values-de-rDE/strings.xml index 646e911bc3..401a234150 100644 --- a/commons/src/commonMain/composeResources/values-de-rDE/strings.xml +++ b/commons/src/commonMain/composeResources/values-de-rDE/strings.xml @@ -51,4 +51,11 @@ %1$d ms Akzeptierte Arten Standort + Komme + Vielleicht + Komme nicht + + %1$d Termin + %1$d Termine + diff --git a/commons/src/commonMain/composeResources/values-de/strings.xml b/commons/src/commonMain/composeResources/values-de/strings.xml index 8f2e1506de..d5a6756f10 100644 --- a/commons/src/commonMain/composeResources/values-de/strings.xml +++ b/commons/src/commonMain/composeResources/values-de/strings.xml @@ -40,4 +40,11 @@ %1$d ms Akzeptierte Arten Standort + Komme + Vielleicht + Komme nicht + + %1$d Termin + %1$d Termine + diff --git a/commons/src/commonMain/composeResources/values-el-rGR/strings.xml b/commons/src/commonMain/composeResources/values-el-rGR/strings.xml index 9a17128250..1027990690 100644 --- a/commons/src/commonMain/composeResources/values-el-rGR/strings.xml +++ b/commons/src/commonMain/composeResources/values-el-rGR/strings.xml @@ -39,4 +39,11 @@ Υποστηριζόμενα NIPs Αποδεκτοί τύποι Τοποθεσία + Πηγαίνω + Ίσως + Δεν μπορώ να πάω + + %1$d συμβάν + %1$d συμβάντα + diff --git a/commons/src/commonMain/composeResources/values-eo-rUY/strings.xml b/commons/src/commonMain/composeResources/values-eo-rUY/strings.xml index 13d7dd8131..6ebb2240cf 100644 --- a/commons/src/commonMain/composeResources/values-eo-rUY/strings.xml +++ b/commons/src/commonMain/composeResources/values-eo-rUY/strings.xml @@ -39,4 +39,11 @@ Subtenataj NIPs Akceptataj Tipoj Loko + Iras + Eble + Ne povas iri + + %1$d evento + %1$d eventoj + diff --git a/commons/src/commonMain/composeResources/values-eo/strings.xml b/commons/src/commonMain/composeResources/values-eo/strings.xml index 0be47ba6ff..c32435de8e 100644 --- a/commons/src/commonMain/composeResources/values-eo/strings.xml +++ b/commons/src/commonMain/composeResources/values-eo/strings.xml @@ -40,4 +40,11 @@ %1$d ms Akceptataj Tipoj Loko + Iras + Eble + Ne povas iri + + %1$d evento + %1$d eventoj + diff --git a/commons/src/commonMain/composeResources/values-es-rES/strings.xml b/commons/src/commonMain/composeResources/values-es-rES/strings.xml index 2b49f2701c..f249289707 100644 --- a/commons/src/commonMain/composeResources/values-es-rES/strings.xml +++ b/commons/src/commonMain/composeResources/values-es-rES/strings.xml @@ -40,4 +40,11 @@ %1$d ms Tipos aceptados Ubicación + Asistiré + Tal vez + No puedo ir + + %1$d evento + %1$d eventos + diff --git a/commons/src/commonMain/composeResources/values-es-rMX/strings.xml b/commons/src/commonMain/composeResources/values-es-rMX/strings.xml index cbbbe21081..9dac7e93be 100644 --- a/commons/src/commonMain/composeResources/values-es-rMX/strings.xml +++ b/commons/src/commonMain/composeResources/values-es-rMX/strings.xml @@ -40,4 +40,11 @@ %1$d ms Kinds aceptados Ubicación + Asistiré + Tal vez + No puedo ir + + %1$d evento + %1$d eventos + diff --git a/commons/src/commonMain/composeResources/values-es-rUS/strings.xml b/commons/src/commonMain/composeResources/values-es-rUS/strings.xml index cbbbe21081..9dac7e93be 100644 --- a/commons/src/commonMain/composeResources/values-es-rUS/strings.xml +++ b/commons/src/commonMain/composeResources/values-es-rUS/strings.xml @@ -40,4 +40,11 @@ %1$d ms Kinds aceptados Ubicación + Asistiré + Tal vez + No puedo ir + + %1$d evento + %1$d eventos + diff --git a/commons/src/commonMain/composeResources/values-es/strings.xml b/commons/src/commonMain/composeResources/values-es/strings.xml index 2b49f2701c..f249289707 100644 --- a/commons/src/commonMain/composeResources/values-es/strings.xml +++ b/commons/src/commonMain/composeResources/values-es/strings.xml @@ -40,4 +40,11 @@ %1$d ms Tipos aceptados Ubicación + Asistiré + Tal vez + No puedo ir + + %1$d evento + %1$d eventos + diff --git a/commons/src/commonMain/composeResources/values-fa-rIR/strings.xml b/commons/src/commonMain/composeResources/values-fa-rIR/strings.xml index 85588a7029..50d095799d 100644 --- a/commons/src/commonMain/composeResources/values-fa-rIR/strings.xml +++ b/commons/src/commonMain/composeResources/values-fa-rIR/strings.xml @@ -39,4 +39,11 @@ NIPهای پشتیبانی شده انواع پذیرفته شده موقعیت مکانی + می‌آیم + شاید + نمی‌توانم بیایم + + %1$d رویداد + %1$d رویداد + diff --git a/commons/src/commonMain/composeResources/values-fa/strings.xml b/commons/src/commonMain/composeResources/values-fa/strings.xml index 3d25affc23..9f5da29a94 100644 --- a/commons/src/commonMain/composeResources/values-fa/strings.xml +++ b/commons/src/commonMain/composeResources/values-fa/strings.xml @@ -40,4 +40,11 @@ %1$d ms انواع پذیرفته شده موقعیت مکانی + می‌آیم + شاید + نمی‌توانم بیایم + + %1$d رویداد + %1$d رویداد + diff --git a/commons/src/commonMain/composeResources/values-fi-rFI/strings.xml b/commons/src/commonMain/composeResources/values-fi-rFI/strings.xml index 121b1bd118..e9b2dabd46 100644 --- a/commons/src/commonMain/composeResources/values-fi-rFI/strings.xml +++ b/commons/src/commonMain/composeResources/values-fi-rFI/strings.xml @@ -39,4 +39,11 @@ Tuetut NIPit Hyväksytyt tyypit Sijainti + Osallistun + Ehkä + En pääse + + %1$d tapahtuma + %1$d tapahtumaa + diff --git a/commons/src/commonMain/composeResources/values-fr-rCA/strings.xml b/commons/src/commonMain/composeResources/values-fr-rCA/strings.xml index 9d31cbcd45..15c6b62dd8 100644 --- a/commons/src/commonMain/composeResources/values-fr-rCA/strings.xml +++ b/commons/src/commonMain/composeResources/values-fr-rCA/strings.xml @@ -36,4 +36,11 @@ NIPs supportés Kinds acceptés Localisation + Présent + Peut-être + Absent + + %1$d événement + %1$d événements + diff --git a/commons/src/commonMain/composeResources/values-fr-rFR/strings.xml b/commons/src/commonMain/composeResources/values-fr-rFR/strings.xml index 9485d25b4a..fd712952d6 100644 --- a/commons/src/commonMain/composeResources/values-fr-rFR/strings.xml +++ b/commons/src/commonMain/composeResources/values-fr-rFR/strings.xml @@ -43,4 +43,11 @@ %1$d ms Kinds acceptés Localisation + Présent + Peut-être + Absent + + %1$d événement + %1$d événements + diff --git a/commons/src/commonMain/composeResources/values-fr/strings.xml b/commons/src/commonMain/composeResources/values-fr/strings.xml index a52dee4f26..5f8d82bc56 100644 --- a/commons/src/commonMain/composeResources/values-fr/strings.xml +++ b/commons/src/commonMain/composeResources/values-fr/strings.xml @@ -40,4 +40,11 @@ %1$d ms Kinds acceptés Localisation + Présent + Peut-être + Absent + + %1$d événement + %1$d événements + diff --git a/commons/src/commonMain/composeResources/values-hi-rIN/strings.xml b/commons/src/commonMain/composeResources/values-hi-rIN/strings.xml index 77a527276b..0cb8aa1ef7 100644 --- a/commons/src/commonMain/composeResources/values-hi-rIN/strings.xml +++ b/commons/src/commonMain/composeResources/values-hi-rIN/strings.xml @@ -53,4 +53,11 @@ %1$d सहस्रतमसेकण्ड स्वीकृत प्रकार स्थान + जाना निश्चित + सम्भाव्य + नहीं जा सकते + + %1$d घटना + %1$d घटनाएँ + diff --git a/commons/src/commonMain/composeResources/values-hu-rHU/strings.xml b/commons/src/commonMain/composeResources/values-hu-rHU/strings.xml index 725cd12b05..b204731326 100644 --- a/commons/src/commonMain/composeResources/values-hu-rHU/strings.xml +++ b/commons/src/commonMain/composeResources/values-hu-rHU/strings.xml @@ -53,4 +53,11 @@ %1$d ms Elfogadott típusok Helyszín + Ott leszek + Talán + Nem leszek ott + + %1$d esemény + %1$d esemény + diff --git a/commons/src/commonMain/composeResources/values-in-rID/strings.xml b/commons/src/commonMain/composeResources/values-in-rID/strings.xml index 21a2320562..907b492588 100644 --- a/commons/src/commonMain/composeResources/values-in-rID/strings.xml +++ b/commons/src/commonMain/composeResources/values-in-rID/strings.xml @@ -36,4 +36,10 @@ NIP yang Didukung Jenis yang Diterima Lokasi + Hadir + Mungkin + Tidak bisa hadir + + %1$d acara + diff --git a/commons/src/commonMain/composeResources/values-in/strings.xml b/commons/src/commonMain/composeResources/values-in/strings.xml index 394769cd9c..c54b7242ce 100644 --- a/commons/src/commonMain/composeResources/values-in/strings.xml +++ b/commons/src/commonMain/composeResources/values-in/strings.xml @@ -38,4 +38,10 @@ %1$d ms Jenis yang Diterima Lokasi + Hadir + Mungkin + Tidak bisa hadir + + %1$d acara + diff --git a/commons/src/commonMain/composeResources/values-it-rIT/strings.xml b/commons/src/commonMain/composeResources/values-it-rIT/strings.xml index 305b3f5739..7b661d29db 100644 --- a/commons/src/commonMain/composeResources/values-it-rIT/strings.xml +++ b/commons/src/commonMain/composeResources/values-it-rIT/strings.xml @@ -39,4 +39,11 @@ NIP supportati Kind accettati Posizione + Partecipo + Forse + Non posso + + %1$d evento + %1$d eventi + diff --git a/commons/src/commonMain/composeResources/values-ja-rJP/strings.xml b/commons/src/commonMain/composeResources/values-ja-rJP/strings.xml index 3c17dcc4e4..0e2ee780d0 100644 --- a/commons/src/commonMain/composeResources/values-ja-rJP/strings.xml +++ b/commons/src/commonMain/composeResources/values-ja-rJP/strings.xml @@ -37,4 +37,10 @@ 対応 NIP 受け入れ種別 場所 + 参加する + 未定 + 参加できない + + %1$dイベント + diff --git a/commons/src/commonMain/composeResources/values-ja/strings.xml b/commons/src/commonMain/composeResources/values-ja/strings.xml index 8cb0073ea7..8dd6571560 100644 --- a/commons/src/commonMain/composeResources/values-ja/strings.xml +++ b/commons/src/commonMain/composeResources/values-ja/strings.xml @@ -38,4 +38,10 @@ %1$d ms 受け入れ種別 場所 + 参加する + 未定 + 参加できない + + %1$dイベント + diff --git a/commons/src/commonMain/composeResources/values-ko-rKR/strings.xml b/commons/src/commonMain/composeResources/values-ko-rKR/strings.xml index aabc7be760..baf5d380ce 100644 --- a/commons/src/commonMain/composeResources/values-ko-rKR/strings.xml +++ b/commons/src/commonMain/composeResources/values-ko-rKR/strings.xml @@ -37,4 +37,10 @@ 지원되는 NIP 허용된 종류 위치 + 참석 + 미정 + 불참 + + %1$d개 이벤트 + diff --git a/commons/src/commonMain/composeResources/values-lv-rLV/strings.xml b/commons/src/commonMain/composeResources/values-lv-rLV/strings.xml index 12cc2ae233..26bd223063 100644 --- a/commons/src/commonMain/composeResources/values-lv-rLV/strings.xml +++ b/commons/src/commonMain/composeResources/values-lv-rLV/strings.xml @@ -41,4 +41,12 @@ Atbalstītie NIP Pieņemtie veidi Atrašanās vieta + Iešu + Varbūt + Nevarēšu ierasties + + %1$d notikumu + %1$d notikums + %1$d notikumi + diff --git a/commons/src/commonMain/composeResources/values-nl-rBE/strings.xml b/commons/src/commonMain/composeResources/values-nl-rBE/strings.xml index f9558d3d02..fa55a5263f 100644 --- a/commons/src/commonMain/composeResources/values-nl-rBE/strings.xml +++ b/commons/src/commonMain/composeResources/values-nl-rBE/strings.xml @@ -40,4 +40,11 @@ %1$d ms Geaccepteerde kinds Locatie + Ga + Misschien + Kan niet + + %1$d evenement + %1$d evenementen + diff --git a/commons/src/commonMain/composeResources/values-nl-rNL/strings.xml b/commons/src/commonMain/composeResources/values-nl-rNL/strings.xml index 80865c8d66..ae057b6223 100644 --- a/commons/src/commonMain/composeResources/values-nl-rNL/strings.xml +++ b/commons/src/commonMain/composeResources/values-nl-rNL/strings.xml @@ -53,4 +53,11 @@ %1$d ms Geaccepteerde kinds Locatie + Ga + Misschien + Kan niet + + %1$d evenement + %1$d evenementen + diff --git a/commons/src/commonMain/composeResources/values-nl/strings.xml b/commons/src/commonMain/composeResources/values-nl/strings.xml index f9558d3d02..fa55a5263f 100644 --- a/commons/src/commonMain/composeResources/values-nl/strings.xml +++ b/commons/src/commonMain/composeResources/values-nl/strings.xml @@ -40,4 +40,11 @@ %1$d ms Geaccepteerde kinds Locatie + Ga + Misschien + Kan niet + + %1$d evenement + %1$d evenementen + diff --git a/commons/src/commonMain/composeResources/values-pl-rPL/strings.xml b/commons/src/commonMain/composeResources/values-pl-rPL/strings.xml index 7ac6450f56..e96be661e8 100644 --- a/commons/src/commonMain/composeResources/values-pl-rPL/strings.xml +++ b/commons/src/commonMain/composeResources/values-pl-rPL/strings.xml @@ -58,4 +58,13 @@ %1$d ms Dopuszczalne typy Lokalizacja + Będę + Może + Nie mogę iść + + %1$d wydarzenie + %1$d wydarzeń + %1$d wydarzeń + %1$d wydarzeń + diff --git a/commons/src/commonMain/composeResources/values-pt-rBR/strings.xml b/commons/src/commonMain/composeResources/values-pt-rBR/strings.xml index 083fb428bc..218e52a74d 100644 --- a/commons/src/commonMain/composeResources/values-pt-rBR/strings.xml +++ b/commons/src/commonMain/composeResources/values-pt-rBR/strings.xml @@ -51,4 +51,11 @@ %1$d ms Tipos Aceitos Localização + Vou + Talvez + Não vou + + %1$d evento + %1$d eventos + diff --git a/commons/src/commonMain/composeResources/values-pt-rPT/strings.xml b/commons/src/commonMain/composeResources/values-pt-rPT/strings.xml index 6ca5a36f1d..84250032fc 100644 --- a/commons/src/commonMain/composeResources/values-pt-rPT/strings.xml +++ b/commons/src/commonMain/composeResources/values-pt-rPT/strings.xml @@ -39,4 +39,11 @@ NIPs Suportados Tipos Aceitos Localização + Vou + Talvez + Não vou + + %1$d evento + %1$d eventos + diff --git a/commons/src/commonMain/composeResources/values-ru-rRU/strings.xml b/commons/src/commonMain/composeResources/values-ru-rRU/strings.xml index 6261e6b288..8d5d0c46e5 100644 --- a/commons/src/commonMain/composeResources/values-ru-rRU/strings.xml +++ b/commons/src/commonMain/composeResources/values-ru-rRU/strings.xml @@ -44,4 +44,13 @@ %1$d мс Принимаемые типы Местоположение + Пойду + Возможно + Не смогу + + %1$d событие + %1$d события + %1$d событий + %1$d события + diff --git a/commons/src/commonMain/composeResources/values-ru-rUA/strings.xml b/commons/src/commonMain/composeResources/values-ru-rUA/strings.xml index 6261e6b288..8d5d0c46e5 100644 --- a/commons/src/commonMain/composeResources/values-ru-rUA/strings.xml +++ b/commons/src/commonMain/composeResources/values-ru-rUA/strings.xml @@ -44,4 +44,13 @@ %1$d мс Принимаемые типы Местоположение + Пойду + Возможно + Не смогу + + %1$d событие + %1$d события + %1$d событий + %1$d события + diff --git a/commons/src/commonMain/composeResources/values-ru/strings.xml b/commons/src/commonMain/composeResources/values-ru/strings.xml index 6261e6b288..8d5d0c46e5 100644 --- a/commons/src/commonMain/composeResources/values-ru/strings.xml +++ b/commons/src/commonMain/composeResources/values-ru/strings.xml @@ -44,4 +44,13 @@ %1$d мс Принимаемые типы Местоположение + Пойду + Возможно + Не смогу + + %1$d событие + %1$d события + %1$d событий + %1$d события + diff --git a/commons/src/commonMain/composeResources/values-sl-rSI/strings.xml b/commons/src/commonMain/composeResources/values-sl-rSI/strings.xml index 7a735a63b3..2fd271c666 100644 --- a/commons/src/commonMain/composeResources/values-sl-rSI/strings.xml +++ b/commons/src/commonMain/composeResources/values-sl-rSI/strings.xml @@ -59,4 +59,13 @@ %1$d ms Sprejeti tipi (kind) Lokacija + Grem + Mogoče + Ne morem + + %1$d dogodek + %1$d dogodka + %1$d dogodki + %1$d dogodkov + diff --git a/commons/src/commonMain/composeResources/values-sr-rSP/strings.xml b/commons/src/commonMain/composeResources/values-sr-rSP/strings.xml index af429ce0a0..60b6ecc0b0 100644 --- a/commons/src/commonMain/composeResources/values-sr-rSP/strings.xml +++ b/commons/src/commonMain/composeResources/values-sr-rSP/strings.xml @@ -41,4 +41,12 @@ Podržani NIPs Prihvaćene vrste Lokacija + Idem + Možda + Ne mogu ići + + %1$d događaj + %1$d događaja + %1$d događaja + diff --git a/commons/src/commonMain/composeResources/values-sv-rSE/strings.xml b/commons/src/commonMain/composeResources/values-sv-rSE/strings.xml index b73984eca2..c471f9b6e1 100644 --- a/commons/src/commonMain/composeResources/values-sv-rSE/strings.xml +++ b/commons/src/commonMain/composeResources/values-sv-rSE/strings.xml @@ -50,4 +50,11 @@ %1$d ms Accepterade typer Plats + Kommer + Kanske + Kommer inte + + %1$d händelse + %1$d händelser + diff --git a/commons/src/commonMain/composeResources/values-sw/strings.xml b/commons/src/commonMain/composeResources/values-sw/strings.xml index 8d4a835cde..7d6d74a254 100644 --- a/commons/src/commonMain/composeResources/values-sw/strings.xml +++ b/commons/src/commonMain/composeResources/values-sw/strings.xml @@ -39,4 +39,11 @@ NIPs Zinazosaidiwa Aina Zinazokubaliwa Eneo + Naenda + Labda + Siwezi kwenda + + tukio %1$d + matukio %1$d + diff --git a/commons/src/commonMain/composeResources/values-ta-rIN/strings.xml b/commons/src/commonMain/composeResources/values-ta-rIN/strings.xml index 5b93e3e522..5f01505186 100644 --- a/commons/src/commonMain/composeResources/values-ta-rIN/strings.xml +++ b/commons/src/commonMain/composeResources/values-ta-rIN/strings.xml @@ -39,4 +39,11 @@ ஆதரிக்கப்படும் NIPs ஏற்றுக்கொள்ளப்படும் வகைகள் இடம் + செல்கிறேன் + ஒருவேளை + செல்ல முடியாது + + %1$d நிகழ்வு + %1$d நிகழ்வுகள் + diff --git a/commons/src/commonMain/composeResources/values-ta/strings.xml b/commons/src/commonMain/composeResources/values-ta/strings.xml index 657899c2f1..ab3ce98870 100644 --- a/commons/src/commonMain/composeResources/values-ta/strings.xml +++ b/commons/src/commonMain/composeResources/values-ta/strings.xml @@ -40,4 +40,11 @@ %1$d ms ஏற்றுக்கொள்ளப்படும் வகைகள் இடம் + செல்கிறேன் + ஒருவேளை + செல்ல முடியாது + + %1$d நிகழ்வு + %1$d நிகழ்வுகள் + diff --git a/commons/src/commonMain/composeResources/values-th-rTH/strings.xml b/commons/src/commonMain/composeResources/values-th-rTH/strings.xml index 1b022bdc19..17abf3e87e 100644 --- a/commons/src/commonMain/composeResources/values-th-rTH/strings.xml +++ b/commons/src/commonMain/composeResources/values-th-rTH/strings.xml @@ -37,4 +37,10 @@ NIP ที่รองรับ ประเภทที่ยอมรับ ตำแหน่งที่ตั้ง + ไป + อาจไป + ไม่ได้ + + %1$d กิจกรรม + diff --git a/commons/src/commonMain/composeResources/values-th/strings.xml b/commons/src/commonMain/composeResources/values-th/strings.xml index c98b8cd321..caf3deb98d 100644 --- a/commons/src/commonMain/composeResources/values-th/strings.xml +++ b/commons/src/commonMain/composeResources/values-th/strings.xml @@ -38,4 +38,10 @@ %1$d ms ประเภทที่ยอมรับ ตำแหน่งที่ตั้ง + ไป + อาจไป + ไม่ได้ + + %1$d กิจกรรม + diff --git a/commons/src/commonMain/composeResources/values-tr-rTR/strings.xml b/commons/src/commonMain/composeResources/values-tr-rTR/strings.xml index a24eaca3f2..2b894b40ed 100644 --- a/commons/src/commonMain/composeResources/values-tr-rTR/strings.xml +++ b/commons/src/commonMain/composeResources/values-tr-rTR/strings.xml @@ -39,4 +39,11 @@ Desteklenen NIP\'ler Kabul Edilen Türler Konum + Katılıyorum + Belki + Katılamıyorum + + %1$d etkinlik + %1$d etkinlik + diff --git a/commons/src/commonMain/composeResources/values-tr/strings.xml b/commons/src/commonMain/composeResources/values-tr/strings.xml index 864c445e47..dc3ba9d5f9 100644 --- a/commons/src/commonMain/composeResources/values-tr/strings.xml +++ b/commons/src/commonMain/composeResources/values-tr/strings.xml @@ -40,4 +40,11 @@ %1$d ms Kabul Edilen Türler Konum + Katılıyorum + Belki + Katılamıyorum + + %1$d etkinlik + %1$d etkinlik + diff --git a/commons/src/commonMain/composeResources/values-uk-rUA/strings.xml b/commons/src/commonMain/composeResources/values-uk-rUA/strings.xml index 51e8add4ec..8c587d77b3 100644 --- a/commons/src/commonMain/composeResources/values-uk-rUA/strings.xml +++ b/commons/src/commonMain/composeResources/values-uk-rUA/strings.xml @@ -44,4 +44,13 @@ %1$d мс Прийняті типи Місцезнаходження + Піду + Можливо + Не зможу + + %1$d подія + %1$d події + %1$d подій + %1$d подій + diff --git a/commons/src/commonMain/composeResources/values-uk/strings.xml b/commons/src/commonMain/composeResources/values-uk/strings.xml index 51e8add4ec..8c587d77b3 100644 --- a/commons/src/commonMain/composeResources/values-uk/strings.xml +++ b/commons/src/commonMain/composeResources/values-uk/strings.xml @@ -44,4 +44,13 @@ %1$d мс Прийняті типи Місцезнаходження + Піду + Можливо + Не зможу + + %1$d подія + %1$d події + %1$d подій + %1$d подій + diff --git a/commons/src/commonMain/composeResources/values-uz-rUZ/strings.xml b/commons/src/commonMain/composeResources/values-uz-rUZ/strings.xml index c4d2253181..b15b4b9462 100644 --- a/commons/src/commonMain/composeResources/values-uz-rUZ/strings.xml +++ b/commons/src/commonMain/composeResources/values-uz-rUZ/strings.xml @@ -39,4 +39,11 @@ Qo\'llab-quvvatlanadigan NIPlar Qabul Qilingan Turlar Joylashuv + Boraman + Ehtimol + Bora olmayman + + %1$d tadbir + %1$d tadbir + diff --git a/commons/src/commonMain/composeResources/values-vi-rVN/strings.xml b/commons/src/commonMain/composeResources/values-vi-rVN/strings.xml index 322639f4b2..c3f871b4bc 100644 --- a/commons/src/commonMain/composeResources/values-vi-rVN/strings.xml +++ b/commons/src/commonMain/composeResources/values-vi-rVN/strings.xml @@ -37,4 +37,10 @@ NIP được hỗ trợ Loại được chấp nhận Vị trí + Sẽ tham dự + Có thể + Không thể đến + + %1$d sự kiện + diff --git a/commons/src/commonMain/composeResources/values-zh-rCN/strings.xml b/commons/src/commonMain/composeResources/values-zh-rCN/strings.xml index 8ee4d009d7..39e384b9b6 100644 --- a/commons/src/commonMain/composeResources/values-zh-rCN/strings.xml +++ b/commons/src/commonMain/composeResources/values-zh-rCN/strings.xml @@ -50,4 +50,10 @@ %1$d 毫秒 接受的类型 位置信息 + 参加 + 可能 + 去不了 + + %1$d 个活动 + diff --git a/commons/src/commonMain/composeResources/values-zh-rHK/strings.xml b/commons/src/commonMain/composeResources/values-zh-rHK/strings.xml index 66fd444b59..7e95227a64 100644 --- a/commons/src/commonMain/composeResources/values-zh-rHK/strings.xml +++ b/commons/src/commonMain/composeResources/values-zh-rHK/strings.xml @@ -38,4 +38,10 @@ %1$d 毫秒 接受的类型 位置信息 + 参加 + 可能 + 去不了 + + %1$d 个活动 + diff --git a/commons/src/commonMain/composeResources/values-zh-rSG/strings.xml b/commons/src/commonMain/composeResources/values-zh-rSG/strings.xml index 66fd444b59..7e95227a64 100644 --- a/commons/src/commonMain/composeResources/values-zh-rSG/strings.xml +++ b/commons/src/commonMain/composeResources/values-zh-rSG/strings.xml @@ -38,4 +38,10 @@ %1$d 毫秒 接受的类型 位置信息 + 参加 + 可能 + 去不了 + + %1$d 个活动 + diff --git a/commons/src/commonMain/composeResources/values-zh-rTW/strings.xml b/commons/src/commonMain/composeResources/values-zh-rTW/strings.xml index 20898170fa..49869d03b0 100644 --- a/commons/src/commonMain/composeResources/values-zh-rTW/strings.xml +++ b/commons/src/commonMain/composeResources/values-zh-rTW/strings.xml @@ -38,4 +38,10 @@ %1$d 毫秒 接受的種類 位置 + 出席 + 也許 + 無法出席 + + %1$d 個活動 + diff --git a/commons/src/commonMain/composeResources/values-zh/strings.xml b/commons/src/commonMain/composeResources/values-zh/strings.xml index 66fd444b59..7e95227a64 100644 --- a/commons/src/commonMain/composeResources/values-zh/strings.xml +++ b/commons/src/commonMain/composeResources/values-zh/strings.xml @@ -38,4 +38,10 @@ %1$d 毫秒 接受的类型 位置信息 + 参加 + 可能 + 去不了 + + %1$d 个活动 + diff --git a/commons/src/commonMain/composeResources/values/strings.xml b/commons/src/commonMain/composeResources/values/strings.xml index 92589bc0dd..e5f8eff4dc 100644 --- a/commons/src/commonMain/composeResources/values/strings.xml +++ b/commons/src/commonMain/composeResources/values/strings.xml @@ -154,4 +154,11 @@ %1$d ms Accepted Kinds Location + Going + Maybe + Can\'t go + + %1$d event + %1$d events + diff --git a/commons/src/commonMain/kotlin/com/vitorpamplona/amethyst/commons/ui/note/CalendarCollectionCard.kt b/commons/src/commonMain/kotlin/com/vitorpamplona/amethyst/commons/ui/note/CalendarCollectionCard.kt new file mode 100644 index 0000000000..aa47b000ee --- /dev/null +++ b/commons/src/commonMain/kotlin/com/vitorpamplona/amethyst/commons/ui/note/CalendarCollectionCard.kt @@ -0,0 +1,91 @@ +/* + * Copyright (c) 2025 Vitor Pamplona + * + * Permission is hereby granted, free of charge, to any person obtaining a copy of + * this software and associated documentation files (the "Software"), to deal in + * the Software without restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the + * Software, and to permit persons to whom the Software is furnished to do so, + * subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS + * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR + * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN + * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */ +package com.vitorpamplona.amethyst.commons.ui.note + +import androidx.compose.foundation.layout.Column +import androidx.compose.foundation.layout.Row +import androidx.compose.foundation.layout.Spacer +import androidx.compose.foundation.layout.fillMaxWidth +import androidx.compose.foundation.layout.padding +import androidx.compose.foundation.layout.size +import androidx.compose.material3.MaterialTheme +import androidx.compose.material3.Text +import androidx.compose.runtime.Composable +import androidx.compose.ui.Alignment +import androidx.compose.ui.Modifier +import androidx.compose.ui.text.font.FontWeight +import androidx.compose.ui.text.style.TextOverflow +import androidx.compose.ui.unit.dp +import com.vitorpamplona.amethyst.commons.icons.symbols.Icon +import com.vitorpamplona.amethyst.commons.icons.symbols.MaterialSymbols +import com.vitorpamplona.amethyst.commons.resources.Res +import com.vitorpamplona.amethyst.commons.resources.calendar_collection_count +import com.vitorpamplona.amethyst.commons.ui.theme.StdVertSpacer +import com.vitorpamplona.amethyst.commons.ui.theme.replyModifier +import com.vitorpamplona.quartz.nip52Calendar.calendar.CalendarEvent +import org.jetbrains.compose.resources.pluralStringResource + +/** Card for a NIP-52 calendar collection (kind 31924): title, description, and event count. */ +@Composable +fun CalendarCollectionCard(event: CalendarEvent) { + Column(MaterialTheme.colorScheme.replyModifier) { + Row( + modifier = Modifier.fillMaxWidth().padding(start = 10.dp, end = 10.dp, top = 10.dp), + verticalAlignment = Alignment.CenterVertically, + ) { + Icon( + symbol = MaterialSymbols.CalendarMonth, + contentDescription = null, + modifier = Modifier.size(24.dp), + tint = MaterialTheme.colorScheme.primary, + ) + Spacer(modifier = Modifier.size(8.dp)) + Text( + text = event.title() ?: "—", + style = MaterialTheme.typography.titleMedium, + fontWeight = FontWeight.SemiBold, + maxLines = 2, + overflow = TextOverflow.Ellipsis, + ) + } + + if (event.content.isNotBlank()) { + Spacer(modifier = StdVertSpacer) + Text( + text = event.content, + style = MaterialTheme.typography.bodySmall, + color = MaterialTheme.colorScheme.onSurfaceVariant, + modifier = Modifier.fillMaxWidth().padding(horizontal = 10.dp), + maxLines = 4, + overflow = TextOverflow.Ellipsis, + ) + } + + Spacer(modifier = StdVertSpacer) + val eventCount = event.calendarEventAddresses().size + Text( + text = pluralStringResource(Res.plurals.calendar_collection_count, eventCount, eventCount), + style = MaterialTheme.typography.labelMedium, + color = MaterialTheme.colorScheme.primary, + modifier = Modifier.padding(start = 10.dp, end = 10.dp, bottom = 12.dp), + ) + } +} diff --git a/commons/src/commonMain/kotlin/com/vitorpamplona/amethyst/commons/ui/note/CalendarRsvpCard.kt b/commons/src/commonMain/kotlin/com/vitorpamplona/amethyst/commons/ui/note/CalendarRsvpCard.kt new file mode 100644 index 0000000000..0fd2e92e63 --- /dev/null +++ b/commons/src/commonMain/kotlin/com/vitorpamplona/amethyst/commons/ui/note/CalendarRsvpCard.kt @@ -0,0 +1,116 @@ +/* + * Copyright (c) 2025 Vitor Pamplona + * + * Permission is hereby granted, free of charge, to any person obtaining a copy of + * this software and associated documentation files (the "Software"), to deal in + * the Software without restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the + * Software, and to permit persons to whom the Software is furnished to do so, + * subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS + * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR + * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN + * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */ +package com.vitorpamplona.amethyst.commons.ui.note + +import androidx.compose.foundation.layout.Column +import androidx.compose.foundation.layout.Row +import androidx.compose.foundation.layout.Spacer +import androidx.compose.foundation.layout.fillMaxWidth +import androidx.compose.foundation.layout.padding +import androidx.compose.foundation.layout.size +import androidx.compose.material3.MaterialTheme +import androidx.compose.material3.Text +import androidx.compose.runtime.Composable +import androidx.compose.ui.Alignment +import androidx.compose.ui.Modifier +import androidx.compose.ui.graphics.Color +import androidx.compose.ui.text.font.FontWeight +import androidx.compose.ui.unit.dp +import com.vitorpamplona.amethyst.commons.icons.symbols.Icon +import com.vitorpamplona.amethyst.commons.icons.symbols.MaterialSymbols +import com.vitorpamplona.amethyst.commons.resources.Res +import com.vitorpamplona.amethyst.commons.resources.calendar_rsvp_going +import com.vitorpamplona.amethyst.commons.resources.calendar_rsvp_maybe +import com.vitorpamplona.amethyst.commons.resources.calendar_rsvp_not_going +import com.vitorpamplona.amethyst.commons.ui.theme.StdVertSpacer +import com.vitorpamplona.amethyst.commons.ui.theme.replyModifier +import com.vitorpamplona.quartz.nip52Calendar.appt.tags.RSVPStatusTag +import com.vitorpamplona.quartz.nip52Calendar.rsvp.CalendarRSVPEvent +import org.jetbrains.compose.resources.stringResource + +/** Card for a NIP-52 calendar RSVP (kind 31925): the going/maybe/not-going status, note, and target. */ +@Composable +fun CalendarRsvpCard(event: CalendarRSVPEvent) { + val status = event.status() + val targetAddress = event.calendarEventAddress() + val freebusy = event.freebusy() + + val statusLabel = + when (status) { + RSVPStatusTag.STATUS.ACCEPTED -> stringResource(Res.string.calendar_rsvp_going) + RSVPStatusTag.STATUS.TENTATIVE -> stringResource(Res.string.calendar_rsvp_maybe) + RSVPStatusTag.STATUS.DECLINED -> stringResource(Res.string.calendar_rsvp_not_going) + null -> "—" + } + + val statusColor = + when (status) { + RSVPStatusTag.STATUS.ACCEPTED -> MaterialTheme.colorScheme.primary + RSVPStatusTag.STATUS.TENTATIVE -> MaterialTheme.colorScheme.tertiary + RSVPStatusTag.STATUS.DECLINED -> MaterialTheme.colorScheme.error + null -> Color.Gray + } + + Column(MaterialTheme.colorScheme.replyModifier) { + Row( + modifier = Modifier.fillMaxWidth().padding(start = 10.dp, end = 10.dp, top = 10.dp), + verticalAlignment = Alignment.CenterVertically, + ) { + Icon( + symbol = MaterialSymbols.CalendarMonth, + contentDescription = null, + modifier = Modifier.size(20.dp), + tint = statusColor, + ) + Spacer(modifier = Modifier.size(8.dp)) + Text( + text = statusLabel, + style = MaterialTheme.typography.titleMedium, + fontWeight = FontWeight.SemiBold, + color = statusColor, + ) + } + + if (event.content.isNotBlank()) { + Spacer(modifier = StdVertSpacer) + Text( + text = event.content, + style = MaterialTheme.typography.bodySmall, + color = MaterialTheme.colorScheme.onSurfaceVariant, + modifier = Modifier.padding(start = 10.dp, end = 10.dp), + ) + } + + targetAddress?.let { addr -> + Spacer(modifier = StdVertSpacer) + Text( + text = "→ ${addr.toValue()}", + style = MaterialTheme.typography.labelSmall, + color = MaterialTheme.colorScheme.onSurfaceVariant, + modifier = Modifier.padding(start = 10.dp, end = 10.dp, bottom = 12.dp), + ) + } + + if (freebusy != null) { + Spacer(modifier = StdVertSpacer) + } + } +}