<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -17,10 +17,15 @@ is_deeply(\%IWLConfig, {
 $IWLConfig{JS_WHITELIST} = ['SKIN'];
 is(IWL::Config::getJSConfig, q|if (!window.IWL) var IWL = {};IWL.Config = {&quot;SKIN&quot;: &quot;darkness&quot;};|);
 
-use Locale::TextDomain $IWLConfig{TEXT_DOMAIN};
-$ENV{LANG} = $ENV{LANGUAGE} = 'C';
-is(__('Refresh'), 'Refresh');
-is(__('Save'), 'Save');
-$ENV{LANG} = $ENV{LANGUAGE} = 'bg';
-is(__('Refresh'), '&#1054;&#1073;&#1085;&#1086;&#1074;&#1103;&#1074;&#1072;&#1085;&#1077;');
-is(__('Save'), '&#1047;&#1072;&#1087;&#1072;&#1079;&#1074;&#1072;&#1085;&#1077;');
+# Will not work if the locale is not installed
+SKIP: {
+    skip &quot;Skipping due to possible missing bg locale&quot;, 4;
+
+    use Locale::TextDomain $IWLConfig{TEXT_DOMAIN};
+    $ENV{LANG} = $ENV{LANGUAGE} = 'C';
+    is(__('Refresh'), 'Refresh');
+    is(__('Save'), 'Save');
+    $ENV{LANG} = $ENV{LANGUAGE} = 'bg';
+    is(__('Refresh'), '&#1054;&#1073;&#1085;&#1086;&#1074;&#1103;&#1074;&#1072;&#1085;&#1077;');
+    is(__('Save'), '&#1047;&#1072;&#1087;&#1072;&#1079;&#1074;&#1072;&#1085;&#1077;');
+}</diff>
      <filename>t/02config.t</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>08ad70c305df981bd2023d870ab1ca05455a6a55</id>
    </parent>
  </parents>
  <author>
    <name>urandom</name>
    <email>vkojouharov@gmail.com</email>
  </author>
  <url>http://github.com/urandom/iwl/commit/c69b858eecfdd92970053ab9839a3faf3c2c6c79</url>
  <id>c69b858eecfdd92970053ab9839a3faf3c2c6c79</id>
  <committed-date>2009-02-02T14:19:59-08:00</committed-date>
  <authored-date>2009-02-02T14:19:59-08:00</authored-date>
  <message>skip these tests for now. they cause a lot of failures if people don't have the necessary locale installed</message>
  <tree>08c47600cf7b0a3efb4205b48ff001de05e1de11</tree>
  <committer>
    <name>urandom</name>
    <email>vkojouharov@gmail.com</email>
  </committer>
</commit>
