Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
VideoLAN
VLC-iOS
Commits
213e9bb7
Commit
213e9bb7
authored
Jun 30, 2014
by
Felix Paul Kühne
Browse files
Replace 'from your iOS device' wording with the proper device model name
parent
0fdbc630
Changes
2
Hide whitespace changes
Inline
Side-by-side
Resources/en.lproj/Localizable.strings
View file @
213e9bb7
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
Sources/VLCHTTPConnection.m
View file @
213e9bb7
...
...
@@ -278,12 +278,13 @@
}
}
NSString
*
deviceModel
=
[[
UIDevice
currentDevice
]
model
];
NSDictionary
*
replacementDict
=
@{
@"FILES"
:
[
mediaInHtml
componentsJoinedByString
:
@" "
],
@"WEBINTF_TITLE"
:
NSLocalizedString
(
@"WEBINTF_TITLE"
,
nil
),
@"WEBINTF_DROPFILES"
:
NSLocalizedString
(
@"WEBINTF_DROPFILES"
,
nil
),
@"WEBINTF_DROPFILES_LONG"
:
NSLocalizedString
(
@"WEBINTF_DROPFILES_LONG"
,
nil
),
@"WEBINTF_DROPFILES_LONG"
:
[
NSString
stringWithFormat
:
NSLocalizedString
(
@"WEBINTF_DROPFILES_LONG"
,
nil
),
deviceModel
],
@"WEBINTF_DOWNLOADFILES"
:
NSLocalizedString
(
@"WEBINTF_DOWNLOADFILES"
,
nil
),
@"WEBINTF_DOWNLOADFILES_LONG"
:
NSLocalizedString
(
@"WEBINTF_DOWNLOADFILES_LONG"
,
nil
)};
@"WEBINTF_DOWNLOADFILES_LONG"
:
[
NSString
stringWithFormat
:
NSLocalizedString
(
@"WEBINTF_DOWNLOADFILES_LONG"
,
nil
)
,
deviceModel
]
};
return
[[
HTTPDynamicFileResponse
alloc
]
initWithFilePath
:[
self
filePathForURI
:
path
]
forConnection:
self
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment