From 1fbb3dcea9efe3dd749e1ac092b7f6a926c7a466 Mon Sep 17 00:00:00 2001 From: Phillip Dykman Date: Wed, 27 Nov 2019 22:56:37 -0800 Subject: [PATCH] Adjust strings --- .../main/java/org/transdroid/core/gui/DetailsActivity.java | 2 +- app/src/main/res/values/strings.xml | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/org/transdroid/core/gui/DetailsActivity.java b/app/src/main/java/org/transdroid/core/gui/DetailsActivity.java index 59b48fc8..448a9c25 100644 --- a/app/src/main/java/org/transdroid/core/gui/DetailsActivity.java +++ b/app/src/main/java/org/transdroid/core/gui/DetailsActivity.java @@ -298,7 +298,7 @@ public class DetailsActivity extends AppCompatActivity implements TorrentTasksEx torrent.mimicFirstLastPieceDownload(firstLastPieceState); DaemonTaskResult result = ToggleFirstLastPieceDownloadTask.create(currentConnection, torrent).execute(log); if (result instanceof DaemonTaskSuccessResult) { - onTaskSucceeded((DaemonTaskSuccessResult) result, getString(R.string.action_toggle_firstlastpiece)); + onTaskSucceeded((DaemonTaskSuccessResult) result, getString(R.string.result_togglefirstlastpiece)); } else { onCommunicationError((DaemonTaskFailureResult) result, false); } diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index c96932b3..e11907ce 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -56,9 +56,9 @@ Remove torrent Remove and delete data Set label - Set download mode + Download mode Download sequentially - Download first and last pieces first + Prioritize first and last piece Update trackers Change storage location Force data recheck @@ -179,6 +179,7 @@ Label set to \'%1$s\' Label removed Toggled sequential download mode + Toggled first and last piece priority Checking %1$s data Torrent moved to \'%1$s\' File priorities updated