107 lines
2.2 KiB
Perl
107 lines
2.2 KiB
Perl
# Selima Website Content Management System
|
|
# L10N.pm: The core localization class.
|
|
|
|
# Copyright (c) 2003-2018 imacat.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
# Author: imacat <imacat@mail.imacat.idv.tw>
|
|
# First written: 2003-04-21
|
|
|
|
package Selima::L10N;
|
|
use 5.008;
|
|
use strict;
|
|
use warnings;
|
|
use base qw(Locale::Maketext::Gettext);
|
|
|
|
return 1;
|
|
|
|
# The core Chinese (Taiwan) localized messages.
|
|
package Selima::L10N::zh_tw;
|
|
use 5.008;
|
|
use strict;
|
|
use warnings;
|
|
use base qw(Locale::Maketext::Gettext);
|
|
|
|
sub numerate : method { $_[2] }
|
|
|
|
return 1;
|
|
|
|
# The core Chinese (China) localized messages.
|
|
package Selima::L10N::zh_cn;
|
|
use 5.008;
|
|
use strict;
|
|
use warnings;
|
|
use base qw(Locale::Maketext::Gettext);
|
|
|
|
sub numerate : method { $_[2] }
|
|
|
|
return 1;
|
|
|
|
# The core Chinese localized messages.
|
|
package Selima::L10N::zh;
|
|
use 5.008;
|
|
use strict;
|
|
use warnings;
|
|
use base qw(Locale::Maketext::Gettext);
|
|
|
|
sub numerate : method { $_[2] }
|
|
|
|
return 1;
|
|
|
|
# The core English localized messages.
|
|
package Selima::L10N::en;
|
|
use 5.008;
|
|
use strict;
|
|
use warnings;
|
|
use base qw(Locale::Maketext::Gettext);
|
|
|
|
return 1;
|
|
|
|
# The core English (United States) localized messages.
|
|
package Selima::L10N::en_us;
|
|
use 5.008;
|
|
use strict;
|
|
use warnings;
|
|
use base qw(Locale::Maketext::Gettext);
|
|
|
|
return 1;
|
|
|
|
# The core default-language localized messages.
|
|
package Selima::L10N::i_default;
|
|
use 5.008;
|
|
use strict;
|
|
use warnings;
|
|
use base qw(Locale::Maketext::Gettext);
|
|
|
|
return 1;
|
|
|
|
|
|
# The core automatic localized messages.
|
|
package Selima::_AUTO::L10N;
|
|
use 5.008;
|
|
use strict;
|
|
use warnings;
|
|
use base qw(Locale::Maketext::Gettext);
|
|
|
|
return 1;
|
|
|
|
# The core automatic default-language localized messages.
|
|
package Selima::_AUTO::L10N::i_default;
|
|
use 5.008;
|
|
use strict;
|
|
use warnings;
|
|
use base qw(Locale::Maketext::Gettext);
|
|
|
|
return 1;
|