Commit Graph

170 Commits (cfbd068fa731234782c3fd571f22a1b7a79c9383)

Author SHA1 Message Date
Joey Hess 1f828d280a update 2009-09-08 14:38:57 -04:00
Joey Hess d678147410 Revert "po: do not inject custom bestlink function when po_link_to eq default"
This reverts commit cdc3576c8d.

Conflicts:

	IkiWiki/Plugin/po.pm

This change broke the test suite and is not strictly necessary.
2009-08-30 14:50:43 -04:00
intrigeri ef69cb34c3 doc/po(test suite failures): follow-up
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-08-29 17:25:51 +02:00
Joey Hess 94727e7fcf merged 2009-08-28 19:49:22 -04:00
Joey Hess 2ba54735ce po test suite failure 2009-08-28 18:34:44 -04:00
intrigeri 6be8746125 doc/po: report problem with link() + propose patch
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-08-28 16:38:13 +02:00
intrigeri e3b5d70137 doc/po: bug report + patch proposal wrt. inline's post form's rootpage
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-08-28 15:08:02 +02:00
Joey Hess cc6000f0b9 both changes picked 2009-08-28 07:34:09 -04:00
intrigeri 8064acf87f doc/po: reported bug + patches wrt. created page type
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-08-28 13:20:33 +02:00
Joey Hess 18e4fa6539 fix merged 2009-08-27 15:54:44 -04:00
Joey Hess f8ad1bfec4 fix cherry-picked 2009-08-27 15:50:43 -04:00
Joey Hess ffcd97ce52 change cherry-picked; move to discussion 2009-08-27 15:49:12 -04:00
intrigeri eaa782a185 doc/po(self-links): follow-ups
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-08-27 20:38:36 +02:00
intrigeri 6bc3206af1 doc/po: follow-up 2009-08-27 20:21:16 +02:00
intrigeri 7d35d17f95 doc/po: follow-up
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-08-27 20:01:24 +02:00
Joey Hess 5e515b493c followups 2009-08-27 13:10:31 -04:00
Joey Hess e1acb707db cherry-picked fix for recentchanges links 2009-08-27 12:57:04 -04:00
Joey Hess 18fc71f033 unsure if this patch is enough 2009-08-27 12:56:24 -04:00
Joey Hess 4ce93af516 translation of directives 2009-08-26 13:09:43 -04:00
intrigeri d5a04b2de9 po: more TODO items comments and patches 2009-08-26 02:00:48 -04:00
intrigeri 7bd7e78e4a po: commenting some TODO items 2009-08-26 01:41:55 -04:00
intrigeri 145d89a6fc po: maybe fixed self links 2009-08-26 01:05:07 -04:00
Joey Hess f712ffa66d another issue 2009-08-19 14:12:37 -04:00
Joey Hess db041b8854 minor problem 2009-08-16 13:53:44 -04:00
Joey Hess 4ff3e2a540 po: Better fix for missing underlay translation problem.
If a page is taken from the underlay, and one of the specified languages
does not have po files in the underlay, it would create a broken link
to the translated version of the page for that language.

With this change, there's no broken link.
2009-08-15 22:18:05 -04:00
Joey Hess 0e4f67842a update 2009-08-15 21:00:27 -04:00
Joey Hess 7ea1f96926 apache config details 2009-08-15 19:39:51 -04:00
Joey Hess 7d901b9a54 another problem.. 2009-08-15 19:16:22 -04:00
Joey Hess 43e895ec78 another problem 2009-08-15 17:29:05 -04:00
Joey Hess 1b63a0e4fa another problem 2009-08-15 16:15:36 -04:00
Joey Hess d13c07dec1 noticed a problem 2009-08-15 15:20:46 -04:00
Joey Hess 83480665c2 po: Fix copy of po file from underlay when editing
When first editing a page that was in the underlay, avoid losing
the translation by copying the po file over from the underlay.
2009-08-10 15:59:32 -04:00
Joey Hess 62dd02aa79 oddity 2009-07-21 13:21:16 +02:00
Joey Hess 8effd48854 one issue with basewiki translations 2009-07-21 12:43:48 +02:00
Joey Hess eca2dbe67f po: Add support for mo files in underlays
In order to support translated basewiki and other underlays, we need
support for mo files in underlays.

The code did not allow this before, because if a mo file was in an
underlay, then it might try to update it, and its pot, and write to the
underlay, which is guaranteed to either fail due to permissions, or be
undesirable.

To fix, my approach is to just detect if a mo or pot file that is about to
be updated is in an underlay, and skip updating it. This seems to work
well:

- If the mo is out of date in the underlay, it won't get updated, but this
  would probably be due to a problem in the underlay, or more likely,
  the wiki is being rebuilt and so it *thinks* the mo is out of date,
  but it's really not (and it would be a waste of time to rebuild it
  anyway).
- If a page from the basewiki is edited, it is saved to the srcdir,
  which causes generation of an updated mo and pot also in the srcdir;
  the underlay stops being used for that page, and everything seems
  to work.

Note that I am not including an underlay search directory for pot files.
They *seem* to be unnecessary for the underlay, since the mo files
in there never need to be updated.
2009-07-21 11:31:51 +02:00
Joey Hess a7b813182d build translated underlays for use with non-English wikis 2009-07-20 07:20:13 +02:00
Joey Hess 741c33576e create translated underlays in mdwn format
These are for use by wikis where the primary language is not English.
On such a wiki, it makes sense to use an underlay has the source for pages
in the native language.
2009-07-20 06:23:33 +02:00
Joey Hess 7d56f17891 more thoughts on underlays 2009-07-20 04:54:25 +02:00
Joey Hess 7865433d8e update, think I have the real bug this time 2009-07-20 00:11:56 +02:00
Joey Hess a7e5541c4d %links dedup bug? 2009-07-19 23:55:58 +02:00
Joey Hess 54280d0215 bad po plugin bug 2009-07-19 23:01:43 +02:00
Joey Hess 1a4750b76b language display order 2009-07-19 18:27:20 +02:00
Joey Hess 43e5c905cb shut up msgmerge 2009-07-19 16:54:03 +02:00
Joey Hess 4d166acccb new minor bug 2009-07-19 13:58:15 +02:00
Joey Hess ea8c166a05 bugfix: Avoid generating po files for files that are not httmlizable 2009-07-19 13:46:10 +02:00
Joey Hess f5d7d2f02d add a bug 2009-07-19 13:42:27 +02:00
Joey Hess b62dc0a3d8 s/castellano/español/ 2009-07-19 13:06:47 +02:00
Joey Hess 9ec492ccd1 move robustness tests section to discussion 2009-07-19 13:04:09 +02:00
Joey Hess a6dabc247f fix link 2009-07-19 12:51:15 +02:00
intrigeri 055be361f5 page.tmpl: use OTHERLANGUAGES and PERCENTTRANSLATED
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-03-28 11:41:21 +01:00