Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiasKaminsky committed Jan 10, 2024
2 parents 22087dc + a301062 commit e86bac1
Show file tree
Hide file tree
Showing 9 changed files with 32 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
with:
swap-size-gb: 10
- name: Initialize CodeQL
uses: github/codeql-action/init@012739e5082ff0c22ca6d6ab32e07c36df03c4a4 # v3.22.12
uses: github/codeql-action/init@e5f05b81d5b6ff8cfa111c80c22c5fd02a384118 # v3.23.0
with:
languages: ${{ matrix.language }}
- name: Set up JDK 17
Expand All @@ -46,4 +46,4 @@ jobs:
echo "org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError" > "$HOME/.gradle/gradle.properties"
./gradlew assembleDebug
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@012739e5082ff0c22ca6d6ab32e07c36df03c4a4 # v3.22.12
uses: github/codeql-action/analyze@e5f05b81d5b6ff8cfa111c80c22c5fd02a384118 # v3.23.0
2 changes: 1 addition & 1 deletion .github/workflows/scorecard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ jobs:

# Upload the results to GitHub's code scanning dashboard.
- name: "Upload to code-scanning"
uses: github/codeql-action/upload-sarif@012739e5082ff0c22ca6d6ab32e07c36df03c4a4 # v3.22.12
uses: github/codeql-action/upload-sarif@e5f05b81d5b6ff8cfa111c80c22c5fd02a384118 # v3.23.0
with:
sarif_file: results.sarif
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,7 @@ class RichDocumentsEditorWebView : EditorWebView() {

webView.addJavascriptInterface(RichDocumentsMobileInterface(), "RichDocumentsMobileInterface")

intent.getStringExtra(EXTRA_URL)?.let {
loadUrl(it)
}
loadUrl(intent.getStringExtra(EXTRA_URL))

registerActivityResult()
}
Expand Down Expand Up @@ -150,7 +148,7 @@ class RichDocumentsEditorWebView : EditorWebView() {
PrintAsyncTask(targetFile, url.toString(), WeakReference(this)).execute()
}

