rhbz1110627 zanata init

https://bugzilla.redhat.com/show_bug.cgi?id=1110627
and https://bugzilla.redhat.com/show_bug.cgi?id=1038852

Depends on https://github.com/zanata/zanata-api/pull/15 and https://github.com/zanata/zanata-server/pull/520
For podir type, if source doc has pot in it's doc id, potentially user has defined the wrong src-dir. i.e. they have define . as src-dir but really should be pot 

----- Original Message -----

> From: "David Mason" <notifications@github.com>
> To: "zanata/zanata-client" <zanata-client@noreply.github.com>
> Cc: "Patrick Huang" <pahuang@redhat.com>
> Sent: Friday, July 18, 2014 4:12:01 PM
> Subject: Re: [zanata-client] rhbz1110627 zanata init (#27)

> In
> zanata-client-commands/src/main/java/org/zanata/client/commands/push/AbstractGettextPushStrategy.java:
> > @@ -47,6 +47,13 @@
> >      public AbstractGettextPushStrategy() {
> >          super(new StringSet("comment;gettext"), ".pot");
> >      }
> > +    /**
> > +     * check for podir project type and source file start with pot/ could
> > +     * potentially be wrong.

> Is this saying that this method may be wrong, or something else?

> —
> Reply to this email directly or view it on GitHub .