mirror of
https://github.com/SimpleMobileTools/Simple-File-Manager.git
synced 2025-01-29 09:49:24 +01:00
do replace /external/sdcard with "home"
This commit is contained in:
parent
82019c770f
commit
7416c22c32
@ -101,9 +101,10 @@ public class Breadcrumbs extends LinearLayout implements View.OnClickListener {
|
||||
|
||||
public void setInitialBreadcrumb(String fullPath) {
|
||||
final String basePath = Environment.getExternalStorageDirectory().toString();
|
||||
final String tempPath = fullPath.replace(basePath, getContext().getString(R.string.initial_breadcrumb) + "/");
|
||||
removeAllViewsInLayout();
|
||||
final String[] dirs = fullPath.split("/");
|
||||
String currPath = "/";
|
||||
final String[] dirs = tempPath.split("/");
|
||||
String currPath = basePath;
|
||||
for (int i = 0; i < dirs.length; i++) {
|
||||
final String dir = dirs[i];
|
||||
if (i > 0) {
|
||||
|
@ -30,6 +30,7 @@
|
||||
<string name="please_select_destination">Bitte wähle ein Ziel</string>
|
||||
<string name="copy_failed">Konnte die Datei nicht kopieren</string>
|
||||
<string name="copying">Kopiere</string>
|
||||
<string name="initial_breadcrumb">home</string>
|
||||
<string name="ok">OK</string>
|
||||
<string name="cancel">Abbrechen</string>
|
||||
|
||||
|
@ -30,6 +30,7 @@
|
||||
<string name="please_select_destination">Seleziona una destinazione</string>
|
||||
<string name="copy_failed">Impossibile copiare i file</string>
|
||||
<string name="copying">Copia in corso</string>
|
||||
<string name="initial_breadcrumb">home</string>
|
||||
<string name="ok">OK</string>
|
||||
<string name="cancel">Cancel</string>
|
||||
|
||||
|
@ -30,6 +30,7 @@
|
||||
<string name="please_select_destination">宛先を選択してください</string>
|
||||
<string name="copy_failed">ファイルをコピーできませんでした</string>
|
||||
<string name="copying">コピー中</string>
|
||||
<string name="initial_breadcrumb">ホーム</string>
|
||||
<string name="ok">OK</string>
|
||||
<string name="cancel">Cancel</string>
|
||||
|
||||
|
@ -30,6 +30,7 @@
|
||||
<string name="please_select_destination">Please select a destination</string>
|
||||
<string name="copy_failed">Kunde inte kopiera filen</string>
|
||||
<string name="copying">Kopierar</string>
|
||||
<string name="initial_breadcrumb">home</string>
|
||||
<string name="ok">OK</string>
|
||||
<string name="cancel">Cancel</string>
|
||||
|
||||
|
@ -30,6 +30,7 @@
|
||||
<string name="please_select_destination">Please select a destination</string>
|
||||
<string name="copy_failed">Could not copy the files</string>
|
||||
<string name="copying">Copying</string>
|
||||
<string name="initial_breadcrumb">home</string>
|
||||
<string name="ok">OK</string>
|
||||
<string name="cancel">Cancel</string>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user