From 400aabe82d3d763ee700993c10985c8fb007c7b0 Mon Sep 17 00:00:00 2001
From: Joey Hess <joey@kitenet.net>
Date: Fri, 10 Sep 2010 11:45:59 -0400
Subject: [PATCH] po: Allow enabling via web setup.

The only unsafe thing should be that enabling it with some languages will
generate po files.
---
 IkiWiki/Plugin/po.pm | 4 ++--
 debian/changelog     | 1 +
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/IkiWiki/Plugin/po.pm b/IkiWiki/Plugin/po.pm
index 7b62092e1..651c98ed7 100644
--- a/IkiWiki/Plugin/po.pm
+++ b/IkiWiki/Plugin/po.pm
@@ -89,7 +89,7 @@ sub import {
 sub getsetup () {
 	return
 		plugin => {
-			safe => 0,
+			safe => 1,
 			rebuild => 1, # format plugin
 			section => "format",
 		},
@@ -110,7 +110,7 @@ sub getsetup () {
 				'es|Español',
 				'de|Deutsch'
 			],
-			description => "slave languages (PO files)",
+			description => "slave languages (translated via PO files) format: ll|Langname",
 			safe => 1,
 			rebuild => 1,
 		},
diff --git a/debian/changelog b/debian/changelog
index a89485f79..ebccf4698 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,7 @@ ikiwiki (3.20100832) UNRELEASED; urgency=low
     perl taint checking happy, but taint checking is disabled.
   * teximg: Use Unicode UTF-8 encoding by default. Closes: #596067
     Thanks, Paul Menzel.
+  * po: Allow enabling via web setup.
 
  -- Joey Hess <joeyh@debian.org>  Tue, 07 Sep 2010 12:08:05 -0400
 
-- 
2.39.5