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

Re: [PATCH] create LC_MESSAGES directories and copy subversion.mo to the directories at compile time

From: Masaru Tsuchiyama <m.tmatma_at_gmail.com>
Date: Sat, 24 Aug 2013 23:36:46 +0900

Julian Foad wrote:> Masaru Tsuchiyama wrote:
>
>> Does anybody comment my patch?
>
> Hi Masaru.
>
> It's not clear what is the reason for these changes. Your log
message needs to answer the question "Why?".
>
>> Masaru Tsuchiyama wrote:
>>> I attach a patch to create LC_MESSAGES directories and
>>> copy subversion.mo files to the directories and do some extra works.
>>>
>>> [[[
>>>
>>> * build/generator/gen_win.py
>>> (POFile.__init__) : set class member 'lang' to 'base'.
>>>
>>> * build/generator/templates/build_locale.ezt
>>> () : change working directory by %~dp0 to make sure that the
relative
>>> paths, which are used in the bat file, are correct.
>
> Saying "to make sure ... paths ... are correct" suggests that you
have found cases where the paths are not correct -- in other words, a
bug. Can you describe it?

I thought working directory when VC6 invokes make file project is set to
Output Directory.
But it was not true. This change tunrs out not to mandatory.
So I remove this change.

>>> () : create mo directory only if the directory doesn't exist,
>>> to suppress a warning.
>
> OK, good.

This change is independent.
So I make this as a separete patch.
I'll send this with another mail.

>
>>> () : create LC_MESSAGES directories if they don't exist.
>>> () : copy mo files to the LC_MESSAGES directories as subversion.mo
>> files.
>
> Are this last two changes adding new functionality, or what?

the last two changes and the first change are adding new functionality.
Those change makes it easy to debug i18n feature.

I make a new patch.

[[[
creae LC_MESSAGES directories and copy subversion.mo files
to make it easy to debug i18n feauture.

This change makes it possible to test i18n feauture by Visual Studio.

* build/generator/gen_win.py
   (POFile.__init__) : set class member 'lang' to 'base'.

* build/generator/templates/build_locale.ezt
   () : create LC_MESSAGES directories if they don't exist.
   () : copy mo files to the LC_MESSAGES directories as subversion.mo files.
]]]

Thank you for reviewing.

Regards.

-- 
Masaru Tsuchiyama <m.tmatma_at_gmail.com>

Received on 2013-08-24 16:37:25 CEST

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.