|
From: <dwa...@us...> - 2009-09-26 15:10:24
|
Revision: 9865
http://zaf.svn.sourceforge.net/zaf/?rev=9865&view=rev
Author: dwaynebailey
Date: 2009-09-26 15:10:16 +0000 (Sat, 26 Sep 2009)
Log Message:
-----------
Carry human readable names across to the description.xml creation script and remove hardcoded en_ZA assumption.
Modified Paths:
--------------
trunk/dict/utils/Makefile.oxts
trunk/dict/utils/oxt/make-descriptionxml
Modified: trunk/dict/utils/Makefile.oxts
===================================================================
--- trunk/dict/utils/Makefile.oxts 2009-09-26 13:19:21 UTC (rev 9864)
+++ trunk/dict/utils/Makefile.oxts 2009-09-26 15:10:16 UTC (rev 9865)
@@ -88,7 +88,7 @@
$(TARGETDIR)/description.xml: ../../utils/oxt/make-descriptionxml $(MAKES)
@echo "Building description.xml"
- $(shell ../../utils/oxt/make-descriptionxml $(DICT) $(LANG) $(VERSION) $(DOWNLOAD_URLBASE) $(INFO_URLBASE) $(REGION))
+ $(shell ../../utils/oxt/make-descriptionxml $(DICT) $(LANG) $(VERSION) $(DOWNLOAD_URLBASE) $(INFO_URLBASE) $(REGION) $(LANGNAME) "$(REGIONNAME)")
$(TARGETDIR)/dictionaries.xcu: ../../utils/oxt/make-dictionariesxcu $(MAKES)
@echo "Building dictionaries.xcu"
Modified: trunk/dict/utils/oxt/make-descriptionxml
===================================================================
--- trunk/dict/utils/oxt/make-descriptionxml 2009-09-26 13:19:21 UTC (rev 9864)
+++ trunk/dict/utils/oxt/make-descriptionxml 2009-09-26 15:10:16 UTC (rev 9865)
@@ -19,6 +19,8 @@
DOWNLOAD_URLBASE="$4"
INFO_URLBASE="$5"
REGION="$6"
+LANGNAME="$7"
+REGIONNAME="$8"
if [ -n "$REGION" ]; then
SUFFIX="_$REGION"
@@ -61,7 +63,7 @@
-->
<publisher>
- <name xlink:href="$INFO_URLBASE/publisher-$LANG.html" lang="en">SA Translation Project (en)</name>
+ <name xlink:href="$INFO_URLBASE/publisher-$LANG.html" lang="en">SA Translation Project ($LANG)</name>
<!-- Other languages, as above -->
</publisher>
@@ -72,7 +74,7 @@
</release-notes>
<display-name>
- <name lang="en">South African English ($LANG$SUFFIX) spell check dictionary</name>
+ <name lang="en">$LANGNAME ($REGIONNAME) ($LANG$SUFFIX) spell check dictionary</name>
<!-- Other languages, as above -->
</display-name>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|