From e910acfbc91a6132b82bf4f33b19574d61da3169 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 21 Aug 2008 22:49:50 -0400 Subject: [PATCH] i10n auto.setup --- auto.setup | 8 ++++---- po/Makefile | 2 +- po/ikiwiki.pot | 22 +++++++++++++++++++++- 3 files changed, 26 insertions(+), 6 deletions(-) diff --git a/auto.setup b/auto.setup index 47d0d868f..74879dbc5 100644 --- a/auto.setup +++ b/auto.setup @@ -13,14 +13,14 @@ require IkiWiki::Setup::Automator; our $wikiname=IkiWiki::Setup::Automator::ask( - "What will the wiki be named?", "wiki"); + gettext("What will the wiki be named?"), gettext("wiki")); our $rcs=IkiWiki::Setup::Automator::ask( - "What revision control system to use?", "git"); + gettext("What revision control system to use?"), "git"); our $admin=IkiWiki::Setup::Automator::ask( - "What wiki user (or openid) will be wiki admin?", $ENV{USER}); + gettext("What wiki user (or openid) will be wiki admin?"), $ENV{USER}); use Net::Domain q{hostfqdn}; our $domain=hostfqdn() || ikiwiki::setup::automator::ask( - "What is the domain name of the web server?", ""); + gettext("What is the domain name of the web server?"), ""); IkiWiki::Setup::Automator->import( wikiname => $wikiname, diff --git a/po/Makefile b/po/Makefile index 013cdf268..084d011f0 100644 --- a/po/Makefile +++ b/po/Makefile @@ -1,6 +1,6 @@ # List here all source files with translatable strings. POTFILES=$(sort $(shell find ../IkiWiki -type f -name \*.pm)) \ - ../ikiwiki.in ../IkiWiki.pm + ../ikiwiki.in ../IkiWiki.pm ../auto.setup POFILES=$(wildcard *.po) MOFILES=$(POFILES:.po=.mo) diff --git a/po/ikiwiki.pot b/po/ikiwiki.pot index 1bfc9bb10..99a18be37 100644 --- a/po/ikiwiki.pot +++ b/po/ikiwiki.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2008-08-14 18:13-0400\n" +"POT-Creation-Date: 2008-08-21 22:49-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -868,3 +868,23 @@ msgstr "" #: ../IkiWiki.pm:1588 msgid "yes" msgstr "" + +#: ../auto.setup:16 +msgid "What will the wiki be named?" +msgstr "" + +#: ../auto.setup:16 +msgid "wiki" +msgstr "" + +#: ../auto.setup:18 +msgid "What revision control system to use?" +msgstr "" + +#: ../auto.setup:20 +msgid "What wiki user (or openid) will be wiki admin?" +msgstr "" + +#: ../auto.setup:23 +msgid "What is the domain name of the web server?" +msgstr "" -- 2.26.2