~dholbach/help-app/passworde-typo-fix

« back to all changes in this revision

Viewing changes to edit-here/translations.py

  • Committer: Daniel Holbach
  • Date: 2015-03-17 15:08:17 UTC
  • mfrom: (96.1.1 help.1430735-1)
  • Revision ID: daniel.holbach@canonical.com-20150317150817-xd1uz32gym806f7z
mergedĀ lp:~dholbach/help-app/1430735-pt1

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
except:
30
30
    require('python3-markdown')
31
31
 
32
 
from pelicanconf import PATH, MD_EXTENSIONS
 
32
from pelicanconf import PATH, MD_EXTENSIONS, META_TAGS
33
33
 
34
34
# This defines how complete we expect translations to be before we
35
35
# generate HTML from them. Needs to be string.
40
40
    ('zh_TW', 'zh-hant'),
41
41
)
42
42
 
43
 
META_TAGS = ['[TOC]']
44
 
 
45
43
MD_MAGIC_FILE_TYPES = [
46
44
    'ASCII text',
47
45
    'UTF-8 Unicode text',
48
46
    'UTF-8 Unicode text, with very long lines',
49
 
    ]
 
47
]
50
48
 
51
49
 
52
50
def _temp_write_markdown(fn):