diff options
author | Andrew Dolgov <[email protected]> | 2010-11-22 19:25:15 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2010-11-22 19:25:15 +0300 |
commit | 6ef0c9c3426275612db693cad5d2c90df24ca714 (patch) | |
tree | 57f8f1fb0462b8024c1841455d906d2ef41cef95 /twitter.php | |
parent | d99ebc2279687259d74220d12ff6040fa53d1e0b (diff) |
utility.css tweaks; i18n in twitter.php
Diffstat (limited to 'twitter.php')
-rw-r--r-- | twitter.php | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/twitter.php b/twitter.php index 0cf9fd8a7..869cb08a9 100644 --- a/twitter.php +++ b/twitter.php @@ -90,26 +90,32 @@ <body> -<h1>Register with Twitter</h1> +<h1><?php echo __('Register with Twitter') ?></h1> <?php if ($op == 'register') { ?> -<p><?php print_error('Could not connect to Twitter. Refresh the page or try again later.') ?></p> +<p><?php print_error(__('Could not connect to Twitter. Refresh the page or try again later.')) ?></p> <?php } else if ($op == 'callback') { ?> - <?php print_notice('Congratulations! You have successfully registered with Twitter.') ?> + <?php print_notice(__('Congratulations! You have successfully registered with Twitter.')) ?> </p> <form method="GET" action="prefs.php"> <input type="hidden" name="tab" value="feedConfig"> - <button type="submit">Return to Tiny Tiny RSS</button> + <button type="submit"><?php echo __('Return to Tiny Tiny RSS') ?></button> </form> <?php } else { ?> - <form method="GET" action="twitter.php"> + + <form method="GET" action="twitter.php" style='display : inline'> <input type="hidden" name="op" value="register"> - <button type="submit">Register with Twitter</button> + <button type="submit"><?php echo __('Register') ?></button> + </form> + + <form method="GET" action="prefs.php" style='display : inline'> + <input type="hidden" name="tab" value="feedConfig"> + <button type="submit"><?php echo __('Return to Tiny Tiny RSS') ?></button> </form> <?php } ?> |