Re: Fix Bug 23124 with an ln -s

2011-10-19 Thread Austin English
On Tue, Oct 18, 2011 at 17:25, Ken Sharp kennyb...@o2.co.uk wrote:
 http://bugs.winehq.org/show_bug.cgi?id=23124

 Could someone tell me if the attached patch would actually work?

 It does compile and works correctly with LANG=en_PH.utf-8 but I'm don't know
 that:

 1. Using an ln -s is acceptable, nor if it will work given some file
 systems may be unable to use soft links.

This will break the mingw/cygwin builds, as well as compiling on fat32
(already broken, but let's not make it worse..).

You'll need to do this using autoconf/Makefile magic, $(LN_S), which
will use `cp -p` on systems that don't support `ln -s`.

-- 
-Austin




Fix Bug 23124 with an ln -s

2011-10-18 Thread Ken Sharp

http://bugs.winehq.org/show_bug.cgi?id=23124

Could someone tell me if the attached patch would actually work?

It does compile and works correctly with LANG=en_PH.utf-8 but I'm don't 
know that:


1. Using an ln -s is acceptable, nor if it will work given some file 
systems may be unable to use soft links.


2. I have correctly edited configure, configure.ac and LINGUAS, or even 
if I need to edit both.



Thanks all,

Ken
From f05f2b6c877b28984085299635adc2f137ef5300 Mon Sep 17 00:00:00 2001
From: Ken Sharp kennyb...@o2.co.uk
Date: Sat, 15 Oct 2011 15:14:48 +0100
Subject: [PATCH] po: Add English (Philippines) translation

Philippines English follows US English rules, so a simple link will keep the two in sync.
---
 configure|1 +
 configure.ac |1 +
 po/LINGUAS   |1 +
 po/en_PH.po  |1 +
 4 files changed, 4 insertions(+), 0 deletions(-)
 create mode 12 po/en_PH.po

diff --git a/configure b/configure
index 3cf9675..1bde5df 100755
--- a/configure
+++ b/configure
@@ -15284,6 +15284,7 @@ da \
 de \
 el \
 en \
+en_PH \
 en_US \
 eo \
 es \
diff --git a/configure.ac b/configure.ac
index 5de420b..d323175 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2987,6 +2987,7 @@ da \
 de \
 el \
 en \
+en_PH \
 en_US \
 eo \
 es \
diff --git a/po/LINGUAS b/po/LINGUAS
index ac9935c..cb29ec1 100644
--- a/po/LINGUAS
+++ b/po/LINGUAS
@@ -6,6 +6,7 @@ da
 de
 el
 en
+en_PH
 en_US
 eo
 es
diff --git a/po/en_PH.po b/po/en_PH.po
new file mode 12
index 000..2ed6a9a
--- /dev/null
+++ b/po/en_PH.po
@@ -0,0 +1 @@
+en_US.po
\ No newline at end of file
-- 
1.7.4.1