[gcompris] minor, translated string change
- From: Bruno Coudoin <bcoudoin src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gcompris] minor, translated string change
- Date: Sun, 26 Jan 2014 12:01:45 +0000 (UTC)
commit b7e01dcca5e563c09c23f6cc8db8ea7a2a5a2080
Author: Bruno Coudoin <bruno coudoin gcompris net>
Date: Sun Jan 26 12:58:41 2014 +0100
minor, translated string change
change to be easier to translated with a %s.
src/login-activity/login.py | 10 ++++------
1 files changed, 4 insertions(+), 6 deletions(-)
---
diff --git a/src/login-activity/login.py b/src/login-activity/login.py
index 7c5c7f0..7c042da 100644
--- a/src/login-activity/login.py
+++ b/src/login-activity/login.py
@@ -97,19 +97,17 @@ class Gcompris_login:
self.rootitem = goocanvas.Group(parent = self.gcomprisBoard.canvas.get_root_item())
# Display the profile name
- x = gcompris.BOARD_WIDTH-100
- y = 20.0
- text = _("Profile: ") + (Prop.profile.name if Prop.profile else "")
+ text = _("Profile: %s") % (Prop.profile.name if Prop.profile else "")
# Profile name
goocanvas.Text(
parent = self.rootitem,
- x= x,
- y= y,
+ x= gcompris.BOARD_WIDTH - 10,
+ y= gcompris.BOARD_HEIGHT - 30,
text= text,
fill_color="white",
font=gcompris.skin.get_font("gcompris/board/small"),
- anchor = gtk.ANCHOR_CENTER
+ anchor = gtk.ANCHOR_EAST
)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]