Ignore:
Timestamp:
02/19/18 07:35:49 (3 years ago)
Author:
gogo
Message:

Rebuild the translation system and language files.

Includes a few kludges to help lc_parse_strings.php detect translation strings.

See README_TRANSLATORS.TXT for description of the translation system.

Location:
trunk/modules/ColorPicker
Files:
29 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/modules/ColorPicker/ColorPicker.js

    r1391 r1402  
    148148    td.style.MozUserSelect = "none"; 
    149149    td.style.cursor = "default"; 
    150     td.appendChild(document.createTextNode(Xinha._lc('Click a color...'))); 
     150    td.appendChild(document.createTextNode(Xinha._lc('Click a color...', 'ColorPicker'))); 
    151151    td.style.borderBottom = '1px solid WindowFrame'; 
    152152    tr.appendChild(td); 
     
    163163 
    164164    var but = document.createElement('div'); 
    165     but.title = Xinha._lc("Close"); 
     165    but.title = Xinha._lc("Close", 'ColorPicker'); 
    166166    but.className= 'buttonColor'; 
    167167    but.style.height = '11px'; 
     
    213213 
    214214    this.foreSample = document.createElement('div'); 
    215     this.foreSample.appendChild(document.createTextNode(Xinha._lc('Sample'))); 
     215    this.foreSample.appendChild(document.createTextNode(Xinha._lc('Sample', 'ColorPicker'))); 
    216216    this.foreSample.style.fontWeight = 'bold'; 
    217217    this.foreSample.style.fontFamily = 'small-caption,caption,sans-serif'; 
     
    699699        var div = document.createElement('div'); 
    700700        var label = document.createElement('label'); 
    701         label.appendChild(document.createTextNode(Xinha._lc('Web Safe: '))); 
     701        label.appendChild(document.createTextNode(Xinha._lc('Web Safe: ', 'ColorPicker'))); 
    702702 
    703703        this.constrain_cb.onclick = function() { picker.pick_color(); }; 
     
    714714        label.style.fontFamily = 'small-caption,caption,sans-serif'; 
    715715        label.style.fontSize = 'x-small'; 
    716         label.appendChild(document.createTextNode(Xinha._lc('Color: '))); 
     716        label.appendChild(document.createTextNode(Xinha._lc('Color: ', 'ColorPicker'))); 
    717717        label.appendChild(this.chosenColor); 
    718718        div.appendChild(label); 
     
    725725        but.style.cursor = 'pointer'; 
    726726        but.onclick = function() { Xinha.colorPicker.remember(picker.chosenColor.value, picker.savecolors); picker.callback(picker.chosenColor.value); picker.close(); }; 
    727         but.appendChild(document.createTextNode(Xinha._lc('OK'))); 
     727        but.appendChild(document.createTextNode(Xinha._lc('OK', 'ColorPicker'))); 
    728728        but.align = 'center'; 
    729729        div.appendChild(but); 
  • trunk/modules/ColorPicker/lang/pt_br.js

    r901 r1402  
    1 // I18N constants 
     1// I18N constants 
     2// LANG: "pt_br", ENCODING: UTF-8 
    23// 
    3 // LANG: "pt_br", ENCODING: UTF-8 
    4 // Portuguese Brazilian Translation 
     4// IMPORTANT NOTICE FOR TRANSLATORS 
     5// ============================================================================ 
    56// 
    6 // Author: Marcio Barbosa, <marcio@mpg.com.br> 
    7 // MSN: tomarshall@msn.com - ICQ: 69419933 
    8 // Site: http://www.mpg.com.br 
     7// Please be sure you read the README_TRANSLATORS.TXT in the Xinha Root  
     8// Directory.  Unless you are making a new plugin or module it is unlikely  
     9// that you want to be editing this file directly. 
    910// 
    10 // Last revision: 06 september 2007 
    11 // Please don´t remove this information 
    12 // If you modify any source, please insert a comment with your name and e-mail 
    13 // 
    14 // Distributed under the same terms as HTMLArea itself. 
    15 // This notice MUST stay intact for use (see license.txt). 
    1611{ 
    17   "Click a color...": "Selecione uma côr...", 
    18   "Close": "Fechar", 
    19   "Color: ": "Côr:", 
    20   "Sample": "Exemplo", 
    21   "Web Safe: ": "Web Segura:" 
    22 } 
     12    "Click a color...": "Selecione uma cÃŽr...", 
     13    "Close": "Fechar", 
     14    "Color: ": "CÃŽr:", 
     15    "OK": "OK", 
     16    "Sample": "Exemplo", 
     17    "Web Safe: ": "Web Segura:" 
     18}; 
Note: See TracChangeset for help on using the changeset viewer.