[gnome-games] retro: Don't translate a message that won't be user-facing



commit f22cd0f2a18e1edfab8720fdf9c9be7c9d90b3da
Author: Mathieu Bridon <bochecha daitauha fr>
Date:   Sun Aug 14 17:04:12 2016 +0200

    retro: Don't translate a message that won't be user-facing
    
    https://bugzilla.gnome.org/show_bug.cgi?id=769938

 src/retro/retro-runner.vala |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/retro/retro-runner.vala b/src/retro/retro-runner.vala
index bcaa25b..2160619 100644
--- a/src/retro/retro-runner.vala
+++ b/src/retro/retro-runner.vala
@@ -387,7 +387,8 @@ public class Games.RetroRunner : Object, Runner {
                        warning ("Unexpected serialization data size: got %lu, expected %lu\n", data.length, 
expected_size);
 
                if (!core.unserialize (data))
-                       throw new RetroError.COULDNT_LOAD_SNAPSHOT (_("Couldn't load snapshot."));
+                       /* Not translated as this is not presented to the user */
+                       throw new RetroError.COULDNT_LOAD_SNAPSHOT ("Could not load snapshot");
        }
 
        private string get_screenshot_path () throws Error {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]