lib/ayadn/status.rb in ayadn-1.2.8 vs lib/ayadn/status.rb in ayadn-1.2.9

- old
+ new

@@ -245,7 +245,34 @@ "\nPlease wait while Ayadn is pruning and compacting the #{db} database...\n".color(:cyan) end def self.cache_range "\nPlease enter a number of hours between 3 and 168.\n\n".color(:red) end + def self.must_be_in_index + "\nNumber must be in the range of the indexed posts.\n".color(:red) + end + def self.user_404 username + "\nUser #{username} doesn't exist. It could be a deleted account.\n".color(:red) + end + def self.post_404(post_id) + "\nImpossible to find #{post_id}. This post may have been deleted.\n".color(:red) + end + def self.no_alias + "\nThis alias doesn't exist.\n\n".color(:red) + end + def self.no_itunes + "\nCanceled: unable to get info from iTunes.\n".color(:red) + end + def self.pin_username + "Please enter your Pinboard username (CTRL+C to cancel): ".color(:green) + end + def self.pin_password + "\nPlease enter your Pinboard password (invisible, CTRL+C to cancel): ".color(:green) + end + def self.too_long size, max_size + "\n\nCanceled: too long. #{max_size} max, #{size - max_size} characters to remove.\n\n\n".color(:red) + end + def self.no_text + "\n\nYou should provide some text.\n\n".color(:red) + end end end