[vlc-devel] commit: Add translations for Win32 installer (fix #1044) (Pauline Castets )

git version control git at videolan.org
Wed Aug 6 22:32:21 CEST 2008


vlc | branch: master | Pauline Castets <pcastets at actech-innovation.com> | Wed Aug  6 10:27:35 2008 +0200| [b75b548f84d4dc90fceb3c15ff35e4b7a3e0f108] | committer: Christophe Mutricy 

Add translations for Win32 installer (fix #1044)

Enable translation for Win32 installer. French translation is provided.
New translation files need to be created in order to translate other
languages.
Translated strings are:
- strings displayed in installer pages, other than the NSI standard ones
(section names, section descriptions, installation types, VLC already
installed massage)
- context menu entries (Open With VLC, Add to VLC's playlist)
- name of actions displayed in Windows autorun dialog, for DVD and CD
(Play With VLC)

Add translation files for english and french (english.nsh and
french.nsh)
Add header file to declare translation variables (declaration.nsh)
Include declaration.nsh in NSI file
Replace every displayed string in installer by the variable defined in
language file.
Modify Makefile to copy translation files for Win32 installer

Language is chosen by NSI, with a dialog at the beginning of the
installer (which was already there).
Translated string are copied into the variables according to which
language was chosen. Default is English.

Signed-off-by: Christophe Mutricy <xtophe at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b75b548f84d4dc90fceb3c15ff35e4b7a3e0f108
---

 Makefile.am                                    |    7 ++-
 extras/package/win32/languages/declaration.nsh |   42 +++++++++
 extras/package/win32/languages/english.nsh     |   56 ++++++++++++
 extras/package/win32/languages/french.nsh      |   56 ++++++++++++
 extras/package/win32/vlc.win32.nsi.in          |  111 ++++++++++++------------
 5 files changed, 217 insertions(+), 55 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=b75b548f84d4dc90fceb3c15ff35e4b7a3e0f108



More information about the vlc-devel mailing list