intrigeri
14a79751e3
po: gettext-ize error messages
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-02 15:00:34 +01:00
intrigeri
586e6e3362
po/todo: remove silly ideas.
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-02 14:18:40 +01:00
intrigeri
724dbabc4a
po: do not allow to create pages of type po
...
The main reason to do so is to bypass the "favor the type of linking page on
page creation" logic, which is unsuitable when a broken link is clicked on
a slave (PO) page.
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-02 14:09:34 +01:00
intrigeri
12178c2a64
po/todo: added better implementation ideas
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-02 13:43:08 +01:00
intrigeri
07c6a6a1fc
po/todo: remove completed item
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-02 12:50:51 +01:00
intrigeri
d1642e4cd9
po: cosmetic changes to percent translated display
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-02 12:36:07 +01:00
intrigeri
f58cb48f1f
po(formbuilder_setup): use a template to display the warning
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-02 12:27:10 +01:00
intrigeri
0f89ef0579
po: test formbuilder_setup hook to warn about new master page's language
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-02 12:15:21 +01:00
intrigeri
f0e2ce4360
po/todo: added bugreport about new page's type
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-02 12:14:55 +01:00
intrigeri
876808568e
po: require ikiwiki plugin interface 3.0
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-02 11:22:54 +01:00
mburmester
fce78d71a0
bug reopened
2009-01-01 22:37:38 -05:00
http://openid.alexandrefranke.com/
be67d10a81
Add actual result for the example
2009-01-01 18:17:17 -05:00
intrigeri
6fe1e3b66d
po/todo: update
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-01 23:36:57 +01:00
intrigeri
949c4c0c3a
po: send msgfmt output to /dev/null, else it creates messages.mo files
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-01 23:33:16 +01:00
intrigeri
d0c9c21687
po: fix error messages
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-01 23:32:52 +01:00
intrigeri
c821cee108
po(cansave): check PO validity using new isvalidpo function
...
... because Po4a's parser does not care about malformed PO data.
Use gettext's msgfmt program instead.
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-01 23:12:08 +01:00
intrigeri
4ee7f63148
debian/control: suggest gettext, which is used by the po plugin
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-01 22:28:20 +01:00
intrigeri
a5de24ec97
skeleton plugin: added the canrename and canremove hooks
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-01 22:20:54 +01:00
intrigeri
09d0321f15
po(TODO): the plugin code will need to be gettextized, at some point
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-01 22:18:27 +01:00
intrigeri
1d3da099b4
po(cansave): use po_to_markup to check PO validity
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-01 22:16:43 +01:00
intrigeri
5ebb42494d
po: move most of filter code to its own function
...
Allow this new po_to_markup function to run in non-fatal mode,
we need this in our cansave hook.
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-01 22:16:07 +01:00
intrigeri
41eca80e25
po: register a (dummy) cansave hook
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-01 19:48:48 +01:00
intrigeri
d69fdf6445
editpage: added a cansave hook
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-01 19:48:27 +01:00
intrigeri
e895157397
Pass src, srcfile, dest and destfile to the canrename hook.
...
This is not needed by the use I'm doing of it, but seems more consistent to me.
Future users of this hook may need this data to make their mind.
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-01 18:04:37 +01:00
intrigeri
131d2d4e7c
po: bugfix
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-01 17:56:51 +01:00
intrigeri
80a630a3fb
po: fix canrename hook
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-01 17:49:10 +01:00
intrigeri
a8105f6859
rename: pass the CGI and session to the rename hook
...
The po plugin remame + canrename hook combination will need this.
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-01 17:47:20 +01:00
intrigeri
b24f236dfa
po: use the new canrename hook to prevent translation renames in the CGI
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-01 16:52:43 +01:00
intrigeri
3316f9cc73
rename: implemented new canrename hook
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-01 16:52:34 +01:00
intrigeri
741b26aa17
remove: implemented a new canremove hook; use it in the po plugin
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-01 16:44:39 +01:00
intrigeri
5852f03efa
po(todo): test results for markup languages support, thoughts about renaming/deleting
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-01 16:18:37 +01:00
intrigeri
5c2f6cb893
Merge commit 'upstream/master' into prv/po
2009-01-01 13:34:00 +01:00
http://www.cse.unsw.edu.au/~willu/
38d58467f4
link to related bug
2009-01-01 07:33:36 -05:00
intrigeri
c3af3840a2
Render.pm: also use 'our' for $backlinks_calculated
...
Since %backlinks are now declared with 'our', this variable must be as well.
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-01 13:07:08 +01:00
intrigeri
5412a95fd0
po(myurlto): more robust run_by_editpage logic
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-01 01:14:06 +01:00
intrigeri
37b8822762
po: some code/comments refactoring
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-01 01:08:40 +01:00
intrigeri
856de5734d
po: follow new coding style (removed Vim folding markers
...
)
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-01 01:08:35 +01:00
intrigeri
85f865b5d9
po: added postscan hook, to make pages depend on the pages linking to them
...
... so that nicepagetitle hook's effects, such as translation status displayed
in links, are updated when the linked page changes.
The replacement of 'my %backlinks' with 'our %backlinks' in Render.pm made this
work: previously, every postscan hook was called with an almost empty
%backlinks, which defeated all my attempts to implement this feature.
This feature hits performance a bit. Its cost was quite small in my real-world
use-cases (a few percents bigger refresh time), but could be bigger in worst
cases. Time will tell.
NB: this hack could also be used by my meta branch. It may even be a ikiwiki
optional feature.
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-01 01:08:10 +01:00
JoshTriplett
8202cfe19e
Fix version.
2008-12-31 18:10:18 -05:00
Joey Hess
b78d5a31cb
formatting
2008-12-31 15:43:14 -05:00
Joey Hess
7c9060aa58
fix link
2008-12-31 15:33:10 -05:00
Joey Hess
8088b5ab3b
fix link
2008-12-31 15:32:12 -05:00
Joey Hess
ef70530c4a
3.0 annoucement
2008-12-31 15:30:41 -05:00
Joey Hess
484cb2ddcf
formatting
2008-12-31 15:28:03 -05:00
Joey Hess
56e2854cec
formatting
2008-12-31 15:27:52 -05:00
Joey Hess
acfe82dd48
add news item for ikiwiki 3.00
2008-12-31 15:26:28 -05:00
Joey Hess
dec016c6c9
releasing version 3.00
2008-12-31 15:21:40 -05:00
Joey Hess
794dbd2476
fix moveprefs transition
2008-12-31 14:54:22 -05:00
Joey Hess
2b0473f090
move to correct location
2008-12-31 14:12:37 -05:00
Joey Hess
523650d9c2
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
2008-12-31 14:08:15 -05:00