Changeset 314 for branches/eraser6/Eraser/Program.cs
- Timestamp:
- 3/30/2008 1:29:58 PM (5 years ago)
- File:
-
- 1 edited
-
branches/eraser6/Eraser/Program.cs (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eraser6/Eraser/Program.cs
r310 r314 4 4 5 5 using Eraser.Manager; 6 using Eraser.Util; 6 7 using Microsoft.Win32; 7 8 using System.IO; … … 21 22 Application.EnableVisualStyles(); 22 23 Application.SetCompatibleTextRenderingDefault(false); 23 Application.SafeTopLevelCaptionFormat = "Eraser";24 Application.SafeTopLevelCaptionFormat = S._("Eraser"); 24 25 25 26 using (ManagerLibrary library = new ManagerLibrary()) … … 42 43 { 43 44 key.DeleteValue("TaskList"); 44 MessageBox.Show( "Could not load task list. All task entries have " +45 "been lost." , "Eraser", MessageBoxButtons.OK,45 MessageBox.Show(S._("Could not load task list. All task entries have " + 46 "been lost."), S._("Eraser"), MessageBoxButtons.OK, 46 47 MessageBoxIcon.Error); 47 48 } … … 97 98 (int)key.GetValue("PlausibleDeniability", (object)1) != 0; 98 99 UILanguage = (string)key.GetValue("UILanguage", string.Empty); 99 Util.S.Language = new CultureInfo(UILanguage);100 S.Language = new CultureInfo(UILanguage); 100 101 101 102 //Load the plugin settings. … … 112 113 { 113 114 key.DeleteValue("PluginSettings"); 114 MessageBox.Show( "Could not load plugin settings. All settings " +115 "have been lost" , "Eraser", MessageBoxButtons.OK,115 MessageBox.Show(S._("Could not load plugin settings. All settings " + 116 "have been lost"), S._("Eraser"), MessageBoxButtons.OK, 116 117 MessageBoxIcon.Error); 117 118 }
Note: See TracChangeset
for help on using the changeset viewer.
