diff options
-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(): |