From da3893134fa2f3055d9967ca2e6c7048fd56ef6b Mon Sep 17 00:00:00 2001 From: Alex Baker Date: Tue, 8 Dec 2015 10:15:15 -0600 Subject: [PATCH] Resource cleanup --- src/googleplay/res/values-v8/bools.xml | 5 ----- src/googleplay/res/values-v9/bools.xml | 4 ---- src/googleplay/res/values/bools.xml | 2 ++ src/main/java/org/tasks/preferences/DeviceInfo.java | 4 ---- src/main/res/values-ar/strings.xml | 2 -- src/main/res/values-bg-rBG/strings.xml | 2 -- src/main/res/values-ca/strings.xml | 2 -- src/main/res/values-cs/strings.xml | 2 -- src/main/res/values-da/strings.xml | 2 -- src/main/res/values-de/strings.xml | 2 -- src/main/res/values-el/strings.xml | 2 -- src/main/res/values-es/strings.xml | 2 -- src/main/res/values-fr/strings.xml | 2 -- src/main/res/values-it/strings.xml | 2 -- src/main/res/values-iw/strings.xml | 2 -- src/main/res/values-ja/strings.xml | 2 -- src/main/res/values-ko/strings.xml | 2 -- src/main/res/values-nb/strings.xml | 2 -- src/main/res/values-nl/strings.xml | 2 -- src/main/res/values-pl/strings.xml | 2 -- src/main/res/values-pt-rBR/strings.xml | 2 -- src/main/res/values-pt/strings.xml | 2 -- src/main/res/values-ru/strings.xml | 2 -- src/main/res/values-sk/strings.xml | 2 -- src/main/res/values-sl-rSI/strings.xml | 2 -- src/main/res/values-sv/strings.xml | 2 -- src/main/res/values-th/strings.xml | 2 -- src/main/res/values-tr/strings.xml | 2 -- src/main/res/values-uk/strings.xml | 2 -- src/main/res/values-zh-rCN/strings.xml | 2 -- src/main/res/values-zh-rTW/strings.xml | 2 -- src/main/res/values/bools.xml | 1 - src/main/res/values/keys.xml | 3 +++ src/main/res/values/strings-core.xml | 8 +------- 34 files changed, 6 insertions(+), 75 deletions(-) delete mode 100644 src/googleplay/res/values-v8/bools.xml delete mode 100644 src/googleplay/res/values-v9/bools.xml diff --git a/src/googleplay/res/values-v8/bools.xml b/src/googleplay/res/values-v8/bools.xml deleted file mode 100644 index b85930031..000000000 --- a/src/googleplay/res/values-v8/bools.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - true - true - \ No newline at end of file diff --git a/src/googleplay/res/values-v9/bools.xml b/src/googleplay/res/values-v9/bools.xml deleted file mode 100644 index 1884a0e5e..000000000 --- a/src/googleplay/res/values-v9/bools.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - true - \ No newline at end of file diff --git a/src/googleplay/res/values/bools.xml b/src/googleplay/res/values/bools.xml index 9f359460c..901af1183 100644 --- a/src/googleplay/res/values/bools.xml +++ b/src/googleplay/res/values/bools.xml @@ -1,4 +1,6 @@ true + true + true \ No newline at end of file diff --git a/src/main/java/org/tasks/preferences/DeviceInfo.java b/src/main/java/org/tasks/preferences/DeviceInfo.java index 073bd886d..02e5a4d43 100644 --- a/src/main/java/org/tasks/preferences/DeviceInfo.java +++ b/src/main/java/org/tasks/preferences/DeviceInfo.java @@ -54,10 +54,6 @@ public class DeviceInfo { }}.resolveActivity(context.getPackageManager()) != null; } - public boolean supportsBilling() { - return context.getResources().getBoolean(R.bool.billing_enabled) && isPlayStoreAvailable(); - } - public boolean supportsLocationServices() { return context.getResources().getBoolean(R.bool.location_enabled); } diff --git a/src/main/res/values-ar/strings.xml b/src/main/res/values-ar/strings.xml index 702a4f958..73fba2040 100644 --- a/src/main/res/values-ar/strings.xml +++ b/src/main/res/values-ar/strings.xml @@ -14,9 +14,7 @@ لا يوجد مهام للتصدير. إستعادة المُلخَّص إذن المهام - قراءة المهام، عرض فلتر المهمه أخذ التصاريح - إنشاء مهمه جديدة، تعديل مهمة مُنشأه حذف هذه المهمه؟ ترقية المهام... الوقت (ساعة : دقيقة) diff --git a/src/main/res/values-bg-rBG/strings.xml b/src/main/res/values-bg-rBG/strings.xml index 9574c4553..db6491129 100644 --- a/src/main/res/values-bg-rBG/strings.xml +++ b/src/main/res/values-bg-rBG/strings.xml @@ -28,9 +28,7 @@ SD картата не може да бъде достъпена! Изберете файл за възстановяване Tasks Разрешение - прочети задачи, покажи филтрите на задачата Tasks Разрешение - създаване на нови задачи, редактиране на съществуващи задачи Изтриване на тази задача? Обновяване на твоите задачи... Време (часове: минути) diff --git a/src/main/res/values-ca/strings.xml b/src/main/res/values-ca/strings.xml index 634524f32..75d77c4d8 100644 --- a/src/main/res/values-ca/strings.xml +++ b/src/main/res/values-ca/strings.xml @@ -19,9 +19,7 @@ No s\'ha pogut accedir a la targeta SD. Tria un fitxer per restaurar Permís de l\'Tasks - llegir tasques, mostrar filtres de tasques Permís de l\'Tasks - crear noves tasques, editar tasques existents Voleu suprimir aquesta tasca? S\'estan actualitzant les vostres tasques... Temps (hores : minuts) diff --git a/src/main/res/values-cs/strings.xml b/src/main/res/values-cs/strings.xml index 1b37f204d..0819db297 100644 --- a/src/main/res/values-cs/strings.xml +++ b/src/main/res/values-cs/strings.xml @@ -21,9 +21,7 @@ Chyba v přístupu k SD kartě! Zvolte soubor k obnově Tasks Práva - zobrazit úkoly, zobrazit filtry úkolů Tasks Práva - vytvořit nové úkoly, upravit existující úkoly Smazat tento úkol? Obnovování vašich úkolů... Čas (hodin : minut) diff --git a/src/main/res/values-da/strings.xml b/src/main/res/values-da/strings.xml index 24f4d25f0..6faa3c10d 100644 --- a/src/main/res/values-da/strings.xml +++ b/src/main/res/values-da/strings.xml @@ -21,9 +21,7 @@ Kan ikke få adgang til dig SD-kort! Vælg en fil for at gendanne Tasks Tilladelser - læs opgaver, vis opgavefiltre Tasks Tilladelser - opret nye opgaver, rediger eksisterende opgaver Slet denne opgave? Opgraderer dine opgaver... Tid (timer : minutter) diff --git a/src/main/res/values-de/strings.xml b/src/main/res/values-de/strings.xml index 355ea83ba..ebcf927bc 100644 --- a/src/main/res/values-de/strings.xml +++ b/src/main/res/values-de/strings.xml @@ -21,9 +21,7 @@ Auf die SD-Karte konnte nicht zugegriffen werden! Wählen Sie eine Datei zum Wiederherstellen Tasks Zugriffsrechte - Aufgaben lesen, Aufgabenfilter anzeigen Tasks Zugriffsrechte - Aufgaben erstellen, existierende Aufgaben bearbeiten Diese Aufgabe löschen? Ihre Aufgaben werden aktualisiert … Zeit (Stunden : Minuten) diff --git a/src/main/res/values-el/strings.xml b/src/main/res/values-el/strings.xml index 4b69831c2..27a0b19fe 100644 --- a/src/main/res/values-el/strings.xml +++ b/src/main/res/values-el/strings.xml @@ -23,9 +23,7 @@ Δεν υπάρχει πρόσβαση στην SD κάρτα! Επιλογή αρχείου για επαναφορά Άδεια εργασιών - Διάβασμα εργασιών, εμφάνιση φίλτρων εργασιών Άδεια Εργασιών - δημιουργία νέων εργασιών, επεξεργασία εργασιών Διαγραφή εργασίας; Αναβάθμιση των εργασιών σας... Ώρα (ώρες : λεπτά) diff --git a/src/main/res/values-es/strings.xml b/src/main/res/values-es/strings.xml index 7d88058db..84f1572d8 100644 --- a/src/main/res/values-es/strings.xml +++ b/src/main/res/values-es/strings.xml @@ -23,9 +23,7 @@ ¡No se pudo acceder a su tarjeta de memoria SD! Selecciona un archivo a restaurar Permisos de Tasks - leer tareas, mostrar filtros de tareas Permisos de Tasks - crear nuevas tareas, editar tareas existentes ¿Borrar esta tarea? Actualizando sus tareas.... Tiempo (horas : minutos) diff --git a/src/main/res/values-fr/strings.xml b/src/main/res/values-fr/strings.xml index da0d996be..4d610d2e6 100644 --- a/src/main/res/values-fr/strings.xml +++ b/src/main/res/values-fr/strings.xml @@ -24,9 +24,7 @@ Impossible d\'accéder à la carte SD ! Choisissez un fichier à restaurer Permission d\'Tasks - lire les tâches, afficher les filtres de tâches Permission d\'Tasks - créer de nouvelles tâches, modifier les tâches existantes Supprimer cette tâche ? Mise à jour de vos tâches… Temps (heures : minutes) diff --git a/src/main/res/values-it/strings.xml b/src/main/res/values-it/strings.xml index bd5db5ff0..fc0066176 100644 --- a/src/main/res/values-it/strings.xml +++ b/src/main/res/values-it/strings.xml @@ -25,9 +25,7 @@ Impossibile accedere alla scheda SD! Seleziona un file da ripristinare Permessi Tasks - vedere i compiti, mostrare i filtri Permessi Tasks - crea nuove attività, modifica le attività esistenti Eliminare questa attività? Aggiornare le attività ... Tempo (ore : minuti) diff --git a/src/main/res/values-iw/strings.xml b/src/main/res/values-iw/strings.xml index e7c423be0..866dc0bcf 100644 --- a/src/main/res/values-iw/strings.xml +++ b/src/main/res/values-iw/strings.xml @@ -21,9 +21,7 @@ לא ניתן לגשת לכרטיס ה־SD שלך! נא לבחור קובץ לשחזור הרשאות אסטריד - קריאת משימות, הצגת מַסְנְנֵי משימות הרשאות אסטריד - יצירת משימות חדשות, עריכת משימות קיימות. למחוק משימה זו? משדרגת את משימותיך... זמן (שעות : דקות) diff --git a/src/main/res/values-ja/strings.xml b/src/main/res/values-ja/strings.xml index e1e7d3d7a..f37178215 100644 --- a/src/main/res/values-ja/strings.xml +++ b/src/main/res/values-ja/strings.xml @@ -25,9 +25,7 @@ SDカードにアクセスできません 復元に使うファイルを選択してください タスクの読み込み - タスクの読み込みとフィルタの表示 タスクの読み込み - タスクの作成、編集 このタスクを削除しますか? タスクを更新しています 時間 (時:分) diff --git a/src/main/res/values-ko/strings.xml b/src/main/res/values-ko/strings.xml index 89d20e769..581dad5d6 100644 --- a/src/main/res/values-ko/strings.xml +++ b/src/main/res/values-ko/strings.xml @@ -28,9 +28,7 @@ SD 카드에 접근할 수 없습니다! 복원할 파일을 선택하세요 Tasks 권한 - 일정 읽기, 일정 필터 보기 Tasks 권한 - 새 일정 생성하기, 기존 일정 편집하기 이 일정을 삭제할까요? 일정 업그레이드 중... 시간 (시 : 분) diff --git a/src/main/res/values-nb/strings.xml b/src/main/res/values-nb/strings.xml index c3cc51d91..4bf8100bd 100644 --- a/src/main/res/values-nb/strings.xml +++ b/src/main/res/values-nb/strings.xml @@ -17,9 +17,7 @@ Ditt SD-kort er ikke tilgjengelig! Velg fil å gjenopprette Tasks Tillatelse - les oppgaver, vis oppgavefiltre Tasks Tillatelse - opprett nye oppgaver, rediger eksisterende oppgaver Slett denne oppgaven? Oppgraderer oppgavene dine... Tid (timer : minutter) diff --git a/src/main/res/values-nl/strings.xml b/src/main/res/values-nl/strings.xml index 68e6f46be..783502504 100644 --- a/src/main/res/values-nl/strings.xml +++ b/src/main/res/values-nl/strings.xml @@ -25,9 +25,7 @@ Toegang tot SD-kaart geweigerd! Selecteer een back-up om te herstellen Taak toestemmingen - taken lezen, taakfilters weergeven Taak toestemmingen - nieuwe taken maken, bestaande wijzigen Taak verwijderen? Taken bijwerken... Tijd (uren : minuten) diff --git a/src/main/res/values-pl/strings.xml b/src/main/res/values-pl/strings.xml index 3e8dae71d..97b596dbc 100644 --- a/src/main/res/values-pl/strings.xml +++ b/src/main/res/values-pl/strings.xml @@ -21,9 +21,7 @@ Brak dostępu do Twojej karty SD! Wskaż plik do przywrócenia Uprawnienia Tasks - odczytuj zadania, pokaż filtr zadań Zezwolenia Tasks - twórz nowe zadania, edytuj bieżące zadania Usunąć to zadanie? Uaktualniam Twoje zadania... Czas (godziny : minuty) diff --git a/src/main/res/values-pt-rBR/strings.xml b/src/main/res/values-pt-rBR/strings.xml index 8f0f621c4..f4e605684 100644 --- a/src/main/res/values-pt-rBR/strings.xml +++ b/src/main/res/values-pt-rBR/strings.xml @@ -20,9 +20,7 @@ Não foi possível acessar seu cartão SD! Selecione um arquivo para ser restaurado Permissões do Tasks - ler tarefas, exibir filtros das tarefas Permissões do Tasks - criar novas tarefas, editar tarefas existentes Excluir esta tarefa? Atualizando suas tarefas... Horário (horas:minutos) diff --git a/src/main/res/values-pt/strings.xml b/src/main/res/values-pt/strings.xml index a3221f6e0..9e0bafe6d 100644 --- a/src/main/res/values-pt/strings.xml +++ b/src/main/res/values-pt/strings.xml @@ -26,9 +26,7 @@ Não é possível aceder ao seu cartão SD! Selecione o ficheiro a restaurar Permissões do Tasks - ler tarefas, mostrar filtros de tarefas Permissões do Tasks - criar novas tarefas, editar tarefas existentes Remover esta tarefa? Atualização de tarefas... Tempo (horas:minutos) diff --git a/src/main/res/values-ru/strings.xml b/src/main/res/values-ru/strings.xml index 3fcca8b4a..7605d3b2a 100644 --- a/src/main/res/values-ru/strings.xml +++ b/src/main/res/values-ru/strings.xml @@ -25,9 +25,7 @@ Нет доступа к карте памяти! Выберите файл для восстановления Право Tasks - чтение и отображение фильтров задач Право Tasks - создание новых и редактирование существующих задач Удалить эту задачу? Обновление ваших задач… Время (час : мин) diff --git a/src/main/res/values-sk/strings.xml b/src/main/res/values-sk/strings.xml index e584733c8..1bebc24fb 100644 --- a/src/main/res/values-sk/strings.xml +++ b/src/main/res/values-sk/strings.xml @@ -23,9 +23,7 @@ Chyba v prístupe k SD karte! Vybrať súbor k obnove Tasks povolenia - zobraziť úlohy, zobraziť filtre úloh Tasks povolenia - Vytvoriť nové úlohy, upraviť existujúce úlohy Vymazať túto úlohu? Aktualizácia tvojich úloh... Čas (hodiny : minúty) diff --git a/src/main/res/values-sl-rSI/strings.xml b/src/main/res/values-sl-rSI/strings.xml index d9fb29e9b..e7333325d 100644 --- a/src/main/res/values-sl-rSI/strings.xml +++ b/src/main/res/values-sl-rSI/strings.xml @@ -24,9 +24,7 @@ Tvoja SD kartica ni dostopna. Izberi datoteko za obnovo Dovoljenje Opravkom - preberi opravke, prikaži filtre opravka Dovoljenje Opravkom - ustvari nove opravke, uredi obstoječe opravke Zbrišem ta opravek? Nadgrajujem tvoje opravke... Čas (ure : minute) diff --git a/src/main/res/values-sv/strings.xml b/src/main/res/values-sv/strings.xml index a40fbe0cb..528394982 100644 --- a/src/main/res/values-sv/strings.xml +++ b/src/main/res/values-sv/strings.xml @@ -21,9 +21,7 @@ SD-kort ej tillgängligt! Välj en fil att återställa Tasks Tillstånd - läs uppgifter, visa uppgiftsfilter Tasks Tillstånd - skapa nya uppgifter, redigera existerande uppgifter Radera denna uppgift? Uppgraderar dina uppgifter... Tid (timmar : minuter) diff --git a/src/main/res/values-th/strings.xml b/src/main/res/values-th/strings.xml index 31b3dddfe..3140f7e18 100644 --- a/src/main/res/values-th/strings.xml +++ b/src/main/res/values-th/strings.xml @@ -12,8 +12,6 @@ กำลังอ่านแผนงาน %d... ไม่สามารถเข้าถึงแฟ้ม: %s ไม่สามารถเข้าถึง SD Card ได้! - อ่านแผนงาน, แสดงตัวกรองแผนงาน - สร้างแผนงานใหม่, แก้ไขแผนงานเดิม ลบงานนี้? เวลา (ชั่วโมง : นาที) คลิก เพื่อตั้งค่า diff --git a/src/main/res/values-tr/strings.xml b/src/main/res/values-tr/strings.xml index bed68f92a..74bcc6d3a 100644 --- a/src/main/res/values-tr/strings.xml +++ b/src/main/res/values-tr/strings.xml @@ -21,9 +21,7 @@ Hafıza kartına erişemiyorum! Geri Alınacak Bir Dosya Seçin Tasks İzni - görevlere gözat, görev süzgeçlerini görüntüle Tasks İzni - yeni görevler oluştur, mevcut görevleri düzenle Bu görev silinsin mi? Görevleriniz güncelleniyor... Zaman (saat : dakika) diff --git a/src/main/res/values-uk/strings.xml b/src/main/res/values-uk/strings.xml index 9d4800893..528c9b32a 100644 --- a/src/main/res/values-uk/strings.xml +++ b/src/main/res/values-uk/strings.xml @@ -24,9 +24,7 @@ Немає доступу до карти SD! Виберіть файл для відновлення Дозволи Tasks - читання і відображення фільтрів завдань Дозволи Tasks - створення нових завдань, редагування існуючих завдань Видалити цю задачу? Оновлення ваших завдань... Час (години : хвилини) diff --git a/src/main/res/values-zh-rCN/strings.xml b/src/main/res/values-zh-rCN/strings.xml index 8f76c667b..b15cdf89e 100644 --- a/src/main/res/values-zh-rCN/strings.xml +++ b/src/main/res/values-zh-rCN/strings.xml @@ -21,9 +21,7 @@ 无法访问您的 SD 卡! 选取要还原的文件 清单小助理权限 - 读取任务,显示任务过滤器 清单小助理权限 - 创建新任务,修改现有任务 确认删除? 升级您的任务... 时间(小时:分钟) diff --git a/src/main/res/values-zh-rTW/strings.xml b/src/main/res/values-zh-rTW/strings.xml index 906019828..062f209e3 100644 --- a/src/main/res/values-zh-rTW/strings.xml +++ b/src/main/res/values-zh-rTW/strings.xml @@ -21,9 +21,7 @@ 無法存取您的SD卡! 選取欲還原的檔案 Tasks 權限 - 讀取工作, 顯示工作篩選 Tasks 權限 - 建立新工作, 修改現行工作 確認刪除? 升級您的工作... 時間 (小時:分鐘) diff --git a/src/main/res/values/bools.xml b/src/main/res/values/bools.xml index b963eda96..1d4f5342a 100644 --- a/src/main/res/values/bools.xml +++ b/src/main/res/values/bools.xml @@ -3,7 +3,6 @@ false true false - false false false false diff --git a/src/main/res/values/keys.xml b/src/main/res/values/keys.xml index d468ca8ad..4d9f64f4c 100644 --- a/src/main/res/values/keys.xml +++ b/src/main/res/values/keys.xml @@ -15,6 +15,9 @@ date_shortcut_evening date_shortcut_night + create new tasks, edit existing tasks + read tasks, display task filters + custom_files_dir diff --git a/src/main/res/values/strings-core.xml b/src/main/res/values/strings-core.xml index 703364923..78f39912a 100644 --- a/src/main/res/values/strings-core.xml +++ b/src/main/res/values/strings-core.xml @@ -6,15 +6,9 @@ Tasks Permission - - read tasks, display task filters - Tasks Permission - - - create new tasks, edit existing tasks - +