Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 373
- Log:
Initial import of Radiant 0.9.1, which is now packaged as a gem. This is an
import of the tagged 0.9.1 source checked out from GitHub, which isn't quite
the same as the gem distribution - but it doesn't seem to be available in an
archived form and the installed gem already has modifications, so this is
the closest I can get.
- Author:
- rool
- Date:
- Mon Mar 21 13:40:05 +0000 2011
- Size:
- 627 Bytes
1 | require File.dirname(__FILE__) + "/../spec_helper" |
2 | |
3 | describe TranslationSupport do |
4 | describe 'self.get_translation_keys' do |
5 | before do |
6 | @language_root = RADIANT_ROOT + '/test/fixtures/extensions/locale/config/locales' |
7 | end |
8 | it "should return the word set for the given language root" do |
9 | TranslationSupport.get_translation_keys(@language_root).should == {"base:test"=>" 'yes!'"} |
10 | end |
11 | it "should return the word set for the given language root and suffix" do |
12 | suffix = '-uk' |
13 | TranslationSupport.get_translation_keys(@language_root, suffix).should == {"base:test"=>" 'UK!'"} |
14 | end |
15 | end |
16 | end |