aboutsummaryrefslogtreecommitdiff
path: root/src/github/daneren2005
diff options
context:
space:
mode:
authorThomas Knepper <thknepper@gmx.de>2014-04-04 22:50:19 +0200
committerThomas Knepper <thknepper@gmx.de>2014-04-04 23:42:25 +0200
commit8d31d2edebd352b12693914516351399ae3f965d (patch)
tree082a4b2b8aeb31afeddbaa5366d7af7467b8a919 /src/github/daneren2005
parent0045caa93689ee671b91b9510e71083b766aac4b (diff)
downloaddsub-8d31d2edebd352b12693914516351399ae3f965d.tar.gz
dsub-8d31d2edebd352b12693914516351399ae3f965d.tar.bz2
dsub-8d31d2edebd352b12693914516351399ae3f965d.zip
Use resource string instead of hard code
Diffstat (limited to 'src/github/daneren2005')
-rw-r--r--src/github/daneren2005/dsub/fragments/DownloadFragment.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/github/daneren2005/dsub/fragments/DownloadFragment.java b/src/github/daneren2005/dsub/fragments/DownloadFragment.java
index bc30eb02..ec75af80 100644
--- a/src/github/daneren2005/dsub/fragments/DownloadFragment.java
+++ b/src/github/daneren2005/dsub/fragments/DownloadFragment.java
@@ -146,7 +146,7 @@ public class DownloadFragment extends SubsonicFragment implements OnGestureListe
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle bundle) {
rootView = inflater.inflate(R.layout.download, container, false);
- setTitle(nowPlaying ? "Now Playing" : "Downloading");
+ setTitle(nowPlaying ? R.string.download_title_now_playing : R.string.download_title_downloading);
mainLayout = rootView.findViewById(R.id.download_layout);
if(!primaryFragment) {
@@ -1403,7 +1403,7 @@ public class DownloadFragment extends SubsonicFragment implements OnGestureListe
private void toggleNowPlaying() {
nowPlaying = !nowPlaying;
- setTitle(nowPlaying ? "Now Playing" : "Downloading");
+ setTitle(nowPlaying ? R.string.download_title_now_playing : R.string.download_title_downloading);
onDownloadListChanged(true);
}