mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-08-27 21:15:40 +02:00
20 lines
406 B
PHP
20 lines
406 B
PHP
<?php
|
|
require_once 'Zend/Translate.php';
|
|
require_once 'zend_translate_railsyaml/library/Translate/Adapter/RailsYAML.php';
|
|
|
|
/**
|
|
* @package framework
|
|
* @subpackage i18n
|
|
*/
|
|
|
|
class i18nRailsYamlAdapter extends Translate_Adapter_RailsYaml implements i18nTranslateAdapterInterface {
|
|
|
|
/**
|
|
* @param String
|
|
* @return String
|
|
*/
|
|
public function getFilenameForLocale($locale) {
|
|
return "$locale.yml";
|
|
}
|
|
}
|