lib/gettor/filters.py
def doPackageHacks(packageName, locale):
    """If someone wants one of the localizable packages, add language 
       suffix. This isn't nice because we're hard-coding package names here
       Attention: This needs to correspond to the  packages in packages.py
    """
    if packageName == "tor-browser-bundle" \
           or packageName == "tor-im-browser-bundle" \
           or packageName == "linux-browser-bundle-i386" \
           or packageName == "linux-browser-bundle-x86_64":
        # "tor-browser-bundle" => "tor-browser-bundle_de"
        packageName += "_" + locale

    return packageName
If someone wants one of the localizable packages, add language 
       suffix. This isn't nice because we're hard-coding package names here
       Attention: This needs to correspond to the  packages in packages.py
    
If someone wants one of the localizable packages, add language
suffix. This isn't nice because we're hard-coding package names here
Attention: This needs to correspond to the  packages in packages.py
If someone wants one of the localizable packages add language suffix . This isn ' t nice because we ' re hard - coding package names here Attention : This needs to correspond to the packages in packages . py
def doPackageHacks(packageName, locale):
    if packageName == "tor-browser-bundle" \
           or packageName == "tor-im-browser-bundle" \
           or packageName == "linux-browser-bundle-i386" \
           or packageName == "linux-browser-bundle-x86_64":
        packageName += "_" + locale
    return packageName
def doPackageHacks ( packageName , locale ) : if packageName == "tor-browser-bundle" or packageName == "tor-im-browser-bundle" or packageName == "linux-browser-bundle-i386" or packageName == "linux-browser-bundle-x86_64" : packageName += "_" + locale return packageName
If someone wants one of the localizable packages, add language
suffix.
If someone wants one of the localizable packages add language suffix .
"""If someone wants one of the localizable packages, add language 
       suffix. This isn't nice because we're hard-coding package names here
       Attention: This needs to correspond to the  packages in packages.py
    """ # "tor-browser-bundle" => "tor-browser-bundle_de"
packageName
locale