Changeset 238503 in webkit
- Timestamp:
- Nov 26, 2018 11:15:11 AM (5 years ago)
- Location:
- trunk/Source
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r238501 r238503 1 2018-11-26 Jeremy Jones <jeremyj@apple.com> 2 3 Use Full Screen consistently in localizable strings. 4 https://bugs.webkit.org/show_bug.cgi?id=190363 5 rdar://problem/43882333 6 7 Reviewed by Jon Lee. 8 9 No new tests because only change is to localizable strings. 10 11 Rename "Fullscreen" to "Full Screen" in localizable strings for consistency. 12 13 * English.lproj/Localizable.strings: 14 * platform/LocalizedStrings.cpp: 15 (WebCore::contextMenuItemTagEnterVideoFullscreen): 16 (WebCore::contextMenuItemTagExitVideoFullscreen): 17 (WebCore::localizedMediaControlElementHelpText): 18 1 19 2018-11-26 Brent Fulgham <bfulgham@apple.com> 2 20 -
trunk/Source/WebCore/en.lproj/Localizable.strings
r238475 r238503 260 260 "Drag (Undo action name)" = "Drag"; 261 261 262 /* Video Enter Full screen context menu item */262 /* Video Enter Full Screen context menu item */ 263 263 "Enter Full Screen" = "Enter Full Screen"; 264 264 … … 284 284 "Exit Full Screen" = "Exit Full Screen"; 285 285 286 /* Full screen Deceptive Website Exit Action */287 "Exit Full Screen (Element Full screen)" = "Exit Full Screen";288 289 /* Video Exit Full screen context menu item */286 /* Full Screen Deceptive Website Exit Action */ 287 "Exit Full Screen (Element Full Screen)" = "Exit Full Screen"; 288 289 /* Video Exit Full Screen context menu item */ 290 290 "Exit Full Screen (context menu)" = "Exit Full Screen"; 291 291 … … 368 368 "Invalid value" = "Invalid value"; 369 369 370 /* Full screen Deceptive Website Warning Sheet Title */370 /* Full Screen Deceptive Website Warning Sheet Title */ 371 371 "It looks like you are typing while in full screen" = "It looks like you are typing while in full screen"; 372 372 … … 554 554 "Play" = "Play"; 555 555 556 /* accessibility help text for enter full screen button */557 "Play movie in full screen mode" = "Play movie in fullscreen mode";556 /* accessibility help text for enter full screen button */ 557 "Play movie in full screen mode" = "Play movie in full screen mode"; 558 558 559 559 /* Label text to be used if plugin host process has crashed */ … … 692 692 "Start Speaking" = "Start Speaking"; 693 693 694 /* Full screen Deceptive Website Stay Action */695 "Stay in Full Screen (Element Full screen)" = "Stay in Full Screen";694 /* Full Screen Deceptive Website Stay Action */ 695 "Stay in Full Screen (Element Full Screen)" = "Stay in Full Screen"; 696 696 697 697 /* Stop context menu item */ … … 818 818 "Typing (Undo action name)" = "Typing"; 819 819 820 /* Full screen Deceptive Website Warning Sheet Content Text */820 /* Full Screen Deceptive Website Warning Sheet Content Text */ 821 821 "Typing is not allowed in full screen websites. “%@” may be showing a fake keyboard to trick you into disclosing personal or financial information." = "Typing is not allowed in full screen websites. “%@” may be showing a fake keyboard to trick you into disclosing personal or financial information."; 822 822 -
trunk/Source/WebCore/platform/LocalizedStrings.cpp
r238406 r238503 385 385 String contextMenuItemTagEnterVideoFullscreen() 386 386 { 387 return WEB_UI_STRING("Enter Full Screen", "Video Enter Full screen context menu item");387 return WEB_UI_STRING("Enter Full Screen", "Video Enter Full Screen context menu item"); 388 388 } 389 389 390 390 String contextMenuItemTagExitVideoFullscreen() 391 391 { 392 return WEB_UI_STRING_KEY("Exit Full Screen", "Exit Full Screen (context menu)", "Video Exit Full screen context menu item");392 return WEB_UI_STRING_KEY("Exit Full Screen", "Exit Full Screen (context menu)", "Video Exit Full Screen context menu item"); 393 393 } 394 394 #endif … … 799 799 return WEB_UI_STRING("seek quickly forward", "accessibility help text for fast forward button"); 800 800 if (name == "FullscreenButton") 801 return WEB_UI_STRING("Play movie in full screen mode", "accessibility help text for enter fullscreen button");801 return WEB_UI_STRING("Play movie in full screen mode", "accessibility help text for enter full screen button"); 802 802 if (name == "ShowClosedCaptionsButton") 803 803 return WEB_UI_STRING("start displaying closed captions", "accessibility help text for show closed captions button"); -
trunk/Source/WebKit/ChangeLog
r238498 r238503 1 2018-11-26 Jeremy Jones <jeremyj@apple.com> 2 3 Use Full Screen consistently in localizable strings. 4 https://bugs.webkit.org/show_bug.cgi?id=190363 5 rdar://problem/43882333 6 7 Reviewed by Jon Lee. 8 9 Rename "Fullscreen" to "Full Screen" in localizable strings for consistency. 10 11 * UIProcess/ios/fullscreen/WKFullScreenViewController.mm: 12 (-[WKFullScreenViewController _showPhishingAlert]): 13 1 14 2018-11-26 Daniel Bates <dabates@apple.com> 2 15 -
trunk/Source/WebKit/UIProcess/ios/fullscreen/WKFullScreenViewController.mm
r237266 r238503 556 556 - (void)_showPhishingAlert 557 557 { 558 NSString *alertTitle = WEB_UI_STRING("It looks like you are typing while in full screen", "Full screen Deceptive Website Warning Sheet Title");559 NSString *alertMessage = [NSString stringWithFormat:WEB_UI_STRING("Typing is not allowed in full screen websites. “%@” may be showing a fake keyboard to trick you into disclosing personal or financial information.", "Full screen Deceptive Website Warning Sheet Content Text"), (NSString *)self.location];558 NSString *alertTitle = WEB_UI_STRING("It looks like you are typing while in full screen", "Full Screen Deceptive Website Warning Sheet Title"); 559 NSString *alertMessage = [NSString stringWithFormat:WEB_UI_STRING("Typing is not allowed in full screen websites. “%@” may be showing a fake keyboard to trick you into disclosing personal or financial information.", "Full Screen Deceptive Website Warning Sheet Content Text"), (NSString *)self.location]; 560 560 UIAlertController* alert = [UIAlertController alertControllerWithTitle:alertTitle message:alertMessage preferredStyle:UIAlertControllerStyleAlert]; 561 561 … … 563 563 page->suspendActiveDOMObjectsAndAnimations(); 564 564 565 UIAlertAction* exitAction = [UIAlertAction actionWithTitle:WEB_UI_STRING_KEY("Exit Full Screen", "Exit Full Screen (Element Full screen)", "Fullscreen Deceptive Website Exit Action") style:UIAlertActionStyleCancel handler:^(UIAlertAction * action) {565 UIAlertAction* exitAction = [UIAlertAction actionWithTitle:WEB_UI_STRING_KEY("Exit Full Screen", "Exit Full Screen (Element Full Screen)", "Full Screen Deceptive Website Exit Action") style:UIAlertActionStyleCancel handler:^(UIAlertAction * action) { 566 566 [self _cancelAction:action]; 567 567 if (auto* page = [self._webView _page]) … … 569 569 }]; 570 570 571 UIAlertAction* stayAction = [UIAlertAction actionWithTitle:WEB_UI_STRING_KEY("Stay in Full Screen", "Stay in Full Screen (Element Full screen)", "Fullscreen Deceptive Website Stay Action") style:UIAlertActionStyleDefault handler:^(UIAlertAction * action) {571 UIAlertAction* stayAction = [UIAlertAction actionWithTitle:WEB_UI_STRING_KEY("Stay in Full Screen", "Stay in Full Screen (Element Full Screen)", "Full Screen Deceptive Website Stay Action") style:UIAlertActionStyleDefault handler:^(UIAlertAction * action) { 572 572 if (auto* page = [self._webView _page]) 573 573 page->resumeActiveDOMObjectsAndAnimations();
Note: See TracChangeset
for help on using the changeset viewer.