summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-03-02 06:58:11 -0500
committerAdam <Adam@anope.org>2013-03-03 00:55:11 -0500
commitae071cef7510ea7b6a46edfab605be69169f2aae (patch)
treee5fede7251e24a506633f3e9c5e5e6992ac5ad4f
parent57b31d43eb0cac6a09ff34c21c86a1b45814a0ac (diff)
Update language instructions in README to use git instead of svn. Add
japanese language file to Windows makefile and installer.
-rw-r--r--docs/README10
-rw-r--r--lang/Makefile.win327
-rw-r--r--src/tools/Anope Install Script.nsi2
-rw-r--r--src/tools/Anope MySQL Install Script.nsi2
4 files changed, 14 insertions, 7 deletions
diff --git a/docs/README b/docs/README
index fa780a926..946865508 100644
--- a/docs/README
+++ b/docs/README
@@ -366,13 +366,13 @@ Table of Contents
6) Adding Your Translation Into The Source
- First, get the latest svn version of Anope. This can be done by doing
- 'svn co http://anope.svn.sourceforge.net/svnroot/anope/stable ./anope-stable`
+ First, get the latest version of Anope. This can be done by doing
+ 'git clone git://github.com/anope/anope anope-stable'
- Second, Place your language file in lang/, and type 'svn add file.l`. Where file is
+ Second, Place your language file in lang/, and type 'git add file.l`. Where file is
your language file.
- Next, edit lang/Makefile and add your file into both the LANGOBJS variable and
+ Next, edit lang/Makefile(.win32) and add your file into both the LANGOBJS variable and
the LANGSRCS variable (alphabetically please). Then, go down and add an entry for
it similar the others, eg:
en_us: en_us.l langcomp index
@@ -398,7 +398,7 @@ Table of Contents
load_lang(LANG_PL, "pl");
load_lang(LANG_BLAH, "blah");
- Now use 'svn diff > language.diff` to get the changes you made, and if it looks good (test it)
+ Now use 'git diff HEAD > language.diff` to get the changes you made, and if it looks good (test it)
email it to team@anope.org!
Please be aware we will only include a new language if there is sufficient demand for it.
diff --git a/lang/Makefile.win32 b/lang/Makefile.win32
index 4791287e0..b197e05c7 100644
--- a/lang/Makefile.win32
+++ b/lang/Makefile.win32
@@ -3,8 +3,8 @@
include ../Makefile.inc.win32
-LANGOBJS = cat de en_us es fr hun gr nl pl pt tr it ru
-LANGSRCS = cat de en_us.l es fr.l hun.l gr.l nl.l pl.l pt.l tr.l it.l ru.l
+LANGOBJS = cat de en_us es fr hun gr nl pl pt tr it ja_utf8 ru
+LANGSRCS = cat de en_us.l es fr.l hun.l gr.l nl.l pl.l pt.l tr.l it.l ja_utf8.l ru.l
LANGCOMP = ./langcomp
#LANGCOMP = ./langcomp -w
@@ -26,6 +26,7 @@ install: all
-copy pt ..\$(DATDEST)\languages
-copy tr ..\$(DATDEST)\languages
-copy it ..\$(DATDEST)\languages
+ -copy ja_utf8 ..\$(DATDEST)\languages
-copy ru ..\$(DATDEST)\languages
clean:
@@ -59,6 +60,8 @@ tr: tr.l langtool.exe langcomp.exe index
langcomp $@.l
it: it.l langtool.exe langcomp.exe index
langcomp $@.l
+ja_utf8: ja_utf8.l langtool.exe langcomp.exe index
+ langcomp $@.l
ru: ru.l langtool.exe langcomp.exe index
langcomp $@.l
diff --git a/src/tools/Anope Install Script.nsi b/src/tools/Anope Install Script.nsi
index a8ec24ef4..219750278 100644
--- a/src/tools/Anope Install Script.nsi
+++ b/src/tools/Anope Install Script.nsi
@@ -102,6 +102,7 @@ File "anope-1.8.8\anope.bat"
File "anope-1.8.8\data\languages\gr"
File "anope-1.8.8\data\languages\hun"
File "anope-1.8.8\data\languages\it"
+ File "anope-1.8.8\data\languages\ja_utf8"
File "anope-1.8.8\data\languages\nl"
File "anope-1.8.8\data\languages\pl"
File "anope-1.8.8\data\languages\pt"
@@ -492,6 +493,7 @@ Section Uninstall
Delete "$INSTDIR\data\languages\pt"
Delete "$INSTDIR\data\languages\pl"
Delete "$INSTDIR\data\languages\nl"
+ Delete "$INSTDIR\data\languages\ja_utf8"
Delete "$INSTDIR\data\languages\it"
Delete "$INSTDIR\data\languages\hun"
Delete "$INSTDIR\data\languages\gr"
diff --git a/src/tools/Anope MySQL Install Script.nsi b/src/tools/Anope MySQL Install Script.nsi
index a31588473..c5b2a4c2e 100644
--- a/src/tools/Anope MySQL Install Script.nsi
+++ b/src/tools/Anope MySQL Install Script.nsi
@@ -103,6 +103,7 @@ File "anope-1.8.8-MySQL\anope.bat"
File "anope-1.8.8-MySQL\data\languages\gr"
File "anope-1.8.8-MySQL\data\languages\hun"
File "anope-1.8.8-MySQL\data\languages\it"
+ File "anope-1.8.8-MySQL\data\languages\ja_utf8"
File "anope-1.8.8-MySQL\data\languages\nl"
File "anope-1.8.8-MySQL\data\languages\pl"
File "anope-1.8.8-MySQL\data\languages\pt"
@@ -492,6 +493,7 @@ Section Uninstall
Delete "$INSTDIR\data\languages\pt"
Delete "$INSTDIR\data\languages\pl"
Delete "$INSTDIR\data\languages\nl"
+ Delete "$INSTDIR\data\languages\ja_utf8"
Delete "$INSTDIR\data\languages\it"
Delete "$INSTDIR\data\languages\hun"
Delete "$INSTDIR\data\languages\gr"