This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NSMutableParagraphStyle *paragraph = [[NSParagraphStyle defaultParagraphStyle] mutableCopy]; | |
paragraph.alignment = NSTextAlignmentCenter; | |
actionSheet.titleTextAttributes = @{ NSParagraphStyleAttributeName : [paragraph copy], | |
NSFontAttributeName : [UIFont systemFontOfSize:14.0f], | |
NSForegroundColorAttributeName : [UIColor grayColor] }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# filename: config/locales/pl.rb | |
# taken from: http://github.com/svenfuchs/i18n/blob/4d8e2e3b8ce9841542cc3cf4d33b7a7702b2abc1/test/test_data/locales/plurals.rb | |
{:pl => { :i18n => { :plural => { :keys => [:one, :few, :other], :rule => lambda { |n| n == 1 ? :one : [2, 3, 4].include?(n % 10) && ![12, 13, 14].include?(n % 100) && ![22, 23, 24].include?(n % 100) ? :few : :other } } } } } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* truncatable 1.2.1 - jQuery lightwieght text truncation plugin | |
* | |
* Copyright (c) 2009 Philip Beel (http://www.theodin.co.uk/) - modified by Arkadiusz Holko - http://holko.pl | |
* Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) | |
* and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses. | |
* | |
* Revision: $Id: jquery.truncatable.js 2010-07-27 $ | |
* | |
*/ |
NewerOlder