Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC-Android
Manage
Activity
Members
Labels
Plan
Issues
531
Issue boards
Milestones
Wiki
Code
Merge requests
12
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoLAN
VLC-Android
Commits
5f4bc712
Commit
5f4bc712
authored
7 years ago
by
Geoffrey Métais
Browse files
Options
Downloads
Patches
Plain Diff
Use specific strings for storage scan dialog
parent
68411b6b
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
vlc-android/res/values/strings.xml
+2
-0
2 additions, 0 deletions
vlc-android/res/values/strings.xml
vlc-android/src/org/videolan/vlc/gui/dialogs/ExternalStorageDialog.java
+2
-2
2 additions, 2 deletions
...c/org/videolan/vlc/gui/dialogs/ExternalStorageDialog.java
with
4 additions
and
2 deletions
vlc-android/res/values/strings.xml
+
2
−
0
View file @
5f4bc712
...
...
@@ -545,6 +545,8 @@
<string
name=
"tv_settings_hint"
>
Long press OK button to check/uncheck directories
</string>
<string
name=
"ml_external_storage_title"
>
New external storage detected
</string>
<string
name=
"ml_external_storage_msg"
>
Do you want VLC to add device %1$s to your medialibrary?
</string>
<string
name=
"ml_external_storage_accept"
>
Yes
</string>
<string
name=
"ml_external_storage_decline"
>
No
</string>
<string
name=
"last_added_media"
>
last added
</string>
<string
name=
"no"
>
No
</string>
<string
name=
"loading_medialibrary"
>
Loading Medialibrary...
</string>
...
...
This diff is collapsed.
Click to expand it.
vlc-android/src/org/videolan/vlc/gui/dialogs/ExternalStorageDialog.java
+
2
−
2
View file @
5f4bc712
...
...
@@ -34,7 +34,7 @@ public class ExternalStorageDialog extends AppCompatDialogFragment {
final
String
message
=
String
.
format
(
VLCApplication
.
getAppResources
().
getString
(
R
.
string
.
ml_external_storage_msg
),
uuid
);
builder
.
setTitle
(
R
.
string
.
ml_external_storage_title
)
.
setMessage
(
message
)
.
setPositiveButton
(
R
.
string
.
yes
,
new
DialogInterface
.
OnClickListener
()
{
.
setPositiveButton
(
R
.
string
.
ml_external_storage_accept
,
new
DialogInterface
.
OnClickListener
()
{
public
void
onClick
(
DialogInterface
dialog
,
int
id
)
{
Intent
serviceInent
=
new
Intent
(
MediaParsingService
.
ACTION_DISCOVER_DEVICE
,
null
,
getActivity
(),
MediaParsingService
.
class
)
.
putExtra
(
MediaParsingService
.
EXTRA_PATH
,
path
);
...
...
@@ -44,7 +44,7 @@ public class ExternalStorageDialog extends AppCompatDialogFragment {
}
}
})
.
setNegativeButton
(
R
.
string
.
no
,
new
DialogInterface
.
OnClickListener
()
{
.
setNegativeButton
(
R
.
string
.
ml_external_storage_decline
,
new
DialogInterface
.
OnClickListener
()
{
public
void
onClick
(
DialogInterface
dialog
,
int
id
)
{
PreferenceManager
.
getDefaultSharedPreferences
(
VLCApplication
.
getAppContext
())
.
edit
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment