Changeset 866
- Timestamp:
- 1/6/2009 8:45:42 AM (3 years ago)
- Location:
- branches/eraser6/Eraser
- Files:
-
- 4 edited
-
SchedulerPanel.cs (modified) (3 diffs)
-
Strings.NL.resx (modified) (1 diff)
-
Strings.en.resx (modified) (1 diff)
-
Strings.resx (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eraser6/Eraser/SchedulerPanel.cs
r863 r866 121 121 //Display a balloon notification if the parent frame has been minimised. 122 122 MainForm parent = (MainForm)FindForm(); 123 Debug.Assert(parent != null); 124 if (parent.WindowState == FormWindowState.Minimized || !parent.Visible) 123 if (parent != null && (parent.WindowState == FormWindowState.Minimized || !parent.Visible)) 125 124 { 126 125 parent.ShowNotificationBalloon(S._("New task added"), S._("{0} " + … … 241 240 //Show a balloon to inform the user 242 241 MainForm parent = (MainForm)FindForm(); 243 if (parent .WindowState == FormWindowState.Minimized || !parent.Visible)242 if (parent != null && parent.WindowState == FormWindowState.Minimized || !parent.Visible) 244 243 { 245 244 string message = null; … … 249 248 { 250 249 case LogLevel.WARNING: 251 message = S._("The task {0} has completed with warnings ", e.Task.UIText);250 message = S._("The task {0} has completed with warnings.", e.Task.UIText); 252 251 icon = ToolTipIcon.Warning; 253 252 break; 254 253 case LogLevel.ERROR: 255 message = S._("The task {0} has completed with errors ", e.Task.UIText);254 message = S._("The task {0} has completed with errors.", e.Task.UIText); 256 255 icon = ToolTipIcon.Error; 257 256 break; 258 257 case LogLevel.FATAL: 259 message = S._("The task {0} did not complete ", e.Task.UIText);258 message = S._("The task {0} did not complete.", e.Task.UIText); 260 259 icon = ToolTipIcon.Error; 261 260 break; 262 261 default: 263 message = S._("The task {0} has completed ", e.Task.UIText);262 message = S._("The task {0} has completed.", e.Task.UIText); 264 263 icon = ToolTipIcon.Info; 265 264 break; -
branches/eraser6/Eraser/Strings.NL.resx
r865 r866 196 196 <value>Wordt uitgevoerd...</value> 197 197 </data> 198 <data name="The task {0} has completed with warnings " xml:space="preserve">199 <value>(Untranslated)</value> 200 </data> 201 <data name="The task {0} has completed with errors " xml:space="preserve">202 <value>(Untranslated)</value> 203 </data> 204 <data name="The task {0} did not complete " xml:space="preserve">205 <value>(Untranslated)</value> 206 </data> 207 <data name="The task {0} has completed " xml:space="preserve">198 <data name="The task {0} has completed with warnings." xml:space="preserve"> 199 <value>(Untranslated)</value> 200 </data> 201 <data name="The task {0} has completed with errors." xml:space="preserve"> 202 <value>(Untranslated)</value> 203 </data> 204 <data name="The task {0} did not complete." xml:space="preserve"> 205 <value>(Untranslated)</value> 206 </data> 207 <data name="The task {0} has completed." xml:space="preserve"> 208 208 <value>(Untranslated)</value> 209 209 </data> -
branches/eraser6/Eraser/Strings.en.resx
r865 r866 196 196 <value>Running...</value> 197 197 </data> 198 <data name="The task {0} has completed with warnings " xml:space="preserve">199 <value>The task {0} has completed with warnings </value>200 </data> 201 <data name="The task {0} has completed with errors " xml:space="preserve">202 <value>The task {0} has completed with errors </value>203 </data> 204 <data name="The task {0} did not complete " xml:space="preserve">205 <value>The task {0} did not complete </value>206 </data> 207 <data name="The task {0} has completed " xml:space="preserve">208 <value>The task {0} has completed </value>198 <data name="The task {0} has completed with warnings." xml:space="preserve"> 199 <value>The task {0} has completed with warnings.</value> 200 </data> 201 <data name="The task {0} has completed with errors." xml:space="preserve"> 202 <value>The task {0} has completed with errors.</value> 203 </data> 204 <data name="The task {0} did not complete." xml:space="preserve"> 205 <value>The task {0} did not complete.</value> 206 </data> 207 <data name="The task {0} has completed." xml:space="preserve"> 208 <value>The task {0} has completed.</value> 209 209 </data> 210 210 <data name="Task executed" xml:space="preserve"> -
branches/eraser6/Eraser/Strings.resx
r865 r866 196 196 <value>Running...</value> 197 197 </data> 198 <data name="The task {0} has completed with warnings " xml:space="preserve">199 <value>The task {0} has completed with warnings </value>200 </data> 201 <data name="The task {0} has completed with errors " xml:space="preserve">202 <value>The task {0} has completed with errors </value>203 </data> 204 <data name="The task {0} did not complete " xml:space="preserve">205 <value>The task {0} did not complete </value>206 </data> 207 <data name="The task {0} has completed " xml:space="preserve">208 <value>The task {0} has completed </value>198 <data name="The task {0} has completed with warnings." xml:space="preserve"> 199 <value>The task {0} has completed with warnings.</value> 200 </data> 201 <data name="The task {0} has completed with errors." xml:space="preserve"> 202 <value>The task {0} has completed with errors.</value> 203 </data> 204 <data name="The task {0} did not complete." xml:space="preserve"> 205 <value>The task {0} did not complete.</value> 206 </data> 207 <data name="The task {0} has completed." xml:space="preserve"> 208 <value>The task {0} has completed.</value> 209 209 </data> 210 210 <data name="Task executed" xml:space="preserve">
Note: See TracChangeset
for help on using the changeset viewer.
