Skip to content

Commit

Permalink
Translate downloads to english
Browse files Browse the repository at this point in the history
  • Loading branch information
StringManolo committed Jul 16, 2024
1 parent 224c0d9 commit 3e6b4b8
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 3 deletions.
Binary file not shown.
Binary file modified Panther/app/build/dexedClasses/classes.dex
Binary file not shown.
Binary file modified Panther/app/build/output/app-debug.apk
Binary file not shown.
Binary file modified Panther/app/build/output/app-unsigned-debug.apk
Binary file not shown.
Binary file modified Panther/app/build/resources.ap_
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ public void onDownloadStart(String url, String userAgent, String contentDisposit
DownloadManager.Request request = new DownloadManager.Request(Uri.parse(url));
request.setMimeType(mimetype);
request.addRequestHeader("User-Agent", userAgent);
request.setDescription("Descargando archivo");
request.setDescription("Downloading File ...");
request.setTitle(fileName);

File downloadsDirectory = new File(Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS), "Panther_Downloads");
Expand All @@ -386,9 +386,9 @@ public void onDownloadStart(String url, String userAgent, String contentDisposit
DownloadManager downloadManager = (DownloadManager) getSystemService(Context.DOWNLOAD_SERVICE);
if (downloadManager != null) {
downloadManager.enqueue(request);
Toast.makeText(getApplicationContext(), "Descargando en Download/Panther_Downloads/", Toast.LENGTH_SHORT).show();
Toast.makeText(getApplicationContext(), "Downloading: Download/Panther_Downloads/", Toast.LENGTH_SHORT).show();
} else {
Toast.makeText(getApplicationContext(), "DownloadManager no está disponible", Toast.LENGTH_SHORT).show();
Toast.makeText(getApplicationContext(), "DownloadManager not available", Toast.LENGTH_SHORT).show();
}
}
}
Expand Down

0 comments on commit 3e6b4b8

Please sign in to comment.