[gnome-games] ui: Fix some typos
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] ui: Fix some typos
- Date: Thu, 9 Mar 2017 09:41:43 +0000 (UTC)
commit 74d4fa71e51df91c745d3df370a91d74d2fe6de1
Author: Adrien Plazas <kekun plazas laposte net>
Date: Thu Mar 9 10:28:49 2017 +0100
ui: Fix some typos
https://bugzilla.gnome.org/show_bug.cgi?id=779780
src/retro/retro-core-source.vala | 6 +++---
src/ui/application-window.vala | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/retro/retro-core-source.vala b/src/retro/retro-core-source.vala
index 64c43c3..a004ded 100644
--- a/src/retro/retro-core-source.vala
+++ b/src/retro/retro-core-source.vala
@@ -71,7 +71,7 @@ public class Games.RetroCoreSource : Object {
var firmware_path = core_descriptor.get_firmware_path (firmware);
var firmware_file = firmware_dir.get_child (firmware_path);
if (!firmware_file.query_exists ())
- throw new RetroError.FIRMWARE_NOT_FOUND (_("This games requires the %s firmware file
to run."), firmware_file.get_path ());
+ throw new RetroError.FIRMWARE_NOT_FOUND (_("This game requires the %s firmware file
to run."), firmware_file.get_path ());
var has_md5 = core_descriptor.has_firmware_md5 (firmware);
var has_sha512 = core_descriptor.has_firmware_sha512 (firmware);
@@ -88,13 +88,13 @@ public class Games.RetroCoreSource : Object {
if (has_md5) {
var md5 = core_descriptor.get_firmware_md5 (firmware);
if (Checksum.compute_for_bytes (ChecksumType.MD5, bytes) != md5)
- throw new RetroError.FIRMWARE_NOT_FOUND (_("This games requires the %s
firmware file with a MD5 fingerprint of %s to run."), firmware_file.get_path (), md5);
+ throw new RetroError.FIRMWARE_NOT_FOUND (_("This game requires the %s
firmware file with a MD5 fingerprint of %s to run."), firmware_file.get_path (), md5);
}
if (has_sha512) {
var sha512 = core_descriptor.get_firmware_sha512 (firmware);
if (Checksum.compute_for_bytes (ChecksumType.SHA512, bytes) != sha512)
- throw new RetroError.FIRMWARE_NOT_FOUND (_("This games requires the %s
firmware file with a SHA-512 fingerprint of %s to run."), firmware_file.get_path (), sha512);
+ throw new RetroError.FIRMWARE_NOT_FOUND (_("This game requires the %s
firmware file with a SHA-512 fingerprint of %s to run."), firmware_file.get_path (), sha512);
}
}
}
diff --git a/src/ui/application-window.vala b/src/ui/application-window.vala
index 3e8d57d..aaf09df 100644
--- a/src/ui/application-window.vala
+++ b/src/ui/application-window.vala
@@ -280,7 +280,7 @@ private class Games.ApplicationWindow : Gtk.ApplicationWindow {
catch (Error e) {
warning (e.message);
reset_display_page ();
- display_box.display_running_game_failed (game, _("An unexpected error occured."));
+ display_box.display_running_game_failed (game, _("An unexpected error occurred."));
return null;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]