Changeset 25502


Ignore:
Timestamp:
11/16/13 23:01:58 (6 years ago)
Author:
plg
Message:

feature 1668: add new language strings for the new user manager.

Location:
trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/themes/default/template/user_list.tpl

    r25492 r25502  
    1111 
    1212{footer_script} 
    13 var selectedMessage_pattern = "{'%d of %d photos selected'|@translate}"; 
    14 var selectedMessage_none = "{'No photo selected, %d photos in current set'|@translate}"; 
    15 var selectedMessage_all = "{'All %d photos are selected'|@translate}"; 
    16 var applyOnDetails_pattern = "{'on the %d selected users'|@translate}"; 
    17 var newUser_pattern = "✔ {'User %s added'|translate}"; 
    18 var registeredOn_pattern = "{'Registered on %s, %s.'|translate}"; 
    19 var lastVisit_pattern = "{'Last visit on %s, %s.'|translate}"; 
    20 var missingConfirm = "{'You need to confirm deletion'|translate}"; 
    21 var missingUsername = "{'Please, enter a login'|translate}"; 
     13var selectedMessage_pattern = "{'%d of %d users selected'|translate|escape:javascript}"; 
     14var selectedMessage_none = "{'No user selected of %d users'|translate|escape:javascript}"; 
     15var selectedMessage_all = "{'All %d users are selected'|translate|escape:javascript}"; 
     16var applyOnDetails_pattern = "{'on the %d selected users'|translate|escape:javascript}"; 
     17var newUser_pattern = "✔ {'User %s added'|translate|escape:javascript}"; 
     18var registeredOn_pattern = "{'Registered on %s, %s.'|translate|escape:javascript}"; 
     19var lastVisit_pattern = "{'Last visit on %s, %s.'|translate|escape:javascript}"; 
     20var missingConfirm = "{'You need to confirm deletion'|translate|escape:javascript}"; 
     21var missingUsername = "{'Please, enter a login'|translate|escape:javascript}"; 
    2222 
    2323var allUsers = [{$all_users}]; 
     
    145145          var userDetails = '<form>'; 
    146146          userDetails += '<div class="userActions">'; 
    147           userDetails += '<span class="changePasswordDone infos" style="display:none">&#x2714; Password updated</span>'; 
    148           userDetails += '<span class="changePassword" style="display:none">{/literal}{'New password'|translate}{literal} <input type="text"> <a href="#" class="buttonLike updatePassword"><img src="themes/default/images/ajax-loader-small.gif" style="margin-bottom:-1px;margin-left:1px;display:none;"><span class="text">{/literal}{'Submit'|translate}{literal}</span></a> <a href="#" class="cancel">Cancel</a></span>'; 
    149           userDetails += '<a class="icon-key changePasswordOpen" href="#">Change password</a>'; 
    150           userDetails += '<br><a target="_blank" href="admin.php?page=user_perm&amp;user_id='+userId+'" class="icon-lock">Permissions</a>'; 
    151           userDetails += '<br><span class="userDelete"><img class="loading" src="themes/default/images/ajax-loader-small.gif" style="display:none;"><a href="#" class="icon-trash" data-user_id="'+userId+'">Delete</a></span>'; 
     147          userDetails += '<span class="changePasswordDone infos" style="display:none">&#x2714; {/literal}{'Password updated'|translate|escape:javascript}{literal}</span>'; 
     148          userDetails += '<span class="changePassword" style="display:none">{/literal}{'New password'|translate}{literal} <input type="text"> <a href="#" class="buttonLike updatePassword"><img src="themes/default/images/ajax-loader-small.gif" style="margin-bottom:-1px;margin-left:1px;display:none;"><span class="text">{/literal}{'Submit'|translate|escape:javascript}{literal}</span></a> <a href="#" class="cancel">{/literal}{'Cancel'|translate|escape:javascript}{literal}</a></span>'; 
     149          userDetails += '<a class="icon-key changePasswordOpen" href="#">{/literal}{'Change password'|translate|escape:javascript}{literal}</a>'; 
     150          userDetails += '<br><a target="_blank" href="admin.php?page=user_perm&amp;user_id='+userId+'" class="icon-lock">{/literal}{'Permissions'|translate|escape:javascript}{literal}</a>'; 
     151          userDetails += '<br><span class="userDelete"><img class="loading" src="themes/default/images/ajax-loader-small.gif" style="display:none;"><a href="#" class="icon-trash" data-user_id="'+userId+'">{/literal}{'Delete'|translate|escape:javascript}{literal}</a></span>'; 
    152152          userDetails += '</div>'; 
    153153 
    154           userDetails += '<span class="changeUsernameOpen"><strong class="username">'+user.username+'</strong> <a href="#" class="icon-pencil">Change username</a></span>'; 
     154          userDetails += '<span class="changeUsernameOpen"><strong class="username">'+user.username+'</strong> <a href="#" class="icon-pencil">{/literal}{'Change username'|translate|escape:javascript}{literal}</a></span>'; 
    155155          userDetails += '<span class="changeUsername" style="display:none">'; 
    156           userDetails += '<input type="text"> <a href="#" class="buttonLike updateUsername"><img src="themes/default/images/ajax-loader-small.gif" style="margin-bottom:-1px;margin-left:1px;display:none;"><span class="text">{/literal}{'Submit'|translate}{literal}</span></a> <a href="#" class="cancel">Cancel</a>'; 
     156          userDetails += '<input type="text"> <a href="#" class="buttonLike updateUsername"><img src="themes/default/images/ajax-loader-small.gif" style="margin-bottom:-1px;margin-left:1px;display:none;"><span class="text">{/literal}{'Submit'|translate}{literal}</span></a> <a href="#" class="cancel">{/literal}{'Cancel'|translate|escape:javascript}{literal}</a>'; 
    157157          userDetails += '</span>'; 
    158158 
     
    222222          userDetails += '</div>'; 
    223223 
    224           userDetails += '<div class="userProperty"><strong>{/literal}{'Theme'|translate}{literal}</strong>'; 
     224          userDetails += '<div class="userProperty"><strong>{/literal}{'Interface theme'|translate|escape:javascript}{literal}</strong>'; 
    225225          userDetails += '<br><select name="theme">'; 
    226226          jQuery("#action select[name=theme] option").each(function() { 
     
    272272          userDetails += '<div style="clear:both"></div></div>'; 
    273273 
    274           userDetails += '<span class="infos propertiesUpdateDone" style="display:none">&#x2714; User '+user.username+' updated</span>'; 
    275           userDetails += '<input type="submit" value="{/literal}{'Update user'|translate}{literal}" style="display:none;" data-user_id="'+userId+'">'; 
     274          userDetails += '<span class="infos propertiesUpdateDone" style="display:none">&#x2714; '; 
     275          userDetails += sprintf("{/literal}{'User %s updated'|translate|escape:javascript}{literal}", user.username); 
     276          userDetails += '</span>'; 
     277          userDetails += '<input type="submit" value="{/literal}{'Update user'|translate|escape:javascript}{literal}" style="display:none;" data-user_id="'+userId+'">'; 
    276278          userDetails += '<img class="submitWait" src="themes/default/images/ajax-loader-small.gif" style="display:none">' 
    277279          userDetails += '</form>'; 
     
    554556    "sAjaxSource": "admin/user_list_backend.php", 
    555557    "oLanguage": { 
    556       "sProcessing":     "Traitement en cours...", 
    557       "sLengthMenu":     "Afficher _MENU_ éléments", 
    558       "sZeroRecords":    "Aucun élément à afficher", 
    559       "sInfo":           "Affichage des élements _START_ à _END_ sur _TOTAL_", 
    560       "sInfoEmpty":      "Affichage de l'élement 0 à 0 sur 0 éléments", 
    561       "sInfoFiltered":   "<br>(filtré de _MAX_ éléments au total{/literal}{if $is_a_guest} <span class='limitedVersionWarning'>dans la version complète</span>{/if}{literal})", 
    562       "sInfoPostFix":    "", 
    563       "sSearch":         "Rechercher", 
    564       "sLoadingRecords": "Téléchargement...", 
    565       "sUrl":            "", 
     558      "sProcessing": "{/literal}{'Loading...'|translate|escape:'javascript'}{literal}", 
     559      "sLengthMenu": sprintf("{/literal}{'Show %s users'|translate|escape:'javascript'}{literal}", '_MENU_'), 
     560      "sZeroRecords": "{/literal}{'No matching users found'|translate|escape:'javascript'}{literal}", 
     561      "sInfo": sprintf("{/literal}{'Showing %s to %s of %s users'|translate|escape:'javascript'}{literal}", '_START_', '_END_', '_TOTAL_'), 
     562      "sInfoEmpty": "{/literal}{'No matching users found'|translate|escape:'javascript'}{literal}", 
     563      "sInfoFiltered": sprintf("{/literal}{'(filtered from %s total users)'|translate|escape:'javascript'}{literal}", '_MAX_'), 
     564      "sSearch": '<span class="icon-search"></span>'+"{/literal}{'Search'|translate|escape:'javascript'}{literal}", 
     565      "sLoadingRecords": "{/literal}{'Loading...'|translate|escape:'javascript'}{literal}", 
    566566      "oPaginate": { 
    567           "sFirst":    "Premier", 
    568           "sPrevious": "← Précédent", 
    569           "sNext":     "Suivant →", 
    570           "sLast":     "Dernier" 
     567          "sFirst":    "{/literal}{'First'|translate|escape:'javascript'}{literal}", 
     568          "sPrevious": '← '+"{/literal}{'Previous'|translate|escape:'javascript'}{literal}", 
     569          "sNext":     "{/literal}{'Next'|translate|escape:'javascript'}{literal}"+' →', 
     570          "sLast":     "{/literal}{'Last'|translate|escape:'javascript'}{literal}", 
    571571      } 
    572572    }, 
     
    993993      <input id="applyAction" class="submit" type="submit" value="{'Apply action'|@translate}" name="submit"> <span id="applyOnDetails"></span> 
    994994      <span id="applyActionLoading" style="display:none"><img src="themes/default/images/ajax-loader-small.gif"></span> 
    995       <span class="infos" style="display:none">&#x2714; Users modified</span> 
     995      <span class="infos" style="display:none">&#x2714; {'Users modified'|translate}</span> 
    996996    </p> 
    997997 
  • trunk/admin/themes/default/theme.css

    r25479 r25502  
    11521152.userPropertiesSetTitle {font-weight:bold;margin-bottom:1em;} 
    11531153.userPrefs {border-left:1px solid #ddd;padding-left:10px;} 
    1154 .userProperty {width:220px;float:left;margin-bottom:15px;} 
     1154.userProperty {width:340px;float:left;margin-bottom:15px;} 
    11551155.userActions {float:right;text-align:right;} 
    11561156 
  • trunk/language/en_UK/admin.lang.php

    r25372 r25502  
    953953$lang['[NBM] Problems or questions'] = "[NBM] Problems or questions"; 
    954954$lang['Purge user cache'] = 'Purge user cache'; 
     955$lang['Loading...'] = 'Loading...'; 
     956$lang['Show %s users'] = 'Show %s users'; 
     957$lang['No matching users found'] = 'No matching users found'; 
     958$lang['Showing %s to %s of %s users'] = 'Showing %s to %s of %s users'; 
     959$lang['(filtered from %s total users)'] = '(filtered from %s total users)'; 
     960$lang['No user selected, no action possible.'] = 'No user selected, no action possible.'; 
     961$lang['%d of %d users selected'] = '%d of %d users selected'; 
     962$lang['No user selected of %d users'] = 'No user selected of %d users'; 
     963$lang['All %d users are selected'] = 'All %d users are selected'; 
     964$lang['on the %d selected users'] = 'on the %d selected users'; 
     965$lang['User %s added'] = 'User %s added'; 
     966$lang['Registered on %s, %s.'] = 'Registered on %s, %s.'; 
     967$lang['Last visit on %s, %s.'] = 'Last visit on %s, %s.'; 
     968$lang['Change password'] = 'Change password'; 
     969$lang['Password updated'] = 'Password updated'; 
     970$lang['Change username'] = 'Change username'; 
     971$lang['Update user'] = 'Update user'; 
     972$lang['User %s updated'] = 'User %s updated'; 
     973$lang['Users modified'] = 'Users modified'; 
    955974?> 
  • trunk/language/en_UK/common.lang.php

    r25121 r25502  
    418418$lang['Password is missing. Please enter the password.'] = "Password is missing. Please enter the password."; 
    419419$lang['Password confirmation is missing. Please confirm the chosen password.'] = "Password confirmation is missing. Please confirm the chosen password."; 
     420$lang['%d photos per page'] = '%d photos per page'; 
    420421?> 
  • trunk/language/fr_FR/admin.lang.php

    r25372 r25502  
    955955$lang['Select at least one tag'] = 'Sélectionnez au moins un tag'; 
    956956$lang['Basic settings'] = 'Paramètres de base'; 
     957$lang['Loading...'] = 'Chargement...'; 
     958$lang['Show %s users'] = 'Afficher %s utilisateurs'; 
     959$lang['No matching users found'] = 'Aucun utilisateur à afficher'; 
     960$lang['Showing %s to %s of %s users'] = 'Affichage des utilisateurs %s à %s sur %s'; 
     961$lang['(filtered from %s total users)'] = '(filtré de %s utilisateurs au total)'; 
     962$lang['No user selected, no action possible.'] = 'Aucun utilisateur sélectionné, aucune action possible.'; 
     963$lang['%d of %d users selected'] = '%d des %d utilisateurs sélectionnés'; 
     964$lang['No user selected of %d users'] = 'Aucun utilisateur sélectionné sur les %d'; 
     965$lang['All %d users are selected'] = 'Tous les %d utilisateurs sont sélectionnés'; 
     966$lang['on the %d selected users'] = 'sur les %d utilisateurs sélectionnés'; 
     967$lang['User %s added'] = 'Utilisateur %s ajouté'; 
     968$lang['Registered on %s, %s.'] = 'Enregistré depuis le %s, %s.'; 
     969$lang['Last visit on %s, %s.'] = 'Dernière visite le %s, %s.'; 
     970$lang['Change password'] = 'Changer le mot de passe'; 
     971$lang['Password updated'] = 'Mot de passe mis à jour'; 
     972$lang['Change username'] = 'Changer le nom d\'utilisateur'; 
     973$lang['Update user'] = 'Mettre à jour l\'utilisateur'; 
     974$lang['User %s updated'] = 'Utilisateur %s mis à jour'; 
     975$lang['Users modified'] = 'Utilisateurs modifiés'; 
    957976?> 
  • trunk/language/fr_FR/common.lang.php

    r25121 r25502  
    418418$lang['Password is missing. Please enter the password.'] = "Le mot de passe manque. Veuillez saisir le mot de passe."; 
    419419$lang['Password confirmation is missing. Please confirm the chosen password.'] = "La confirmation du mot de passe manque. Veuillez confirmer le mot de passe choisi."; 
     420$lang['%d photos per page'] = '%d photos par page'; 
    420421?> 
Note: See TracChangeset for help on using the changeset viewer.