[gnome-subtitles: 1/2] Fix typos
- From: Pedro Castro <pcastro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-subtitles: 1/2] Fix typos
- Date: Thu, 5 Jul 2018 20:45:46 +0000 (UTC)
commit 516e0f842c62e07a47db7acec1fd95b79df3fb43
Author: Rafael Fontenelle <rafaelff gnome org>
Date: Wed Jul 4 21:40:40 2018 -0300
Fix typos
src/GnomeSubtitles/Dialog/Unmanaged/FileSaveErrorDialog.cs | 2 +-
src/GnomeSubtitles/Dialog/Unmanaged/SubtitleFileOpenErrorDialog.cs | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/GnomeSubtitles/Dialog/Unmanaged/FileSaveErrorDialog.cs
b/src/GnomeSubtitles/Dialog/Unmanaged/FileSaveErrorDialog.cs
index 4d4919a..2623aef 100644
--- a/src/GnomeSubtitles/Dialog/Unmanaged/FileSaveErrorDialog.cs
+++ b/src/GnomeSubtitles/Dialog/Unmanaged/FileSaveErrorDialog.cs
@@ -59,7 +59,7 @@ public class FileSaveErrorDialog : ErrorDialog {
if (exception is OutOfMemoryException)
return Catalog.GetString("You have run out of memory. Please close some programs and
try again.");
else if (exception is IOException)
- return Catalog.GetString("An I/O error has occured.");
+ return Catalog.GetString("An I/O error has occurred.");
else if ((exception is UnauthorizedAccessException) || (exception is SecurityException))
return Catalog.GetString("You do not have the permissions necessary to save the
file.");
else if ((exception is ArgumentNullException) || (exception is ArgumentException) ||
(exception is PathTooLongException))
diff --git a/src/GnomeSubtitles/Dialog/Unmanaged/SubtitleFileOpenErrorDialog.cs
b/src/GnomeSubtitles/Dialog/Unmanaged/SubtitleFileOpenErrorDialog.cs
index d724990..0b2fab0 100644
--- a/src/GnomeSubtitles/Dialog/Unmanaged/SubtitleFileOpenErrorDialog.cs
+++ b/src/GnomeSubtitles/Dialog/Unmanaged/SubtitleFileOpenErrorDialog.cs
@@ -40,7 +40,7 @@ public class SubtitleFileOpenErrorDialog : FileOpenErrorDialog {
else if (exception is OutOfMemoryException)
return Catalog.GetString("You have run out of memory. Please close some programs and
try again.");
else if (exception is IOException)
- return Catalog.GetString("An I/O error has occured.");
+ return Catalog.GetString("An I/O error has occurred.");
else if ((exception is UnauthorizedAccessException) || (exception is SecurityException))
return Catalog.GetString("You do not have the permissions necessary to open the
file.");
else if ((exception is ArgumentNullException) || (exception is ArgumentException) ||
(exception is NotSupportedException) || (exception is PathTooLongException))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]