mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
19 lines
405 B
PHP
19 lines
405 B
PHP
<?php
|
|
require_once 'Zend/Translate.php';
|
|
require_once 'zend_translate_railsyaml/library/Translate/Adapter/RailsYaml.php';
|
|
|
|
/**
|
|
* @package sapphire
|
|
* @subpackage i18n
|
|
*/
|
|
|
|
class i18nRailsYamlAdapter extends Translate_Adapter_RailsYaml implements i18nTranslateAdapterInterface {
|
|
|
|
/**
|
|
* @param String
|
|
* @return String
|
|
*/
|
|
public function getFilenameForLocale($locale) {
|
|
return "$locale.yml";
|
|
}
|
|
} |