]> git.joonet.de Git - adminer.git/commitdiff
Simplify translation
authorJakub Vrana <jakub@vrana.cz>
Tue, 11 Jun 2013 12:56:54 +0000 (14:56 +0200)
committerJakub Vrana <jakub@vrana.cz>
Tue, 11 Jun 2013 12:56:54 +0000 (14:56 +0200)
adminer/include/auth.inc.php
adminer/lang/cs.inc.php
adminer/lang/xx.inc.php

index e8d6c8289dc551e1ec130721d9dfc0a8a00d057a..aaa01a0b5bc59edda7b432ea09e7fbd896b1a835 100644 (file)
@@ -83,7 +83,7 @@ function auth_error($exception = null) {
                        if ($password !== null) {
                                $error = h($exception ? $exception->getMessage() : (is_string($connection) ? $connection : lang('Invalid credentials.')));
                                if ($password === false) {
-                                       $error .= '<br>' . lang('Master password expired. <a href="http://www.adminer.org/en/extension/" target="_blank">Implement</a> <code>permanentLogin()</code> method to make it permanent.');
+                                       $error .= '<br>' . lang('Master password expired. <a href="http://www.adminer.org/en/extension/" target="_blank">Implement</a> %s method to make it permanent.', '<code>permanentLogin()</code>');
                                }
                                $password = null;
                        }
index eb09ca6468fe0d10f9c7eedecaa9447d0fc94e52..6e679187e35e79681c7b7556dcb6a8e037d5d801 100644 (file)
@@ -11,7 +11,7 @@ $translations = array(
        'Logged as: %s' => 'Přihlášen jako: %s',
        'Logout successful.' => 'Odhlášení proběhlo v pořádku.',
        'Invalid credentials.' => 'Neplatné přihlašovací údaje.',
-       'Master password expired. <a href="http://www.adminer.org/en/extension/" target="_blank">Implement</a> <code>permanentLogin()</code> method to make it permanent.' => 'Platnost hlavního hesla vypršela. <a href="http://www.adminer.org/cs/extension/" target="_blank">Implementujte</a> metodu <code>permanentLogin()</code>, aby platilo stále.',
+       'Master password expired. <a href="http://www.adminer.org/en/extension/" target="_blank">Implement</a> %s method to make it permanent.' => 'Platnost hlavního hesla vypršela. <a href="http://www.adminer.org/cs/extension/" target="_blank">Implementujte</a> metodu %s, aby platilo stále.',
        'Language' => 'Jazyk',
        'Invalid CSRF token. Send the form again.' => 'Neplatný token CSRF. Odešlete formulář znovu.',
        'No extension' => 'Žádné rozšíření',
index db2089dfea7fd54b9757d6cb52ab00ad2279a02b..d7712ee19ddf616a05e08da39e4f4bcf5ae8705d 100644 (file)
@@ -11,7 +11,7 @@ $translations = array(
        'Logged as: %s' => 'xx',
        'Logout successful.' => 'xx',
        'Invalid credentials.' => 'xx',
-       'Master password expired. <a href="http://www.adminer.org/en/extension/" target="_blank">Implement</a> <code>permanentLogin()</code> method to make it permanent.' => 'xx',
+       'Master password expired. <a href="http://www.adminer.org/en/extension/" target="_blank">Implement</a> %s method to make it permanent.' => 'xx',
        'Language' => 'xx',
        'Invalid CSRF token. Send the form again.' => 'xx',
        'No extension' => 'xx',