Show a more informative error message

This commit is contained in:
Naveen 2022-08-05 18:09:54 +05:30
parent 558412cb9e
commit 5f627135a4
46 changed files with 97 additions and 17 deletions

View File

@ -10,6 +10,7 @@ import android.content.Context
import android.content.Intent
import android.content.pm.ActivityInfo
import android.content.res.Resources
import android.database.Cursor
import android.graphics.Bitmap
import android.media.AudioAttributes
import android.net.Uri
@ -677,3 +678,29 @@ fun Context.updateTaskCompletion(event: Event, completed: Boolean) {
// mark event as "incomplete" in the main events db
eventsDB.updateTaskCompletion(event.id!!, event.flags.removeBit(FLAG_TASK_COMPLETED))
}
// same as Context.queryCursor but inlined to allow non-local returns
inline fun Context.queryCursorInlined(
uri: Uri,
projection: Array<String>,
selection: String? = null,
selectionArgs: Array<String>? = null,
sortOrder: String? = null,
showErrors: Boolean = false,
callback: (cursor: Cursor) -> Unit
) {
try {
val cursor = contentResolver.query(uri, projection, selection, selectionArgs, sortOrder)
cursor?.use {
if (cursor.moveToFirst()) {
do {
callback(cursor)
} while (cursor.moveToNext())
}
}
} catch (e: Exception) {
if (showErrors) {
showErrorToast(e)
}
}
}

View File

