summaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
Diffstat (limited to 'ui')
-rw-r--r--ui/res/values-ast-rES/strings.xml55
-rw-r--r--ui/res/values-cy/strings.xml50
-rw-r--r--ui/res/values-eo/strings.xml23
-rw-r--r--ui/res/values-ku/strings.xml54
-rw-r--r--ui/res/values-lb/strings.xml49
-rw-r--r--ui/res/values-ug/strings.xml36
-rw-r--r--ui/src/com/android/providers/downloads/ui/TrampolineActivity.java16
7 files changed, 282 insertions, 1 deletions
diff --git a/ui/res/values-ast-rES/strings.xml b/ui/res/values-ast-rES/strings.xml
new file mode 100644
index 00000000..4b74fd95
--- /dev/null
+++ b/ui/res/values-ast-rES/strings.xml
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--Generated by crowdin.com-->
+<!-- Copyright (C) 2010 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="app_label">Descargues</string>
+ <string name="download_title_sorted_by_date">Descargues - Ordenaes pela data</string>
+ <string name="download_title_sorted_by_size">Descargues - Ordenaes pel tamañu</string>
+ <string name="no_downloads">Nun hai descargues.</string>
+ <string name="missing_title">&lt;Desconozse&gt;</string>
+ <string name="button_sort_by_size">Ordenar pel tamañu</string>
+ <string name="button_sort_by_date">Ordenar pela data</string>
+ <string name="download_queued">Na cola</string>
+ <string name="download_running">En cursu</string>
+ <string name="download_success">Completóse</string>
+ <string name="download_error">Con fallos</string>
+ <string name="dialog_title_not_available">Nun pudo baxase</string>
+ <string name="dialog_failed_body">¿Quies retentar la descarga más sero o
+ desaniciar el ficheru de la cola?</string>
+ <string name="dialog_title_queued_body">Ficheru na cola</string>
+ <string name="dialog_queued_body">Esti ficheru ta na cola pa una descarga futura, polo qu\'entá nun ta disponible.</string>
+ <string name="dialog_file_missing_body">Nun pue alcontrase\'l ficheru de descarga.</string>
+ <string name="dialog_insufficient_space_on_external">Nun pue finar la descarga. Nun hai espaciu
+ abondo nel almacenamientu esternu.</string>
+ <string name="dialog_insufficient_space_on_cache">Nun pue finar la descarga. Nun hai espaciu
+ abondo nel almacenamientu internu.</string>
+ <string name="dialog_cannot_resume">Interrumpióse la descarga y nun pue siguir.</string>
+ <string name="dialog_file_already_exists">Nun pue baxase. Yá esiste\'l ficheru de destín.
+ </string>
+ <string name="dialog_media_not_found">Nun pue baxase. El mediu esternu nun ta disponible.
+ </string>
+ <string name="download_no_application_title">Nun pue abrise\'l ficheru</string>
+ <string name="remove_download">Desaniciar</string>
+ <string name="delete_download">Desaniciar</string>
+ <string name="keep_queued_download">Caltener</string>
+ <string name="cancel_running_download">Encaboxar</string>
+ <string name="retry_download">Retentar</string>
+ <string name="start_now_download">Aniciar agora</string>
+ <string name="deselect_all">Desmarcalo too</string>
+ <string name="select_all">Esbillar too</string>
+ <string name="selected_count">Esbillesti <xliff:g id="number" example="3">%1$d</xliff:g> de <xliff:g id="total" example="15">%2$d</xliff:g></string>
+ <string name="download_share_dialog">Compartir per</string>
+</resources>
diff --git a/ui/res/values-cy/strings.xml b/ui/res/values-cy/strings.xml
new file mode 100644
index 00000000..b44befba
--- /dev/null
+++ b/ui/res/values-cy/strings.xml
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--Generated by crowdin.com-->
+<!-- Copyright (C) 2010 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="app_label">Llwythi</string>
+ <string name="download_title_sorted_by_date">Llwythi - Yn nhrefn dyddiad</string>
+ <string name="download_title_sorted_by_size">Llwythi - Yn nhrefn maint</string>
+ <string name="no_downloads">Dim llwythi.</string>
+ <string name="missing_title">&lt;Anhysbys&gt;</string>
+ <string name="button_sort_by_size">Trefnu yn ôl maint</string>
+ <string name="button_sort_by_date">Trefnu yn ôl dyddiad</string>
+ <string name="download_queued">Mewn ciw</string>
+ <string name="download_running">Ar y gweill</string>
+ <string name="download_success">Yn gyflawn</string>
+ <string name="download_error">Aflwyddiannus</string>
+ <string name="dialog_title_not_available">Methwyd â lawrlwytho</string>
+ <string name="dialog_failed_body">Wyt ti am geisio lawrlwytho\'r ffeil yn hwyrach neu ei dileu o\'r ciw?</string>
+ <string name="dialog_title_queued_body">Ffeil yn y ciw</string>
+ <string name="dialog_queued_body">Mae\'r ffeil hon wedi ei chiwio i\'w lawrlwytho yn y dyfodol ac nid yw ar gael eto.</string>
+ <string name="dialog_file_missing_body">Methu â lawrlwytho; Dyw\'r cyfrwng allanol ddim ar gael.</string>
+ <string name="dialog_insufficient_space_on_external">Methu â chwblhau lawrlwytho. Does dim digon o le ar y storfa allanol.</string>
+ <string name="dialog_insufficient_space_on_cache">Methu â lawrlwytho\'r cyfan; Nid oes digon o le ar y storfa fewnol.</string>
+ <string name="dialog_cannot_resume">Wedi ymyrraeth, nid yw\'n bosib parhau a\'r lawrlwytho.</string>
+ <string name="dialog_file_already_exists">Methu â lawrlwytho; Mae\'r ffeil yn bodoli eisoes. </string>
+ <string name="dialog_media_not_found">Methu â lawrlwytho; Dyw\'r cyfrwng allanol ddim ar gael. </string>
+ <string name="download_no_application_title">Methu ag agor y ffeil</string>
+ <string name="remove_download">Tynnu</string>
+ <string name="delete_download">Dileu</string>
+ <string name="keep_queued_download">Cadw</string>
+ <string name="cancel_running_download">Diddymu</string>
+ <string name="retry_download">Ailgeisio</string>
+ <string name="start_now_download">Dechrau nawr</string>
+ <string name="deselect_all">Dewis dim</string>
+ <string name="select_all">Dewis y cwbl</string>
+ <string name="selected_count">Dewiswyd <xliff:g id="number" example="3">%1$d</xliff:g> allan o <xliff:g id="total" example="15">%2$d</xliff:g></string>
+ <string name="download_share_dialog">Rhannu drwy</string>
+</resources>
diff --git a/ui/res/values-eo/strings.xml b/ui/res/values-eo/strings.xml
new file mode 100644
index 00000000..04884982
--- /dev/null
+++ b/ui/res/values-eo/strings.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--Generated by crowdin.com-->
+<!-- Copyright (C) 2010 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="missing_title">&lt;Nekonata&gt;</string>
+ <string name="remove_download">Forigi</string>
+ <string name="delete_download">Forigi</string>
+ <string name="cancel_running_download">Nuligi</string>
+ <string name="download_share_dialog">Konigi per</string>
+</resources>
diff --git a/ui/res/values-ku/strings.xml b/ui/res/values-ku/strings.xml
new file mode 100644
index 00000000..04a25e98
--- /dev/null
+++ b/ui/res/values-ku/strings.xml
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--Generated by crowdin.com-->
+<!-- Copyright (C) 2010 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="app_label">داگرتنەکان</string>
+ <string name="download_title_sorted_by_date">داگرتنەکان - ڕیزکراو بە بەروار</string>
+ <string name="download_title_sorted_by_size">داگرتنەکان - ڕیزکراو بە قەبارە</string>
+ <string name="no_downloads">هیچ داگرتنێک نییە.</string>
+ <string name="missing_title">وlt;نەزانراووgt;</string>
+ <string name="button_sort_by_size">ڕیزکردن بە قەبارە</string>
+ <string name="button_sort_by_date">ڕیزکردن بە بەروار</string>
+ <string name="download_queued">لە نۆرەدایە</string>
+ <string name="download_running">لە کارادایە</string>
+ <string name="download_success">تەواو</string>
+ <string name="download_error">سه‌رکه‌وتوونه‌بوو</string>
+ <string name="dialog_title_not_available">نەیتوانی دایبەزێنێت</string>
+ <string name="dialog_failed_body">دەتەوێ فەیلەکە دووبارە دابەزێنییەوە یان
+ لە نۆرەدا ئەیسڕیتەوە؟</string>
+ <string name="dialog_title_queued_body">پەڕگە لە نۆرەدایە</string>
+ <string name="dialog_queued_body">ئەم فایلە لە نۆرەدایە بۆ داگرتن لە داهاتوودا کەواتە ئێستا بەر دەست نییە.</string>
+ <string name="dialog_file_missing_body">ناتوانێت فایلی دابەزێنراو بدۆزێتەوە.</string>
+ <string name="dialog_insufficient_space_on_external">نەیتوانی داگرتن تەواو بکات. بۆشایی
+ پێویست لە بیرگەی دەرەکی نییە.</string>
+ <string name="dialog_insufficient_space_on_cache">نەیتوانی داگرتن تەواو بکات. بۆشایی
+ پێویست لە بیرگەی داگرتنی ناوەکی نییە.</string>
+ <string name="dialog_cannot_resume">داگرتن قرتێنرا و ناتوانێت دەست پێ بکاتەوە.</string>
+ <string name="dialog_file_already_exists">ناتوانێت دایبەزێنێت. فایلی مەبەست لەمەو پێش هەیە.
+ </string>
+ <string name="dialog_media_not_found">ناتوانێت دایبەزێنێت. بیرگەی دەرەکی بەر دەست نییە.
+ </string>
+ <string name="download_no_application_title">ناتوانێت په‌ڕگه‌ بکاتەوە</string>
+ <string name="remove_download">لابردن</string>
+ <string name="delete_download">سڕینه‌وه‌</string>
+ <string name="keep_queued_download">هێشتنەوە</string>
+ <string name="cancel_running_download">هەڵوەشاندنەوە</string>
+ <string name="retry_download">هەوڵدانەوە</string>
+ <string name="deselect_all">دیاری نەکردنی هەموو</string>
+ <string name="select_all">دیاریکردنی هەموو</string>
+ <string name="selected_count">دیاریکراون <xliff:g id="number" example="3">%1$d</xliff:g> لە <xliff:g id="total" example="15">%2$d</xliff:g></string>
+ <string name="download_share_dialog">هاوبەشیکردن لە ڕێگەی</string>
+</resources>
diff --git a/ui/res/values-lb/strings.xml b/ui/res/values-lb/strings.xml
new file mode 100644
index 00000000..4ee0ae50
--- /dev/null
+++ b/ui/res/values-lb/strings.xml
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--Generated by crowdin.com-->
+<!-- Copyright (C) 2010 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="app_label">Downloads</string>
+ <string name="download_title_sorted_by_date">Downloads - Zortéiert no Datum</string>
+ <string name="download_title_sorted_by_size">Downloads - Zortéiert no Gréisst</string>
+ <string name="no_downloads">Keng Downloads.</string>
+ <string name="missing_title">&lt;Onbekannt&gt;</string>
+ <string name="button_sort_by_size">Zortéiert no Gréisst</string>
+ <string name="button_sort_by_date">Zortéiert no Datum</string>
+ <string name="download_queued">An der Waardeschläif</string>
+ <string name="download_running">Am Gaang</string>
+ <string name="download_success">Fäerdeg</string>
+ <string name="download_error">Net erfollegräich</string>
+ <string name="dialog_title_not_available">Gouf net erofgelueden</string>
+ <string name="dialog_failed_body">Wëlls du méi spéit nees versichen de Fichier erofzelueden oder en aus der Waardeschläif läschen?</string>
+ <string name="dialog_title_queued_body">Fichier an der Waardeschläif</string>
+ <string name="dialog_queued_body">Dëse Fichier ass an der Waardeschläif fir méi spéit erofgelueden ze ginn an ass dofir nach net disponibel.</string>
+ <string name="dialog_file_missing_body">Den erofgeluedene Fichier ass net méi do.</string>
+ <string name="dialog_insufficient_space_on_external">D\'Erofluede kann net fäerdeggestallt ginn. Et ass net genuch Plaz um externe Späicher.</string>
+ <string name="dialog_insufficient_space_on_cache">D\'Erofluede kann net fäerdeggestallt ginn. Et ass net genuch Plaz um interne Späicher.</string>
+ <string name="dialog_cannot_resume">Den Download ass ofgebrach ginn a kann net nees weidergefouert ginn.</string>
+ <string name="dialog_file_already_exists">Kann net eroflueden. Den Destinatiounsfichier existéiert schon.</string>
+ <string name="dialog_media_not_found">Kann net eroflueden. Dat externt Medium ass net disponibel.</string>
+ <string name="download_no_application_title">Fichier kann net opgemaach ginn</string>
+ <string name="remove_download">Ewechhuelen</string>
+ <string name="delete_download">Läschen</string>
+ <string name="keep_queued_download">Behalen</string>
+ <string name="cancel_running_download">Ofbriechen</string>
+ <string name="retry_download">Nees probéieren</string>
+ <string name="deselect_all">Auswiel ophiewen</string>
+ <string name="select_all">Alles auswielen</string>
+ <string name="selected_count"><xliff:g id="number" example="3">%1$d</xliff:g> vu(n) <xliff:g id="total" example="15">%2$d</xliff:g> ausgewielt</string>
+ <string name="download_share_dialog">Deelen iwwer</string>
+</resources>
diff --git a/ui/res/values-ug/strings.xml b/ui/res/values-ug/strings.xml
new file mode 100644
index 00000000..e949747e
--- /dev/null
+++ b/ui/res/values-ug/strings.xml
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--Generated by crowdin.com-->
+<!-- Copyright (C) 2010 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="download_title_sorted_by_date">چۈشۈرۈش - چېسلا بويىچە تەرتىپلە</string>
+ <string name="download_title_sorted_by_size">چۈشۈرۈش - چوڭلۇقى بويىچە تەرتىپلە</string>
+ <string name="no_downloads">چۈشۈرۈشلەر يوق.</string>
+ <string name="missing_title">&lt;يوچۇن&gt;</string>
+ <string name="button_sort_by_date">چېسلا بويىچە تەرتىپلە</string>
+ <string name="download_success">تامام</string>
+ <string name="dialog_title_not_available">چۈشۈرەلمەيدۇ</string>
+ <string name="dialog_failed_body">چۈشۈرۈۋاتقان ھۆججەتنى قايتا سىنامسىز ياكى ئۇنى قاتاردىن ئۆچۈرۈۋېتەمسىز؟</string>
+ <string name="dialog_title_queued_body">ھۆججەت ئۆچىرەتتە</string>
+ <string name="dialog_queued_body">كەلگۈسىدە چۈشۈرۈش ئۈچۈن بۇ ھۆججەت قاتارغا قوشۇلدى شۇڭا ئىشلەتكىلى بولمايدۇ.</string>
+ <string name="dialog_file_missing_body">چۈشۈرگەن ھۆججەتنى تاپالمىدى.</string>
+ <string name="dialog_insufficient_space_on_external">چۈشۈرۈشنى تاماملىيالمايدۇ. سىرتقى ساقلىغۇچتا يېتەرلىك بوشلۇق يوق.</string>
+ <string name="dialog_insufficient_space_on_cache">چۈشۈرۈشنى تاماملىيالمايدۇ. ئىچىدىكى ساقلىغۇچتا يېتەرلىك بوشلۇق يوق.</string>
+ <string name="dialog_cannot_resume">چۈشۈرۈش ئۈزۈلدى. ئاخىرىنى داۋاملاشتۇرالمايدۇ.</string>
+ <string name="dialog_file_already_exists">چۈشۈرەلمەيدۇ. نىشان ھۆججەت مەۋجۇت.</string>
+ <string name="dialog_media_not_found">چۈشۈرەلمەيدۇ. سىرتقى ۋاستىنى ئىشلەتكىلى بولمايدۇ.</string>
+ <string name="keep_queued_download">ساقلاپ قال</string>
+ <string name="selected_count"><xliff:g id="number" example="3">%1$d</xliff:g>/<xliff:g id="total" example="15">%2$d</xliff:g> تاللاندى</string>
+</resources>
diff --git a/ui/src/com/android/providers/downloads/ui/TrampolineActivity.java b/ui/src/com/android/providers/downloads/ui/TrampolineActivity.java
index 41d7187a..01f3fcc8 100644
--- a/ui/src/com/android/providers/downloads/ui/TrampolineActivity.java
+++ b/ui/src/com/android/providers/downloads/ui/TrampolineActivity.java
@@ -94,14 +94,28 @@ public class TrampolineActivity extends Activity {
Log.d(Constants.TAG, "Found " + id + " with status " + status + ", reason " + reason);
switch (status) {
case DownloadManager.STATUS_PENDING:
- case DownloadManager.STATUS_RUNNING:
sendRunningDownloadClickedBroadcast(id);
finish();
break;
+ case DownloadManager.STATUS_RUNNING:
+ // Pause and resume download manually
+ dm.pauseDownload(id);
+ finish();
+ break;
+
case DownloadManager.STATUS_PAUSED:
if (reason == DownloadManager.PAUSED_QUEUED_FOR_WIFI) {
PausedDialogFragment.show(getFragmentManager(), id, size);
+ } else if (reason == DownloadManager.PAUSED_MANUAL) {
+ // Pause and resume download manually
+ dm.resumeDownload(id);
+ Intent intent = new Intent(Constants.ACTION_RESUME);
+ intent.setClassName("com.android.providers.downloads",
+ "com.android.providers.downloads.DownloadReceiver");
+ intent.putExtra(DownloadManager.EXTRA_DOWNLOAD_ID, id);
+ sendBroadcast(intent);
+ finish();
} else {
sendRunningDownloadClickedBroadcast(id);
finish();