From 30d3914fd0f3fbfaf8adf9eb71751858cd63eceb Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Tue, 5 Jan 2010 15:46:22 +0100 Subject: [PATCH] Include the Japanese translation of the man pages in the Windows installer. --- installer/mkvtoolnix-unicode.nsi | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/installer/mkvtoolnix-unicode.nsi b/installer/mkvtoolnix-unicode.nsi index 4976abd85..9bcb417ff 100644 --- a/installer/mkvtoolnix-unicode.nsi +++ b/installer/mkvtoolnix-unicode.nsi @@ -106,6 +106,12 @@ Section "Program files" SEC01 File "doc\mmg.html" File "doc\README.txt" File "doc\README.Windows.txt" + SetOutPath "$INSTDIR\doc\ja" + File "doc\ja\mkvextract.html" + File "doc\ja\mkvinfo.html" + File "doc\ja\mkvmerge.html" + File "doc\ja\mkvpropedit.html" + File "doc\ja\mmg.html" SetOutPath "$INSTDIR\doc\images" File "doc\images\addingremovingattachments.gif" File "doc\images\addremovefiles.gif" @@ -177,6 +183,11 @@ Section "Program files" SEC01 CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\Documentation\Command line reference\mkvinfo CLI reference.lnk" "$INSTDIR\doc\mkvinfo.html" CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\Documentation\Command line reference\mkvextract CLI reference.lnk" "$INSTDIR\doc\mkvextract.html" CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\Documentation\Command line reference\mkvpropedit CLI reference.lnk" "$INSTDIR\doc\mkvpropedit.html" + CreateDirectory "$SMPROGRAMS\$ICONS_GROUP\Documentation\Command line reference\Japanese" + CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\Documentation\Command line reference\Japanese\mkvmerge CLI reference.lnk" "$INSTDIR\doc\ja\mkvmerge.html" + CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\Documentation\Command line reference\Japanese\mkvinfo CLI reference.lnk" "$INSTDIR\doc\ja\mkvinfo.html" + CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\Documentation\Command line reference\Japanese\mkvextract CLI reference.lnk" "$INSTDIR\doc\ja\mkvextract.html" + CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\Documentation\Command line reference\Japanese\mkvpropedit CLI reference.lnk" "$INSTDIR\doc\ja\mkvpropedit.html" CreateDirectory "$SMPROGRAMS\$ICONS_GROUP\Documentation\Other documentation" CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\Documentation\Other documentation\ChangeLog - What is new.lnk" "$INSTDIR\doc\ChangeLog.txt" CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\Documentation\Other documentation\README.lnk" "$INSTDIR\doc\README.txt" @@ -240,6 +251,11 @@ Section Uninstall Delete "$SMPROGRAMS\$ICONS_GROUP\mkvmerge GUI.lnk" Delete "$SMPROGRAMS\$ICONS_GROUP\mkvinfo GUI.lnk" Delete "$SMPROGRAMS\$ICONS_GROUP\Documentation\mkvmerge GUI guide.lnk" + Delete "$SMPROGRAMS\$ICONS_GROUP\Documentation\Command line reference\Japanese\mkvpropedit CLI reference.lnk" + Delete "$SMPROGRAMS\$ICONS_GROUP\Documentation\Command line reference\Japanese\mkvmerge CLI reference.lnk" + Delete "$SMPROGRAMS\$ICONS_GROUP\Documentation\Command line reference\Japanese\mkvinfo CLI reference.lnk" + Delete "$SMPROGRAMS\$ICONS_GROUP\Documentation\Command line reference\Japanese\mkvextract CLI reference.lnk" + Delete "$SMPROGRAMS\$ICONS_GROUP\Documentation\Command line reference\mkvpropedit CLI reference.lnk" Delete "$SMPROGRAMS\$ICONS_GROUP\Documentation\Command line reference\mkvmerge CLI reference.lnk" Delete "$SMPROGRAMS\$ICONS_GROUP\Documentation\Command line reference\mkvinfo CLI reference.lnk" Delete "$SMPROGRAMS\$ICONS_GROUP\Documentation\Command line reference\mkvextract CLI reference.lnk" @@ -248,6 +264,7 @@ Section Uninstall Delete "$SMPROGRAMS\$ICONS_GROUP\Documentation\Other documentation\The GNU GPL.lnk" RMDir "$SMPROGRAMS\$ICONS_GROUP\Documentation\Other documentation" + RMDir "$SMPROGRAMS\$ICONS_GROUP\Documentation\Command line reference\Japanese" RMDir "$SMPROGRAMS\$ICONS_GROUP\Documentation\Command line reference" RMDir "$SMPROGRAMS\$ICONS_GROUP\Documentation" RMDir "$SMPROGRAMS\$ICONS_GROUP" @@ -278,6 +295,12 @@ Section Uninstall Delete "$INSTDIR\data\magic" Delete "$INSTDIR\data\magic.mgc" + Delete "$INSTDIR\doc\ja\mkvpropedit.html" + Delete "$INSTDIR\doc\ja\mkvextract.html" + Delete "$INSTDIR\doc\ja\mkvinfo.html" + Delete "$INSTDIR\doc\ja\mkvmerge.html" + Delete "$INSTDIR\doc\ja\mmg.html" + Delete "$INSTDIR\doc\ChangeLog.txt" Delete "$INSTDIR\doc\COPYING.txt" Delete "$INSTDIR\doc\mkvpropedit.html" @@ -342,6 +365,7 @@ Section Uninstall RMDir "$INSTDIR\locale" RMDir "$INSTDIR\data" RMDir "$INSTDIR\doc\images" + RMDir "$INSTDIR\doc\ja" RMDir "$INSTDIR\doc" RMDir "$INSTDIR\examples"