5 use Locale::Maketext::Simple (
6 Path => "$Bin/po_without_i_default",
11 require Locale::Maketext::Lexicon;
12 die unless Locale::Maketext::Lexicon->VERSION(0.20);
16 plan skip_all => 'No soft dependencies, i_default will not work';
23 is(loc("Not a lexicon key"), "Not a lexicon key", "Not a lexicon key");
24 is(loc("I have got %1 alerts", 65), "I have got 65 alerts", "Got auto key" );
25 is(loc("I have acknowledged %1 alerts", 83), "Yo dude, I've been working on these 83 alerts", "Got translation");
28 is(loc("system.messages.arbitrary.unique.lexicon.key"), "system.messages.arbitrary.unique.lexicon.key", "No translation" );
29 is(loc("I have got %1 alerts", "red"), "Mon Francais red, c'est terrible", "French translated" );