xref: /webtrees/app/Module/LanguageVietnamese.php (revision 3976b4703df669696105ed6b024b96d433c8fbdb)
102086832SGreg Roach<?php
2*3976b470SGreg Roach
302086832SGreg Roach/**
402086832SGreg Roach * webtrees: online genealogy
502086832SGreg Roach * Copyright (C) 2019 webtrees development team
602086832SGreg Roach * This program is free software: you can redistribute it and/or modify
702086832SGreg Roach * it under the terms of the GNU General Public License as published by
802086832SGreg Roach * the Free Software Foundation, either version 3 of the License, or
902086832SGreg Roach * (at your option) any later version.
1002086832SGreg Roach * This program is distributed in the hope that it will be useful,
1102086832SGreg Roach * but WITHOUT ANY WARRANTY; without even the implied warranty of
1202086832SGreg Roach * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1302086832SGreg Roach * GNU General Public License for more details.
1402086832SGreg Roach * You should have received a copy of the GNU General Public License
1502086832SGreg Roach * along with this program. If not, see <http://www.gnu.org/licenses/>.
1602086832SGreg Roach */
1702086832SGreg Roachdeclare(strict_types=1);
1802086832SGreg Roach
1902086832SGreg Roachnamespace Fisharebest\Webtrees\Module;
2002086832SGreg Roach
2102086832SGreg Roachuse Fisharebest\Localization\Locale\LocaleInterface;
2202086832SGreg Roachuse Fisharebest\Localization\Locale\LocaleVi;
2302086832SGreg Roach
2402086832SGreg Roach/**
2502086832SGreg Roach * Class LanguageVietnamese.
2602086832SGreg Roach */
2702086832SGreg Roachclass LanguageVietnamese extends AbstractModule implements ModuleLanguageInterface
2802086832SGreg Roach{
2902086832SGreg Roach    use ModuleLanguageTrait;
3002086832SGreg Roach
3102086832SGreg Roach    /**
3202086832SGreg Roach     * @return LocaleInterface
3302086832SGreg Roach     */
3402086832SGreg Roach    public function locale(): LocaleInterface
3502086832SGreg Roach    {
3602086832SGreg Roach        return new LocaleVi();
3702086832SGreg Roach    }
3802086832SGreg Roach}
39