예제 #1
0
def createConfigurationForEnglishForSwahili():
    configObject = courseConfiguration()
    configObject.projectName = englishForSwahiliProjectName
    configObject.unitNameList = englishForSwahiliUnitNameList
    configObject.languageDict = languageDictForSwahili
    configObject.lessonOrder = unitMapEnglishForSwahili
    configObject.unitMap = unitMapEnglishForSwahili
    configObject.unitObjectives = englishForSwahiliUnitObjectives
    configObject.unitNumbers = swahiliUnitNumbers
    configObject.lessonToList = swahiliLessonNameToListNameMap
    configObject.isESLTrue = isESLTrueForESLSwahili
    configObject.unitNumberToNames = configObject.createUnitNumberToNames(swahiliUnitList)
    configObject.isTranslit = isTranslitForESLSwahili
    return configObject
예제 #2
0
def createConfigurationForEnglishForThai():
    configObject = courseConfiguration()
    configObject.projectName = englishForThaiProjectName
    configObject.unitNameList = englishForThaiUnitNameList
    configObject.languageDict = languageDictEnglishForThai
    configObject.lessonOrder = unitMapEnglishForThai  # englishForIndonesianLessonOrder
    configObject.unitMap = unitMapEnglishForThai
    configObject.unitObjectives = englishForThaiUnitObjectives
    configObject.unitNumbers = unitNumbersEnglishForThai
    configObject.lessonToList = lessonNameToListNameMapEnglishForThai
    configObject.isESLTrue = isESLTrueEnglishForThai
    configObject.unitNumberToNames = configObject.createUnitNumberToNames(unitListEnglishForThai)
    configObject.isTranslit = isTranslitEnglishForThai
    return configObject
예제 #3
0
def createConfigurationForEnglishForSwahili():
    configObject = courseConfiguration()
    configObject.projectName = englishForSwahiliProjectName
    configObject.unitNameList = englishForSwahiliUnitNameList
    configObject.languageDict = languageDictForSwahili
    configObject.lessonOrder = unitMapEnglishForSwahili
    configObject.unitMap = unitMapEnglishForSwahili
    configObject.unitObjectives = englishForSwahiliUnitObjectives
    configObject.unitNumbers = swahiliUnitNumbers
    configObject.lessonToList = swahiliLessonNameToListNameMap
    configObject.isESLTrue = isESLTrueForESLSwahili
    configObject.unitNumberToNames = configObject.createUnitNumberToNames(
        swahiliUnitList)
    configObject.isTranslit = isTranslitForESLSwahili
    return configObject
예제 #4
0
def createConfigurationForEnglishForThai():
    configObject = courseConfiguration()
    configObject.projectName = englishForThaiProjectName
    configObject.unitNameList = englishForThaiUnitNameList
    configObject.languageDict = languageDictEnglishForThai
    configObject.lessonOrder = unitMapEnglishForThai  #englishForIndonesianLessonOrder
    configObject.unitMap = unitMapEnglishForThai
    configObject.unitObjectives = englishForThaiUnitObjectives
    configObject.unitNumbers = unitNumbersEnglishForThai
    configObject.lessonToList = lessonNameToListNameMapEnglishForThai
    configObject.isESLTrue = isESLTrueEnglishForThai
    configObject.unitNumberToNames = configObject.createUnitNumberToNames(
        unitListEnglishForThai)
    configObject.isTranslit = isTranslitEnglishForThai
    return configObject
def createSVCConfiguration():
    """
    takes the above information and builds a course object for the rest of the scripts

    :return: a filled out course object
    """
    configObject = courseConfiguration()
    configObject.projectName = projectName
    configObject.unitNameList = unitNameList
    configObject.languageDict = languageDict
    configObject.unitMap = unitMap
    configObject.unitObjectives = unitObjectives
    configObject.lessonOrder = lessonOrder
    configObject.unitNumbers = configObject.createUnitNumbers(unitNameList)
    configObject.lessonToList = lessonNameToListNameMap
    configObject.isESLTrue = isESLTrue
    configObject.unitNumberToNames = configObject.createUnitNumberToNames(unitNameList)
    configObject.isTranslit = isTranslit
    return configObject
def createSVCConfiguration():
    """
    takes the above information and builds a course object for the rest of the scripts

    :return: a filled out course object
    """
    configObject = courseConfiguration()
    configObject.projectName = projectName
    configObject.unitNameList = unitNameList
    configObject.languageDict = languageDict
    configObject.unitMap = unitMap
    configObject.unitObjectives = unitObjectives
    configObject.lessonOrder = lessonOrder
    configObject.unitNumbers = configObject.createUnitNumbers(unitNameList)
    configObject.lessonToList = lessonNameToListNameMap
    configObject.isESLTrue = isESLTrue
    configObject.unitNumberToNames = configObject.createUnitNumberToNames(
        unitNameList)
    configObject.isTranslit = isTranslit
    return configObject