Skip to content

Commit

Permalink
- Updated packaging scripts for windows to pack all translation files…
Browse files Browse the repository at this point in the history
… into INSTALL_PATH/locale/<lang>

git-svn-id: https://codelite.svn.sourceforge.net/svnroot/codelite/trunk@4658 9da81c78-c036-0410-9e1f-a2b0375e4b5a
  • Loading branch information
eranif committed Dec 16, 2010
1 parent 6c37e94 commit 9b6e059
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 2 deletions.
2 changes: 1 addition & 1 deletion InnoSetup/codelite_mingw.iss
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ Source: "C:\Users\eran\software\MinGW-4.4.1\bin\libintl3.dll"; DestDir: "{app}";
Source: "C:\Users\eran\software\MinGW-4.4.1\bin\libiconv2.dll"; DestDir: "{app}"; Flags: ignoreversion ; Components: Editor
Source: "C:\Users\eran\software\MinGW-4.4.1\*"; DestDir: "{code:GetMinGWInstallDir}"; Flags: recursesubdirs ; Components: MinGW
Source: "..\UnitTest++\*"; DestDir: "{code:GetUnitTestPPInstallDir}"; Flags: recursesubdirs ; Components: UnitTestPP

Source: "..\Runtime\locale\*"; DestDir: "{app}\locale"; Flags: recursesubdirs ; Components: Editor

[Icons]
Name: "{group}\CodeLite "; Filename: "{app}\CodeLite.exe"; WorkingDir: "{app}"
Expand Down
1 change: 1 addition & 0 deletions InnoSetup/codelite_mingw_wx.iss
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ Source: "..\Runtime\templates\*"; DestDir: "{app}\templates"; Flags: recursesubd
Source: "..\Runtime\lexers\*.xml"; DestDir: "{app}\lexers\"; Flags: ignoreversion ; Components: Editor
Source: "..\Runtime\debuggers\Debugger.dll"; DestDir: "{app}\debuggers"; Flags: ignoreversion ; Components: Editor
Source: "..\Runtime\plugins\*.dll"; DestDir: "{app}\plugins"; Flags: ignoreversion ; Components: Editor
Source: "..\Runtime\locale\*"; DestDir: "{app}\locale"; Flags: recursesubdirs ; Components: Editor

Source: "..\lib\gcc_lib\libwxsqlite3u.dll"; DestDir: "{app}"; Flags: ignoreversion ; Components: Editor
Source: "..\lib\gcc_lib\libwxscintillau.dll"; DestDir: "{app}"; Flags: ignoreversion ; Components: Editor
Expand Down
2 changes: 1 addition & 1 deletion InnoSetup/lite_editor.iss
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ Source: "C:\Users\eran\software\MinGW-4.4.1\bin\cygncurses-8.dll"; DestDir: "{ap
Source: "C:\Users\eran\software\MinGW-4.4.1\bin\cygwin1.dll"; DestDir: "{app}"; Flags: ignoreversion ; Components: Editor
Source: "C:\Users\eran\software\MinGW-4.4.1\bin\libintl3.dll"; DestDir: "{app}"; Flags: ignoreversion ; Components: Editor
Source: "C:\Users\eran\software\MinGW-4.4.1\bin\libiconv2.dll"; DestDir: "{app}"; Flags: ignoreversion ; Components: Editor

Source: "..\Runtime\locale\*"; DestDir: "{app}\locale"; Flags: recursesubdirs ; Components: Editor

[Icons]
Name: "{group}\CodeLite "; Filename: "{app}\CodeLite.exe"; WorkingDir: "{app}"
Expand Down
11 changes: 11 additions & 0 deletions Runtime/locale/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Installing new locale:
- Create your codelite.mo file (using codelite.pot)
- Creae a directory for your translation
- Copy the codelite.mo to that directory

Example:
To add an Italian translation file, create the directory 'it' and copy the file codelite.mo to it.
So you should have this directory form:
it/codelite.mo


1 change: 1 addition & 0 deletions Runtime/update.bat
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ xcopy templates\gizmos\* "%ProgramFiles(x86)%\CodeLite\templates\gizmos\" /E /I
xcopy templates\qmake\* "%ProgramFiles(x86)%\CodeLite\templates\qmake\" /E /I /H /Y /EXCLUDE:excludes
xcopy *.html "%ProgramFiles(x86)%\CodeLite\" /H /Y /EXCLUDE:excludes
xcopy codelite-icons.zip "%ProgramFiles(x86)%\CodeLite\" /H /Y /EXCLUDE:excludes
xcopy locale\* "%ProgramFiles(x86)%\CodeLite\locale\" /E /I /H /Y /EXCLUDE:excludes

:: Copy the misc files
copy codelite_indexer.exe "%ProgramFiles(x86)%\CodeLite\" /Y
Expand Down

0 comments on commit 9b6e059

Please sign in to comment.