From 455205013611f7a8a403eed8307434d19b5d48f2 Mon Sep 17 00:00:00 2001 From: Sayamindu Dasgupta Date: Tue, 9 Feb 2010 17:41:10 +0530 Subject: [PATCH] Clean up docstring --- src/sugar/activity/i18n.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/sugar/activity/i18n.py b/src/sugar/activity/i18n.py index d235a554..865928a6 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