Changeset 5287


Ignore:
Timestamp:
03/23/10 17:19:13 (10 years ago)
Author:
nikrou
Message:

Fix missing key translations for nbm and c13y

Location:
trunk
Files:
1 added
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/include/check_integrity.class.php

    r5196 r5287  
    7373    { 
    7474      $header_notes[] = 
    75         l10n_dec('c13y_anomaly_count', 'c13y_anomalies_count', 
     75        l10n_dec('%d anomaly has been detected.', '%d anomalies have been detected.', 
    7676          count($this->retrieve_list)); 
    7777    } 
     
    120120        { 
    121121          $page['infos'][] = 
    122             l10n_dec('c13y_anomaly_corrected_count', 'c13y_anomalies_corrected_count', 
     122            l10n_dec('%d anomaly has been corrected.', '%d anomalies have been detected corrected.', 
    123123              $corrected_count); 
    124124        } 
     
    126126        { 
    127127          $page['errors'][] = 
    128             l10n_dec('c13y_anomaly_not_corrected_count', 'c13y_anomalies_not_corrected_count', 
     128            l10n_dec('%d anomaly has not been corrected.', '%d anomalies have not been corrected.', 
    129129              $not_corrected_count); 
    130130        } 
     
    149149          { 
    150150            $page['infos'][] = 
    151               l10n_dec('c13y_anomaly_ignored_count', 'c13y_anomalies_ignored_count', 
     151              l10n_dec('%d anomaly has been ignored.', '%d anomalies have been ignored.', 
    152152                $ignored_count); 
    153153          } 
  • trunk/themes/default/template/mail/text/html/footer.tpl

    r5095 r5287  
    88      contact us on http://piwigo.org to find a solution on how 
    99      to show the origin of the script...*} 
    10   - {'powered_by'|@translate} 
     10  - {'Powered by'|@translate} 
    1111  <a href="http://piwigo.org" class="Piwigo"> 
    1212  <span class="Piwigo">Piwigo</span></a> 
    1313  {$VERSION} 
    1414 
    15   - {'send_mail'|@translate} 
     15  - {'Contact'|@translate} 
    1616  <a href="mailto:{$MAIL}?subject={$TITLE_MAIL}">{'Webmaster'|@translate}</a> 
    1717 
  • trunk/themes/default/template/mail/text/html/notification_by_mail.tpl

    r5095 r5287  
    11<div id="nbm_message"> 
    22<h2>{'Notification'|@translate}</h2> 
    3 <p>{'nbm_content_hello_1'|@translate}{$USERNAME}{'nbm_content_hello_2'|@translate}</p> 
     3<p>{'Hello '|@translate}{$USERNAME},</p> 
    44 
    55{if isset($subscribe_by_admin)} 
    6 <p>{'nbm_content_subscribe_by_admin'|@translate}</p> 
     6<p>{'The webmaster has subscribed you to receiving notifications by mail.'|@translate}</p> 
    77{/if} 
    88{if isset($subscribe_by_himself)} 
    9 <p>{'nbm_content_subscribe_by_himself'|@translate}</p> 
     9<p>{'You have subscribed to receiving notifications by mail.'|@translate}</p> 
    1010{/if} 
    1111{if isset($unsubscribe_by_admin)} 
    12 <p>{'nbm_content_unsubscribe_by_admin'|@translate}</p> 
     12<p>{'The webmaster has unsubscribed you from receiving notifications by mail.'|@translate}</p> 
    1313{/if} 
    1414{if isset($unsubscribe_by_himself)} 
    15 <p>{'nbm_content_unsubscribe_by_himself'|@translate}</p> 
     15<p>{'You have unsubscribed from receiving notifications by mail.'|@translate}</p> 
    1616{/if} 
    1717{if isset($content_new_elements_single)} 
    18 <p>{'nbm_content_new_elements'|@translate}{'nbm_content_new_elements_single'|@translate}{$content_new_elements_single.DATE_SINGLE}.</p> 
     18<p>{'New elements were added '|@translate}{' on '|@translate}{$content_new_elements_single.DATE_SINGLE}.</p> 
    1919{/if} 
    2020{if isset($content_new_elements_between)} 
    21 <p>{'nbm_content_new_elements'|@translate}{'nbm_content_new_elements_between_1'|@translate}{$content_new_elements_between.DATE_BETWEEN_1}{'nbm_content_new_elements_between_2'|@translate}{$content_new_elements_between.DATE_BETWEEN_2}.</p> 
     21<p>{'New elements were added '|@translate}{' between '|@translate}{$content_new_elements_between.DATE_BETWEEN_1}{' and '|@translate}{$content_new_elements_between.DATE_BETWEEN_2}.</p> 
    2222{/if} 
    2323 
     
    3535 
    3636{if not empty($GOTO_GALLERY_TITLE)} 
    37 <p>{'nbm_content_goto_1'|@translate}<a href="{$GOTO_GALLERY_URL}">{$GOTO_GALLERY_TITLE}</a>{'nbm_content_goto_2'|@translate}</p> 
     37<p>{'Go to '|@translate}<a href="{$GOTO_GALLERY_URL}">{$GOTO_GALLERY_TITLE}</a>.</p> 
    3838{/if} 
    39 <p>{'nbm_content_byebye'|@translate}</p> 
     39<p>{'See you soon,'|@translate}</p> 
    4040<p style="text-align:center">{$SEND_AS_NAME}</p> 
    4141<p> 
    4242<br><hr> 
    43 {'nbm_content_unsubscribe_link'|@translate}{'nbm_content_click_on'|@translate}<a href="{$UNSUBSCRIBE_LINK}">{$UNSUBSCRIBE_LINK}</a><br> 
    44 {'nbm_content_subscribe_link'|@translate}{'nbm_content_click_on'|@translate}<a href="{$SUBSCRIBE_LINK}">{$SUBSCRIBE_LINK}</a><br> 
    45 {'nbm_content_problem_contact'|@translate}<a href="mailto:{$CONTACT_EMAIL}?subject={'nbm_content_pb_contact_object'|@translate}">{$CONTACT_EMAIL}</a><br> 
     43{'To unsubscribe'|@translate}{', click on '|@translate}<a href="{$UNSUBSCRIBE_LINK}">{$UNSUBSCRIBE_LINK}</a><br> 
     44{'To subscribe '|@translate}{', click on '|@translate}<a href="{$SUBSCRIBE_LINK}">{$SUBSCRIBE_LINK}</a><br> 
     45{'If you encounter problems or have any question, please send a message to '|@translate}<a href="mailto:{$CONTACT_EMAIL}?subject={'[NBM] Problems or questions'|@translate}">{$CONTACT_EMAIL}</a><br> 
    4646<hr><br> 
    4747</p> 
  • trunk/themes/default/template/mail/text/plain/footer.tpl

    r5095 r5287  
    11 
    22------------------------------------------------------------------------------ 
    3 {'Sent by'|@translate} {$GALLERY_URL} - {'powered_by'|@translate} Piwigo {$VERSION} - {'send_mail'|@translate} {$MAIL} 
     3{'Contact'|@translate} {$GALLERY_URL} - {'Contact'|@translate} Piwigo {$VERSION} - {'Contact'|@translate} {$MAIL} 
  • trunk/themes/default/template/mail/text/plain/notification_by_mail.tpl

    r5095 r5287  
    1 {'nbm_content_hello_1'|@translate}{$USERNAME}{'nbm_content_hello_2'|@translate} 
     1{'Hello '|@translate}{$USERNAME}, 
    22 
    33{if isset($subscribe_by_admin)} 
    4 {'nbm_content_subscribe_by_admin'|@translate} 
     4{'The webmaster has subscribed you to receiving notifications by mail.'|@translate} 
    55{/if} 
    66{if isset($subscribe_by_himself)} 
    7 {'nbm_content_subscribe_by_himself'|@translate} 
     7{'You have subscribed to receiving notifications by mail.'|@translate} 
    88{/if} 
    99{if isset($unsubscribe_by_admin)} 
    10 {'nbm_content_unsubscribe_by_admin'|@translate} 
     10{'The webmaster has unsubscribed you from receiving notifications by mail.'|@translate} 
    1111{/if} 
    1212{if isset($unsubscribe_by_himself)} 
    13 {'nbm_content_unsubscribe_by_himself'|@translate} 
     13{'You have unsubscribed from receiving notifications by mail.'|@translate} 
    1414{/if} 
    1515{if isset($content_new_elements_single)} 
    16 {'nbm_content_new_elements'|@translate}{'nbm_content_new_elements_single'|@translate}{$content_new_elements_single.DATE_SINGLE}. 
     16{'New elements were added '|@translate}{' on '|@translate}{$content_new_elements_single.DATE_SINGLE}. 
    1717{/if} 
    1818{if isset($content_new_elements_between)} 
    19 {'nbm_content_new_elements'|@translate}{'nbm_content_new_elements_between_1'|@translate}{$content_new_elements_between.DATE_BETWEEN_1}{'nbm_content_new_elements_between_2'|@translate}{$content_new_elements_between.DATE_BETWEEN_2}. 
     19{'New elements were added '|@translate}{' between '|@translate}{$content_new_elements_between.DATE_BETWEEN_1}{' and '|@translate}{$content_new_elements_between.DATE_BETWEEN_2}. 
    2020{/if} 
    2121{if not empty($global_new_lines)} 
     
    2828{/if} 
    2929{if not empty($GOTO_GALLERY_TITLE)} 
    30 {'nbm_content_goto_1'|@translate}{$GOTO_GALLERY_TITLE} {$GOTO_GALLERY_URL} {'nbm_content_goto_2'|@translate} 
     30{'.'|@translate}{$GOTO_GALLERY_TITLE} {$GOTO_GALLERY_URL} {'.'|@translate} 
    3131{/if} 
    3232 
    33 {'nbm_content_byebye'|@translate} 
     33{'See you soon,'|@translate} 
    3434  {$SEND_AS_NAME} 
    3535 
    3636______________________________________________________________________________ 
    3737 
    38 {'nbm_content_unsubscribe_link'|@translate}{'nbm_content_click_on'|@translate}{$UNSUBSCRIBE_LINK} 
    39 {'nbm_content_subscribe_link'|@translate}{'nbm_content_click_on'|@translate}{$SUBSCRIBE_LINK} 
    40 {'nbm_content_problem_contact'|@translate}{$CONTACT_EMAIL} 
     38{'To unsubscribe'|@translate}{', click on '|@translate}{$UNSUBSCRIBE_LINK} 
     39{'To subscribe'|@translate}{', click on '|@translate}{$SUBSCRIBE_LINK} 
     40{'If you encounter problems or have any question, please send a message to '|@translate}{$CONTACT_EMAIL} 
    4141______________________________________________________________________________ 
Note: See TracChangeset for help on using the changeset viewer.