1
0
mirror of https://github.com/anope/anope.git synced 2026-06-12 19:14:47 +02:00

Update language instructions in README to use git instead of svn. Add

japanese language file to Windows makefile and installer.
This commit is contained in:
Adam
2013-03-02 06:58:11 -05:00
parent 57b31d43eb
commit ae071cef75
4 changed files with 14 additions and 7 deletions
+5 -5
View File
@@ -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.
+5 -2
View File
@@ -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
+2
View File
@@ -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"
+2
View File
@@ -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"