From 455205013611f7a8a403eed8307434d19b5d48f2 Mon Sep 17 00:00:00 2001
From: Sayamindu Dasgupta <sayamindu@gmail.com>
Date: Tue, 9 Feb 2010 17:41:10 +0530
Subject: Clean up docstring
---
src/sugar/activity/i18n.py | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/src/sugar/activity/i18n.py b/src/sugar/activity/i18n.py
index d235a55..865928a 100644
a
|
b
|
def _extract_modification_time(filepath): |
95 | 95 | |
96 | 96 | |
97 | 97 | def get_locale_path(bundle_id): |
98 | | """ Gets the locale path, the directory where the preferred |
| 98 | """ Returns the locale path, which is the directory where the preferred |
99 | 99 | MO file is located. |
100 | 100 | |
101 | | bundle_id -- The bundle id of the activity in question |
| 101 | The preferred MO file is the one with the latest translation. |
102 | 102 | |
103 | | The preferred MO file is the one with the latest |
104 | | translation. |
| 103 | @type bundle_id: string |
| 104 | @param bundle_id: The bundle id of the activity in question |
| 105 | @rtype: string |
| 106 | @return: the preferred locale path |
105 | 107 | """ |
106 | 108 | |
107 | 109 | # Note: We pre-assign weights to the directories so that if no translations |