summaryrefslogtreecommitdiff
path: root/po/compile.py
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-09-24 16:00:22 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-09-24 16:00:22 +0300
commit53f0596cfd6060cd63cc8e6f92f981672da97ee2 (patch)
tree313eaa75bf3311e368678bac70871d2059abc14a /po/compile.py
parent446df26adb969dcb4dd9cf5e171fbb9453a8e27c (diff)
Bookmark folders
The user can now create bookmark folders, and drag bookmarks into them. Folders can also be nested. The bookmark sorting menu item sorts inside the chosen folder/root. Remote bookmark sources appear also as folders, although they cannot be sorted/edited. IssueID #339
Diffstat (limited to 'po/compile.py')
-rwxr-xr-xpo/compile.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/po/compile.py b/po/compile.py
index 178342a6..2b0273b6 100755
--- a/po/compile.py
+++ b/po/compile.py
@@ -101,7 +101,9 @@ def parse_po(src):
101def compile_string(msg_id, msg_str): 101def compile_string(msg_id, msg_str):
102 return msg_id.encode('utf-8') + bytes([0]) + \ 102 return msg_id.encode('utf-8') + bytes([0]) + \
103 msg_str.encode('utf-8') + bytes([0]) 103 msg_str.encode('utf-8') + bytes([0])
104 104
105
106os.chdir(os.path.dirname(__file__))
105 107
106if MODE == 'compile': 108if MODE == 'compile':
107 BASE_STRINGS = {} 109 BASE_STRINGS = {}