Commit 9ebbc97c authored by Felix Paul Kühne's avatar Felix Paul Kühne

web intf: localize helper strings

parent 466a4f1f
B"CHOOSE_AUDIO_TRACK"="Choose Audio Track";
......
......@@ -26,19 +26,14 @@
</div>
<div class="messageUpload">
<h1>Drop files</h1>
<p>
Drop files in the window to add them to your iOS device. <br>
Or click on the "+" button to use the file picker dialog.
</p>
<h1>%%WEBINTF_DROPFILES%%</h1>
<p>%%WEBINTF_DROPFILES_LONG%%</p>
</div>
<hr>
<div class="messageDownload">
<h1>Download files </h1>
<p>
Just click the file you want to download from your iOS device.
</p>
<h1>%%WEBINTF_DOWNLOADFILES%%</h1>
<p>%%WEBINTF_DOWNLOADFILES_LONG%%</p>
</div>
<ul class="downloads">
......
......@@ -115,6 +115,10 @@
NSMutableDictionary *replacementDict = [NSMutableDictionary new];
[replacementDict setObject:fileList forKey:@"FILES"];
[replacementDict setObject:NSLocalizedString(@"WEBINTF_DROPFILES", nil) forKey:@"WEBINTF_DROPFILES"];
[replacementDict setObject:NSLocalizedString(@"WEBINTF_DROPFILES_LONG", nil) forKey:@"WEBINTF_DROPFILES_LONG"];
[replacementDict setObject:NSLocalizedString(@"WEBINTF_DOWNLOADFILES", nil) forKey:@"WEBINTF_DOWNLOADFILES"];
[replacementDict setObject:NSLocalizedString(@"WEBINTF_DOWNLOADFILES_LONG", nil) forKey:@"WEBINTF_DOWNLOADFILES_LONG"];
return [[HTTPDynamicFileResponse alloc] initWithFilePath:[self filePathForURI:path]
forConnection:self
separator:@"%%"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment