Commit 3af5bc49 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Translate Windows and Mac download pages too

parent 837a7572
PHP_IGNORES = download-skins2 download-skins2-go skins skins_upload skins_old
SUBDIR = contest releases
PHP_FILES := $(wildcard vlc/*.php) index.fr index.de index.ru
PHP_FILES := $(wildcard vlc/*.php) \
index.fr index.de index.ru \
download-windows.fr download-windows.de download-windows.ru \
download-macosx.fr download-macosx.de download-macosx.ru
download-windows.%.php: download-windows.php $(ROOT)/locale/%/LC_MESSAGES/website.po
rm -f ./$@ && sed -e "s/language = \"\"/language = \"$*\"/" download-windows.php > ./$@;
msgfmt -c -v -o $(ROOT)/locale/$*/LC_MESSAGES/website.mo $(ROOT)/locale/$*/LC_MESSAGES/website.po
download-macosx.%.php: download-macosx.php $(ROOT)/locale/%/LC_MESSAGES/website.po
rm -f ./$@ && sed -e "s/language = \"\"/language = \"$*\"/" download-macosx.php > ./$@;
msgfmt -c -v -o $(ROOT)/locale/$*/LC_MESSAGES/website.mo $(ROOT)/locale/$*/LC_MESSAGES/website.po
<?php
$language = "";
$title = "Download official VLC media player for Mac OS X";
$additional_css = array("/style/countries.css","/style/panels.css");
require($_SERVER["DOCUMENT_ROOT"]."/include/header.php");
......
<?php
$language = "";
$title = "Download official VLC media player for Windows";
require($_SERVER["DOCUMENT_ROOT"]."/include/header.php");
include($_SERVER["DOCUMENT_ROOT"]."/include/package.php");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment