mirror of
https://github.com/nextcloud/android.git
synced 2024-11-23 13:45:35 +03:00
Changes from comments in Code Review: Strings and minor things
This commit is contained in:
parent
71d7c52e12
commit
dc2fdb9744
3 changed files with 4 additions and 4 deletions
|
@ -38,7 +38,7 @@
|
|||
android:text="@string/manage_space_clear_data"
|
||||
android:id="@+id/clearDataButton"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_margin="@dimen/standard_half_margin"
|
||||
android:layout_margin="@dimen/standard_margin"
|
||||
android:theme="@style/Button.Primary"
|
||||
style="@style/Button.Primary"
|
||||
android:contentDescription="@string/manage_space_clear_data"/>
|
||||
|
|
|
@ -406,7 +406,7 @@
|
|||
<string name="action_switch_list_view">List view</string>
|
||||
|
||||
<string name="manage_space_title">Manage space</string>
|
||||
<string name="manage_space_description">Settings, Database and Server Certificates from %1$s\'s data will be deleted permanentlty. \n\nDownloaded files will keep untouched.\n\nThis process can take some time.</string>
|
||||
<string name="manage_space_description">Settings, database and server certificates from %1$s\'s data will be deleted permanentlty. \n\nDownloaded files will be kept untouched.\n\nThis process can take some time.</string>
|
||||
<string name="manage_space_clear_data">Clear data</string>
|
||||
<string name="manage_space_error">Some error occurs when trying to clean app data.</string>
|
||||
<string name="manage_space_error">Some files could not be deleted.</string>
|
||||
</resources>
|
||||
|
|
|
@ -163,7 +163,7 @@ public class ManageSpaceActivity extends AppCompatActivity {
|
|||
for (int i = 0; i < children.length; i++) {
|
||||
boolean success = deleteDir(new File(dir, children[i]));
|
||||
if (!success) {
|
||||
Log_OC.d(TAG, "File NOT deleted " + children[i]);
|
||||
Log_OC.w(TAG, "File NOT deleted " + children[i]);
|
||||
return false;
|
||||
} else {
|
||||
Log_OC.d(TAG, "File deleted " + children[i]);
|
||||
|
|
Loading…
Reference in a new issue