equal
deleted
inserted
replaced
18 |
18 |
19 Use xgettext like normal to extract strings marked as translatable and |
19 Use xgettext like normal to extract strings marked as translatable and |
20 join the message cataloges to get the final catalog. |
20 join the message cataloges to get the final catalog. |
21 """ |
21 """ |
22 |
22 |
23 import os, sys, inspect |
23 from __future__ import absolute_import |
|
24 |
|
25 import inspect |
|
26 import os |
|
27 import sys |
24 |
28 |
25 |
29 |
26 def escape(s): |
30 def escape(s): |
27 # The order is important, the backslash must be escaped first |
31 # The order is important, the backslash must be escaped first |
28 # since the other replacements introduce new backslashes |
32 # since the other replacements introduce new backslashes |