diff options
author | Jan Holesovsky <kendy@suse.cz> | 2011-01-04 17:44:06 +0100 |
---|---|---|
committer | Jan Holesovsky <kendy@suse.cz> | 2011-01-04 17:44:06 +0100 |
commit | 33b8a59561c43b16af55460f3e300effb59869d0 (patch) | |
tree | 216f8e1fc051715a9fc6f7639160220514d501d8 /helpcontent2/to-wiki | |
parent | 235058fe486fe22a1d2158219e5020da37756040 (diff) |
wikihelp: Convert also $PRODUCTNAME into {{ProductName}}.
Diffstat (limited to 'helpcontent2/to-wiki')
-rwxr-xr-x | helpcontent2/to-wiki/getalltitles.py | 4 | ||||
-rwxr-xr-x | helpcontent2/to-wiki/wikiconv2.py | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/helpcontent2/to-wiki/getalltitles.py b/helpcontent2/to-wiki/getalltitles.py index b9fb989416..f1167830f6 100755 --- a/helpcontent2/to-wiki/getalltitles.py +++ b/helpcontent2/to-wiki/getalltitles.py @@ -26,6 +26,7 @@ def make_unique(title): replace_text_list = [ ["$[officename]",""], # to fit both LibreOffice and BrOffice ["%PRODUCTNAME",""], # to fit both LibreOffice and BrOffice + ["$PRODUCTNAME",""], # to fit both LibreOffice and BrOffice ['"+"',"Plus"], ['"*"',"Star"], ['"-"',"Minus"], @@ -43,7 +44,8 @@ replace_text_list = [ replace_readable_list = [ ["$[officename]","{{ProductName}}"], - ["%PRODUCTNAME","{{ProductName}}"] + ["%PRODUCTNAME","{{ProductName}}"], + ["$PRODUCTNAME","{{ProductName}}"] ] modules_list = [ diff --git a/helpcontent2/to-wiki/wikiconv2.py b/helpcontent2/to-wiki/wikiconv2.py index f74687b446..87d0d45770 100755 --- a/helpcontent2/to-wiki/wikiconv2.py +++ b/helpcontent2/to-wiki/wikiconv2.py @@ -114,7 +114,8 @@ section_id_mapping = \ # text snippets that we need to convert replace_text_list = \ [["$[officename]", "{{ProductName}}"], - ["%PRODUCTNAME", "{{ProductName}}"] + ["%PRODUCTNAME", "{{ProductName}}"], + ["$PRODUCTNAME", "{{ProductName}}"] ] def load_hid_lst(): |