Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Delta Between Two Patch Sets: src/plugin/PluginDictionary.cpp

Issue 10800100: Show better instructions to IE9+ users (Closed)
Left Patch Set: Created June 7, 2013, 6:25 a.m.
Right Patch Set: Only one message Created June 7, 2013, 9:16 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « files/dictionary_w.ini ('k') | no next file » | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 #include "PluginStdAfx.h" 1 #include "PluginStdAfx.h"
2 2
3 #include "PluginDictionary.h" 3 #include "PluginDictionary.h"
4 #include "PluginClient.h" 4 #include "PluginClient.h"
5 #include "PluginSettings.h" 5 #include "PluginSettings.h"
6 #include "PluginMutex.h" 6 #include "PluginMutex.h"
7 7
8 8
9 class CPluginDictionaryLock : public CPluginMutex 9 class CPluginDictionaryLock : public CPluginMutex
10 { 10 {
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 // Download update dialog 256 // Download update dialog
257 m_dictionary["DOWNLOAD_UPDATE_TITLE"] = "Download Adblock Plus"; 257 m_dictionary["DOWNLOAD_UPDATE_TITLE"] = "Download Adblock Plus";
258 m_dictionary["DOWNLOAD_UPDATE_BUTTON"] = "Update"; 258 m_dictionary["DOWNLOAD_UPDATE_BUTTON"] = "Update";
259 m_dictionary["DOWNLOAD_PLEASE_WAIT"] = "Please wait..."; 259 m_dictionary["DOWNLOAD_PLEASE_WAIT"] = "Please wait...";
260 m_dictionary["DOWNLOAD_UPDATE_ERROR_TEXT"] = "Error downloading installer" ; 260 m_dictionary["DOWNLOAD_UPDATE_ERROR_TEXT"] = "Error downloading installer" ;
261 m_dictionary["DOWNLOAD_UPDATE_SUCCESS_TEXT"] = "If you choose to update Ad block Plus, your Internet Explorer will close before installation"; 261 m_dictionary["DOWNLOAD_UPDATE_SUCCESS_TEXT"] = "If you choose to update Ad block Plus, your Internet Explorer will close before installation";
262 262
263 // Various dialogs 263 // Various dialogs
264 m_dictionary["ERROR_STATUS_BAR_DISABLED"] = "The Adblock Plus menu is loca ted in the status bar, would you like to enable it?"; 264 m_dictionary["ERROR_STATUS_BAR_DISABLED"] = "The Adblock Plus menu is loca ted in the status bar, would you like to enable it?";
265 m_dictionary["ERROR_STATUS_BAR_DISABLED_TITLE"] = "Enable status bar?"; 265 m_dictionary["ERROR_STATUS_BAR_DISABLED_TITLE"] = "Enable status bar?";
266 m_dictionary["ERROR_CAN_NOT_ENABLE_STATUS_BAR"] = "The Adblock Plus menu i s located in the status bar. Please enable it under View->Toolbars->Status bar"; 266 m_dictionary["ERROR_CAN_NOT_ENABLE_STATUS_BAR"] = "The Adblock Plus menu i s located in the status bar. Please right click the title or menu bar and enable the status bar.";
Wladimir Palant 2013/06/07 13:17:08 I would change the order: menu first, then title.
267 m_dictionary["ERROR_CAN_NOT_ENABLE_STATUS_BAR_IE9"] = "The Adblock Plus me nu is located in the status bar. Please enable it by right clicking the title ba r and selecting \"Status bar\"";
268 m_dictionary["ERROR_CAN_NOT_ENABLE_STATUS_BAR_TITLE"] = "Please enable the status bar"; 267 m_dictionary["ERROR_CAN_NOT_ENABLE_STATUS_BAR_TITLE"] = "Please enable the status bar";
269 268
270 269
271 #endif 270 #endif
272 // General texts 271 // General texts
273 m_dictionary["GENERAL_YES"] = "Yes"; 272 m_dictionary["GENERAL_YES"] = "Yes";
274 m_dictionary["GENERAL_NO"] = "No"; 273 m_dictionary["GENERAL_NO"] = "No";
275 m_dictionary["GENERAL_CANCEL"] = "Cancel"; 274 m_dictionary["GENERAL_CANCEL"] = "Cancel";
276 m_dictionary["GENERAL_CLOSE"] = "Close"; 275 m_dictionary["GENERAL_CLOSE"] = "Close";
277 276
(...skipping 11 matching lines...) Expand all
289 else 288 else
290 { 289 {
291 DEBUG_ERROR_LOG(iniFile.GetLastError(), PLUGIN_ERROR_DICTIONARY, PLUGIN_ER ROR_DICTIONARY_CREATE_FILE, L"Dictionary::Create - Write") 290 DEBUG_ERROR_LOG(iniFile.GetLastError(), PLUGIN_ERROR_DICTIONARY, PLUGIN_ER ROR_DICTIONARY_CREATE_FILE, L"Dictionary::Create - Write")
292 } 291 }
293 #ifdef PRODUCT_ADBLOCKPLUS 292 #ifdef PRODUCT_ADBLOCKPLUS
294 // Delete old 293 // Delete old
295 ::DeleteFile(CPluginSettings::GetDataPath(L"dictionary.ini")); 294 ::DeleteFile(CPluginSettings::GetDataPath(L"dictionary.ini"));
296 #endif 295 #endif
297 } 296 }
298 } 297 }
LEFTRIGHT

Powered by Google App Engine
This is Rietveld