public override fun loadUrl(url: String) {
public override fun loadUrl(url: String?) {
if (TextUtils.isEmpty(url)) {
RichDocumentsLoadUrlTask(this, user.get(), file).execute()
} else {
Expand Down
4 changes: 4 additions & 0 deletions app/src/main/res/values-ar/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,8 @@
<string name="error_starting_direct_camera_upload">خطأ في تشغيل الكاميرا</string>
<string name="error_starting_doc_scan">خطأ في بدء مسح المستند</string>
<string name="etm_accounts">الحسابات</string>
<string name="etm_background_execution_count">أوقات التشغيل خلال 48 ساعة</string>
<string name="etm_background_job_created">أُنشِئَ</string>
<string name="etm_background_job_name">إسم المهمة</string>
<string name="etm_background_job_progress">التقدم</string>
<string name="etm_background_job_started">تم البدء</string>
Expand Down Expand Up @@ -408,6 +410,7 @@
<string name="foreign_files_success">تم نقل كافة الملفات</string>
<string name="forward">إعادة توجيه </string>
<string name="fourHours">4 ساعات</string>
<string name="grid_file_features_live_photo_content_description">تشير الأيقونه إلى توافر صور حيَّة</string>
<string name="hidden_file_name_warning">الاسم سيقود إلى ملف مخفي</string>
<string name="hint_name">الاسم</string>
<string name="hint_note">ملاحظة</string>
Expand Down Expand Up @@ -893,6 +896,7 @@
<string name="uploader_file_not_found_message">تعذّر العثور على الملف. هل أنت متأكد من وجود هذا الملف؛ أم أنه هنالك تعارضاً لم يُحل بعدُ؟</string>
<string name="uploader_file_not_found_on_server_message">لم نتمكن من إيجاد الملف على الخادوم. يمكن أن يكون قد تمّ حذفه من قِبل مُستخدِمٍ آخر</string>
<string name="uploader_info_dirname">اسم المجلد</string>
<string name="uploader_local_files_uploaded">إعادة عملية الرفع غير الناجحة للملفات المحلية</string>
<string name="uploader_top_message">اختر مجلد للرفع</string>
<string name="uploader_upload_failed_content_single">فشل الرفع %1$s</string>
<string name="uploader_upload_failed_credentials_error">فشل الرفع ، قم بتسجيل الدخول مرة أخرى</string>
Expand Down
4 changes: 4 additions & 0 deletions app/src/main/res/values-de/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,8 @@
<string name="error_starting_direct_camera_upload">Fehler beim Starten der Kamera</string>
<string name="error_starting_doc_scan">Start des Dokumentenscans fehlgeschlagen</string>
<string name="etm_accounts">Konten</string>
<string name="etm_background_execution_count">Zeit gelaufen in 48 Stunden</string>
<string name="etm_background_job_created">Erzeugt</string>
<string name="etm_background_job_name">Aufgabenname</string>
<string name="etm_background_job_progress">Fortschritt</string>
<string name="etm_background_job_started">Gestartet</string>
Expand Down Expand Up @@ -408,6 +410,7 @@
<string name="foreign_files_success">Alle Dateien wurden verschoben</string>
<string name="forward">Weiterleiten</string>
<string name="fourHours">4 Stunden</string>
<string name="grid_file_features_live_photo_content_description">Dieses Symbol zeigt die Verfügbarkeit von Live-Fotos an</string>
<string name="hidden_file_name_warning">Dateiname führt dazu, das die Datei versteckt sein wird.</string>
<string name="hint_name">Name</string>
<string name="hint_note">Notiz</string>
Expand Down Expand Up @@ -886,6 +889,7 @@
<string name="uploader_file_not_found_message">Datei nicht gefunden. Sind Sie sicher, dass diese Datei existiert oder wurde ein früherer Konflikt nicht gelöst?</string>
<string name="uploader_file_not_found_on_server_message">Wir konnten die Datei auf dem Server nicht finden. Ein anderer Benutzer hat möglicherweise die Datei gelöscht.</string>
<string name="uploader_info_dirname">Ordnername</string>
<string name="uploader_local_files_uploaded">Fehlgeschlagene lokale Dateien erneut hochladen</string>
<string name="uploader_top_message">Hochladeordner auswählen</string>
<string name="uploader_upload_failed_content_single">Konnte %1$s nicht hochladen</string>
<string name="uploader_upload_failed_credentials_error">Hochladen fehlgeschlagen, bitte erneut anmelden</string>
Expand Down
15 changes: 13 additions & 2 deletions app/src/main/res/values-es/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,7 @@
<string name="error_starting_direct_camera_upload">Error al iniciar la cámara</string>
<string name="error_starting_doc_scan">Error al iniciar el escaneo del documento</string>
<string name="etm_accounts">Cuentas</string>
<string name="etm_background_execution_count">Veces ejecutado en 48h</string>
<string name="etm_background_job_created">Creado</string>
<string name="etm_background_job_name">Nombre del trabajo</string>
<string name="etm_background_job_progress">Progreso</string>
Expand Down Expand Up @@ -339,6 +340,7 @@
<string name="file_list_empty_shared_headline">Aún no hay nada compartido</string>
<string name="file_list_empty_unified_search_no_results">No se han encontrado resultados para su consulta</string>
<string name="file_list_folder">carpeta</string>
<string name="file_list_live">EN VIVO</string>
<string name="file_list_loading">Cargando…</string>
<string name="file_list_no_app_for_file_type">No hay una app configurada para manejar este tipo de archivos.</string>
<string name="file_list_seconds_ago">hace segundos</string>
Expand Down Expand Up @@ -408,6 +410,7 @@
<string name="foreign_files_success">Se han movido todos los archivos</string>
<string name="forward">Adelante</string>
<string name="fourHours">4 horas</string>
<string name="grid_file_features_live_photo_content_description">Este ícono indica la disponibilidad de una foto en vivo</string>
<string name="hidden_file_name_warning">Ese nombre producirá un archivo oculto</string>
<string name="hint_name">Nombre</string>
<string name="hint_note">Nota</string>
Expand Down Expand Up @@ -608,7 +611,7 @@
<string name="prefs_lock_using_device_credentials">Credenciales del dispositivo</string>
<string name="prefs_lock_using_passcode">Código de acceso</string>
<string name="prefs_manage_accounts">Gestionar cuentas</string>
<string name="prefs_recommend">Recomendar a amigos</string>
<string name="prefs_recommend">Recomendar a un amigo</string>
<string name="prefs_remove_e2e">Eliminar cifrado localmente</string>
<string name="prefs_setup_e2e">Configurar el cifrado de extremo a extremo</string>
<string name="prefs_show_ecosystem_apps">Mostrar conmutador de la app</string>
Expand All @@ -622,7 +625,7 @@
<string name="prefs_theme_title">Tema</string>
<string name="prefs_value_theme_dark">Oscuro</string>
<string name="prefs_value_theme_light">Claro</string>
<string name="prefs_value_theme_system">Sistema de seguimiento</string>
<string name="prefs_value_theme_system">Seguir el del sistema</string>
<string name="preview_image_description">Previsualización de imagen</string>
<string name="preview_image_error_no_local_file">No hay archivo local para previsualizar</string>
<string name="preview_image_error_unknown_format">No se puede mostrar la imagen</string>
Expand All @@ -643,13 +646,17 @@
<string name="remove_e2e">Puede eliminar el cifrado de extremo a extremo localmente en este cliente</string>
<string name="remove_e2e_message">Puede quitar el cifrado de un extremo a otro localmente en este cliente. Los archivos cifrados permanecerán en el servidor, pero ya no se sincronizarán con esta computadora.</string>
<string name="remove_fail_msg">Ha fallado el borrado</string>
<string name="remove_local_account">Quitar cuenta local</string>
<string name="remove_local_account_details">Quitar cuenta del dispositivo y borrar todos los archivos locales</string>
<string name="remove_notification_failed">Fallo al quitar notificación.</string>
<string name="remove_push_notification">Quitar</string>
<string name="remove_success_msg">Eliminado</string>
<string name="rename_dialog_title">Introduce un nombre nuevo</string>
<string name="rename_local_fail_msg">No se ha podido cambiar el nombre de la copia local, prueba un nombre diferente</string>
<string name="rename_server_fail_msg">No se ha podido dar un nombre nuevo, el nombre ya está tomado</string>
<string name="request_account_deletion">Solicitar la eliminación de la cuenta</string>
<string name="request_account_deletion_button">Solicitar eliminación</string>
<string name="request_account_deletion_details">Solicitar eliminación permanente de la cuenta al proveedor de servicio</string>
<string name="reshare_not_allowed">No se permite volver a compartir</string>
<string name="resharing_is_not_allowed">No se permite compartir de nuevo</string>
<string name="resized_image_not_possible_download">No se dispone de la imagen en otros tamaños. ¿Descargar en tamaño completo?</string>
Expand Down Expand Up @@ -866,6 +873,7 @@
<string name="upload_lock_failed">Fallo al bloquear la carpeta</string>
<string name="upload_old_android">El cifrado solo es posible con &gt;= Android 5.0</string>
<string name="upload_query_move_foreign_files">No hay suficiente espacio para copiar los archivos seleccionados en la carpeta %1$s. En su lugar, ¿le gustaría moverlos?</string>
<string name="upload_quota_exceeded">Se excedió la cuota de almacenamiento</string>
<string name="upload_scan_doc_upload">Escanear un documento desde la cámara</string>
<string name="upload_sync_conflict">Conflicto al sincronizar. Por favor, resuélvelo manualmente</string>
<string name="upload_unknown_error">Error desconocido</string>
Expand All @@ -877,7 +885,10 @@
<string name="uploader_error_message_source_file_not_found">No se encuentra el archivo seleccionado para subir. Por favor, comprueba que el archivo existe.</string>
<string name="uploader_error_title_file_cannot_be_uploaded">El archivo multimedia no puede ser subido</string>
<string name="uploader_error_title_no_file_to_upload">Ningún archivo para subir</string>
<string name="uploader_file_not_found_message">Archivo no encontrado. ¿Está seguro de que este archivo existe o tiene un conflicto previo que no ha sido resuelto?</string>
<string name="uploader_file_not_found_on_server_message">No pudimos ubicar el archivo en el servidor. Otro usuario podría haber eliminado el archivo</string>
<string name="uploader_info_dirname">Nombre de la carpeta</string>
<string name="uploader_local_files_uploaded">Reintentar la subida de archivos locales fallidos</string>
<string name="uploader_top_message">Elegir carpeta de subida</string>
<string name="uploader_upload_failed_content_single">No se ha podido subir %1$s</string>
<string name="uploader_upload_failed_credentials_error">Subida fallida, vuelve a iniciar sesión</string>
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/values-fr/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -886,6 +886,7 @@
<string name="uploader_file_not_found_message">Fichier non trouvé. Êtes-vous sûr que ce fichier existe ou qu\'un conflit précédent n\'a pas été résolu ?</string>
<string name="uploader_file_not_found_on_server_message">Impossible de retrouver le fichier sur le serveur. Un autre utilisateur l\'a peut-être supprimé</string>
<string name="uploader_info_dirname">Nom du dossier</string>
<string name="uploader_local_files_uploaded">Réessayer de téléverser les fichiers locaux ayant échoués</string>
<string name="uploader_top_message">Sélectionnez le dossier de téléversement</string>
<string name="uploader_upload_failed_content_single">Impossible d\'envoyer %1$s</string>
<string name="uploader_upload_failed_credentials_error">Le téléversement a échoué, reconnectez-vous</string>
Expand Down
2 changes: 2 additions & 0 deletions app/src/main/res/values-sv/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,7 @@
<string name="foreign_files_success">Alla filer flyttades</string>
<string name="forward">Vidarebefordra</string>
<string name="fourHours">4 timmar</string>
<string name="grid_file_features_live_photo_content_description">Den här ikonen indikerar tillgängligheten för ett livefoto</string>
<string name="hidden_file_name_warning">Namngivning kommer att resultera i en dold fil</string>
<string name="hint_name">Namn</string>
<string name="hint_note">Anteckning</string>
Expand Down Expand Up @@ -887,6 +888,7 @@
<string name="uploader_file_not_found_message">Filen hittades inte. Är du säker på att denna fil existerar eller har en tidigare konflikt inte blivit löst?</string>
<string name="uploader_file_not_found_on_server_message">Vi kunde inte hitta filen på servern. En annan användare kan ha raderat filen.</string>
<string name="uploader_info_dirname">Mappnamn</string>
<string name="uploader_local_files_uploaded">Försök igen att ladda upp misslyckade lokala filer</string>
<string name="uploader_top_message">Välj mapp för uppladdning</string>
<string name="uploader_upload_failed_content_single">Kunde inte ladda upp %1$s</string>
<string name="uploader_upload_failed_credentials_error">Uppladdningen misslyckades, logga in igen</string>
Expand Down
3 changes: 3 additions & 0 deletions app/src/main/res/values-tr/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,7 @@
<string name="error_starting_direct_camera_upload">Kamera başlatılamadı</string>
<string name="error_starting_doc_scan">Belge taramasına başlanırken sorun çıktı</string>
<string name="etm_accounts">Hesaplar</string>
<string name="etm_background_execution_count">48 saat içindeki çalışmalar</string>
<string name="etm_background_job_created">Oluşturulma</string>
<string name="etm_background_job_name">Görev adı</string>
<string name="etm_background_job_progress">İlerleme</string>
Expand Down Expand Up @@ -409,6 +410,7 @@
<string name="foreign_files_success">Tüm dosyalar taşındı</string>
<string name="forward">İlet</string>
<string name="fourHours">4 saat</string>
<string name="grid_file_features_live_photo_content_description">Bu simge Live photo kullanılabilirliğini gösterir</string>
<string name="hidden_file_name_warning">Bu ad gizli bir dosya oluşturacak</string>
<string name="hint_name">Ad</string>
<string name="hint_note">Not</string>
Expand Down Expand Up @@ -886,6 +888,7 @@
<string name="uploader_file_not_found_message">Dosya bulunamadı. Bu dosyanın var olduğundan ya da daha önceki bir çakışmanın çözüldüğünden emin misiniz?</string>
<string name="uploader_file_not_found_on_server_message">Dosya sunucuda bulunamadı. Başka bir kullanıcı dosyayı silmiş olabilir</string>
<string name="uploader_info_dirname">Klasör adı</string>
<string name="uploader_local_files_uploaded">Tamamlanamamış yerel dosyaları yeniden yükle</string>
<string name="uploader_top_message">Yüklenecek klasörü seçin</string>
<string name="uploader_upload_failed_content_single">%1$s yüklemesi tamamlanamadı</string>
<string name="uploader_upload_failed_credentials_error">Yüklenemedi, yeniden oturum açmalısınız</string>
Expand Down

0 comments on commit e86bac1

Please sign in to comment.