Skip to content

Commit

Permalink
Correct English usage in termterr core
Browse files Browse the repository at this point in the history
  • Loading branch information
pwim authored and 十行 committed Sep 22, 2010
1 parent 7f43bf3 commit 3736764
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions lib/termtter/api.rb
Expand Up @@ -50,12 +50,12 @@ def setup
end

def authorize_by_oauth(show_information=false, save_to_token_file=true, put_to_config=true, verbose=true)
puts '1. Contacting to twitter...' if verbose
puts '1. Connecting to twitter...' if verbose

request_token = consumer.get_request_token

puts '2. URL for authorize: ' + request_token.authorize_url if verbose
puts ' Opening web page to authorization...' if verbose
puts '2. Authorization URL: ' + request_token.authorize_url if verbose
puts ' Opening authorization web page...' if verbose

begin
open_browser(request_token.authorize_url)
Expand All @@ -67,7 +67,7 @@ def authorize_by_oauth(show_information=false, save_to_token_file=true, put_to_c
ui = create_highline
pin = ui.ask('3. Enter PIN: ')
puts ""
puts "4. Getting access_token..."
puts "4. Fetching access_token..."
access_token = request_token.get_access_token(:oauth_verifier => pin)

if put_to_config
Expand All @@ -83,7 +83,7 @@ def authorize_by_oauth(show_information=false, save_to_token_file=true, put_to_c
end
end

puts "Authorize is successfully done."
puts "Authorization successfully completed."

return {:token => access_token.token,
:secret => access_token.secret}
Expand Down
4 changes: 2 additions & 2 deletions lib/termtter/config_setup.rb
Expand Up @@ -27,9 +27,9 @@ def run
token = token_and_secret[:token]
secret = token_and_secret[:secret]

puts "Setup is all over. enjoy!"
puts "Setup is completed. Enjoy!"
rescue OAuth::Unauthorized
puts 'failed to authentication!'
puts 'Failed to authenticate!'
exit!
end
end
Expand Down

0 comments on commit 3736764

Please sign in to comment.