X-Git-Url: http://git.linex4red.de/pub/Android/ownCloud.git/blobdiff_plain/5665d9c306165c144fc60b9749ac184cb32369c0..afaa2879d192be067cae523b51dad75d89a6c6cb:/src/com/owncloud/android/ui/dialog/IndeterminateProgressDialog.java diff --git a/src/com/owncloud/android/ui/dialog/IndeterminateProgressDialog.java b/src/com/owncloud/android/ui/dialog/IndeterminateProgressDialog.java index c7796232..32fa4c65 100644 --- a/src/com/owncloud/android/ui/dialog/IndeterminateProgressDialog.java +++ b/src/com/owncloud/android/ui/dialog/IndeterminateProgressDialog.java @@ -1,10 +1,11 @@ -/* ownCloud Android client application - * Copyright (C) 2012-2013 ownCloud Inc. +/** + * ownCloud Android client application + * + * Copyright (C) 2015 ownCloud Inc. * * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. + * it under the terms of the GNU General Public License version 2, + * as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -28,6 +29,7 @@ import android.view.KeyEvent; import com.actionbarsherlock.app.SherlockDialogFragment; import com.owncloud.android.R; + public class IndeterminateProgressDialog extends SherlockDialogFragment { private static final String ARG_MESSAGE_ID = IndeterminateProgressDialog.class.getCanonicalName() + ".ARG_MESSAGE_ID"; @@ -61,7 +63,7 @@ public class IndeterminateProgressDialog extends SherlockDialogFragment { dialog.setIndeterminate(true); /// set message - int messageId = getArguments().getInt(ARG_MESSAGE_ID, R.string.text_placeholder); + int messageId = getArguments().getInt(ARG_MESSAGE_ID, R.string.placeholder_sentence); dialog.setMessage(getString(messageId)); /// set cancellation behavior