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

Commit bbfdbedd authored by Adam Shanks's avatar Adam Shanks
Browse files

Moved some leftover strings to strings.xml for possible localization.

parent a3cb5db2
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -504,6 +504,9 @@
    <!-- Action string for viewing an address on a map. -->
    <string name="actionMap">View <xliff:g id="type" example="home">%s</xliff:g> address</string>
    
    <!-- Action string for navigating to an address. -->
    <string name="actionNav">Navigate to <xliff:g id="type" example="home">%s</xliff:g> address</string>

    <!-- Description for incoming calls going to voice mail vs. not -->
    <string name="actionIncomingCall">Incoming calls</string>

@@ -754,4 +757,7 @@
    <string name="title_cl_ask_before_clear">Ask Before Clearing</string>
    <string name="summary_cl_ask_before_clear">Ask before clearing call log</string>
    
    <string name="alert_clear_call_log_title">Clear call log</string>
    <string name="alert_clear_call_log_message">Are you sure you want to clear all call records?</string>
    
</resources>
 No newline at end of file
+4 −4
Original line number Diff line number Diff line
@@ -953,10 +953,10 @@ public class RecentCallsListActivity extends ListActivity
    private void clearCallLog() {
        if (mPreferences.getBoolean("cl_ask_before_clear", false)) {
            AlertDialog.Builder alert = new AlertDialog.Builder(this);
            alert.setTitle("Clear call log");
            alert.setMessage("Are you sure you want to clear all call records?");
            alert.setTitle(R.string.alert_clear_call_log_title);
            alert.setMessage(R.string.alert_clear_call_log_message);
      
            alert.setPositiveButton("Ok", new DialogInterface.OnClickListener() {
            alert.setPositiveButton(android.R.string.ok, new DialogInterface.OnClickListener() {
                    public void onClick(DialogInterface dialog, int whichButton) {
                            getContentResolver().delete(Calls.CONTENT_URI, null, null);
                            //TODO The change notification should do this automatically, but it isn't working
@@ -965,7 +965,7 @@ public class RecentCallsListActivity extends ListActivity
                    }
            });
        
            alert.setNegativeButton("Cancel", new DialogInterface.OnClickListener() {
            alert.setNegativeButton(android.R.string.cancel, new DialogInterface.OnClickListener() {
                    public void onClick(DialogInterface dialog, int whichButton) {
                            // Canceled.
            }});