2011-11-26 14:34:11 +01:00
|
|
|
<?php
|
|
|
|
require_once 'Zend/Translate.php';
|
2012-04-16 04:04:41 +02:00
|
|
|
require_once 'zend_translate_railsyaml/library/Translate/Adapter/RailsYAML.php';
|
2011-11-26 14:34:11 +01:00
|
|
|
|
|
|
|
/**
|
2012-06-20 23:59:16 +02:00
|
|
|
* @package framework
|
2011-11-26 14:34:11 +01:00
|
|
|
* @subpackage i18n
|
|
|
|
*/
|
|
|
|
|
|
|
|
class i18nRailsYamlAdapter extends Translate_Adapter_RailsYaml implements i18nTranslateAdapterInterface {
|
2014-08-15 08:53:05 +02:00
|
|
|
|
2011-11-26 14:34:11 +01:00
|
|
|
/**
|
|
|
|
* @param String
|
|
|
|
* @return String
|
|
|
|
*/
|
|
|
|
public function getFilenameForLocale($locale) {
|
|
|
|
return "$locale.yml";
|
|
|
|
}
|
2012-04-16 04:04:41 +02:00
|
|
|
}
|