You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Dongsheng Song <do...@gmail.com> on 2007/11/07 08:29:09 UTC
[PATCH] Fix relative path in the pot/po files
Hi,
This patch fix relative path in the pot/po files, so tools like poEdit
can view message source.
[[[
[cauchy@foresee ~/wc/svn/subversion/tools/po]$ svn diff
Index: po-update.sh
===================================================================
--- po-update.sh (revision 27648)
+++ po-update.sh (working copy)
@@ -30,8 +30,8 @@
{
if [ -z "$pot_done" ]; then
echo "Building subversion.pot..."
- (cd $svn_base/subversion/ && \
- find . \
+ (cd $svn_base/subversion/po && \
+ find .. \
-name .svn -prune -or \
-name tests -prune -or \
-name bindings -prune -or \
@@ -55,7 +55,7 @@
--flag=do_io_file_wrapper_cleanup:3:c-format \
--flag=do_io_file_wrapper_cleanup:4:c-format \
--msgid-bugs-address=dev@subversion.tigris.org \
- --add-comments --files-from=- -o po/subversion.pot )
+ --add-comments --files-from=- -o subversion.pot )
pot_done=1
fi
}
]]]
Can I commit?
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: [PATCH] Fix relative path in the pot/po files
Posted by Erik Huelsmann <eh...@gmail.com>.
On 11/7/07, Dongsheng Song <do...@gmail.com> wrote:
> Hi,
>
> This patch fix relative path in the pot/po files, so tools like poEdit
> can view message source.
>
> [[[
> [cauchy@foresee ~/wc/svn/subversion/tools/po]$ svn diff
> Index: po-update.sh
> ===================================================================
> --- po-update.sh (revision 27648)
> +++ po-update.sh (working copy)
> @@ -30,8 +30,8 @@
> {
> if [ -z "$pot_done" ]; then
> echo "Building subversion.pot..."
> - (cd $svn_base/subversion/ && \
> - find . \
> + (cd $svn_base/subversion/po && \
> + find .. \
> -name .svn -prune -or \
> -name tests -prune -or \
> -name bindings -prune -or \
> @@ -55,7 +55,7 @@
> --flag=do_io_file_wrapper_cleanup:3:c-format \
> --flag=do_io_file_wrapper_cleanup:4:c-format \
> --msgid-bugs-address=dev@subversion.tigris.org \
> - --add-comments --files-from=- -o po/subversion.pot )
> + --add-comments --files-from=- -o subversion.pot )
> pot_done=1
> fi
> }
> ]]]
>
> Can I commit?
+1. (my committers name is dionisos, so please don't forget to mention
"Approved by: dionisos" on a separate line at the end of the log
message.)
Don't forget to provide a commit message, please.
bye,
Erik.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org