From 455205013611f7a8a403eed8307434d19b5d48f2 Mon Sep 17 00:00:00 2001 From: Sayamindu Dasgupta Date: Tue, 09 Feb 2010 12:11:10 +0000 Subject: Clean up docstring --- 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 -- cgit v0.9.1