diff --git a/Resources/en.lproj/Localizable.strings b/Resources/en.lproj/Localizable.strings index fea4aa57b6708210b7cc4c20e595612f45319a59..afb4eb1c42cf4b8005d452888124ac3d4f2ec5fb 100644 Binary files a/Resources/en.lproj/Localizable.strings and b/Resources/en.lproj/Localizable.strings differ diff --git a/Resources/web/index.html b/Resources/web/index.html index 83a1be80162d58355810f4d6eb2d780d483cb226..51e53d38396fdd45e9be7a16090eccf7790d8e84 100644 --- a/Resources/web/index.html +++ b/Resources/web/index.html @@ -2,7 +2,7 @@ - WiFi Upload/Download + %%WEBINTF_TITLE%% diff --git a/Resources/web/style.css b/Resources/web/style.css index 9a7ed162b775612a2f24217a74f044caa3822740..df8041935842e99196223221a809f72602142cda 100644 --- a/Resources/web/style.css +++ b/Resources/web/style.css @@ -61,7 +61,7 @@ div.main.drop { } .nav:before { - content: "%%HTTP_UPLOAD%%"; + content: "%%WEBINTF_TITLE%%"; font-family: "Raleway", "Helvetica Neue"; font-size: 36px; line-height: 60px; diff --git a/Sources/VLCHTTPConnection.m b/Sources/VLCHTTPConnection.m index 755e30d56118f560939a36ffd8aee0c25e8409b3..3d3030f415f47894644408cf21b3c375c9cb051f 100644 --- a/Sources/VLCHTTPConnection.m +++ b/Sources/VLCHTTPConnection.m @@ -113,6 +113,7 @@ } NSDictionary *replacementDict = @{@"FILES" : fileList, + @"WEBINTF_TITLE" : NSLocalizedString(@"WEBINTF_TITLE", nil), @"WEBINTF_DROPFILES" : NSLocalizedString(@"WEBINTF_DROPFILES", nil), @"WEBINTF_DROPFILES_LONG" : NSLocalizedString(@"WEBINTF_DROPFILES_LONG", nil), @"WEBINTF_DOWNLOADFILES" : NSLocalizedString(@"WEBINTF_DOWNLOADFILES", nil), @@ -123,7 +124,7 @@ separator:@"%%" replacementDictionary:replacementDict]; } else if ([relativePath isEqualToString:@"/style.css"]) { - NSDictionary *replacementDict = @{@"HTTP_UPLOAD" : NSLocalizedString(@"HTTP_UPLOAD", nil)}; + NSDictionary *replacementDict = @{@"WEBINTF_TITLE" : NSLocalizedString(@"WEBINTF_TITLE", nil)}; return [[HTTPDynamicFileResponse alloc] initWithFilePath:[self filePathForURI:path] forConnection:self separator:@"%%"