diff options
author | Sayamindu Dasgupta <sayamindu@gmail.com> | 2010-02-09 12:11:10 (GMT) |
---|---|---|
committer | Sayamindu Dasgupta <sayamindu@gmail.com> | 2010-02-09 12:11:10 (GMT) |
commit | 455205013611f7a8a403eed8307434d19b5d48f2 (patch) | |
tree | 6398896359699a24698515b2cd6233536ddedcc5 | |
parent | 1817caf30f16712c59475db2af98030f9456cebf (diff) |
Clean up docstring
-rw-r--r-- | 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/src/sugar/activity/i18n.py +++ b/src/sugar/activity/i18n.py @@ -95,13 +95,15 @@ def _extract_modification_time(filepath): def get_locale_path(bundle_id): - """ Gets the locale path, the directory where the preferred + """ Returns the locale path, which is the directory where the preferred MO file is located. - bundle_id -- The bundle id of the activity in question + The preferred MO file is the one with the latest translation. - The preferred MO file is the one with the latest - translation. + @type bundle_id: string + @param bundle_id: The bundle id of the activity in question + @rtype: string + @return: the preferred locale path """ # Note: We pre-assign weights to the directories so that if no translations |