diff options
author | Thanasis Antoniou | 2019-06-17 23:22:22 +0300 |
---|---|---|
committer | Thanasis Antoniou | 2019-06-18 00:10:36 +0300 |
commit | 2a43f71ee2e407dbb64b1b9010d719215637fa9a (patch) | |
tree | ae58bddb1468b8bd599ce690c0f7137950fcbdae /devtools/create_bladerunner/subtitles/common | |
parent | a060d35418e27aa6af7eaf45aca78d2b993e1561 (diff) | |
download | scummvm-rg350-2a43f71ee2e407dbb64b1b9010d719215637fa9a.tar.gz scummvm-rg350-2a43f71ee2e407dbb64b1b9010d719215637fa9a.tar.bz2 scummvm-rg350-2a43f71ee2e407dbb64b1b9010d719215637fa9a.zip |
DEVTOOLS: BLADERUNNER: Quick guide for transcriptions
Also minor improvements in the python scripts
Made audio links working again with LibreOffice Calc and added a subtitles version sheet in the python script that creates the Excel document and the audio links
Diffstat (limited to 'devtools/create_bladerunner/subtitles/common')
-rw-r--r-- | devtools/create_bladerunner/subtitles/common/subtlsVersTextResource.py | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/devtools/create_bladerunner/subtitles/common/subtlsVersTextResource.py b/devtools/create_bladerunner/subtitles/common/subtlsVersTextResource.py new file mode 100644 index 0000000000..a372bab1a5 --- /dev/null +++ b/devtools/create_bladerunner/subtitles/common/subtlsVersTextResource.py @@ -0,0 +1,44 @@ +#!/usr/bin/env python +# -*- coding: UTF-8 -*- +# + +my_module_version = "1.00" +my_module_name = "subtlsVersTextResource" + +# Template for SBTLVERS.TRE sheet's values ((row 2 and below) +SBTLVERS_TEXT_RESOURCE_TUPLE_LIST = [ + (0, "ScummVM Team", "Credits"), + (1, "2", "Version (an incremental number)"), + (2, "##:##:## ##/##/####", "Placeholder – Date of compilation (HH:mm:ss dd/mm/yyyy)"), + (3, "EFIGS", "Placeholder – Language mode") + ] +# +# +# +class sbtlVersTextResource: + m_traceModeEnabled = True + # traceModeEnabled is bool to enable more printed debug messages + def __init__(self, traceModeEnabled = True): + self.m_traceModeEnabled = traceModeEnabled + return + + def printSbtlVersTemplate(self): + for (idTre, textTre) in SBTLVERS_TEXT_RESOURCE_TUPLE_LIST: + print "%s\t%s" % (idTre, textTre) + return + + def getSbtlVersEntriesList(self): + return SBTLVERS_TEXT_RESOURCE_TUPLE_LIST + +if __name__ == '__main__': + # main() + print "[Debug] Running %s as main module" % (my_module_name) + traceModeEnabled = False + sbtlVersTRInstance = sbtlVersTextResource(traceModeEnabled) + sbtlVersTRInstance.printSbtlVersTemplate() + +else: + #debug + #print "[Debug] Running %s imported from another module" % (my_module_name) + pass +
\ No newline at end of file |