diff options
author | Ben Kwa <kenobi@google.com> | 2015-04-03 21:06:29 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2015-04-03 21:06:30 +0000 |
commit | c8adb235b9f436c2007e4763303db1a15135c4ec (patch) | |
tree | 102e7890ad76500dfcbb393d5d7186459ea1a9a7 /packages/DocumentsUI/res | |
parent | 1dbed5170eef4a4241ac75d2b7d4986f085d3cf2 (diff) | |
parent | d99109fca847895233b0bdfafa131ebca8dfe3d5 (diff) | |
download | frameworks_base-c8adb235b9f436c2007e4763303db1a15135c4ec.zip frameworks_base-c8adb235b9f436c2007e4763303db1a15135c4ec.tar.gz frameworks_base-c8adb235b9f436c2007e4763303db1a15135c4ec.tar.bz2 |
Merge "Enable directory selection. Add an IntentService to copy files."
Diffstat (limited to 'packages/DocumentsUI/res')
-rw-r--r-- | packages/DocumentsUI/res/menu/mode_directory.xml | 4 | ||||
-rw-r--r-- | packages/DocumentsUI/res/values/strings.xml | 14 |
2 files changed, 18 insertions, 0 deletions
diff --git a/packages/DocumentsUI/res/menu/mode_directory.xml b/packages/DocumentsUI/res/menu/mode_directory.xml index 695060d..4b89823 100644 --- a/packages/DocumentsUI/res/menu/mode_directory.xml +++ b/packages/DocumentsUI/res/menu/mode_directory.xml @@ -33,4 +33,8 @@ android:id="@+id/menu_select_all" android:title="@string/menu_select_all" android:showAsAction="never" /> + <item + android:id="@+id/menu_copy" + android:title="@string/menu_copy" + android:showAsAction="never" /> </menu> diff --git a/packages/DocumentsUI/res/values/strings.xml b/packages/DocumentsUI/res/values/strings.xml index 4ad337d..310ccf0 100644 --- a/packages/DocumentsUI/res/values/strings.xml +++ b/packages/DocumentsUI/res/values/strings.xml @@ -48,6 +48,8 @@ <string name="menu_select">Select \"<xliff:g id="directory" example="My Directory">^1</xliff:g>\"</string> <!-- Menu item title that selects all documents in the current directory [CHAR LIMIT=24] --> <string name="menu_select_all">Select All</string> + <!-- Menu item title that copies the selected documents [CHAR LIMIT=24] --> + <string name="menu_copy">Copy to\u2026</string> <!-- Menu item that reveals internal storage built into the device [CHAR LIMIT=24] --> <string name="menu_advanced_show" product="nosdcard">Show internal storage</string> @@ -110,4 +112,16 @@ <!-- Title of dialog when prompting user to select an app to share documents with [CHAR LIMIT=32] --> <string name="share_via">Share via</string> + <!-- Title of the cancel button [CHAR LIMIT=24] --> + <string name="cancel">Cancel</string> + <!-- Title of the copy notification [CHAR LIMIT=24] --> + <string name="copy_notification_title">Copying files</string> + <!-- Text shown on the copy notification to indicate remaining time, in minutes [CHAR LIMIT=24] --> + <string name="copy_remaining"><xliff:g id="duration" example="3 minutes">%s</xliff:g> left</string> + <!-- Toast shown when a file copy is kicked off --> + <plurals name="copy_begin"> + <item quantity="one">Copying <xliff:g id="count" example="1">%1$d</xliff:g> file.</item> + <item quantity="other">Copying <xliff:g id="count" example="3">%1$d</xliff:g> files.</item> + </plurals> + </resources> |