Fix lint, compile, and translation errors

gtask_note_sync
Alex Baker 8 years ago
parent 9740442a4a
commit bb356e037c

@ -14,6 +14,7 @@ import org.tasks.preferences.Preferences;
import java.util.concurrent.TimeUnit;
import static com.todoroo.astrid.reminders.ReminderService.TYPE_DUE;
import static java.util.Arrays.asList;
import static java.util.Collections.singletonList;
import static junit.framework.Assert.assertEquals;
import static org.mockito.AdditionalAnswers.returnsFirstArg;

@ -150,7 +150,7 @@
</activity>
<activity android:name="com.todoroo.astrid.activity.TaskEditActivity">
<intent-filter>
<intent-filter tools:ignore="AppLinkUrlError">
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="vnd.android.cursor.item/task" />

@ -39,7 +39,8 @@ public class DialogBuilder {
ProgressDialog progressDialog = new ProgressDialog(activity, theme.getThemeBase().getAlertDialogStyle());
theme.applyToContext(progressDialog.getContext());
if (AndroidUtilities.preLollipop()) {
progressDialog.getWindow().setBackgroundDrawable(new ColorDrawable(android.R.color.transparent));
ColorDrawable background = new ColorDrawable(activity.getResources().getColor(android.R.color.transparent));
progressDialog.getWindow().setBackgroundDrawable(background);
}
return progressDialog;
}

@ -82,7 +82,6 @@
android:layout_alignParentEnd="true"
android:layout_alignParentRight="true"
android:ellipsize="none"
android:maxLines="1"
android:paddingEnd="@dimen/keyline_first"
android:paddingLeft="0dp"
android:paddingRight="@dimen/keyline_first"

@ -214,7 +214,7 @@
<string name="repeat_type_due">з кінцевої дати</string>
<string name="repeat_type_completion">з дати виконання</string>
<string name="repeat_detail_duedate">Кожні %s</string>
<string name="repeat_detail_duedate_until">Кожні %1$s\до %2$s</string>
<string name="repeat_detail_duedate_until">Кожні %1$s\nдо %2$s</string>
<string name="repeat_forever">Повторювати завжди</string>
<string name="repeat_until">Повторювати до %s</string>
<string name="repeat_snackbar">%1$s перенесено на %2$s</string>

Loading…
Cancel
Save