- page = page.replace ("""-- SKELETON FILE --
-When you actually translate this file, please remove these lines as
-well as all `UNTRANSLATED NODE: IGNORE ME' lines.""", """@c -- SKELETON FILE --""")
- page = page.replace ('UNTRANSLATED NODE: IGNORE ME', "@c UNTRANSLATED NODE: IGNORE ME")
- includes = [whitespaces.sub ('', f) for f in include_re.findall (page)]
+ page = page.replace ("""@c -- SKELETON FILE --
+""", '')
+ page = page.replace ('UNTRANSLATED NODE: IGNORE ME', '@untranslated')
+ page = untranslated_node_re.sub ('\\1 @c external\\2', page)
+ includes = include_re.findall (page)