Changeset 20324


Ignore:
Timestamp:
Jan 22, 2013, 3:18:46 PM (8 years ago)
Author:
mistic100
Message:

complete language files

Location:
extensions/oAuth
Files:
2 added
9 edited

Legend:

Unmodified
Added
Removed
  • extensions/oAuth/admin.php

    r20323 r20324  
    66if (!$conf['allow_user_registration'])
    77{
    8   array_push($page['errors'], l10n('Users are not allowed to register on your gallery. oAuth will not work correctly.'));
     8  array_push($page['errors'], l10n('Users are not allowed to register on your gallery. OAuth will not work correctly.'));
    99}
    1010
  • extensions/oAuth/admin/providers.php

    r20323 r20324  
    11<?php
    22defined('OAUTH_PATH') or die('Hacking attempt!');
     3
     4load_language('help.lang', OAUTH_PATH);
    35
    46$PROVIDERS_CONFIG = include(OAUTH_PATH . 'include/providers_stats.inc.php');
  • extensions/oAuth/admin/template/config.tpl

    r20323 r20324  
    8181</form>
    8282
    83 <p>Icons from http://www.wpzoom.com - Library from http://hybridauth.sourceforge.net/</p>
     83<div style="text-align:right;">
     84  Icons from : <a href="http://www.wpzoom.com" target="_blank">WPZOOM</a> |
     85  Library : <a href="http://hybridauth.sourceforge.net" target="_blank">HybridAuth</a>
     86</div>
  • extensions/oAuth/admin/template/providers.tpl

    r20323 r20324  
    8989        <li>{'On the <b>API Access</b> tab, <b>create an OAuth 2.0 Client ID</b>'|@translate}</li>
    9090        <li>{'Fill out any required fields such as the application name and description'|@translate}</li>
    91         <li>{'On the <b>Create Client ID</b> popup switch to advanced settings by clicking on <b>(more options)</b>'|@translate}</li>
     91        <li>{'On the <b>Create Client ID</b> popup, switch to advanced settings by clicking on <b>(more options)</b>'|@translate}</li>
    9292      {else}
    9393        <li>{'Fill out any required fields such as the application name and description'|@translate}</li>
     
    135135</form>
    136136
    137 <p>Icons from http://www.wpzoom.com - Library from http://hybridauth.sourceforge.net/</p>
     137<div style="text-align:right;">
     138  Icons from : <a href="http://www.wpzoom.com" target="_blank">WPZOOM</a> |
     139  Library : <a href="http://hybridauth.sourceforge.net" target="_blank">HybridAuth</a>
     140</div>
  • extensions/oAuth/admin/template/style.css

    r20323 r20324  
    101101    }
    102102  #help_container div {
    103     padding:10px 5px 5px 5px;
     103    padding:15px 5px 5px 5px;
    104104  }
    105105  #help_container em {
  • extensions/oAuth/language/en_UK/plugin.lang.php

    r20293 r20324  
    11<?php
    22
    3 
     3$lang['%s: invalid keys'] = '%s: invalid keys';
     4$lang['OpenID must be enabled in order to use %s authentication'] = 'OpenID must be enabled in order to use %s authentication';
     5$lang['Users are not allowed to register on your gallery. OAuth will not work correctly.'] = 'Users are not allowed to register on your gallery. OAuth will not work correctly.';
     6$lang['Providers'] = 'Providers';
     7$lang['Sorry, new registrations are blocked on this gallery.'] = 'Sorry, new registrations are blocked on this gallery.';
     8$lang['Authentication canceled'] = 'Authentication canceled';
     9$lang['An error occured, please contact the gallery owner. <i>Error code : %s</i>'] = 'An error occured, please contact the gallery owner. <i>Error code : %s</i>';
     10$lang['You registered with a %s account, please sign in with the same account.'] = 'You registered with a %s account, please sign in with the same account.';
     11$lang['Your registration is almost done, please complete the registration form.'] = 'Your registration is almost done, please complete the registration form.';
     12$lang['OAuth: You need to configure the credentials'] = 'OAuth: You need to configure the credentials';
     13$lang['OAuth: PHP Curl extension is needed'] = 'OAuth: PHP Curl extension is needed';
     14$lang['Display sign in buttons in the menubar'] = 'Display sign in buttons in the menubar';
     15$lang['Display sign in buttons on the register page'] = 'Display sign in buttons on the register page';
     16$lang['Icon size on the identification page'] = 'Icon size on the identification page';
     17$lang['Icon size in the menubar'] = 'Icon size in the menubar';
     18$lang['Enabled'] = 'Enabled';
     19$lang['Disabled'] = 'Disabled';
     20$lang['Sign in with %s'] = 'Sign in with %s';
     21$lang['Error...'] = 'Error...';
     22$lang['Loading...'] = 'Loading...';
     23$lang['Contacting <b>%s</b>. Please wait.'] = 'Contacting <b>%s</b>. Please wait.';
     24$lang['Please enter your OpenID URL'] = 'Please enter your OpenID URL';
     25$lang['Please enter your username'] = 'Please enter your username';
     26$lang['Or sign in with'] = 'Or sign in with';
     27$lang['Logged with'] = 'Logged with';
     28$lang['Profile URL'] = 'Profile URL';
    429
    530?>
  • extensions/oAuth/language/fr_FR/plugin.lang.php

    r20293 r20324  
    11<?php
    22
    3 
     3$lang['%s: invalid keys'] = '%s: clefs invalides';
     4$lang['OpenID must be enabled in order to use %s authentication'] = 'OpenID doit être activé pour utiliser l\'authentification %s';
     5$lang['Users are not allowed to register on your gallery. OAuth will not work correctly.'] = 'Les utilisateurs ne sont pas autorisés à s\'inscrire sur cette galerie. OAUth ne fonctionnera pas correctement.';
     6$lang['Providers'] = 'Fournisseurs';
     7$lang['Sorry, new registrations are blocked on this gallery.'] = 'Désolé, les inscriptions sont bloquées sur cette galerie.';
     8$lang['Authentication canceled'] = 'Authentification annulée';
     9$lang['An error occured, please contact the gallery owner. <i>Error code : %s</i>'] = 'Une erreur est survenue. Veuillez contacter l\'administrateur de la galerie. <i>Error code : %s</i>';
     10$lang['You registered with a %s account, please sign in with the same account.'] = 'Vous vous êtes inscrit avec un compte %s. Veuillez vous connecter avec le même compte.';
     11$lang['Your registration is almost done, please complete the registration form.'] = 'Vous inscription est presque terminée, merci de compléter le formulaire d\'enregistrement.';
     12$lang['OAuth: You need to configure the credentials'] = 'OAuth: Vous devez définir vos clef d\'authentification';
     13$lang['OAuth: PHP Curl extension is needed'] = 'OAuth: l\'extension PHP Curl est nécessaire';
     14$lang['Display sign in buttons in the menubar'] = 'Afficher les boutons de connexion dans le menu';
     15$lang['Display sign in buttons on the register page'] = 'Afficher les boutons de connecion sur la page d\'enregistrement';
     16$lang['Icon size on the identification page'] = 'Taille des icônes sur la page d\'identification';
     17$lang['Icon size in the menubar'] = 'Taille des icônes dans le menu';
     18$lang['Enabled'] = 'Activé';
     19$lang['Disabled'] = 'Désactivé';
     20$lang['Sign in with %s'] = 'Connexion avec %s';
     21$lang['Error...'] = 'Erreur...';
     22$lang['Loading...'] = 'Chargement...';
     23$lang['Contacting <b>%s</b>. Please wait.'] = 'Contact du serveur <b>%s</b>. Veuillez patienter.';
     24$lang['Please enter your OpenID URL'] = 'Veuillez entrer votre URL OpenID';
     25$lang['Please enter your username'] = 'Veuillez entrer votre nom d\'utilisateur';
     26$lang['Or sign in with'] = 'Ou connectez vous avec';
     27$lang['Logged with'] = 'Connecté avec';
     28$lang['Profile URL'] = 'URL du profil';
    429
    530?>
  • extensions/oAuth/main.inc.php

    r20323 r20324  
    112112    if (!function_exists('curl_init'))
    113113    {
    114       array_push($page['errors'], l10n('OAuth: cURL extension is needed'));
     114      array_push($page['errors'], l10n('OAuth: PHP Curl extension is needed'));
    115115    }
    116116  }
  • extensions/oAuth/template/identification_common.tpl

    r20323 r20324  
    99    margin:0;
    1010  }
    11   #openid_error {
     11  #openid_label.error {
    1212    color:red;
    1313    font-weight:bold;
     
    4646      switch(idp) {ldelim}
    4747        case 'OpenID':
    48           $("#openid_label").html('{'Please enter your OpenID URL'|@translate}'); break;
     48          $("#openid_label").html('{'Please enter your OpenID URL'|@translate|escape:javascript}'); break;
    4949        case 'Wordpress': case 'Flickr':
    50           $("#openid_label").html('{'Please enter your username'|@translate}'); break;
     50          $("#openid_label").html('{'Please enter your username'|@translate|escape:javascript}'); break;
    5151      }
    5252 
     
    7575  var oi = $("#openid_form input[name='openid_identifier']").val();
    7676 
    77   $("#openid_error").hide();
     77  $("#openid_label").removeClass('error');
    7878  if (!oi) {ldelim}
    79     $("#openid_error").html("{'Put your username or OpenID on this field'|@translate}").show();
    80     $.colorbox.resize()
     79    $("#openid_label").addClass('error');
    8180    return false;
    8281  }
     
    9392
    9493$("#openid_cancel").click(function() {ldelim}
     94  $("#openid_label").removeClass('error');
    9595  $.colorbox.close();
    9696  return false;
     
    110110      <input type="text" name="openid_identifier" id="openid_identifier" size="50">
    111111    </div>
    112     <div id="openid_error" style="display:none;"></div>
    113112    <div>
    114113      <br>
Note: See TracChangeset for help on using the changeset viewer.