[kupfer] gwibber: Add translator comments to clarify meaning
- From: Ulrik Sverdrup <usverdrup src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [kupfer] gwibber: Add translator comments to clarify meaning
- Date: Mon, 7 Mar 2011 15:56:41 +0000 (UTC)
commit d2fb40bccb23f4f1ab3a32bbd9e00830e4169550
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date: Mon Mar 7 16:55:58 2011 +0100
gwibber: Add translator comments to clarify meaning
Reported by Daniel Mustieles
Launchpad-bug: https://bugs.launchpad.net/kupfer/+bug/730675
kupfer/plugin/gwibber.py | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/kupfer/plugin/gwibber.py b/kupfer/plugin/gwibber.py
index 6b3aa03..fd8b599 100644
--- a/kupfer/plugin/gwibber.py
+++ b/kupfer/plugin/gwibber.py
@@ -94,6 +94,7 @@ class Account(Leaf):
def __init__(self, account, service_name, show_content=True):
Leaf.__init__(self, account['id'], service_name)
self._show_content = show_content
+ # TRANS: Account description, similar to "John on Identi.ca"
self._description = _("%(user)s on %(service)s") % {
'user': account.get('site_display_name') or account['username'],
'service': account['service']}
@@ -146,6 +147,9 @@ class Message(TextLeaf):
self._is_my_msg = bool(msg['sender']['is_me'])
sender = unicode(msg['sender'].get('name') or msg['sender']['nick'])
date = unicode_strftime('%c', time.localtime(msg['time']))
+ # TRANS: Gwibber Message description
+ # TRANS: Similar to "John May 5 2011 11:40 on Identi.ca"
+ # TRANS: the %(user)s and similar tokens must be unchanged
self._description = _("%(user)s %(when)s on %(where)s") % {
'user': sender, 'when': date, 'where': service['name']}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]