[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tyndur-devel] [PATCH 3/3] lpt: Englische Uebersetzung



On Sat, Sep 26 16:35, Kevin Wolf wrote:
> + lpt: Englische Uebersetzung
> 
> Signed-off-by: Kevin Wolf <kevin@xxxxxxxxxx>
> ---
>  src/modules/pas/lpt/lang/lang_en.c |  125 ++++++++++++++++++++++++++++++++++++
>  1 files changed, 125 insertions(+), 0 deletions(-)
> 
> diff --git a/src/modules/pas/lpt/lang/lang_en.c b/src/modules/pas/lpt/lang/lang_en.c
> index c90d990..96880bd 100644
> --- a/src/modules/pas/lpt/lang/lang_en.c
> +++ b/src/modules/pas/lpt/lang/lang_en.c
> @@ -33,7 +33,132 @@ static int get_number(int n)
>      return (n == 1 ? 0 : 1);
>  }
>  
> +extern void* RESSTR_HELPERS_RSBYTESRECEIVED;
> +extern void* RESSTR_HELPERS_RSBYTESRECEIVEDPARTIAL;
> +extern void* RESSTR_HELPERS_RSDOWNLOADING;
> +extern void* RESSTR_HELPERS_RSCONNECTING;
> +extern void* RESSTR_HELPERS_RSHTTPERROR;
> +extern void* RESSTR_P$LPT_RSUSAGE;
> +extern void* RESSTR_P$LPT_RSDOWNLOADANDEXTRACT;
> +extern void* RESSTR_P$LPT_RSSEARCHING;
> +extern void* RESSTR_P$LPT_RSCONFIGURING;
> +extern void* RESSTR_P$LPT_RSERROR;
> +extern void* RESSTR_P$LPT_RSCANTLOADREPOLIST;
> +extern void* RESSTR_P$LPT_RSFAILDOWNLOADREPOLIST;
> +extern void* RESSTR_P$LPT_RSALREADYINSTALLED;
> +extern void* RESSTR_P$LPT_RSCANNOTREADPKGLISTS;
> +extern void* RESSTR_P$LPT_RSCANNOTFINDPACKAGE;
> +extern void* RESSTR_P$LPT_RSCANNOTRESOLVEDEP;
> +extern void* RESSTR_P$LPT_RSWRONGPARAMCOUNT;
> +extern void* RESSTR_P$LPT_RSINVALIDACTION;
> +extern void* RESSTR_PACKAGES_RSPACKAGEMISSING;
> +extern void* RESSTR_REPOSITORIES_RSUNKNOWNREPOTYPE;
> +extern void* RESSTR_REPOSITORIES_RSINVALIDPKGSRC;
> +extern void* RESSTR_REPOSITORY_BASE_RSNOPACKAGELIST;
> +extern void* RESSTR_REPOSITORY_HTTP_RSDOWNLOADINGPKGLIST;
> +extern void* RESSTR_REPOSITORY_SINGLE_RSLOCALPKGDESC;

Hm, das ist ja schon irgendwie unschön. Könnten wir das nicht vielleicht
irgendwie in einer Makefile.precompile oder so automatisch in einen
generierten Header packen oder sowas?
Aber jo, das ist was für einen anderen Patch.

