1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2025-01-07 10:42:07 +00:00

Add folder state "scan-waiting" (fixes #420)

This commit is contained in:
Catfriend1 2019-06-15 11:52:48 +02:00
parent a3af549804
commit 72dc282785
3 changed files with 6 additions and 0 deletions

View file

@ -114,6 +114,10 @@ public class FoldersAdapter extends ArrayAdapter<Folder> {
binding.state.setTextColor(ContextCompat.getColor(mContext, R.color.text_green));
}
break;
case "scan-waiting":
binding.state.setText(mContext.getString(R.string.state_scan_waiting));
binding.state.setTextColor(ContextCompat.getColor(mContext, R.color.text_orange));
break;
case "scanning":
binding.state.setText(mContext.getString(R.string.state_scanning));
binding.state.setTextColor(ContextCompat.getColor(mContext, R.color.text_blue));

View file

@ -865,6 +865,7 @@ Bitte melden Sie auftretende Probleme via GitHub.</string>
<!-- Possible folder states -->
<string name="state_idle">Untätig</string>
<string name="state_scanning">Scannen</string>
<string name="state_scan_waiting">Warte auf Scan</string>
<string name="state_syncing_general">Synchronisiere</string>
<string name="state_syncing">Synchronisiere (%1$d%%)</string>
<string name="state_error">Fehler</string>

View file

@ -886,6 +886,7 @@ Please report any problems you encounter via Github.</string>
<!-- Possible folder states -->
<string name="state_idle">Idle</string>
<string name="state_scanning">Scanning</string>
<string name="state_scan_waiting">Waiting to Scan</string>
<string name="state_syncing_general">Syncing</string>
<string name="state_syncing">Syncing (%1$d%%)</string>
<string name="state_error">Error</string>