Changeset 1402 for trunk/modules


Ignore:
Timestamp:
02/19/18 07:35:49 (2 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
Files:
196 added
25 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}; 
  • trunk/modules/CreateLink/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   "You need to select some text before creating a link": "Você precisa selecionar um texto antes de criar um link" 
    18 } 
     12    "Are you sure you wish to remove this link?": "Você tem certeza que deseja remover este link?", 
     13    "Cancel": "Cancelar", 
     14    "Insert/Modify Link": "Inserir/Modificar Link", 
     15    "New window (_blank)": "Nova janela (_blank)", 
     16    "None (use implicit)": "Nenhum (uso implícito)", 
     17    "OK": "OK", 
     18    "Same frame (_self)": "Mesma frame (_self)", 
     19    "Target:": "Destino:", 
     20    "Title (tooltip):": "Título (tooltip)", 
     21    "Top frame (_top)": "Frame do topo (_top)", 
     22    "URL:": "URL:", 
     23    "You need to select some text before creating a link": "Você precisa selecionar um texto antes de criar um link" 
     24}; 
  • trunk/modules/CreateLink/link.html

    r705 r1402  
    1212 
    1313function i18n(str) { 
    14   return (Xinha._lc(str, 'Xinha')); 
     14  return (Xinha._lc(str, 'CreateLink')); 
    1515} 
    1616 
     
    2525 
    2626function Init() { 
    27   __dlg_translate('Xinha'); 
     27  __dlg_translate('CreateLink'); 
    2828  __dlg_init(); 
    2929 
  • trunk/modules/CreateLink/link.js

    r1271 r1402  
    4949 
    5050CreateLink.prototype._lc = function(string) { 
    51         return Xinha._lc(string, 'Xinha'); 
     51        return Xinha._lc(string, 'CreateLink'); 
    5252}; 
    5353 
  • trunk/modules/FullScreen/lang/de.js

    r694 r1402  
    11// I18N constants 
    22// LANG: "de", ENCODING: UTF-8 
    3 // translated: Raimund Meyer xinha@ray-of-light.org 
     3// 
     4// IMPORTANT NOTICE FOR TRANSLATORS 
     5// ============================================================================ 
     6// 
     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. 
     10// 
    411{ 
    5   "Maximize/Minimize Editor": "Editor maximieren/verkleinern" 
     12    "Maximize/Minimize Editor": "Editor maximieren/verkleinern" 
    613}; 
  • trunk/modules/FullScreen/lang/es.js

    r1172 r1402  
    11// I18N constants 
    22// LANG: "es", ENCODING: UTF-8 
    3 // translated: Derick Leony <dleony@gmail.com> 
     3// 
     4// IMPORTANT NOTICE FOR TRANSLATORS 
     5// ============================================================================ 
     6// 
     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. 
     10// 
    411{ 
    5   "Maximize/Minimize Editor": "Maximizar/Minimizar Editor" 
     12    "Maximize/Minimize Editor": "Maximizar/Minimizar Editor" 
    613}; 
  • trunk/modules/FullScreen/lang/fr.js

    r694 r1402  
    11// I18N constants 
    22// LANG: "fr", ENCODING: UTF-8 
     3// 
     4// IMPORTANT NOTICE FOR TRANSLATORS 
     5// ============================================================================ 
     6// 
     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. 
     10// 
    311{ 
    4   "Maximize/Minimize Editor": "Agrandir/Réduire l'éditeur" 
     12    "Maximize/Minimize Editor": "Agrandir/Réduire l'éditeur" 
    513}; 
  • trunk/modules/FullScreen/lang/ja.js

    r735 r1402  
    11// I18N constants 
    22// LANG: "ja", ENCODING: UTF-8 
     3// 
     4// IMPORTANT NOTICE FOR TRANSLATORS 
     5// ============================================================================ 
     6// 
     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. 
     10// 
    311{ 
    4   "Maximize/Minimize Editor": "゚ディタの最倧化/最小化" 
     12    "Maximize/Minimize Editor": "゚ディタの最倧化/最小化" 
    513}; 
  • trunk/modules/FullScreen/lang/nb.js

    r694 r1402  
    11// I18N constants 
    22// LANG: "nb", ENCODING: UTF-8 
    3 // translated: Kim Steinhaug, http://www.steinhaug.com/, kim@steinhaug.com 
     3// 
     4// IMPORTANT NOTICE FOR TRANSLATORS 
     5// ============================================================================ 
     6// 
     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. 
     10// 
    411{ 
    5   "Maximize/Minimize Editor": "Maksimer/Minimer WYSIWYG vindu" 
     12    "Maximize/Minimize Editor": "Maksimer/Minimer WYSIWYG vindu" 
    613}; 
  • trunk/modules/FullScreen/lang/nl.js

    r1029 r1402  
    11// I18N constants 
    22// LANG: "nl", ENCODING: UTF-8 
    3 // translated: Arthur Bogaart a.bogaart@onehippo.org 
     3// 
     4// IMPORTANT NOTICE FOR TRANSLATORS 
     5// ============================================================================ 
     6// 
     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. 
     10// 
    411{ 
    5   "Maximize/Minimize Editor": "Editor maximaliseren/verkleinen" 
     12    "Maximize/Minimize Editor": "Editor maximaliseren/verkleinen" 
    613}; 
  • trunk/modules/FullScreen/lang/pl.js

    r694 r1402  
    11// I18N constants 
    22// LANG: "pl", ENCODING: UTF-8 
    3 // translated: Krzysztof Kotowicz, koto1sa@o2.pl, http://www.eskot.krakow.pl/portfolio 
     3// 
     4// IMPORTANT NOTICE FOR TRANSLATORS 
     5// ============================================================================ 
     6// 
     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. 
     10// 
    411{ 
    5   "Maximize/Minimize Editor": "Maksymalizuj/minimalizuj edytor" 
     12    "Maximize/Minimize Editor": "Maksymalizuj/minimalizuj edytor" 
    613}; 
  • trunk/modules/FullScreen/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   "Maximize/Minimize Editor": "Maximizar/Minimizar Editor" 
     12    "Maximize/Minimize Editor": "Maximizar/Minimizar Editor" 
    1813}; 
  • trunk/modules/FullScreen/lang/ru.js

    r901 r1402  
    1 // I18N constants 
     1// I18N constants 
    22// LANG: "ru", ENCODING: UTF-8 
    3 // Author: Andrei Blagorazumov, a@fnr.ru 
     3// 
     4// IMPORTANT NOTICE FOR TRANSLATORS 
     5// ============================================================================ 
     6// 
     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. 
     10// 
    411{ 
    5   "Maximize/Minimize Editor": "Развернуть/Свернуть редактор" 
     12    "Maximize/Minimize Editor": "РазверМуть/СверМуть реЎактПр" 
    613}; 
  • trunk/modules/FullScreen/lang/sv.js

    r694 r1402  
    11// I18N constants 
    2 // LANG: "sv" (Swedish), ENCODING: UTF-8 
    3 // translated: Erik Dalén, <dalen@jpl.se> 
     2// LANG: "sv", ENCODING: UTF-8 
     3// 
     4// IMPORTANT NOTICE FOR TRANSLATORS 
     5// ============================================================================ 
     6// 
     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. 
     10// 
    411{ 
    5   "Maximize/Minimize Editor": "Maximera/Minimera WYSIWYG fönster" 
     12    "Maximize/Minimize Editor": "Maximera/Minimera WYSIWYG fönster" 
    613}; 
  • trunk/modules/FullScreen/lang/tr.js

    r1343 r1402  
    11// I18N constants 
    22// LANG: "tr", ENCODING: UTF-8 
    3 // Sponsored by http://www.km.co.at/ 
    4 // Author: Serdar Domurcuk, <serdar.domurcuk@km.co.at> 
    5 // (c) Knowledge Markets 2011 
    6 // Distributed under the same terms as HTMLArea itself. 
    7 // This notice MUST stay intact for use (see license.txt). 
     3// 
     4// IMPORTANT NOTICE FOR TRANSLATORS 
     5// ============================================================================ 
     6// 
     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. 
     10// 
    811{ 
    9   "Maximize/Minimize Editor": "EditörÃŒ simge durumuna kÌçÌlt/geri yÃŒkle" 
     12    "Maximize/Minimize Editor": "EditörÃŒ simge durumuna kÌçÌlt/geri yÃŒkle" 
    1013}; 
  • trunk/modules/Gecko/Gecko.js

    r1394 r1402  
    209209      { 
    210210        if(!ev.shiftKey) 
    211         { 
    212           editor.insertHTML('<span class="'+editor.config.tabSpanClass+'">'+editor.config.tabSpanContents+'</span>'); 
     211        {                  //  v-- Avoid lc_parse_strings.php 
     212          editor.insertHTML('<'+'span class="'+editor.config.tabSpanClass+'">'+editor.config.tabSpanContents+'</span>'); 
    213213          var s = editor.getSelection().collapseToEnd(); 
    214214        } 
     
    394394    case 'paste': 
    395395    { 
    396       alert(Xinha._lc("The Paste button does not work in Mozilla based web browsers (technical security reasons). Press CTRL-V on your keyboard to paste directly.")); 
     396      alert(Xinha._lc("The Paste button does not work in this browser for security reasons. Press CTRL-V on your keyboard to paste directly.", 'Gecko')); 
    397397      return true; // Indicate paste is done, stop command being issued to browser by Xinha.prototype.execCommand 
    398398    } 
  • trunk/modules/InlineStyler/InlineStyler.js

    r1391 r1402  
    149149  var legend = doc.createElement("legend"); 
    150150  fieldset.appendChild(legend); 
    151   legend.innerHTML = Xinha._lc("Layout", "TableOperations"); 
     151  legend.innerHTML = Xinha._lc("Layout", "InlineStyler"); 
    152152  var table = doc.createElement("table"); 
    153153  fieldset.appendChild(table); 
     
    166166    td.className = "label"; 
    167167    tr.appendChild(td); 
    168     td.innerHTML = Xinha._lc("Float", "TableOperations") + ":"; 
     168    td.innerHTML = Xinha._lc("Float", "InlineStyler") + ":"; 
    169169    td = doc.createElement("td"); 
    170170    tr.appendChild(td); 
     
    175175     
    176176    options = ["None", "Left", "Right"]; 
     177    /* For lc_parse_strings.php 
     178    
     179      Xinha._lc("None", "InlineStyler"); 
     180      Xinha._lc("Left", "InlineStyler"); 
     181      Xinha._lc("Right", "InlineStyler"); 
     182       
     183    */ 
    177184    for (var i = 0; i < options.length; ++i)  
    178185    { 
     
    180187      var val = options[i].toLowerCase(); 
    181188      option = doc.createElement("option"); 
    182       option.innerHTML = Xinha._lc(Val, "TableOperations"); 
     189      option.innerHTML = Xinha._lc(Val, "InlineStyler"); 
    183190      option.value = val; 
    184191      if (Xinha.is_ie) { 
     
    197204  td.className = "label"; 
    198205  tr.appendChild(td); 
    199   td.innerHTML = Xinha._lc("Width", "TableOperations") + ":"; 
     206  td.innerHTML = Xinha._lc("Width", "InlineStyler") + ":"; 
    200207  td = doc.createElement("td"); 
    201208  tr.appendChild(td); 
     
    212219  this.inputs.aux['widthUnit'] = select; 
    213220  option = doc.createElement("option"); 
    214   option.innerHTML = Xinha._lc("percent", "TableOperations"); 
     221  option.innerHTML = Xinha._lc("percent", "InlineStyler"); 
    215222  option.value = "%"; 
    216223  option.selected = /%/.test(el.style.width); 
    217224  select.appendChild(option); 
    218225  option = doc.createElement("option"); 
    219   option.innerHTML = Xinha._lc("pixels", "TableOperations"); 
     226  option.innerHTML = Xinha._lc("pixels", "InlineStyler"); 
    220227  option.value = "px"; 
    221228  option.selected = /px/.test(el.style.width); 
     
    224231   
    225232  select.style.marginRight = "0.5em"; 
    226   td.appendChild(doc.createTextNode(Xinha._lc("Text align", "TableOperations") + ":")); 
     233  td.appendChild(doc.createTextNode(Xinha._lc("Text align", "InlineStyler") + ":")); 
    227234  select = doc.createElement("select"); 
    228235  select.name = this.dialog.createId("textAlign"); 
     
    235242    options.push("Char"); 
    236243  } 
     244   
     245  /* For lc_parse_strings.php 
     246   
     247    Xinha._lc("Left", "InlineStyler"); 
     248    Xinha._lc("Center", "InlineStyler"); 
     249    Xinha._lc("Right", "InlineStyler"); 
     250    Xinha._lc("Justify", "InlineStyler"); 
     251    Xinha._lc("-", "InlineStyler"); 
     252    Xinha._lc("Char", "InlineStyler"); 
     253     
     254  */ 
     255   
    237256  input = doc.createElement("input"); 
    238257  this.inputs.aux['textAlignChar'] = input; 
     
    248267    option = doc.createElement("option"); 
    249268    option.value = val; 
    250     option.innerHTML = Xinha._lc(Val, "TableOperations"); 
     269    option.innerHTML = Xinha._lc(Val, "InlineStyler"); 
    251270    option.selected = ((el.style.textAlign.toLowerCase() == val) || (el.style.textAlign == "" && Val == "-")); 
    252271    select.appendChild(option); 
     
    273292  td.className = "label"; 
    274293  tr.appendChild(td); 
    275   td.innerHTML = Xinha._lc("Height", "TableOperations") + ":"; 
     294  td.innerHTML = Xinha._lc("Height", "InlineStyler") + ":"; 
    276295  td = doc.createElement("td"); 
    277296  tr.appendChild(td); 
     
    288307  this.inputs.aux['heightUnit'] = select; 
    289308  option = doc.createElement("option"); 
    290   option.innerHTML = Xinha._lc("percent", "TableOperations"); 
     309  option.innerHTML = Xinha._lc("percent", "InlineStyler"); 
    291310  option.value = "%"; 
    292311  option.selected = /%/.test(el.style.height); 
    293312  select.appendChild(option); 
    294313  option = doc.createElement("option"); 
    295   option.innerHTML = Xinha._lc("pixels", "TableOperations"); 
     314  option.innerHTML = Xinha._lc("pixels", "InlineStyler"); 
    296315  option.value = "px"; 
    297316  option.selected = /px/.test(el.style.height); 
     
    300319   
    301320  select.style.marginRight = "0.5em"; 
    302   td.appendChild(doc.createTextNode(Xinha._lc("Vertical align", "TableOperations") + ":")); 
     321  td.appendChild(doc.createTextNode(Xinha._lc("Vertical align", "InlineStyler") + ":")); 
    303322  select = doc.createElement("select"); 
    304323  select.name = this.dialog.createId("verticalAlign"); 
     
    307326  td.appendChild(select); 
    308327  options = ["Top", "Middle", "Bottom", "Baseline", "-"]; 
     328  /* For lc_parse_strings.php 
     329    
     330   Xinha._lc("Top", "InlineStyler"); 
     331   Xinha._lc("Middle", "InlineStyler"); 
     332   Xinha._lc("Bottom", "InlineStyler"); 
     333   Xinha._lc("Baseline", "InlineStyler"); 
     334   Xinha._lc("-", "InlineStyler"); 
     335    
     336   */ 
    309337  for (var i = 0; i < options.length; ++i)  
    310338  { 
     
    313341    option = doc.createElement("option"); 
    314342    option.value = val; 
    315     option.innerHTML = Xinha._lc(Val, "TableOperations"); 
     343    option.innerHTML = Xinha._lc(Val, "InlineStyler"); 
    316344    option.selected = ((el.style.verticalAlign.toLowerCase() == val) || (el.style.verticalAlign == "" && Val == "-")); 
    317345    select.appendChild(option); 
     
    333361  var legend = doc.createElement("legend"); 
    334362  fieldset.appendChild(legend); 
    335   legend.innerHTML = Xinha._lc("CSS Style", "TableOperations"); 
     363  legend.innerHTML = Xinha._lc("CSS Style", "InlineStyler"); 
    336364  var table = doc.createElement("table"); 
    337365  fieldset.appendChild(table); 
     
    347375  tr.appendChild(td); 
    348376  td.className = "label"; 
    349   td.innerHTML = Xinha._lc("Background", "TableOperations") + ":"; 
     377  td.innerHTML = Xinha._lc("Background", "InlineStyler") + ":"; 
    350378  td = doc.createElement("td"); 
    351379  tr.appendChild(td); 
     
    360388  new Xinha.colorPicker.InputBinding(input) 
    361389   
    362   td.appendChild(doc.createTextNode(" " + Xinha._lc("Image URL", "TableOperations") + ": ")); 
     390  td.appendChild(doc.createTextNode(" " + Xinha._lc("Image URL", "InlineStyler") + ": ")); 
    363391  input = doc.createElement("input"); 
    364392  input.name = this.dialog.createId("backgroundImage"); 
     
    375403  tr.appendChild(td); 
    376404  td.className = "label"; 
    377   td.innerHTML = Xinha._lc("FG Color", "TableOperations") + ":"; 
     405  td.innerHTML = Xinha._lc("FG Color", "InlineStyler") + ":"; 
    378406  td = doc.createElement("td"); 
    379407  tr.appendChild(td); 
     
    398426  tr.appendChild(td); 
    399427  td.className = "label"; 
    400   td.innerHTML = Xinha._lc("Border", "TableOperations") + ":"; 
     428  td.innerHTML = Xinha._lc("Border", "InlineStyler") + ":"; 
    401429  td = doc.createElement("td"); 
    402430  tr.appendChild(td); 
     
    463491  input.style.marginRight = "0.5em"; 
    464492  var span = doc.createElement("span"); 
    465   span.innerHTML = Xinha._lc("pixels", "TableOperations"); 
     493  span.innerHTML = Xinha._lc("pixels", "InlineStyler"); 
    466494  td.appendChild(span); 
    467495  borderFields.push(span); 
     
    506534    var label = doc.createElement("label"); 
    507535    label.htmlFor = "f_st_borderCollapse"; 
    508     label.innerHTML = Xinha._lc("Collapsed borders", "TableOperations"); 
     536    label.innerHTML = Xinha._lc("Collapsed borders", "InlineStyler"); 
    509537    td.appendChild(label); 
    510538  } 
     
    515543  //    td.className = "label"; 
    516544  //    tr.appendChild(td); 
    517   //    td.innerHTML = Xinha._lc("Margin", "TableOperations") + ":"; 
     545  //    td.innerHTML = Xinha._lc("Margin", "InlineStyler") + ":"; 
    518546  //    td = doc.createElement("td"); 
    519547  //    tr.appendChild(td); 
     
    524552  //    td.appendChild(input); 
    525553  //    input.style.marginRight = "0.5em"; 
    526   //    td.appendChild(doc.createTextNode(Xinha._lc("Padding", "TableOperations") + ":")); 
     554  //    td.appendChild(doc.createTextNode(Xinha._lc("Padding", "InlineStyler") + ":")); 
    527555   
    528556  //    input = doc.createElement("input"); 
     
    533561  //    input.style.marginLeft = "0.5em"; 
    534562  //    input.style.marginRight = "0.5em"; 
    535   //    td.appendChild(doc.createTextNode(Xinha._lc("pixels", "TableOperations"))); 
     563  //    td.appendChild(doc.createTextNode(Xinha._lc("pixels", "InlineStyler"))); 
    536564   
    537565  return fieldset; 
  • trunk/modules/InsertImage/insert_image.html

    r987 r1402  
    1414Xinha = window.opener.Xinha; 
    1515function i18n(str) { 
    16   return (Xinha._lc(str, 'Xinha')); 
     16  return (Xinha._lc(str, 'InsertImage')); 
    1717} 
    1818 
    1919function Init() { 
    20   __dlg_translate('Xinha'); 
     20  __dlg_translate('InsertImage'); 
    2121  __dlg_init(null,{width:410,height:400}); 
    2222  // Make sure the translated string appears in the drop down. (for gecko) 
  • trunk/modules/InsertImage/insert_image.js

    r1239 r1402  
    4343   
    4444InsertImage.prototype._lc = function(string) { 
    45         return Xinha._lc(string, 'Xinha'); 
     45        return Xinha._lc(string, 'InsertImage'); 
    4646}; 
    4747 
  • trunk/modules/InsertTable/insert_table.html

    r1165 r1402  
    1313Xinha = window.opener.Xinha; 
    1414function i18n(str) { 
    15   return (Xinha._lc(str, 'Xinha')); 
     15  return (Xinha._lc(str, 'InsertTable')); 
    1616} 
    1717 
    1818function Init() { 
    1919  Xinha = window.opener.Xinha; // load the Xinha plugin and lang file 
    20   __dlg_translate('Xinha'); 
     20  __dlg_translate('InsertTable'); 
    2121  __dlg_init(null, Xinha.is_ie ? null : {width:425,height:250}); 
    2222  // Make sure the translated string appears in the drop down. (for gecko) 
  • trunk/modules/InsertTable/insert_table.js

    r1272 r1402  
    4747 
    4848InsertTable.prototype._lc = function(string) { 
    49         return Xinha._lc(string, 'Xinha'); 
     49        return Xinha._lc(string, 'InsertTable'); 
    5050}; 
    5151 
  • trunk/modules/InternetExplorer/InternetExplorer.js

    r1394 r1402  
    117117      { 
    118118        if(!ev.shiftKey) 
    119         { 
    120           editor.insertHTML('<span class="'+editor.config.tabSpanClass+'">'+editor.config.tabSpanContents+'</span>'); 
     119        {                  //  v-- Avoid lc_parse_strings.php 
     120          editor.insertHTML('<'+'span class="'+editor.config.tabSpanClass+'">'+editor.config.tabSpanContents+'</span>'); 
    121121          var s = editor.getSelection(); 
    122122          var r = editor.createRange(s);                    
  • trunk/modules/Opera/Opera.js

    r1394 r1402  
    359359    /*case 'paste': 
    360360    { 
    361       alert(Xinha._lc("The Paste button does not work in Mozilla based web browsers (technical security reasons). Press CTRL-V on your keyboard to paste directly.")); 
     361      alert(Xinha._lc("The Paste button does not work in Mozilla based web browsers (technical security reasons). Press CTRL-V on your keyboard to paste directly.", "Opera")); 
    362362      return true; // Indicate paste is done, stop command being issued to browser by Xinha.prototype.execCommand 
    363363    } 
  • trunk/modules/WebKit/WebKit.js

    r1394 r1402  
    194194      { 
    195195        if(!ev.shiftKey) 
    196         { 
    197           editor.insertHTML('<span class="'+editor.config.tabSpanClass+'">'+editor.config.tabSpanContents+'</span>'); 
     196        {                  //  v-- Avoid lc_parse_strings.php 
     197          editor.insertHTML('<'+'span class="'+editor.config.tabSpanClass+'">'+editor.config.tabSpanContents+'</span>'); 
    198198          var s = editor.getSelection().collapseToEnd(); 
    199199        } 
     
    355355  { 
    356356    case 'paste': 
    357       alert(Xinha._lc("The Paste button does not work in the Safari browser for security reasons. Press CTRL-V on your keyboard to paste directly.")); 
     357      alert(Xinha._lc("The Paste button does not work in this browser for security reasons. Press CTRL-V on your keyboard to paste directly.", "WebKit")); 
    358358      return true; // Indicate paste is done, stop command being issued to browser by Xinha.prototype.execCommand 
    359359    break; 
     
    610610Xinha.prototype.selectNodeContents = function(node, collapseToStart) 
    611611{ 
     612  if(!node) return; // I've seen this once 
    612613  this.focusEditor(); 
    613614  this.forceRedraw(); 
Note: See TracChangeset for help on using the changeset viewer.