Sha256: 388e4231ae583e005fe2d0266f2985b0b1b7401cdcf6074c5a432998513560b9
Contents?: true
Size: 651 Bytes
Versions: 12
Compression:
Stored size: 651 Bytes
Contents
@import "archetype"; // test for a simple locale .en_US { @if(locale(en_US)) { content: "en_US"; } } // test for a wildcard territory .en_wild { @if(locale(en_)) { content: "en_*"; } } // test for a wildcard language .wild_US { @if(locale(_US)) { content: "*_US"; } } // multiple locales, one valid .one { @if(locale(de_DE fr_FR pt_ en_US)) { content: "one of de_DE fr_FR pt_ en_US"; } } // multiple locales, none valid .not { @if(not locale(ja_JP pt_BR _GB de_)) { content: "not one of ja_JP pt_BR _GB de_"; } } // test that the lang() alias works .lang { @if(lang(en_US)) { content: "en_US"; } }
Version data entries
12 entries across 12 versions & 1 rubygems