po: Add English (Philippines) resource
Ken Sharp
kennybobs at o2.co.uk
Sun Aug 4 16:16:13 CDT 2013
Hi everyone,
Would anyone mind looking at the attached patch?
It adds the English (Philippines) resource by linking (or copying) the
English (US) resource.
See http://bugs.winehq.org/show_bug.cgi?id=23124
Actually, the attached version links to fr.po (French) to make testing
much easier. The final won't do that. It's explained in the bug.
I have tested this successfully in Linux only. I wanted to test others but:
Cygwin 1.7.22: creates its own "symlink" but no translations are built
at all. Compilation is basically broken.
PC-BSD 9.1: complains about gettext although the config.log seems to
complain about gm4. I gave up.
OpenIndiana: can't seem to find its own packages. Gave up.
Debian kFreeBSD: all sorts of problems in VBox. Might try again later.
So clearly I've had no luck on other platforms.
If anyone else could quickly test it, that would be great!
Thanks to Austin and François for the help thus far.
Of course, all feedback welcome.
TIA,
Ken
-------------- next part --------------
>From 310719c3771a2713af2743667a3825a9bbec6a48 Mon Sep 17 00:00:00 2001
From: Ken Sharp <kennybobs at o2.co.uk>
Date: Tue, 30 Jul 2013 23:34:03 +0100
Subject: po: Add English (Philippines) resource
---
.gitignore | 1 +
Make.rules.in | 3 +++
Makefile.in | 1 +
configure | 1 +
configure.ac | 1 +
po/LINGUAS | 1 +
tools/make_makefiles | 1 +
7 files changed, 9 insertions(+)
diff --git a/.gitignore b/.gitignore
index 8c51c2a..2a78316 100644
--- a/.gitignore
+++ b/.gitignore
@@ -283,6 +283,7 @@ loader/wine64-preloader
loader/wine_info.plist
msg.pot
po/*.mo
+po/en_PH.po
programs/Makeprog.rules
programs/rpcss/epm.h
programs/rpcss/epm_s.c
diff --git a/Make.rules.in b/Make.rules.in
index b7b89f5..e98ce52 100644
--- a/Make.rules.in
+++ b/Make.rules.in
@@ -111,6 +111,9 @@ filter: dummy
.svg.bmp:
CONVERT="$(CONVERT)" ICOTOOL="$(ICOTOOL)" RSVG="$(RSVG)" $(BUILDIMAGE) $< $@
+$(top_srcdir)/po/en_PH.po: $(top_srcdir)/po/fr.po
+ $(LN_S) -f fr.po $@
+
.po.mo:
$(MSGFMT) -o $@ $<
diff --git a/Makefile.in b/Makefile.in
index 72161fc..57f912f 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -52,6 +52,7 @@ include/stamp-h: include/config.h.in config.status
.PHONY: __clean__
clean:: __clean__
+ $(RM) po/en_PH.po
distclean:: clean
$(RM) config.* configure.lineno TAGS tags include/config.h include/stamp-h Makefile Make.tmp
$(RM) -r autom4te.cache
diff --git a/configure b/configure
index 5b1e50f..c673e4c 100755
--- a/configure
+++ b/configure
@@ -16493,6 +16493,7 @@ da \
de \
el \
en \
+en_PH \
en_US \
eo \
es \
diff --git a/configure.ac b/configure.ac
index f9e35e6..7df18ea 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3258,6 +3258,7 @@ da \
de \
el \
en \
+en_PH \
en_US \
eo \
es \
diff --git a/po/LINGUAS b/po/LINGUAS
index 091a734..a4c49e1 100644
--- a/po/LINGUAS
+++ b/po/LINGUAS
@@ -6,6 +6,7 @@ da
de
el
en
+en_PH
en_US
eo
es
diff --git a/tools/make_makefiles b/tools/make_makefiles
index 566ca0d..2ba596f 100755
--- a/tools/make_makefiles
+++ b/tools/make_makefiles
@@ -98,6 +98,7 @@ my @ignores = (
"loader/wine_info.plist",
"msg.pot",
"po/*.mo",
+ "po/en_PH.po",
"programs/winetest/build.nfo",
"programs/winetest/build.rc",
"rsrc.pot",
--
1.7.9.5
More information about the wine-devel
mailing list