i10n auto.setup

master
Joey Hess 2008-08-21 22:49:50 -04:00
parent 888f4203f5
commit e910acfbc9
3 changed files with 26 additions and 6 deletions

View File

@ -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,

View File

@ -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)

View File

@ -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 <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\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 ""