[gnome-music/gnome-3-10] Correctly use gettext call
- From: Friedel Wolff <fwolff src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/gnome-3-10] Correctly use gettext call
- Date: Fri, 25 Oct 2013 07:19:48 +0000 (UTC)
commit cf2878f18e8f569e7cb4848b664482dca7cb9461
Author: Friedel Wolff <friedel translate org za>
Date: Wed Oct 23 21:31:08 2013 +0200
Correctly use gettext call
Variable interpolation must happen on the result of the gettext call.
gnomemusic/view.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnomemusic/view.py b/gnomemusic/view.py
index 217def6..2a3a926 100644
--- a/gnomemusic/view.py
+++ b/gnomemusic/view.py
@@ -291,7 +291,7 @@ class Empty(Stack):
music_folder_path = GLib.get_user_special_dir(GLib.USER_DIRECTORY_MUSIC)
widget = builder.get_object('container')
label = builder.get_object('label1')
- label.set_label(_("No Music found!\n Put some files into the folder %s" %music_folder_path))
+ label.set_label(_("No Music found!\n Put some files into the folder %s") % music_folder_path)
self.add(widget)
self.show_all()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]