mirror of
https://github.com/nextcloud/android.git
synced 2024-12-19 15:33:00 +03:00
Merge remote-tracking branch 'origin/master' into dev
This commit is contained in:
commit
b27f8b339e
4 changed files with 15 additions and 7 deletions
|
@ -549,6 +549,7 @@ class PreviewMediaActivity :
|
|||
}
|
||||
|
||||
R.id.action_remove_file -> {
|
||||
exoPlayer?.stop()
|
||||
val dialog = RemoveFilesDialogFragment.newInstance(file)
|
||||
dialog.show(supportFragmentManager, ConfirmationDialogFragment.FTAG_CONFIRMATION)
|
||||
}
|
||||
|
@ -749,16 +750,15 @@ class PreviewMediaActivity :
|
|||
override fun onStop() {
|
||||
Log_OC.v(TAG, "onStop")
|
||||
|
||||
val file = file
|
||||
if (MimeTypeUtil.isAudio(file) && mediaPlayerServiceConnection?.isPlaying == false) {
|
||||
stopAudio()
|
||||
} else if (MimeTypeUtil.isVideo(file) && exoPlayer != null && exoPlayer?.isPlaying == true) {
|
||||
savedPlaybackPosition = exoPlayer?.currentPosition ?: 0L
|
||||
exoPlayer?.pause()
|
||||
file?.let {
|
||||
if (MimeTypeUtil.isVideo(it) && exoPlayer != null && exoPlayer?.isPlaying == true) {
|
||||
savedPlaybackPosition = exoPlayer?.currentPosition ?: 0L
|
||||
}
|
||||
}
|
||||
|
||||
exoPlayer?.pause()
|
||||
stopAudio()
|
||||
mediaPlayerServiceConnection?.unbind()
|
||||
|
||||
super.onStop()
|
||||
}
|
||||
|
||||
|
|
|
@ -671,6 +671,7 @@
|
|||
<string name="preview_image_error_no_local_file">No existe un archivo local a previsualizar</string>
|
||||
<string name="preview_image_error_unknown_format">No es posible mostrar la imagen</string>
|
||||
<string name="preview_image_file_is_not_downloaded">El archivo no está descargado</string>
|
||||
<string name="preview_image_file_is_not_exist">El archivo no existe</string>
|
||||
<string name="preview_media_unhandled_http_code_message">El archivo se encuentra bloqueado actualmente por otro usuario o proceso y, por lo tanto, no es posible eliminarlo. Por favor, intente de nuevo más tarde.</string>
|
||||
<string name="preview_sorry">Disculpa</string>
|
||||
<string name="privacy">Privacidad</string>
|
||||
|
|
|
@ -890,6 +890,9 @@
|
|||
<string name="trashbin_file_remove">Eliminar definitivamente</string>
|
||||
<string name="trashbin_loading_failed">Produciuse un fallo ao cargar o cesto do lixo!</string>
|
||||
<string name="trashbin_not_emptied">Non foi posíbel eliminar definitivamente o ficheiro!</string>
|
||||
<string name="unified_search_fragment_calendar_event_not_found">Non se atopou o evento, sempre pode sincronizar para actualizar. Redirixindo á web…</string>
|
||||
<string name="unified_search_fragment_contact_not_found">Non se atopou o contacto, sempre pode sincronizar para actualizar. Redirixindo á web…</string>
|
||||
<string name="unified_search_fragment_permission_needed">Requírense permisos para abrir o resultado da busca, se non, vai ser redirixido á web…</string>
|
||||
<string name="unlock_file">Desbloquear ficheiro</string>
|
||||
<string name="unread_comments">Existen comentarios sen ler</string>
|
||||
<string name="unset_encrypted">Definir como NON cifrado</string>
|
||||
|
|
|
@ -547,6 +547,8 @@
|
|||
<string name="storage_camera">กล้อง</string>
|
||||
<string name="storage_description_default">ค่าเริ่มต้น</string>
|
||||
<string name="storage_downloads">ดาวน์โหลด</string>
|
||||
<string name="sub_folder_rule_day">ปี/เดือน/วัน</string>
|
||||
<string name="sub_folder_rule_month">ปี/เดือน</string>
|
||||
<string name="sub_folder_rule_year">ปี</string>
|
||||
<string name="subject_shared_with_you">\"%1$s\" ได้ถูกแชร์กับคุณ</string>
|
||||
<string name="subject_user_shared_with_you">%1$s ได้แชร์ \"%2$s\" กับคุณ</string>
|
||||
|
@ -559,7 +561,9 @@
|
|||
<string name="sync_folder_failed_content">การซิงค์โฟลเดอร์ %1$s ไม่สามารถเสร็จสิ้นได้</string>
|
||||
<string name="sync_foreign_files_forgotten_ticker">มีไฟล์ต้นทางบางไฟล์ถูกลืม</string>
|
||||
<string name="sync_not_enough_space_dialog_action_choose">เลือกสิ่งที่จะซิงค์</string>
|
||||
<string name="sync_not_enough_space_dialog_action_free_space">เพิ่มพื้นที่ว่าง</string>
|
||||
<string name="sync_not_enough_space_dialog_placeholder">%1$s เป็น %2$s แต่มีแค่ %3$s ที่ใช้งานได้บนอุปกรณ์</string>
|
||||
<string name="sync_not_enough_space_dialog_title">พื้นที่ไม่เพียงพอ</string>
|
||||
<string name="sync_status_button">ปุ่มสถานะการซิงค์</string>
|
||||
<string name="sync_string_files">ไฟล์</string>
|
||||
<string name="synced_folder_settings_button">ปุ่มการตั้งค่า</string>
|
||||
|
|
Loading…
Reference in a new issue