Skip to content

Commit

Permalink
[#8] - Removed constants from lang.mk files to prevent confusion
Browse files Browse the repository at this point in the history
  • Loading branch information
Arvind Satyanarayan committed Mar 29, 2009
1 parent 0fd30ea commit 90029dc
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 56 deletions.
2 changes: 1 addition & 1 deletion build/Build.pm
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ sub setup {
# Strip the dialect portion of the language code (ab_CD into ab).
($self->{'short-lang=s'} = $self->{'lang=s'}) =~ s/([a-z]{2})_[A-Z]{2}$/$1/o;

$self->{'pack=s'} ||= 'MT';
$self->{'pack=s'} ||= 'MTOS';
$ENV{BUILD_PACKAGE} = $self->{'pack=s'};
$ENV{BUILD_LANGUAGE} = $self->{'lang=s'};

Expand Down
10 changes: 1 addition & 9 deletions build/mt-dists/de.mk
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
BUILD_LANGUAGE = de

VERSION_SUFFIX = -de
PORTAL_URL = http://www.sixapart.com/movabletype/
SUPPORT_URL = http://www.sixapart.com/movabletype/support/
NEWS_URL = http://www.sixapart.com/movabletype/news/
NEWSBOX_URL = http://www.movabletype.org/news/newsbox.html
CATEGORY_NAME_NODASH = 0
DEFAULT_TIMEZONE = 1
MAIL_ENCODING = ISO-8859-1
PUBLISH_CHARSET = utf-8
VERSION_SUFFIX = -de
11 changes: 0 additions & 11 deletions build/mt-dists/default.mk
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,3 @@ SCHEMA_VERSION = 4.0070
API_VERSION = 4.25

# BUILD_LANGUAGE = en_US

VERSION_SUFFIX =
PORTAL_URL = http://www.sixapart.com/movabletype/
SUPPORT_URL = http://www.sixapart.com/movabletype/support/
NEWS_URL = http://www.sixapart.com/movabletype/news/
NEWSBOX_URL = http://www.sixapart.com/movabletype/news/mt4_news_widget.html
LEARNINGNEWS_URL = http://learning.movabletype.org/newsbox.html
CATEGORY_NAME_NODASH = 0
DEFAULT_TIMEZONE = 0
MAIL_ENCODING = ISO-8859-1
PUBLISH_CHARSET = utf-8
8 changes: 0 additions & 8 deletions build/mt-dists/es.mk
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
BUILD_LANGUAGE = es

VERSION_SUFFIX = -es
PORTAL_URL = http://www.sixapart.com/movabletype/
SUPPORT_URL = http://www.sixapart.com/movabletype/support/
NEWS_URL = http://www.sixapart.com/movabletype/news/
NEWSBOX_URL = http://www.movabletype.org/news/newsbox.html
CATEGORY_NAME_NODASH = 0
DEFAULT_TIMEZONE = 1
MAIL_ENCODING = ISO-8859-1
PUBLISH_CHARSET = utf-8
8 changes: 0 additions & 8 deletions build/mt-dists/fr.mk
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
BUILD_LANGUAGE = fr

VERSION_SUFFIX = -fr
PORTAL_URL = http://www.sixapart.com/movabletype/
SUPPORT_URL = http://www.sixapart.com/movabletype/support/
NEWS_URL = http://www.sixapart.com/movabletype/news/
NEWSBOX_URL = http://www.movabletype.org/news/newsbox.html
CATEGORY_NAME_NODASH = 0
DEFAULT_TIMEZONE = 1
MAIL_ENCODING = ISO-8859-1
PUBLISH_CHARSET = utf-8
11 changes: 0 additions & 11 deletions build/mt-dists/ja.mk
Original file line number Diff line number Diff line change
@@ -1,14 +1,3 @@
BUILD_LANGUAGE = ja

VERSION_SUFFIX = -ja
PORTAL_URL = http://www.sixapart.jp/movabletype/
SUPPORT_URL = http://www.sixapart.jp/movabletype/support/
NEWS_URL = http://www.sixapart.jp/movabletype/
NEWSBOX_URL = http://www.sixapart.jp/movabletype/news/newsbox.html
LEARNINGNEWS_URL = http://www.movabletype.jp/newsbox.html
CATEGORY_NAME_NODASH = 1
DEFAULT_TIMEZONE = 9
MAIL_ENCODING = ISO-2022-JP
LOG_EXPORT_ENCODING = Shift_JIS
EXPORT_ENCODING = Shift_JIS
PUBLISH_CHARSET = UTF-8
8 changes: 0 additions & 8 deletions build/mt-dists/nl.mk
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
BUILD_LANGUAGE = nl

VERSION_SUFFIX = -nl
PORTAL_URL = http://www.sixapart.com/movabletype/
SUPPORT_URL = http://www.sixapart.com/movabletype/support/
NEWS_URL = http://www.sixapart.com/movabletype/news/
NEWSBOX_URL = http://www.movabletype.org/news/newsbox.html
CATEGORY_NAME_NODASH = 0
DEFAULT_TIMEZONE = 1
MAIL_ENCODING = ISO-8859-1
PUBLISH_CHARSET = utf-8

0 comments on commit 90029dc

Please sign in to comment.