@ -6,6 +6,7 @@ import android.content.ContentValues
import android.content.Context
import android.provider.CalendarContract.*
import android.util.SparseIntArray
import android.widget.Toast
import com.google.gson.Gson
import com.google.gson.reflect.TypeToken
import com.simplemobiletools.calendar.pro.R
@ -150,11 +151,13 @@ class CalDAVHelper(val context: Context) {
private fun fetchCalDAVCalendarEvents(calendarId: Int, eventTypeId: Long, showToasts: Boolean) {
val importIdsMap = HashMap<String, Event>()
val fetchedEventIds = ArrayList<String>()
var errorFetchingLocalEvents = false
val existingEvents = try {
context.eventsDB.getEventsFromCalDAVCalendar("$CALDAV-$calendarId")
} catch (e: Exception) {
context.showErrorToast(context.getString(R.string.unknown_error_occurred))
return
errorFetchingLocalEvents = true
ArrayList()
}
existingEvents.forEach {
@ -182,14 +185,20 @@ class CalDAVHelper(val context: Context) {
)
val selection = "${Events.CALENDAR_ID} = $calendarId"
context.queryCursor(uri, projection, selection, showErrors = showToasts) { cursor ->
context.queryCursorInlined(uri, projection, selection, showErrors = showToasts) { cursor ->
val deleted = cursor.getIntValue(Events.DELETED)
if (deleted == 1) {
return@queryCursor
return@queryCursorInlined
}
val id = cursor.getLongValue(Events._ID)
val title = cursor.getStringValue(Events.TITLE) ?: ""
if (errorFetchingLocalEvents) {
context.toast(context.getString(R.string.fetching_event_failed, "\"$title\""), Toast.LENGTH_LONG)
return
}
val description = cursor.getStringValue(Events.DESCRIPTION) ?: ""
val startTS = cursor.getLongValue(Events.DTSTART) / 1000L
var endTS = cursor.getLongValue(Events.DTEND) / 1000L
@ -251,7 +260,7 @@ class CalDAVHelper(val context: Context) {
event.parentId = parentEvent.id!!
event.addRepetitionException(originalDayCode)
eventsHelper.insertEvent(event, addToCalDAV = false, showToasts = false)
return@queryCursor
return@queryCursorInlined
}
}

View File

@ -228,6 +228,7 @@
<string name="no_synchronized_calendars">No synchronizable calendars have been found</string>
<string name="status_free">Free</string>
<string name="status_busy">Busy</string>
<string name="fetching_event_failed">Fetching event %s failed</string>
<!-- alternative versions for some languages, use the same translations if you are not sure what this means -->
<!-- used in repetition, like "Every last Sunday" -->
<string name="monday_alt">الإثنين</string>

View File

@ -228,6 +228,7 @@
<string name="no_synchronized_calendars">No synchronizable calendars have been found</string>
<string name="status_free">Free</string>
<string name="status_busy">Busy</string>
<string name="fetching_event_failed">Fetching event %s failed</string>
<!-- alternative versions for some languages, use the same translations if you are not sure what this means -->
<!-- used in repetition, like "Every last Sunday" -->
<string name="monday_alt">Bazar ertəsi</string>

View File

@ -228,6 +228,7 @@
<string name="no_synchronized_calendars">No synchronizable calendars have been found</string>
<string name="status_free">Free</string>
<string name="status_busy">Заняты</string>
<string name="fetching_event_failed">Fetching event %s failed</string>
<!-- alternative versions for some languages, use the same translations if you are not sure what this means -->
<!-- used in repetition, like "Every last Sunday" -->
<string name="monday_alt">панядзелак</string>

View File

@ -228,6 +228,7 @@
<string name="no_synchronized_calendars">Не са намерени календари, които да могат да се синхронизират</string>
<string name="status_free">Свободно</string>
<string name="status_busy">Заето</string>
<string name="fetching_event_failed">Fetching event %s failed</string>
<!-- alternative versions for some languages, use the same translations if you are not sure what this means -->
<!-- used in repetition, like "Every last Sunday" -->
<string name="monday_alt">Понеделник</string>
@ -280,4 +281,4 @@
Haven't found some strings? There's more at
https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res
-->
</resources>
</resources>

View File

@ -227,6 +227,7 @@
<string name="no_synchronized_calendars">No synchronizable calendars have been found</string>
<string name="status_free">Free</string>
<string name="status_busy">Busy</string>
<string name="fetching_event_failed">Fetching event %s failed</string>
<!-- alternative versions for some languages, use the same translations if you are not sure what this means -->
<!-- used in repetition, like "Every last Sunday" -->
<string name="monday_alt">সোমবার</string>

View File

@ -228,6 +228,7 @@
<string name="no_synchronized_calendars">No synchronizable calendars have been found</string>
<string name="status_free">Free</string>
<string name="status_busy">Busy</string>
<string name="fetching_event_failed">Fetching event %s failed</string>
<!-- alternative versions for some languages, use the same translations if you are not sure what this means -->
<!-- used in repetition, like "Every last Sunday" -->
<string name="monday_alt">Lun</string>

View File

@ -228,6 +228,7 @@
<string name="no_synchronized_calendars">No s\'ha trobat cap calendari que es pugui sincronitzar</string>
<string name="status_free">Lliure</string>
<string name="status_busy">Ocupat</string>
<string name="fetching_event_failed">Fetching event %s failed</string>
<!-- alternative versions for some languages, use the same translations if you are not sure what this means -->
<!-- used in repetition, like "Every last Sunday" -->
<string name="monday_alt">dilluns</string>
@ -280,4 +281,4 @@
Haven't found some strings? There's more at
https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res
-->
</resources>
</resources>

View File

@ -228,6 +228,7 @@
<string name="no_synchronized_calendars">Nebyly nalezeny žádné synchronizovatelné kalendáře</string>
<string name="status_free">K dispozici</string>
<string name="status_busy">Zaneprázdněný</string>
<string name="fetching_event_failed">Fetching event %s failed</string>
<!-- alternative versions for some languages, use the same translations if you are not sure what this means -->
<!-- used in repetition, like "Every last Sunday" -->
<string name="monday_alt">pondělí</string>
@ -283,4 +284,4 @@
Haven't found some strings? There's more at
https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res
-->
</resources>
</resources>

View File

@ -228,6 +228,7 @@
<string name="no_synchronized_calendars">Der er ikke fundet nogen kalendere der kan synkroniseres</string>
<string name="status_free">Ledig</string>
<string name="status_busy">Optaget</string>
<string name="fetching_event_failed">Fetching event %s failed</string>
<!-- alternative versions for some languages, use the same translations if you are not sure what this means -->
<!-- used in repetition, like "Every last Sunday" -->
<string name="monday_alt">Mandag</string>

View File

@ -228,6 +228,7 @@
<string name="no_synchronized_calendars">Es wurden keine synchronisierbaren Kalender gefunden</string>
<string name="status_free">Verfügbar</string>
<string name="status_busy">Beschäftigt</string>
<string name="fetching_event_failed">Fetching event %s failed</string>
<!-- alternative versions for some languages, use the same translations if you are not sure what this means -->
<!-- used in repetition, like "Every last Sunday" -->
<string name="monday_alt">Montag</string>
@ -280,4 +281,4 @@
Haven't found some strings? There's more at
https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res
-->
</resources>
</resources>

View File

@ -228,6 +228,7 @@
<string name="no_synchronized_calendars">Δεν μπόρεσαν να βρεθούν συγχρονισμένα Ημερολόγια</string>
<string name="status_free">Ελεύθερα</string>
<string name="status_busy">Κατειλημμένα</string>
<string name="fetching_event_failed">Fetching event %s failed</string>
<!-- alternative versions for some languages, use the same translations if you are not sure what this means -->
<!-- used in repetition, like "Every last Sunday" -->
<string name="monday_alt">Δευτέρα</string>

View File

@ -228,6 +228,7 @@
<string name="no_synchronized_calendars">No synchronizable calendars have been found</string>
<string name="status_free">Free</string>
<string name="status_busy">Busy</string>
<string name="fetching_event_failed">Fetching event %s failed</string>
<!-- alternative versions for some languages, use the same translations if you are not sure what this means -->
<!-- used in repetition, like "Every last Sunday" -->
<string name="monday_alt">lundo</string>

View File

@ -228,6 +228,7 @@
<string name="no_synchronized_calendars">No se han encontrado calendarios para sincronizar</string>
<string name="status_free">Libre</string>
<string name="status_busy">Ocupado</string>
<string name="fetching_event_failed">Fetching event %s failed</string>
<!-- alternative versions for some languages, use the same translations if you are not sure what this means -->
<!-- used in repetition, like "Every last Sunday" -->
<string name="monday_alt">lunes</string>

View File

@ -228,6 +228,7 @@
<string name="no_synchronized_calendars">No synchronizable calendars have been found</string>
<string name="status_free">Free</string>
<string name="status_busy">Busy</string>
<string name="fetching_event_failed">Fetching event %s failed</string>
<!-- alternative versions for some languages, use the same translations if you are not sure what this means -->
<!-- used in repetition, like "Every last Sunday" -->
<string name="monday_alt">Monday</string>

View File

@ -228,6 +228,7 @@
<string name="no_synchronized_calendars">Sinkronizatu daitekeen egutegirik ez da aurkitu</string>
<string name="status_free">Free</string>
<string name="status_busy">Busy</string>
<string name="fetching_event_failed">Fetching event %s failed</string>
<!-- alternative versions for some languages, use the same translations if you are not sure what this means -->
<!-- used in repetition, like "Every last Sunday" -->
<string name="monday_alt">astelehenean</string>

View File

@ -228,6 +228,7 @@
<string name="no_synchronized_calendars">Synkronoitavia kalentereita ei löytynyt</string>
<string name="status_free">Vapaa</string>
<string name="status_busy">Varattu</string>
<string name="fetching_event_failed">Fetching event %s failed</string>
<!-- alternative versions for some languages, use the same translations if you are not sure what this means -->
<!-- used in repetition, like "Every last Sunday" -->
<string name="monday_alt">Maanantaisin</string>

View File

@ -228,6 +228,7 @@
<string name="no_synchronized_calendars">Aucun agenda synchronisable n\'a été trouvé</string>
<string name="status_free">Disponible</string>
<string name="status_busy">Occupé</string>
<string name="fetching_event_failed">Fetching event %s failed</string>
<!-- alternative versions for some languages, use the same translations if you are not sure what this means -->
<!-- used in repetition, like "Every last Sunday" -->
<string name="monday_alt">Lundi</string>
@ -280,4 +281,4 @@
Haven't found some strings? There's more at
https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res
-->
</resources>
</resources>

View File

@ -228,6 +228,7 @@
<string name="no_synchronized_calendars">Non se atoparon calendarios sincronizados</string>
<string name="status_free">Free</string>
<string name="status_busy">Busy</string>
<string name="fetching_event_failed">Fetching event %s failed</string>
<!-- alternative versions for some languages, use the same translations if you are not sure what this means -->
<!-- used in repetition, like "Every last Sunday" -->
<string name="monday_alt">luns</string>

View File

@ -228,6 +228,7 @@
<string name="no_synchronized_calendars">No synchronizable calendars have been found</string>
<string name="status_free">Free</string>
<string name="status_busy">Busy</string>
<string name="fetching_event_failed">Fetching event %s failed</string>
<!-- alternative versions for some languages, use the same translations if you are not sure what this means -->
<!-- used in repetition, like "Every last Sunday" -->
<string name="monday_alt">Monday</string>

View File

@ -228,6 +228,7 @@
<string name="no_synchronized_calendars">Nijedan sinkronizirajući kalendar nije pronađen</string>
<string name="status_free">Slobodan/Slobodna</string>
<string name="status_busy">Zauzet/Zauzeta</string>
<string name="fetching_event_failed">Fetching event %s failed</string>
<!-- alternative versions for some languages, use the same translations if you are not sure what this means -->
<!-- used in repetition, like "Every last Sunday" -->
<string name="monday_alt">Ponedjeljak</string>

View File

@ -228,6 +228,7 @@
<string name="no_synchronized_calendars">Nem találhatók szinkronizálható naptárak</string>
<string name="status_free">Szabad</string>
<string name="status_busy">Elfoglalt</string>
<string name="fetching_event_failed">Fetching event %s failed</string>
<!-- alternative versions for some languages, use the same translations if you are not sure what this means -->
<!-- used in repetition, like "Every last Sunday" -->
<string name="monday_alt">hétfőn</string>

View File

@ -228,6 +228,7 @@
<string name="no_synchronized_calendars">No synchronizable calendars have been found</string>
<string name="status_free">Free</string>
<string name="status_busy">Busy</string>
<string name="fetching_event_failed">Fetching event %s failed</string>
<!-- alternative versions for some languages, use the same translations if you are not sure what this means -->
<!-- used in repetition, like "Every last Sunday" -->
<string name="monday_alt">Senin</string>

View File

@ -228,6 +228,7 @@
<string name="no_synchronized_calendars">Non é stato trovato nessun calendario sincronizzabile</string>
<string name="status_free">Disponibile</string>
<string name="status_busy">Occupato</string>
<string name="fetching_event_failed">Fetching event %s failed</string>
<!-- alternative versions for some languages, use the same translations if you are not sure what this means -->
<!-- used in repetition, like "Every last Sunday" -->
<string name="monday_alt">Lunedì</string>
@ -280,4 +281,4 @@
Haven't found some strings? There's more at
https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res
-->
</resources>
</resources>

View File

@ -228,6 +228,7 @@
<string name="no_synchronized_calendars">לא נמצאו לוחות שנה הניתנים לסנכרון</string>
<string name="status_free">Free</string>
<string name="status_busy">עסוק</string>
<string name="fetching_event_failed">Fetching event %s failed</string>
<!-- alternative versions for some languages, use the same translations if you are not sure what this means -->
<!-- used in repetition, like "Every last Sunday" -->
<string name="monday_alt">שני</string>

View File

@ -229,6 +229,7 @@
<string name="no_synchronized_calendars">No synchronizable calendars have been found</string>
<string name="status_free">Free</string>
<string name="status_busy">Busy</string>
<string name="fetching_event_failed">Fetching event %s failed</string>
<!-- alternative versions for some languages, use the same translations if you are not sure what this means -->
<!-- used in repetition, like "Every last Sunday" -->
<string name="monday_alt">月曜日</string>

View File

@ -228,6 +228,7 @@
<string name="no_synchronized_calendars">No synchronizable calendars have been found</string>
<string name="status_free">Free</string>
<string name="status_busy">Busy</string>
<string name="fetching_event_failed">Fetching event %s failed</string>
<!-- alternative versions for some languages, use the same translations if you are not sure what this means -->
<!-- used in repetition, like "Every last Sunday" -->
<string name="monday_alt">월요일</string>

View File

@ -228,6 +228,7 @@
<string name="no_synchronized_calendars">Nerasta jokių sinchronizuojamų kalendorių</string>
<string name="status_free">Laisvas</string>
<string name="status_busy">Užimtas</string>
<string name="fetching_event_failed">Fetching event %s failed</string>
<!-- alternative versions for some languages, use the same translations if you are not sure what this means -->
<!-- used in repetition, like "Every last Sunday" -->
<string name="monday_alt">Pirmadienį</string>

View File

@ -228,6 +228,7 @@
<string name="no_synchronized_calendars">No synchronizable calendars have been found</string>
<string name="status_free">Free</string>
<string name="status_busy">Busy</string>
<string name="fetching_event_failed">Fetching event %s failed</string>
<!-- alternative versions for some languages, use the same translations if you are not sure what this means -->
<!-- used in repetition, like "Every last Sunday" -->
<string name="monday_alt">pirmdiena</string>

View File

@ -228,6 +228,7 @@
<string name="no_synchronized_calendars">No synchronizable calendars have been found</string>
<string name="status_free">Free</string>
<string name="status_busy">Busy</string>
<string name="fetching_event_failed">Fetching event %s failed</string>
<!-- alternative versions for some languages, use the same translations if you are not sure what this means -->
<!-- used in repetition, like "Every last Sunday" -->
<string name="monday_alt">Mandag</string>

View File

@ -224,6 +224,7 @@
<string name="no_synchronized_calendars">Er zijn geen gesynchroniseerde agenda\'s gevonden.</string>
<string name="status_free">Vrij</string>
<string name="status_busy">Bezet</string>
<string name="fetching_event_failed">Fetching event %s failed</string>
<!-- alternative versions for some languages, use the same translations if you are not sure what this means -->
<!-- used in repetition, like "Every last Sunday" -->
<string name="monday_alt">maandag</string>
@ -276,4 +277,4 @@
Haven't found some strings? There's more at
https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res
-->
</resources>
</resources>

View File

@ -228,6 +228,7 @@
<string name="no_synchronized_calendars">Nie znaleziono kalendarzy, które można zsynchronizować</string>
<string name="status_free">Wolny</string>
<string name="status_busy">Zajęty</string>
<string name="fetching_event_failed">Fetching event %s failed</string>
<!-- alternative versions for some languages, use the same translations if you are not sure what this means -->
<!-- used in repetition, like "Every last Sunday" -->
<string name="monday_alt">poniedziałek</string>
@ -286,4 +287,4 @@
Haven't found some strings? There's more at
https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res
-->
</resources>
</resources>

View File

@ -228,6 +228,7 @@
<string name="no_synchronized_calendars">Nenhum calendário encontrado para a sincronização</string>
<string name="status_free">Livre</string>
<string name="status_busy">Ocupado</string>
<string name="fetching_event_failed">Fetching event %s failed</string>
<!-- alternative versions for some languages, use the same translations if you are not sure what this means -->
<!-- used in repetition, like "Every last Sunday" -->
<string name="monday_alt">Segunda</string>

View File

@ -228,6 +228,7 @@
<string name="no_synchronized_calendars">Não existem calendários passíveis de sincronização</string>
<string name="status_free">Livre</string>
<string name="status_busy">Ocupado</string>
<string name="fetching_event_failed">Fetching event %s failed</string>
<!-- alternative versions for some languages, use the same translations if you are not sure what this means -->
<!-- used in repetition, like "Every last Sunday" -->
<string name="monday_alt">segunda</string>

View File

@ -228,6 +228,7 @@
<string name="no_synchronized_calendars">Nu au fost găsite calendare care pot fi sincronizate</string>
<string name="status_free">Liber</string>
<string name="status_busy">Ocupat</string>
<string name="fetching_event_failed">Fetching event %s failed</string>
<!-- alternative versions for some languages, use the same translations if you are not sure what this means -->
<!-- used in repetition, like "Every last Sunday" -->
<string name="monday_alt">Luni</string>

View File

@ -228,6 +228,7 @@
<string name="no_synchronized_calendars">Синхронизируемые календари не найдены</string>
<string name="status_free">Свободен</string>
<string name="status_busy">Занят</string>
<string name="fetching_event_failed">Fetching event %s failed</string>
<!-- alternative versions for some languages, use the same translations if you are not sure what this means -->
<!-- used in repetition, like "Every last Sunday" -->
<string name="monday_alt">понедельник</string>
@ -286,4 +287,4 @@
Haven't found some strings? There's more at
https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res
-->
</resources>
</resources>

View File

@ -228,6 +228,7 @@
<string name="no_synchronized_calendars">Nenašli sa žiadne synchronizovateľné kalendáre</string>
<string name="status_free">Dostupný</string>
<string name="status_busy">Zaneprázdnený</string>
<string name="fetching_event_failed">Fetching event %s failed</string>
<!-- alternative versions for some languages, use the same translations if you are not sure what this means -->
<!-- used in repetition, like "Every last Sunday" -->
<string name="monday_alt">pondelok</string>

View File

@ -228,6 +228,7 @@
<string name="no_synchronized_calendars">Inga synkroniserbara kalendrar har hittats</string>
<string name="status_free">Ledig</string>
<string name="status_busy">Upptagen</string>
<string name="fetching_event_failed">Fetching event %s failed</string>
<!-- alternative versions for some languages, use the same translations if you are not sure what this means -->
<!-- used in repetition, like "Every last Sunday" -->
<string name="monday_alt">Måndag</string>

View File

@ -228,6 +228,7 @@
<string name="no_synchronized_calendars">No synchronizable calendars have been found</string>
<string name="status_free">Free</string>
<string name="status_busy">Busy</string>
<string name="fetching_event_failed">Fetching event %s failed</string>
<!-- alternative versions for some languages, use the same translations if you are not sure what this means -->
<!-- used in repetition, like "Every last Sunday" -->
<string name="monday_alt">Monday</string>

View File

@ -228,6 +228,7 @@
<string name="no_synchronized_calendars">Eşzamanlanabilir takvim bulunamadı</string>
<string name="status_free">Serbest</string>
<string name="status_busy">Meşgul</string>
<string name="fetching_event_failed">Fetching event %s failed</string>
<!-- alternative versions for some languages, use the same translations if you are not sure what this means -->
<!-- used in repetition, like "Every last Sunday" -->
<string name="monday_alt">Pazartesi</string>
@ -280,4 +281,4 @@
Haven't found some strings? There's more at
https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res
-->
</resources>
</resources>

View File

@ -228,6 +228,7 @@
<string name="no_synchronized_calendars">Не знайдено календарів для синхронізації</string>
<string name="status_free">Free</string>
<string name="status_busy">Зайнятий</string>
<string name="fetching_event_failed">Fetching event %s failed</string>
<!-- alternative versions for some languages, use the same translations if you are not sure what this means -->
<!-- used in repetition, like "Every last Sunday" -->
<string name="monday_alt">понеділок</string>
@ -286,4 +287,4 @@
Haven't found some strings? There's more at
https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res
-->
</resources>
</resources>

View File

@ -228,6 +228,7 @@
<string name="no_synchronized_calendars">未发现可同步的日历</string>
<string name="status_free">空闲</string>
<string name="status_busy">繁忙</string>
<string name="fetching_event_failed">Fetching event %s failed</string>
<!-- alternative versions for some languages, use the same translations if you are not sure what this means -->
<!-- used in repetition, like "Every last Sunday" -->
<string name="monday_alt">星期一</string>
@ -277,4 +278,4 @@
Haven't found some strings? There's more at
https://github.com/SimpleMobileTools/Simple-Commons/tree/master/commons/src/main/res
-->
</resources>
</resources>

View File

@ -228,6 +228,7 @@
<string name="no_synchronized_calendars">No synchronizable calendars have been found</string>
<string name="status_free">空閒</string>
<string name="status_busy">繁忙</string>
<string name="fetching_event_failed">Fetching event %s failed</string>
<!-- alternative versions for some languages, use the same translations if you are not sure what this means -->
<!-- used in repetition, like "Every last Sunday" -->
<string name="monday_alt">星期一</string>

View File

@ -228,6 +228,7 @@
<string name="no_synchronized_calendars">No synchronizable calendars have been found</string>
<string name="status_free">空閒</string>
<string name="status_busy">繁忙</string>
<string name="fetching_event_failed">Fetching event %s failed</string>
<!-- alternative versions for some languages, use the same translations if you are not sure what this means -->
<!-- used in repetition, like "Every last Sunday" -->
<string name="monday_alt">星期一</string>

View File

@ -239,6 +239,7 @@
<string name="no_synchronized_calendars">No synchronizable calendars have been found</string>
<string name="status_free">Free</string>
<string name="status_busy">Busy</string>
<string name="fetching_event_failed">Fetching event %s failed</string>
<!-- alternative versions for some languages, use the same translations if you are not sure what this means -->
<!-- used in repetition, like "Every last Sunday" -->