Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3ac8b2e1 authored by stefan-niedermann's avatar stefan-niedermann
Browse files

Remove unused resources

parent e301bd39
Loading
Loading
Loading
Loading
+0 −20
Original line number Diff line number Diff line
@@ -207,26 +207,6 @@ public class NotesListViewActivity extends AppCompatActivity implements ItemAdap
        setupNavigationList(categoryAdapterSelectedItem);
        setupNavigationMenu();
        setupNotesList();

        //SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this);
        //boolean ssoAnnouncmentShown = prefs.getBoolean("sp_sso_announchment_shown", false);
        //if (!ssoAnnouncmentShown) {
        //    AlertDialog dialog = new AlertDialog.Builder(this)
        //            .setTitle(R.string.sso_announcment_title)
        //            .setCancelable(false)
        //            .setMessage(R.string.sso_announcment_message)
        //            .setNegativeButton(R.string.sso_announcment_more_info, (a, b) -> {
        //                startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("https://github.com/stefan-niedermann/nextcloud-notes/blob/master/SSO%20Announcment.md")));
        //            })
        //            .setPositiveButton(R.string.sso_announcment_understood, (a, b) -> {
        //                SharedPreferences.Editor editor = prefs.edit();
        //                editor.putBoolean("sp_sso_announchment_shown", true);
        //                editor.apply();
        //            })
        //            .show();
        //    dialog.getButton(DialogInterface.BUTTON_POSITIVE).setTextColor(getResources().getColor(R.color.fg_default));
        //    dialog.getButton(DialogInterface.BUTTON_NEGATIVE).setTextColor(getResources().getColor(R.color.fg_default));
        //}
    }

    @Override
+0 −9
Original line number Diff line number Diff line
<vector xmlns:android="http://schemas.android.com/apk/res/android"
        android:width="24dp"
        android:height="24dp"
        android:viewportWidth="24.0"
        android:viewportHeight="24.0">
    <path
        android:fillColor="#FF757575"
        android:pathData="M18,8h-1L17,6c0,-2.76 -2.24,-5 -5,-5S7,3.24 7,6v2L6,8c-1.1,0 -2,0.9 -2,2v10c0,1.1 0.9,2 2,2h12c1.1,0 2,-0.9 2,-2L20,10c0,-1.1 -0.9,-2 -2,-2zM12,17c-1.1,0 -2,-0.9 -2,-2s0.9,-2 2,-2 2,0.9 2,2 -0.9,2 -2,2zM15.1,8L8.9,8L8.9,6c0,-1.71 1.39,-3.1 3.1,-3.1 1.71,0 3.1,1.39 3.1,3.1v2z"/>
</vector>
+0 −36
Original line number Diff line number Diff line
@@ -2,37 +2,30 @@
<resources>

    <string name="app_name">Notes</string>
    <string name="no_notes">No notes yet</string>
    <string name="label_all_notes">All notes</string>
    <string name="label_favorites">Favourites</string>
    <string name="action_create">New note</string>
    <string name="action_settings">Settings</string>
    <string name="action_trashbin">Deleted notes</string>
    <string name="action_search">Search</string>
    <string name="action_create_save">Save</string>
    <string name="simple_cancel">Cancel</string>
    <string name="simple_edit">Edit</string>
    <string name="action_edit_save">Save</string>
    <string name="action_edit_saving">Saving &#8230;</string>
    <string name="action_edit_saved">Saved</string>
    <string name="simple_about">About</string>
    <string name="simple_bold">Bold</string>
    <string name="simple_link">Link</string>
    <string name="simple_italic">Italic</string>
    <string name="action_select_note">Select note</string>
    <string name="action_note_deleted">Note deleted</string>
    <string name="action_note_restored">Note restored</string>
    <string name="action_undo">Undo</string>
    <string name="action_drawer_open">open navigation</string>
    <string name="action_drawer_close">close navigation</string>
    <string name="action_recent">Recent</string>
    <string name="action_uncategorized">Uncategorised</string>
    <string name="menu_delete">Delete</string>
    <string name="menu_change_category">Category</string>
    <string name="menu_favorite">Favourite</string>
    <string name="menu_preview">Preview</string>
    <string name="menu_share">Share</string>
    <string name="menu_about">About</string>

    <string name="change_category_title">Choose a category</string>

