diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-09-24 16:00:22 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-09-24 16:00:22 +0300 |
commit | 53f0596cfd6060cd63cc8e6f92f981672da97ee2 (patch) | |
tree | 313eaa75bf3311e368678bac70871d2059abc14a /po/compile.py | |
parent | 446df26adb969dcb4dd9cf5e171fbb9453a8e27c (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-x | po/compile.py | 4 |
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): | |||
101 | def compile_string(msg_id, msg_str): | 101 | def 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 | |||
106 | os.chdir(os.path.dirname(__file__)) | ||
105 | 107 | ||
106 | if MODE == 'compile': | 108 | if MODE == 'compile': |
107 | BASE_STRINGS = {} | 109 | BASE_STRINGS = {} |