gnome-applets r10938 - in trunk/invest-applet: . invest
- From: callum svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-applets r10938 - in trunk/invest-applet: . invest
- Date: Wed, 27 Aug 2008 04:57:47 +0000 (UTC)
Author: callum
Date: Wed Aug 27 04:57:47 2008
New Revision: 10938
URL: http://svn.gnome.org/viewvc/gnome-applets?rev=10938&view=rev
Log:
Add some context comments for translators. Bug 548697.
Modified:
trunk/invest-applet/ChangeLog
trunk/invest-applet/invest/quotes.py
Modified: trunk/invest-applet/invest/quotes.py
==============================================================================
--- trunk/invest-applet/invest/quotes.py (original)
+++ trunk/invest-applet/invest/quotes.py Wed Aug 27 04:57:47 2008
@@ -98,8 +98,10 @@
self.last_updated = datetime.datetime.now()
tooltip = []
if self.simple_quotes_count > 0:
+ # Translators: This is share-market jargon. It is the percentage change in the price of a stock. The %% gets changed to a single percent sign and the %+.2f gets replaced with the value of the change.
tooltip.append(_('Quotes average change %%: %+.2f%%') % self.avg_simple_quotes_change)
- if self.positions_count > 0:
+ if self.positions_count > 0:e
+ # Translators: This is share-market jargon. It refers to the total difference between the current price and purchase price for all the shares put together. i.e. How much money would be earned if they were sold right now.
tooltip.append(_('Positions balance: %+.2f') % self.positions_balance)
tooltip.append(_('Updated at %s') % self.last_updated.strftime("%H:%M"))
self.set_tooltip_callback('\n'.join(tooltip))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]