ScummVM is a program which allows you to run a wide variety of classic graphical point-and-click adventure games and role-playing games, provided you already have their data files. The clever part about this: ScummVM just replaces the executables shipped with the game, allowing you to play them on systems for which they were never designed!
I18N: 1 of 3 paragraph of ScummVM description in *nix distributions
Currently, ScummVM supports a huge library of adventures with over 250 games in total. It supports many classics published by legendary studios like LucasArts, Sierra On-Line, Revolution Software, Cyan, Inc. and Westwood Studios.
I18N: 2 of 3 paragraph of ScummVM description in *nix distributions
Next to ground-breaking titles like the Monkey Island series, Broken Sword, Myst, Blade Runner and countless other games you will find some really obscure adventures and truly hidden gems to explore.
I18N: 3 of 3 paragraph of ScummVM description in *nix distributions
' + parx + '
\n' first_translation = False parx_translations = parx_translations.rstrip('\n') return parx_translations def substitute_parx_translations(x, parx_translations, xml): pattern = r'I18N: 1 of 3 paragraph of ScummVM description in \*nix distributions<\/p>' if (x == 2): pattern = r'
I18N: 2 of 3 paragraph of ScummVM description in \*nix distributions<\/p>' elif (x == 3): pattern = r'
I18N: 3 of 3 paragraph of ScummVM description in \*nix distributions<\/p>' appdata_xml = re.sub(pattern, parx_translations, xml) return appdata_xml def get_po_files(): po_file_names = [] for filename in os.listdir("../po/"): if filename.endswith(".po"): po_file_names.append(filename) po_file_names.sort() return po_file_names def main(): po_file_names = get_po_files() summary_translations = get_summary_translations(po_file_names) xml = substitute_summary_translations( summary_translations, appdata_xml_template) par1_translations = get_parx_translations(1, po_file_names) xml = substitute_parx_translations(1, par1_translations, xml) par2_translations = get_parx_translations(2, po_file_names) xml = substitute_parx_translations(2, par2_translations, xml) par3_translations = get_parx_translations(3, po_file_names) xml = substitute_parx_translations(3, par3_translations, xml) # write to scummvm.appdata.xml file with open("../dists/scummvm.appdata.xml", "w") as f: f.write(xml) if __name__ == '__main__': main()