forked from upstream-mirrors/OpenTracks
1988337598
* Making registration finer-grained so we only listen to the data we really need. * Moving the system listener registration to an external class (for testability and readability) * Adding a unit test (not yet complete) * Adding documention and cleaning up comments Still many things TODO: * Allow pausing of registrations * Add pause/resume to onPause/onResume of activities * Move sampling logic out of the hub * Optimize data reloading when display preferences change * (maybe) move the data hub and related classes to the "content" package
21 lines
320 B
Python
21 lines
320 B
Python
'''
|
|
Module which prompts the user for translations and saves them.
|
|
|
|
TODO: implement
|
|
|
|
@author: Rodrigo Damazio
|
|
'''
|
|
|
|
class Translator(object):
|
|
'''
|
|
classdocs
|
|
'''
|
|
|
|
def __init__(self, language):
|
|
'''
|
|
Constructor
|
|
'''
|
|
self._language = language
|
|
|
|
def Translate(self, string_names):
|
|
print string_names |