Skip to content

Instantly share code, notes, and snippets.

@echain
Created February 23, 2013 06:23
Show Gist options
  • Save echain/5018694 to your computer and use it in GitHub Desktop.
Save echain/5018694 to your computer and use it in GitHub Desktop.
Qt 4.8.4 build w/ Visual Studio 2008
diff --git a/src/3rdparty/webkit/Source/WebCore/platform/DefaultLocalizationStrategy.cpp b/src/3rdparty/webkit/Source/WebCore/platform/DefaultLocalizationStrategy.cpp
index 4c11f29..b857d0f 100644
--- a/src/3rdparty/webkit/Source/WebCore/platform/DefaultLocalizationStrategy.cpp
+++ b/src/3rdparty/webkit/Source/WebCore/platform/DefaultLocalizationStrategy.cpp
@@ -324,7 +324,7 @@ String DefaultLocalizationStrategy::contextMenuItemTagLookUpInDictionary(const S
RetainPtr<CFStringRef> selectedCFString(AdoptCF, truncatedStringForLookupMenuItem(selectedString).createCFString());
return formatLocalizedString(WEB_UI_STRING("Look Up “%@”", "Look Up context menu item with selected word"), selectedCFString.get());
#else
- return WEB_UI_STRING("Look Up “<selection>”", "Look Up context menu item with selected word").replace("<selection>", truncatedStringForLookupMenuItem(selectedString));
+ return WEB_UI_STRING("Look Up \"<selection>\"", "Look Up context menu item with selected word").replace("<selection>", truncatedStringForLookupMenuItem(selectedString));
#endif
#endif
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment