[gnome-nibbles] Translate errors and add translators comments
- From: Iulian Radu <iulianradu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-nibbles] Translate errors and add translators comments
- Date: Mon, 26 Oct 2015 00:14:57 +0000 (UTC)
commit ab3288a5fa634d47f4b01b4eebf73f72bb0605d6
Author: Iulian Radu <iulian radu67 gmail com>
Date: Mon Jun 29 00:09:09 2015 +0300
Translate errors and add translators comments
src/nibbles-view.vala | 18 ++++++++++++------
1 files changed, 12 insertions(+), 6 deletions(-)
---
diff --git a/src/nibbles-view.vala b/src/nibbles-view.vala
index 30aaab1..f345f21 100644
--- a/src/nibbles-view.vala
+++ b/src/nibbles-view.vala
@@ -67,11 +67,13 @@ public class NibblesView : GtkClutter.Embed
}
catch (Clutter.TextureError e)
{
- error ("Failed to load textures: %s", e.message);
+ /* Fatal console error when the background texture could not be loaded. */
+ error (_("Nibbles failed to load texture: %s"), filename);
}
catch (Error e)
{
- error ("Failed to load textures: %s", e.message);
+ /* Fatal console error when the background texture could not be loaded. */
+ error (_("Nibbles failed to load texture: %s"), filename);
}
worm_actors = new Gee.HashMap<Worm, WormActor> ();
@@ -413,11 +415,13 @@ public class NibblesView : GtkClutter.Embed
}
catch (Clutter.TextureError e)
{
- error ("Failed to set texture: %s", e.message);
+ /* Fatal console error when the a worm's texture could not be set. */
+ error (_("Nibbles failed to set texture: %s"), filename);
}
catch (Error e)
{
- error ("Failed to set texture: %s", e.message);
+ /* Fatal console error when the a worm's texture could not be set. */
+ error (_("Nibbles failed to set texture: %s"), filename);
}
actor.set_size (game.tile_size, game.tile_size);
@@ -471,11 +475,13 @@ public class NibblesView : GtkClutter.Embed
}
catch (Clutter.TextureError e)
{
- error ("Failed to set texture: %s", e.message);
+ /* Fatal console error when the a worm's texture could not be set. */
+ error (_("Nibbles failed to set texture: %s"), filename);
}
catch (Error e)
{
- error ("Failed to set texture: %s", e.message);
+ /* Fatal console error when the a worm's texture could not be set. */
+ error (_("Nibbles failed to set texture: %s"), filename);
}
actor.get_position (out x, out y);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]