add a toggle for replacing Description with Location at list views etc

This commit is contained in:
tibbi 2017-10-21 12:03:45 +02:00
parent 1028781bbb
commit c4972e77a7
31 changed files with 119 additions and 48 deletions

View file

@ -49,6 +49,7 @@ class SettingsActivity : SimpleActivity() {
setupManageEventTypes()
setupHourFormat()
setupSundayFirst()
setupReplaceDescription()
setupWeekNumbers()
setupWeeklyStart()
setupWeeklyEnd()
@ -176,6 +177,14 @@ class SettingsActivity : SimpleActivity() {
}
}
private fun setupReplaceDescription() {
settings_replace_description.isChecked = config.replaceDescription
settings_replace_description_holder.setOnClickListener {
settings_replace_description.toggle()
config.replaceDescription = settings_replace_description.isChecked
}
}
private fun setupWeeklyStart() {
settings_start_weekly_at.text = getHoursString(config.startWeeklyAt)
settings_start_weekly_at_holder.setOnClickListener {

View file

@ -1,6 +1,5 @@
package com.simplemobiletools.calendar.adapters
import android.graphics.Color
import android.graphics.PorterDuff
import android.support.v7.view.ActionMode
import android.support.v7.widget.RecyclerView
@ -31,22 +30,26 @@ class DayEventsAdapter(val activity: SimpleActivity, val mItems: List<Event>, va
val markedItems = HashSet<Int>()
var textColor = 0
var allDayString = ""
var replaceDescriptionWithLocation = false
fun toggleItemSelection(itemView: View, select: Boolean, pos: Int = -1) {
itemView.event_item_frame.isSelected = select
if (pos == -1)
if (pos == -1) {
return
}
if (select)
if (select) {
markedItems.add(pos)
else
} else {
markedItems.remove(pos)
}
}
}
init {
textColor = activity.config.textColor
allDayString = activity.resources.getString(R.string.all_day)
replaceDescriptionWithLocation = activity.config.replaceDescription
}
private val multiSelectorMode = object : ModalMultiSelectorCallback(multiSelector) {
@ -119,7 +122,7 @@ class DayEventsAdapter(val activity: SimpleActivity, val mItems: List<Event>, va
fun bindView(multiSelectorCallback: ModalMultiSelectorCallback, multiSelector: MultiSelector, event: Event, pos: Int): View {
itemView.apply {
event_item_title.text = event.title
event_item_description.text = event.description
event_item_description.text = if (replaceDescriptionWithLocation) event.location else event.description
event_item_start.text = if (event.getIsAllDay()) allDayString else Formatter.getTimeFromTS(context, event.startTS)
event_item_end.beInvisibleIf(event.startTS == event.endTS)
event_item_color.setColorFilter(event.color, PorterDuff.Mode.SRC_IN)

View file

@ -42,6 +42,7 @@ class EventListAdapter(val activity: SimpleActivity, val mItems: List<ListItem>,
var redTextColor = 0
var todayDate = ""
var allDayString = ""
var replaceDescriptionWithLocation = false
fun toggleItemSelection(itemView: View, select: Boolean, pos: Int = -1) {
itemView.event_item_frame.isSelected = select
@ -56,17 +57,20 @@ class EventListAdapter(val activity: SimpleActivity, val mItems: List<ListItem>,
}
init {
val res = activity.resources
allDayString = res.getString(R.string.all_day)
topDivider = res.getDrawable(R.drawable.divider_width)
activity.resources.apply {
allDayString = getString(R.string.all_day)
topDivider = getDrawable(R.drawable.divider_width)
redTextColor = getColor(R.color.red_text)
}
textColor = activity.config.textColor
redTextColor = res.getColor(R.color.red_text)
primaryColor = activity.config.primaryColor
val mTodayCode = Formatter.getDayCodeFromTS(mNow)
todayDate = Formatter.getDayTitle(activity, mTodayCode)
replaceDescriptionWithLocation = activity.config.replaceDescription
}
val multiSelectorMode = object : ModalMultiSelectorCallback(multiSelector) {
private val multiSelectorMode = object : ModalMultiSelectorCallback(multiSelector) {
override fun onActionItemClicked(mode: ActionMode, item: MenuItem): Boolean {
when (item.itemId) {
R.id.cab_share -> shareEvents()
@ -128,18 +132,20 @@ class EventListAdapter(val activity: SimpleActivity, val mItems: List<ListItem>,
val layoutId = if (viewType == ITEM_EVENT) R.layout.event_list_item else R.layout.event_list_section
val view = LayoutInflater.from(parent?.context).inflate(layoutId, parent, false)
return if (viewType == ITEM_EVENT)
return if (viewType == ITEM_EVENT) {
EventListAdapter.ViewHolder(activity, view, itemClick)
else
} else {
EventListAdapter.SectionHolder(view)
}
}
override fun onBindViewHolder(holder: RecyclerView.ViewHolder, position: Int) {
if (holder.itemViewType == ITEM_EVENT)
if (holder.itemViewType == ITEM_EVENT) {
views.add((holder as ViewHolder).bindView(multiSelectorMode, multiSelector, mItems[position], position))
else
} else {
(holder as SectionHolder).bindView(mItems[position])
}
}
override fun getItemCount() = mItems.size
@ -148,7 +154,7 @@ class EventListAdapter(val activity: SimpleActivity, val mItems: List<ListItem>,
val item = listItem as ListEvent
itemView.apply {
event_item_title.text = item.title
event_item_description.text = item.description
event_item_description.text = if (replaceDescriptionWithLocation) item.location else item.description
event_item_start.text = if (item.isAllDay) allDayString else Formatter.getTimeFromTS(context, item.startTS)
event_item_end.beInvisibleIf(item.startTS == item.endTS)
event_item_color.setColorFilter(item.color, PorterDuff.Mode.SRC_IN)

View file

@ -27,6 +27,7 @@ class EventListWidgetAdapter(val context: Context, val intent: Intent) : RemoteV
private val allDayString = context.resources.getString(R.string.all_day)
private var events = ArrayList<ListItem>()
private val textColor = context.config.widgetTextColor
private val replaceDescription = context.config.replaceDescription
private var mediumFontSize = context.config.getFontSize()
private var todayDate = ""
@ -38,7 +39,7 @@ class EventListWidgetAdapter(val context: Context, val intent: Intent) : RemoteV
val item = events[position] as ListEvent
remoteView = RemoteViews(context.packageName, R.layout.event_list_item_widget).apply {
setTextViewText(R.id.event_item_title, item.title)
setTextViewText(R.id.event_item_description, item.description)
setTextViewText(R.id.event_item_description, if (replaceDescription) item.location else item.description)
setTextViewText(R.id.event_item_start, if (item.isAllDay) allDayString else Formatter.getTimeFromTS(context, item.startTS))
setImageViewBitmap(R.id.event_item_color, context.resources.getColoredIcon(item.color, R.drawable.monthly_event_dot))
@ -110,7 +111,8 @@ class EventListWidgetAdapter(val context: Context, val intent: Intent) : RemoteV
val toTS = DateTime().plusYears(1).seconds()
context.dbHelper.getEventsInBackground(fromTS, toTS) {
val listItems = ArrayList<ListItem>(it.size)
val sorted = it.sortedWith(compareBy({ it.startTS }, { it.endTS }, { it.title }, { it.description }))
val replaceDescription = context.config.replaceDescription
val sorted = it.sortedWith(compareBy({ it.startTS }, { it.endTS }, { it.title }, { if (replaceDescription) it.location else it.description }))
val sublist = sorted.subList(0, Math.min(sorted.size, 100))
var prevCode = ""
sublist.forEach {
@ -121,7 +123,7 @@ class EventListWidgetAdapter(val context: Context, val intent: Intent) : RemoteV
listItems.add(ListSection(day))
prevCode = code
}
listItems.add(ListEvent(it.id, it.startTS, it.endTS, it.title, it.description, it.getIsAllDay(), it.color))
listItems.add(ListEvent(it.id, it.startTS, it.endTS, it.title, it.description, it.getIsAllDay(), it.color, it.location))
}
this@EventListWidgetAdapter.events = listItems
@ -132,6 +134,5 @@ class EventListWidgetAdapter(val context: Context, val intent: Intent) : RemoteV
override fun getCount() = events.size
override fun onDestroy() {
}
override fun onDestroy() {}
}

View file

@ -30,15 +30,17 @@ class EventTypeAdapter(val activity: SimpleActivity, val mItems: List<EventType>
fun toggleItemSelection(itemView: View, select: Boolean, pos: Int = -1) {
itemView.event_item_frame.isSelected = select
if (pos == -1)
if (pos == -1) {
return
}
if (select)
if (select) {
markedItems.add(pos)
else
} else {
markedItems.remove(pos)
}
}
}
init {
textColor = activity.config.textColor

View file

@ -174,7 +174,8 @@ fun Context.notifyEvent(event: Event) {
val startTime = Formatter.getTimeFromTS(this, event.startTS)
val endTime = Formatter.getTimeFromTS(this, event.endTS)
val timeRange = if (event.getIsAllDay()) getString(R.string.all_day) else getFormattedEventTime(startTime, endTime)
val notification = getNotification(this, pendingIntent, event, "$timeRange ${event.description}")
val descriptionOrLocation = if (config.replaceDescription) event.location else event.description
val notification = getNotification(this, pendingIntent, event, "$timeRange $descriptionOrLocation")
val notificationManager = getSystemService(Context.NOTIFICATION_SERVICE) as NotificationManager
notificationManager.notify(event.id, notification)
}

View file

@ -118,8 +118,12 @@ class DayFragment : Fragment(), DBHelper.EventUpdateListener, DeleteEventsListen
}
private fun receivedEvents(events: List<Event>) {
val sorted = ArrayList<Event>(events.sortedWith(compareBy({ it.startTS }, { it.endTS }, { it.title }, { it.description })))
val filtered = context?.getFilteredEvents(sorted) ?: ArrayList<Event>()
val replaceDescription = context.config.replaceDescription
val sorted = ArrayList<Event>(events.sortedWith(compareBy({ it.startTS }, { it.endTS }, { it.title }, {
if (replaceDescription) it.location else it.description
})))
val filtered = context?.getFilteredEvents(sorted) ?: ArrayList()
activity?.runOnUiThread {
updateEvents(filtered)

View file

@ -70,7 +70,8 @@ class EventListFragment : Fragment(), DBHelper.EventUpdateListener, DeleteEvents
prevEventsHash = hash
mEvents = filtered
val listItems = ArrayList<ListItem>(mEvents.size)
val sorted = mEvents.sortedWith(compareBy({ it.startTS }, { it.endTS }, { it.title }, { it.description }))
val replaceDescription = context.config.replaceDescription
val sorted = mEvents.sortedWith(compareBy({ it.startTS }, { it.endTS }, { it.title }, { if (replaceDescription) it.location else it.description }))
val sublist = sorted.subList(0, Math.min(sorted.size, 100))
var prevCode = ""
sublist.forEach {
@ -80,7 +81,7 @@ class EventListFragment : Fragment(), DBHelper.EventUpdateListener, DeleteEvents
listItems.add(ListSection(day))
prevCode = code
}
listItems.add(ListEvent(it.id, it.startTS, it.endTS, it.title, it.description, it.getIsAllDay(), it.color))
listItems.add(ListEvent(it.id, it.startTS, it.endTS, it.title, it.description, it.getIsAllDay(), it.color, it.location))
}
val eventsAdapter = EventListAdapter(activity as SimpleActivity, listItems, this) {

View file

@ -244,7 +244,8 @@ class WeekFragment : Fragment(), WeeklyCalendar {
val minimalHeight = mRes.getDimension(R.dimen.weekly_view_minimal_event_height).toInt()
var hadAllDayEvent = false
val sorted = filtered.sortedWith(compareBy({ it.startTS }, { it.endTS }, { it.title }, { it.description }))
val replaceDescription = context.config.replaceDescription
val sorted = filtered.sortedWith(compareBy({ it.startTS }, { it.endTS }, { it.title }, { if (replaceDescription) it.location else it.description }))
for (event in sorted) {
if (event.getIsAllDay() || Formatter.getDayCodeFromTS(event.startTS) != Formatter.getDayCodeFromTS(event.endTS)) {
hadAllDayEvent = true

View file

@ -90,6 +90,10 @@ class Config(context: Context) : BaseConfig(context) {
get() = prefs.getInt(LAST_USED_CALDAV_CALENDAR, getSyncedCalendarIdsAsList().first().toInt())
set(calendarId) = prefs.edit().putInt(LAST_USED_CALDAV_CALENDAR, calendarId).apply()
var replaceDescription: Boolean
get() = prefs.getBoolean(REPLACE_DESCRIPTION, false)
set(replaceDescription) = prefs.edit().putBoolean(REPLACE_DESCRIPTION, replaceDescription).apply()
fun getSyncedCalendarIdsAsList() = caldavSyncedCalendarIDs.split(",").filter { it.trim().isNotEmpty() } as ArrayList<String>
fun addDisplayEventType(type: String) {

View file

@ -47,6 +47,7 @@ val CALDAV_SYNCED_CALENDAR_IDS = "caldav_synced_calendar_ids"
val LAST_USED_CALDAV_CALENDAR = "last_used_caldav_calendar"
val SNOOZE_DELAY = "snooze_delay"
val DISPLAY_PAST_EVENTS = "display_past_events"
val REPLACE_DESCRIPTION = "replace_description"
val GOOGLE_SYNC = "google_sync" // deprecated
val letterIDs = intArrayOf(R.string.sunday_letter, R.string.monday_letter, R.string.tuesday_letter, R.string.wednesday_letter,

View file

@ -1,4 +1,4 @@
package com.simplemobiletools.calendar.models
class ListEvent(var id: Int = 0, var startTS: Int = 0, var endTS: Int = 0, var title: String = "", var description: String = "",
var isAllDay: Boolean, var color: Int) : ListItem()
var isAllDay: Boolean, var color: Int, var location: String = "") : ListItem()

View file

@ -109,6 +109,26 @@
</RelativeLayout>
<RelativeLayout
android:id="@+id/settings_replace_description_holder"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/medium_margin"
android:background="?attr/selectableItemBackground"
android:padding="@dimen/activity_margin">
<com.simplemobiletools.commons.views.MySwitchCompat
android:id="@+id/settings_replace_description"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@null"
android:clickable="false"
android:paddingLeft="@dimen/medium_margin"
android:paddingStart="@dimen/medium_margin"
android:text="@string/replace_description_with_location"/>
</RelativeLayout>
<RelativeLayout
android:id="@+id/settings_reminder_sound_holder"
android:layout_width="match_parent"

View file

@ -28,7 +28,6 @@
<string name="event_updated">Událost úspěšně změněna</string>
<string name="filter">Filtrovat</string>
<string name="filter_events_by_type">Filtrovat události podle typu</string>
<string name="location">Location</string>
<!-- Event Repetition -->
<string name="repetition">Opakovaná událost</string>
@ -153,6 +152,7 @@
<!-- Event details -->
<string name="title">Název</string>
<string name="location">Location</string>
<string name="description">Popis</string>
<string name="all_day">Celý den</string>
@ -199,6 +199,7 @@
<string name="display_past_events">Zobrazit minulé události</string>
<string name="snooze_delay">Odložit připomenutí pomocí funkce Snooze by</string>
<string name="widgets">Widgety</string>
<string name="replace_description_with_location">Replace Description with Location at list view entries</string>
<!-- CalDAV sync -->
<string name="caldav">CalDAV</string>

View file

@ -28,7 +28,6 @@
<string name="event_updated">Termin erfolgreich aktualisiert</string>
<string name="filter">Sortieren</string>
<string name="filter_events_by_type">Sortiere Termine nach Typ</string>
<string name="location">Location</string>
<!-- Event Repetition -->
<string name="repetition">Wiederholung</string>
@ -146,6 +145,7 @@
<!-- Event details -->
<string name="title">Titel</string>
<string name="location">Location</string>
<string name="description">Beschreibung</string>
<string name="all_day">Ganztags</string>
@ -192,6 +192,7 @@
<string name="display_past_events">Vergangene Termine anzeigen</string>
<string name="snooze_delay">Erinnerung mit Snooze verschieben um</string>
<string name="widgets">Widgets</string>
<string name="replace_description_with_location">Replace Description with Location at list view entries</string>
<!-- CalDAV sync -->
<string name="caldav">CalDAV</string>

View file

@ -28,7 +28,6 @@
<string name="event_updated">El evento se ha actualizado con éxito</string>
<string name="filter">Filtrar</string>
<string name="filter_events_by_type">Filtrar eventos según tipo</string>
<string name="location">Location</string>
<!-- Event Repetition -->
<string name="repetition">Repetición</string>
@ -146,6 +145,7 @@
<!-- Event details -->
<string name="title">Título</string>
<string name="location">Location</string>
<string name="description">Descripción</string>
<string name="all_day">Todo el día</string>
@ -192,6 +192,7 @@
<string name="display_past_events">Display events from the past</string>
<string name="snooze_delay">Postpone reminder with Snooze by</string>
<string name="widgets">Widgets</string>
<string name="replace_description_with_location">Replace Description with Location at list view entries</string>
<!-- CalDAV sync -->
<string name="caldav">CalDAV</string>

View file

@ -28,7 +28,6 @@
<string name="event_updated">Evénement ajouté avec succès</string>
<string name="filter">Filtrer</string>
<string name="filter_events_by_type">Filtrer les evénements par type</string>
<string name="location">Location</string>
<!-- Event Repetition -->
<string name="repetition">Répétition</string>
@ -146,6 +145,7 @@
<!-- Event details -->
<string name="title">Titre</string>
<string name="location">Location</string>
<string name="description">Description</string>
<string name="all_day">Journée</string>
@ -192,6 +192,7 @@
<string name="display_past_events">Afficher les evénements du passé</string>
<string name="snooze_delay">Reporter le rappel avec Snooze de</string>
<string name="widgets">Widgets</string>
<string name="replace_description_with_location">Replace Description with Location at list view entries</string>
<!-- CalDAV sync -->
<string name="caldav">CalDAV</string>

View file

@ -28,7 +28,6 @@
<string name="event_updated">इवेंट सफलतापूर्वक अपडेट किया गया</string>
<string name="filter">Filter</string>
<string name="filter_events_by_type">Filter events by type</string>
<string name="location">Location</string>
<!-- Event Repetition -->
<string name="repetition">दुहराव</string>
@ -146,6 +145,7 @@
<!-- Event details -->
<string name="title">शीर्षक</string>
<string name="location">Location</string>
<string name="description">विवरण</string>
<string name="all_day">All-day</string>
@ -192,6 +192,7 @@
<string name="display_past_events">Display events from the past</string>
<string name="snooze_delay">Postpone reminder with Snooze by</string>
<string name="widgets">Widgets</string>
<string name="replace_description_with_location">Replace Description with Location at list view entries</string>
<!-- CalDAV sync -->
<string name="caldav">CalDAV</string>

View file

@ -28,7 +28,6 @@
<string name="event_updated">Bejegyzés frissítve</string>
<string name="filter">Filter</string>
<string name="filter_events_by_type">Filter events by type</string>
<string name="location">Location</string>
<!-- Event Repetition -->
<string name="repetition">Ismétlés</string>
@ -146,6 +145,7 @@
<!-- Event details -->
<string name="title">Név</string>
<string name="location">Location</string>
<string name="description">Leírás</string>
<string name="all_day">All-day</string>
@ -192,6 +192,7 @@
<string name="display_past_events">Display events from the past</string>
<string name="snooze_delay">Postpone reminder with Snooze by</string>
<string name="widgets">Widgets</string>
<string name="replace_description_with_location">Replace Description with Location at list view entries</string>
<!-- CalDAV sync -->
<string name="caldav">CalDAV</string>

View file

@ -28,7 +28,6 @@
<string name="event_updated">Evento aggiornato correttamente</string>
<string name="filter">Filtro</string>
<string name="filter_events_by_type">Filtra eventi per tipologia</string>
<string name="location">Location</string>
<!-- Event Repetition -->
<string name="repetition">Ripeti</string>
@ -146,6 +145,7 @@
<!-- Event details -->
<string name="title">Titolo</string>
<string name="location">Location</string>
<string name="description">Descrizione</string>
<string name="all_day">All-day</string>
@ -192,6 +192,7 @@
<string name="display_past_events">Display events from the past</string>
<string name="snooze_delay">Postpone reminder with Snooze by</string>
<string name="widgets">Widgets</string>
<string name="replace_description_with_location">Replace Description with Location at list view entries</string>
<!-- CalDAV sync -->
<string name="caldav">CalDAV</string>

View file

@ -28,7 +28,6 @@
<string name="event_updated">האירוע עודכן בהצלחה</string>
<string name="filter">Filter</string>
<string name="filter_events_by_type">Filter events by type</string>
<string name="location">Location</string>
<!-- Event Repetition -->
<string name="repetition">Repetition</string>
@ -146,6 +145,7 @@
<!-- Event details -->
<string name="title">כותרת</string>
<string name="location">Location</string>
<string name="description">תיאור</string>
<string name="all_day">All-day</string>
@ -192,6 +192,7 @@
<string name="display_past_events">Display events from the past</string>
<string name="snooze_delay">Postpone reminder with Snooze by</string>
<string name="widgets">Widgets</string>
<string name="replace_description_with_location">Replace Description with Location at list view entries</string>
<!-- CalDAV sync -->
<string name="caldav">CalDAV</string>

View file

@ -28,7 +28,6 @@
<string name="event_updated">イベントを正常に更新しました</string>
<string name="filter">Filter</string>
<string name="filter_events_by_type">Filter events by type</string>
<string name="location">Location</string>
<!-- Event Repetition -->
<string name="repetition">繰り返し</string>
@ -146,6 +145,7 @@
<!-- Event details -->
<string name="title">タイトル</string>
<string name="location">Location</string>
<string name="description">説明</string>
<string name="all_day">All-day</string>
@ -192,6 +192,7 @@
<string name="display_past_events">Display events from the past</string>
<string name="snooze_delay">Postpone reminder with Snooze by</string>
<string name="widgets">Widgets</string>
<string name="replace_description_with_location">Replace Description with Location at list view entries</string>
<!-- CalDAV sync -->
<string name="caldav">CalDAV</string>

View file

@ -28,7 +28,6 @@
<string name="event_updated">이벤트를 수정했습니다</string>
<string name="filter">필터</string>
<string name="filter_events_by_type">유형별 이벤트</string>
<string name="location">Location</string>
<!-- Event Repetition -->
<string name="repetition">반복</string>
@ -146,6 +145,7 @@
<!-- Event details -->
<string name="title">제목</string>
<string name="location">Location</string>
<string name="description">설명</string>
<string name="all_day">하루 종일</string>
@ -192,6 +192,7 @@
<string name="display_past_events">과거의 이벤트 표시</string>
<string name="snooze_delay">스누즈 알림 시간</string>
<string name="widgets">위젯</string>
<string name="replace_description_with_location">Replace Description with Location at list view entries</string>
<!-- CalDAV sync -->
<string name="caldav">CalDAV</string>

View file

@ -28,7 +28,6 @@
<string name="event_updated">Wydarzenie zostało zaktualizowane</string>
<string name="filter">Filtr</string>
<string name="filter_events_by_type">Filtruj wydarzenia według typu</string>
<string name="location">Location</string>
<!-- Event Repetition -->
<string name="repetition">Powtórzenie</string>
@ -151,6 +150,7 @@
<!-- Event details -->
<string name="title">Tytuł</string>
<string name="location">Location</string>
<string name="description">Opis</string>
<string name="all_day">Całodniowe</string>
@ -197,6 +197,7 @@
<string name="display_past_events">Pokazuj wydarzenia z przeszłości</string>
<string name="snooze_delay">Opóźnij przypomnienie o</string>
<string name="widgets">Widżety</string>
<string name="replace_description_with_location">Replace Description with Location at list view entries</string>
<!-- CalDAV sync -->
<string name="caldav">CalDAV</string>

View file

@ -28,7 +28,6 @@
<string name="event_updated">Evento atualizado com sucesso</string>
<string name="filter">Filtrar</string>
<string name="filter_events_by_type">Filtrar eventos por tipo</string>
<string name="location">Location</string>
<!-- Event Repetition -->
<string name="repetition">Repetição</string>
@ -146,6 +145,7 @@
<!-- Event details -->
<string name="title">Título</string>
<string name="location">Location</string>
<string name="description">Descrição</string>
<string name="all_day">O dia todo</string>
@ -192,6 +192,7 @@
<string name="display_past_events">Display events from the past</string>
<string name="snooze_delay">Postpone reminder with Snooze by</string>
<string name="widgets">Widgets</string>
<string name="replace_description_with_location">Replace Description with Location at list view entries</string>
<!-- CalDAV sync -->
<string name="caldav">CalDAV</string>

View file

@ -28,7 +28,6 @@
<string name="event_updated">Evento atualizado com sucesso</string>
<string name="filter">Filtrar</string>
<string name="filter_events_by_type">Filtrar eventos por tipo</string>
<string name="location">Location</string>
<!-- Event Repetition -->
<string name="repetition">Repetição</string>
@ -146,6 +145,7 @@
<!-- Event details -->
<string name="title">Título</string>
<string name="location">Location</string>
<string name="description">Descrição</string>
<string name="all_day">Todo o dia</string>
@ -192,6 +192,7 @@
<string name="display_past_events">Mostrar eventos passados</string>
<string name="snooze_delay">Adiar lembrete com a opção Snooze</string>
<string name="widgets">Widgets</string>
<string name="replace_description_with_location">Replace Description with Location at list view entries</string>
<!-- CalDAV sync -->
<string name="caldav">CalDAV</string>

View file

@ -28,7 +28,6 @@
<string name="event_updated">Событие успешно обновлено</string>
<string name="filter">Фильтрация</string>
<string name="filter_events_by_type">Фильтровать события по типу</string>
<string name="location">Location</string>
<!-- Event Repetition -->
<string name="repetition">Повторять</string>
@ -160,6 +159,7 @@
<!-- Event details -->
<string name="title">Заголовок</string>
<string name="location">Location</string>
<string name="description">Описание</string>
<string name="all_day">Весь день</string>
@ -206,6 +206,7 @@
<string name="display_past_events">Показывать прошедшие события</string>
<string name="snooze_delay">Postpone reminder with Snooze by</string>
<string name="widgets">Виджеты</string>
<string name="replace_description_with_location">Replace Description with Location at list view entries</string>
<!-- CalDAV sync -->
<string name="caldav">CalDAV</string>

View file

@ -28,7 +28,6 @@
<string name="event_updated">Udalosť bola úspešne upravená</string>
<string name="filter">Filtrovať</string>
<string name="filter_events_by_type">Filtrovať udalosti podľa typu</string>
<string name="location">Miesto</string>
<!-- Event Repetition -->
<string name="repetition">Opakovanie</string>
@ -153,6 +152,7 @@
<!-- Event details -->
<string name="title">Názov</string>
<string name="location">Miesto</string>
<string name="description">Popis</string>
<string name="all_day">Celodenná</string>
@ -199,6 +199,7 @@
<string name="display_past_events">Zobraziť minulé udalosti spred</string>
<string name="snooze_delay">Posunúť pripomienku s Odložiť o</string>
<string name="widgets">Widgety</string>
<string name="replace_description_with_location">Nahradiť Popis udalosti Miestom v listových zobrazeniach</string>
<!-- CalDAV sync -->
<string name="caldav">CalDAV</string>

View file

@ -28,7 +28,6 @@
<string name="event_updated">Händelsen uppdaterad</string>
<string name="filter">Filtrera</string>
<string name="filter_events_by_type">Filtrera händelser efter typ</string>
<string name="location">Location</string>
<!-- Event Repetition -->
<string name="repetition">Upprepning</string>
@ -146,6 +145,7 @@
<!-- Event details -->
<string name="title">Titel</string>
<string name="location">Location</string>
<string name="description">Beskrivning</string>
<string name="all_day">Heldag</string>
@ -192,6 +192,7 @@
<string name="display_past_events">Visa tidigare händelser</string>
<string name="snooze_delay">Skjut upp påminnelse med Snooza</string>
<string name="widgets">Widgetar</string>
<string name="replace_description_with_location">Replace Description with Location at list view entries</string>
<!-- CalDAV sync -->
<string name="caldav">CalDAV</string>

View file

@ -28,7 +28,6 @@
<string name="event_updated">Etkinlik başarıyla güncellendi</string>
<string name="filter">Filtre</string>
<string name="filter_events_by_type">Etkinlikleri türe göre filtreleyin</string>
<string name="location">Location</string>
<!-- Event Repetition -->
<string name="repetition">Tekrarla</string>
@ -146,6 +145,7 @@
<!-- Event details -->
<string name="title">Başlık</string>
<string name="location">Location</string>
<string name="description">ıklama</string>
<string name="all_day">Tüm-gün</string>
@ -192,6 +192,7 @@
<string name="display_past_events">Display events from the past</string>
<string name="snooze_delay">Postpone reminder with Snooze by</string>
<string name="widgets">Widgets</string>
<string name="replace_description_with_location">Replace Description with Location at list view entries</string>
<!-- CalDAV sync -->
<string name="caldav">CalDAV</string>

View file

@ -28,7 +28,6 @@
<string name="event_updated">Event updated successfully</string>
<string name="filter">Filter</string>
<string name="filter_events_by_type">Filter events by type</string>
<string name="location">Location</string>
<!-- Event Repetition -->
<string name="repetition">Repetition</string>
@ -146,6 +145,7 @@
<!-- Event details -->
<string name="title">Title</string>
<string name="location">Location</string>
<string name="description">Description</string>
<string name="all_day">All-day</string>
@ -192,6 +192,7 @@
<string name="display_past_events">Display events from the past</string>
<string name="snooze_delay">Postpone reminder with Snooze by</string>
<string name="widgets">Widgets</string>
<string name="replace_description_with_location">Replace Description with Location at list view entries</string>
<!-- CalDAV sync -->
<string name="caldav">CalDAV</string>