From 558983cfd4484184257726b70dadcea231948f01 Mon Sep 17 00:00:00 2001 From: Ozh Date: Sun, 10 Feb 2013 12:20:16 +0000 Subject: [PATCH] Translation readyness of admin/tools.php git-svn-id: http://yourls.googlecode.com/svn/trunk@861 12232710-3e20-11de-b438-597f59cd7555 --- admin/tools.php | 78 ++++++++++++++++++++++++++++--------------------- 1 file changed, 44 insertions(+), 34 deletions(-) diff --git a/admin/tools.php b/admin/tools.php index 250af2e..4d9c095 100644 --- a/admin/tools.php +++ b/admin/tools.php @@ -3,100 +3,110 @@ require_once( dirname( dirname( __FILE__ ) ).'/includes/load-yourls.php' ); yourls_maybe_require_auth(); -yourls_html_head( 'tools', 'Cool YOURLS Tools' ); +yourls_html_head( 'tools', yourls__( 'Cool YOURLS Tools' ) ); yourls_html_logo(); yourls_html_menu(); ?>
-

Bookmarklets

+

-

YOURLS comes with four handy bookmarklets for easier link shortening.

+

four handy bookmarklets for easier link shortening.' ); ?>

-

Standard or Instant, Simple or Custom

+

-

With the Standard Bookmarklets you will also get a Quick Share tool box to make posting to Twitter, Facebook or Friendfeed a snap. If you want to share a description along with the link you're shortening, simply select text on the page you're viewing before clicking on your bookmarklet link

+

Quick Share tool box to make posting to Twitter, Facebook or Friendfeed a snap.' ); + yourls_e( "If you want to share a description along with the link you're shortening, simply select text on the page you're viewing before clicking on your bookmarklet link" ); + ?>

-

The Bookmarklets

+

-

Click and drag links to your toolbar (or right-click and bookmark it)

+

- - + + - + - +
 Standard (new page)Instant (popup)
Simple Shorten Instant Shorten
Custom Keyword Custom shorten Instant Custom Shorten
-

Prefix-n-Shorten

+

-

When viewing a page, you can also prefix its full URL: just head to your browser's address bar, add "/" to the beginning of the current URL (right before its 'http://' part) and hit enter.

+

%s\" to the beginning of the current URL (right before its 'http://' part) and hit enter.", preg_replace('@https?://@', '', YOURLS_SITE) . '/' ); ?>

-

Note: this will probably not work if your web server is running on Windows .

+

.

-

Secure passwordless API call

+

-

YOURLS allows API calls the old fashioned way, using username and password - parameters. If you're worried about sending your credentials into the wild, you can also make API - calls without using your login or your password, using a secret signature token.

+

username and password parameters.' ); + yourls_e( "If you're worried about sending your credentials into the wild, you can also make API calls without using your login or your password, using a secret signature token." ); + ?>

-

Your secret signature token: - (It's a secret. Keep it secret)

+

%s', yourls_auth_signature() ); + yourls_e( "(It's a secret. Keep it secret) "); + ?>

-

This signature token can only be used with the API, not with the admin interface.

+

-

(See the API documentation for more)

+

API documentation for more', YOURLS_SITE . '/readme.html#API' ); ?>

-- 2.45.0