[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [Bug] Language Mix in Subversion messages

From: Kobayashi Noritada <nori1_at_dolphin.c.u-tokyo.ac.jp>
Date: 2006-08-16 17:57:17 CEST

Hi,

I have been using HEAD of the 1.4.x branch since the branch cut, but
such problems have never occurred in my environment.

> $ svn up
> At revision 228.
>
> $ export LANG=de
>
> $ svn up
> Revision 228.
>
> $ svn ps svn:log --revprop -r 1000 tester .
> svn: No such revision 1000
>
> $ svn ps svn:log --revprop -r 100 tester .
> ask the administrator to create a pre-revprop-change hook

This is a problem. ...However, aren't you using csh or tcsh here? If so,
you must set environmental variables with setenv, instead of export, like
"setenv LANG de". If you're using sh/bash/zsh, using export is a proper
way.

> Weinert@weinert ~/Subversion/work/7777
> $ svn ps svn:log --revprop -r 100
> svn: Not enough arguments provided; try 'svn help' for more info
>
> Weinert@weinert ~/Subversion/work/7777
> $ svn ps svn:log --revprop -r 100 -m " "
> Unterbefehl 'propset' akzeptiert die Option '-m [--message] par' nicht
> Geben Sie 'svn help propset' fr Hilfe ein.

Messages are correctly localized here. There is no problem, as you said
below.

> If I look at de.po (in 1.4.0-rc4) I see that there is no translation
> for 'Not enough arguments provided; try 'svn help' for more info' so
> this may be the cause for this special text being displayed in English.

> But e. g. 'No such revision' looks okay for me - but I am not familiar
> with .po files.

po files only work as follows:

  _("original message")

in the source code plus

  msgid "original message"
  msgstr "translated message"

in the po file returns

  translated message

as output message.

So, I'll suggest you to check whether you are correctly setting the
environmental variables.

Thanks,

-nori

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Aug 16 18:02:10 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.