Changeset 275
- Timestamp:
- 06/03/11 10:58:15 (2 years ago)
- Location:
- branches
- Files:
-
- 14 modified
-
mbutscher/work/Consts.py (modified) (1 diff)
-
mbutscher/work/WikidPad.pot (modified) (18 diffs)
-
mbutscher/work/extensions/wikidPadParser/WikidPadParser.py (modified) (8 diffs)
-
mbutscher/work/lib/pwiki/PersonalWikiFrame.py (modified) (2 diffs)
-
mbutscher/work/lib/pwiki/PluginManager.py (modified) (6 diffs)
-
mbutscher/work/lib/pwiki/WikiPyparsing.py (modified) (6 diffs)
-
mbutscher/work/lib/pwiki/WikiTxtCtrl.py (modified) (3 diffs)
-
mbutscher/work/wikidpad_unicode.iss (modified) (1 diff)
-
stable-2.1/Consts.py (modified) (1 diff)
-
stable-2.1/WikidPad.pot (modified) (17 diffs)
-
stable-2.1/lib/pwiki/PersonalWikiFrame.py (modified) (2 diffs)
-
stable-2.1/lib/pwiki/PluginManager.py (modified) (8 diffs)
-
stable-2.1/lib/pwiki/WikiTxtCtrl.py (modified) (3 diffs)
-
stable-2.1/wikidpad_unicode.iss (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/mbutscher/work/Consts.py
r274 r275 24 24 # (2, 0, 300, 0) is 2.0final 25 25 26 VERSION_TUPLE = ("wikidPad", 2, 2, 104, 0)27 VERSION_STRING = "wikidPad 2.2beta04 "26 VERSION_TUPLE = ("wikidPad", 2, 2, 104, 1) 27 VERSION_STRING = "wikidPad 2.2beta04_1" 28 28 HOMEPAGE = u"http://wikidpad.sourceforge.net" 29 29 -
branches/mbutscher/work/WikidPad.pot
r274 r275 6 6 msgstr "" 7 7 "Project-Id-Version: PACKAGE VERSION\n" 8 "POT-Creation-Date: 2011-0 5-28 12:12\n"8 "POT-Creation-Date: 2011-06-03 08:57\n" 9 9 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 10 10 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 1474 1474 1475 1475 #: WikidPad.xrc:0 lib\pwiki\DiffGui.py:436 lib\pwiki\PersonalWikiFrame.py:1338 1476 #: lib\pwiki\WikiTxtCtrl.py:38 111476 #: lib\pwiki\WikiTxtCtrl.py:3820 1477 1477 msgid "Copy" 1478 1478 msgstr "" 1479 1479 1480 1480 #: WikidPad.xrc:0 lib\pwiki\DiffGui.py:437 lib\pwiki\PersonalWikiFrame.py:1347 1481 #: lib\pwiki\WikiTxtCtrl.py:38 141481 #: lib\pwiki\WikiTxtCtrl.py:3823 1482 1482 msgid "Select All" 1483 1483 msgstr "" 1484 1484 1485 #: WikidPad.xrc:0 lib\pwiki\DiffGui.py:439 lib\pwiki\WikiTxtCtrl.py:383 01485 #: WikidPad.xrc:0 lib\pwiki\DiffGui.py:439 lib\pwiki\WikiTxtCtrl.py:3839 1486 1486 msgid "Close Tab" 1487 1487 msgstr "" … … 1501 1501 #: WikidPad.xrc:0 lib\pwiki\FileCleanup.py:529 lib\pwiki\FileCleanup.py:531 1502 1502 #: lib\pwiki\FileCleanup.py:687 lib\pwiki\FileCleanup.py:1265 1503 #: lib\pwiki\WikiTxtCtrl.py:38 131503 #: lib\pwiki\WikiTxtCtrl.py:3822 1504 1504 msgid "Delete" 1505 1505 msgstr "" … … 1533 1533 1534 1534 #: WikidPad.xrc:0 lib\pwiki\PersonalWikiFrame.py:1313 1535 #: lib\pwiki\WikiTxtCtrl.py:38 081535 #: lib\pwiki\WikiTxtCtrl.py:3817 1536 1536 msgid "Undo" 1537 1537 msgstr "" 1538 1538 1539 1539 #: WikidPad.xrc:0 lib\pwiki\PersonalWikiFrame.py:1317 1540 #: lib\pwiki\WikiTxtCtrl.py:38 091540 #: lib\pwiki\WikiTxtCtrl.py:3818 1541 1541 msgid "Redo" 1542 1542 msgstr "" 1543 1543 1544 1544 #: WikidPad.xrc:0 lib\pwiki\PersonalWikiFrame.py:1333 1545 #: lib\pwiki\WikiTxtCtrl.py:381 01545 #: lib\pwiki\WikiTxtCtrl.py:3819 1546 1546 msgid "Cut" 1547 1547 msgstr "" 1548 1548 1549 1549 #: WikidPad.xrc:0 lib\pwiki\PersonalWikiFrame.py:1342 1550 #: lib\pwiki\WikiTxtCtrl.py:38 121550 #: lib\pwiki\WikiTxtCtrl.py:3821 1551 1551 msgid "Paste" 1552 1552 msgstr "" … … 1600 1600 msgstr "" 1601 1601 1602 #: WikidPadStarter.py:207 lib\pwiki\PersonalWikiFrame.py:513 61602 #: WikidPadStarter.py:207 lib\pwiki\PersonalWikiFrame.py:5139 1603 1603 #: lib\pwiki\SearchAndReplaceDialogs.py:724 1604 1604 #: lib\pwiki\SearchAndReplaceDialogs.py:1008 … … 1778 1778 msgstr "" 1779 1779 1780 #: extensions\wikidPadParser\WikidPadParser.py:1627 1780 #: extensions\wikidPadParser\WikidPadParser.py:1649 1781 #: extensions\wikidPadParser\WikidPadParser.py:1676 1782 msgid "This is a footnote" 1783 msgstr "" 1784 1781 1785 #: extensions\wikidPadParser\WikidPadParser.py:1654 1782 msgid "This is a footnote" 1783 msgstr "" 1784 1785 #: extensions\wikidPadParser\WikidPadParser.py:1632 1786 #: extensions\wikidPadParser\WikidPadParser.py:1659 1786 #: extensions\wikidPadParser\WikidPadParser.py:1681 1787 1787 msgid "This is syntactically not a wiki word" 1788 1788 msgstr "" 1789 1789 1790 #: extensions\wikidPadParser\WikidPadParser.py:22 761790 #: extensions\wikidPadParser\WikidPadParser.py:2298 1791 1791 msgid "++ Wiki Settings\n" 1792 1792 "\n" … … 1941 1941 msgstr "" 1942 1942 1943 #: lib\pwiki\AdditionalDialogs.py:1241 lib\pwiki\PersonalWikiFrame.py:472 21943 #: lib\pwiki\AdditionalDialogs.py:1241 lib\pwiki\PersonalWikiFrame.py:4725 1944 1944 msgid "Exporting" 1945 1945 msgstr "" 1946 1946 1947 #: lib\pwiki\AdditionalDialogs.py:1243 lib\pwiki\PersonalWikiFrame.py:472 41947 #: lib\pwiki\AdditionalDialogs.py:1243 lib\pwiki\PersonalWikiFrame.py:4727 1948 1948 msgid "Preparing" 1949 1949 msgstr "" … … 1953 1953 msgstr "" 1954 1954 1955 #: lib\pwiki\AdditionalDialogs.py:1279 lib\pwiki\PersonalWikiFrame.py:466 51955 #: lib\pwiki\AdditionalDialogs.py:1279 lib\pwiki\PersonalWikiFrame.py:4668 1956 1956 msgid "Select Export Directory" 1957 1957 msgstr "" … … 1965 1965 msgstr "" 1966 1966 1967 #: lib\pwiki\AdditionalDialogs.py:1325 lib\pwiki\PersonalWikiFrame.py:46 891968 #: lib\pwiki\PersonalWikiFrame.py:470 5lib\pwiki\Printing.py:1831967 #: lib\pwiki\AdditionalDialogs.py:1325 lib\pwiki\PersonalWikiFrame.py:4692 1968 #: lib\pwiki\PersonalWikiFrame.py:4708 lib\pwiki\Printing.py:183 1969 1969 msgid "No real wiki word selected as root" 1970 1970 msgstr "" … … 2706 2706 msgstr "" 2707 2707 2708 #: lib\pwiki\MainAreaPanel.py:665 lib\pwiki\WikiTxtCtrl.py:234 22708 #: lib\pwiki\MainAreaPanel.py:665 lib\pwiki\WikiTxtCtrl.py:2341 2709 2709 msgid "This can only be done for the page of a wiki word" 2710 2710 msgstr "" 2711 2711 2712 #: lib\pwiki\MainAreaPanel.py:666 lib\pwiki\WikiTxtCtrl.py:234 32712 #: lib\pwiki\MainAreaPanel.py:666 lib\pwiki\WikiTxtCtrl.py:2342 2713 2713 msgid "Not a wiki page" 2714 2714 msgstr "" … … 3102 3102 msgstr "" 3103 3103 3104 #: lib\pwiki\PersonalWikiFrame.py:942 lib\pwiki\PersonalWikiFrame.py:570 23104 #: lib\pwiki\PersonalWikiFrame.py:942 lib\pwiki\PersonalWikiFrame.py:5705 3105 3105 msgid "Exit" 3106 3106 msgstr "" … … 3127 3127 3128 3128 #: lib\pwiki\PersonalWikiFrame.py:1194 lib\pwiki\PersonalWikiFrame.py:1924 3129 #: lib\pwiki\PersonalWikiFrame.py:2443 lib\pwiki\PersonalWikiFrame.py:385 63130 #: lib\pwiki\PersonalWikiFrame.py:494 2 lib\pwiki\PersonalWikiFrame.py:52793129 #: lib\pwiki\PersonalWikiFrame.py:2443 lib\pwiki\PersonalWikiFrame.py:3859 3130 #: lib\pwiki\PersonalWikiFrame.py:4945 lib\pwiki\PersonalWikiFrame.py:5282 3131 3131 msgid "Error while starting new WikidPad instance" 3132 3132 msgstr "" … … 3184 3184 msgstr "" 3185 3185 3186 #: lib\pwiki\PersonalWikiFrame.py:1371 lib\pwiki\PersonalWikiFrame.py:425 33186 #: lib\pwiki\PersonalWikiFrame.py:1371 lib\pwiki\PersonalWikiFrame.py:4256 3187 3187 msgid "Set at Page" 3188 3188 msgstr "" … … 3791 3791 3792 3792 #: lib\pwiki\PersonalWikiFrame.py:2086 lib\pwiki\PersonalWikiFrame.py:2087 3793 #: lib\pwiki\PersonalWikiFrame.py:4 3983793 #: lib\pwiki\PersonalWikiFrame.py:4401 3794 3794 msgid "Delete Wiki Word" 3795 3795 msgstr "" … … 3995 3995 msgstr "" 3996 3996 3997 #: lib\pwiki\PersonalWikiFrame.py:38 283997 #: lib\pwiki\PersonalWikiFrame.py:3831 3998 3998 msgid "Couldn't start file" 3999 3999 msgstr "" 4000 4000 4001 #: lib\pwiki\PersonalWikiFrame.py:383 64001 #: lib\pwiki\PersonalWikiFrame.py:3839 4002 4002 msgid "Couldn't open wiki: %s" 4003 4003 msgstr "" 4004 4004 4005 #: lib\pwiki\PersonalWikiFrame.py:38 874005 #: lib\pwiki\PersonalWikiFrame.py:3890 4006 4006 msgid "Mod.: %s" 4007 4007 msgstr "" 4008 4008 4009 #: lib\pwiki\PersonalWikiFrame.py:38 884009 #: lib\pwiki\PersonalWikiFrame.py:3891 4010 4010 msgid "; Crea.: %s" 4011 4011 msgstr "" 4012 4012 4013 #: lib\pwiki\PersonalWikiFrame.py:392 54013 #: lib\pwiki\PersonalWikiFrame.py:3928 4014 4014 msgid "Parent nodes of '%s'" 4015 4015 msgstr "" 4016 4016 4017 #: lib\pwiki\PersonalWikiFrame.py:39 374017 #: lib\pwiki\PersonalWikiFrame.py:3940 4018 4018 msgid "Parentless nodes" 4019 4019 msgstr "" 4020 4020 4021 #: lib\pwiki\PersonalWikiFrame.py:39 494021 #: lib\pwiki\PersonalWikiFrame.py:3952 4022 4022 msgid "Child nodes of '%s'" 4023 4023 msgstr "" 4024 4024 4025 #: lib\pwiki\PersonalWikiFrame.py:396 24025 #: lib\pwiki\PersonalWikiFrame.py:3965 4026 4026 msgid "Bookmarks" 4027 4027 msgstr "" 4028 4028 4029 #: lib\pwiki\PersonalWikiFrame.py:41 094029 #: lib\pwiki\PersonalWikiFrame.py:4112 4030 4030 msgid "Wiki: %s" 4031 4031 msgstr "" 4032 4032 4033 #: lib\pwiki\PersonalWikiFrame.py:42 484033 #: lib\pwiki\PersonalWikiFrame.py:4251 4034 4034 msgid "Set at Page: %s\t%s" 4035 4035 msgstr "" 4036 4036 4037 #: lib\pwiki\PersonalWikiFrame.py:426 44037 #: lib\pwiki\PersonalWikiFrame.py:4267 4038 4038 msgid "Error saving global configuration" 4039 4039 msgstr "" 4040 4040 4041 #: lib\pwiki\PersonalWikiFrame.py:427 54041 #: lib\pwiki\PersonalWikiFrame.py:4278 4042 4042 msgid "Error saving current configuration" 4043 4043 msgstr "" 4044 4044 4045 #: lib\pwiki\PersonalWikiFrame.py:4 2974045 #: lib\pwiki\PersonalWikiFrame.py:4300 4046 4046 msgid "No real wiki word selected to rename" 4047 4047 msgstr "" 4048 4048 4049 #: lib\pwiki\PersonalWikiFrame.py:430 14049 #: lib\pwiki\PersonalWikiFrame.py:4304 4050 4050 msgid "The scratch pad cannot be renamed." 4051 4051 msgstr "" 4052 4052 4053 #: lib\pwiki\PersonalWikiFrame.py:432 54053 #: lib\pwiki\PersonalWikiFrame.py:4328 4054 4054 msgid "Description:" 4055 4055 msgstr "" 4056 4056 4057 #: lib\pwiki\PersonalWikiFrame.py:432 64057 #: lib\pwiki\PersonalWikiFrame.py:4329 4058 4058 msgid "Store new version" 4059 4059 msgstr "" 4060 4060 4061 #: lib\pwiki\PersonalWikiFrame.py:434 04061 #: lib\pwiki\PersonalWikiFrame.py:4343 4062 4062 msgid "Do you want to delete all stored versions?" 4063 4063 msgstr "" 4064 4064 4065 #: lib\pwiki\PersonalWikiFrame.py:434 14065 #: lib\pwiki\PersonalWikiFrame.py:4344 4066 4066 msgid "Delete All Versions" 4067 4067 msgstr "" 4068 4068 4069 #: lib\pwiki\PersonalWikiFrame.py:438 64069 #: lib\pwiki\PersonalWikiFrame.py:4389 4070 4070 msgid "The scratch pad cannot be deleted" 4071 4071 msgstr "" 4072 4072 4073 #: lib\pwiki\PersonalWikiFrame.py:439 04073 #: lib\pwiki\PersonalWikiFrame.py:4393 4074 4074 msgid "No real wiki word to delete" 4075 4075 msgstr "" 4076 4076 4077 #: lib\pwiki\PersonalWikiFrame.py:4 3974077 #: lib\pwiki\PersonalWikiFrame.py:4400 4078 4078 msgid "Are you sure you want to delete wiki word '%s'?" 4079 4079 msgstr "" 4080 4080 4081 #: lib\pwiki\PersonalWikiFrame.py:44 284081 #: lib\pwiki\PersonalWikiFrame.py:4431 4082 4082 msgid "No real wiki word to modify" 4083 4083 msgstr "" 4084 4084 4085 #: lib\pwiki\PersonalWikiFrame.py:444 44085 #: lib\pwiki\PersonalWikiFrame.py:4447 4086 4086 msgid "Replace text by WikiWord:" 4087 4087 msgstr "" 4088 4088 4089 #: lib\pwiki\PersonalWikiFrame.py:444 54089 #: lib\pwiki\PersonalWikiFrame.py:4448 4090 4090 msgid "Replace by Wiki Word" 4091 4091 msgstr "" 4092 4092 4093 #: lib\pwiki\PersonalWikiFrame.py:445 44093 #: lib\pwiki\PersonalWikiFrame.py:4457 4094 4094 msgid "'%s' is an invalid wiki word." 4095 4095 msgstr "" 4096 4096 4097 #: lib\pwiki\PersonalWikiFrame.py:44 694097 #: lib\pwiki\PersonalWikiFrame.py:4472 4098 4098 msgid "Wiki word %s exists already\n" 4099 4099 "Would you like to append to the word?" 4100 4100 msgstr "" 4101 4101 4102 #: lib\pwiki\PersonalWikiFrame.py:447 24102 #: lib\pwiki\PersonalWikiFrame.py:4475 4103 4103 msgid "Word exists" 4104 4104 msgstr "" 4105 4105 4106 #: lib\pwiki\PersonalWikiFrame.py:473 04106 #: lib\pwiki\PersonalWikiFrame.py:4733 4107 4107 msgid "Error on export" 4108 4108 msgstr "" 4109 4109 4110 #: lib\pwiki\PersonalWikiFrame.py:480 24110 #: lib\pwiki\PersonalWikiFrame.py:4805 4111 4111 msgid "Are you sure you want to start a full rebuild of wiki in background?" 4112 4112 msgstr "" 4113 4113 4114 #: lib\pwiki\PersonalWikiFrame.py:480 44114 #: lib\pwiki\PersonalWikiFrame.py:4807 4115 4115 msgid "Initiate update" 4116 4116 msgstr "" 4117 4117 4118 #: lib\pwiki\PersonalWikiFrame.py:481 1 lib\pwiki\PersonalWikiFrame.py:48124118 #: lib\pwiki\PersonalWikiFrame.py:4814 lib\pwiki\PersonalWikiFrame.py:4815 4119 4119 msgid " Initiating update " 4120 4120 msgstr "" 4121 4121 4122 #: lib\pwiki\PersonalWikiFrame.py:482 64122 #: lib\pwiki\PersonalWikiFrame.py:4829 4123 4123 msgid "Error initiating update" 4124 4124 msgstr "" 4125 4125 4126 #: lib\pwiki\PersonalWikiFrame.py:483 54126 #: lib\pwiki\PersonalWikiFrame.py:4838 4127 4127 msgid "Are you sure you want to rebuild this wiki? You may want to backup your data first!" 4128 4128 msgstr "" 4129 4129 4130 #: lib\pwiki\PersonalWikiFrame.py:48 374130 #: lib\pwiki\PersonalWikiFrame.py:4840 4131 4131 msgid "Rebuild wiki" 4132 4132 msgstr "" 4133 4133 4134 #: lib\pwiki\PersonalWikiFrame.py:484 4 lib\pwiki\PersonalWikiFrame.py:48454134 #: lib\pwiki\PersonalWikiFrame.py:4847 lib\pwiki\PersonalWikiFrame.py:4848 4135 4135 msgid " Rebuilding wiki " 4136 4136 msgstr "" 4137 4137 4138 #: lib\pwiki\PersonalWikiFrame.py:486 04138 #: lib\pwiki\PersonalWikiFrame.py:4863 4139 4139 msgid "Error rebuilding wiki" 4140 4140 msgstr "" 4141 4141 4142 #: lib\pwiki\PersonalWikiFrame.py:495 24142 #: lib\pwiki\PersonalWikiFrame.py:4955 4143 4143 msgid "This could overwrite pages in the database. Continue?" 4144 4144 msgstr "" 4145 4145 4146 #: lib\pwiki\PersonalWikiFrame.py:495 34146 #: lib\pwiki\PersonalWikiFrame.py:4956 4147 4147 msgid "Import pagefiles" 4148 4148 msgstr "" 4149 4149 4150 #: lib\pwiki\PersonalWikiFrame.py:505 54150 #: lib\pwiki\PersonalWikiFrame.py:5058 4151 4151 msgid "No list of strings passed to \"listmcstr\" dialog" 4152 4152 msgstr "" 4153 4153 4154 #: lib\pwiki\PersonalWikiFrame.py:50 784154 #: lib\pwiki\PersonalWikiFrame.py:5081 4155 4155 msgid "Unknown dialog type" 4156 4156 msgstr "" 4157 4157 4158 #: lib\pwiki\PersonalWikiFrame.py:52 47 lib\pwiki\PersonalWikiFrame.py:52654159 #: lib\pwiki\PersonalWikiFrame.py:529 04158 #: lib\pwiki\PersonalWikiFrame.py:5250 lib\pwiki\PersonalWikiFrame.py:5268 4159 #: lib\pwiki\PersonalWikiFrame.py:5293 4160 4160 msgid "Choose a Wiki to open" 4161 4161 msgstr "" 4162 4162 4163 #: lib\pwiki\PersonalWikiFrame.py:530 44163 #: lib\pwiki\PersonalWikiFrame.py:5307 4164 4164 msgid "Name for new wiki (must be in the form of a WikiWord):" 4165 4165 msgstr "" 4166 4166 4167 #: lib\pwiki\PersonalWikiFrame.py:530 54167 #: lib\pwiki\PersonalWikiFrame.py:5308 4168 4168 msgid "Create New Wiki" 4169 4169 msgstr "" 4170 4170 4171 #: lib\pwiki\PersonalWikiFrame.py:532 04171 #: lib\pwiki\PersonalWikiFrame.py:5323 4172 4172 msgid "Directory to store new wiki" 4173 4173 msgstr "" 4174 4174 4175 #: lib\pwiki\PersonalWikiFrame.py:533 14175 #: lib\pwiki\PersonalWikiFrame.py:5334 4176 4176 #: lib\pwiki\wikidata\WikiDataManager.py:1420 4177 4177 #: lib\pwiki\wikidata\WikiDataManager.py:1476 … … 4179 4179 msgstr "" 4180 4180 4181 #: lib\pwiki\PersonalWikiFrame.py:563 54181 #: lib\pwiki\PersonalWikiFrame.py:5638 4182 4182 msgid "Clipboard Catcher at Cursor" 4183 4183 msgstr "" 4184 4184 4185 #: lib\pwiki\PersonalWikiFrame.py:56 394185 #: lib\pwiki\PersonalWikiFrame.py:5642 4186 4186 msgid "Clipboard Catcher off" 4187 4187 msgstr "" 4188 4188 4189 #: lib\pwiki\PersonalWikiFrame.py:570 04189 #: lib\pwiki\PersonalWikiFrame.py:5703 4190 4190 msgid "Restore" 4191 4191 msgstr "" 4192 4192 4193 #: lib\pwiki\PersonalWikiFrame.py:570 14193 #: lib\pwiki\PersonalWikiFrame.py:5704 4194 4194 msgid "Save" 4195 4195 msgstr "" … … 4362 4362 msgstr "" 4363 4363 4364 #: lib\pwiki\WikiHtmlView.py:558 lib\pwiki\WikiTxtCtrl.py:217 94364 #: lib\pwiki\WikiHtmlView.py:558 lib\pwiki\WikiTxtCtrl.py:2178 4365 4365 msgid "Folder does not exist" 4366 4366 msgstr "" 4367 4367 4368 4368 #: lib\pwiki\WikiHtmlView.py:650 lib\pwiki\WikiHtmlViewIE.py:494 4369 #: lib\pwiki\WikiHtmlViewWK.py:968 lib\pwiki\WikiTxtCtrl.py:33 554369 #: lib\pwiki\WikiHtmlViewWK.py:968 lib\pwiki\WikiTxtCtrl.py:3364 4370 4370 msgid "Link to page: %s" 4371 4371 msgstr "" … … 4439 4439 msgstr "" 4440 4440 4441 #: lib\pwiki\WikiTxtCtrl.py:127 14441 #: lib\pwiki\WikiTxtCtrl.py:1270 4442 4442 msgid "Select Template" 4443 4443 msgstr "" 4444 4444 4445 #: lib\pwiki\WikiTxtCtrl.py:127 34445 #: lib\pwiki\WikiTxtCtrl.py:1272 4446 4446 msgid "Select Template (deletes current content!)" 4447 4447 msgstr "" 4448 4448 4449 #: lib\pwiki\WikiTxtCtrl.py:137 94449 #: lib\pwiki\WikiTxtCtrl.py:1378 4450 4450 msgid "Use Template" 4451 4451 msgstr "" 4452 4452 4453 #: lib\pwiki\WikiTxtCtrl.py:220 9 lib\pwiki\WikiTxtCtrl.py:22484453 #: lib\pwiki\WikiTxtCtrl.py:2208 lib\pwiki\WikiTxtCtrl.py:2247 4454 4454 msgid "File does not exist" 4455 4455 msgstr "" 4456 4456 4457 #: lib\pwiki\WikiTxtCtrl.py:2214 4458 msgid "Are you sure you want to delete the file: %s" 4459 msgstr "" 4460 4457 4461 #: lib\pwiki\WikiTxtCtrl.py:2215 4458 msgid "Are you sure you want to delete the file: %s"4459 msgstr ""4460 4461 #: lib\pwiki\WikiTxtCtrl.py:22164462 4462 msgid "Delete File" 4463 4463 msgstr "" 4464 4464 4465 #: lib\pwiki\WikiTxtCtrl.py:2255 4466 msgid "Enter new name" 4467 msgstr "" 4468 4465 4469 #: lib\pwiki\WikiTxtCtrl.py:2256 4466 msgid "Enter new name"4467 msgstr ""4468 4469 #: lib\pwiki\WikiTxtCtrl.py:22574470 4470 msgid "Rename File" 4471 4471 msgstr "" 4472 4472 4473 #: lib\pwiki\WikiTxtCtrl.py:226 74473 #: lib\pwiki\WikiTxtCtrl.py:2266 4474 4474 msgid "Target is not a file" 4475 4475 msgstr "" 4476 4476 4477 #: lib\pwiki\WikiTxtCtrl.py:2270 4478 msgid "Target file exists already. Overwrite?" 4479 msgstr "" 4480 4477 4481 #: lib\pwiki\WikiTxtCtrl.py:2271 4478 msgid "Target file exists already. Overwrite?"4479 msgstr ""4480 4481 #: lib\pwiki\WikiTxtCtrl.py:22724482 4482 msgid "Overwrite File" 4483 4483 msgstr "" 4484 4484 4485 #: lib\pwiki\WikiTxtCtrl.py:236 44485 #: lib\pwiki\WikiTxtCtrl.py:2363 4486 4486 msgid "Set in menu \"Wiki\", item \"Options...\", options page \"Security\", \n" 4487 4487 "item \"Script security\" an appropriate value to execute a script." 4488 4488 msgstr "" 4489 4489 4490 #: lib\pwiki\WikiTxtCtrl.py:236 74490 #: lib\pwiki\WikiTxtCtrl.py:2366 4491 4491 msgid "Script execution disabled" 4492 4492 msgstr "" 4493 4493 4494 #: lib\pwiki\WikiTxtCtrl.py:243 94494 #: lib\pwiki\WikiTxtCtrl.py:2438 4495 4495 msgid "\n" 4496 4496 "Exception: %s" 4497 4497 msgstr "" 4498 4498 4499 #: lib\pwiki\WikiTxtCtrl.py:314 74499 #: lib\pwiki\WikiTxtCtrl.py:3146 4500 4500 msgid "No more fields in this 'form' page" 4501 4501 msgstr "" 4502 4502 4503 #: lib\pwiki\WikiTxtCtrl.py:33 064503 #: lib\pwiki\WikiTxtCtrl.py:3315 4504 4504 msgid "Line: %d Col: %d Pos: %d" 4505 4505 msgstr "" 4506 4506 4507 #: lib\pwiki\WikiTxtCtrl.py:34 114507 #: lib\pwiki\WikiTxtCtrl.py:3420 4508 4508 msgid "Not a valid image" 4509 4509 msgstr "" 4510 4510 4511 #: lib\pwiki\WikiTxtCtrl.py:356 04511 #: lib\pwiki\WikiTxtCtrl.py:3569 4512 4512 msgid "Couldn't copy file" 4513 4513 msgstr "" 4514 4514 4515 #: lib\pwiki\WikiTxtCtrl.py:38 044515 #: lib\pwiki\WikiTxtCtrl.py:3813 4516 4516 msgid "Ignore" 4517 4517 msgstr "" 4518 4518 4519 #: lib\pwiki\WikiTxtCtrl.py:38 054519 #: lib\pwiki\WikiTxtCtrl.py:3814 4520 4520 msgid "Add Globally" 4521 4521 msgstr "" 4522 4522 4523 #: lib\pwiki\WikiTxtCtrl.py:38 064523 #: lib\pwiki\WikiTxtCtrl.py:3815 4524 4524 msgid "Add Locally" 4525 4525 msgstr "" 4526 4526 4527 #: lib\pwiki\WikiTxtCtrl.py:38 164527 #: lib\pwiki\WikiTxtCtrl.py:3825 4528 4528 msgid "Follow Link" 4529 4529 msgstr "" 4530 4530 4531 #: lib\pwiki\WikiTxtCtrl.py:38 174531 #: lib\pwiki\WikiTxtCtrl.py:3826 4532 4532 msgid "Follow Link New Tab" 4533 4533 msgstr "" 4534 4534 4535 #: lib\pwiki\WikiTxtCtrl.py:38 184535 #: lib\pwiki\WikiTxtCtrl.py:3827 4536 4536 msgid "Follow Link New Tab Backgrd." 4537 4537 msgstr "" 4538 4538 4539 #: lib\pwiki\WikiTxtCtrl.py:382 04539 #: lib\pwiki\WikiTxtCtrl.py:3829 4540 4540 msgid "Convert Absolute/Relative File URL" 4541 4541 msgstr "" 4542 4542 4543 #: lib\pwiki\WikiTxtCtrl.py:38 214543 #: lib\pwiki\WikiTxtCtrl.py:3830 4544 4544 msgid "Open Containing Folder" 4545 4545 msgstr "" 4546 4546 4547 #: lib\pwiki\WikiTxtCtrl.py:38 224547 #: lib\pwiki\WikiTxtCtrl.py:3831 4548 4548 msgid "Rename file" 4549 4549 msgstr "" 4550 4550 4551 #: lib\pwiki\WikiTxtCtrl.py:38 234551 #: lib\pwiki\WikiTxtCtrl.py:3832 4552 4552 msgid "Delete file" 4553 4553 msgstr "" 4554 4554 4555 #: lib\pwiki\WikiTxtCtrl.py:38 254555 #: lib\pwiki\WikiTxtCtrl.py:3834 4556 4556 msgid "Copy anchor URL to clipboard" 4557 4557 msgstr "" 4558 4558 4559 #: lib\pwiki\WikiTxtCtrl.py:38 274559 #: lib\pwiki\WikiTxtCtrl.py:3836 4560 4560 msgid "Other..." 4561 4561 msgstr "" 4562 4562 4563 #: lib\pwiki\WikiTxtCtrl.py:38 284563 #: lib\pwiki\WikiTxtCtrl.py:3837 4564 4564 msgid "Use Template..." 4565 4565 msgstr "" 4566 4566 4567 #: lib\pwiki\WikiTxtCtrl.py:38 324567 #: lib\pwiki\WikiTxtCtrl.py:3841 4568 4568 msgid "Show folding" 4569 4569 msgstr "" 4570 4570 4571 #: lib\pwiki\WikiTxtCtrl.py:38 334571 #: lib\pwiki\WikiTxtCtrl.py:3842 4572 4572 msgid "Show folding marks and allow folding" 4573 4573 msgstr "" 4574 4574 4575 #: lib\pwiki\WikiTxtCtrl.py:38 344575 #: lib\pwiki\WikiTxtCtrl.py:3843 4576 4576 msgid "&Toggle current folding" 4577 4577 msgstr "" 4578 4578 4579 #: lib\pwiki\WikiTxtCtrl.py:38 354579 #: lib\pwiki\WikiTxtCtrl.py:3844 4580 4580 msgid "Toggle folding of the current line" 4581 4581 msgstr "" 4582 4582 4583 #: lib\pwiki\WikiTxtCtrl.py:38 364583 #: lib\pwiki\WikiTxtCtrl.py:3845 4584 4584 msgid "&Unfold All" 4585 4585 msgstr "" 4586 4586 4587 #: lib\pwiki\WikiTxtCtrl.py:38 374587 #: lib\pwiki\WikiTxtCtrl.py:3846 4588 4588 msgid "Unfold everything in current editor" 4589 4589 msgstr "" 4590 4590 4591 #: lib\pwiki\WikiTxtCtrl.py:38 384591 #: lib\pwiki\WikiTxtCtrl.py:3847 4592 4592 msgid "&Fold All" 4593 4593 msgstr "" 4594 4594 4595 #: lib\pwiki\WikiTxtCtrl.py:38 394595 #: lib\pwiki\WikiTxtCtrl.py:3848 4596 4596 msgid "Fold everything in current editor" 4597 4597 msgstr "" -
branches/mbutscher/work/extensions/wikidPadParser/WikidPadParser.py
r274 r275 3 3 4 4 # Official parser plugin for wiki language "WikidPad default 2.0" 5 # Last modified (format YYYY-MM-DD): 2011-0 5-265 # Last modified (format YYYY-MM-DD): 2011-06-02 6 6 7 7 … … 158 158 todoContent = Forward().setResultsNameNoCopy("value") 159 159 titleContent = Forward().setResultsNameNoCopy("title") 160 160 characterAttributionContent = Forward().setResultsNameNoCopy("title") 161 161 162 162 whitespace = buildRegex(ur"[ \t]*") … … 198 198 italicsEnd = buildRegex(ur"_\b") 199 199 200 italics = italicsStart + c ontent + italicsEnd200 italics = italicsStart + characterAttributionContent + italicsEnd 201 201 italics = italics.setResultsNameNoCopy("italics").setName("italics") 202 202 … … 206 206 boldEnd = buildRegex(ur"\*") 207 207 208 bold = boldStart + c ontent + boldEnd208 bold = boldStart + characterAttributionContent + boldEnd 209 209 bold = bold.setResultsNameNoCopy("bold").setName("bold") 210 210 … … 1096 1096 endTokenInTable = endToken | newCell | newRow 1097 1097 1098 endTokenInTitle = endToken | buildRegex(ur"\n") 1099 1100 endTokenInCharacterAttribution = endToken | heading 1101 1102 1098 1103 1099 1104 # -------------------- Content definitions -------------------- … … 1110 1115 tableContentInCell << temp 1111 1116 1112 1113 1114 endTokenInTitle = endToken | buildRegex(ur"\n")1115 1117 1116 1118 … … 1142 1144 findMarkupInTodo = FindFirst([bold, italics, noExportSingleLine, 1143 1145 suppressHighlightingSingleLine, 1144 urlRef, attribute, insertion, escapedChar, footnote, wikiWord, # wikiWordNcc, wikiWordCc,1146 urlRef, attribute, insertion, escapedChar, footnote, wikiWord, 1145 1147 htmlTag, htmlEntity], endToken) 1146 1148 findMarkupInTodo = findMarkupInTodo.setPseudoParseAction( … … 1151 1153 todoContent << temp 1152 1154 oneLineContent << temp 1155 1156 1157 1158 findMarkupInCharacterAttribution = FindFirst([bold, italics, noExportSingleLine, 1159 suppressHighlightingSingleLine, urlRef, 1160 attribute, insertion, escapedChar, footnote, wikiWord, 1161 newLinesParagraph, newLineLineBreak, newLineWhitespace, 1162 todoEntry, anchorDef, preHtmlTag, htmlTag, 1163 htmlEntity, bulletEntry, unorderedList, numberEntry, orderedList, 1164 indentedText, table, preBlock, noExportMultipleLines, 1165 suppressHighlightingMultipleLines, equivalIndentation], 1166 endTokenInCharacterAttribution) 1167 findMarkupInCharacterAttribution = findMarkupInCharacterAttribution\ 1168 .setPseudoParseAction(pseudoActionFindMarkup) 1169 1170 temp = ZeroOrMore(NotAny(endTokenInCharacterAttribution) + 1171 findMarkupInCharacterAttribution) 1172 temp = temp.leaveWhitespace().parseWithTabs() 1173 characterAttributionContent << temp 1174 1153 1175 1154 1176 -
branches/mbutscher/work/lib/pwiki/PersonalWikiFrame.py
r274 r275 3601 3601 def openWikiPage(self, wikiWord, addToHistory=True, 3602 3602 forceTreeSyncFromRoot=False, forceReopen=False, **evtprops): 3603 if not self.requireReadAccess(): 3604 return 3605 3603 3606 try: 3604 3607 ## _prof.start() … … 3614 3617 self.getMainAreaPanel().showPresenter(dpp) 3615 3618 ## _prof.stop() 3616 except WikiFileNotFoundException, e:3619 except (WikiFileNotFoundException, IOError, OSError, DbAccessError), e: 3617 3620 self.lostAccess(e) 3618 3621 return None -
branches/mbutscher/work/lib/pwiki/PluginManager.py
r273 r275 70 70 def __init__(self, descriptor, functions): 71 71 self.descriptor = descriptor 72 self._ _functionNames = functions73 self._ _plugins = {}74 for f in self._ _functionNames:72 self._functionNames = functions 73 self._plugins = {} 74 for f in self._functionNames: 75 75 pluginlist = [] 76 self._ _plugins[f] = pluginlist77 helper = self._ _createHelper( pluginlist )76 self._plugins[f] = pluginlist 77 helper = self._createHelper( pluginlist ) 78 78 setattr(self,f, helper) 79 79 80 80 def getFunctionNames(self): 81 return self._ _functionNames81 return self._functionNames 82 82 83 83 def hasFunctionName(self, fctName): 84 return fctName in self._ _functionNames84 return fctName in self._functionNames 85 85 86 86 87 87 @staticmethod 88 def _ _createHelper(funcList):88 def _createHelper(funcList): 89 89 return lambda *args, **kwargs: [fun(*args, **kwargs) for fun in funcList] 90 90 … … 93 93 registered = False 94 94 if self.descriptor in module.WIKIDPAD_PLUGIN: 95 for f in self._ _functionNames:95 for f in self._functionNames: 96 96 if hasattr(module, f): 97 self._ _plugins[f].append(getattr(module,f))97 self._plugins[f].append(getattr(module,f)) 98 98 registered = True 99 99 if not registered: … … 104 104 105 105 # def deleteModule(self, module): 106 # for f in self._ _functionNames:106 # for f in self._functionNames: 107 107 # if hasattr(module, f): 108 # self._ _plugins[f].remove(getattr(module,f))108 # self._plugins[f].remove(getattr(module,f)) 109 109 110 110 … … 124 124 def __init__(self, descriptor, **wrappedFunctions): 125 125 self.descriptor = descriptor 126 self._ _functionNames = wrappedFunctions.keys()127 self._ _wrappedFunctions = wrappedFunctions128 self._ _plugins = {}129 for f in self._ _functionNames:126 self._functionNames = wrappedFunctions.keys() 127 self._wrappedFunctions = wrappedFunctions 128 self._plugins = {} 129 for f in self._functionNames: 130 130 pluginlist = [] # List containing either modules if wrappedFunctions[f] 131 131 # is not None or functions if wrappedFunctions[f] is None 132 self._ _plugins[f] = pluginlist133 helper = self._ _createHelper(wrappedFunctions[f], pluginlist)132 self._plugins[f] = pluginlist 133 helper = self._createHelper(wrappedFunctions[f], pluginlist) 134 134 setattr(self,f, helper) 135 135 136 136 def getFunctionNames(self): 137 return self._ _functionNames137 return self._functionNames 138 138 139 139 def hasFunctionName(self, fctName): 140 return fctName in self._ _functionNames140 return fctName in self._functionNames 141 141 142 142 143 143 @staticmethod 144 def _ _createHelper(wrapFct, list):144 def _createHelper(wrapFct, list): 145 145 if wrapFct is None or isinstance(wrapFct, (str, unicode)): 146 146 return lambda *args, **kwargs: [fun(*args, **kwargs) for fun in list] … … 151 151 152 152 def registerModule(self, module): 153 if self.descriptor in module.WIKIDPAD_PLUGIN: 154 for f in self.__functionNames: 155 if self.__wrappedFunctions[f] is None: 156 if hasattr(module, f): 157 self.__plugins[f].append(getattr(module,f)) 158 return True 159 else: 160 sys.stderr.write("plugin " + module.__name__ + " exposes " + 161 self.descriptor + 162 " but does not support any interface methods!") 163 return False 164 elif isinstance(self.__wrappedFunctions[f], (str, unicode)): 165 realF = self.__wrappedFunctions[f] 166 if hasattr(module, realF): 167 self.__plugins[f].append(getattr(module,realF)) 168 return True 169 else: 170 sys.stderr.write("plugin " + module.__name__ + " exposes " + 171 self.descriptor + 172 " but does not support any interface methods!") 173 return False 174 else: 175 self.__plugins[f].append(module) 176 return True 177 178 return False 153 if not self.descriptor in module.WIKIDPAD_PLUGIN: 154 return False 155 156 registered = False 157 for f in self._functionNames: 158 if self._wrappedFunctions[f] is None: 159 if hasattr(module, f): 160 self._plugins[f].append(getattr(module,f)) 161 registered = True 162 elif isinstance(self._wrappedFunctions[f], (str, unicode)): 163 realF = self._wrappedFunctions[f] 164 if hasattr(module, realF): 165 self._plugins[f].append(getattr(module,realF)) 166 registered = True 167 else: 168 self._plugins[f].append(module) 169 # An internal wrapper function doesn't count as "registered" 170 # registered = True 171 172 if not registered: 173 sys.stderr.write("plugin " + module.__name__ + " exposes " + 174 str(self.descriptor) + 175 " but does not support any interface methods!") 176 177 return registered 179 178 180 179 … … 182 181 class PluginAPIAggregation(object): 183 182 def __init__(self, *apis): 184 self._ _apis = apis183 self._apis = apis 185 184 186 185 fctNames = set() 187 for api in self._ _apis:186 for api in self._apis: 188 187 fctNames.update(api.getFunctionNames()) 189 188 190 189 for f in list(fctNames): 191 190 funcList = [getattr(api, f) for api in apis if api.hasFunctionName(f)] 192 setattr(self, f, PluginAPIAggregation._ _createHelper(funcList))191 setattr(self, f, PluginAPIAggregation._createHelper(funcList)) 193 192 194 193 195 194 @staticmethod 196 def _ _createHelper(funcList):195 def _createHelper(funcList): 197 196 return lambda *args, **kwargs: reduce(lambda a, b: a+list(b), 198 197 [fun(*args, **kwargs) for fun in funcList]) -
branches/mbutscher/work/lib/pwiki/WikiPyparsing.py
r247 r275 1804 1804 1805 1805 1806 class Empty(Token ):1806 class Empty(Token, NecessaryRegexProvider): 1807 1807 """An empty token, will always match.""" 1808 1808 def __init__( self ): … … 1811 1811 self.mayReturnEmpty = True 1812 1812 self.mayIndexError = False 1813 1814 def getRegex(self): 1815 return u"" 1816 1817 def isRegexComplete(self): 1818 return True 1813 1819 1814 1820 … … 1855 1861 return None 1856 1862 1857 def getRegex Mask(self):1863 def getRegexFlagsMask(self): 1858 1864 # Here is a case where a NOT SET regex flag is important 1859 1865 return re.IGNORECASE … … 2149 2155 return self.re 2150 2156 2151 def getRegex Mask(self):2157 def getRegexFlagsMask(self): 2152 2158 return self.flagsMask 2153 2159 … … 3183 3189 pseudoParseAction 3184 3190 If two expressions match, the first one listed is the one that will match. 3185 May be constructed using the '|' operator.3186 3191 """ 3187 3192 def __init__( self, exprs, endExpr ): … … 4462 4467 continue 4463 4468 4464 if isinstance(exp, FindFirst) and self.reMode == REMODE_SEARCH: 4469 if isinstance(exp, FindFirst) and self.reMode == \ 4470 RegexCombiner.REMODE_SEARCH: 4465 4471 subCombiner = exp.getRegexCombiner() 4466 4472 if subCombiner is None: -
branches/mbutscher/work/lib/pwiki/WikiTxtCtrl.py
r274 r275 30 30 from . import OsAbstract 31 31 32 from .WikiExceptions import WikiFileNotFoundException, \ 33 NotCurrentThreadException, NoPageAstException 32 from .WikiExceptions import * 34 33 35 34 from .SystemInfo import isUnicode, isOSX, isLinux, isWindows … … 3215 3214 return 3216 3215 3217 wikiPage.checkFileSignatureAndMarkDirty() 3216 try: 3217 wikiPage.checkFileSignatureAndMarkDirty() 3218 except (IOError, OSError, DbAccessError), e: 3219 self.presenter.getMainControl().lostAccess(e) 3220 3221 3218 3222 else: 3219 3223 def OnSetFocus(self, evt): … … 3228 3232 return 3229 3233 3230 wikiPage.checkFileSignatureAndMarkDirty() 3234 try: 3235 wikiPage.checkFileSignatureAndMarkDirty() 3236 except (IOError, OSError, DbAccessError), e: 3237 self.presenter.getMainControl().lostAccess(e) 3238 3239 3231 3240 3232 3241 -
branches/mbutscher/work/wikidpad_unicode.iss
r274 r275 51 51 Name: {app}\export 52 52 [Setup] 53 #define verStr "2.2beta04 "54 #define verNo "002.002.104.00 0"53 #define verStr "2.2beta04_1" 54 #define verNo "002.002.104.001" 55 55 56 56 SolidCompression=true -
branches/stable-2.1/Consts.py
r274 r275 24 24 # (2, 0, 300, 0) is 2.0final 25 25 26 VERSION_TUPLE = ("wikidPad", 2, 1, 204, 0)27 VERSION_STRING = "wikidPad 2.1rc04 "26 VERSION_TUPLE = ("wikidPad", 2, 1, 204, 1) 27 VERSION_STRING = "wikidPad 2.1rc04_1" 28 28 HOMEPAGE = u"http://wikidpad.sourceforge.net" 29 29 -
branches/stable-2.1/WikidPad.pot
r274 r275 6 6 msgstr "" 7 7 "Project-Id-Version: PACKAGE VERSION\n" 8 "POT-Creation-Date: 2011-0 5-28 12:05\n"8 "POT-Creation-Date: 2011-06-03 08:41\n" 9 9 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 10 10 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 1418 1418 1419 1419 #: WikidPad.xrc:0 lib\pwiki\DiffGui.py:434 lib\pwiki\PersonalWikiFrame.py:1267 1420 #: lib\pwiki\WikiTxtCtrl.py:35 291420 #: lib\pwiki\WikiTxtCtrl.py:3538 1421 1421 msgid "Copy" 1422 1422 msgstr "" 1423 1423 1424 1424 #: WikidPad.xrc:0 lib\pwiki\DiffGui.py:435 lib\pwiki\PersonalWikiFrame.py:1276 1425 #: lib\pwiki\WikiTxtCtrl.py:35 321425 #: lib\pwiki\WikiTxtCtrl.py:3541 1426 1426 msgid "Select All" 1427 1427 msgstr "" 1428 1428 1429 #: WikidPad.xrc:0 lib\pwiki\DiffGui.py:437 lib\pwiki\WikiTxtCtrl.py:35 461429 #: WikidPad.xrc:0 lib\pwiki\DiffGui.py:437 lib\pwiki\WikiTxtCtrl.py:3555 1430 1430 msgid "Close Tab" 1431 1431 msgstr "" … … 1460 1460 1461 1461 #: WikidPad.xrc:0 lib\pwiki\PersonalWikiFrame.py:1242 1462 #: lib\pwiki\WikiTxtCtrl.py:35 261462 #: lib\pwiki\WikiTxtCtrl.py:3535 1463 1463 msgid "Undo" 1464 1464 msgstr "" 1465 1465 1466 1466 #: WikidPad.xrc:0 lib\pwiki\PersonalWikiFrame.py:1246 1467 #: lib\pwiki\WikiTxtCtrl.py:35 271467 #: lib\pwiki\WikiTxtCtrl.py:3536 1468 1468 msgid "Redo" 1469 1469 msgstr "" 1470 1470 1471 1471 #: WikidPad.xrc:0 lib\pwiki\PersonalWikiFrame.py:1262 1472 #: lib\pwiki\WikiTxtCtrl.py:35 281472 #: lib\pwiki\WikiTxtCtrl.py:3537 1473 1473 msgid "Cut" 1474 1474 msgstr "" 1475 1475 1476 1476 #: WikidPad.xrc:0 lib\pwiki\PersonalWikiFrame.py:1271 1477 #: lib\pwiki\WikiTxtCtrl.py:353 01477 #: lib\pwiki\WikiTxtCtrl.py:3539 1478 1478 msgid "Paste" 1479 1479 msgstr "" … … 1515 1515 msgstr "" 1516 1516 1517 #: WikidPad.xrc:0 lib\pwiki\WikiTxtCtrl.py:35 311517 #: WikidPad.xrc:0 lib\pwiki\WikiTxtCtrl.py:3540 1518 1518 msgid "Delete" 1519 1519 msgstr "" … … 1531 1531 msgstr "" 1532 1532 1533 #: WikidPadStarter.py:204 lib\pwiki\PersonalWikiFrame.py:51 881533 #: WikidPadStarter.py:204 lib\pwiki\PersonalWikiFrame.py:5191 1534 1534 #: lib\pwiki\SearchAndReplaceDialogs.py:724 1535 1535 #: lib\pwiki\SearchAndReplaceDialogs.py:1008 … … 1852 1852 msgstr "" 1853 1853 1854 #: lib\pwiki\AdditionalDialogs.py:1322 lib\pwiki\PersonalWikiFrame.py:47 371854 #: lib\pwiki\AdditionalDialogs.py:1322 lib\pwiki\PersonalWikiFrame.py:4740 1855 1855 msgid "Exporting" 1856 1856 msgstr "" 1857 1857 1858 #: lib\pwiki\AdditionalDialogs.py:1324 lib\pwiki\PersonalWikiFrame.py:47 391858 #: lib\pwiki\AdditionalDialogs.py:1324 lib\pwiki\PersonalWikiFrame.py:4742 1859 1859 msgid "Preparing" 1860 1860 msgstr "" … … 1864 1864 msgstr "" 1865 1865 1866 #: lib\pwiki\AdditionalDialogs.py:1360 lib\pwiki\PersonalWikiFrame.py:468 21866 #: lib\pwiki\AdditionalDialogs.py:1360 lib\pwiki\PersonalWikiFrame.py:4685 1867 1867 msgid "Select Export Directory" 1868 1868 msgstr "" … … 1876 1876 msgstr "" 1877 1877 1878 #: lib\pwiki\AdditionalDialogs.py:1406 lib\pwiki\PersonalWikiFrame.py:470 61879 #: lib\pwiki\PersonalWikiFrame.py:472 2lib\pwiki\Printing.py:1821878 #: lib\pwiki\AdditionalDialogs.py:1406 lib\pwiki\PersonalWikiFrame.py:4709 1879 #: lib\pwiki\PersonalWikiFrame.py:4725 lib\pwiki\Printing.py:182 1880 1880 msgid "No real wiki word selected as root" 1881 1881 msgstr "" … … 2601 2601 msgstr "" 2602 2602 2603 #: lib\pwiki\MainAreaPanel.py:665 lib\pwiki\WikiTxtCtrl.py:217 82603 #: lib\pwiki\MainAreaPanel.py:665 lib\pwiki\WikiTxtCtrl.py:2177 2604 2604 msgid "This can only be done for the page of a wiki word" 2605 2605 msgstr "" 2606 2606 2607 #: lib\pwiki\MainAreaPanel.py:666 lib\pwiki\WikiTxtCtrl.py:217 92607 #: lib\pwiki\MainAreaPanel.py:666 lib\pwiki\WikiTxtCtrl.py:2178 2608 2608 msgid "Not a wiki page" 2609 2609 msgstr "" … … 2957 2957 msgstr "" 2958 2958 2959 #: lib\pwiki\PersonalWikiFrame.py:871 lib\pwiki\PersonalWikiFrame.py:574 62959 #: lib\pwiki\PersonalWikiFrame.py:871 lib\pwiki\PersonalWikiFrame.py:5749 2960 2960 msgid "Exit" 2961 2961 msgstr "" … … 2982 2982 2983 2983 #: lib\pwiki\PersonalWikiFrame.py:1123 lib\pwiki\PersonalWikiFrame.py:1870 2984 #: lib\pwiki\PersonalWikiFrame.py:2386 lib\pwiki\PersonalWikiFrame.py:37 772985 #: lib\pwiki\PersonalWikiFrame.py:498 3 lib\pwiki\PersonalWikiFrame.py:53232984 #: lib\pwiki\PersonalWikiFrame.py:2386 lib\pwiki\PersonalWikiFrame.py:3780 2985 #: lib\pwiki\PersonalWikiFrame.py:4986 lib\pwiki\PersonalWikiFrame.py:5326 2986 2986 msgid "Error while starting new WikidPad instance" 2987 2987 msgstr "" … … 3039 3039 msgstr "" 3040 3040 3041 #: lib\pwiki\PersonalWikiFrame.py:1300 lib\pwiki\PersonalWikiFrame.py:417 43041 #: lib\pwiki\PersonalWikiFrame.py:1300 lib\pwiki\PersonalWikiFrame.py:4177 3042 3042 msgid "Set at Page" 3043 3043 msgstr "" … … 3662 3662 3663 3663 #: lib\pwiki\PersonalWikiFrame.py:2032 lib\pwiki\PersonalWikiFrame.py:2033 3664 #: lib\pwiki\PersonalWikiFrame.py:44 193664 #: lib\pwiki\PersonalWikiFrame.py:4422 3665 3665 msgid "Delete Wiki Word" 3666 3666 msgstr "" … … 3866 3866 msgstr "" 3867 3867 3868 #: lib\pwiki\PersonalWikiFrame.py:37 493868 #: lib\pwiki\PersonalWikiFrame.py:3752 3869 3869 msgid "Couldn't start file" 3870 3870 msgstr "" 3871 3871 3872 #: lib\pwiki\PersonalWikiFrame.py:37 573872 #: lib\pwiki\PersonalWikiFrame.py:3760 3873 3873 msgid "Couldn't open wiki: %s" 3874 3874 msgstr "" 3875 3875 3876 #: lib\pwiki\PersonalWikiFrame.py:38 083876 #: lib\pwiki\PersonalWikiFrame.py:3811 3877 3877 msgid "Mod.: %s" 3878 3878 msgstr "" 3879 3879 3880 #: lib\pwiki\PersonalWikiFrame.py:38 093880 #: lib\pwiki\PersonalWikiFrame.py:3812 3881 3881 msgid "; Crea.: %s" 3882 3882 msgstr "" 3883 3883 3884 #: lib\pwiki\PersonalWikiFrame.py:384 63884 #: lib\pwiki\PersonalWikiFrame.py:3849 3885 3885 msgid "Parent nodes of '%s'" 3886 3886 msgstr "" 3887 3887 3888 #: lib\pwiki\PersonalWikiFrame.py:38 583888 #: lib\pwiki\PersonalWikiFrame.py:3861 3889 3889 msgid "Parentless nodes" 3890 3890 msgstr "" 3891 3891 3892 #: lib\pwiki\PersonalWikiFrame.py:387 03892 #: lib\pwiki\PersonalWikiFrame.py:3873 3893 3893 msgid "Child nodes of '%s'" 3894 3894 msgstr "" 3895 3895 3896 #: lib\pwiki\PersonalWikiFrame.py:388 33896 #: lib\pwiki\PersonalWikiFrame.py:3886 3897 3897 msgid "Bookmarks" 3898 3898 msgstr "" 3899 3899 3900 #: lib\pwiki\PersonalWikiFrame.py:403 03900 #: lib\pwiki\PersonalWikiFrame.py:4033 3901 3901 msgid "Wiki: %s" 3902 3902 msgstr "" 3903 3903 3904 #: lib\pwiki\PersonalWikiFrame.py:41 693904 #: lib\pwiki\PersonalWikiFrame.py:4172 3905 3905 msgid "Set at Page: %s\t%s" 3906 3906 msgstr "" 3907 3907 3908 #: lib\pwiki\PersonalWikiFrame.py:418 53908 #: lib\pwiki\PersonalWikiFrame.py:4188 3909 3909 msgid "Error saving global configuration" 3910 3910 msgstr "" 3911 3911 3912 #: lib\pwiki\PersonalWikiFrame.py:419 63912 #: lib\pwiki\PersonalWikiFrame.py:4199 3913 3913 msgid "Error saving current configuration" 3914 3914 msgstr "" 3915 3915 3916 #: lib\pwiki\PersonalWikiFrame.py:42 183916 #: lib\pwiki\PersonalWikiFrame.py:4221 3917 3917 msgid "No real wiki word selected to rename" 3918 3918 msgstr "" 3919 3919 3920 #: lib\pwiki\PersonalWikiFrame.py:422 23920 #: lib\pwiki\PersonalWikiFrame.py:4225 3921 3921 msgid "The scratch pad cannot be renamed." 3922 3922 msgstr "" 3923 3923 3924 #: lib\pwiki\PersonalWikiFrame.py:424 63924 #: lib\pwiki\PersonalWikiFrame.py:4249 3925 3925 msgid "Description:" 3926 3926 msgstr "" 3927 3927 3928 #: lib\pwiki\PersonalWikiFrame.py:42 473928 #: lib\pwiki\PersonalWikiFrame.py:4250 3929 3929 msgid "Store new version" 3930 3930 msgstr "" 3931 3931 3932 #: lib\pwiki\PersonalWikiFrame.py:426 13932 #: lib\pwiki\PersonalWikiFrame.py:4264 3933 3933 msgid "Do you want to delete all stored versions?" 3934 3934 msgstr "" 3935 3935 3936 #: lib\pwiki\PersonalWikiFrame.py:426 23936 #: lib\pwiki\PersonalWikiFrame.py:4265 3937 3937 msgid "Delete All Versions" 3938 3938 msgstr "" 3939 3939 3940 #: lib\pwiki\PersonalWikiFrame.py:44 073940 #: lib\pwiki\PersonalWikiFrame.py:4410 3941 3941 msgid "The scratch pad cannot be deleted" 3942 3942 msgstr "" 3943 3943 3944 #: lib\pwiki\PersonalWikiFrame.py:441 13944 #: lib\pwiki\PersonalWikiFrame.py:4414 3945 3945 msgid "No real wiki word to delete" 3946 3946 msgstr "" 3947 3947 3948 #: lib\pwiki\PersonalWikiFrame.py:44 183948 #: lib\pwiki\PersonalWikiFrame.py:4421 3949 3949 msgid "Are you sure you want to delete wiki word '%s'?" 3950 3950 msgstr "" 3951 3951 3952 #: lib\pwiki\PersonalWikiFrame.py:44 473952 #: lib\pwiki\PersonalWikiFrame.py:4450 3953 3953 msgid "No real wiki word to modify" 3954 3954 msgstr "" 3955 3955 3956 #: lib\pwiki\PersonalWikiFrame.py:446 33956 #: lib\pwiki\PersonalWikiFrame.py:4466 3957 3957 msgid "Replace text by WikiWord:" 3958 3958 msgstr "" 3959 3959 3960 #: lib\pwiki\PersonalWikiFrame.py:446 43960 #: lib\pwiki\PersonalWikiFrame.py:4467 3961 3961 msgid "Replace by Wiki Word" 3962 3962 msgstr "" 3963 3963 3964 #: lib\pwiki\PersonalWikiFrame.py:447 33964 #: lib\pwiki\PersonalWikiFrame.py:4476 3965 3965 msgid "'%s' is an invalid wiki word." 3966 3966 msgstr "" 3967 3967 3968 #: lib\pwiki\PersonalWikiFrame.py:44 883968 #: lib\pwiki\PersonalWikiFrame.py:4491 3969 3969 msgid "Wiki word %s exists already\n" 3970 3970 "Would you like to append to the word?" 3971 3971 msgstr "" 3972 3972 3973 #: lib\pwiki\PersonalWikiFrame.py:449 13973 #: lib\pwiki\PersonalWikiFrame.py:4494 3974 3974 msgid "Word exists" 3975 3975 msgstr "" 3976 3976 3977 #: lib\pwiki\PersonalWikiFrame.py:474 53977 #: lib\pwiki\PersonalWikiFrame.py:4748 3978 3978 msgid "Error on export" 3979 3979 msgstr "" 3980 3980 3981 #: lib\pwiki\PersonalWikiFrame.py:477 53981 #: lib\pwiki\PersonalWikiFrame.py:4778 3982 3982 msgid "Choose a file to create URL for" 3983 3983 msgstr "" 3984 3984 3985 #: lib\pwiki\PersonalWikiFrame.py:484 33985 #: lib\pwiki\PersonalWikiFrame.py:4846 3986 3986 msgid "Are you sure you want to start a full rebuild of wiki in background?" 3987 3987 msgstr "" 3988 3988 3989 #: lib\pwiki\PersonalWikiFrame.py:484 53989 #: lib\pwiki\PersonalWikiFrame.py:4848 3990 3990 msgid "Initiate update" 3991 3991 msgstr "" 3992 3992 3993 #: lib\pwiki\PersonalWikiFrame.py:485 2 lib\pwiki\PersonalWikiFrame.py:48533993 #: lib\pwiki\PersonalWikiFrame.py:4855 lib\pwiki\PersonalWikiFrame.py:4856 3994 3994 msgid " Initiating update " 3995 3995 msgstr "" 3996 3996 3997 #: lib\pwiki\PersonalWikiFrame.py:48 673997 #: lib\pwiki\PersonalWikiFrame.py:4870 3998 3998 msgid "Error initiating update" 3999 3999 msgstr "" 4000 4000 4001 #: lib\pwiki\PersonalWikiFrame.py:487 64001 #: lib\pwiki\PersonalWikiFrame.py:4879 4002 4002 msgid "Are you sure you want to rebuild this wiki? You may want to backup your data first!" 4003 4003 msgstr "" 4004 4004 4005 #: lib\pwiki\PersonalWikiFrame.py:48 784005 #: lib\pwiki\PersonalWikiFrame.py:4881 4006 4006 msgid "Rebuild wiki" 4007 4007 msgstr "" 4008 4008 4009 #: lib\pwiki\PersonalWikiFrame.py:488 5 lib\pwiki\PersonalWikiFrame.py:48864009 #: lib\pwiki\PersonalWikiFrame.py:4888 lib\pwiki\PersonalWikiFrame.py:4889 4010 4010 msgid " Rebuilding wiki " 4011 4011 msgstr "" 4012 4012 4013 #: lib\pwiki\PersonalWikiFrame.py:490 14013 #: lib\pwiki\PersonalWikiFrame.py:4904 4014 4014 msgid "Error rebuilding wiki" 4015 4015 msgstr "" 4016 4016 4017 #: lib\pwiki\PersonalWikiFrame.py:499 34017 #: lib\pwiki\PersonalWikiFrame.py:4996 4018 4018 msgid "This could overwrite pages in the database. Continue?" 4019 4019 msgstr "" 4020 4020 4021 #: lib\pwiki\PersonalWikiFrame.py:499 44021 #: lib\pwiki\PersonalWikiFrame.py:4997 4022 4022 msgid "Import pagefiles" 4023 4023 msgstr "" 4024 4024 4025 #: lib\pwiki\PersonalWikiFrame.py:51 074025 #: lib\pwiki\PersonalWikiFrame.py:5110 4026 4026 msgid "No list of strings passed to \"listmcstr\" dialog" 4027 4027 msgstr "" 4028 4028 4029 #: lib\pwiki\PersonalWikiFrame.py:513 04029 #: lib\pwiki\PersonalWikiFrame.py:5133 4030 4030 msgid "Unknown dialog type" 4031 4031 msgstr "" 4032 4032 4033 #: lib\pwiki\PersonalWikiFrame.py:529 1 lib\pwiki\PersonalWikiFrame.py:53094034 #: lib\pwiki\PersonalWikiFrame.py:533 44033 #: lib\pwiki\PersonalWikiFrame.py:5294 lib\pwiki\PersonalWikiFrame.py:5312 4034 #: lib\pwiki\PersonalWikiFrame.py:5337 4035 4035 msgid "Choose a Wiki to open" 4036 4036 msgstr "" 4037 4037 4038 #: lib\pwiki\PersonalWikiFrame.py:53 484038 #: lib\pwiki\PersonalWikiFrame.py:5351 4039 4039 msgid "Name for new wiki (must be in the form of a WikiWord):" 4040 4040 msgstr "" 4041 4041 4042 #: lib\pwiki\PersonalWikiFrame.py:53 494042 #: lib\pwiki\PersonalWikiFrame.py:5352 4043 4043 msgid "Create New Wiki" 4044 4044 msgstr "" 4045 4045 4046 #: lib\pwiki\PersonalWikiFrame.py:536 44046 #: lib\pwiki\PersonalWikiFrame.py:5367 4047 4047 msgid "Directory to store new wiki" 4048 4048 msgstr "" 4049 4049 4050 #: lib\pwiki\PersonalWikiFrame.py:537 54050 #: lib\pwiki\PersonalWikiFrame.py:5378 4051 4051 #: lib\pwiki\wikidata\WikiDataManager.py:1406 4052 4052 #: lib\pwiki\wikidata\WikiDataManager.py:1462 … … 4054 4054 msgstr "" 4055 4055 4056 #: lib\pwiki\PersonalWikiFrame.py:56 794056 #: lib\pwiki\PersonalWikiFrame.py:5682 4057 4057 msgid "Clipboard Catcher at Cursor" 4058 4058 msgstr "" 4059 4059 4060 #: lib\pwiki\PersonalWikiFrame.py:568 34060 #: lib\pwiki\PersonalWikiFrame.py:5686 4061 4061 msgid "Clipboard Catcher off" 4062 4062 msgstr "" 4063 4063 4064 #: lib\pwiki\PersonalWikiFrame.py:574 44064 #: lib\pwiki\PersonalWikiFrame.py:5747 4065 4065 msgid "Restore" 4066 4066 msgstr "" 4067 4067 4068 #: lib\pwiki\PersonalWikiFrame.py:574 54068 #: lib\pwiki\PersonalWikiFrame.py:5748 4069 4069 msgid "Save" 4070 4070 msgstr "" … … 4237 4237 msgstr "" 4238 4238 4239 #: lib\pwiki\WikiHtmlView.py:600 lib\pwiki\WikiTxtCtrl.py:212 44239 #: lib\pwiki\WikiHtmlView.py:600 lib\pwiki\WikiTxtCtrl.py:2123 4240 4240 msgid "Folder does not exist" 4241 4241 msgstr "" … … 4293 4293 msgstr "" 4294 4294 4295 #: lib\pwiki\WikiTxtCtrl.py:128 94295 #: lib\pwiki\WikiTxtCtrl.py:1288 4296 4296 msgid "Select Template" 4297 4297 msgstr "" 4298 4298 4299 #: lib\pwiki\WikiTxtCtrl.py:129 14299 #: lib\pwiki\WikiTxtCtrl.py:1290 4300 4300 msgid "Select Template (deletes current content!)" 4301 4301 msgstr "" 4302 4302 4303 #: lib\pwiki\WikiTxtCtrl.py:139 74303 #: lib\pwiki\WikiTxtCtrl.py:1396 4304 4304 msgid "Use Template" 4305 4305 msgstr "" 4306 4306 4307 #: lib\pwiki\WikiTxtCtrl.py:2 2004307 #: lib\pwiki\WikiTxtCtrl.py:2199 4308 4308 msgid "Set in menu \"Wiki\", item \"Options...\", options page \"Security\", \n" 4309 4309 "item \"Script security\" an appropriate value to execute a script." 4310 4310 msgstr "" 4311 4311 4312 #: lib\pwiki\WikiTxtCtrl.py:220 34312 #: lib\pwiki\WikiTxtCtrl.py:2202 4313 4313 msgid "Script execution disabled" 4314 4314 msgstr "" 4315 4315 4316 #: lib\pwiki\WikiTxtCtrl.py:227 54316 #: lib\pwiki\WikiTxtCtrl.py:2274 4317 4317 msgid "\n" 4318 4318 "Exception: %s" 4319 4319 msgstr "" 4320 4320 4321 #: lib\pwiki\WikiTxtCtrl.py:292 24321 #: lib\pwiki\WikiTxtCtrl.py:2921 4322 4322 msgid "No more fields in this 'form' page" 4323 4323 msgstr "" 4324 4324 4325 #: lib\pwiki\WikiTxtCtrl.py:30 814325 #: lib\pwiki\WikiTxtCtrl.py:3090 4326 4326 msgid "Line: %d Col: %d Pos: %d" 4327 4327 msgstr "" 4328 4328 4329 #: lib\pwiki\WikiTxtCtrl.py:32 614329 #: lib\pwiki\WikiTxtCtrl.py:3270 4330 4330 msgid "Couldn't copy file" 4331 4331 msgstr "" 4332 4332 4333 #: lib\pwiki\WikiTxtCtrl.py:35 224333 #: lib\pwiki\WikiTxtCtrl.py:3531 4334 4334 msgid "Ignore" 4335 4335 msgstr "" 4336 4336 4337 #: lib\pwiki\WikiTxtCtrl.py:35 234337 #: lib\pwiki\WikiTxtCtrl.py:3532 4338 4338 msgid "Add Globally" 4339 4339 msgstr "" 4340 4340 4341 #: lib\pwiki\WikiTxtCtrl.py:35 244341 #: lib\pwiki\WikiTxtCtrl.py:3533 4342 4342 msgid "Add Locally" 4343 4343 msgstr "" 4344 4344 4345 #: lib\pwiki\WikiTxtCtrl.py:35 344345 #: lib\pwiki\WikiTxtCtrl.py:3543 4346 4346 msgid "Follow Link" 4347 4347 msgstr "" 4348 4348 4349 #: lib\pwiki\WikiTxtCtrl.py:35 354349 #: lib\pwiki\WikiTxtCtrl.py:3544 4350 4350 msgid "Follow Link New Tab" 4351 4351 msgstr "" 4352 4352 4353 #: lib\pwiki\WikiTxtCtrl.py:35 364353 #: lib\pwiki\WikiTxtCtrl.py:3545 4354 4354 msgid "Follow Link New Tab Backgrd." 4355 4355 msgstr "" 4356 4356 4357 #: lib\pwiki\WikiTxtCtrl.py:35 384357 #: lib\pwiki\WikiTxtCtrl.py:3547 4358 4358 msgid "Convert Absolute/Relative File URL" 4359 4359 msgstr "" 4360 4360 4361 #: lib\pwiki\WikiTxtCtrl.py:35 394361 #: lib\pwiki\WikiTxtCtrl.py:3548 4362 4362 msgid "Open Containing Folder" 4363 4363 msgstr "" 4364 4364 4365 #: lib\pwiki\WikiTxtCtrl.py:35 414365 #: lib\pwiki\WikiTxtCtrl.py:3550 4366 4366 msgid "Copy anchor URL to clipboard" 4367 4367 msgstr "" 4368 4368 4369 #: lib\pwiki\WikiTxtCtrl.py:35 434369 #: lib\pwiki\WikiTxtCtrl.py:3552 4370 4370 msgid "Other..." 4371 4371 msgstr "" 4372 4372 4373 #: lib\pwiki\WikiTxtCtrl.py:35 444373 #: lib\pwiki\WikiTxtCtrl.py:3553 4374 4374 msgid "Use Template..." 4375 4375 msgstr "" 4376 4376 4377 #: lib\pwiki\WikiTxtCtrl.py:35 484377 #: lib\pwiki\WikiTxtCtrl.py:3557 4378 4378 msgid "Show folding" 4379 4379 msgstr "" 4380 4380 4381 #: lib\pwiki\WikiTxtCtrl.py:35 494381 #: lib\pwiki\WikiTxtCtrl.py:3558 4382 4382 msgid "Show folding marks and allow folding" 4383 4383 msgstr "" 4384 4384 4385 #: lib\pwiki\WikiTxtCtrl.py:355 04385 #: lib\pwiki\WikiTxtCtrl.py:3559 4386 4386 msgid "&Toggle current folding" 4387 4387 msgstr "" 4388 4388 4389 #: lib\pwiki\WikiTxtCtrl.py:35 514389 #: lib\pwiki\WikiTxtCtrl.py:3560 4390 4390 msgid "Toggle folding of the current line" 4391 4391 msgstr "" 4392 4392 4393 #: lib\pwiki\WikiTxtCtrl.py:35 524393 #: lib\pwiki\WikiTxtCtrl.py:3561 4394 4394 msgid "&Unfold All" 4395 4395 msgstr "" 4396 4396 4397 #: lib\pwiki\WikiTxtCtrl.py:35 534397 #: lib\pwiki\WikiTxtCtrl.py:3562 4398 4398 msgid "Unfold everything in current editor" 4399 4399 msgstr "" 4400 4400 4401 #: lib\pwiki\WikiTxtCtrl.py:35 544401 #: lib\pwiki\WikiTxtCtrl.py:3563 4402 4402 msgid "&Fold All" 4403 4403 msgstr "" 4404 4404 4405 #: lib\pwiki\WikiTxtCtrl.py:35 554405 #: lib\pwiki\WikiTxtCtrl.py:3564 4406 4406 msgid "Fold everything in current editor" 4407 4407 msgstr "" -
branches/stable-2.1/lib/pwiki/PersonalWikiFrame.py
r274 r275 3531 3531 def openWikiPage(self, wikiWord, addToHistory=True, 3532 3532 forceTreeSyncFromRoot=False, forceReopen=False, **evtprops): 3533 if not self.requireReadAccess(): 3534 return 3535 3533 3536 try: 3534 3537 ## _prof.start() … … 3544 3547 self.getMainAreaPanel().showPresenter(dpp) 3545 3548 ## _prof.stop() 3546 except WikiFileNotFoundException, e:3549 except (WikiFileNotFoundException, IOError, OSError, DbAccessError), e: 3547 3550 self.lostAccess(e) 3548 3551 return None -
branches/stable-2.1/lib/pwiki/PluginManager.py
r249 r275 6 6 7 7 import wx 8 9 import Utilities 8 10 9 11 from .StringOps import mbcsEnc, pathEnc … … 68 70 def __init__(self, descriptor, functions): 69 71 self.descriptor = descriptor 70 self._ _functionNames = functions71 self._ _plugins = {}72 for f in self._ _functionNames:72 self._functionNames = functions 73 self._plugins = {} 74 for f in self._functionNames: 73 75 pluginlist = [] 74 self._ _plugins[f] = pluginlist75 helper = self._ _createHelper( pluginlist )76 self._plugins[f] = pluginlist 77 helper = self._createHelper( pluginlist ) 76 78 setattr(self,f, helper) 77 79 78 80 def getFunctionNames(self): 79 return self._ _functionNames81 return self._functionNames 80 82 81 83 def hasFunctionName(self, fctName): 82 return fctName in self._ _functionNames84 return fctName in self._functionNames 83 85 84 86 85 87 @staticmethod 86 def _ _createHelper(funcList):88 def _createHelper(funcList): 87 89 return lambda *args, **kwargs: [fun(*args, **kwargs) for fun in funcList] 88 90 … … 91 93 registered = False 92 94 if self.descriptor in module.WIKIDPAD_PLUGIN: 93 for f in self._ _functionNames:95 for f in self._functionNames: 94 96 if hasattr(module, f): 95 self._ _plugins[f].append(getattr(module,f))97 self._plugins[f].append(getattr(module,f)) 96 98 registered = True 97 99 if not registered: 98 100 sys.stderr.write("plugin " + module.__name__ + " exposes " + 99 s elf.descriptor+101 str(self.descriptor) + 100 102 " but does not support any interface methods!") 101 103 return registered 102 104 103 105 # def deleteModule(self, module): 104 # for f in self._ _functionNames:106 # for f in self._functionNames: 105 107 # if hasattr(module, f): 106 # self._ _plugins[f].remove(getattr(module,f))108 # self._plugins[f].remove(getattr(module,f)) 107 109 108 110 … … 113 115 The keys of the arguments are the function names exposed as attributes by 114 116 the API object. The values can be either: 115 None to call function of same name in module(s) 117 None to call function of same name in module(s) as SimplePluginAPI 118 does 116 119 a string to call function of this name in module(s) 117 120 a wrapper function to call with module object and parameters from … … 121 124 def __init__(self, descriptor, **wrappedFunctions): 122 125 self.descriptor = descriptor 123 self._ _functionNames = wrappedFunctions.keys()124 self._ _wrappedFunctions = wrappedFunctions125 self._ _plugins = {}126 for f in self._ _functionNames:126 self._functionNames = wrappedFunctions.keys() 127 self._wrappedFunctions = wrappedFunctions 128 self._plugins = {} 129 for f in self._functionNames: 127 130 pluginlist = [] # List containing either modules if wrappedFunctions[f] 128 131 # is not None or functions if wrappedFunctions[f] is None 129 self._ _plugins[f] = pluginlist130 helper = self._ _createHelper(wrappedFunctions[f], pluginlist)132 self._plugins[f] = pluginlist 133 helper = self._createHelper(wrappedFunctions[f], pluginlist) 131 134 setattr(self,f, helper) 132 135 133 136 def getFunctionNames(self): 134 return self._ _functionNames137 return self._functionNames 135 138 136 139 def hasFunctionName(self, fctName): 137 return fctName in self._ _functionNames140 return fctName in self._functionNames 138 141 139 142 140 143 @staticmethod 141 def _ _createHelper(wrapFct, list):144 def _createHelper(wrapFct, list): 142 145 if wrapFct is None or isinstance(wrapFct, (str, unicode)): 143 146 return lambda *args, **kwargs: [fun(*args, **kwargs) for fun in list] … … 148 151 149 152 def registerModule(self, module): 150 if self.descriptor in module.WIKIDPAD_PLUGIN: 151 for f in self.__functionNames: 152 if self.__wrappedFunctions[f] is None: 153 if hasattr(module, f): 154 self.__plugins[f].append(getattr(module,f)) 155 return True 156 else: 157 sys.stderr.write("plugin " + module.__name__ + " exposes " + 158 self.descriptor + 159 " but does not support any interface methods!") 160 return False 161 elif isinstance(self.__wrappedFunctions[f], (str, unicode)): 162 realF = self.__wrappedFunctions[f] 163 if hasattr(module, realF): 164 self.__plugins[f].append(getattr(module,realF)) 165 return True 166 else: 167 sys.stderr.write("plugin " + module.__name__ + " exposes " + 168 self.descriptor + 169 " but does not support any interface methods!") 170 return False 171 else: 172 self.__plugins[f].append(module) 173 return True 174 175 return False 153 if not self.descriptor in module.WIKIDPAD_PLUGIN: 154 return False 155 156 registered = False 157 for f in self._functionNames: 158 if self._wrappedFunctions[f] is None: 159 if hasattr(module, f): 160 self._plugins[f].append(getattr(module,f)) 161 registered = True 162 elif isinstance(self._wrappedFunctions[f], (str, unicode)): 163 realF = self._wrappedFunctions[f] 164 if hasattr(module, realF): 165 self._plugins[f].append(getattr(module,realF)) 166 registered = True 167 else: 168 self._plugins[f].append(module) 169 # An internal wrapper function doesn't count as "registered" 170 # registered = True 171 172 if not registered: 173 sys.stderr.write("plugin " + module.__name__ + " exposes " + 174 str(self.descriptor) + 175 " but does not support any interface methods!") 176 177 return registered 176 178 177 179 … … 179 181 class PluginAPIAggregation(object): 180 182 def __init__(self, *apis): 181 self._ _apis = apis183 self._apis = apis 182 184 183 185 fctNames = set() 184 for api in self._ _apis:186 for api in self._apis: 185 187 fctNames.update(api.getFunctionNames()) 186 188 187 189 for f in list(fctNames): 188 190 funcList = [getattr(api, f) for api in apis if api.hasFunctionName(f)] 189 helper = lambda *args, **kwargs: reduce(lambda a, b: a+list(b), 190 [fun(*args, **kwargs) for fun in funcList]) 191 setattr(self,f, helper) 191 setattr(self, f, PluginAPIAggregation._createHelper(funcList)) 192 193 194 @staticmethod 195 def _createHelper(funcList): 196 return lambda *args, **kwargs: reduce(lambda a, b: a+list(b), 197 [fun(*args, **kwargs) for fun in funcList]) 198 199 192 200 193 201 … … 389 397 390 398 self.startedHandlers = {} 391 399 392 400 def getHandler(self, exporter, exportType, insKey): 393 401 """ -
branches/stable-2.1/lib/pwiki/WikiTxtCtrl.py
r247 r275 25 25 from . import OsAbstract 26 26 27 from .WikiExceptions import WikiFileNotFoundException, \ 28 NotCurrentThreadException, NoPageAstException 27 from .WikiExceptions import * 29 28 30 29 from .SystemInfo import isUnicode, isOSX, isLinux, isWindows … … 2990 2989 return 2991 2990 2992 wikiPage.checkFileSignatureAndMarkDirty() 2991 try: 2992 wikiPage.checkFileSignatureAndMarkDirty() 2993 except (IOError, OSError, DbAccessError), e: 2994 self.presenter.getMainControl().lostAccess(e) 2995 2996 2993 2997 else: 2994 2998 def OnSetFocus(self, evt): … … 3003 3007 return 3004 3008 3005 wikiPage.checkFileSignatureAndMarkDirty() 3009 try: 3010 wikiPage.checkFileSignatureAndMarkDirty() 3011 except (IOError, OSError, DbAccessError), e: 3012 self.presenter.getMainControl().lostAccess(e) 3013 3014 3006 3015 3007 3016 -
branches/stable-2.1/wikidpad_unicode.iss
r274 r275 54 54 Name: {app}\export 55 55 [Setup] 56 #define verStr "2.1rc04 "57 #define verNo "002.001.204.00 0"56 #define verStr "2.1rc04_1" 57 #define verNo "002.001.204.001" 58 58 59 59 SolidCompression=true