> +
>  static const struct tms_strings dict[] = {
> +    // %d Bytes empfangen
> +    &RESSTR_HELPERS_RSBYTESRECEIVED,
> +    "%d %[0:byte:bytes] received",
> +
> +    // %d/%d Bytes empfangen
> +    &RESSTR_HELPERS_RSBYTESRECEIVEDPARTIAL,
> +    "%d/%d %[1:byte:bytes] received",
> +
> +    // Herunterladen von %s
> +    &RESSTR_HELPERS_RSDOWNLOADING,
> +    "Downloading %s",
> +
> +    // Verbinde...
> +    &RESSTR_HELPERS_RSCONNECTING,
> +    "Connecting...",
> +
> +    // Fehler: HTTP-Statuscode
> +    &RESSTR_HELPERS_RSHTTPERROR,
> +    "Error: HTTP status code",
> +
> +    // Aufruf: lpt [scan|list|get <Paket>]'#10'  scan: L'#195#164'd
> +    &RESSTR_P$LPT_RSUSAGE,
> +    "Usage: lpt [scan|list|get <package>]\n"
> +    "  scan:    Download package list from server\n"

Hm war das da in der deutschen Version nicht Mehrzahl, also lists from
servers?

> +    "  list:    List all available packages\n"
> +    "  get:     Install a package\n"
> +    "  install: Install a package from a local file",

Und irgend ein Hinweis oder sowas fehlt doch auch noch...

> +
> +    // Herunterladen und Entpacken von %s
> +    &RESSTR_P$LPT_RSDOWNLOADANDEXTRACT,
> +    "Downloading and extracting %s",
> +
> +    // Suche %s
> +    &RESSTR_P$LPT_RSSEARCHING,
> +    "Searching %s",
> +
> +    // Richte %s ein
> +    &RESSTR_P$LPT_RSCONFIGURING,
> +    "Configuring %s",
> +
> +    // Fehler:
> +    &RESSTR_P$LPT_RSERROR,
> +    "Error:",
> +
> +    // Kann Repository-Liste nicht laden:
> +    &RESSTR_P$LPT_RSCANTLOADREPOLIST,
> +    "Can't load repository list:",
> +
> +    // Download der Paketliste f'#195#188'r %s fehlg
> +    &RESSTR_P$LPT_RSFAILDOWNLOADREPOLIST,
> +    "Download of the package list for %s failed",
> +
> +    // Paket ist bereits installiert:
> +    &RESSTR_P$LPT_RSALREADYINSTALLED,
> +    "Package is already installed:",
> +
> +    // Kann die Paketlisten nicht einlesen:
> +    &RESSTR_P$LPT_RSCANNOTREADPKGLISTS,
> +    "Cannot read package lists:",
> +
> +    // Konnte keine Version von %s finden
> +    &RESSTR_P$LPT_RSCANNOTFINDPACKAGE,
> +    "Could not find a version of %s",
> +
> +    // Konnte die Abh'#195#164'ngigkeiten des Pakets nic
> +    &RESSTR_P$LPT_RSCANNOTRESOLVEDEP,
> +    "Could not resolve dependencies:",
> +
> +    // Falsche Parameterzahl
> +    &RESSTR_P$LPT_RSWRONGPARAMCOUNT,
> +    "Wrong parameter count",
> +
> +    // Ung'#195#188'tige Aktion:
> +    &RESSTR_P$LPT_RSINVALIDACTION,
> +    "Invalid action:",
> +
> +    // Paket %s fehlt
> +    &RESSTR_PACKAGES_RSPACKAGEMISSING,
> +    "Package %s is not available",
> +
> +    // Repository unbekannten Typs!
> +    &RESSTR_REPOSITORIES_RSUNKNOWNREPOTYPE,
> +    "Repository of unknown type!",
> +
> +    // Ung'#195#188'ltige Paketquelle:
> +    &RESSTR_REPOSITORIES_RSINVALIDPKGSRC,
> +    "Invalid package source!",
> +
> +    // Keine Paketliste f'#195#188'r %s vorhand
> +    &RESSTR_REPOSITORY_BASE_RSNOPACKAGELIST,
> +    "No package list available for %s",
> +
> +    // Lade Paketliste %s von %s
> +    &RESSTR_REPOSITORY_HTTP_RSDOWNLOADINGPKGLIST,
> +    "Downloading package list %s from %s",
> +
> +    // Keine (lokale Datei)
> +    &RESSTR_REPOSITORY_SINGLE_RSLOCALPKGDESC,
> +    "None (local file)",
> +
>      0,
>      0,
>  };

Aber sonst sieht das auch gut aus.

Acked-by: Antoine Kaufmann <toni@xxxxxxxxxx>

-- 
Antoine Kaufmann
<toni@xxxxxxxxxxxxxxxx>

Attachment: pgp1NNu2CWZnE.pgp
Description: PGP signature