@@ -41,49 +34,21 @@
    <string name="listview_updated_this_week">This week</string>
    <string name="listview_updated_this_month">This month</string>
    <!-- Settings -->
    <string name="settings_server_settings">Account</string>
    <string name="settings_url">Server address</string>
    <string name="settings_url_check_description">Shows whether the address can be pinged.</string>
    <string name="settings_url_warn_http">WARNING: \"http\" is unsafe. Please use \"https\".</string>
    <string name="settings_username">Username</string>
    <string name="settings_password">Password</string>
    <string name="settings_password_unchanged">Password (not changed)</string>
    <string name="settings_password_check_description">Displays whether the credentials are correct.</string>
    <string name="settings_submit">Connect</string>
    <string name="settings_submitting">Connecting &#8230;</string>
    <string name="settings_note_mode">Display mode for notes</string>
    <string name="settings_theme_title">Dark theme</string>
    <string name="settings_font_title">Monospace font</string>
    <string name="settings_wifi_only">Sync only on Wi-Fi</string>
    <string name="settings_cert_category">Manage certificates</string>
    <string name="settings_cert_trust_system">Trust system certificates</string>
    <string name="settings_cert_trust_system_on">System and user-added CAs will be trusted (recommended)</string>
    <string name="settings_cert_trust_system_off">System and user-added CAs won\'t be trusted</string>
    <string name="settings_cert_reset">Reset (un)trusted certificates</string>
    <string name="settings_cert_reset_summary">Resets trust of all custom certificates</string>
    <string name="settings_cert_reset_toast">All custom certificates have been cleared</string>

    <!-- Certificates -->
    <string name="certificate_notification_connection_security">Notes - Connection security</string>
    <string name="trust_certificate_unknown_certificate_found">Notes has encountered an unknown certificate. Do you want to trust it?</string>

    <!-- Network -->
    <string name="network_connecting">Connecting</string>
    <string name="network_connected">Connected</string>
    <string name="network_disconnected">No network available</string>

    <!-- Error -->
    <string name="error_sync">Synchronisation failed: %1$s</string>
    <string name="error_invalid_login">Invalid login: %1$s</string>
    <string name="error_json">is the Notes app activated on the server?</string>
    <string name="error_io">server connection is broken</string>
    <string name="error_no_network">no network connection</string>
    <string name="error_server">URL/Server has errors</string>
    <string name="error_url_malformed">Wrong server address</string>
    <string name="error_username_password_invalid">Wrong username or password</string>

    <!-- Snackbar Actions -->
    <string name="snackbar_settings">Settings</string>

    <!-- About -->
    <string name="about_version_title">Version</string>
@@ -124,7 +89,6 @@
    <string name="shortcut_create_long">Create a new note</string>

    <string name="pref_value_theme_light">Light</string>
    <string name="pref_value_theme_dark">Dark</string>
    <!-- Array: note modes -->
    <string-array name="noteMode_entries">
        <item>Open in edit mode</item>
+0 −8
Original line number Diff line number Diff line
@@ -23,13 +23,6 @@
    <string name="listview_updated_this_week">Esta semana</string>
    <string name="listview_updated_this_month">Este mes</string>

    <string name="settings_cert_trust_system">Confiar en los certificados del sistema</string>
    <string name="settings_cert_trust_system_on">Los CAs del sistema y del usuario serán de confianza (recomendado)</string>
    <string name="settings_cert_trust_system_off">Los CAs del sistema y de usuarios no serán de confianza</string>
    <string name="settings_cert_reset">Reiniciar los certificados (no) de confianza</string>
    <string name="settings_cert_reset_summary">Reinicia la confizanza de todos los certificados personalizados</string>
    <string name="settings_cert_reset_toast">Todos los certificados personalizados han sido borrados</string>

    <!-- Certificates -->

    <!-- Network -->
@@ -37,7 +30,6 @@
    <!-- Error -->
    <string name="error_sync">Falló la sincronización: %1$s</string>
    <string name="error_json">¿Se encuentra activiada la aplicación de Notes en el servidor?</string>
    <string name="error_io">se ha interrumpido al conexión al servidor</string>
    <string name="error_no_network">no hay conexión a red</string>

    <!-- Snackbar Actions -->
+0 −1
Original line number Diff line number Diff line
@@ -24,7 +24,6 @@

    <!-- Error -->
    <string name="error_sync">Синхронизацията е неуспешна: %1$s</string>
    <string name="error_io">връзката със сървъра е прекъснала</string>
    <string name="error_no_network">няма връзка с интернет</string>

    <!-- Snackbar Actions -->
Loading