Commit Graph

10596 Commits (1b63a0e4fae5396014ed222647ae9c3c88a35de5)

Author SHA1 Message Date
Jonas Smedegaard 3bdc366e73 Merge branch 'master' of git://git.ikiwiki.info 2009-07-23 01:17:40 +02:00
Jonas Smedegaard 30e122bfc8 Unfuzz translations (after rephrasings) 2009-07-23 01:15:59 +02:00
Jonas Smedegaard 90fe04502a Update german translation 2009-07-23 01:01:48 +02:00
Jonas Smedegaard c1682d1333 Rephrase translatable string to clarify data requested (account or openid) 2009-07-23 00:54:59 +02:00
Jonas Smedegaard 27071f0ba9 Change rendering→building in translatable strings, to ease translations. 2009-07-23 00:53:23 +02:00
Jonas Smedegaard 28b572a61e Rephrase suggestion to not get confused as info on action already done. 2009-07-23 00:50:42 +02:00
Jonas Smedegaard 106b073ce1 Rephrase 'linked to by' confusing for translators. 2009-07-23 00:48:00 +02:00
Jonas Smedegaard 8b7389b426 Improve translatable texts to ease translation (e.g. to→into and from→inside) 2009-07-23 00:43:28 +02:00
Jonas Smedegaard dc9e0f3e32 Fix typo attepting→attempting 2009-07-23 00:41:33 +02:00
Joey Hess 44e72fab1d Merge commit 'jonas/master' 2009-07-23 00:37:22 +02:00
Jonas Smedegaard 8229345b11 Partly localized danish directive underlay 2009-07-23 00:20:31 +02:00
Jonas Smedegaard 1e9e1a6800 Update danish underlays for po4a 0.36.2 2009-07-22 22:59:12 +02:00
Joey Hess 88d4fb15ba add --previous at bubulle's suggestion 2009-07-22 17:48:49 +02:00
Joey Hess 0d92055b64 remove ion 2009-07-22 17:28:06 +02:00
Joey Hess 59c32780c0 fix install 2009-07-21 16:58:18 +02:00
Joey Hess 49761c1f04 make `make underlays` work in a clean tree that has not been built 2009-07-21 13:28:19 +02:00
Joey Hess 62dd02aa79 oddity 2009-07-21 13:21:16 +02:00
Joey Hess 5430ca5f2d install underlay/ po files 2009-07-21 13:17:24 +02:00
Joey Hess 68fa7b5f8c use underlay_install as optimisaton 2009-07-21 13:16:59 +02:00
Joey Hess 5efda4da29 split out underlay_install target 2009-07-21 13:16:46 +02:00
Joey Hess c56ff6cd47 relocate po directory up a level 2009-07-21 13:16:26 +02:00
Joey Hess d1b316dc05 add a warning 2009-07-21 13:07:49 +02:00
Jon Dowland c28c7846b4 Merge branch 'master' of git://git.ikiwiki.info 2009-07-21 11:45:29 +01:00
Jon Dowland ddd55037d4 some thoughts in the wake of a spam attack 2009-07-21 11:44:52 +01:00
Joey Hess 8effd48854 one issue with basewiki translations 2009-07-21 12:43:48 +02:00
Joey Hess 637f32480c turn off pot file underlay again 2009-07-21 12:40:44 +02:00
Joey Hess cebffa917f improve invalid gettext message
(and gettext it as translators will see this!)
2009-07-21 12:39:21 +02:00
Joey Hess 1610b1e9e6 update 2009-07-21 12:38:40 +02:00
Joey Hess 7532eff2b7 update 2009-07-21 11:40:25 +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 eeeda1295f Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2009-07-21 09:57:08 +02:00
Joey Hess 4b1534d5bc fix example 2009-07-21 09:56:34 +02:00
harishcm 4954ffb558 2009-07-21 00:33:23 -04:00
harishcm 7d682ef4c2 patch overcoming the issue of <ul> with no <li> 2009-07-21 00:29:42 -04:00
http://smcv.pseudorandom.co.uk/ 6463fe7a6b link to alternative patch 2009-07-20 11:19:46 -04:00
http://smcv.pseudorandom.co.uk/ f900e84416 link to existing bug 2009-07-20 11:16:45 -04:00
harishcm 3fef1fbd0d Issue with ul and div tag closure when returning empty map 2009-07-20 10:40:29 -04:00
harishcm 9fb0d03c5a 2009-07-20 10:29:39 -04:00
http://jmtd.livejournal.com/ bfe1961e1d how to achieve this by modifying your templates 2009-07-20 10:03:50 -04:00
Jonas Smedegaard 2227466839 Danish translation update 2009-07-20 12:05:48 +02:00
Jonas Smedegaard 2305f57634 Unfuzz danish translation of basewiki/.../po.da underlay 2009-07-20 11:49:30 +02:00
Joey Hess e61d04463e update 2009-07-20 08:09:27 +02:00
Joey Hess 87486a1699 po/underlay/* should be BSD licensed, like the rest of the underlays 2009-07-20 07:37:06 +02:00
Joey Hess 64f887a0ff fixes for Danish integration 2009-07-20 07:24:22 +02:00
Joey Hess be30203459 Merge branch 'master' into integration 2009-07-20 07:20:43 +02:00
Joey Hess a7b813182d build translated underlays for use with non-English wikis 2009-07-20 07:20:13 +02:00
Joey Hess e04692e059 po: Support running with a non-english master lang; add translated underlays
It seem to make sense to remove the check for there being slave languages
as part of this, since one might want a wiki that is only in non-English.
2009-07-20 07:19:05 +02:00
Joey Hess 9d9826a3d2 remove prototype from renamehook
Recursive calls make perl whine about protypes, and it wasn't
adding any value.
2009-07-20 07:11:22 +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 73ae87a4d4 split two helper functions of of render() 2009-07-20 05:23:16 +02:00